Hi Dave,
First of all I like what you've done with generateDS, it's really a great
tool for working with XML schemas, thanks!
When I've tested it with a schema I've noticed a strange issue, regarding
generating validators for simpleType-s. According to the documentation the
superclass should get some validator stubs generated and those should be
called in the build methods as well. But for the XSD I was working with,
nothing like that was generated, just some generic validators like
*gds_validate_double*, *gds_validate_float* etc.
Example simpleTypes below: (I have half-expected it to maybe trip on the 2nd
type of definition, but it doesn't generate any validators for first one
either)
<xs:simpleType name="evarchar9">
<xs:restriction base="xs:string">
<xs:maxLength value="9" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="varchar9">
<xs:union memberTypes="emptystring evarchar9" />
</xs:simpleType>
I'd appreciate any ideas on what could be the issue. I've tried with the
latest version of generateDS (2.4c)
Best Regards,
Béres Botond
P.S. For reference if needed, here's a link to full XSD that I've tried
with:
http://www.sistemapiemonte.it/ris/ambiente/sicee/dwd/siceeimport-1.0.0.xsd
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users