W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2007

[Bug 4523] Default Unprefixed Namespace Handling is Problematic

From: <bugzilla@wiggum.w3.org>
Date: Tue, 08 May 2007 14:39:01 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1HlQqD-0005SV-55@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4523





------- Comment #2 from andrew.eisenberg@us.ibm.com  2007-05-08 14:38 -------
Perhaps I'm not understanding your issue. I would expect the following query:

<kml xmlns="http://earth.google.com/kml/2.1">
  <Folder>
        {
        for $i in doc("namespace.xml")//*:bar[namespace-uri()='']
        return $i
        }
  </Folder>
</kml>

to return the following result:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
   <Folder>
      <bar xmlns="">foobar</bar>
   </Folder>
</kml>

Does this meet your needs?
Received on Tuesday, 8 May 2007 14:39:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:47 GMT