Re: Entities in alt and title text



Andy Dingley wrote:
On 31 Jul, 16:47, Harlan Messinger <hmessinger.removet...@xxxxxxxxxxx>
wrote:

Of course they can happen with &#8217;, just pass it through an XML
tool that works on the entirely correct and specification-conformant
basis that &#8217; can be converted transparently to and from the
literal character "'" at the serializer's whim. Then you've entered
the domain where incorrect encodings will break the content.
*Anything* that works fine to begin with won't work if you first pass it
through something that breaks it.

XML doesn't "break" it. It does something entirely legal.

If the original works fine in HTML browsers, and then the XML processor that's *supposed* to keep it functional actually turns it into something that doesn't work as intended, then the processor has broken it, by definition of the word "break". What XML, in and of itself, can legally do is irrelevant.

The risk here is that the world, and certainly not the web world,
isn't simple. Even if the OP thinks they're using a simple process,
how simple is it really? What happens when they post that code into a
blog engine? Through something that's collected by RSS and re-
distributed? Now there's an XML-based process that certainly does
hammer on numeric entities.

Why should he care if downstream purloiners of his material don't have proper processing on *their* systems?
.



Relevant Pages

  • Re: Entities in alt and title text
    ... tool that works on the entirely correct and specification-conformant ... basis that ’ can be converted transparently to and from the ... literal character "'" at the serializer's whim. ... Now there's an XML-based process that certainly does ...
    (comp.infosystems.www.authoring.html)
  • Re: Entities in alt and title text
    ... literal character "'" at the serializer's whim. ... the domain where incorrect encodings will break the content. ... defined within their own scope. ... XML processor has caused something to break further down the line. ...
    (comp.infosystems.www.authoring.html)