Non-standard conformant xs:IDs
Some documents cannot be processed during the data import, see exist.log
:
2021-07-12 06:22:58,752 [qtp1290795133-47] ERROR (NativeValueIndex.java [convertToAtomic]:1044) - org.exist.xquery.XPathException: exerr:ERROR Type error: string 162_N1.5.3.7.5.54.4.5.5.3_2 is not a valid xs:ID
[...]
2021-07-12 06:24:31,602 [qtp1290795133-47] ERROR (NativeValueIndex.java [convertToAtomic]:1044) - org.exist.xquery.XPathException: exerr:ERROR Type error: string Ar_7/229_N1.5.3.5.5.7.4_1 is not a valid xs:ID
[...]
2021-07-12 06:26:23,662 [qtp1290795133-47] ERROR (NativeValueIndex.java [convertToAtomic]:1044) - org.exist.xquery.XPathException: exerr:ERROR Type error: string 430_N1.5.3.7.5.7.3.3_1 is not a valid xs:ID
This error is raised because of the rules for xs:ID
:
The type xsd:ID is used for an attribute that uniquely identifies an element in an XML document. An xsd:ID value must be an NCName. This means that it must start with a letter or underscore, and can only contain letters, digits, underscores, hyphens, and periods.