- From: Houghton,Andrew <houghtoa@oclc.org>
- Date: Tue, 16 Aug 2005 19:04:48 -0400
- To: <www-rdf-validator@w3.org>
> From: Dan Brickley [mailto:danbri@w3.org] > Sent: 16 August, 2005 18:38 > Subject: Re: Form Post From Mozilla > > The validator has a checkbox on the submission form for the > case when rdf:RDF is ommitted. I'm not sure why it does this > separately, rather than just handling their absence, but that > should fix your problem I hope. Yes, thanks. It would be nice if that check box could be eliminated. I rarely use the advance options and forget that they are there. > I don't quite follow your > point about rdf:Description, since it isn't a class, just a > purely syntactic construct at the XML level. > What I was trying to say was that I should be able to replace rdf:Description with something else when I remove the rdf:RDF, just like I can when the rdf:RDF is specified. For example: <?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" > <foo rdf:about="http://www.w3.org/" xmlns="urn:foo"> <dc:title>World Wide Web Consortium</dc:title> </foo> </rdf:RDF> vs. <?xml version="1.0"?> <foo rdf:about="http://www.w3.org/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="urn:foo" > <dc:title>World Wide Web Consortium</dc:title> </foo> Both validate and it looks like both produce the same graph. Oddly, the first one works the same way in the validator regardless of whether the "RDF is NOT enclosed in <RDF>...</RDF> tags" checkbox is checked in the Advanced Featrues. So this implies to me that the validator looks to see if the document tag is rdf:RDF then process it as enclosed in RDF tags, otherwise process it as enclosed in RDF tags when the checkbox is *not* checked, otherwise process it as *not* having RDF tags. I have to agree, the checkbox is unnecessary if you are already looking at the document tag to determine whether it's enclosed in RDF tags. Thanks for the help, Andy.
Received on Tuesday, 16 August 2005 23:19:05 UTC