OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Commented: (OFFICE-3369) <chart:title> error in ODF 1.0/1.1


    [ http://tools.oasis-open.org/issues/browse/OFFICE-3369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31689#action_31689 ] 

Dennis Hamilton commented on OFFICE-3369:
-----------------------------------------

In ODF 1.2 Part 1 section 11.2, references to a cell for the source of the title are via the <chart:title> table:cell-range attribute, and the rules are quite clear.  The same rules are introduced for <chart:subtitle>, and <chart:footer>.  ODF 1.2 specifies what to do if there are both <text:p> and table:cell-range.

In ODF 1.1 section 10.3 the correct statement is apparently to use table:cell-range attribute, not <table:cell-address>.  This goes with the presence of a Table Cell Range subsection in 10.3.1.  Fortunately, the <chart:subtite> and <chart:footer> descriptions refer to the <chart:title> description.

I propose that the ODF 1.2 definition be adapted:

"This element can contain fixed text or it can have a table:cell-range attribute referencing the cell that is to be taken as the source of the text, over-riding any fixed text."

I don't think there is an interoperability issue, since the unmodified definition in ODF 1.1 is unimplementable.

I will go ahead with this, but request review of the issue.  I can remove the fix from ODF 1.1 Errata 01 WD05 if it is felt that this change is not needed or goes to far.

> <chart:title> error in ODF 1.0/1.1
> ----------------------------------
>
>                 Key: OFFICE-3369
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-3369
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: Public Review
>    Affects Versions: ODF 1.1
>            Reporter: Andreas Guelzow 
>             Fix For: ODF 1.1 Errata 01
>
>
> I am quoting from ODF 1.0:
> The <chart:title> element represents a main title object in a chart document. This element
> can contain fixed text or it can contain a <table:cell-address> element pointing to the text
> that should be displayed as the title.
> this contradicts the schema that says:
> <define name="chart-title">
> <element name="chart:title">
> <ref name="chart-title-attlist"/>
> <optional>
> <ref name="text-p"/>
> </optional>
> </element>
> </define>
> So <table:cell-address> cannot be an element but must be an attribute, but the closest attribute in the schema is:
> <define name="chart-title-attlist" combine="interleave">
> <optional>
> <attribute name="table:cell-range">
> <ref name="cellAddress"/>
> </attribute>
> </optional>
> so we have 2 different attribute names: table:cell-range and table:cell-address. There is nothing about this in the errata (yet).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]