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

Re: Alternative "character entity" proposal

  • To: xml-dev@l...
  • Subject: Re: Alternative "character entity" proposal
  • From: Richard Tobin <richard@c...>
  • Date: Tue, 21 Oct 2003 17:02:56 +0100 (BST)
  • Cc:
  • In-reply-to: <3F955039.30602@d...>
  • Organization: HCRC, University of Edinburgh

htmlentities alternative
>Is scoping really necessary?

Yes, it's the main reason that the existing DTD mechanism is
inadequate.

For example, it should be possible to insert some HTML - using the
HTML entities - into a existing document without having to change that
document.  MathML is another obvious example.

[If you don't worry about name conflicts, or use some namespace
mechanism to disambiguate, then you could say that the problem is not
so much scoping as the need to be able to introduce the definitions at
any point.]

>That seems like "value add" above what 
>internal entities now provide

Exactly.  If it *only* replicated DTD-declared entities, it wouldn't
be worth the effort.

>Rather than have a new reserved name, perhaps xmlent="...." names a set 
>of resources that define xmlent:xxx mappings?  Again, external files 
>will cause issues for anyone shipping XML files to a remote processor.

I should have mentioned that I'm assuming that browsers would
recognise the URLs of entity sets for the languages they support, just
as (I assume) they do for the HTML DTD.

Also, preprocessors could expand the entities and remove the reference
to the entity set, to produce "standalone" documents.

-- Richard

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.