This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: document() call clashes with DOCTYPE declaration?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]