Skip Menu |

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

Report information
The Basics
Id: 96286
Status: new
Priority: 0/
Queue: XML-XPath-Simple

People
Owner: Nobody in particular
Requestors: godsgood33 [...] gmail.com
Cc:
AdminCc:

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



Subject: Valid XML characters
Date: Fri, 6 Jun 2014 13:12:01 -0600
To: bug-XML-XPath-Simple [...] rt.cpan.org
From: Ryan Prather <godsgood33 [...] gmail.com>
It appears that this module does not take into account all valid XML element characters. For example '-' is a valid XML element name character, but when using that character the regex in _convert() says that is a function call once it pulls back. We have hundreds of XML files that we receive from an external source and so we can't change the names, we need XPath to recognize the presents of '-' (or other valid characters '_' perhaps) and surround those paths with quotes. I have attached a possible fix for it. I know this doesn't completely fix it, but it is on the way. v/r, Ryan

Message body is not shown because sender requested not to inline it.