Subject: | Autovivication problem |
This is a wierd one...
The problem is that if in a filter you do:
my $foo = $element->{Attributes}{"{}foo"}{Value};
It autovivifies the foo attribute. Well it kinda does. I think it would be nice if XML::SAX::Writer checked that the attribute had a valid LocalName/Name before outputting it to the result stream, as in writing XML::Filter::XInclude I ended up with lots of <foo =''> looking elements, which was kind of wierd ;-)