 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Dave Brown Guest
|
Posted: Fri Feb 18, 2005 7:50 pm Post subject: Re: no xml validation.... |
|
|
Thanks
Your'e absolutely right!
I've had my schemas "re-visited" by the people that sent them to me and it
turns out they are wrong. Simple fix was to remove the Namespace and it
validates against my schema-cache!
Dave.
"Ceasar" <c@b.co.nz> wrote
| Quote: | the MSXML documentation says if no schema can be found it will not error.
Therefore it is your responsibility to ensure that schemas specified in
the
document can be found at the address given. if not foudn stop the
validation
it then depends greatly on namespaces, as to whether nodes are validated
against the schema or not. make sure you use noNamespaceSchemaLocation
and
schemaLocation correctly.
"Dave Brown" <dave.brown (AT) blueflag (DOT) co.uk> wrote in message
news:41eff27e (AT) newsgroups (DOT) borland.com...
I'm using the TXMLDocument from the component pallete, I've set
ResolveExternals on and ValidateOnParse on also.
I use the MSXML DOMVendor and using xml Schema's (.xsd)
When I set active to true, the xml document is checked for
well-formedness,
but the structure setup in the schema is ignored. Also I've noticed that
theres no error when the TXMLDocument is unable to locate a schema.....
Has anyone else encountered this, if so, how can I go about validating
my
xml based on a schema?
Thanks in advance
Dave Brown.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|