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

Selector Field question(unique)

From: Arigapudi, Shyam <Shyam.Arigapudi@ugs.com>
Date: Sat, 15 Dec 2001 13:59:12 -0500 (EST)
Message-ID: <07E98776DFF1BE448D9C9BA60A79ADA401720238@amwntx1.ugsolutions.com>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>

Hi,
	I use different prefixes in schema and the instance document.
Example:
'cimf' in schema and 'x' in the instance document.
          In the selector for unique I have .//x:somenode/x:somechild. This
does not work in xml spy unless I
changes it to be cimf:somenode/cimf:somechild. Is it necessary to have the
same prefix for a namespace
in both instance and schema documents for the identity constraint to work?

Regards,
Shyam Arigapudi
Received on Wednesday, 19 December 2001 13:17:05 GMT

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