[Home] [By Thread] [By Date] [Recent Entries]


Tim Bray wrote:
> Jeni Tennison wrote:
> 
>> As a W3C XML Schema user, I'm frustrated by the inability to actually
>> get at all the "interesting" information that validation against a
>> schema adds to a document, and want XPath 2.0 to give me that
>> mechanism. 
> 
> 
> The problem with that wordview is that Xpath/Xquery are clearly mostly 
> going to be used at application run-time.  I think the proportion of 
> cases where XMLSchema validation happens at application run-time is 
> going to be way short of 100%.  I personally think's actually going to 
> be way short of 25%, it's useful for design support and debugging but 
> it's just not at the right level for business-logic validation.

There is a faith out there that schemas are the right way to bootstrap 
from the world of dynamically typed XML to the world of statically typed 
C# and Java. It is thought that this will enhance, rather than degrade 
performance by pushing type conversion from application logic down into 
infrastructure. I don't personally believe this myself but I think that 
you need to understand it to understand the schema mindset.

  Paul Prescod



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member