[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] namespace bug?
- From: Kasimier Buchcik <kbuchcik 4commerce de>
- To: Graham Bennett <graham-libxml simulcra org>
- Cc: "xml gnome org" <xml gnome org>
- Subject: Re: [xml] namespace bug?
- Date: Fri, 29 Apr 2005 12:35:55 +0200
Hi,
On Thu, 2005-04-28 at 21:33 +0100, Graham Bennett wrote:
> 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>
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,
Kasimier
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]