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


Current Time: Sun Oct 26 02:05:36 GMT 2014

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

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