Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Applying schema to a document without a schema

From: Jason Tost <no-spam-32-jason@-------.--->
To: NULL
Date: 1/4/2007 4:56:00 PM

At this point I don't know if the concept is even sound according to XML
convention; I am wondering if there is a way to apply a schema I have
locally when parsing a document received from an external source.
Essentially, rather than validating for the purpose of determining
whether a document is well-formed according to a schema that it declares
it conforms to, I want to validate that a document generated by
something else is well-formed according to an offline schema I install
with my app.  In essence, I want to use XML validation to verify that
the contents of a data file are valid, however this must be done on
systems that do not have access to a network connection necessarily, and
 the installation path, and therefore the location of my xsd file, can
vary between installations.  I do not see how to, using MSXML6, to apply
my own schema in the validation of a document; all of the examples I've
seen have the document calling out the schema that it will validate
against, which would require the XML document to be hard coded to some
universally accessible path.

Thanks all!


transparent
Print
Mail
Digg
delicious
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