3.2.1 Emphasize on undefined cps

Dear editors,

after a short discussion in comp.lang.xml, I'd like to submit a
request for clarification in section '3.2.1 Element Content' of
REC-XML-19980210. 

Make clear how an XML processor should behave if the Name used in
[48]cp references an undeclared element.

The example:
<?xml version="1.0"?>
  <!DOCTYPE p [
  <!ELEMENT Unused (refA, refB, refC)>
  <!ELEMENT p (#PCDATA)>
  ]>
<p> foo </p>

is valid with respect to the spec. In accordance to section '3.3
Attribute-List Declarations' something like 'At user option, an XML
processor may issue a warning if elements referenced as content
particles are not itself declared.' should be added to section '3.2.1
Element Content'. 

Some parser already issue warnings for this case, others don't.

Please let me know, if the above does NOT describe the bahaviour
intended by the XML Spec.

Best Regards,

Oliver Meyer

Received on Thursday, 4 March 1999 07:31:41 UTC