This wiki is locked. Future workgroup activity and specification development must take place at
our new wiki
. For more information, see
this blog post about the new governance model
and
this post about changes to the website
.
TWiki
>
Main Web
>
CmHome
>
CmXmlFormat
(revision 5) (raw view)
---++ Purpose This specification describes how the XML format is used to represent OSLC resources and collection of resources. ---++ Notation and Conventions The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in [[http://www.ietf.org/rfc/rfc2119.txt][RFC2119]]. Domain name examples use [[http://tools.ietf.org/html/rfc2606][RFC2606]]. ---++ Terminology TBD ---++ Intro ---++ Overall Structure The XML format follows these RDF conventions so that it can be parsed by RDF-XML parsers: * rdf.about on root element (which references itself), * instead of the "href" attribute the "rdf.resource" attribute is used, * when inlining resources, an intermediate "Type" attribute is introduced. ---++ Collections Collections of resources like the result set returned from a query are represented as an JSON array of JSON dictionaries. To allow for the _next_ and _previous_ links used in paged query result, the array is embedded in one additional JSON dictionary. ---++ Examples The following examples were produced by RTC 2.0 M3D1. The corresponding JSON version is shown at the bottom of this [[CmJsonFormat][page]]. This [[%ATTACHURL%/workitem-1level.xml][example]] shows a non-inlined RTC work item in XML format. For the second [[%ATTACHURL%/workitem-2levels.xml][example]] inlining was requested for all first level reference attributes. -- Main.AndreWeinand - 24 Mar 2009
Attachments
Attachments
Topic attachments
I
Attachment
Action
Size
Date
Who
Comment
xml
workitem-1level.xml
manage
5.3 K
24 Mar 2009 - 16:00
AndreWeinand
xml
workitem-2levels.xml
manage
12.5 K
24 Mar 2009 - 16:00
AndreWeinand
Edit
|
Attach
|
P
rint version
|
H
istory
:
r9
|
r7
<
r6
<
r5
<
r4
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r5 - 15 Apr 2009 - 12:09:40 -
AndreWeinand
Main.CmXmlFormat moved from Main.XmlFormat on 24 Mar 2009 - 18:31 by
SteveSpeicher
-
put it back
Main
Main Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
Main
Sandbox
TWiki
Български
Cesky
Dansk
Deutsch
English
Español
Français
Italiano
日本語
Nederlands
Polski
Português
Русский
Svenska
简体中文
簡體中文
Copyright � by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our
Terms of Use
Ideas, requests, problems regarding this site?
Send feedback