I get the folowing error when unmarshalling :

org.xml.sax.SAXException: The namespace associated with the prefix: 'egif' is null.

Someone overcame a similar problem by using their own XMLReader, but I want to avoid 
this if possible.

Andrew
===========================================
Relevant Section of Mapping.xml

    <class name="UKAddressStructureChoice" auto-complete="false">
        <description>Default mapping for class UKAddressStructureChoice</description>
        <map-to xml="bs7666Address"
            ns-uri="http://www.govtalk.gov.uk/people/AddressAndPersonalDetails.xsd"; 
ns-prefix="egif"/>
        <field name="a_5LineAddress"
            type="A_5LineAddress" required="false"
            direct="false" transient="false">
            <bind-xml name="a_5-line-address" node="element"/>
        </field>
        <field name="UKAddressStructureChoiceSequence"
            type="UKAddressStructureChoiceSequence"
            required="false" direct="false" transient="false">
            <bind-xml name="UKAddressStructureChoiceSequence" node="element"/>
        </field>
        <field name="BS7666Address"
            type="BS7666Address" required="false"
            direct="false" transient="false">
            <bind-xml name="egif:bs7666" node="element"/>
        </field>
    </class>



 

___________________________________
NOCC, http://nocc.sourceforge.net

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

Reply via email to