Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3313088
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:04:27+00:00 2026-05-17T22:04:27+00:00

I encounter a unbelievable strange problem: The libxml parser I’m using makes a difference

  • 0

I encounter a unbelievable strange problem:

The libxml parser I’m using makes a difference between ” and “.

Is there one? The following attribute makes the error:

name=”New Headway_the third edition”

if I replace the ” character with the ” I enter with my keyboard everything is working fine… I allready proved, that there are not just two ‘ characters next to each other… The parser returns the following error:

:72: parser error : invalid character in attribute value
<TopCont id="1197" name="New Headway_the thir...
                         ^

The really strange thing is that the attribute is coming from a web service which does working well exept to his TopCont… The characters in a very normal way!

Thanks for your Help,
Markus

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T22:04:28+00:00Added an answer on May 17, 2026 at 10:04 pm

    The first one is a ” – ascii code 34 – this is the valid double quote to use in an XML file.

    The other one is some sort of fancy open double quote (or close double quote, I can’t quite tell). The fact that it looks quite like the character with code 34 is irrelevant from the XML parsers point of view.

    The parser will only accept ” (34) as a quote. You can’t use any other character and expect it to work – it’s like just using any other character at random and expecting it to make sense :

    <TopCont id="1197" name=¢New Headway_the thir...
    

    The only reason you’re confused is because ” and ” look the same to a human; the parser only cares about it’s character code 🙂


    NB It’s very odd that a web service will return both types of quote – this tells me that someone might have cut-and-paste from somewhere else i.e. Word ? What is the web service?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.