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-2535) Public Comment: ODF1.2 comment: metadata : concatenation



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

Michael Stahl  commented on OFFICE-2535:
----------------------------------------

4.2.2.4 odf:Element
<quote>
Every XML element that has a type ID attribute in a file which is contained in an OpenDocument package may be described using an OWL class, which URI is the concatenation of the element's XML namespace IRI and the element's local name. These classes are subclasses of odf:Element.
</quote>

Given that the quoted text reads
"the concatenation of the element's XML namespace IRI and the element's local name",
interpreting "local name" not in its usual XML namespace sense but as designating the value of an xml:id attribute is clearly a misreading.

But i am not sure if "which URI" is grammatically correct here.
Shouldn't it be either "the URI of which" or "whose URI"?
Possibly it would be best to split the sentence in two.

Anyway, this kind of concatenation is usual when interfacing RDF and XML; see e.g. the RDF/XML spec, section 2.1:

<quote>
The RDF URI reference represented by a QName is determined by appending the local name part of the QName after the namespace name (URI reference) part of the QName.
</quote>

Wait, there is a real problem here: first we speak of elements in a file "which is contained in an OpenDocument package", and then we say that these should be subclasses of odf:Element.
But a package need not contain only ODF documents!
So we need to express that elements in ODF documents get odf:Element, but those in non-ODF documents only get pkg:Element.
The easiest way to do this is to restrict the statement to ODF documents.

Proposal: replace with:
<quote>
Every XML element that has an attribute of type ID in a OpenDocument XML file may be described using an OWL class.
The URI of said OWL class is the concatenation of the element's XML namespace IRI and the element's local name.
These classes are subclasses of odf:Element.
</quote>

> Public Comment: ODF 1.2 comment: metadata : concatenation
> ---------------------------------------------------------
>
>                 Key: OFFICE-2535
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-2535
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: ODF 1.2 Part 1 CD 4 
>            Reporter: Robert Weir 
>
> Copied from office-comment list
> Original author: rjelliffe@allette.com.au 
> Original date: 14 Feb 2010 16:49:57 -0000
> Original URL: http://lists.oasis-open.org/archives/office-comment/201002/msg00026.html

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