[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Commented: (CMIS-276) Elements in feedTypeand entryType (ATOM.xsd) should be in xs:choice, not xs:sequence
[ http://tools.oasis-open.org/issues/browse/CMIS-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12455#action_12455 ] Doug Domeny commented on CMIS-276: ---------------------------------- Sample feed from .NET SyndicationFeed class serialization. <feed xmlns="http://www.w3.org/2005/Atom" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2005/Atom file:///c:/CMIS/CMIS%20Schema%2062b%20atom/schema/ATOM.xsd"> <title type="text">Root</title> <id>0</id> <updated>2009-07-01T21:56:15Z</updated> <link rel="self" type="application/atom+xml;type=feed" href="http://ws10170/CMS400Developer8/workarea/webservices/cmis.svc/folders/0/children"/> <link rel="service" type="application/atomsvc+xml" title="CMIS Repository" href="http://ws10170/CMS400Developer8/workarea/webservices/cmis.svc/repository"/> <link rel="via" type="application/atom+xml;type=entry" href="http://ws10170/CMS400Developer8/workarea/webservices/cmis.svc/folders/0"/> <link rel="up" type="application/atom+xml;type=feed" href="http://ws10170/CMS400Developer8/workarea/webservices/cmis.svc/folders/0/children"/> <entry> <id>198</id> <title type="text">Wiki_Example</title> <updated>2009-07-01T21:56:15Z</updated> <author/> <link rel="self" type="application/atom+xml;type=entry" href="http://ws10170/CMS400Developer8/workarea/webservices/cmis.svc/folders/198"/> <link rel="alternate" type="application/atom+xml;type=feed" href="http://ws10170/CMS400Developer8/workarea/webservices/cmis.svc/folders/198/children"/> <link rel="service" type="application/atomsvc+xml" title="CMIS Repository" href="http://ws10170/CMS400Developer8/workarea/webservices/cmis.svc/repository"/> <link rel="up" type="application/atom+xml;type=feed" href="http://ws10170/CMS400Developer8/workarea/webservices/cmis.svc/folders/0/children"/> <link rel="down" type="application/atom+xml;type=feed" href="http://ws10170/CMS400Developer8/workarea/webservices/cmis.svc/folders/198/children"/> <object xmlns="http://docs.oasis-open.org/ns/cmis/core/200901" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > Elements in feedType and entryType (ATOM.xsd) should be in xs:choice, not xs:sequence > ------------------------------------------------------------------------------------- > > Key: CMIS-276 > URL: http://tools.oasis-open.org/issues/browse/CMIS-276 > Project: OASIS Content Management Interoperability Services (CMIS) TC > Issue Type: Bug > Components: Schema > Affects Versions: Draft 0.61 > Environment: n/a > Reporter: Doug Domeny > > The Atom spec (http://tools.ietf.org/html/rfc4287#page-13) reads, "This specification assigns no significance to the order of appearance of the child elements of atom:entry". > The .NET SyndicationFeed and SyndicationItem serialization classes for Atom use a different order than specified in the ATOM.xsd. > By using xs:sequence instead of xs:choice minOccurs="3", the order of the children elements is fixed, which is incompatible with the Microsoft.NET serializer. -- 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]