newsdev / archieml.org

The archieml.org website and hub for specification development
Other
81 stars 5 forks source link

Objects are broken, or deviate significantly from original spec. #29

Open adrian-the-git opened 8 years ago

adrian-the-git commented 8 years ago

Ever since support for freeform arrays was added [to the js implementation in commit a89c313], regular objects have not "closed" their scope the way they used to.

archieml.org courtesy of the wayback machine:

Before

archieml.org now:

After

The written spec says "the namespace defined by an object block should persist until either A) a new object block or array is defined, or B) an empty object or array key ({} or []) is encountered" so this is broken.