Derived schemas cannot override description
Bug #259475 reported by
Fred Drake
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ZConfig |
Fix Released
|
Undecided
|
Fred Drake |
Bug Description
Schemas that derive from schemas that provide a schema description can't override the description to provide their own description. Instead, they get this exception:
SchemaError: at most one <description> may be used for each element (line 8, column 2)
(where the location information at the end may vary).
Changed in zconfig: | |
assignee: | nobody → fdrake |
status: | New → Fix Committed |
To post a comment you must log in.
I think the right thing to do is to allow a description in the derived schema, as expected, but if none is provided, inherit the description from the base schema since that would maintain the existing behavior for working schemas.