An ID must begin with a letter, and underscore, or a colon. See http://www.w3.org/TR/2000/REC-xml-20001006#id and http://www.w3.org/TR/2000/REC-xml-20001006#NT-Name. Xerces checks for this; apparently IE 5 and Notepad XML are failing to do so.
 
-----Original Message-----
From: pierre feuilloley [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 02, 2001 4:06 AM
To: [EMAIL PROTECTED]
Cc: ROUX Christian
Subject: About Element attribute name

... when I'm executing Sax2count or Domcount (F:\xerces\xerces-c1_4_0-win32\bin>sax2count f:\temp\test.xml), I have this message:
 
Error at file f:\temp\test.xml, line 12, char 20
  Message: The values for attribute 'id' must be names or name tokens
 
Can tell me why I can't use "0" for Id attribute of category.
 
When I'm testing successfully this file with Internet explorer 5 and Notepad Xml.

Reply via email to