I'm trying to use this to parse some Podcast feeds, but found that the "itunes" qname is recognized by this this module if the namespace is exactly "http://www.itunes.com/DTDs/Podcast-1.0.dtd". But many feeds I find have the namespace as "http://www.itunes.com/dtds/podcast-1.0.dtd". The module is case-sensitive to this, so it does not pick up the "itunes" qname for those attributes, making it difficult for my XML::RAI extensions to find iTunes attributes.
It looks like the iTunes spec even uses the all-lowercase namespace, so I'm not sure why Parser.pm defines it this way.
But anyway, I was able to patch up Parser.pm to be case-insensitive when trying to match up qnames to namespaces with the following modifications. Perhaps others might find this useful.
Around line 52, before "my %xpath_ns = reverse %xpath_prefix;", insert
(2)
]
