Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support attribute for xmpp messaging
Currently, XML for xmpp message doesn't support attribute declaration. Example: Mobility extended community needs two information. sequence number and sticky bit In the current schema, this needs to be defined as two different element. <xsd:element name="sequence-number" type="xsd:integer"/> <xsd:element name="sticky" type="xsd:integer"/> This will add two xml nodes to xmpp message making it more verbose and bulky <xmpp-message> <sequence-number> 1 </sequence-number> <sticky> False </sticky> </xmpp-message> This xmpp message can be represented with one XML node with attributes. <xmpp-message> <mobility seqno="2" sticky="true" /> </xmpp-message> Add support for XML attribute in schema and auto generation of types/parser code Change-Id: Idbd238ec414f7b18c897c8482cfdff04c0f77876 Related-bug: #1645092
- Loading branch information
Showing
3 changed files
with
164 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters