I noticed a bugfix in 0.9.5.3 "Fix attribute processing when marshalling an AnyNode", and have upgraded. However, when using Castor SourceGenerator/XML with this schema snippet:
<xs:element name="myelem" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:any processContents="skip" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
and this instance snippet:
<b:myelem>
<j:if test="${something}">
<b:tag1/>
</j:if>
<b:tag2/>
</b:myelem>.. unmarshaling and marshaling results in :
<myelem>
<j:if ="${something}">
<b:b:tag1/>
</j:if>
<tag2/>
</myelem>.. noting 1) loss of attribute named "test" resulting in malformed tag and 2) double namespace prefix b:b:
Any hints, or just log into Bugzilla?
Regards
Brett Randall
_________________________________________________________________
Get a Virgin Credit Card and win an adventure: http://ad.doubleclick.net/clk;8661322;9498324;s?http://www.promo.com.au/virgincreditcard/firstbirthday/track.cfm?source=N92
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user
