Print

Print


Ian Stuart wrote:
> ...
> <?xml version="1.0"?>
> <rdf:RDF
>    xmlns:dc="http://purl.org/dc/elements/1.1/"
>    xmlns:dcq="http://purl.org/dc/qualifiers/1.1/"
>    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>    >
>   <rdf:Description rdf:about="http://www.w3.org/">
>     <dc:title>World Wide Web Consortium</dc:title>
>     <dc:Identifier dcq:IdentifierType="issn">0001-3072</dc:Identifier>
>  </rdf:Description>
> </rdf:RDF>
>
> ...
>
> This format of attribute and value was parseable at the end of August
> (30/8/01 to be exact), and then working (discovered 5/9/01). I only
> noticed this because a prototype that I had had working, had stopped
> working when I went back to it after a couple of weeks away.
>
> I am using Perl Modules to parse, so I first assumed that they had
> altered, however (a) the server had not been updated, and (b)testing on
> another machines gave the same error.
> I then had it tested on a completely different server, using a
> Java-based system to parse the data - and still got the same error.
> Next I checked the XML data, and tested the xsl with my test-data (that
> was known to work in late August).
>
> My conclusion is that something in the spec has changed - is this wrong?
> is there something I've missed?

No, the spec didn't change. The above RDF isn't (and wasn't) correct.
They just fixed the RDF parser to notice this syntax error.
Annoying, I know.

Regards,
Stefan