[oXygen-user] QNames as attribute values in RNC

George Cristian Bina
Mon May 19 08:03:28 CDT 2008


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
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user



More information about the oXygen-user mailing list