required element and css display property
Posted: Mon Jul 07, 2014 6:18 pm
Hi,
I use oxygen author with the following schema (fragment) :
[code]
<xs:element name="OuDormir">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="TexteIntro"/>
<xs:element ref="NomEtablissement"/>
<xs:element minOccurs="0" ref="NomProprietaire"/>
...
</xs:complexType>
</xs:element>
[/code]
Author is schema aware and the option "Reject action when its result is invalid" is checked.
When I set the 'display' property of TexteIntro, NomEtablissement etc to 'inline' in the css file it is ok, I have a message when I try to delete the NomEtablissement element as it is required.
If I set the 'display' property of TexteIntro, NomEtablissement etc to 'block' I can delete the NomEtablissement element although it is required.
What is happening ?
Regards,
Lionel
I use oxygen author with the following schema (fragment) :
[code]
<xs:element name="OuDormir">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="TexteIntro"/>
<xs:element ref="NomEtablissement"/>
<xs:element minOccurs="0" ref="NomProprietaire"/>
...
</xs:complexType>
</xs:element>
[/code]
Author is schema aware and the option "Reject action when its result is invalid" is checked.
When I set the 'display' property of TexteIntro, NomEtablissement etc to 'inline' in the css file it is ok, I have a message when I try to delete the NomEtablissement element as it is required.
If I set the 'display' property of TexteIntro, NomEtablissement etc to 'block' I can delete the NomEtablissement element although it is required.
What is happening ?
Regards,
Lionel