Problem with "split" in context menu
Posted: Thu Jul 26, 2012 10:07 pm
Here is a snippet from a simple document which is valid in our schema. I have ommitted some elements for clarity:
The issue is, when placing the cursor in position 1 (in author mode), the context menu shows "Split P", which is the desired behavior.
When placing the cursor in position 2, the context menu shows "Split Subcaption", we would like it to be like position 1, "Split P"
Here are the relevant parts of the schema:
Any ideas as to what is causing this, and what could be done to change it?
Thanks, Glenn
Code: Select all
<Body>
<P>Location 1: works correctly</P>
</Body>
<SubCaption>
<P>Location 2: splits subcaption instead of P</P>
</SubCaption>
When placing the cursor in position 2, the context menu shows "Split Subcaption", we would like it to be like position 1, "Split P"
Here are the relevant parts of the schema:
Code: Select all
<xs:complexType name="SubCaptionType">
<xs:sequence maxOccurs="unbounded">
<xs:element ref="tns:P" minOccurs="0" />
<xs:element ref="tns:TextNote" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="BodyType">
<xs:sequence maxOccurs="unbounded">
<xs:element ref="tns:TextNote" minOccurs="0"/>
<xs:element ref="tns:CodNote" minOccurs="0"/>
<xs:element ref="tns:P" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
Thanks, Glenn