[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: parsing error: &#x3c ???

Subject: Re: parsing error: &#x3c ???
From: Kris Kolodziej <kkolodziej@xxxxxxxxxxxx>
Date: Wed, 25 Jul 2001 12:39:30 -0400
x3c
In case you are interested, in turned out that  "&x#3c" was not referring to
the "<" but to my XPath location reference, which was not correct.  Thanks for
your input.   </Kris>


"Clapham, Paul" wrote:

> "&x#3c" means the Unicode character 003C, which is the less-than symbol (<).
> So the parser has come to what it thinks is the end of your document, and
> then it has found an additional "<".  This may mean that you used an empty
> element where you should have used an opening tag.  By the way, why not just
> write
>
> <TARGETLAYER id="2"/>
>
> PC2
>
> -----Original Message-----
> From: Kris Kolodziej [mailto:kkolodziej@xxxxxxxxxxxx]
> Sent: July 24, 2001 14:08
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  parsing error: &#x3c ???
>
> Dear list,
>
> I am getting the following error/comment:
> org.jdom.JDOMException: Error on line 2: Illegal character at end of
> document, &#x3c;.
>
> What does "&#x3c" 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


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.