DOCTYPE in XSLT causes validation
Having trouble installing Oxygen? Got a bug to report? Post it all here.
DOCTYPE in XSLT causes validation
Post by Guest »
I have an XSLT which uses some entities defined in a separate file, which I "include" using the following DOCTYPE:
<!DOCTYPE xsl:stylesheet [
<!ENTITY % wbml_xslt SYSTEM "file:///d:\MYDOCU~1\Work\WBml\wbml_xslt.ent">
%wbml_xslt;
]>
Since I've uninstalled my evaluation copy of oXygen I cannot say for sure, but I seem to recall that oXygen produced an error message that I could only avoid by removing the DOCTYPE.
Now I have a problem when I run the same XSLT with Xalan. Every element that occurs in the XSLT receives an error message: "Element type ... must be declared." This was not the case before I installed oXygen. Evidently this occurs because Xerces, which Xalan is using to parse the XSLT, is validating.
My question: Was anything change during the installation of oXygen that would cause Xalan to tell Xerces to validate the XSLT, or cause Xerces to decide it had to?
Regards,
Richard
(richard.liu@ubs.com)
<!DOCTYPE xsl:stylesheet [
<!ENTITY % wbml_xslt SYSTEM "file:///d:\MYDOCU~1\Work\WBml\wbml_xslt.ent">
%wbml_xslt;
]>
Since I've uninstalled my evaluation copy of oXygen I cannot say for sure, but I seem to recall that oXygen produced an error message that I could only avoid by removing the DOCTYPE.
Now I have a problem when I run the same XSLT with Xalan. Every element that occurs in the XSLT receives an error message: "Element type ... must be declared." This was not the case before I installed oXygen. Evidently this occurs because Xerces, which Xalan is using to parse the XSLT, is validating.
My question: Was anything change during the installation of oXygen that would cause Xalan to tell Xerces to validate the XSLT, or cause Xerces to decide it had to?
Regards,
Richard
(richard.liu@ubs.com)
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi Richard,
Oxygen does not change anything on your system, it works with its internal jars. Also we just released a new major version of Oxygen and you can get an updated trial license if you want.
A wild guess will be that you are using a Java that inlcudes an old version of Xalan. See http://xml.apache.org/xalan-j/faq.html#faq-N100CC for more details.
Best Regards,
George
Oxygen does not change anything on your system, it works with its internal jars. Also we just released a new major version of Oxygen and you can get an updated trial license if you want.
A wild guess will be that you are using a Java that inlcudes an old version of Xalan. See http://xml.apache.org/xalan-j/faq.html#faq-N100CC for more details.
Best Regards,
George
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