support for namespaces in XmlReader

January 5th, 2009
  • Are they any plans to have XmlReader support namespaces ? It would also be nice if there was a way to declare an optional feild with a default value in case the field was missing from a row data. Presently XmlReader silently fails to load any data if a field is not present in the data. It would be helpful if it throws an exception instead.

    Thanks,
    Sanjiv


  • Namespace support is not on the map currently. There are cross browser issues that would need to be addressed.

    I have a problem where firefox will parse an rss feed with elements from xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos# but not IE is this the cross browser issue refered to and does anyone have any suggestions on how I could overcome the issue.

    Thanks
    Rob


  • If any exceptions happen while an XmlReader is parsing data it doesn't get handled and should bubble up. However, certain proxies (like HttpProxy) will catch that exception and refire it as a "loadexception" event. This way error handling can function in an async environment. Did you try listening for a loadexception on the proxy?

    Namespace support is not on the map currently. There are cross browser issues that would need to be addressed.


  • If any exceptions happen while an XmlReader is parsing data it doesn't get handled and should bubble up. However, certain proxies (like HttpProxy) will catch that exception and refire it as a "loadexception" event. This way error handling can function in an async environment. Did you try listening for a loadexception on the proxy?


    ah, makes sense. I'll give that a shot.

    Thanks,
    Sanjiv







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about support for namespaces in XmlReader , Please add it free.