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 04:33 Go to next message
Arend Rensink is currently offline Arend Rensink
Messages: 4
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 16:38 Go to previous message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 840
Registered: July 2009
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: Fri Aug 29 14:26:39 EDT 2014

Powered by FUDForum. Page generated in 0.08461 seconds