Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strings terminating "E" or "e" are not escaped #17

Open
GoogleCodeExporter opened this issue Mar 19, 2015 · 2 comments
Open

Strings terminating "E" or "e" are not escaped #17

GoogleCodeExporter opened this issue Mar 19, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

XML like "...<node>8220E</node>..." will output "'node': 8220E, ...

I've changed the number test, which seems to solve the problem:

<xsl:template match="text()[not(string(number())='NaN' or (starts-with(.,'0' ) 
and . != '0')) and not(substring(., string-length(.)) = 'E') and 
not(substring(., string-length(.)) = 'e')]">

Original issue reported on code.google.com by mikhail....@gmail.com on 26 Aug 2011 at 4:47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant