On Wed, 28 Sep 2005, Julian Reschke wrote:
> Lieven Govaerts wrote:
> > The main disadvantage of DTD's is the lack of declaration of the data types,
> > every piece of data is a string and that's it. That may not be important
> > for users reading the generated xml, but it sure is for applications
> > reading and parsing the xml.
>
> So are you talking about automated code generation? Otherwise I don't
> see how it matters *how* the recipient learns that something is - for
> instance - an integer.
>
As julian Foad pointed out sometime ago, we could ensure that we don't
screw up with additional test cases that validate against the schema,
including data types.
> > The big advantage of DTD files is simplicity, it's very easy to read and
> > understand.
> >
> > What would be the benefits of RelaxNG over XSD? I've never used it before
> > ( every company I've worked for uses XSD ).
>
> Mainly readability. But this place is certainly not the right one to
> start a schema language discussion.
>
Certainly not:-) But I strongly agree with you. Let me try to do it in RNC
and see how well it converts to XSD automatically. That might make us all
happier.
Regards,
//Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 28 10:36:38 2005