Posted
over 2 years
ago
by
Mukul Gandhi
Within your original XML schema document, attached within this bug report (test.xsd), you specify following on the top most xs:schema element, Read more
|
Posted
over 2 years
ago
by
Mukul Gandhi
I've written a Java program, with following outline, to debug this issue, String xmlParserClass = "org.apache.xerces.parsers.SAXParser"; String schemaFeature = "http://apache.org/xml/features/validation/schema"; String xmlDocument = "test.xml"; Read more
|
Posted
over 2 years
ago
by
Radu Coravu
We are an XML editing tool so while the end user is editing the XML document, we validate each time the XML changes. So in our case, the XML Schema remains the same but we use the same "org.xml.sax.XMLReader" instance (the same object) created with Read more
|
Posted
over 2 years
ago
by
Mukul Gandhi
you wrote, "We perform the same validation multiple times re-using the same parser". Within your program, on different repetitions of XML schema validation, do you use same XML schema document and XML instance document every time? Lets say, we've Read more
|
Posted
over 2 years
ago
by
Radu Coravu
I'm afraid our code which does the validation is too complex to easily simplify. We perform the same validation multiple times re-using the same parser. The XMLSchemaValidator gets reset and reused but as I said because the reset method has a fast Read more
|
Posted
over 2 years
ago
by
Mukul Gandhi
XMLSchemaValidator reset no longer resets id validation caches
|
Posted
over 2 years
ago
by
Radu Coravu
I validate an XML with an XML Schema 1.1 file. On the first validation the XML is reported valid. On the second validation I re-use the parser, the ID values inside elements are reported as duplicate and I get errors like this reported: Message:
Read more
|
Posted
over 2 years
ago
by
Gary D. Gregory
Xerces 2.12.2 is not compiled with debug information
|
Posted
over 2 years
ago
by
Mukul Gandhi
I can reproduce the issue, pointed by you. When I use, for example jdk 1.8.0_281, with the XML and XSD document samples that you've provided, XercesJ 2.12.2's XML Schema 1.1 validator produces following error messages, at Read more
|
Posted
over 2 years
ago
by
Ivan Pedruzzi
Cannot use latest IBM ICU with latest Xerces, need support for the latest Eclipse XPath Engine
|