Skip to content

v0.6

Compare
Choose a tag to compare
@Phrogz Phrogz released this 18 Apr 22:16
· 22 commits to master since this release
  • Fixes Issue #5 (and more): Namespace prefixes defined on element are now properly applied to the element itself and any attributes using them when the definitions appear later in source than the prefix usage. (Thanks Oliver Kroth.)

  • The streaming parser now supplies the namespace prefix for elements and attributes. (This is backwards-compatible; it is a new extra parameter at the end of the function.)

    parser = SLAXML:parser{
      startElement = function(name,nsURI,nsPrefix)       end
      attribute    = function(name,value,nsURI,nsPrefix) end
      closeElement = function(name,nsURI)                end
    }