Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: nico <ndebeiss@-----.--->
To: "Costello, Roger L." <costello@-----.--->
Date: 1/22/2009 12:42:00 PM
Sorry for seeing the glass half empty, but I would say validate the XML instance document against the schema.
From a developer point of view, I fully understand the purpose of checking the input and have an understandable error message if input is not valid, but when I want to make tests files in order to be able to execute my code, it is always painful to have to enter all the fake data in order to pass that validation step :-).

I think any XML designer should allow a "test mode" in its schemas in order not to have to fill all the XML data before being able to execute the code we want to test.
It is a kind of checking a XML and let him pass if it is correct, so I think the proper statement is "against the schema", like a protection wall.


Regards
Nico
http://debeissat.nicolas.free.fr/

2009/1/22 Costello, Roger L. <costello@m...>



Hi Folks,



Consider these two statements:



1. I validated the XML instance document against the schema.



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





Which is the proper statement? Or are they both proper? Or is there some other way that is proper?



/Roger

_______________________________________________________________________



XML-DEV is a publicly archived, unmoderated list hosted by OASIS

to support XML implementation and development. To minimize

spam in the archives, you must subscribe before posting.



[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/

Or unsubscribe: xml-dev-unsubscribe@l...

subscribe: xml-dev-subscribe@l...

List archive: http://lists.xml.org/archives/xml-dev/

List Guidelines: http://www.oasis-open.org/maillists/guidelines.php


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