Subject: | 2 bugs detected in XSD.pm |
Hi I've fount the following errors so far.
In the documentation: lines 54 and 58. This is the right way to state
the simpleTypes. In the actual file it was simpleTypes=>[....] and that
gived an error about trying to coerce an array into a hash.
simpleTypes => {
confirm => { base => 'id', match => '/input/password' },
rname => { base => 'name', minLength => 1 },
password => { base => 'id', minLength => 6 },
},
On validate method:
I added this: $self->{'data'} = $data; on line 303 since it was not
stated anywhere and that lead to errors since the Data won't be loaded
anywhere and get lost. That happens when I was trying to use the
example the author gave and no match was possible.
I'm attaching the File with the things I edited to fix the bug, hope it
helps.
Subject: | XSD.pm |
Message body is not shown because it is too large.