Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. parsing binary xml with Qt
Forum Updated to NodeBB v4.3 + New Features

parsing binary xml with Qt

Scheduled Pinned Locked Moved Solved General and Desktop
xml parsingqxmlstreamreadebinary format
11 Posts 2 Posters 4.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mrjj
    Lifetime Qt Champion
    wrote on 26 Nov 2017, 13:28 last edited by mrjj
    #2

    Hi
    What type of binary XML ?
    Do you mean the very old
    "Binary XML Content Format Specification" ?
    a so called WBXML file ?

    Often used with the sync frame work on windows/ mobile stuff ?

    If you look around you might find some libs you can use
    https://github.com/libwbxml/libwbxml

    I think it would be possible to write a brand new lib from scratch using
    Qt alone but its a pretty big spec...
    http://www.openmobilealliance.org/tech/affiliates/wap/wap-192-wbxml-20010725-a.pdf

    1 Reply Last reply
    2
    • A Offline
      A Offline
      ainu
      wrote on 26 Nov 2017, 14:09 last edited by
      #3

      Hi mrjj, thank you for your reply, actually i also looked through the very same src on github while i was thinking about 3rd lib party. As for requirements for the lib they are a bit specific as the binary standard was build in the organisation i am working on. well i just thought if it is possible to use something from qt itself.

      M 1 Reply Last reply 26 Nov 2017, 14:22
      1
      • A ainu
        26 Nov 2017, 14:09

        Hi mrjj, thank you for your reply, actually i also looked through the very same src on github while i was thinking about 3rd lib party. As for requirements for the lib they are a bit specific as the binary standard was build in the organisation i am working on. well i just thought if it is possible to use something from qt itself.

        M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 26 Nov 2017, 14:22 last edited by mrjj
        #4

        @ainu
        hi
        Well Qt has XML parser but its not for anything binary as far as i know.
        Dont the organisation have a parser then ?

        A 1 Reply Last reply 26 Nov 2017, 14:36
        0
        • M mrjj
          26 Nov 2017, 14:22

          @ainu
          hi
          Well Qt has XML parser but its not for anything binary as far as i know.
          Dont the organisation have a parser then ?

          A Offline
          A Offline
          ainu
          wrote on 26 Nov 2017, 14:36 last edited by
          #5

          @mrjj regretfully not, they don't. It is my current task to implement it.
          Thank you for your help.

          M 1 Reply Last reply 26 Nov 2017, 14:43
          0
          • A ainu
            26 Nov 2017, 14:36

            @mrjj regretfully not, they don't. It is my current task to implement it.
            Thank you for your help.

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 26 Nov 2017, 14:43 last edited by
            #6

            @ainu
            Oh so its not strictly WBXML but something close?

            A 1 Reply Last reply 26 Nov 2017, 18:34
            0
            • M mrjj
              26 Nov 2017, 14:43

              @ainu
              Oh so its not strictly WBXML but something close?

              A Offline
              A Offline
              ainu
              wrote on 26 Nov 2017, 18:34 last edited by
              #7

              @mrjj yeah, i thought that qt class QWbXmlReader would be the closest to mine and so i checked WBXML also ( well actually at first i checked WBXML as i read wikipedia at first to find at least basic information on binary representation of XML ) but truly speaking even despite that i understand that each lib has its own implementation ( and its prons and cons ) my choice of the lib was mostly based on its documentation i.e. if it has good manual or not. I am really very new to this topic ((
              Another good library ( as it seems, for me ) can be EXI as it has really good description
              What do you think? Have you ever tried it?

              M 1 Reply Last reply 27 Nov 2017, 07:15
              0
              • A ainu
                26 Nov 2017, 18:34

                @mrjj yeah, i thought that qt class QWbXmlReader would be the closest to mine and so i checked WBXML also ( well actually at first i checked WBXML as i read wikipedia at first to find at least basic information on binary representation of XML ) but truly speaking even despite that i understand that each lib has its own implementation ( and its prons and cons ) my choice of the lib was mostly based on its documentation i.e. if it has good manual or not. I am really very new to this topic ((
                Another good library ( as it seems, for me ) can be EXI as it has really good description
                What do you think? Have you ever tried it?

                M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 27 Nov 2017, 07:15 last edited by
                #8

                @ainu

                Hi
                Nope I have not used EXI but since its seems vastly newer ( last changed 2016-11-02)
                i would go with that. Adding that documentation seems really good, it would surely try
                a few tests with it to see if could be used. Also if possible to contain the internal format into
                XMPP structure, it would be added benefit of interoperability and following a standard.

                So yes. seems like a good idea if it fits the specs.

                A 1 Reply Last reply 27 Nov 2017, 10:18
                1
                • M mrjj
                  27 Nov 2017, 07:15

                  @ainu

                  Hi
                  Nope I have not used EXI but since its seems vastly newer ( last changed 2016-11-02)
                  i would go with that. Adding that documentation seems really good, it would surely try
                  a few tests with it to see if could be used. Also if possible to contain the internal format into
                  XMPP structure, it would be added benefit of interoperability and following a standard.

                  So yes. seems like a good idea if it fits the specs.

                  A Offline
                  A Offline
                  ainu
                  wrote on 27 Nov 2017, 10:18 last edited by
                  #9

                  @mrjj thank you for your reply. I will give it a try.

                  M 1 Reply Last reply 27 Nov 2017, 10:20
                  1
                  • A ainu
                    27 Nov 2017, 10:18

                    @mrjj thank you for your reply. I will give it a try.

                    M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 27 Nov 2017, 10:20 last edited by
                    #10

                    @ainu

                    Happy programming and good luck

                    A 1 Reply Last reply 28 Nov 2017, 12:16
                    1
                    • M mrjj
                      27 Nov 2017, 10:20

                      @ainu

                      Happy programming and good luck

                      A Offline
                      A Offline
                      ainu
                      wrote on 28 Nov 2017, 12:16 last edited by
                      #11

                      @mrjj thank you)

                      1 Reply Last reply
                      0

                      11/11

                      28 Nov 2017, 12:16

                      • Login

                      • Login or register to search.
                      11 out of 11
                      • First post
                        11/11
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved