Skip Menu |

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 150
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Note the missing "{}" in the attribute name in LibXML's element node structure (Expat's is shown first): <barries> TRACE: | ! | +-XML::SAX::Expat=HASH(0x8580008)->XML::SAX::Base::start_element( { <barries> : | ! | ! | LocalName => 'command', <barries> : | ! | ! | Attributes => { <barries> : | ! | ! | '{}name' => { <barries> : | ! | ! | LocalName => 'name', <barries> : | ! | ! | NamespaceURI => '', <barries> : | ! | ! | Value => 'amin', <barries> : | ! | ! | Prefix => '', <barries> : | ! | ! | Name => 'name' <barries> : | ! | ! | } <barries> : | ! | ! | }, <barries> : | ! | ! | NamespaceURI => 'http://amin.bcpub.com/ns/', <barries> : | ! | ! | Prefix => 'amin', <barries> : | ! | ! | Name => 'amin:command' <barries> : | ! | ! | } ) <barries> -------------------------- <barries> TRACE: | +-XML::LibXML::SAX::Parser=HASH(0x853ef24)->XML::SAX::Base::start_element( { <barries> : | ! | LocalName => 'command', <barries> : | ! | NamespaceURI => 'http://amin.bcpub.com/ns/', <barries> : | ! | Attributes => { <barries> : | ! | name => { <barries> : | ! | LocalName => 'name', <barries> : | ! | NamespaceURI => undef, <barries> : | ! | Value => 'mkdir', <barries> : | ! | Prefix => undef, <barries> : | ! | Name => 'name' <barries> : | ! | } <barries> : | ! | }, <barries> : | ! | Prefix => 'amin', <barries> : | ! | Name => 'amin:command' <barries> : | ! | } ) <barries> ------------
Subject: No {} in LibXML attributes with no prefix
Fixed in CVS. I've also put a TODO marker against the xmlns/xmlns:foo attributes because we don't quite know what to do with those. [RBS - Thu Jan 17 14:21:45 2002]: Show quoted text
> Note the missing "{}" in the attribute name in LibXML's element node > structure (Expat's > is shown first): > > <barries> TRACE: | ! | +-XML::SAX::Expat=HASH(0x8580008)-
> >XML::SAX::Base::start_element( {
> <barries> : | ! | ! | LocalName => 'command', > <barries> : | ! | ! | Attributes => { > <barries> : | ! | ! | '{}name' => { > <barries> : | ! | ! | LocalName => 'name', > <barries> : | ! | ! | NamespaceURI => '', > <barries> : | ! | ! | Value => 'amin', > <barries> : | ! | ! | Prefix => '', > <barries> : | ! | ! | Name => 'name' > <barries> : | ! | ! | } > <barries> : | ! | ! | }, > <barries> : | ! | ! | NamespaceURI => > 'http://amin.bcpub.com/ns/', > <barries> : | ! | ! | Prefix => 'amin', > <barries> : | ! | ! | Name => 'amin:command' > <barries> : | ! | ! | } ) > <barries> -------------------------- > <barries> TRACE: | +-XML::LibXML::SAX::Parser=HASH(0x853ef24)-
> >XML::SAX::Base::start_element( {
> <barries> : | ! | LocalName => 'command', > <barries> : | ! | NamespaceURI => > 'http://amin.bcpub.com/ns/', > <barries> : | ! | Attributes => { > <barries> : | ! | name => { > <barries> : | ! | LocalName => 'name', > <barries> : | ! | NamespaceURI => undef, > <barries> : | ! | Value => 'mkdir', > <barries> : | ! | Prefix => undef, > <barries> : | ! | Name => 'name' > <barries> : | ! | } > <barries> : | ! | }, > <barries> : | ! | Prefix => 'amin', > <barries> : | ! | Name => 'amin:command' > <barries> : | ! | } ) > <barries> ------------