Jump to ContentJump to Navigation/Login
` ` ` ` ` `

[Register]

Occasional ATutor release updates


No Members Logged In

(8 guests in past 15 min.)

Access Understanding Web Accessibility to learn about accessibility, or Register to take the course for FREE.

Support Forums

AChecker

Webservice returning illegal xml


You must be signed-in to post.

AuthorSubject
  Page: 1
TheDude
Subject: Webservice returning illegal xmlQuote this post in your reply
Try making the following call:

achecker.ca/checkacc.php?uri=http://www.myrating.dk&id=a24ff92797f43c977d75eabccbdb300cb54b1d53&output=rest

The returned xml is illegal. Chrome says:

"error on line 348 at column 149: Entity 'Atilde' not defined"
Posted: 2010-07-30 10:04:37
cindy

Avatar for cindy
Subject: Re: Webservice returning illegal xmlQuote this post in your reply
On line 23 of your html source, the character "å" is html encoded into "Ã¥" in the REST output. The format of the encoded string is considered as a predefined XML entity by XML validator, which indeed is not.
Posted: 2010-07-30 10:55:24
TheDude
Subject: Re: Webservice returning illegal xmlQuote this post in your reply
So you're telling me, that the service is not working with foreign language websites?
Posted: 2010-07-30 11:04:08
cindy

Avatar for cindy
Subject: Re: Webservice returning illegal xmlQuote this post in your reply
Our goal is to make the service work for all languages. But as you have found, there's problem sometimes. I've reported this as a mantis bug. The further investigation and fix will be applied.

Thanks for your finding.

fyi: www.atutor.ca/atutor/mantis/view.php?id=4441
Posted: 2010-07-30 11:31:23
 Page: 1

You must be signed-in to post.