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 15:54
Arjan Kok is currently offline Arjan Kok
Messages: 29
Registered: July 2009
Junior Member
Hi,

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 45 times)
  • Attachment: example2.xsd
    (Size: 0.81KB, Downloaded 43 times)
Previous Topic:No resource type specified (at 'xpath' with value '@id')
Next Topic:Conditional in schema
Goto Forum:
  


Current Time: Tue Jul 29 23:12:18 EDT 2014

Powered by FUDForum. Page generated in 0.07918 seconds