Skip Menu |

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

Report information
The Basics
Id: 53496
Status: resolved
Priority: 0/
Queue: XML-Tiny

People
Owner: Nobody in particular
Requestors: djerius [...] cpan.org
Cc:
AdminCc:

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



Subject: $regexp{name} is missing '_' for name start character
My reading of the XML docs is that a name may be begin with an underscore:

http://www.w3.org/TR/2008/REC-xml-20081126/#sec-starttags

http://www.w3.org/TR/2008/REC-xml-20081126/#NT-NameStartChar

The current name regexp doesn't permit that. Setting

$regexps{name} = '[:a-z_][\\w:\\.-]*'

would do the trick.

Thanks,
Diab

Thanks, fixed in 2.03 which is on its way to the CPAN now