Page 1 of 1

[relaxng] Element content only

Posted: Tue Mar 02, 2010 9:38 pm
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.

Re: [relaxng] Element content only

Posted: Fri Mar 05, 2010 12:35 pm
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