This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
parsing error: < ???
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] parsing error: < ???
- From: Kris Kolodziej <kkolodziej at syncline dot com>
- Date: Tue, 24 Jul 2001 17:07:35 -0400
- Organization: Syncline, Inc.
- Reply-To: xsl-list at lists dot mulberrytech dot com
Dear list,
I am getting the following error/comment:
org.jdom.JDOMException: Error on line 2: Illegal character at end of
document, <.
What does "<" mean?
I know for sure that my original XML request is valid (does the Error on
line 2 refers to my XML code, Java code, ???)
I am using <xsl:choose> and <xsl:when>. I am getting the above error
ONLY when I remove the <TARGETLAYER> portion of the XSL shown below.
I don't want this tag in my translation but without it the parser seems
to be stuck...Any suggestions? As always, thanks in advance. </Kris>
.
.
.
<xsl:choose> <!-- START 1st choose****** -->
<xsl:when test="//SpatialQuery/Circle">
<BUFFER>
<xsl:attribute name="distance">
<xsl:value-of select="//Circle/@radius"/>
</xsl:attribute>
<xsl:attribute name="bufferunits">
<xsl:value-of select="//Circle/@units"/>
</xsl:attribute>
<TARGETLAYER>
<xsl:attribute name="id">2 </xsl:attribute>
</TARGETLAYER>
</BUFFER>
</xsl:when>
<xsl:when test="//SpatialQuery/Buffer">
.
.
.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list