DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6359>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6359

position() within id() makes xalan hung

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |



------- Additional Comments From [EMAIL PROTECTED]  2002-02-25 21:45 -------
I still get this behavior with the source build of 2.3.1 downloaded today from
http://xml.apache.org/xalan-j .

The XML file is 

 <?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE project [
        <!ELEMENT project ANY>
<!ATTLIST project id ID #IMPLIED>
<!ELEMENT sub ANY>
<!ATTLIST sub id ID #IMPLIED>
]>
<project>
<sub id ="fred"/>
<sub id ="john"/>
</project>

The XPath expression is:

 id("fred john")[last()]

When running the sample ApplyXPath, modified slightly to create a validating
parser, the output is:

 Loading classes, parsing c:/java/ids.xml, and setting up serializer
    Querying DOM using id("fred john")[last()]
    <output>
<sub id="john"/>

followed by the program going into an infinite loop. 

Is the "latest build" which is referred to newer than what's available on the
web page?  If so, how do I get it?

Reply via email to