Hi,

I get the same error as raf using generateDS on the KML schema
(http://code.google.com/apis/kml/kml21.xsd). I tried doing a very
limited subset of it, only the following:
  <element name="Object" type="kml:ObjectType" abstract="true"/>

  <attributeGroup name="idAttributes">
    <attribute name="id" type="ID" use="optional"/>
    <attribute name="targetId" type="NCName" use="optional"/>
  </attributeGroup>

  <complexType name="ObjectType" abstract="true">
    <attributeGroup ref="kml:idAttributes"/>
  </complexType>

And it chocked on that too. Is it because it's abstract?

Mano Marks

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Hi there,

I'm trying to use generateDS to parse the SIF xsd schema (which is quite
complex)

http://www.sifinfo.org/infrastructure/1.5r1/XSD.zip


and I get the following error:

[EMAIL PROTECTED] generateDS-1.9a]$ ./generateDS.py
~/dev/SIF/XSD/SIF_Message.xsd
Traceback (most recent call last):
File "./generateDS.py", line 3446, in ?
main()
File "./generateDS.py", line 3438, in main
xschemaFileName, behaviorFilename, superModule=superModule)
File "./generateDS.py", line 3349, in parseAndGenerate
root.annotate()
AttributeError: 'NoneType' object has no attribute 'annotate'


SIF_Message.xsd is actually the "root" element that includes a bunch of
other xsd files.

Any ideas?

- raf

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to