Hi Christian, Thanks for the help.
Regards, Radu Radu Coravu <oXygen/> XML Editor http://www.oxygenxml.com On 10/1/2018 9:04 PM, Christian Grün wrote:
Hi Radu, How does baseX parse XML document, does it do so using the regular "javax.xml.parsers.SAXParserFactory" factory? Yes, it does [1]! So in order to test if RNG-based XML parsing works with BaseX we would somehow need a way to add the "dita-ng.jar" to the baseX server's class path but it should also come in the classpath before the "xercesImpl.jar". Currently, there is no particular order in which libraries are imported [2], but if the chosen order is wrong, the dita-ng.jar could be added manually to the start script. Hope this helps, Christian [1] https://github.com/BaseXdb/basex/blob/master/basex-core/src/main/java/org/basex/io/parse/xml/XmlParser.java [2] https://github.com/BaseXdb/basex/blob/master/basex-core/etc/basex