annotate draft-ietf-clude-data-model-schema-14_review.txt @ 2:4cda788d7ada

historical
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Sat, 21 Oct 2023 16:09:52 +0100
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1 Document: draft-ietf-clue-data-model-schema
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
2 Title: An XML Schema for the CLUE data model
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
3 Reviewer: Henry S. Thompson
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
4 Review Date: 2016-05-11
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
5 IETF Last Call Date: 2016-05-23
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
6
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
7 Summary: The XML Schema itself which is included in this draft is
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
8 conformant to the XML Schema 1.0 spec, and is good to go. There is a
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
9 minor glitch in one of the XML examples, easily corrected.
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
10
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
11 Comments:
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
12
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
13 I tested the XML Schema document included as section 4 and it passes as
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
14 a valid against the schema for schemas. The example document in section
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
15 17 is schema-valid according to the corresponding schema. See 'Nits'
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
16 below for a minor problem with the example document in section 18.
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
17
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
18 I briefly reviewed the schema document and it seems straightforward and
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
19 fit for its intended purpose.
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
20
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
21 Minor Issues:
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
22
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
23 Section 4, lines 13--14:
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
24
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
25 <xs:import namespace="urn:ietf:params:xml:ns:vcard-4.0"
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
26 schemaLocation="xcard.xsd"/>
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
27
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
28 As this stands, it's not actually usable for validation purposes,
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
29 because no xcard.xsd file is supplied. Furthermore, there is no
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
30 Appendix A, which is alleged to provide it (see 11.29.1.2).
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
31
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
32 I note further that the xCard RFC (6351) doesn't contain an XSD-format
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
33 schema document either. The IANA XML Registry [1] schema entry for the
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
34 urn:ietf:params:xml:ns:vcard-4.0 URN namespace _does_ however link to
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
35 such a schema document [2]. I suggest you either
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
36 a) Edit the draft so the above lines read
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
37
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
38 <xs:import namespace="urn:ietf:params:xml:ns:vcard-4.0"
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
39 schemaLocation="http://www.iana.org/assignments/xml-registry/schema/vcard-4.0.xsd"/>
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
40
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
41 (this is what I did to do the validity checks I did);
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
42
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
43 or
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
44
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
45 b) Delete the schemaLocation attribute, add a comment identifying
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
46 possible sources of a schema document for the vcard-4.0 namespace,
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
47 e.g. the above iana.org URI or the contents of Appendix A (if you
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
48 fill it in).
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
49
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
50 Nits:
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
51
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
52 Section 18, the XML example has a (copy-paste?) error, which renders
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
53 that example invalid against the schema. The line
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
54
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
55 <encGroupIDREF>EG0</encGroupIDREF>
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
56
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
57 appears twice inside mediaCapture VC7, once on line 204 and once on line
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
58 237. The first occurrence should be deleted.
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
59
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
60 [1] http://www.iana.org/assignments/xml-registry/xml-registry.xhtml#schema
4cda788d7ada historical
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
61 [2] http://www.iana.org/assignments/xml-registry/schema/vcard-4.0.xsd