As far as I know, Castor 0.9.3 source generator is producing a wrong namespace, i.e. "xs" while in the schema element <xs:schema xmlns:xsd="..."> it uses "xsd" namespace. Is there any patch or new version after 0.9.3 ? Just delete all namespace and Castor will assume we are using namespace referring to http://www.w3.org/2001/XMLSchema and it will generate Java class as expected.
Regards, Agustinus Tedja Technische Universit�t Hamburg-Harburg Telematik Arbeitsbereich ===================================================================== hi all, today i've downloaded the new version of castor, and tried to regenerate java classes out of my schema definition. castor told me, that my namespace, i am useing (http://www.w3.org/2000/10/XMLSchema) is no longer supported. so i changed the namespace to http://www.w3.org/2001/XMLSchema and now i got an exception java.lang.IllegalArgumentException: getSimpleType: the simple type 'string' has not been declared in XML Schema namespace. at org.exolab.castor.xml.schema.Schema.getSimpleType(Schema.java:677) ... has anybody an idea whats going wrong? with castor 0.9.2 everything went fine, and Turbo XML which i'm useing to write my schema file says my schema definition is correct. i would be pleased if someone can help regards Christian -- ---------------------------------------------------------------------------- Christian Wohlfahrtstaetter [EMAIL PROTECTED] Group Systemsoftware, University of Linz WindRiver / TakeFive Software GmbH Freistaedterstrasse 315 Phone: +43 732 2468 7159 4040 Linz, AUSTRIA Fax: +43 732 2468 7138 ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
