OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Validate **against** a schema OR validate **with** a schema?

At 2009-01-22 07:26 -0500, Costello, Roger L. wrote:
>Consider these two statements:
>1. I validated the XML instance document against the schema.

... when I'm using validation to check conformance to document constraints.

>2. I validated the XML instance document with the schema.

... when I'm using validation to augment my XML with type information 
from the schema on my way in to my stylesheet or application.  After 
all, the same XML with two different schemas can supply different 
information to the stylesheet or application.

>Which is the proper statement? Or are they both proper?

I think they each have their use.

>Or is there some other way that is proper?

"proper" for what?  If you are worried about a particular word 
conveying the wrong meaning, ask yourself what the danger is of the 
term being misinterpreted.  I'm not sure if there really is a worry 
... while I clearly see the difference in the two above, I doubt my 
customers would see it or care.

I hope this helps.

. . . . . . . . . Ken

Upcoming XSLT/XSL-FO, UBL and code list hands-on training classes:
:  Sydney, AU 2009-01/02; Brussels, BE 2009-03; Prague, CZ 2009-03
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video lesson:    http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
Video overview:  http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/x/
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/x/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS