Hello, I am afraid I have not found a solution to this in this list, I am in a hurry, sorry, but thanks in advance.
Problem: During the unmarshalling process of castor, I never get fully-qualified tag-names. Everything is stripped. How can I parametise Castor to output only qualified tags? I used the ant-task to generate the java-classes to be used for marshalling. I need output like: ___________________________________ <ap:Request xmlns:ap="http://my/schemas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://my/schemas mySchema.xsd"> <ap:Attribute>XXX</<ap:Attribute> </ap:Request> ___________________________________ but Castor produces: ___________________________________ <Request xmlns="http://my/schemas"> <Attribute>XXX</Attribte> </Request> ___________________________________ I use a schema like this: <xs:schema targetNamespace="http://my/schemas" xmlns="http://my/schemas" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ap="http://my/schemas" elementFormDefault="qualified" attributeFormDefault="qualified"> <xs:element name="Request"> <xs:complexType> <xs:sequence> <xs:element ref="ap:Attribute" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Attribute"> <xs:simpleType> <xs:restriction base="xs:string" /> </xs:simpleType> </xs:element> </xs:schema> Thanks in advance Christian This e-mail and any attachment thereto may contain confidential information and/or information protected by intellectual property rights for the exclusive attention of the intended addressees named above. Any access of third parties to this e-mail is unauthorised. Any use of this e-mail by unintended recipients such as total or partial copying, distribution, disclosure etc. is prohibited and may be unlawful. When addressed to our clients the content of this e-mail is subject to the General Terms and Conditions of GL's Group of Companies applicable at the date of this e-mail. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer. GL's Group of Companies does not warrant and/or guarantee that this message at the moment of receipt is authentic, correct and its communication free of errors, interruption etc. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

