Hi there, I currently have a problem marshalling a Javaclass (MyProduct) into a XML-document. The class, I am marshalling was generated by the SourceGenerator from a set of XSD-schemes.
One of these schemes (AbstractFeatureType.xsd) defines the attribute "id" as a stringtype in the namespace gml="http://xxx.yyy.zzz". The class, I am trying to marshall, is generated from this AbstractFeatureType.xsd, but is part of another namespache xyz="http://my.namespace.com" like this: <xs:complexType name="MyProduct"> <xs:complexContent> <xs:extension base="gml:AbstractFeatureType"> ...and so on. Knowing this, the marshalled xml-Document should look like this: <MyProduct gml:id="xyzId"> <...> <...> </MyProduct> But Castor always produces: <MyProduct id="xyzId"> Because of this, Validation with Xerces 2 fails, because of the unknown id-attribute. How can I force the marshaller to produce the prefix for the attribute's namespace? Has anybody a hint for me, how to solve this ? I really hope, you can help me, because time is running out for my project... Alex -- NEU F�R ALLE - GMX MediaCenter - f�r Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gru�, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse f�r Mail, Message, More! +++ ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
