[Bug 4523] Default Unprefixed Namespace Handling is Problematic

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 UTC