Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CollectionNode.java #1075

Merged
merged 1 commit into from Aug 16, 2018
Merged

Update CollectionNode.java #1075

merged 1 commit into from Aug 16, 2018

Conversation

kosky
Copy link
Contributor

@kosky kosky commented May 11, 2018

To be according XEP-0060, the element "items" must contain attribute "node", because it is required.

<xs:element name='items'>
xs:complexType
xs:choice
<xs:element ref='item' minOccurs='0' maxOccurs='unbounded'/>
<xs:element ref='retract' minOccurs='0' maxOccurs='unbounded'/>
</xs:choice>
<xs:attribute name='node' type='xs:string' use='required'/>
</xs:complexType>
</xs:element>

To be according XEP-0060, the element "items" must contain attribute "node", because it is required.

  <xs:element name='items'>
    <xs:complexType>
      <xs:choice>
        <xs:element ref='item' minOccurs='0' maxOccurs='unbounded'/>
        <xs:element ref='retract' minOccurs='0' maxOccurs='unbounded'/>
      </xs:choice>
      <xs:attribute name='node' type='xs:string' use='required'/>
    </xs:complexType>
  </xs:element>
@IgniteRealtime-Bot
Copy link

This pull request has been mentioned on Ignite Realtime Community Forums. There might be relevant details there:

https://discourse.igniterealtime.org/t/xep-0060-pubsub-collectionnode-upon-child-node-creation/81674/1

@akrherz akrherz added this to the 4.3 milestone Aug 15, 2018
@dwd dwd merged commit 4346258 into igniterealtime:master Aug 16, 2018
@kosky kosky deleted the patch-1 branch August 16, 2018 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants