I also don't get the behaviour you are describing with JDK1.2.2.

Ralf Pfeiffer wrote:

> Greg,
> I tried your example on Xerces1.0.1-Java and the latest code, and
> could not reproduce it. My output is:
> .! [b: null]
> .
>
> which is what I expect. I'll try it on JDK1.2.2, ASAP.
>
> -rip
>
> Greg Matthews wrote:
>
>> dear all, we have encountered a problem with using the treewalker.
>> not sure if it's something we're doing wrong but the nextNodemethod
>> seems like it's not finding the end of the documentand just keeps
>> looping back to the start of the doc. if you remove any of the <c>
>> elements in lockup.xml then it allseems to work and nextNode
>> correctly returns the <b> node. i'd like to know if anyone can see
>> what we're doing wrong orif this might be a bug. usage of attached
>> java program:   java Loop lockup.xml any help much appreciated,
>> thanksgreg platform: windows 2000, jdk1.2.2, and *not* using
>> hotspot.
>

Reply via email to