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

  • From: "Curt Arnold" <carnold@h...>
  • To: "Brian McAndrews" <bmcandre@i...>
  • 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@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

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