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-3458) ODF 1.2 CD05-1 5.4.2<text:section-source> incompletely defined



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

Michael Brauer commented on OFFICE-3458:
----------------------------------------

Dennis: Regarding: The current schema *requires* that there is either a <text:section-source> element or the dde-source element. 

That's not the case. The schema fragment is:

    <define name="text-section">
        <element name="text:section">
            <ref name="text-section-attlist"/>
            <choice>
                <ref name="text-section-source"/>
                <ref name="text-section-source-dde"/>
                <empty/>
            </choice>
            <zeroOrMore>
                <ref name="text-content"/>
            </zeroOrMore>
        </element>
    </define>

The first choice next to text:section-source and text.section-source-dde also allows <empty/> which means "no element". One could also write this as

<optional>
       <choice>
             <ref name="text-section-source"/>
             <ref name="text-section-source-dde"/>
       </choice>
</choice>



> ODF 1.2 CD05-1 5.4.2 <text:section-source> incompletely defined
> ---------------------------------------------------------------
>
>                 Key: OFFICE-3458
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-3458
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: Part 1 (Schema), Text
>    Affects Versions: ODF 1.2 CD 05
>            Reporter: Dennis Hamilton
>            Assignee: Michael Brauer
>             Fix For: ODF 1.2 CD 06
>
>
> The schema shows all.
> The definition of 5.4.2 is as follows:
> """
> The <text:section-source> element indicates that an enclosed section is a linked section.
> """
> But all <text:section> elements are linked sections and/or the presence of the DDE element also shows that.
> WHAT I THINK AND NEEDS TO BE CONFIRMED:
> The *difference* with <text:section-source> is that if it has a text:section-name attribute, that is the name of a section that is a source for the <text:section> that is the parent of the <text:section-source> element.
> Now, because the xlink:href can beused instead of the text:section-name to to a fragment having an xml:id that matches, this is not the only way to gain section text from the same XML document and from a different XML document in the package.   So there is no actual requirement that the link is to an "external" document or one that is not very close by.
> ABOUT xlink:show="embed" PROBLEMS
> My understanding of that default/only value is that this means the included content is to be rendered as if it were there in place of the <text:section-source> element -- that is how [XLink] defines the xlink:show="embed" case.
> What we really want, here, is that it is rendered in place of the <text:section> element.  Or, put differently, it is cached *in* the <text:section> element and it is the cache that is rendered.
> IS THAT IT?  WE NEED TO SAY SO.
> Then section 5.4.1 needs to be adjusted to be more clear about what the cases are, perhaps via OFFICE-3386.  This should be discussed along with OFFICE-3386.

-- 
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]