>From: Robert Magee
>Sent: Wednesday, October 5, 2011 12:31 PM
>
> 
> It's me again!  I've been using generateDS with the enclosed schema
> and it seems like it is having problems with the base64Binary and
> anyURI XML data-types.  I did see on the generateDS sourceforge site
> that this has been mentioned before.  It looks like both of these
> types inherit from the 'anySimpleType'…
> 
> Here is the XML datatype spec:
> http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/#built-in-datatypes
> 
> Included is the schema I was trying to generate the data structures
> for.  I am wondering if there is a work-around: like changing the
> values from 'base64Binary' to 'string' or something along those
> lines?
> 
> Hope all is well- and thanks, as always, for the great tool.
> 

Rob -

Good to hear from you again.

Looking at the generateDS.py code, it appears that it already
handles xs:anyURI, although it does not do much.  It merely treats
it as a string.

I supose that we could do the same thing with xs:base64Binary,
specifically (1) during parse/build, capture the value as a string
and (2) during export, write the value out as a string.  Would that
be enough?  If so, that's an easy fix to make.

Hope things are going well with you and your work.

- Dave



-- 


Dave Kuhlman
http://www.rexx.com/~dkuhlman

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to