Eclipse 3.3, Oxygen 8.2: Error when opening XSLT files
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 6
- Joined: Thu Sep 13, 2007 11:05 am
Eclipse 3.3, Oxygen 8.2: Error when opening XSLT files
Hi,
I have Eclipse 3.3 with Oxygen 8.2 installed
When I open an XSLT 2.0 file the message appears:
[Saxon8B] javax.xml.parsers.SAXParserFactory.setXIncludeAware(Z)V
Location: line -1
I tried to disable all Oxygen XInclude options, but it did not work.
Also, the"Format and Indent" Button does not work with XML files.[/img]
I have Eclipse 3.3 with Oxygen 8.2 installed
When I open an XSLT 2.0 file the message appears:
[Saxon8B] javax.xml.parsers.SAXParserFactory.setXIncludeAware(Z)V
Location: line -1
I tried to disable all Oxygen XInclude options, but it did not work.
Also, the"Format and Indent" Button does not work with XML files.[/img]
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
It seems the Java virtual machine which runs Eclipse is a version 1.4.x one and includes an older version of Xerces possibly in the lib/endorsed folder. The API of older versions of Xerces does not provide the SAXParserFactory.setXIncludeAware(boolean) method. oXygen comes with its own Xerces version but if Xerces comes with the JVM it has priority and if it is an older version you get that error.
What are the values of the properties java.vm.version, java.vm.vendor and java.endorsed.dirs displayed in Hlep -> About Eclipse -> Configuration Details? What does the folder that is the value of java.endorsed.dirs contain?
Regards,
Sorin
It seems the Java virtual machine which runs Eclipse is a version 1.4.x one and includes an older version of Xerces possibly in the lib/endorsed folder. The API of older versions of Xerces does not provide the SAXParserFactory.setXIncludeAware(boolean) method. oXygen comes with its own Xerces version but if Xerces comes with the JVM it has priority and if it is an older version you get that error.
What are the values of the properties java.vm.version, java.vm.vendor and java.endorsed.dirs displayed in Hlep -> About Eclipse -> Configuration Details? What does the folder that is the value of java.endorsed.dirs contain?
Regards,
Sorin
-
- Posts: 6
- Joined: Thu Sep 13, 2007 11:05 am
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
oXygen still supports Java 1.4.2 so we cannot display such a warning. This error normally does not occur because the JVM from Sun Microsystems does not come with a Xerces version in the lib/endorsed folder so the Xerces version which comes with oXygen is used.
Regards,
Sorin
oXygen still supports Java 1.4.2 so we cannot display such a warning. This error normally does not occur because the JVM from Sun Microsystems does not come with a Xerces version in the lib/endorsed folder so the Xerces version which comes with oXygen is used.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service