![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I would like my default ValidationType to be Auto. Now let's say I have both a DTD and an XSD file for this XML file being validated. While it's ValidationType.Auto, it will validate the DTD, but will not even attempt to read/validate the namespace or even check if schema file exists. I suppose it's a resolver problem; anyone have any insight on how I can have it check the schema File while Auto (without setting ValidationType.Schema)? .NET 1.1 |
#3
| |||
| |||
|
|
Validation can not perform DTD and XSD validation at the same time. If you have ValidationType set to Auto, and have a DTD declaraion, you will only get DTD validation. It will not look for the XSD schema file. Zafar "jhowey" <jonath (AT) gmail (DOT) com> wrote in message news:1150845723.565339.256500 (AT) i40g2000cwc (DOT) googlegroups.com... Hi, I would like my default ValidationType to be Auto. Now let's say I have both a DTD and an XSD file for this XML file being validated. While it's ValidationType.Auto, it will validate the DTD, but will not even attempt to read/validate the namespace or even check if schema file exists. I suppose it's a resolver problem; anyone have any insight on how I can have it check the schema File while Auto (without setting ValidationType.Schema)? .NET 1.1 |
#4
| |||
| |||
|
|
Is there a way i can override the class so I can reverse it (ie; look for Schema first)? Zafar Abbas wrote: Validation can not perform DTD and XSD validation at the same time. If you have ValidationType set to Auto, and have a DTD declaraion, you will only get DTD validation. It will not look for the XSD schema file. Zafar "jhowey" <jonath (AT) gmail (DOT) com> wrote in message news:1150845723.565339.256500 (AT) i40g2000cwc (DOT) googlegroups.com... Hi, I would like my default ValidationType to be Auto. Now let's say I have both a DTD and an XSD file for this XML file being validated. While it's ValidationType.Auto, it will validate the DTD, but will not even attempt to read/validate the namespace or even check if schema file exists. I suppose it's a resolver problem; anyone have any insight on how I can have it check the schema File while Auto (without setting ValidationType.Schema)? .NET 1.1 |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |