Validation against external DTD

M

Miguel

Hi everybody,

I'm writting a Client and Web Service application in vb.net. The
client sends the xml via parameter in a function call to the Web
Service.

The problems comes when I want to perform an DTD validation. Because
it is a DTD validation, the xml contains the name of the DTD file. But
I don't know how to tell the xmlReader in the WebService where can it
found the DTD, I mean, where the DTD is located.

Anybody knows how to show the DTD's path to the Webservice?.

Thank you.

Miguel Angel.
 
M

Mr. Arnold

Miguel said:
Hi everybody,

I'm writting a Client and Web Service application in vb.net. The
client sends the xml via parameter in a function call to the Web
Service.

The problems comes when I want to perform an DTD validation. Because
it is a DTD validation, the xml contains the name of the DTD file. But
I don't know how to tell the xmlReader in the WebService where can it
found the DTD, I mean, where the DTD is located.

Anybody knows how to show the DTD's path to the Webservice?.

Thank you.

This may help a little bit. I don't know. Yes these are C# examples, but you
should be able to use the same namespace and do the same thing in VB.


http://support.microsoft.com/kb/315533
http://msdn2.microsoft.com/en-us/asp.net/aa336649.aspx

You might be able to do it all in memory. You'll have to do further
research -- use Google.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top