[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: intersecting schema with application-specific validation
- From: "David E. Cleary" <email@example.com>
- To: sabba <firstname.lastname@example.org>, XML-DEV <email@example.com>
- Date: Thu, 03 May 2001 09:28:58 -0400
XML Schema has left you two ways to do this. I detail them in an upcoming
article for XML Journal that is available on the web at:
Another alternative is the Schema Adjunct Framework, which defines rules for
creating a separate adjunct (file) that contain these application specific
validations. You can find more info on SAF at
From: sabba [mailto:firstname.lastname@example.org]
Sent: Thursday, May 03, 2001 5:42 AM
Subject: intersecting schema with application-specific validation
hi, i'm developing an xml based application where i need to validate a
"rather" complicated structure.
I'm happy that w3c schema have right yesterday (2nd may '01) become a
still i think i won't be able to express all validations i need to express
using just an xml schema, moreover i need to generate a "new instance" based
on this "schema" , and so i'll need to put more info "somewhere" since an
xmlschema leaves you, evidently, too much freedom in this "new instance"
The point where my doubts are is that , since schema won't be enough , where
should i put extra "application specific" validation info (a custom xml
syntax ?) . how can i apply both validations in a consistent manner that
won't lead to spaghetti code.
if there is any standard, approach , best practice you are aware ? i'd like
thank in advance.