2006-12-17

Basic Notation, second draft

I've just finished writing a second draft of the specification for Basic Notation 1.0. You can download it in XPS format (267 KB), or PDF format (237 KB).

The changes since the first draft, are:

  • Element names are now optional.
  • The semicolon ':' is no longer a valid name character, but is used as a separator between the name and the child nodes of an element. Empty elements (elements without child nodes) don't need a semicolon.

I've also started writing a .NET library in C#, for reading, writing and manipulating BN data. It has classes for reading BN data (BNReader, similar in functionality to System.Xml.XmlReader), writing BN data (BNWriter, similar in functionality to System.Xml.XmlWriter), manipulating BN data in-memory (BDocument, BNode, BElement, BText and BComment) and serializing objects to BN (BNSerializer).

0 comments: