Skip to content

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

Open
@GoogleCodeExporter

Description

@GoogleCodeExporter
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 [email protected] on 26 Aug 2011 at 4:47

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions