Rickard �berg wrote:
> ps. BTW, the whole XML/DTD chapter in the EJB1.1 spec is terribly buggy.
> I've currently reported 9 errors/major typos, so if something seems
> confusing it's probably wrong... the XML example isn't even parseable..
> ah well... ds.
The most serious omission is the system ID for the DTD. The XML spec clearly states
that when
using the PUBLIC keyword in the document type declaration, there should a pair of
public ID and
system ID. Currently, only the public ID is defined. Any validating XML parser should
throw an
error when parsing the example depolyment descriptor as given.
In addition, the XML declaration is missing at the start of both the DTD and sample
document.
Every valid DTD and XML document should starts with at least a <?xml version="1.0" ?>
declaration. Without this declaration, they are only considered well-formed, not valid.
Other nice to have:
1) namespace for the elements
2) default name for the DTD (this should be defined in the system ID)
3) default file extension for the deployment descriptor
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".