This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: document() call clashes with DOCTYPE declaration?
- From: "Michael R. Hahn" <sgml dot xml at att dot net>
- To: Greg Faron <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 2 May 2002 18:55:30 -0400
- Subject: Re: [xsl] document() call clashes with DOCTYPE declaration?
- Organization: Alphabetical by Author
- References: <5.1.0.14.0.20020502161939.00b0ec50@parzival.integretechpub.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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 © 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@att.net Cell: 1-540-729-2962
=====================================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list