Skip to content

Releases: clbanning/mxj

Allow validating XML produced by encoder

01 Feb 23:19
Compare
Choose a tag to compare

The toggle XmlCheckIsValid() was added to force checking that the encoded XML is valid. (Per Issue #88.)

Add patch digit

25 Jan 14:43
Compare
Choose a tag to compare

It turns out that go get ignores releases without the "patch" digit. For it to pull v2.4, we need a release v2.4.0. Ugh!!!

Add XMLEscapeCharsDecoder option

14 Dec 20:45
Compare
Choose a tag to compare

This preserves XML escaped characters in the Map values. Note: xml.Decoder nominally unescapes these characters when returning xml.CharData values.

Update for readme.md changes in pull request.

28 Oct 15:19
94b5a6b
Compare
Choose a tag to compare
Merge pull request #79 from TomWright/master

Update module package to v2 and update readme

Add go.mod file

28 Oct 14:39
7fe4e10
Compare
Choose a tag to compare
Merge pull request #77 from TomWright/master

Add go.mod to allow mxj to be imported using go modules

Add DisableTrimWhiteSpace option.

16 Sep 19:27
Compare
Choose a tag to compare

Add DisableTrimWhiteSpace option to not trim \x20 from xml.CharData values. (By default they are.)

Improved XML encoding performance.

01 May 15:13
Compare
Choose a tag to compare

Replaced string appends with bytes.Buffer. Performance now scales linearly even to very large XML docs with greater than 480,000 nodes.

Handle parsing errors for mv.Exists arguments.

10 Dec 21:28
Compare
Choose a tag to compare

Previously mv.Exists exited silently on errors encountered when parsing the 'path' argument. Now it reports such errors.

Add MapSeq type and remove probably useless XmlWriter methods.

04 Jul 21:26
Compare
Choose a tag to compare

Minor refactoring - add MapSeq type to reduce confusion and move associated functions and methods from Map to MapSeq.

Breaking change - remove XmlWriter methods that return 'raw' value that is written on the io.Writer. This seems silly and unnecessary. (For those who want it they are just commented out in the source code, so they can be easily restored.)(

Override default decoding of simple element values where there are no attributes.

21 Jan 17:57
Compare
Choose a tag to compare