Skip to main content


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] Wed, 16 January 2013 02:56 Go to next message
David Rees is currently offline David ReesFriend
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 06:39 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
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


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO] Compact Revision-History
Next Topic:[GWT] SerializationException
Goto Forum:
  


Current Time: Thu Apr 25 09:20:06 GMT 2024

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

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

Back to the top