* Almiro Perez
| And it doesnīt appear anymore XMI.exporterID neither up in the
| document nor down. Itīs true. So, I would like to know if it is
| correct, if itīs correct por XML language.
It is formally correct in the sense that parsers are not required to
complain about this or consider this an error in any way. It is most
likely a bug in the DTD, but it is not one that will cause the DTD to
| Also I would like to know if this is possible in a DTD file, and
| again in a DTD file, not in an XML file:
| <?xml version="1.0" encoding="UTF-8" ?>
| <!ELEMENT XMI (A, C)>
| <!ELEMENT B (#PCDATA)>
| <!ELEMENT A (#PCDATA)>
| <!ELEMENT C (#PCDATA)>
| I know this DTD isnīt very useful and has no meaningful, but just to
| know the language of XML. Is it possible defining B (no more defined
| in the DTD as you see)? Is this code correct?
There is nothing formally wrong with this either. Of course, you've
defined an element that you can't legally use anywhere, but parsers
are not required (or even allowed) to consider that an error.