Skip to content

v0.3

Compare
Choose a tag to compare
@Phrogz Phrogz released this 13 Feb 00:23
· 52 commits to master since this release
  • Support namespaces for elements and attributes
    • <foo xmlns="barURI"> will call startElement("foo",nil) followed by
      namespace("barURI") (and then attribute("xmlns","barURI",nil));
      you must apply the namespace to your element after creation.
    • Child elements without a namespace prefix that inherit a namespace will
      receive startElement("child","barURI")
    • <xy:foo> will call startElement("foo","uri-for-xy")
    • <foo xy:bar="yay"> will call attribute("bar","yay","uri-for-xy")
    • Runtime errors are generated for any namespace prefix that cannot be resolved
  • Add (optional) DOM parser that validates hierarchy and supports namespaces