Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML Schema

 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are several XML schema(RELAX NG) in existence apart from W3C XML schema. I dont understand understand , why do we need these schemas?
Can any one tell me. Thanks.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe the different schema languages (such as Relax NG) are trying to "fix" some deficiencies in the W3C XML Schema, i.e. make it easier to specify schemas for XML documents.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lasse,
My opinion- The deficines in W3C schema language needs to be fixed rather than creating new schema languages. This will lead to confusion and organization will start to use some schema language which may not work with another schema language(I am not sure whether I am right here). What is opinion?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it would be nice to have a single, perfect schema definition language. However, that is rarely possible in the real world. Besides, if there wasn't competing standards, would it really be better for us in the long run?
 
Elliotte Rusty Harold
author
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is addressed in depth in item 24 of Effective XML, "Choose the right schema language for the job." Bottom line: no one schema language can solve all needs any more than one programming language can. Different languages have different strengths and weaknesses. A diverse collection of schema languages is a healthy development for XML.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic