2010-09-25 01:55:09 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2010-09-25 02:07:52 +02:00
|
|
|
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
2010-09-25 01:55:09 +02:00
|
|
|
<!-- ##################################################################### -->
|
|
|
|
<define name="form.data.mimetypelist">
|
|
|
|
<a:documentation> RELAX NG Schema for HTML 5: Datatypes related to forms #</a:documentation>
|
|
|
|
<!-- ##################################################################### -->
|
|
|
|
<a:documentation>MIME types</a:documentation>
|
2010-09-25 02:07:52 +02:00
|
|
|
<data type="string"/>
|
2010-09-25 01:55:09 +02:00
|
|
|
</define>
|
|
|
|
<define name="form.data.charsetlist">
|
2010-09-25 02:07:52 +02:00
|
|
|
<data type="string"/>
|
2010-09-25 01:55:09 +02:00
|
|
|
</define>
|
|
|
|
<!--
|
|
|
|
FIXME should be a "a space- and/or comma-delimited
|
|
|
|
list of charset values"
|
|
|
|
-->
|
|
|
|
<define name="form.data.pattern">
|
|
|
|
<a:documentation>ECMAScript Regular Expression</a:documentation>
|
2010-09-25 02:07:52 +02:00
|
|
|
<data type="string"/>
|
2010-09-25 01:55:09 +02:00
|
|
|
</define>
|
|
|
|
<define name="form.data.datetime-local">
|
|
|
|
<a:documentation>Temporal</a:documentation>
|
2010-09-25 02:07:52 +02:00
|
|
|
<data type="dateTime"/>
|
2010-09-25 01:55:09 +02:00
|
|
|
</define>
|
|
|
|
<define name="form.data.date">
|
|
|
|
<data type="date"/>
|
|
|
|
</define>
|
|
|
|
<define name="form.data.month">
|
2010-09-25 02:07:52 +02:00
|
|
|
<data type="short"/>
|
2010-09-25 01:55:09 +02:00
|
|
|
</define>
|
|
|
|
<define name="form.data.week">
|
2010-09-25 02:07:52 +02:00
|
|
|
<data type="short"/>
|
2010-09-25 01:55:09 +02:00
|
|
|
</define>
|
|
|
|
<define name="form.data.time">
|
|
|
|
<data type="time"/>
|
|
|
|
</define>
|
|
|
|
<define name="form.data.emailaddress">
|
|
|
|
<a:documentation>Email</a:documentation>
|
2010-09-25 02:07:52 +02:00
|
|
|
<data type="string"/>
|
2010-09-25 01:55:09 +02:00
|
|
|
</define>
|
|
|
|
<define name="form.data.emailaddresslist">
|
2010-09-25 02:07:52 +02:00
|
|
|
<data type="anyType"/>
|
2010-09-25 01:55:09 +02:00
|
|
|
</define>
|
|
|
|
<define name="form.data.color">
|
|
|
|
<a:documentation>Color</a:documentation>
|
2010-09-25 02:07:52 +02:00
|
|
|
<data type="token"/>
|
2010-09-25 01:55:09 +02:00
|
|
|
</define>
|
|
|
|
</grammar>
|
|
|
|
<!--
|
|
|
|
xsd:string {
|
|
|
|
pattern = "#[a-fA-F0-9]{6}"
|
|
|
|
}
|
|
|
|
-->
|