Re: [Wikitech-l] Named entity references and XML well-formedness

2010-04-26 Thread Dmitriy Sintsov
* Aryeh Gregor simetrical+wikil...@gmail.com [Sun, 25 Apr 2010 20:46:14 -0400]: In XML, named entity references like nbsp; and bull; (with the special exceptions of lt; gt; amp; quot; apos;) can be treated as well-formedness errors across the board by conformant XML processors. (Yes, this

Re: [Wikitech-l] Named entity references and XML well-formedness

2010-04-26 Thread Aryeh Gregor
On Mon, Apr 26, 2010 at 4:02 AM, Dmitriy Sintsov ques...@rambler.ru wrote: Wouldn't it be enough just to define an entity? http://www.criticism.com/dita/dtd2.html#section-ENTITIES I used such definition for nbsp once in XSL sheet. Don't know how well it works alone in XML. I guess that would

Re: [Wikitech-l] Named entity references and XML well-formedness

2010-04-26 Thread Platonides
Aryeh Gregor wrote: On Mon, Apr 26, 2010 at 4:02 AM, Dmitriy Sintsov ques...@rambler.ru wrote: Wouldn't it be enough just to define an entity? http://www.criticism.com/dita/dtd2.html#section-ENTITIES I used such definition for nbsp once in XSL sheet. Don't know how well it works alone in XML.

Re: [Wikitech-l] Named entity references and XML well-formedness

2010-04-26 Thread Aryeh Gregor
On Mon, Apr 26, 2010 at 5:04 PM, Platonides platoni...@gmail.com wrote: I suppose that you could link to a local copy of the DTD, that would keep happy but would probably break more parsing, since html doctypes are more or less magic words for many programs dealing with it (beginning with