Book a Demo

Author Topic: Xml schema generation and global attributes  (Read 4067 times)

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.<Pogo, 1970>
    • View Profile
Xml schema generation and global attributes
« on: July 07, 2010, 11:34:43 am »
In spite of the fact that the only tagged values for the XSDtopLevelAttribute stereotype are 'default', 'fixed', and 'form', schema generation insists on including 'use="optional"' as an attribute for generated global attributes. This results in a validation error when the generated schema is opened in a tool like Visual Studio or Eclipse.

Error in Eclipse:
Quote
s4s-att-not-allowed: Attribute 'use' cannot appear in element 'attribute'.
Error in VS:
Quote
Warning 2 The 'use' attribute is not allowed.
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.