incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Hopf (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ODFTOOLKIT-132) <table:table-cell> should not be able to use @office:value-type with "void" value
Date Wed, 19 Dec 2012 05:51:14 GMT

     [ https://issues.apache.org/jira/browse/ODFTOOLKIT-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Florian Hopf updated ODFTOOLKIT-132:
------------------------------------

    Fix Version/s:     (was: odfdom-0.8.7)
    
> <table:table-cell> should not be able to use @office:value-type with "void" value
> ---------------------------------------------------------------------------------
>
>                 Key: ODFTOOLKIT-132
>                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-132
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: odfdom-0.8.5
>         Environment: Operating System: All
> Platform: All
>            Reporter: Svante Schubert
>            Assignee: Svante Schubert
>
> Void is a possible value for @office:value-type but for a different element not for <table:table-cell>.
Source code generation should reflect this.
> See OpenDocument-v1.2-cd05-schema.rng:
> <define name="form-property-value-and-type-attlist" combine="interleave">
>     <choice>
>         <ref name="common-value-and-type-attlist"/>
>         <attribute name="office:value-type">
>             <value>void</value>
>         </attribute>
>     </choice>
> </define>
> See
> <define name="table-table-cell-attlist">
> 	<interleave>
> 		<optional>
> 			<attribute name="table:number-columns-repeated">
> 				<ref name="positiveInteger"/>
> 			</attribute>
> 		</optional>
> 		<optional>
> 			<attribute name="table:style-name">
> 				<ref name="styleNameRef"/>
> 			</attribute>
> 		</optional>
> 		<optional>
> 			<attribute name="table:content-validation-name">
> 				<ref name="string"/>
> 			</attribute>
> 		</optional>
> 		<optional>
> 			<attribute name="table:formula">
> 				<ref name="string"/>
> 			</attribute>
> 		</optional>
> 		<optional>
> 			<ref name="common-value-and-type-attlist"/>
> ...
> <define name="common-value-and-type-attlist">
> <choice>
> 	<group>
> 		<attribute name="office:value-type">
> 			<value>float</value>
> 		</attribute>
> 		<attribute name="office:value">
> 			<ref name="double"/>
> 		</attribute>
> 	</group>
> 	<group>
> 		<attribute name="office:value-type">
> 			<value>percentage</value>
> 		</attribute>
> 		<attribute name="office:value">
> 			<ref name="double"/>
> 		</attribute>
> 	</group>
> 	<group>
> 		<attribute name="office:value-type">
> 			<value>currency</value>
> 		</attribute>
> 		<attribute name="office:value">
> 			<ref name="double"/>
> 		</attribute>
> 		<optional>
> 			<attribute name="office:currency">
> 				<ref name="string"/>
> 			</attribute>
> 		</optional>
> 	</group>
> 	<group>
> 		<attribute name="office:value-type">
> 			<value>date</value>
> 		</attribute>
> 		<attribute name="office:date-value">
> 			<ref name="dateOrDateTime"/>
> 		</attribute>
> 	</group>
> 	<group>
> 		<attribute name="office:value-type">
> 			<value>time</value>
> 		</attribute>
> 		<attribute name="office:time-value">
> 			<ref name="duration"/>
> 		</attribute>
> 	</group>
> 	<group>
> 		<attribute name="office:value-type">
> 			<value>boolean</value>
> 		</attribute>
> 		<attribute name="office:boolean-value">
> 			<ref name="boolean"/>
> 		</attribute>
> 	</group>
> 	<group>
> 		<attribute name="office:value-type">
> 			<value>string</value>
> 		</attribute>
> 		<optional>
> 			<attribute name="office:string-value">
> 				<ref name="string"/>
> 			</attribute>
> 		</optional>
> 	</group>
> </choice>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message