OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Caution! XML parsers behave differently withwhitespace specified directly in attribute value versus whitespacespecified via an ENTITY

On Fri, 2016-04-08 at 14:31 +0200, Christophe Marchand wrote:
> The question is, why, today, as we have various tools to modify xml 
> files, should we persist to use entities !

There are places where zero-argument macro text substitution is very
helpful. For example, 
or &productname; in a technical manual for several products.

Having said that, I have yet to see an XML schema language that can
place any constraints on entities. Doing that might require using a
character other than & for entity replacement, or changing XML parsers
to validate the entities as they go.


Liam R. E. Quin <liam@w3.org>
The World Wide Web Consortium (W3C)

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS