Results 1 to 2 of 2

Thread: Is Microsoft XML Parser following W3C guidelines?

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member capsulecorpjx's Avatar
    Join Date
    May 2005
    Location
    Renton, WA
    Posts
    288

    Is Microsoft XML Parser following W3C guidelines?

    I've noticed a few things using Micrsoft XML parser (V6.0) with Visual Basic.
    The class is called MSXML2.DOMDocument40

    1) Spaces are not counted as characters. So <Element> </Element> is considered to be 0 chars.
    2) Newlines in the form of /r/n is considered two characters.

    Is this following W3C standards for XML?

    I'm also using XML Spy, a non-Microsoft application where:
    1) Spaces are counted as characters. So <Element> </Element> is 3 chars long.
    2) All newlines are counted as 1 charcter. /r/n is condiered 1 character.

    This is running me into trouble because XML files sent from a third party might be valid according to them, but not according to Microsoft's XML parser I'm using in Visual basic.

    Has anyone run into this problem? Are there settings in the MS XML parser Class that I can set?
    Last edited by capsulecorpjx; Nov 6th, 2008 at 03:12 PM.
    "I like to run on treadmills, because at least I know I'm getting nowhere."
    - Me

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width