Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » XSD » Problems with complexType?(Problems with complexType?)
Problems with complexType? [message #1062453] Fri, 07 June 2013 19:54
Arjan Kok is currently offline Arjan KokFriend
Messages: 39
Registered: July 2009

I am working on a project that extends the org.eclipse.xsd module. There seem to be two problems regarding the handling of complexType.

1. The attributes of the complexContent element are lost when loading an xsd schema into the ecore model, and then deriving the xsd from the model again.
For example, when running XSDMainExample::loadAndPrint (in org.eclipse.xsd.example) for the xsd file example 1 (is attached), then the attributes of the complexContent element are lost.

2. The complexContent element and restriction element are (sometimes) lost. Probably because attribute value 'anyType' of the attribute base of the restriction element. See example 2.

Are these bugs? Should I enter a bugzilla, or is there a workaround?

Kind Regards,

Arjan Kok.

  • Attachment: example1.xsd
    (Size: 0.84KB, Downloaded 246 times)
  • Attachment: example2.xsd
    (Size: 0.81KB, Downloaded 218 times)
Previous Topic:No resource type specified (at 'xpath' with value '@id')
Next Topic:Conditional in schema
Goto Forum:

Current Time: Tue Feb 25 07:10:00 GMT 2020

Powered by FUDForum. Page generated in 0.02706 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top