Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. Problem while Working with XmlValidatingReader!!!!!

Problem while Working with XmlValidatingReader!!!!!

Scheduled Pinned Locked Moved XML / XSL
xmlhelpcsharpdatabasedotnet
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    abcxyz82
    wrote on last edited by
    #1

    I am experimenting with "XmlValidatingReader" and want to create a event handler which gets called there occurs some validation error(schema mismatch etc..) But could not find where this class is located?? I am using .NET framework 2.0, VS 2005 beta1.. Is there any other way to validate xml with schema? REgards. MaulikCE

    P 1 Reply Last reply
    0
    • A abcxyz82

      I am experimenting with "XmlValidatingReader" and want to create a event handler which gets called there occurs some validation error(schema mismatch etc..) But could not find where this class is located?? I am using .NET framework 2.0, VS 2005 beta1.. Is there any other way to validate xml with schema? REgards. MaulikCE

      P Offline
      P Offline
      Phil Hobgen
      wrote on last edited by
      #2

      Hi, The XmlValidatingReader class is obsolete in v2.0. You can read about validating xml in v2.0 here: http://msdn2.microsoft.com/library/hdf992b8.aspx[^] Cheers Phil Hobgen barbari.co.uk Southampton, UK

      A 1 Reply Last reply
      0
      • P Phil Hobgen

        Hi, The XmlValidatingReader class is obsolete in v2.0. You can read about validating xml in v2.0 here: http://msdn2.microsoft.com/library/hdf992b8.aspx[^] Cheers Phil Hobgen barbari.co.uk Southampton, UK

        A Offline
        A Offline
        abcxyz82
        wrote on last edited by
        #3

        Phil, Thanks for posting the link, meanwhile i have done with XmlValidatingREader. But surprisingly Newer version i.e. XMLReaderSettings is not catching any XML errors, that are caught by XmlValidatingReader. Can you throw some light!!!! REgards. MaulikCE

        P 1 Reply Last reply
        0
        • A abcxyz82

          Phil, Thanks for posting the link, meanwhile i have done with XmlValidatingREader. But surprisingly Newer version i.e. XMLReaderSettings is not catching any XML errors, that are caught by XmlValidatingReader. Can you throw some light!!!! REgards. MaulikCE

          P Offline
          P Offline
          Phil Hobgen
          wrote on last edited by
          #4

          Hi, Sorry, I haven't started working with it yet. I'd merely made myself a note that XmlValidatingReader will have to be replaced when I move some existing code to v2.0 Good Luck Phil Hobgen barbari.co.uk Southampton, UK

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups