We have a remote server application called from a client application.
The server application is a .NET application but built with COM supportability and included as a COM+ service on one system. The client application, which is also written in .NET calls the COM+ application remotely(from one or more different machines) The invocation of the remote object is done by the call below
Type oType = Type.GetTypeFro mProgID("<Progr am...
User Profile
Collapse
-
Activator.CreateInstance(Type)
-
Thanks a lot. Now I get the actual problem.
XMLTextReader.R ead() Throws an exception when an unwanted character like the ones mentioned above comes in the stream. How can I ignore this?
This is the pseudo code
Code:try {[INDENT]reader = new XmlTextReader(filename);[/INDENT][INDENT]reader.WhitespaceHandling = WhitespaceHandling.None;[/INDENT][INDENT]while (true) [/INDENT][INDENT]{[/INDENT][INDENT][INDENT]try[/INDENT][/INDENT][INDENT][INDENT]{[/INDENT][/INDENT][INDENT][INDENT][INDENT]if (!reader.Read())[/INDENT][/INDENT][/INDENT][INDENT][INDENT][INDENT][INDENT]break;[/INDENT][/INDENT][/INDENT][/INDENT][INDENT][INDENT][INDENT]// Some processing[/INDENT][/INDENT][/INDENT][INDENT][INDENT]}[/INDENT][/INDENT][INDENT][INDENT]catch (XMLException XML_exc)[/INDENT][/INDENT][INDENT][INDENT]{[/INDENT][/INDENT][INDENT][INDENT][INDENT]//*** NEED[/][/][/]
-
Hello Vijay,
I know that. the #x07 character cannot be parsed by the XMLText reader. I want to know the reason. I want to if there is any possibility to parse this. If we are not able to parse this, then I want to know about the characters that are not parsed.
This is because, my application cannot guarentee the characters coming in to be parsed as the data is sent to my application by another unicode application. There...Leave a comment:
-
XMLTextReader.Read()
Hello,
I get an error
#', hexadecimal value 0x07, is an invalid character. Line 2, position 6358.
on the XMLTextReader.R ead() call on a particular node of my XML document.
I need this data to be parsed. This is a cyrillic character data and my comp has a latin code page 1252. Is XML parsing dependant on these values? If yes, is there any means by which I can parse the unicode characters getting into my...
No activity results to display
Show More
Leave a comment: