At 10:16 AM -0800 2/16/05, Don Brown wrote:
Technically, moving to XML schema would be easy :) I wonder why we use DTD now. If it is Java support, you could use a supplemental library for Java 1.3 or earlier. Perhaps it is complexity? (although in the end, schema would be a huge simplification IMO)

There was a time when Struts depended on a validating parse against the DTD to fill in default values; those have all been factored out.


I prefer RelaxNG to XML Schema, but from a bit of searching, I'm still not clear about how to validate in a universal way. I've used the Sun Multi-schema-validator with it, but I'm not sure that we can expect everyone's JAXP implementation to be able to validate against RelaxNG.

I was excited about XML Schema for a few weeks, but I soured on its verbosity; still, it's probably better than using a DTD.

Joe

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to