Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » [newbie] org.eclipse.emf.ecore.xmi.ClassNotFoundException: Class 'schema' not found. (myprotocol://h
[newbie] org.eclipse.emf.ecore.xmi.ClassNotFoundException: Class 'schema' not found. (myprotocol://h [message #590253] Wed, 18 August 2004 12:37
Michal Tkacz is currently offline Michal TkaczFriend
Messages: 105
Registered: July 2009
Senior Member
Hi,

I encounter problem creating a schema model for my schema. I get the
following exception:

org.eclipse.emf.ecore.xmi.ClassNotFoundException: Class 'schema' not
found. (myprotocol://host/path, 2, -1)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.validateCreateObje ctFromFactory(XMLHandler.java:1363)

Note that I'm using my own protocol here, but it doesn't seem to be a
problem, since when I was trying to debug it, the parser was invoking
startElement for the schema elements (so the schema has been loaded).
Instead it seems like the schema element cannot be recognized. On the
other the same schema is read successfully from disk using file://
protocol - I don't see the difference.

Here is the schema:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema elementFormDefault="qualified"
attributeFormDefault="unqualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="root"/>
</xs:schema>

Does anybody knows what can cause this problem?
If you need more information to help me, please tell me.

Michal Tkacz
Previous Topic:What about the future of XSDEdit?
Next Topic:[newbie] org.eclipse.emf.ecore.xmi.ClassNotFoundException: Class 'schema' not found. (myprotocol://h
Goto Forum:
  


Current Time: Wed Apr 24 17:15:24 GMT 2024

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

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

Back to the top