W3C home > Mailing lists > Public > public-rif-wg@w3.org > June 2008

Re: [BLD] ACTION-527 Test the XSD examples

From: Chris Welty <cawelty@gmail.com>
Date: Thu, 19 Jun 2008 19:55:40 -0400
Message-ID: <485AF1FC.1050405@gmail.com>
To: Gary Hallmark <gary.hallmark@oracle.com>
CC: "pu >> RIF WG" <public-rif-wg@w3.org>



Gary Hallmark wrote:
> 
> I was able to run the Sun JAXB 2.0 compiler on the BLD XML schema 
> without difficulty.  The only (minor) issue
> is that 2 Java classes named "Object" and "Class" are generated from the 
> schema complexTypes of the same name.  Although these generated classes 
> are in package "org.w3._2007.rif_" and thus technically do not conflict 
> with Java's java.lang.Class and java.lang.Object, it is a nuisance.

Would RifClass and RifObject help?

> Also notice the Java package name had to be "munged" as per the JAXB 
> spec to turn the namespace IRI into a legal Java package name.




-- 
Dr. Christopher A. Welty                    IBM Watson Research Center
+1.914.784.7055                             19 Skyline Dr.
cawelty@gmail.com                           Hawthorne, NY 10532
http://www.research.ibm.com/people/w/welty
Received on Thursday, 19 June 2008 23:56:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:33:49 GMT