Opened 10 years ago

Closed 6 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:


Case in point, validating the JSON core schema against itself:

var coreSchema = dojo.fromJson(STRING contents of;
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 Adam Peller

Owner: changed from Adam Peller to Kris Zyp

comment:2 Changed 6 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in the past 4+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.