Re: Thankyou for saving my sanity...

On 7 Jan 2012, at 22:25, Jürgen Jakobitsch wrote:

> hi again,
> 
> you now have "application/xhtml+xml" in a meta-tag [1] like so
> <meta http-equiv="Content-Type" content="application/xhtml+xml;charset=utf-8"/>
> 
> this is very good, but only half the way.
> you need to set a header also, currently your page presents itself to the parser still as text/html.

usually that is done just by having your file with a .xhtml extension

Henry

> 
> in a jsp i do
> 
> <%@page contentType="application/xhtml+xml"%>
> 
> wkr j
> 
> [1] http://idweb.cloudapp.net:8080/Home/About
> 
> 
> ----- Original Message -----
> From: "Jürgen Jakobitsch" <j.jakobitsch@semantic-web.at>
> To: "Peter Williams" <home_pw@msn.com>
> Cc: public-xg-webid@w3.org
> Sent: Saturday, January 7, 2012 1:35:12 AM
> Subject: Re: Thankyou for saving my sanity...
> 
> hi peter,
> 
> one more thing :
> 
> for 12 points, you should change the content-type of your rdfa-profile to application/xhtml+xml, see here [1],
> i did the same with my testing-rdfa-profile [2] today.
> 
> at this point of time, webIDRealm uses the rdfa parser, when the content-type is text/html or application/xhtml+xml,
> but i might/will change this to only application/xhtml+xml.
> 
> wkr j
> 
> [1] http://www.w3.org/2006/07/SWD/RDFa/testsuite/
> [2] http://2sea.org/sea.jsp#j
> 
> 
> 
> ----- Original Message -----
> From: "Peter Williams" <home_pw@msn.com>
> To: "j jakobitsch" <j.jakobitsch@semantic-web.at>, public-xg-webid@w3.org
> Sent: Saturday, January 7, 2012 12:48:31 AM
> Subject: Thankyou for saving my sanity...
> 
> 
> http://tinyurl.com/7luhnnv
> 
> Your debug output gave the clue, and W3C validator did the rest.
> 
> All along it was a &, vs an "&amp;"
> 
> not only is there name/address duality, there is duality of encodings of meta-characters in the meta documents descirbing resources, bearing addresses that may be names (or not).
> 
> --
> | Jürgen Jakobitsch,
> | Software Developer
> | Semantic Web Company GmbH
> | Mariahilfer Straße 70 / Neubaugasse 1, Top 8
> | A - 1070 Wien, Austria
> | Mob +43 676 62 12 710 | Fax +43.1.402 12 35 - 22
> 
> COMPANY INFORMATION
> | http://www.semantic-web.at/
> 
> PERSONAL INFORMATION
> | web   : http://www.turnguard.com
> | foaf  : http://www.turnguard.com/turnguard
> | skype : jakobitsch-punkt
> 
> --
> | Jürgen Jakobitsch,
> | Software Developer
> | Semantic Web Company GmbH
> | Mariahilfer Straße 70 / Neubaugasse 1, Top 8
> | A - 1070 Wien, Austria
> | Mob +43 676 62 12 710 | Fax +43.1.402 12 35 - 22
> 
> COMPANY INFORMATION
> | http://www.semantic-web.at/
> 
> PERSONAL INFORMATION
> | web   : http://www.turnguard.com
> | foaf  : http://www.turnguard.com/turnguard
> | skype : jakobitsch-punkt
> 

Social Web Architect
http://bblfish.net/

Received on Saturday, 7 January 2012 21:41:06 UTC