This week's book giveaway is in the Open Source forum.
We're giving away four copies of RabbitMQ in Depth and have Gavin Roy on-line!
See this thread for details.
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

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
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