[relaxng-user] "Converting DTDs (and DTD developers) to RELAX NG schemas" paper

David Carlisle davidc at nag.co.uk
Tue Nov 25 12:36:48 ICT 2003



>> What are the objections to having XSD as the master, and using
>> relax ng as and when via trang? Is that viable?
>
>The chief objection is that Trang can't do that: it doesn't accept
>XML Schemas as input.

The other objection, even if trang (or some other system) could read
xsd, is that if xsd is the master then can't express many of the
constraints that you want to express. Especially (in my case)
constraints on attributes where XSD is no better than DTD, just harder
to read, but Relax NG can constrain attributes in pretty much the same
way as elements.

David



________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


More information about the relaxng-user mailing list