Greetings,

I'm trying to convert to a DTD to a schema. I'm using castor 0.9.5.2 (I
already tried the CVS version also) with Xerces 2.5.0. 

Any hints?

This is the trace of my exception:

Exception in thread "main" java.lang.IllegalArgumentException: Namespace
URI must not be null.
        at
org.exolab.castor.xml.Namespaces.getNamespacePrefix(Namespaces.java:224)
        at
org.exolab.castor.xml.schema.writer.SchemaWriter.getNSPrefix(SchemaWriter.java:1453)
        at
org.exolab.castor.xml.schema.writer.SchemaWriter.processElement(SchemaWriter.java:692)
        at
org.exolab.castor.xml.schema.writer.SchemaWriter.processContentModelGroup(SchemaWriter.java:658)
        at
org.exolab.castor.xml.schema.writer.SchemaWriter.processGroup(SchemaWriter.java:926)
        at
org.exolab.castor.xml.schema.writer.SchemaWriter.processContentModelGroup(SchemaWriter.java:662)
        at
org.exolab.castor.xml.schema.writer.SchemaWriter.processComplexType(SchemaWriter.java:622)
        at
org.exolab.castor.xml.schema.writer.SchemaWriter.processElement(SchemaWriter.java:833)
...


thanks,
Pedro Salazar.
-- 
PS
[EMAIL PROTECTED]
PGP:0E129E31D803BC61

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to