GML Syntax Validator
Yesterday we announced the GML 1.0 spec, a canonical reference for what constitutes Graffiti Markup Language. Today I’m pleased to announce the GML Syntax Validator, a tool to help developers working on new GML applications debug & optimize their Graffiti Markup Language files. Just say “NO!” to bad GML.
A “Validate This” button is now available in the sidebar of every 000000book tag page, or you can upload GML directly via file, form, or a simple API. Check out some example usage.
This is a beta release and bugs/feedback are much appreciated — please email me & Evan or hit up your friendly neighborhood GML mailing list
What does it validate?
- overall document syntax (valid XML)
- presence of all required GML tags (bottom of the page – drawing, stroke, tag, pt, x/y)
- verifies point data falls between 0.0 and 1.0 values
- client description (info about your app)
- your
<environment>description (e.g.<up>vector &<screenBounds>, since all screens are different) - recommendations — e.g. adding a consistent
value, like an iPhone UUID or hashed computer MAC address. This allows users to enable 00000book [device pairing](https://fffff.at/000000book-more-tags-in-more-places) for tags uploaded from your app  *The Speaks GML badge, for apps that read and write .gml files.*
This post also on:
- fffff.at (September 2, 2010)
