[udig-devel] strange problem in sld stream

Andrea Antonello andrea.antonello at gmail.com
Wed Sep 12 14:28:37 PDT 2007


Hi, I'm visualizing those dwg and dxf layers and when I want to change
color and labels, I get this exception
Caused by: org.xml.sax.SAXParseException: Character reference "&#0" is
an invalid XML character. at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
at org.geotools.styling.SLDParser.readXML(SLDParser.java:227)

telling me that there is a wrong char in my xml. There is no sld file,
so when I debug and trap the create stream of style string, somewhere
in the middle I find:

<sld:FeatureTypeName>BEZ_PT_TOPOG_CODE&#0;</sld:FeatureTypeName>

whereas the featuretype name is only BEZ_PT_TOPOG_CODE.

any idea about why this is happening?

Thanks,
Andrea


More information about the udig-devel mailing list