Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Error validating with ecore.xsd
Error validating with ecore.xsd [message #596728] Sat, 09 December 2006 23:54
Eclipse UserFriend
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">
<xsd:restriction/>
</xsd:simpleType>

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

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


Current Time: Sun Jul 13 22:12:48 EDT 2025

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

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

Back to the top