Hello,

I am evaluating JiBX for a web services project within my organization and
the CodeGen tool is balking on my schema.  I cannot post the full schema
since it is from a third-party vendor in addition to being rather large.  I
am getting the following when I run CodeGen on the schema:

Exception in thread "main" org.jibx.runtime.JiBXException: Expected
"{http://www
.w3.org/2001/XMLSchema}restriction" end tag, found
"{http://www.w3.org/2001/XMLS
chema}whiteSpace" start tag (line 47, col 63, in

The relevant section of my schema :

<xsd:simpleType>
       <xsd:restriction base="xsd:string">
               <xsd:minLength value="0" />
               <xsd:maxLength value="200" />
               <xsd:whiteSpace value="preserve" />
        </xsd:restriction>
</xsd:simpleType>

It seems JiBX doesn't like the <xsd:whiteSpace> restriction.  Does JiBX
support this?  I assume no.  If so, how do I go about getting JiBX CodeGen
to ignore this element?  This element is used heavily throughout the
schema.

Thanks for any help anyone can provide.

Matt


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to