Re: Schemas Identity Constraint

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 UTC