xsl-list
[Top] [All Lists]

Re: [xsl] Adding entity declarations to DOCTYPE in xml output

2019-02-26 14:49:55
I think external entities could have been much more effective if done 
differently:

"If the document contains an entity reference &param; then the application 
invoking the parser must provide a value for param, using a parser-defined API".

Requiring them to be defined in a syntactically-complex DTD file is just too 
inflexible to be worth the candle.

Michael Kay
Saxonica

On 26 Feb 2019, at 20:10, Peter Flynn peter(_at_)silmaril(_dot_)ie 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:


On 26/02/2019 19:50, Eliot Kimber ekimber(_at_)contrext(_dot_)com wrote:
For the record, retaining external and internal text entities in XML was a 
mistake. It's something I fought for at the time and now
regret every time it comes up.

I would venture to disagree now, as I disagreed then, and for the
same reasons.

The XML community has been wise in forgetting that text entities were ever a 
feature.

Fortunately it hasn't :-)

///Peter

--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>