Ticket #1136 (new defect)
plugin XML nameless help cannot validate
| Reported by: | mikelietz | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.8 |
| Component: | Documentation | Version: | SVN |
| Keywords: | xml, pluggable, plugin | Cc: |
Description
When running a pluggable XML <help> that does not have a name is invalid per the schema.
DOMDocument::schemaValidateSource() [function.DOMDocument-schemaValidateSource]: Element 'help': The attribute 'name' is required but missing.
Try it yourself: Try to validate this core plugin XML in the Pluggable validator.
Change History
comment:3 Changed 2 years ago by rickc
The relevant section of the schema is:
<xs:element name="help">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="value"/>
</xs:sequence>
<xs:attribute name="name" use="required" type="xs:NCName"/>
</xs:complexType>
</xs:element>
which appears to be saying the name attribute is required. Our documentation says it isn't, nor have we used it in any of the core plugins. If we don't want to require it the schema should be changed.
Note: See
TracTickets for help on using
tickets.

Is this a bug?