Hello,
While working with Xalan C 1.1 on Redhat Linux 6.1, I discovered that the
following document causes the XPathWrapper to die on an assertion:
*********************************
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
<?xml-stylesheet type="text/xml" href="test.xsl"?>
<?xml-stylesheet type="text/xml" href="testNumberTwo.xsl"?>
-->
<root>
</root>
********************************
However, this document passes fine:
*********************************
<?xml version="1.0" encoding="iso-8859-1"?>
<root>
</root>
*********************************
I therefore conclude that the Xalan parser is reading and parsing
comments in a way that can cause it to give incorrect results.
I'm using '/' for my context, and '//*' for the expression, as args to
XPathWrapper (I don't think the arguments will change this behavior).
Any ideas? What's going on?
Thank you for your time!
Matt
--
Matt Leinhos
[EMAIL PROTECTED]
"What's that you say, Mrs. Robinson? Joltin' Joe has left and gone away."
-- Simon and Garfunkel