Граф коммитов

577 Коммитов

Автор SHA1 Сообщение Дата
Michael Fanning 8f52c853f4 Update JSON.NET reference to 6.0.8. Remove erroneous SARIF reference from dotnet project. 2017-09-05 18:01:09 -07:00
Michael Fanning 22e63b7291 Update schema validation exception doc comment 2017-09-05 17:56:47 -07:00
Michael Fanning 4b96c0b8a9 Refactor to eliminate SARIF dependency in core jschema library 2017-09-05 15:20:29 -07:00
Michael Fanning 86cda2f6f8 Refactor SARIF dependency out of core json schema dll. 2017-09-05 13:47:57 -07:00
Larry Golding fc5f72e957 Upgrade to sarif-sdk 1.5.31 2016-09-03 06:50:30 -07:00
Larry Golding 421d2ade9d Upgrade to sarif-sdk 1.5.30 2016-09-01 16:54:12 -07:00
Larry Golding 02ceee0340 Introduce string extension methods to build JSON Pointers 2016-09-01 15:40:13 -07:00
Larry Golding 6f685c9e9a Upgrade to sarif-sdk 1.5.29; bump version to 0.46.0 2016-08-30 07:19:23 -07:00
Larry Golding ea78ee4abe Bump version to 0.45.0 2016-08-24 09:09:30 -07:00
Larry Golding 15d102882e Fix a HintPath for Sarif.dll 2016-08-24 08:44:09 -07:00
Larry Golding 4c001e100f Update to Sarif.Sdk 1.5.27 2016-08-24 08:37:31 -07:00
Larry Golding 1159360d03 Update README with OSS Code of Conduct 2016-06-21 15:06:55 -07:00
Larry Golding 82ecdd9645 Support JSON Pointer JSON string format
Unescape \ and ", but don't yet handle 0x00-0x1F
2016-06-15 08:19:37 -07:00
Larry Golding 9110a92f96 Support JSON Pointer URI fragment identifier format 2016-06-15 07:12:21 -07:00
Larry Golding 01d84404e8 Create NuGet package for Json.Pointer 2016-06-12 17:02:38 -07:00
Larry Golding ec8dc3cdcb Handle error cases: array index out of range, and "neither object nor array" 2016-06-12 16:39:46 -07:00
Larry Golding dc5693f2db Handle error case: invalid array index 2016-06-12 16:17:32 -07:00
Larry Golding 4b84e28853 Evaluate array references 2016-06-12 16:11:14 -07:00
Larry Golding 4b725276e2 Unescape tilde and solidus
This revealed a bug in the pointer regex, so fix that too.
2016-06-12 15:49:06 -07:00
Larry Golding 596c44ca20 Evaluate object pointer reference 2016-06-12 15:20:37 -07:00
Larry Golding 5837fe6e85 Trivial evaluation test case: empty pointer 2016-06-12 14:45:06 -07:00
Larry Golding 612ddf617d "Validity" tests are better named "parsing" test 2016-06-12 13:08:57 -07:00
Larry Golding a15ea49911 Parse pointer into reference tokens 2016-06-12 12:45:32 -07:00
Larry Golding 51d5cba9e1 Add JPointer.ReferenceTokens property 2016-06-12 12:19:34 -07:00
Larry Golding 7350aad813 Add logic to check validity in unit tests. 2016-06-12 12:12:01 -07:00
Larry Golding 6f58e88ae9 Make ReferencesTokens an ImmutableArray 2016-06-12 11:42:51 -07:00
Larry Golding 3bcfa71370 Empty pointer test case 2016-06-12 11:34:08 -07:00
Larry Golding d6c9499f06 Add ValidityTestCase class and use Theory 2016-06-12 10:08:11 -07:00
Larry Golding 6b90b16d19 Add FluentAssertions, Xunit, and trivial test for JsonPointer. 2016-06-11 19:00:57 -07:00
Larry Golding 029b69a6ed Add project reference from Json.Pointer.UnitTests to Json.Pointer 2016-06-11 18:49:20 -07:00
Larry Golding fa70c50f2c Add empty Json.Pointer.UnitTests project 2016-06-11 18:47:43 -07:00
Larry Golding f2f84ee47e Add empty Json.Pointer project 2016-06-11 18:42:40 -07:00
Larry Golding d8d9ec4a04 Adjust public keys after losing GeneratedKey.snk 2016-06-09 19:14:41 -07:00
Larry Golding 7cb7a58e32 0.43.0: Vaidate "dependencies" keyword. 2016-06-04 06:39:20 -07:00
Larry Golding 760f04c9dd Fix bug in ValidateSchemaDependency
Didn't work when the instance schema referenced a definition. Added unit test. This case isn't covered by the JSON Schema Validation Suite.
2016-06-03 17:02:16 -07:00
Larry Golding 3dd0a2e234 Validate dependencies 2016-06-03 06:50:01 -07:00
Larry Golding de201405fa Read 'dependencies' property (but don't yet validate it) 2016-06-02 16:45:49 -07:00
Larry Golding 026f7fef64 Validate items/additionalItems
... according to sections 5.3.1 and 8.2 of the JSON spec.
2016-06-02 12:49:41 -07:00
Larry Golding b598a4ff58 Add additionalItems property (but don't validate it yet) 2016-06-01 17:10:59 -07:00
Larry Golding 505c1febd8 Properly implement object property validation
... according to sections 5.4.4 and 8.3 of the JSON schema spec.
2016-06-01 11:19:37 -07:00
Larry Golding 67e31885c5 0.42.0: AttributeHint.NamepsaceName, sort System usings first 2016-05-29 07:15:27 -07:00
Larry Golding b1f1380c8b Sort usings with System namespaces first 2016-05-29 07:11:33 -07:00
Larry Golding ec4b4407a4 AttributeHint supports NamespaceName 2016-05-29 06:55:02 -07:00
Larry Golding 41b7789380 0.41.0: Add missing binaries to ToDotNet package 2016-05-28 14:17:35 -07:00
Larry Golding 3d46941e82 0.40.0: Support multiple AttributeHints on a property 2016-05-28 13:49:14 -07:00
Larry Golding 102c974988 Fix multipleOf for small numbers 2016-05-27 14:28:31 -07:00
Larry Golding de3ba8c733 Take account of surrogate pairs for minLength/maxLength 2016-05-27 14:04:19 -07:00
Larry Golding 545f84cf2b 0.39.0: Validator tool creates SARIF log 2016-05-27 13:51:07 -07:00
Larry Golding e952400930 Fix accidentally committed changes to test data file. 2016-05-27 13:03:11 -07:00
Larry Golding f66d7613b9 Validator: Report unhandled exceptions as tool notifications 2016-05-27 12:59:02 -07:00