Subject: Re: document() call clashes with DOCTYPE declaration?
From: "Michael R. Hahn" <sgml.xml@xxxxxxx>
Date: Thu, 2 May 2002 18:55:30 -0400
|
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@xxxxxxx Cell: 1-540-729-2962
=====================================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|