Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Setting xsi:noNamespaceSchemaLocation in generated xsd-back xml
Setting xsi:noNamespaceSchemaLocation in generated xsd-back xml [message #1176363] Fri, 08 November 2013 09:33 Go to next message
Arend Rensink is currently offline Arend RensinkFriend
Messages: 7
Registered: November 2013
Junior Member
The xml-backed xsd model driver in Epsilon wants input models to specify a schema through the xsi:noNamespaceSchemaLocation attribute. That's cool, even though the information is explicitly available in the configuration as well. (Actually you can leave the "XSD Schema File" entry empty or put a random string there, it seems as though the driver does not look at the value.)

However, when *generating* an xml file, this driver does not *set* the xsi:noNamespaceSchemaLocation attribute, and I have not found any way to do this by hand.

As a consequence, models of this kind produced by Epsilon cannot be read by Epsilon. Surely that is unintended.

Any help is much appreciated!
Re: Setting xsi:noNamespaceSchemaLocation in generated xsd-back xml [message #1180226 is a reply to message #1176363] Sun, 10 November 2013 21:38 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Arend,

I've extended the example under [1] to include an EOL program (createnote.eol) that programmatically creates a new XML document (newnote.xml) that is identical to the hand-crafted note.xml. Does this help?

Cheers,
Dimitris

[1] https://dev.eclipse.org/svnroot/modeling/org.eclipse.epsilon/trunk/examples/org.eclipse.epsilon.examples.xsdxml
Previous Topic:assign value to Enumeration type in ETL
Next Topic:Evaluation - get all the elements that are linked to selected element within a collection
Goto Forum:
  


Current Time: Wed Apr 24 20:28:49 GMT 2024

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

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

Back to the top