Luigi Paioro <[EMAIL PROTECTED]> writes:
>
> Thanks to you Dave!
>
> >> Well, as you can easily see, in skycat_example.xml there is an
> >> element named <parameter> that has got the special attribute
> >> xsi:type="uri". This because <parameter> is of parameterType
> >> type which is an abstract type with many different
> >> implementations like, for instance, <uri> (in this case).
> >>
> >> When generateDS creates the data structure for <parameter>
> >> element, it is not able to recognize its type (I guess), and
> >> then treats it as a string, failing to create a suitable class
> >> structure.
> >>
I've uploaded a new version of generateDS.py. This new version has
support for abstract elements/types. You can find out about
abstract types in XML Schema here:
http://www.w3.org/TR/xmlschema-0/#abstract
The new version is generateDS-1.15a. It's available at
sourceforge.net and also at:
http://www.rexx.com/~dkuhlman/generateDS-1.15a.tar.gz
http://www.rexx.com/~dkuhlman/generateDS.html
Thanks much to Luigi for your guidance on this and for motivating
me to add this new feature.
- Dave
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
generateds-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/generateds-users