Re: Serving XHTML+RDFa as application/xhtml+xml

Dear Shane,

2009/1/27 Shane McCarron <shane@aptest.com>:
> The problem is that the DOCTYPE you are using is not one that is known to
> the user agents and the user agents are not dereferencing the referenced DTD
> to learn about the entities.  As a result, named entities other than the 5
> defined by XML will not work in such pages.

Thanks so much for clarifying this so quickly.

> I was not myself aware of this issue until a few days ago.  The easiest
> solution is to use numeric entity references instead of named entity
> references.  PHP probably even has a module that will magically transform
> them for you on the way out.

I'll look into this.

Many thanks again,

Sam

Received on Tuesday, 27 January 2009 17:58:19 UTC