[ogsi-wg] [ogsi-wg | WS Notification - 637] Ambigous Schema in Topic Type

Sourceforge Tracker Monitor noreply at forge.gridforum.org
Mon Sep 26 03:57:51 CDT 2005


David Snelling changed 637 on 2005-09-26 09:57:51

Close Date has changed: - New: '2005-09-26 09:57:51'   Old: '-'
Status has changed: - New: 'Closed'   Old: 'Open'


Respond by visiting: https://forge.gridforum.org/tracker/?func=detail&atid=743&aid=637&group_id=43 (https://forge.gridforum.org/tracker/?func=detail&atid=743&aid=637&group_id=43)

Summary: Ambigous Schema in Topic Type
Project: Open Grid Services Infrastructure
Tracker: WS Notification
Artifact ID: 637
Category: <None>
Group: <None>
Status: Closed
Priority: -
Last Modified By: David Snelling
Last Modified: 2005-09-26 09:57:51
Submitted By: David Snelling
Submit Date: 2004-01-26 10:42:19
Assigned To: &amp;lt;None&amp;gt;
Close Date: 2005-09-26 09:57:51
Issue Type: Bug
File(s): <None>
Description: 
From: Yogesh L. Simmhan <ysimmhan at cs.indiana.edu>
To: 'Dennis Gannon' <gannon at cs.indiana.edu>
Subject: WS Notification schema bug

You wanted a note about the problem with the WS-Notification schema. The
error is in TopicType/ExtensibleDocumented/xsd:any element. The content
model violates the unique particle attribution rule of the XSD schema.
This is caused when it is not possible to determine if an XML document
obeys the schema since the schema is nondeterministic. This occurs here
since an xml document's element in TopicType can be matched against either
wsrp:QueryExpression or against the xsd:any element.

<xsd:complexType name="TopicType">
  <xsd:complexContent>
     <xsd:extension base="wsnt:ExtensibleDocumented">
      <xsd:sequence>
       <xsd:element ref="wsrp:QueryExpression" minOccurs="0" maxOccurs="1" />
       <xsd:element name="Topic" type="wsnt:TopicType"
               minOccurs="0" maxOccurs="unbounded">
           <xsd:unique name="childTopicUniqueness">
                <xsd:selector xpath="wsnt:topic"/>
                <xsd:field xpath="@name"/>
           </xsd:unique>
       </xsd:element>
<!-- fixme: ysimmhan -->
<!-- Content model violates the unique particle attribution rule -->
<!-- <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
-->
     </xsd:sequence>
     <xsd:attribute name="name" use="required" type="xsd:NCName"/>
     <xsd:attribute name="aliasRef" type="wsnt:TopicPathExpression"/>
     <xsd:attribute name="messageTypes" default="xsd:any">
        <xsd:simpleType>
           <xsd:list itemType="xsd:QName"/>
        </xsd:simpleType>
     </xsd:attribute>
     <xsd:attribute name="final " type="xsd:boolean" default="false"/>
   </xsd:extension>
 </xsd:complexContent>
</xsd:complexType>



View the WS Notification : https://forge.gridforum.org/tracker/index.php?func=browse&group_id=43&atid=743 (https://forge.gridforum.org/tracker/index.php?func=browse&group_id=43&atid=743)





More information about the ogsi-wg mailing list