- From: Leo Sauermann <leo@gnowsis.com>
- Date: Fri, 11 Jul 2003 11:32:09 +0200
- To: "'Arron Ferguson'" <geek-kit@shaw.ca>, "'Rdf-Interest'" <www-rdf-interest@w3.org>
arron wrote: > My question with all of that is how do we get past the fact that > the XML Schema validation is going to fail because we now have > unknown attributes into the tag set and unknown elements in the > tag set. Or is this not an issue because this RDF document is > really the result of a transformation done by an RDF API (kind of > like XSL-FO is really the result of taking some XML, running it # > through some XSLT document which results in the XSL-FO document) > and all this is done *after* the validation using XML Schema? This is not an issue, if you an application application that takes an XML file as input and wants to transform it into RDF for further computation. a typical example would be: - Accept XML input "X" - validate "X" against XML Schema "XML-Schema-for-X" - use XSLT stylsheet "X-2-RDF" to transform "X" into "X/RDF", so "X" is now in the RDF/XML representation - use Raptor/Jena/Sesame or any other RDF Tool to parse "X/RDF" for further computing, f.e. storage or inference. a few hints: - "X/RDF", the rdf representation can be very similiar to the XML representation. - especially if you use Namespaces (which I miss in your xml-schema example) - you can use RDFSchema to set a similiar check in the RDF world, but there are only few validators for this, checkout http://athena.ics.forth.gr:9090/RDF/VRP/index.html this is old but does the best validation you can get. - RDF is not just a XML dialect, it is a Graph model, so everything is expressed as "Triples", this leads to a few architectural principles. I assume you have read the http://www.w3.org/TR/rdf-primer/ happy rdf'ing ! Leo Sauermann www.gnowsis.com
Received on Friday, 11 July 2003 05:30:22 UTC