Result doc validity question

I just ran into a little issue with the code I'm working on: if the
source doc doesn't contain any GRDDLable statements,

http://www.w3.org/2003/12/rdf-in-xhtml-xslts/grokCC.xsl

- produces no results, as in not XML. This trips up the subsequent
RDF/XML parser. It's not actually a blank doc (with the implementation
I'm using), it's got the <?xml... prolog.

So there's the question of whether, assuming the target format is
RDF/XML, the result should be valid RDF/XML whether or not anything
was found. I dunno, it'd have saved me a few LOC. Thoughts?

Cheers,
Danny.

-- 

http://dannyayers.com

Received on Friday, 22 September 2006 21:11:02 UTC