OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] [proposal] XPath API for Java

[ Lists Home | Date Index | Thread Index ]

K. Ari Krupnikov wrote:

> Expression.getMatchingNodes().item(0).toString is not the same as
> Expression.getStringValue(), the latter, in XPath, gives you a
> concatenation of all descendant text nodes.
> getBooleanValue() would follow XPath hopefully 1.0) rules of casting
> things to booleans, not Java. Same for numbers.
> [...]
> XPath recovers silently from cast errors.

All true and not things I'd considered. I'll need to go away and 
think on it.

Bill de hÓra


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS