Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Error validating with ecore.xsd
Error validating with ecore.xsd [message #596728] Sun, 10 December 2006 04:54
Brian Vetter is currently offline Brian VetterFriend
Messages: 74
Registered: July 2009
I get the following validation error in ecore.xsd in 13 places.

"src-simple-type.2.b: A <restriction> element was found that has neither
a base [attribute] nor a <simpleType> element among its [children]. One
is required."

The lines are 352, 358, 361, 370, 373, 376, 379, 394, 397, 406, 409,
412, and 428.

The lines in question typically look like this:

<xsd:simpleType ecore:instanceClass="char" name="EChar">

It would appear that the empty <xsd:restriction/> is causing the pain,
but simply taking it out doesn't help.

Previous Topic:How to combine Teneo with Jet?
Next Topic:why did the JET Syntax change (JET1 vs. JET2)
Goto Forum:

Current Time: Thu Feb 25 23:22:50 GMT 2021

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

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

Back to the top