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


From: Andrew Leslie <info@structuredinformation.co.uk>
Date: Wed, 2 Feb 2011 11:42:44 -0000
To: <xmlschema-dev@w3.org>
Message-ID: <002e01cbc2ce$51cde290$f569a7b0$@structuredinformation.co.uk>
A customer of mine requires I translate S1000D 1.8 SGML to S1000D 3.0.1 XML.

One of the issues with this is inclusions; they are allowed in SGML but not
in XML.


Eg., within 1.8 SGML we have :


<!ELEMENT descript - o (para*,(%spcpara;),para0*) +(figure | foldout | table
| caption) >



Where figure, foldout, table and caption are allowed anywhere within
descript and its subelements.


But within 3.0.1 XML we have 


<!ELEMENT descript (((para*, ((warning*, caution*), note*), para0*) |
((figure | multimedia | foldout | table) | caption))*)>


Where figure, foldout, table and caption are allowed anywhere but only as
direct descendants to descript.



Other than simply extending the 3.0.1 schema to allow for inclusions (which
I really do not want to do if at all possible), are there any other methods
which may be more appropriate ?


The customer is not keen on normalizing their data in any way.






Andrew Leslie


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>

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

Received on Wednesday, 2 February 2011 14:12:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:58 UTC