Hi GyuDae,

you're right, for the moment Castor doesn't identify attributes that are prefixed.
We are working on a solution that requires some changes in the way we
process the xml data, we'll keep you posted.

Sorry for the inconvenience,

Arnaud

-> -----Original Message-----
-> From: GyuDae [mailto:[EMAIL PROTECTED]]
-> Sent: Wednesday, November 28, 2001 10:54 PM
-> To: [EMAIL PROTECTED]
-> Subject: [castor-dev] Namespace of Attribute in SourceGenerator
-> 
-> 
-> In unmarhalling, castor don't identify attributes that has a 
-> namespace. right?
-> 
-> I want to use a namespace in attribute.
-> 
-> How can I solve it?
-> 
-> --- XSD File ---
-> <?xml version="1.0" encoding="UTF-8"?>
-> <schema 
->       xmlns="http://www.w3.org/2001/XMLSchema";
->       targetNamespace="http://www.xxx.com/xxx";
->       xmlns:tp="http://www.xxx.com/xxx";
->       version="1.0">
->      <element name="XXX">
->           <complexType>
->               <attributeGroup ref="tp:versionType"/>
->           </complexType>
->      </element>
->      <attributeGroup name="versionType">
->           <attribute name="version" type="string"/>
->      </attributeGroup>
-> </schema>
-> 
-> --- XML File ---
-> <?xml version="1.0" encoding="UTF-8"?>
-> <tp:XXX
->  xmlns:tp="http://www.xxx.com/xxx";
->  tp:version="1.1" />                                
-> <================ here
-> 
-> 
-> Thanks.
-> 
-> GyuDae.
-> 
-> ----------------------------------------------------------- 
-> If you wish to unsubscribe from this mailing, send mail to
-> [EMAIL PROTECTED] with a subject of:
->      unsubscribe castor-dev

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

Reply via email to