Hi Jason,
Please note that BaseX uses the Jing RELAX NG validator. It does not embed the DITA Open Toolkit.
I didn’t have time to look at the DITA OT plugin so far. It seems that the repository of the oXygen plugin you referenced only contains the JAR file. Do you possibly know where we can find the source files?
Cheers Christian
PS: It seems that you and your colleague asked different questions in your previous posts. Have these questions been solved?
On Mon, Sep 17, 2018 at 9:55 PM Jason Davis jason.davis@hortonworks.com wrote:
My mistake. It appears I may have misstated my problem. The query I used worked fine for importing resources. The problem appears to be related to how BaseX parses the resources. It doesn’t appear to take into account default attribute values. Given that the Relax NG spec clearly states default attributes are not part of the design, this doesn’t come across as a surprise. However, default attributes are meaningful with regard to DITA and there is a Java framework you can install as a plugin to the DITA Open Toolkit that supports parsing of Relax NG DITA content with default attributes [1].
Is it possible to setup databases created in BaseX with Relax NG parsing of default attributes? Is it just a matter of including the dita-ng.jar from the DITA OT plugin in my classpath?
Thanks, Jason