XHTML+RDFa

For technical support for all editions of CSE HTML Validator. Includes bug reports.

XHTML+RDFa

Postby cunsted » Fri Feb 12, 2010 10:36 am

Hello Everyone.
I'll just start by saying we've been using CSE HTML Validator for a good few years now and its served us well; this is the first time we've even had to ask a question.

As part of the UK Government we've received new guidelines that say parts of our site have to include RDFa markup in some pages.

Currently AFAIK the validator doesn’t seem to be aware of the DOCTYPE or the extensions that it adds to XHTML (e.g. <div about="#this"> ).

Am I missing a tick box somewhere OR are there any plans to extend the product with this support?? :?:

Obvioulsy I'm happy to supply examples etc.

Heres the first two lines of the pages : they provide a list of most of the challenges!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:argot="http://purl.oclc.org/argot/" xmlns:dc="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:v="http://www.w3.org/2006/vcard/ns#" xmlns:dbp="http://dbpedia.org/resource/">

Thanks,

Chris
cunsted
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 2
Joined: Fri Feb 12, 2010 10:16 am

Re: XHTML+RDFa

Postby Albert Wiersch » Fri Feb 12, 2010 1:43 pm

Hi Chris,

You're right, CSE HTML Validator does not pay attention to additional namespaces/extensions. You can add additional items using the Configuration Editor. If you could email me some sample documents, then it would help me make further suggestions. Please email some to me, via attachment, at support at htmlvalidator dot com. Thank you.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX

Re: XHTML+RDFa

Postby cunsted » Mon Feb 15, 2010 12:10 pm

Email on its way.

Thanks
cunsted
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 2
Joined: Fri Feb 12, 2010 10:16 am

Re: XHTML+RDFa

Postby Albert Wiersch » Mon Feb 15, 2010 4:45 pm

Thanks! Got it and will try to look into it later this week.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX

Re: XHTML+RDFa

Postby Albert Wiersch » Mon Feb 22, 2010 11:36 am

The next BETA should ignore RDFa attributes and display a comment message about how many RDFa attributes were found and ignored. Future versions of CSE HTML Validator may do some checking on the attribute values, but RDFa doesn't seem to be widely used at this time so it's not a "high priority" enhancement.

Thanks for bringing this up!
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX


Return to CSE Tech Support

Who is online

Users browsing this forum: Google [Bot] and 2 guests