Skip to main content



      Home
Home » Modeling » XSD » Problems with complexType?(Problems with complexType?)
Problems with complexType? [message #1062453] Fri, 07 June 2013 15:54
Eclipse UserFriend
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 390 times)
  • Attachment: example2.xsd
    (Size: 0.81KB, Downloaded 375 times)
Previous Topic:No resource type specified (at 'xpath' with value '@id')
Next Topic:Conditional in schema
Goto Forum:
  


Current Time: Fri Jul 04 05:54:58 EDT 2025

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

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

Back to the top