[Zhao Yi <zhaoyi@lib.tsinghua.edu.cn>] Define Error in datatypes.dtd -- XSV schema checker

Forwarded message 1

  • From: Zhao Yi <zhaoyi@lib.tsinghua.edu.cn>
  • Date: Thu, 25 Apr 2002 19:46:59 +0800
  • Subject: Define Error in datatypes.dtd -- XSV schema checker
  • To: xmlschema-dev@w3.org, ht@cogsci.ed.ac.uk
  • Message-ID: <3CC7ECB3.7000101@lib.tsinghua.edu.cn>
Dear Sir,

I am a user from Tsinghua University, P.R.China.

When I used "XSV schema checker
<http://www.w3.org/2001/03/webdata/xsv>", I found a little mistake,
that XSV take *NCName* as *NMTOKEN*, whick defined in "datatypes.dtd
<http://dev.w3.org/cvsweb/xmlschema/datatypes.dtd?rev=1.3&content-type=text/x-cvsweb-markup>".

While NCName is defined in [*XML-Namespaces*
<http://www.w3.org/TR/REC-xml-names/>] as below:

* Attribute Names for Namespace Declaration*
[1] |NSAttName| | ::= | |PrefixedAttName
<http://www.w3.org/TR/REC-xml-names/#NT-PrefixedAttName>|



||DefaultAttName <http://www.w3.org/TR/REC-xml-names/#NT-DefaultAttName>|
[2] |PrefixedAttName| | ::= | |'xmlns:' NCName
<http://www.w3.org/TR/REC-xml-names/#NT-NCName>| | [ | |NSC: Leading
"XML" <http://www.w3.org/TR/REC-xml-names/#xmlReserved> ]|
[3] |DefaultAttName| | ::= | |'xmlns'|
[4] |NCName| | ::= | |(Letter <http://www.w3.org/TR/REC-xml#NT-Letter>
|'_') (NCNameChar <http://www.w3.org/TR/REC-xml-names/#NT-NCNameChar>)*|
| /* | |An XML Name <http://www.w3.org/TR/REC-xml#NT-Name>, minus the
":" */|
[5] |NCNameChar| | ::= | |Letter
<http://www.w3.org/TR/REC-xml#NT-Letter> |Digit
<http://www.w3.org/TR/REC-xml#NT-Digit> |'.' |'-' |'_' |CombiningChar
<http://www.w3.org/TR/REC-xml#NT-CombiningChar> |Extender
<http://www.w3.org/TR/REC-xml#NT-Extender>|



so, *NCName* is *NMTOKEN *minus the ":".

Hope you can correct this little misstake. :-)


Best regards!


zhao, yi
4/24/2002
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]

Received on Thursday, 25 April 2002 16:34:50 UTC