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

Re: Notation

Subject: Re: Notation
From: Marcus Carr <mrc@xxxxxxxxxxxxxx>
Date: Wed, 31 Mar 1999 23:27:01 +1000
stylus hml
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>
> ]>
>
> <HML>
> ....
>
> 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.


--
Regards,

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."
       - Einstein



 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.