Opened 10 years ago
Closed 5 years ago
#13955 closed defect (patchwelcome)
dojox.json.schema.validate doesn't take into account default values from the schema when calculating validity
Reported by: | nickmaynard | Owned by: | Kris Zyp |
---|---|---|---|
Priority: | high | Milestone: | 1.13 |
Component: | Dojox | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Case in point, validating the JSON core schema against itself:
var coreSchema = dojo.fromJson(STRING contents of http://json-schema.org/schema);
var results = dojox.json.schema.validate(coreSchema, coreSchema);
results.valid is false and results.errors contains 26 items.
Change History (2)
comment:1 Changed 10 years ago by
Owner: | changed from Adam Peller to Kris Zyp |
---|
comment:2 Changed 5 years ago by
Milestone: | tbd → 1.12 |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Given that no one has shown interest in creating a patch in the past 4+ years, I'm closing this as patchwelcome.