Page 1 of 1

Problem with XInclude after Upgrade to oXygen 6.1 on OS X

Posted: Sun Jul 24, 2005 3:20 pm
by markusk
After upgrading from oXygen 6.0 to version 6.1.1 on OS X (10.3.9 german, Java 1.4.2_05) the activation of XInclude breaks the application: The next time oXygen is started, projects won't open anymore ('No values') and options can't be changed anymore (clicking 'OK' or 'Apply' has no effect).

Also the result of a XEP transformation is not as expected (supefluous linebreaks in lists, images are not scaled, ...), maybe because docbook's xep extensions fail?

Problem with XInclude after Upgrade to oXygen 6.1 on OS X

Posted: Sun Jul 24, 2005 9:36 pm
by g3org3
I'm having a similar problem. I enabled xinclude and now I can't open my projects. I get the error:

Code: Select all

Cannot open the specified file: Feature 'http://apache.org/xml/features/xinclude' is not recognized.
I can't change any options in the preferences either.

Posted: Tue Jul 26, 2005 3:25 pm
by sorin_ristache
Hello,

A version of the Xerces XML parser older than 2.7.0 present in the endorsed directory of the Java runtime environment running <oXygen/> creates a conflict with the Xerces version that comes with <oXygen/>. A quick workaround is to send the parameter

Code: Select all

org.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeAwareParserConfiguration
to the Java virtual machine. On Mac OS X this is done by adding

Code: Select all

-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeAwareParserConfiguration
to the VMOptions parameter in the Info.plist file located in [oxygen.app]/Contents. On Windows just append the same text as for Mac OS to the parameter Virtual Machine Parameters in the file [oXygen-install-dir]/oxygen6.1.ini.

The alternative is to remove the Xerces jar file from the endorsed directory of your JRE.

Best regards,
Sorin