OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Schema question

[ Lists Home | Date Index | Thread Index ]
  • From: "Curt Arnold" <carnold@houston.rr.com>
  • To: "Brian McAndrews" <bmcandre@ibbotson.com>
  • Date: Fri, 23 Jun 2000 22:20:49 -0500

No, can't do it in schema.  There is always going to be some application
level validation that you would have to perform in a well designed system.
The schema efforts have wisely avoided performing any validation that would
require lookahead or lookaround since that would inhibit the use of schema
for event-based processing.

You could use an XSLT transform to detect potential inconsistencies, but the
best approach is to eliminate the potential for inconsistency by eliminating
the numberOfProduct's attribute.

This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS