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

Re: [xml] SAX2 / empty namespace issue



On Wed, Jun 15, 2005 at 06:20:22AM -0400, Daniel Veillard wrote:
> On Wed, Jun 15, 2005 at 08:15:25PM +1000, Michael Day wrote:
> > 
> > Hi Daniel,
> > 
> > A new issue: when I switch to using xmlReadFile the empty namespace is
> > handled correctly, however I get an error on the following document:
> > 
> > <tests xmlns="http://css.example.net/"; xmlns:test="http://css.example.net/";>
> >  <testA attribute="pass" test:attribute="fail">This should be green.</testA>
> >  <testB attribute="fail" test:attribute="pass">This should be green.</testB>
> > </tests>
> > 
> > Namespaced Attribute attribute in 'http://css.example.net/' redefined
> > 
> > Is this correct? The first "attribute" is not in any namespace, as
> > unqualified attributes should not inherit the namespace of the element
> > that they are on. The second "attribute" is in the namespace, but should
> > not conflict with the previous attribute. How is this a redefinition?
> 
>   Does not match the behaviour of a pristine 2.6.19 setup here:

  Dohh, error, my /usr/bin/xmllint was *not* pristine, check Kasimier mail's
instead.

  sorry,

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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