Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Problem with EMF generation from 2 XSDs
Problem with EMF generation from 2 XSDs [message #604228] Mon, 08 June 2009 17:07
Rodrigo Garcia is currently offline Rodrigo GarciaFriend
Messages: 4
Registered: July 2009
Junior Member

I'm trying to generate the code representations of the following XSDs: B97BCFDB3CC4/0/1Facturae30.xsd

As you can see, the first one references the second through this element:

<xs:element ref="ds:Signature" minOccurs="0">

After generating the code, when I try to test it using a sample XML I
receive a NullPointerException trying to parse that particular element.

I also try to use the editor that EMF generates to create a new XML
document for the first XSD, but although the "Signature" element is listed
as an available child in the corresponding drop-down list, the option is
grayed, so I can't select it.

I think that the problem may be in the fact that the referenced element is
from a different namespace. However, the second edition of EMF book, in
chapter 9.5.8 says that this option should be possible, so I'm puzzled.

By the way, the sample XML file is this one: 6193579E4FEF/0/factura2_ejemplo30.xml

Thanks in advance,

Rodrigo GarcĂ­a
Previous Topic:Question Regarding Schemas in WSDL
Next Topic:Problem with EMF generation from 2 XSDs
Goto Forum:

Current Time: Fri Jul 10 19:12:05 GMT 2020

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

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

Back to the top