Praful Tarkar
2013-07-02 14:10:02 UTC
Hi,
We are using Saxon 9.3.0.11 version.
While transforming we get the following error..
SXXP0003: Error reported by XML parser: An invalid XML character (Unicode: 0x1) was found in the element content of the document.
One way to solve this issue is to clean the data before sending it to transformation, however that's not possible for some reason.
We tried to use the saxon-character-representation property in the xsl output tag.
<xsl:output method="xml" encoding="UTF-8" indent="yes" saxon-character-representation="hex" />
As referenced from http://www.saxonica.com/html/documentation/javadoc/net/sf/saxon/s9api/Serializer.Property.html#SAXON_CHARACTER_REPRESENTATION
However, this doesn't solve the problem.
Any help would be appreciated.
Regards,
Praful
________________________________
The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
We are using Saxon 9.3.0.11 version.
While transforming we get the following error..
SXXP0003: Error reported by XML parser: An invalid XML character (Unicode: 0x1) was found in the element content of the document.
One way to solve this issue is to clean the data before sending it to transformation, however that's not possible for some reason.
We tried to use the saxon-character-representation property in the xsl output tag.
<xsl:output method="xml" encoding="UTF-8" indent="yes" saxon-character-representation="hex" />
As referenced from http://www.saxonica.com/html/documentation/javadoc/net/sf/saxon/s9api/Serializer.Property.html#SAXON_CHARACTER_REPRESENTATION
However, this doesn't solve the problem.
Any help would be appreciated.
Regards,
Praful
________________________________
The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.