XMLSerializer.UnknownNode

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paul Lo

    #1

    XMLSerializer.UnknownNode

    Hi,

    I'm confused with when the XmlSerializer.U nknownNode event would be
    invoked.. I found that my serializer deserialize my xml file perfectly into
    the object I want, but I still got this UnknownNode event invoked for every
    single node in the xml... Anyone can give me some clues?

    -Opt


  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: XMLSerializer.U nknownNode

    Opt,

    The XmlNodeEventArg s instance passed in should have the information
    about where in the XML it is encountering the unknown node. What does it
    say there?


    --
    - Nicholas Paldino [.NET/C# MVP]
    - nicholas.paldin o@exisconsultin g.com

    "Paul Lo" <paul.lo@cyberw isdom.net> wrote in message
    news:Ok$1ydofDH A.2356@TK2MSFTN GP12.phx.gbl...[color=blue]
    > Hi,
    >
    > I'm confused with when the XmlSerializer.U nknownNode event would be
    > invoked.. I found that my serializer deserialize my xml file perfectly[/color]
    into[color=blue]
    > the object I want, but I still got this UnknownNode event invoked for[/color]
    every[color=blue]
    > single node in the xml... Anyone can give me some clues?
    >
    > -Opt
    >
    >[/color]


    Comment

    Working...