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

Re: xml->xsl->pdf

Subject: Re: xml->xsl->pdf
From: james wilson <fat_hot@xxxxxxxxx>
Date: Fri, 8 Jun 2001 04:44:02 -0700 (PDT)
xml xsl pdf parser
Peter Flynn wrote:

> Date: Thu, 7 Jun 2001 22:49:04 +0100
> From: Peter Flynn <peter@xxxxxxxxxxx>
> Subject: Re:  xml->xsl->pdf

> Declare <!ENTITY amp "\&"> and then write

[snip]

> But you'll have to do it with a validating parser, 
> because I don't think a non-validating one will honour 
> a [re]definition of &amp; (because it's pre-declared 
> for DTDless operations, and only the first declaration 
> of entities gets honoured).

this does not work with certain parsers due to the
following clause in the xml spec:

   If the entities in question are declared, they must 
   be declared as internal entities whose replacement 
   text is the single character being escaped or a 
   character reference to that character, as shown below. 

http://www.xml.com/axml/target.html#sec-predefined-ent

in short, the parser should apparently ignore
redefinitions... but it isn't quite clear because this
'must' clause is preceded by a sentence about
interoperability. 

using xerces (forget which version, sorry), redefining amp
and friends produces a warning from the parser and the
redefinition is ignored.

James



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

 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.