Re: [xml] XPath Processing Instruction node test

On Wed, May 22, 2002 at 10:08:30AM +0100, Richard Jinks wrote:

Can you apply the attached patch to fix the problem raised in
concerning the processing-instruction node test in XPath.

  Hum, well apparently the patch broke other parts of PI recognition.
Norm Walsh submitted the enclosed test, the old xsltproc provides
the right answer while the one with your patch fails:

  the old one, behaving like Saxon

paphio:~/tmp -> /usr/bin/xsltproc norm.xsl norm.xsl 
pis: 1
paphio:~/tmp -> 

  the new one failing to find the PI:

paphio:~/tmp -> xsltproc norm.xsl norm.xsl 
pis: 0
paphio:~/tmp -> 

  I would appreciate if you could look at it and find why 
with your patch "/xsl:stylesheet/processing-instruction('dbhtml')"
returns an empty nodeset, 



Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

Attachment: norm.xsl
Description: Text document

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]