[relaxng] Element content only

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Tanking
Posts: 25
Joined: Fri Mar 20, 2009 5:28 pm

[relaxng] Element content only

Post by Tanking »

the following element is declared element content only by oxygen:

Code: Select all


<define name="datatype.nsn">
<data type="string">
<param name="pattern">\d{4}-\d{2}-\d{3}-\d{4}</param>
</data>
</define>
<define name="element.nsn">
<element name="nsn">
<optional>
<ref name="datatype.nsn"/>
</optional>
</element>
</define>
This does not the seem to be the case, and prohibits editing in author without disabling the "Insert text only in valid locations" (or equivalent options in other oxygen 11.x).

Is there another option or relaxng architecture option to solve this?

Thanks in advance.
jerome poupard
AMConresearch
164 Daniel St. N., Suite 202
Arnprior, Ontario
K7S 2L3
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Re: [relaxng] Element content only

Post by george »

Thanks for catching this.
We fixed the problem and it will be available in 11.2 in a few weeks. If you need early access to that please contact us at support@oxygenxml.com.

Best Regards,
George
George Cristian Bina
Post Reply