Skip Menu |

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

Report information
The Basics
Id: 165
Status: resolved
Priority: 0/
Queue: XML-SAX-Writer

People
Owner: Nobody in particular
Requestors: matt [...] sergeant.org
Cc:
AdminCc:

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



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 ;-)
Ok, this one is fixed locally, it'll ship with the next release which should happen as soon as I'm done with two other bugs. Thanks -- --darobin