[XSL-LIST Mailing List Archive Home]
[Reply To This Message]
Title: RE:RE: Notation
I thought so too.
But there is a problem: the DXP parser doesn't validate the document, instead IE 5.0 final version validates it. (I use the example validate.htm).
Which make a mistake?
From: Marcus Carr[SMTP:mrc@xxxxxxxxxxxxxx]
Reply To: xsl-list@xxxxxxxxxxxxxxxx
Sent: mercoledì 31 marzo 1999 15.27
Subject: Re: Notation
Bovone Stefano wrote:
> I have the following problem: I have the XML document
> <?xml version="1.0" encoding="UTF-8" stanalone="no"?>
> <!DOCTYPE HML SYSTEM "hml.dtd" [
> <!ENTITY pcl001 SYSTEM "pcl001.pcl" NDATA PCL>
> The file hml.dtd is like:
> <!NOTATION PCL SYSTEM "PCL Language">
> When I try to validate the XML document the parser said that it
> doesn't know the PCL notation.
> Is this right?
If the XML recommendation treats this the same way that the SGML
standard does, this is because the notation declaration must be declared
before it is used. With the construction you show however, the entity
declaration will be evaluated before hml.dtd is ever seen by the
processor. Try moving the notation declaration to the line before the
entity declaration and process again.
Marcus Carr email: mrc@xxxxxxxxxxxxxx
Allette Systems (Australia) www: http://www.allette.com.au
"Everything should be made as simple as possible, but not simpler."
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format