Hi
I'm working on the issue CASTOR-2031. I'm debugging the Marshaller
class and I have a quick question regarding the code of this class.
It happens that on line 953 (trunk version) the
'descriptor.getXMLName()' returns null.
What could be the possible reasons ? Is it a normal behavior ? I
observe that for other nodes of the document being marshalled
getXMLName() always returns the correct name.
The related node of the schema being processed (in attachment) is
'allow-invite'.
Regards
Pascal
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.example.org/test2"
xmlns:tns="http://www.example.org/test2"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
<element name="ruleset">
<complexType>
<sequence>
<element name="rule" type="tns:extensibleType"></element>
</sequence>
</complexType>
</element>
<xs:complexType name="extensibleType">
<xs:sequence>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<element name="allow-invite" type="tns:AllowInviteType"></element>
<simpleType name="AllowInviteType">
<restriction base="string">
<enumeration value="accept"></enumeration>
<enumeration value="reject"></enumeration>
</restriction>
</simpleType>
</schema>
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email