Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Empty namespace URI in ecore?
Empty namespace URI in ecore? [message #669233] Mon, 09 May 2011 14:52
keller_jens is currently offline keller_jensFriend
Messages: 21
Registered: March 2010
Location: Germany
Junior Member
Hi,
I have an XML of the following structure:

<?xml version="1.0" encoding="utf-8" ?>
<langtree>
	<node id="1"/>
	<node id="2"/>
	...
</langtree>


So there's no xmlns attribute at the root element.
But if I want to model this in my ecore and try to remove the namespace URI, I always get an error "The namespace URI '' is not well formed" respectively "The namespace URI 'null' is not well formed".

Is it possible to model it so that the above XML can be parsed and my EMF model gets populated?

Regards Jens
Previous Topic:Checking if model is opened in an editor (and opening if not)
Next Topic:[CDO] adding and removing CDOResource from ResourceSet
Goto Forum:
  


Current Time: Sat Apr 27 02:15:53 GMT 2024

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

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

Back to the top