W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 2008

Comment on "CURIE Syntax 1.0" Working Draft 6 May 2008

From: Klotz, Leigh <Leigh.Klotz@xerox.com>
Date: Tue, 17 Jun 2008 14:52:46 -0700
Message-ID: <E254B0A7E0268949ABFE5EA97B7D0CF405186DF2@USA7061MS01.na.xerox.net>
To: <www-html-editor@w3.org>

I have previously submitted comments on behalf of the Forms WG.  
Below are three personal comments about appendix A.
I apologize for the late date.

These comments all apply to section
http://www.w3.org/TR/2008/WD-curie-20080506/#s_schema titled "XML DTD
and Schema DataTypes."

1. I see no DTD here.
Either the DTD should be supplied or the section title changed.

2. The first paragraph of the section says "This section is normative."

The section then includes some text definitions, followed by an
"informative XML Schema definition" within the normative section.  

While this certainly is allowed, it doesn't make much sense
structurally.  

Perhaps appendix A could follow the pattern of appendix B and include a
normative A.1, followed by an informative A.2 containing the XML Schema
and an informative A.3 containing the DTD, if it is to be supplied.

3. An informative definition of patterns in RelaxNG Compact Syntax might
enhance readability.
See http://relaxng.org/
Additionally, I understand that RelaxNG modularization is being
considered for XHTML. 
Something like this might be appropriate to include as "A.3 Relax NG
Patterns" 

  datatypes xsd = "http://www.w3.org/2001/XMLSchema-datatypes"

  CURIE = xsd:string { pattern="[\i-[:]][\c-[:]]*:.+" } }
  CURIEs = list { CURIE }
  SafeCURIE = xsd:string { pattern="\[[\i-[:]][\c-[:]]*:.+\]" }
  SafeCURIEs = list { SafeCURIEs }
  URIorSafeCURIE = (xsd:anyURI|SafeCURIE)

Since I don't know the details of the import or include structure for
the XHTML RNG modularization under consideration, I can't make a
recommendation, but it is my understanding that Relax NG pattern
definitions are not namespaced, so I did not attempt to define the
namespace http://www.w3.org/1999/xhtml/datatypes/

Thank you for your consideration,

Leigh L. Klotz, Jr.
Xerox Corporation
Received on Tuesday, 17 June 2008 21:54:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:57 GMT