Derived schemas cannot override description

Bug #259475 reported by Fred Drake
2
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).

Revision history for this message
Fred Drake (fdrake) wrote :

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.

Fred Drake (fdrake)
Changed in zconfig:
assignee: nobody → fdrake
status: New → Fix Committed
Revision history for this message
Fred Drake (fdrake) wrote :

Fix released in ZConfig 2.6.1.

Changed in zconfig:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.