Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Set the noNamespaceSchemaLocation for XMLResource
Set the noNamespaceSchemaLocation for XMLResource [message #1001102] Tue, 15 January 2013 21:56 Go to next message
David Rees is currently offline David Rees
Messages: 47
Registered: September 2012
Member
How can I explicitly set the xsi:noNamespaceSchemaLocation attribute's value when saving an XMLResource?

I've figured out I can set OPTION_SCHEMA_LOCATION to FALSE to keep it from being generated at all, but external tools we are working with expect it to have an explicit value.

Thanks,
dave
Re: Set the noNamespaceSchemaLocation for XMLResource [message #1001155 is a reply to message #1001102] Wed, 16 January 2013 01:39 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26013
Registered: July 2009
Senior Member
# 2.22 How can I ensure that an xsi:schemaLocation is serialized for my
packages?
<http://wiki.eclipse.org/index.php/EMF-FAQ#How_can_I_ensure_that_an_xsi:schemaLocation_is_serialized_for_my_packages.3F>

On 16/01/2013 3:56 AM, David Rees wrote:
> How can I explicitly set the xsi:noNamespaceSchemaLocation attribute's
> value when saving an XMLResource?
>
> I've figured out I can set OPTION_SCHEMA_LOCATION to FALSE to keep it
> from being generated at all, but external tools we are working with
> expect it to have an explicit value.
>
> Thanks,
> dave
Previous Topic:[CDO] Compact Revision-History
Next Topic:[GWT] SerializationException
Goto Forum:
  


Current Time: Thu Aug 28 23:36:27 EDT 2014

Powered by FUDForum. Page generated in 0.01865 seconds