Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [TENEO] Problem persisting models obtained from xsd with wildcards (any)
[TENEO] Problem persisting models obtained from xsd with wildcards (any) [message #430890] Tue, 16 June 2009 11:33 Go to next message
FÃ?©lix Cuadrado is currently offline FÃ?©lix CuadradoFriend
Messages: 1
Registered: July 2009
Junior Member
We are trying to develop an application that manages documents defined
with xml schemas. We planned to use EMF for the system core and use Teneo
to solve the persistence of the models, as we had used it in the past in
other projects with good results (using Hibernate as the ORM solution).
However, in the initial tests we are applying, when we try to persist a
model, we have found problems with FeatureMapEntry elements, which have
been traced to a problem persisting the ecore elements derived from
xsd:any elements.

The problematic parts of the schema look like this:
<any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>

The elver site mentions some support on JPOX for that, but we must use
either Hibernate or EclipseLink. In our tests we have used Teneo 1.0.3
over Hibernate with no success.
Can anyone help with this problem?

Thanks in advance,
Félix
Re: [TENEO] Problem persisting models obtained from xsd with wildcards (any) [message #430892 is a reply to message #430890] Tue, 16 June 2009 11:50 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Felix,
Yes jpox is being phased out in Eclipse 3.5/Teneo 1.1. So hibernate/eclipselink is the way to go. Can you enter a
bugzilla for this? It would be great if you can attach a small testmodel.
As Hibernate supports many of the xml-schema/emf constructs I am interested to also solve these final topics.

gr. Martin

Felix Cuadrado wrote:
> We are trying to develop an application that manages documents defined
> with xml schemas. We planned to use EMF for the system core and use
> Teneo to solve the persistence of the models, as we had used it in the
> past in other projects with good results (using Hibernate as the ORM
> solution).
> However, in the initial tests we are applying, when we try to persist a
> model, we have found problems with FeatureMapEntry elements, which have
> been traced to a problem persisting the ecore elements derived from
> xsd:any elements.
> The problematic parts of the schema look like this:
> <any namespace="##other" processContents="lax" minOccurs="0"
> maxOccurs="unbounded"/>
>
> The elver site mentions some support on JPOX for that, but we must use
> either Hibernate or EclipseLink. In our tests we have used Teneo 1.0.3
> over Hibernate with no success.
> Can anyone help with this problem?
>
> Thanks in advance,
> Félix
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:[TENEO] EMF, Association, Update and Resources
Next Topic:Simple EMFT ModelValidationService example
Goto Forum:
  


Current Time: Fri Mar 29 11:27:03 GMT 2024

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

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

Back to the top