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> ------------