User Profile

Collapse

Profile Sidebar

Collapse
midhunmathe
midhunmathe
Last Activity: Jan 9 '08, 08:18 PM
Joined: Mar 2 '07
Location: Canada
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • midhunmathe
    started a topic Activator.CreateInstance(Type)
    in .NET

    Activator.CreateInstance(Type)

    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...
    See more | Go to post

  • midhunmathe
    replied to XMLTextReader.Read()
    in .NET
    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[/][/][/]
    ...
    See more | Go to post
    Last edited by kenobewan; Mar 15 '07, 02:23 AM. Reason: Add code tags

    Leave a comment:


  • midhunmathe
    replied to XMLTextReader.Read()
    in .NET
    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...
    See more | Go to post

    Leave a comment:


  • midhunmathe
    started a topic XMLTextReader.Read()
    in .NET

    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...
    See more | Go to post
No activity results to display
Show More
Working...