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] Created: (OFFICE-2637) draw:id on<draw:glue-point> inconsistent

draw:id on <draw:glue-point> inconsistent

                 Key: OFFICE-2637
                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-2637
             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
          Issue Type: Bug
          Components: Graphics, Schema and Datatypes
    Affects Versions: ODF 1.2 Part 1 CD 4 
         Environment: OpenDocument-v1.2-part1-cd04.odt
            Reporter: Michael Stahl 

19.189 draw:id
19.189.2 <draw:glue-point>

The draw:id attribute assigns an identifier to a glue point. See 10.3.16. The ids 0 to 3 are reserved for the 4 standard glue points of drawing objects. 

so it seems that in this case the draw:id represents numbers, and accordingly its type is nonNegativeInteger.
but then the text states the relationship to the xml:id attribute:

A <draw:glue-point> element shall not have a draw:id attribute if it has no xml:id attribute value.
The value of a draw:id attribute shall equal the value of an xml:id attribute on the same <draw:glue-point> element. 

but xml:id has the type ID, which is a specialization of NCName.

the lexical spaces of nonNegativeInteger and ID are disjoint,
so in effect no draw:id attribute can be used on <draw:glue-point> by a conforming ODF 1.2 implementation.

i do not know why the xml:id was added at this element; i think it was not added by the metadata work.

i am not sure how this problem should be resolved.
simply changing the type of draw:id to NCName would break compatibility with ODF 1.1.
maybe it would be best to remove xml:id from this element again.

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]