W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2002

Re: Question about uniqueness

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 11 Sep 2002 08:56:01 +0100
To: odwl <odwl@mac.com>
Cc: xmlschema-dev@w3.org, Olivier De Wolf <olivier.dewolf@n-side.be>
Message-ID: <f5bznup2c4u.fsf@cogsci.ed.ac.uk>

Works for me -- here's the XSV output:

  <invalid char='4' code='cvc-identity-constraint.2.1.2' line='6' resource='file:///projects/ltg/users/ht/xml/xmlschema/monk/site.xml'>duplicate key CorHome for {None}idName, first appearance was in unnamed entity at line 3 char 1 of file:///projects/ltg/users/ht/xml/xmlschema/monk/site.xml</invalid>
  <invalid char='3' code='cvc-identity-constraint.2.1.2' line='9' resource='file:///projects/ltg/users/ht/xml/xmlschema/monk/site.xml'>duplicate key Your_Needs2 for {None}idName, first appearance was in unnamed entity at line 7 char 4 of file:///projects/ltg/users/ht/xml/xmlschema/monk/site.xml</invalid>
  <invalid char='4' code='cvc-identity-constraint.2.1.2' line='12' resource='file:///projects/ltg/users/ht/xml/xmlschema/monk/site.xml'>duplicate key Choice_3 for {None}idName, first appearance was in unnamed entity at line 10 char 4 of file:///projects/ltg/users/ht/xml/xmlschema/monk/site.xml</invalid>
  <invalid char='3' code='cvc-identity-constraint.2.1.2' line='14' resource='file:///projects/ltg/users/ht/xml/xmlschema/monk/site.xml'>duplicate key Your_Needs for {None}idName, first appearance was in unnamed entity at line 4 char 3 of file:///projects/ltg/users/ht/xml/xmlschema/monk/site.xml</invalid>

What validator were you using?

ht
-- 
  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 Wednesday, 11 September 2002 03:56:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:34 GMT