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] Question for the XPath and DOM folks

[ Lists Home | Date Index | Thread Index ]

And how would you fix it? You have to:
a) Respect the Xpath spec so you can't return 3 TEXT nodes
b) Respect the DOM spec so you have 3 text nodes in the tree
So you have 3 nodes and you must return only one of them.
No way out. No way out.

"An Xpath query applied to a DOM tree can return a different result than an
Xpath query applied directly to an XML document"
Yikes!


----- Original Message -----
From: Uche Ogbuji <uche.ogbuji@fourthought.com>
To: Dare Obasanjo <dareo@microsoft.com>
Cc: Garland foster <garland_foster@salutia.com>; <xml-dev@lists.xml.org>
Sent: Saturday, July 20, 2002 5:31 PM
Subject: Re: [xml-dev] Question for the XPath and DOM folks


> > Thanks for finding the pointer in the WD. This is what our .NET
framework implementation does and I was wondering if I could find
justification for it by querying the XPath/DOM heads, little did I know it
was actually officially specced.
>
> Well, it's still a WD.  I would simply refuse to implement the DOM L3
XPath
> spec as currently written.  Perhaps it can be "fixed".
>
>
> --
> Uche Ogbuji                                    Fourthought, Inc.
> http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
> Track chair, XML/Web Services One Boston: http://www.xmlconference.com/
> The many heads of XML modeling - http://adtmag.com/article.asp?id=6393
> Will XML live up to its promise? -
http://www-106.ibm.com/developerworks/xml/li
> brary/x-think11.html
>
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 7/4/02





 

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

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