Re: [poe] XML Schema design

3) Actually, we could add some xs:assert elements, such as:

`<xs:assert test="(@type='http://www.w3.org/ns/odrl/2/Offer' and ( (count(./o:permission) > 0 ) or (count(./o:prohibition) > 0 ) ))"/>`

But this will get messy quickly and we need articulate all the Types


-- 
GitHub Notification of comment by riannella
Please view or discuss this issue at https://github.com/w3c/poe/issues/197#issuecomment-309970866 using your GitHub account

Received on Wednesday, 21 June 2017 05:53:29 UTC