|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Blowout
> For TREX and RELAX, the latter question does have a decision
> procedure (not sure about Schematron). For RELAX, the decision
> procedure "does any document match this schema" is O(M) in
> the size of the schema. (In fact, it's probably O(1) -- I
> believe the answer is always "yes" in the case of RELAX.)
>
> The satisfiability algorithm for TREX *is* worst-case
> exponential, due to <concur>, <interleave>, and <notAllowed>;
> however this doesn't say anthing about the time complexity of
> the validation algorithm (which is what TREX is _usually_
> used for).
This is not completely true. As usual, the devil is in the details.
How can you decide that the following datatype declaration does not
accept anything?
<simpleType name="myType">
<restriction base="integer">
<pattern value=".*x" />
</restriction>
</simpleType>
Therefore in practice, it is impossible to compute the answer for "does
any set of bindings satisfy the formula?"
regards,
----------------------
K.Kawaguchi
E-Mail: k-kawa@b...
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








