W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2011

extending namespaces

From: Andrew Leslie <info@structuredinformation.co.uk>
Date: Mon, 28 Feb 2011 09:23:34 -0000
To: <xmlschema-dev@w3.org>
Message-ID: <000001cbd729$2cadcdd0$86096970$@structuredinformation.co.uk>
Folks, 

 

Rather than modifying a schema directly, I would like to explore the options
of utilizing namespace extensions.

One suggestion is to extend the namespace to include an extra xsd with
certain elements declared and then call this from the parent  xsd.

 

However, this is all well and good until a certain element is actually
inserted, as all the namespace attributes are inserted with it.

Similar to the S1000D  xlink (eg: <arc xmlns="http://www.w3.org/1999/xlink"
xmlns:ns1="http://www.w3.org/1999/xlink" ns1:type="1" ns1:from="1"
ns1:to="5"/>

            <arc xmlns="http://www.w3.org/1999/xlink"/>)

 

Do you know of any way the schema or even the data in fact can be extended
so that these certain elements can be inserted without the namespaces
appearing within the attributes ?

OR is the only  method to modify the schema directly ?

 

Regards,

 

Andy

 

 

 

Andrew Leslie

Director

Structured Information Limited

Beer, East Devon, UK, EX12 3LU

 

t: +44 (0)1297 625572

m: +44 (0)7811 188615

e:  <mailto:info@structuredinformation.co.uk>
info@structuredinformation.co.uk

w:  <http://www.structuredinformation.co.uk> www.structuredinformation.co.uk

 

Registered in England and Wales No. 5687809. Registered Address: South
Riding, Underleys, Beer, East Devon, EX12 3LU

CONFIDENTIALITY NOTICE:  This e-mail and any attachments are strictly
confidential and may be protected by legal privilege.  If you are not the
intended recipient, be aware that any disclosure, copying, distribution or
use of this e-mail or any attachment is STRICTLY PROHIBITED.  If you have
received this e-mail in error, please notify us immediately by returning it
to the sender and deleting this copy from your system.  Thank you for your
co-operation.

 
Received on Monday, 28 February 2011 09:24:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 28 February 2011 09:24:40 GMT