DOCTYPE in XSLT causes validation

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Guest

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)
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

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
Post Reply