Hi:
I have the following situation:
Schema A imports schema B and has: 
<xsd:schema targetNamespace="AAA" xmlns="AAA"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:B="BBB"
elementFormDefault="qualified" attributeFormDefault="unqualified">
- - -
<xsd:element name="LossAddr" type="AddrType" minOccurs="0"/>

Schema B has:
<xsd:schema targetNamespace="BBB" xmlns="BBB"
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
elementFormDefault="qualified" attributeFormDefault="unqualified">
- - -
<xsd:element name="LossAddr" minOccurs="0">
<xsd:complexType>...

Now, currently I generate all classes in one package (and SourceGen also
creates the types package), so I am unable to have two different
definitions for LossAddr (one from schema A and one from schema B).
How should I map the namespaces in castorbuilder.properties so that the
classes are generated as:
Package A for Schema A, package A.B for Schema B, so that I will have
A.LossAddr which is different from A.B.Losaddr (based on the schema
definitions)?
Thanks.
-----------------------------
Karuna Annavajjala
Westerville, Ohio

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

Reply via email to