W3C home > Mailing lists > Public > www-rdf-interest@w3.org > August 2000

Re: RDF syntax 'improvements'? and line-oriented XML

From: Dan Connolly <connolly@w3.org>
Date: Thu, 10 Aug 2000 13:55:29 -0500
Message-ID: <3992FAA1.315A865F@w3.org>
To: www-rdf-interest@w3.org
> Unlike normal RDF 1.0 syntax, the DTD and/or XML Schema that defined
> this syntax would nail down some pretty tight constraints so quick perl scripts
> etc could have reasonable expectations about what they're getting.
> 
> <rdump:StatementSet xmlns:web="http://example.com/rdf-dump-syntax-0.0">
> 
>  <RDF xmlns:web="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
[...]

if you combine it with a particular convention for breaking
lines in XML, you get something even easier to perl+duct-tape.



<Statement
><predicate
resource="http://purl.org/dc/elements/1.1/creator"
/><subject
resource="http://example.com/danhomepage/"
/><object
resource="genid:435345353453"
/></Statement
>

For details, see

A Handy Line-breaking Algorithm for XML (esp XHTML)
http://www.w3.org/2000/08/lb2/
$Revision: 1.10 $ of $Date: 2000/08/08 17:25:41 $ by $Author: connolly $ 

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Thursday, 10 August 2000 14:56:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:43 GMT