[oXygen-user] QNames as attribute values in RNC

Paul Hermans
Sat May 17 05:30:35 CDT 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20080517/cd877537/attachment.html 


More information about the oXygen-user mailing list