[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: atom bind question - 'artifact' and 'content'
<?xml version="1.0" encoding="UTF-8"?> <entry xmlns="”http://www.w3.org/2005/Atom”" xmlns:s-ramp="”http://s-ramp.org/xmlns/2010/s-ramp”" xmlns:xlink="http://www.w3.org/1999/xlink"> <id>urn:uuid:aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6a</id> <updated>2009-05-26T13:13:55.013+02:00</updated> <title type="“text”">accountingTypes.xsd</title> <published>2009-05-26T13:13:55.013+02:00</published> <author> <name>Bellwood</name> </author> <contributor> <name>Pospisil</name> </contributor> <summary type="text">accountingTypes.xsd schema document</summary> <content type="application/xml;charset=utf-8" src=""moz-txt-link-freetext" href="http://example.org/s-ramp/xsd/XsdDocument/">http://example.org/s-ramp/xsd/XsdDocument/ aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6a/media" /> <link type="application/atom+xml;type=entry" rel="self" href=""moz-txt-link-freetext" href="http://example.org/s-ramp/xsd/XsdDocument/">http://example.org/s-ramp/xsd/XsdDocument/ aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6a”/> <link type=" application="application" / atom="atom" + xml="xml" ; type="entry" " rel="edit-media" href=""moz-txt-link-freetext" href="http://example.org/s-ramp/xsd/XsdDocument/">http://example.org/s-ramp/xsd/XsdDocument/ aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6a/media" /> <link type="application/atom+xml;type=entry" rel="edit" href=""moz-txt-link-freetext" href="http://example.org/s-ramp/xsd/XsdDocument/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6a”">http://example.org/s-ramp/xsd/XsdDocument/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6a” />; <category term="XsdDocument="XsdDocument" " label="XML Schema" scheme="urn:x-s-ramp:2010:type” /> <s-ramp:artifact xsi:schemaLocation=" http:="http:" / s-ramp.org="s-ramp.org" / xmlns="xmlns" / s-ramp="s-ramp" http:="http:" / s-ramp.org="s-ramp.org" / specification="specification" / schemas="schemas" / xsdmodel.xsd="xsdmodel.xsd" " xmlns:s-ramp="http://s-ramp.org/xmlns/2010/s-ramp" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <s-ramp:XsdDocument name="”accountingTypes.xsd”" description="”accountingTypes.xsd”" createdBy="Bellwood" version="1.0" uuid="aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6a" createdTimestamp="2009-05-26T13:13:55.013+02:00" lastModifiedTimestamp="2009-06-26T13:13:55.013+02:00" lastModifiedBy="Pospisil" contentEncoding="UTF-8" contentType="“application/xml”" contentSize="4096"> <s-ramp:classifiedBy> http://example.org/ontologies/accounting.owl/accounts </s-ramp:classifiedBy> <!-- Example of the “importedXsds” Derived relationship --> <s-ramp:importedXsds> <s-ramp:target xlink:href=""moz-txt-link-freetext" href="http://example.org/s-ramp/xsd/XsdDocument">http://example.org/s-ramp/xsd/XsdDocument" / aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6b="aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6b" ”> aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6b </s-ramp:target> </s-ramp:importedXsds> <s-ramp:relationship> <s-ramp:relationshipType>similarXsds</s-ramp:relationshipType> <s-ramp:relationshipTarget> <s-ramp:target xlink:href=""moz-txt-link-freetext" href="http://example.org/s-ramp/xsd/XsdDocument">http://example.org/s-ramp/xsd/XsdDocument" / aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6b="aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6b" ”> aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6b </s-ramp:target> </s-ramp:relationshipTarget> <s-ramp:relationshipTarget> <s-ramp:target xlink:href=""moz-txt-link-freetext" href="http://example.org/s-ramp/xsd/XsdDocument">http://example.org/s-ramp/xsd/XsdDocument" / aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6c="aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6c" ”> aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6c </s-ramp:target> </s-ramp:relationshipTarget> </s-ramp:relationship> <s-ramp:property> <propertyName>myPropertyName</propertyName> <propertyValue>myPropertyValue</propertyValue> </s-ramp:property> </s-ramp:XsdDocument> <s-ramp:artifact /> </entry> Wouldn't it make more sense to use the 'content' element (so we don't need to use a structured extension element). For example, see the section in red: <?xml
version="1.0" encoding="UTF-8" standalone="yes"?> Love to hear your opinion on this.
Thx, --Kurt
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]