root / trunk / libraries / libGPE-GML / testdata / schemas / 3.1.1 / smil / xml-mod.xsd @ 11160
History | View | Annotate | Download (1.76 KB)
1 |
<?xml version="1.0" encoding="UTF-8"?> |
---|---|
2 |
<!-- |
3 |
=================== OpenGIS ============================ |
4 |
This schema is required by SMIL schemas. |
5 |
There are errors in publicly available smil schemas at w3c site. |
6 |
One is acknowledged by w3c - it is typographical error described in SMIL errata document at: |
7 |
http://www.w3.org/2001/07/REC-SMIL20-20010731-errata |
8 |
under: |
9 |
E30: Correction in the SMIL 2.0 utility Schema, section B.3.48 (revised 29 03 2002) |
10 |
Others (at least one) are assumed after failed validation using Visual Studio .NET. |
11 |
These smil schemas are reorganized to include in minimum number of files all and only definitions required by |
12 |
defaultStyle.xsd. It was done to enable the validation of GML3.0 schemas. |
13 |
When w3c fixes the public schemas these will be discarded |
14 |
comment: Milan Trninic, Galdos Systems Inc., May 2002 |
15 |
|
16 |
comment#2: Milan Trninic, Galdos Systems Inc., Dec 2002 |
17 |
In order to validate with xerces, changed the "x:" prefix to "xml:" in the namespace declaration and references to "lang" and "space" attributes |
18 |
=================== OpenGIS ============================ |
19 |
--> |
20 |
<schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns="http://www.w3.org/2001/XMLSchema"> |
21 |
<attribute name="lang" type="language"> |
22 |
<annotation> |
23 |
<documentation>In due course, we should install the relevant ISO 2- and 3-letter |
24 |
codes as the enumerated possible values . . .</documentation> |
25 |
</annotation> |
26 |
</attribute> |
27 |
<attribute name="space" default="preserve"> |
28 |
<simpleType> |
29 |
<restriction base="NCName"> |
30 |
<enumeration value="default"/> |
31 |
<enumeration value="preserve"/> |
32 |
</restriction> |
33 |
</simpleType> |
34 |
</attribute> |
35 |
<attributeGroup name="specialAttrs"> |
36 |
<attribute ref="xml:lang"/> |
37 |
<attribute ref="xml:space"/> |
38 |
</attributeGroup> |
39 |
</schema> |