regular expression matching in <assert>
Jim Barnett <[email protected]>
| Newsgroups | gmane.text.xml.xerces-j.user |
|---|---|
| Message-ID | <57A15FAF9E58F841B2B1651FFE16D2810388A9@GENSJZMBX02.msg.int.genesyslab.com> |
Are matches() and tokenize() supported inside <assert> when doing schema validation? I am applying an assertion to an element with a 'target' attribute whose value is "s1 s2", yet the following assertion is failing: <xsd:assert test="if (matches(@target, '.*')) then true() else false()" xpathDefaultNamespace="##targetNamespace"/> Any guidance would be appreciated. Thanks, Jim