[Home] [By Thread] [By Date] [Recent Entries]

  • To: Priscilla Walmsley <priscilla@w...>
  • Subject: RE: schema validate key uniqueness attribute (name) ofelements
  • From: Pedro Salazar <pedro-b-salazar@p...>
  • Date: 20 Feb 2004 17:21:09 +0000
  • Cc: 'XML DEV' <xml-dev@l...>
  • Organization: Portugal Telecom Inovação, S.A.

On Fri, 2004-02-20 at 17:02, Priscilla Walmsley wrote:
>
> I think you want serviceImport|serviceExport instead of
> serviceImport/serviceExport in your path.  
> 
> The "|" operator means "serviceImport or serviceExport", while the slash
> means that it is looking for a serviceExport child of serviceImport.
> 
> Priscilla

I fixed that but the validation is still OK (not detecting the repeating
data on the name attribute -> key) on XERCES2 (parser) and Oxygen
(tool).

However, do you agree the right definition of the schema to validate my
purpose? 

thanks,
Pedro Salazar.
-- 
-PS


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member