HISTORY.md revision df5496ef3926fd0ea425cd4aa5eb278364c98d5c
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke SmithDataSchema Change History
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith=========================
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith### `dataschema-json`
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith * Added support to accept the results array as input, leaving
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith * Field locators that contain . or [???] now fail over to look for that
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith locator as a single property name rather than a nested value. For example,
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith a locator `"not.nested"` would look for `inputRecord.not.nested` for a
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith value, but if it doesn't find one, it will look for
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith `inputRecord["not.nested"]`. If it finds a value there, it will not look
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith for a nested value for subsequent records.
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith * `getPath` is far more tolerant of locator strings. In particular, it
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith considered utf-8 characters that didn't match the `\w` regex group to be
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith invalid. This is fixed.
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith * Bug 2528429: Added support for locator property to DataSchema.JSON
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith resultFields.
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith * Known Android issues (bugs 2529621, 2529758, 2529775): XML parsing is buggy
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith on the Android WebKit browser.
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith * Set custom parser execution scope to be DataSchema instance.
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith * No changes.
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith * Added support for nested schemas.
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith * Added support for XPath resultListLocator, instead of requiring the use
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith of 'getElementsByTagName'.
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith * Improved support for DOM elements in DataSchema.XML when IE
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith * Field list is now optional for DataSchema.JSON. If omitted, all response
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith data is returned.
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith * Fixed a bug in field resolution where null might be discovered along the
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith resolution path. Now exits gracefully rather than throwing an error.
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith * Support for DOM elements in DataSchema.XML.
df5496ef3926fd0ea425cd4aa5eb278364c98d5cLuke Smith * Initial release.