On Wed, May 22, 2002 at 10:08:30AM +0100, Richard Jinks wrote:
Hi Can you apply the attached patch to fix the problem raised in http://mail.gnome.org/archives/xml/2002-April/msg00246.html 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 script-dir=somevalue paphio:~/tmp -> the new one failing to find the PI: paphio:~/tmp -> xsltproc norm.xsl norm.xsl pis: 0 script-dir= 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, thanks, Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
Attachment:
norm.xsl
Description: Text document