Re: [xml] namespace bug?


On Thu, 2005-04-28 at 21:33 +0100, Graham Bennett wrote:

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

<x xmlns:n1="";
   xmlns=""; >
  <good a="1" b="2" />
  <good a="1" n1:a="2" />

(taken from an example in the namespace REC).

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

In the test for duplicate attributes, the distinction between
prefixed and non-prefixed attributes was missing. This appeared
in the SAX2 based code of the parser module.

Fixed in CVS, parser.c revision 1.424.

Thanks for the report,


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