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

Re: Entity replacement

  • From: Peter@u... (Peter Murray-Rust)
  • To: xml-dev@i...
  • Date: Sun, 30 Mar 1997 11:55:26 GMT

Re: Entity replacement
In message <199703300546.VAA18376@j...> Sean Russell writes:
> I was told this was a hotly debated topic, and I was wondering what the cur

Probably by me :-), so I'll try to answer.

> rent status was.  This is regarding section 4.3 of the XML working draft, 1
> 4-Nov-96.
> 
> As regards #2, #3, and #6, which claim that internal entities should be pro
> cessed and replaced by their values by the parser before the data is return
> ed to the application, will this requirement be changed?

The problem as I see it is not that anything requires change, but rather
clarification.  The main problem seems to be with parameter entities.
The sort of problem that *I* don't know the answer to is whether a 
parameter entity in a comment is expanded or whether a comment in a 
parameter entity is expanded and in which order.  Another is that PEs can
be nested something like:
<!ENTITY % hairy "<!ENTITY % foo 'bar'>">
but I doubt if I have got this right (I've deleted the WG discussion).
I also know from experience that *authoring* PEs can be quite tricky
(I used this at one stage to mimic directory names in resolving entities
and you have to get the quotations just right).  It's therefore even more
important to get the parsing right :-)

The Editorial Review Board has promised enlightenment in the nearish future.

If your are really keen on this have a play with a full sgml parser such as
nsgmls and see how PEs are treated there.

	P.

> 
> --- SER
> 
> xml-dev: A list for W3C XML Developers
> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
> To unsubscribe, send to majordomo@i... the following message;
> unsubscribe xml-dev
> List coordinator, Henry Rzepa (rzepa@i...)
> 
> 

-- 
Peter Murray-Rust, domestic net connection
Virtual School of Molecular Sciences
http://www.vsms.nottingham.ac.uk/

xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@i... the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@i...)


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.