Problems with application/xml

Hello.  I have an RDF document http://www.mterry.name/test.xml that I am
serving as application/xml.  I am using Apache's Multiview option so
that its URI is just /test.  I also have an exact copy of that file as
/test2.rdf that is served as application/rdf+xml.

When I give the RDF validator the URIs
"http://www.mterry.name/test2.rdf" or "http://www.mterry.name/test2", it
says the RDF document validated successfully.

When I pass the URI "http://www.mterry.name/test" to the RDF validator,
I get the error message "An attempt to load the RDF from URI
'http://www.mterry.name/test' failed. (Cannot open stream.)".  I don't
know what the deal is with that.

If I pass in "http://www.mterry.name/test.xml" to the validator, I get
the error "Exception parsing: {E301} The processing instruction target
matching "[xX][mM][lL]" is not allowed.".  It seems the validator is
hard coded to bail on any xml PI, including the simple 'I am XML'
declaration?  Is that right?

Why is the validator choking so hard on application/xml?  Is there a way
I can get around this?

Thank you for your time, and please cc: me as I am not subscribed to
this list,
Michael Terry

Received on Sunday, 8 August 2004 09:37:47 UTC