incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Incubator Wiki] Update of "SynapseProposal/synapseobject" by Soumadeep
Date Thu, 23 Mar 2006 05:06:39 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Incubator Wiki" for change notification.

The following page has been changed by Soumadeep:
http://wiki.apache.org/incubator/SynapseProposal/synapseobject

------------------------------------------------------------------------------
  
  From a generic standpoint both give the notion of a person’s address, XML-1 in this context
could be treated as more appropriate as it depicts that a contact has attributes in the form
of objects, where each composite object within has an identity of it’s own or each of then
can exists even if the contact object is not present but if you think deep, would they meaningfully
exist? Not really. At such a granular level it would become a nightmare to maintain them,
there could be two people with the same name.  
  On the other hand XML-2 is more of a wysiwyg (What you see is what you get) but readability
wise maybe not be that great. 
- There are different schools of thought in using XML but then XML has been conceived in a
fashion, which allows representation of data in any way users wish to put it. 
+ There are different school of thoughts in using XML but then XML has been conceived in a
fashion, which allows representation of data in any way users wish to put it. 
  This of course gives immense control to the person who is writing it but then introduces
a whole lot of ambiguity when a different person gets it. The reason being the context is
lost in transmission.  At one end there is a whole lot of flexibility and on the other end
ambiguity.
  
  To resolve this issue, XSDs have been used to validate xmls from either end and provide
some control for type validation. Going forward Data-binding mechanisms have provided users
to produce classes/jars from an XSD and then using XMLs(conforming to the XSD) generate instances
that could be used for performing certain tasks. 

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message