The moose likes XML and Related Technologies and the fly likes XML Schema assert Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML Schema assert" Watch "XML Schema assert" New topic

XML Schema assert

druva singh

Joined: Feb 13, 2009
Posts: 3
Has anyone used the xsd:assert feature while defining XML schema?
It is introduced in 1.1 version of W3C standards.
I have wriiten a xsd file with some constraints on elements - i.e. an element exists only if another exists [dependency]. Tried this with 'assert' but the tag is not getting recognized at all.

Any pointers and help would be appreciated.

I agree. Here's the link:
subject: XML Schema assert
It's not a secret anymore!