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

RE: Encountered end of file.....

Subject: RE: Encountered end of file.....
From: "Robert C. Lyons" <boblyons@xxxxxxxxxx>
Date: Wed, 9 Aug 2000 17:02:51 -0400
end of file encountered
shelly nippard wrote:
> I'm getting the following error:
>
> Encountered end of file while searching for ";"
>
> on this line in my code:
> <a
> href="http://wwwapps.ups.com/etracking/tracking.cgi?tracknums_
> displayed=&Typ
> eOfInquiryNumber=T&HTMLVersion=4.0&InquiryNumber1={$trackNum}&
> track.x=22&tra
> ck.y=10">
> 	<xsl:value-of select="$trackNum"/>
> </a>
>
> does anyone know what this means?

Shelly,

The XML parser in your your XSLT processor is interpretting
the first ampersand in your code as the beginning of an
entity reference. An entity reference begins with an
ampersand and ends with a semicolon. The XML parser looked
for a semicolon after the first ampersand and it never found
one.

The solution is to replace each literal ampersand in your code
with "&amp;". For example:

<a>
href="http://wwwapps.ups.com/etracking/tracking.cgi?tracknums_displayed=&amp
;TypeOfInquiryNumber=T&amp;HTMLVersion=4.0&amp;InquiryNumber1={$trackNum}&am
p;track.x=22&amp;track.y=10">

Hope this helps.

Bob

------
Bob Lyons
E-Commerce Consultant
Unidex, Inc.
1-732-975-9877
boblyons@xxxxxxxxxx
http://www.unidex.com/


 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.