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

Representation of the second example on bsonspec.org is incorrect

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: drivers
    • Labels:
      None

      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

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

              Created:
              Updated:
              Resolved:
              11 years, 24 weeks, 4 days ago