×

Grammar generation for simple datatypes

  • US 10,282,400 B2
  • Filed: 03/05/2015
  • Issued: 05/07/2019
  • Est. Priority Date: 03/05/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving an extensible markup language schema definition (XSD) including a first element having a first simple datatype and a second element having a second simple datatype different from the first simple datatype;

    generating a grammar based on the XSD, the grammar associated with encoding and decoding an extensible markup language (XML) document based on the XSD to and from efficient XML interchange (EXI) streams, the grammar being associated with the first simple datatype and with the second simple datatype based on the first simple datatype and the second simple datatype both being simple datatypes, the grammar being associated with the first simple datatype and with the second simple datatype using fewer resources than having separate grammars for each of the first simple datatype and the second simple datatype;

    generating a normalization associated with the XSD, the normalization including the grammar;

    receiving the XML document based on the XSD, the XML document including;

    first characters associated with the first element and the first simple datatype; and

    second characters associated with the second element and the second simple datatype; and

    encoding the XML document as an EXI stream, including;

    encoding the first characters according to the grammar of the normalization in which the grammar of the normalization is associated with all simple datatypes of the XSD;

    adding a first event type identifier to a stack of the EXI stream such that the first event type identifier is associated with the encoded first characters; and

    encoding the second characters according to the grammar.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×