W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2001

Re: Schemas Identity Constraint

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 26 Oct 2001 11:04:10 +0100
To: Joan Pujol <joan.pujol@ima.udg.es>
Cc: xmlschema-dev@w3.org
Message-ID: <f5bg086afad.fsf@cogsci.ed.ac.uk>
Joan Pujol <joan.pujol@ima.udg.es> writes:

> "Henry S. Thompson" wrote:
> > 
> > XSV finds your error -- what validator are you using?
> > 
> > <invalid char='6' code='cvc-identity-constraint.2.1.2' line='5'
> > resource='pujol.xml'>duplicate key NAME1 for {None}IdentityContraint1,
> > first appearance was in unnamed entity at line 4 char 2 of
> > pujol.xml</invalid>
> 
> Hi, I'm using Xerces Java 1.4.3.
> So I suppose that is a Xerces problem, isn't it?
> 
> Before writing my mail I tried to validate the XML file with the XSV.
> But always it algive my an error. I never used it before, I don't know if I'm
> doing something wrong.

One or possibly two reasons:

1) You're probably not using a browser with built-in XSLT support, so
you should tick the third or fourth output option box;

2) If you're uploading, XSV can't find your schema.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, 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/
Received on Friday, 26 October 2001 06:03:22 GMT

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