Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] Validate **against** a schema OR validate **with** a schema?

From: "G. Ken Holman" <gkholman@----------------.--->
To: "'xml-dev@-----.---.---'" <-------@-----.---.--->
Date: 1/22/2009 1:15:00 PM
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@C...
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent