[ https://issues.apache.org/jira/browse/CMIS-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bradley Moorfield updated CMIS-1013: ------------------------------------ Attachment: atomsites.xml Full feed that can be run through the parser to demonstrate the issue > Parse self closing tag in Atom response > --------------------------------------- > > Key: CMIS-1013 > URL: https://issues.apache.org/jira/browse/CMIS-1013 > Project: Chemistry > Issue Type: Bug > Components: portcmis > Affects Versions: PortCMIS 0.1.0 > Environment: .NET Framework 4.5 > Windows 10 Enterprise > Reporter: Bradley Moorfield > Priority: Critical > Attachments: atomsites.xml > > > PortCMIS is not parsing an Atom response correctly when there is a self > closing tag in an objects properties, e.g. (see complete example feed > attached) > {code:xml} > <cmisra:object> > <cmis:properties> > <cmis:propertyId propertyDefinitionId="cmis:objectId" > displayName="Object Id" localName="objectId" queryName="cmis:objectId"> > <cmis:value>7fcaf062-45d3-46de-a2f0-6d4b21ec3adc</cmis:value> > </cmis:propertyId> > <cmis:propertyString propertyDefinitionId="cm:tagScopeSummary" > displayName="Tag Summary" localName="tagScopeSummary" > queryName="cm:tagScopeSummary"/> > </cmis:properties> > <e1:aspects > xmlns:e1="http://www.alfresco.org"> > <e1:appliedAspects>P:cm:tagscope</e1:appliedAspects> > <e1:appliedAspects>P:sys:unmovable</e1:appliedAspects> > <e1:appliedAspects>P:cm:titled</e1:appliedAspects> > <e1:appliedAspects>P:cm:ownable</e1:appliedAspects> > <e1:appliedAspects>P:sys:localized</e1:appliedAspects> > <e1:appliedAspects>P:sys:undeletable</e1:appliedAspects> > <e1:properties> > <cmis:propertyString propertyDefinitionId="cm:tagScopeSummary" > localName="tagScopeSummary" queryName="cm:tagScopeSummary" displayName="Tag > Summary"/> > <cmis:propertyString propertyDefinitionId="cm:title" > localName="title" queryName="cm:title" displayName="Title"> > <cmis:value>ChrisTest</cmis:value> > </cmis:propertyString> > <cmis:propertyString propertyDefinitionId="cm:description" > localName="description" queryName="cm:description" displayName="Description"> > <cmis:value>Test Site created to test Bradley's SS > connector</cmis:value> > </cmis:propertyString> > <cmis:propertyString propertyDefinitionId="cm:owner" > localName="owner" queryName="cm:owner" displayName="Owner"> > <cmis:value>admin</cmis:value> > </cmis:propertyString> > </e1:properties> > </e1:aspects> > </cmisra:object> > {code} > Self closing tags in the {{cmis:properties}} section seem to parse fine, but > the self closing tag in the {{e1:aspects}} section breaks the > {{HandleExtension}} method on {{XmlWalker.cs}}, casing the rest of the feed > to be absorbed into the first entry -- This message was sent by Atlassian JIRA (v6.3.15#6346)