[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Question for the XPath and DOM folks
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@f...> To: Dare Obasanjo <dareo@m...> Cc: Garland foster <garland_foster@s...>; <xml-dev@l...> Sent: Saturday, July 20, 2002 5:31 PM Subject: Re: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|