Re: Refactoring RDF/XML Syntax W3C Working Draft

After a brief glance, I'd say you'd be best served by

a) Defining a canonical XML representation which was explicit,
somewhat verbose, and used only element names from the RDF namespace.
The primary design goal for this form is that mapping from it to the
RDF model should be trivial;

b) Defining an XSLT transform sheet which maps from your desired range 
of representations, as recorded in section 4, into the canonical
representation.

A combination of a tight XML Schema for the canonical XML
representation, a loose XML Schema for the desired range of
representations, and some error detection in the transform sheet, will 
get you the constraints you want in a reasonably neat way.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/

Received on Monday, 10 September 2001 10:10:38 UTC