[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Alternative "character entity" proposal
>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! 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
|