(i) is now valid
(ii) allows HTML in head, top and foot
This commit is contained in:
sb 2008-01-09 15:42:32 +00:00
parent f59c6bf601
commit e672bbd40f

View file

@ -1,21 +1,22 @@
<schema
xmlns='http://www.w3.org/2000/10/XMLSchema'
targetNamespace='http://www.cygnets.co.uk/schemas/adl/'
xmlns:adl='http://www.cygnets.co.uk/schemas/adl/'>
xmlns='http://www.w3.org/2001/XMLSchema'
targetNamespace='http://www.cygnets.co.uk/schemas/adl-0.xsd'
xmlns:adl='http://www.cygnets.co.uk/schemas/adl-0.xsd'
xmlns:html='http://www.w3.org/1999/xhtml'>
<!-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<!-- -->
<!-- adl-0.xsd -->
<!-- -->
<!-- Purpose: -->
<!-- XML Schema Application Description Language. Note that this -->
<!-- XML Schema for Application Description Language. Note that this -->
<!-- is experimental; the DTD is still normative at this stage -->
<!-- This revision autoconverted using dtd2xsd.pl from -->
<!-- adl-0.dtd revision 1.2 -->
<!-- -->
<!-- Author: Simon Brooke <simon@cygnets.co.uk> -->
<!-- Created: 9th January 2008 -->
<!-- $Revision: 1.1 $
<!-- $Revision: 1.2 $ -->
<!-- Copyright: (c) 2008 Cygnet Solutions Ltd -->
<!-- -->
<!-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
@ -536,7 +537,12 @@
(usually HTML)
-->
<element name='head'>
<complexType mixed='true'>
<complexType>
<sequence>
<any namespace="http://www.w3.org/1999/xhtml"
minOccurs="1" maxOccurs="unbounded"
processContents="skip"/>
</sequence>
</complexType>
</element>
@ -544,9 +550,16 @@
content to place in the top of the body of the generated document;
this is #PCDATA because it will almost certainly belong to a different
namespace (usually HTML)
Schema only: no harm in this being required to be contained in an HTML div
-->
<element name='top'>
<complexType mixed='true'>
<complexType>
<sequence>
<any namespace="http://www.w3.org/1999/xhtml"
minOccurs="1" maxOccurs="unbounded"
processContents="skip"/>
</sequence>
</complexType>
</element>
@ -554,9 +567,16 @@
content to place at the foot of the body of the generated document;
this is #PCDATA because it will almost certainly belong to a different
namespace (usually HTML)
Schema only: no harm in this being required to be contained in an HTML div
-->
<element name='foot'>
<complexType mixed='true'>
<complexType>
<sequence>
<any namespace="http://www.w3.org/1999/xhtml"
minOccurs="1" maxOccurs="unbounded"
processContents="skip"/>
</sequence>
</complexType>
</element>
</schema>