[Xpath-ng] FIXPath (XPath NG core) straw man draft posted

Uche Ogbuji uche.ogbuji at fourthought.com
Sun Jan 5 23:47:47 MST 2003


> Uche Ogbuji wrote:
> 
> >I've been working on this here and there as time has allowed, but I thought it 
> >was better to just get out something respectable and make the refinements 
> >among the group, so I finished up a first draft of the XPath NG core this 
> >weekend.
> >
> >http://uche.ogbuji.net/etc/030105/xpathng-strawman.html
> >
> The following paragraph (section "Overview") either has a sentence to
> many or must have list:
> 
> "A value is converted to type boolean as if by calling the *list
> <http://uche.ogbuji.net:8080/uche.ogbuji.net/etc/030105/xpathng-strawman.html#function-list>*
> function."
> 
> I suppose this should be "... to type list..."??

Yes.  Thanks.

Also, I forgot to add:

"in FIXPath, strings that hold numbers in scientific notation can be cast to 
numbers, 'INF' is converted to infinity and '-INF' is converted to negative 
infinity."

> I also think list is a core data type (in my XPath implementation I have
> currently nodeset as the 4th value). So it should be mentioned in the
> list above and it should be "There are FOUR core types" IMO.

Yes.  Lists are core data types.  That sentence should read:

"There are three core types of atom in FIXPath: strings, numbers and booleans"

which follows from

"Every value in FIXPath is a list or an atom"

does fixing that address your concern?


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
A Python & XML Companion - http://www.xml.com/pub/a/2002/12/11/py-xml.html
XML class warfare - http://www.adtmag.com/article.asp?id=6965
MusicBrainz  metadata - http://www-106.ibm.com/developerworks/xml/library/x-thi
nk14.html





More information about the Xpath-ng mailing list