Hello, I'm trying to create a simple mapping for the following schema: <xsd:simpleType name="PopulatedStringType"> <xsd:restriction base="xsd:string"> <xsd:minLength value="1"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="UniquePersonalReferenceType"> <xsd:restriction base="core:PopulatedStringType"> <xsd:pattern value="[0-9]{11}"/> </xsd:restriction> </xsd:simpleType>
<xsd:element name="UserID" type="UniquePersonalReferenceType"/> <xsd:element name="ApplicantID" type="UniquePersonalReferenceType"/> I've created a UniquePersonalReferenceType class and tried to map it twice, but jibx doesn't like that for concrete mappings. I've read the documentation regarding inheritance, but I still don't see how to map these simple(basically String) values. What is the most simple way to map these 2 elements? ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users