Hi Richard,

I didn't realise the XML declaration is optional (my bad), so thanks
for pointing it out! I was using a home-grown XML parser. However,
since it is recommended by the specification (a SHOULD but not a
MUST), it might still be good to include the line. Openlink has
already implemented the change in their Virtuoso server. (Fast work!)

Best,
Anupriya

On Jan 6, 2008 11:08 AM, Richard Cyganiak <[EMAIL PROTECTED]> wrote:
> Anupriya,
>
> This first line (called the "XML declaration") is optional. As you
> know, SPARQL results are a kind of XML document, and the XML spec
> doesn't require this line [1].
>
> > It's a minor issue, but it could break code that accesses
> > several different SPARQL endpoints, many of which do include that
> > line. It just did mine. :)
>
> Do you use an XML parser to read the results? I would be surprised if
> any XML parser choked on a missing XML declaration.
>
> Best,
> Richard
>
> [1] http://www.w3.org/TR/REC-xml/#sec-prolog-dtd
>
>
> >
> >
> > Thanks,
> > Anupriya
> >
> >
> >
> >
> > [1] http://www.w3.org/TR/rdf-sparql-XMLres/
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Dbpedia-discussion mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
> >
>
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to