Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Boell Fischer   on Mar 30 In Java Category.

  
Question Answered By: Nicolas Costa   on Mar 30

That document is a RDF and not an not a xml-schema to parse it with jaxb
directly. To keep it simple you can say it is one abstraction level
higher than the xml  schema. You can imagine, the file  is an instance (a
xml file) based on the xml-schema for RDF - which is referenced in the
file and relies on w3c website.
To read more about it you might go to http://www.w3.org/TR/rdf-concepts/
. What you can reach with jaxb  is trying to generate the classes for RDF
(based on the rdf schema) which is not your intention I think.

To process and handle the corresponding java objects you might received
or create- which I think is what you should be looking for- you can
consider using projects like JRDF ( http://jrdf.sourceforge.net/ ) or
4Suite (http://4suite.org/index.xhtml).

Hope these lines helps to sort out some confusions

Share: