Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-447

Representation of the second example on bsonspec.org is incorrect

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • drivers
    • None

    Description

      The second example (see the bottom of the page) on http://bsonspec.org/#/specification shows an incorrect representation for the provided document (the one that starts

      {"BSON": ... }

      . Among the problems:

      • The terminating NULL for the cstring 'BSON' is shown as \x00&
      • Another byte is printed as 0x020 a bit later on
      • Yet another byte is printed as \x011
      • Yet another byte is printed as \x14@
      • Yet another byte is printed as \x102

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 14 weeks, 2 days ago