[xml] namespace bug?



Hi,

xmllint (from libxml 2.6.17) seems to have a problem with the following
XML:

<x xmlns:n1="http://www.w3.org";
   xmlns="http://www.w3.org"; >
  <good a="1" b="2" />
  <good a="1" n1:a="2" />
</x>

(taken from an example in the namespace REC).

test.xml:4: namespace error : Namespaced Attribute a in
'http://www.w3.org' redefined
  <good a="1" n1:a="2" />
                       ^
<?xml version="1.0"?>
<x xmlns:n1="http://www.w3.org"; xmlns="http://www.w3.org";>
  <good a="1" b="2"/>
  <good a="1" n1:a="2"/>
</x>

cheers,

Graham.

-- 
Graham Bennett



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]