473,411 Members | 2,210 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Validation against external DTD

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.

Oct 26 '07 #1
1 2563

"Miguel" <ma****@yahoo.eswrote in message
news:11**********************@57g2000hsv.googlegro ups.com...
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.

Oct 27 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Sudip Chakraborty | last post by:
Is there a way to see constraint validation errors while loading xml into a DataSet ? I'm interested in the line number in the xml file which is causing the error. I've enclosed the relevant stack...
18
by: Vlad | last post by:
I have the following code: I have a local copy of the DTD that I need to validate incoming XML documents against. The XML document has the <!DOCTYPE myname SYSTEM "myfile.dtd"> define. When the...
8
by: jake1138 | last post by:
Maybe this is a newbie thing and everyone already knows how to do this, but I figured I'd post these functions anyway in case someone finds them useful. I used Jack Klein's example (see link...
8
by: SL | last post by:
I try to validate against a schema a document stored in several files thanks to external entities. The parseur add a 'xml:base="url"' attribute on the root element of this sub-trees during parsing,...
0
by: K. Wilder | last post by:
I'm having a problem getting this to work in ASP.NET 2.0. I'm trying to prevent the validation of a DTD in the incoming XML. I have this XML that I receive via xml web service from an external...
7
by: christian.eickhoff | last post by:
Hi Everyone, I am currently implementing an XercesDOMParser to parse an XML file and to validate this file against its XSD Schema file which are both located on my local HD drive. For this...
4
by: DougB | last post by:
Hey Gang, first post here so be gentle. I've been learning javascript through our local college and have run up against a problem. Maybe someone can help. I'm using a simple validation script...
13
by: DougB | last post by:
Hey Gang, aside from mistakenly posting this in the Java Forum first it's my first time here so be gentle. I've been learning javascript through our local college and have run up against a problem....
1
by: =?UTF-8?Q?Filip_Gruszczy=C5=84ski?= | last post by:
Hi! I took a look at the standard library and tried to find some validation against schema tools, but found none. I googled, but found only links to external libraries, that can do some...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.