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