QNames as attribute values in RNC

If I have [code] element creator { (attribute scheme {"overheid:A"}, ("a" | "b" | "c" )) | (attribute scheme {"overheid:B"}, ("d" | "e" | "f" )) } [/code] Oxygen 9.2 acts as expected. After choosing an attribute value for attribute scheme, I do get the correct list of allowed values. "a", "b", "c", if attribute value is overheid:A. ---------------------------------------------- If the datatype is changed to a *QName* [code] element creator { (attribute scheme {xsd:QName "overheid:A"}, ("a" | "b" | "c" )) | (attribute scheme {xsd:QName "overheid:B"}, ("d" | "e" | "f" )) } [/code] whatever attribute value has been chosen, Oxygen 9.2 offers the full value list ("a", "b", "c", "d", "e", "f"). Paul

Hi Paul, I replied on the forum http://www.oxygenxml.com/forum/viewtopic.php?f=7&t=2892 Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Paul Hermans wrote:
If I have
[code] element creator { (attribute scheme {"overheid:A"}, ("a" | "b" | "c" )) | (attribute scheme {"overheid:B"}, ("d" | "e" | "f" )) } [/code]
Oxygen 9.2 acts as expected. After choosing an attribute value for attribute scheme, I do get the correct list of allowed values. "a", "b", "c", if attribute value is overheid:A.
----------------------------------------------
If the datatype is changed to a *QName*
[code] element creator { (attribute scheme {xsd:QName "overheid:A"}, ("a" | "b" | "c" )) | (attribute scheme {xsd:QName "overheid:B"}, ("d" | "e" | "f" )) } [/code]
whatever attribute value has been chosen, Oxygen 9.2 offers the full value list ("a", "b", "c", "d", "e", "f").
Paul
------------------------------------------------------------------------
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
George Cristian Bina
-
Paul Hermans