Hi!
Malcolm Sparks wrote:
> I disagree strongly. Attributes are a core part of the XML
> specification. Which attributes need to be multiline?
Specifically the Description tag.
> Consistency is achieved through effective DTD based validation, the
> current DTD encourages document inconsistency. One of the best things
> about XML is that you can define the DTD so that the parser does much
> of the validation work for you. Describing validation in comments in
> the DTD suffers from ambiguity and requires each vendor to write new,
> potentially buggy code to do validation that could be done, for free,
> by well-tested parsers.
But since a validator will be released from JavaSoft, wont that solve
the "requires each vendor to write.." issue?
> Another example, is XML linking. The current EJB DTD forces each
> vendor to ensure that links are completely specified, for example,
> between EJBs and datasources, ie. not dangling. By using the standard
> ID and IDREF attributes, the XML parser would be able to ensure this
> without the need for application logic.
Right on!
> > I don't see this as a problem as editors will be used to edit the XML
> > files, and there will be validators available which cover all nasty
> > rules.
>
> This IS a problem. Another good thing about XML is that it can be read
> and edited without special software. In any case, a good DTD will make
> it easier to write these tools, enhance portability of deployment
> descriptors, and improve overall quality.
Agree, sort of. It will be more convenient to use editors, but granted
sometimes Notepad is unbeatable ;-)
> My main point is that the spec. should try to make bean portability as
> viable as possible. We all respect standards, otherwise we wouldn't be
> on this list in the first place! My suggestion is that years of
> experience in good DTD design from other parts of the industry should
> be utilised before the spec. is finalised.
Well, at least when the typos and errors have been smashed out of the
current DTD+example it will probably be fine.
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684
===========================================================================
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".