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

Re: document() call clashes with DOCTYPE declaration?

Subject: Re: document() call clashes with DOCTYPE declaration?
From: "Michael R. Hahn" <sgml.xml@xxxxxxx>
Date: Thu, 2 May 2002 18:55:30 -0400
r doctype
Hi, Greg:

GF>    I receive the following error:

GF> XSL Transformation failed due to following error:
GF> Error while parsing "file:///M:/books/wiley/lax/xml/c01.xml". A declaration 
GF> was not closed.

[...]

GF>    Has anyone seen this before and know what to do about it?  When I remove 
GF> the DOCTYPE line (and the &copy; entity reference), it works fine.  How do 
GF> you close a <!DOCTYPE> tag?

You're asking the wrong question.  The error is in the piece you've
not shown us, jwscha.dtd.  Removing the DOCTYPE declaration and the
entity reference just takes that piece out of the loop.

Chances are you're missing an ">" in one of the markup declarations in
the DTD.

<aside type="pedantic"><!DOCTYPE> isn't a tag--it's a markup
declaration.</aside>

-- 
=====================================================================
Michael R. Hahn                                 Phone: 1-703-433-0265
sgml.xml@xxxxxxx                                Cell:  1-540-729-2962        
=====================================================================


 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.