- Added utility class for headers. Modified request wrapper to not split headers on commas by default.
- Updated Dependencies
- jackson-databind: 2.1.5 → 2.2.3
- json-schema-validator: 2.1.6 → 2.1.7
- Initial support for JSON Schema. Currently a single JSON schema can be associated with the WADL. Validation is applied to all JSON media type requests unless a resource or representation is marked with rax:ignoreJSONSchema="true"
- Fixed a bug where a representation without a mediatype was being processed as if it were an XML media type
- WADL-Tools updated to 1.0.15 which addresses some issues when handling namespaces in X-PATHs
- Configuration has new XSD-Engine setting which makes clear which XSD validator should be used
- JSON is now processed with Jackson processor
- WADL-Tools updated to 1.0.14 which reduces noise on console when processing a WADL
- Updated Dependecies
- scala: 2.9.1 → 2.9.3
- scala-test: 1.6.1 → 1.9.1
- scala maven plugin: 2.15.1 → 3.1.3
- xerces: 2.12.0-rax → 2.12.1-rax
- wadl-tools: 1.0.12 → 1.0.13
- jetty: 6.1.22 → 8.1.1.20120215
- There is now a priority when interpreting multi-fail results
- Resolved bug where NPE is possible if XSD types are specifed in a WADL without a grammar
- Updated WADL Tools to 1.0.12 to fix issue where some resource types were dropped during WADL normalization
- Added destroy method in validator to do general cleanup
- rax:message and rax:code extensions can now apply to Headers
- Allow header is now set on 405 error as required by HTTP RFC
- Resolved bug where error states were not always handled correctly by removed dups optimization
- Resolved bug where results were not converted correctly to strings
- Updated Saxon 9.4.0.4 -> 9.4.0.6
- All RAX extensions are now enabled by default
- Test framework is now exported as a jar, so you can use api-checker in JUnit tests
- Resolved Bug here XPath pool was not taking namespace context into account
- Resolved Bug where HREFs in a WADL artifacts (XSDs, XSLs) were not handled correctly when using relative paths
- Resolved Bug where preprocess extension was forcing a well-formness check
- Resolved Bug where preprocess extension was losing data when the join dups optimization was enabled
- Extend join-dups optimization to work with headers with a fixed value
- Plain parameters can now have a customizable error response code set
- Increased the amount of memory needed to compile core
- Resolved a number of bugs dealing with the joinDups optimization
- Cleaned up all optimizations, it is now possible to share code between optimization stages
- Added rax:message extension which allows for friendlier error messages when validation for WADL plain parameters fails
- Added friendly error messages to checker XSD assertions
- JMX Instrumentation of the Validator
- Provides overall stats on validator
- Visibility on resource pools
- JMX access to DOT and XML representations of the state machine
- Validators can now be assigned names so they can be identified via JMX
- JMX handler (instrumented handler) which provides additional JMX info
- Most frequently occurring errors
- Stats on each validator state
- Extend Header checks to support multiple header values
- Extend Header checks to support fixed header values
- Fix bug where resource with a path "/" is not correctly handled
- Integrate with WADL Tools 1.0.9
- Media Type ranges (for example text/* and */*) are now supported
- Media Type parameters (application/xml;version=2) are now ignored when validating
- Media Type charset parameter is now supported (application/xml; charset=UTF-16)
- Wadl2Checker CLI Util now supports xpath-version argument
- Required Header checks can now be enforced on request or representation
- Added support for ignore XSD extension -- to avoid performing XSD checks on request or representation
- Ensure that relative paths always work in CLI utilities
- Ensure that validation does not require a SAXON license
- Create saxon schema factory directly instead of relying on System property
- Killed outdated samples directory
- Slight optimization when checking XML well formness stop parsing as soon as first error is detected.
- Now support embedded XSLT in preproc extension in addition to href
- New optimization joinXPathChecks -- this merges XML well formness stages with multiple xpath stages
- Update to latest version of Saxon 9.4 (9.4.0.4)
- URI checks, including template parameters with types defined by XSD
- Method checks
- Content-Type checks
- Well formed checks for both JSON and XML
- Root element checks in XML
- Required plain parameter checks in XML (assertions using XPath 1.0/2.0)
- Full XSD 1.1 validation of content backed by Xerces or Saxon
- Preprocess extension: clean up/transform content before validation
- Correctly handle cases where versioning is not done via URI
- Correct error handling for missed checks (404 for URI, 405 for method etc) most checks have human readable messages: Found (server) expected (servers | images | flavors)
- Flexible configuration (any check can be enabled/disabled)