03-19-2007 06:58 PM
03-22-2007 11:14 AM
03-22-2007 06:40 PM
<xs:complexType name="deliverableReference">
<xs:sequence>
<xs:element name="ref" type="xs:anyURI" minOccurs="0" maxOccurs="1" />
<xs:element name="name" type="xs:normalizedString" minOccurs="0" maxOccurs="1" />
<xs:element name="guidance" type="xs:string" minOccurs="0" maxOccurs="1" />
</xs:sequence>
</xs:complexType>
<pm:deliverablereference>
<pm:name>Some deliverable</pm:name>
</pm:deliverablereference>
<pm:deliverablereference>
<pm:ref />
<pm:name>Some deliverable</pm:name>
</pm:deliverablereference>
03-22-2007 11:02 PM
08-06-2010 02:35 AM
Thanks Harry, I've managed to resolve it using a different mechanism and the Alfresco team is looking at the problem I was having.
You can find the files attached to the JIRA issue I created. And here is the solution:
By changing the ref attribute to an element…
<xs:complexType name="deliverableReference">
<xs:sequence>
<xs:element name="ref" type="xs:anyURI" minOccurs="0" maxOccurs="1" />
<xs:element name="name" type="xs:normalizedString" minOccurs="0" maxOccurs="1" />
<xs:element name="guidance" type="xs:string" minOccurs="0" maxOccurs="1" />
</xs:sequence>
</xs:complexType>
And then, I discovered the problem was because I wasn't writting a <pm:ref> because there was no "reference".
So I just wrote out a blank pm:ref and it all worked. So the code for a deliverable reference, rather than being:
<pm:deliverablereference>
<pm:name>Some deliverable</pm:name>
</pm:deliverablereference>
Becomes:
<pm:deliverablereference>
<pm:ref />
<pm:name>Some deliverable</pm:name>
</pm:deliverablereference>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.