Hello All, the Xerces version bundled with the JVM changed from JDK 23 to JDK 24. As a byproduct, the OCX Schema (https://github.com/OCXStandard/OCX_Schema) fails to parse due to included unitsMLSchema. This does not happen with older Xerces versions included in Java 11 -- Java 23.
Is this an Xerces or an Oracle topic? Thanks, Carsten [INFO] Sources are not up-to-date, XJC will be executed. [WARNING] RESOLVE External systemId [https://3docx.org/fileadmin/ocx_schema/unitsml/unitsmlSchema_lite-0.9.18.xsd ] [WARNING] RESOLVE External systemId [http://www.w3.org/2001/xml.xsd] [ERROR] Error while parsing schema(s). Location [ https://3docx.org/fileadmin/ocx_schema/unitsml/unitsmlSchema_lite-0.9.18.xsd{329,47} ]. org.xml.sax.SAXParseException: src-resolve: Name 'xml:id' kann nicht als 'attribute declaration'-Komponente aufgelöst werden. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXPa rseException (ErrorHandlerWrapper.java:204) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error (ErrorHandlerWrapper.java:135) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError (XMLErrorReporter.java:396) The xmlunits schema looks like this: <xsd:schema xmlns="urn:oasis:names:tc:unitsml:schema:xsd:UnitsMLSchema_lite-0.9.18" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xml="http://www.w3.org/XML/1998/namespace" targetNamespace="urn:oasis:names:tc:unitsml:schema:xsd:UnitsMLSchema_li te-0.9.18" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.9.18"> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/> <xsd:complexType name="UnitType"> ... <xsd:attribute ref="xml:id" use="required"/> --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org