It's hard to say without knowing what the assertion is.  Can you post the
text of the assertion?

Dave



                                                                                       
                                           
                      Matt Leinhos                                                     
                                           
                      <matt@granularit         To:      <[EMAIL PROTECTED]>     
                                           
                      y.com>                   cc:      (bcc: David N 
Bertoni/CAM/Lotus)                                          
                                               Subject: Xalan C crashing on XML 
comments                                          
                      08/07/2001 11:24                                                 
                                           
                      AM                                                               
                                           
                      Please respond                                                   
                                           
                      to xalan-dev                                                     
                                           
                                                                                       
                                           
                                                                                       
                                           



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





Reply via email to