Hi there :-)

PROLOG:
We need validation features that are outside the realm of XML Schema.

Two classes of extra validation features need to be tackled.

1.) "Can not be (easily) described by Schema"

- a XML vocabulary specifies a change date. In our solution, we want
to make sure that there is not any date between 01.01.0001 and
09.09.9999 but a date between last week and today.
- a XML Schema defines several elements, however it does not define
some semantic stuff (value of element a + value of element b = value
of elment c)


2.) "Is outside the reach of the parser"

Apart from Schema specified code lists, it sometimes makes sense to
have codelists in a database (e.g. a message arrives that specifies a
customer number and we want to check very early in the process, wheter
the customer number is in our database)

QUESTION:
1.) Does Xerces support somekind of software mechanism (user exits)
that make it possible to execute custom software during validation?
(Does such an approach make sense?)

2.) Do you have any other ideas on how to tackle 1. & 2. ?? (PSVI,
XSLT are being discussed in our team)

Thank you very much for your thoughts and have a nice weekend.

Kind Regards,

Gregor

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to