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. HexaDecimal Error in XML Files

HexaDecimal Error in XML Files

Scheduled Pinned Locked Moved XML / XSL
helpvisual-studiocomxmlquestion
1 Posts 1 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.
  • D Offline
    D Offline
    danasegaranea
    wrote on last edited by
    #1

    Hi all, I am using this code to retrive the Viewsource content of page(Page content will be showed in XML). It was working well. But now I face one problem , the XML contain any special hexadecimal value then it display an error

    Function GetXML(ByVal strTypeId As String) As String

        Dim xmlRef As New MSXML2.XMLHTTPClass
        Dim strUrl As String="Test.Asp"
    
    
        Try
            Console.WriteLine(strUrl.Trim)
            xmlRef.open("GET", strUrl.Trim, False)
            xmlRef.send()
            GetXML = xmlRef.responseText
            GetXMLDoc(-1)
            'http://msdn2.microsoft.com/en-us/library/k1y7hyy9(vs.71).aspx
            If xmlRef.statusText = "OK" Then
                Return GetXML
            Else
                'Return GetXML = "False"
            End If
    
        Catch ex As Exception
            'Return GetXML = "False"
        End Try
    
    End Function
    

    Error : "'?', hexadecimal value 0xFFFF, is an invalid character." Hw to solve this one Thanks Dana

    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