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-3482) "Text characterdata"

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

Dennis Hamilton commented on OFFICE-3482:

I think the change to 6.1.1 works reasonably well, although it leaves a little bit vague with regard to text content (but there is a separate JIRA issue with respect to that).

For 6.1.7, The changed paragraph will read:

The <text:span> element represents the application of a style to the character data of a portion of text. The content of this element is the text which uses that text style.
I am having difficulty with the second sentence and and also what is meant by "a portion of text."  (Also, style inheritance into subordinate children versus them having their own styles seems to be finessed here.)

The statement about nesting seems to work, although the white space statement is suspect, since the whitespace rule seems to apply across element boundaries so that would seem to still be the case here?

For 6.1.8, the changed paragraph will read:

The anchor of a hyperlink is composed of the character data contained by the <text:a> element and any of its descendant elements which define character data of the surrounding paragraph elements. 

Ignoring that "anchor of a hyperlink" is a mystery here, I don't understand what it means to speak of character data of the <text:a> element's "descendant elements which define character data of the surrounding paragraph elements."

If you said that the character content of the <text:a> element is character content of the paragraph-content-or-hyperlink containing the <text:a> element, or something similar,  I would understand that.  If you mean that character data is text content when the <text:a> is a child of an element that delivers text content of a paragraph, that would work for me too.


I think the statement "The <xyz> element has text content" is a reference to there being a <text/> pattern.  That is, the <xyz> element has mixed content.  The statement about character data seems meaningless, since any element may contain character data, it just might be white space that is ignored because there is no <text /> pattern or other pattern that matches (some of) the character data in the element.  I think the term should be "<xyz> has mixed content", or "<xyz> character content contributes to the text content of a parent that delivers text content of a paragraph, or something like that.  (I am not sure about styling and formatting that impacts what the text content is when the formatting uses only part of what the character data provides.)

> "Text character data"
> ---------------------
>                 Key: OFFICE-3482
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-3482
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Sub-task
>          Components: Text
>    Affects Versions: ODF 1.2 CD 05
>            Reporter: Robert Weir 
>            Assignee: Michael Brauer
>             Fix For: ODF 1.2 CD 06
> Part 1, section 6.1.1 -- We say "Text character data contained...". Does this mean anything different than "character data", which is the term we use elsewhere? 
> In general, I'm not getting the distinction between "character data", "character content", "text content" and "text character data".
> The XML term is "character data" defined as: "All text that is not markup constitutes the character data of the document". 

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]