ZConfig Structured Configuration Library

Derived schemas cannot override description

Reported by Fred Drake on 2008-08-19
2
Affects Status Importance Assigned to Milestone
ZConfig
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).

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) on 2008-12-05
Changed in zconfig:
assignee: nobody → fdrake
status: New → Fix Committed
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  Edit
Everyone can see this information.

Other bug subscribers