WhatPulse Forums » Support » Website v » webAPI Welcome back, Guest.


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
webAPI
08-08-2007, 07:53 AM
Post: #1
webAPI
Hi,

We got several problems with our webAPI team_parse.php

1. When you fill in teamnumber 1295 (dutch power cows) the parser stops after mr_fré ... he has an eacute (é) in his name but in the XML file it will give an special character Confused , The parser wouldn't parse after him so its verry strange (we use the normal webAPI from here)

2. When we put the errors on (E^all) we'll get many Notice index and notice offset errors Confused

What's the solution?
Thnx,
mastadizzy
Quote this message in a reply
08-09-2007, 03:57 PM
Post: #2
webAPI
To my knowledge, the servers have trouble with any kind of "unusual" characters, like the é. I know that a temporary fix would be to change the name to something like mr_fre or mr_fre`, though I don't see those as ideal solutions. I get too many places that won't let me use my hyphen already Sad

[Image: XKalSig1.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
09-27-2007, 12:19 AM
Post: #3
webAPI
I also have problems with < > ' " `

and most special characters.
Quote this message in a reply
10-19-2007, 07:11 AM
Post: #4
webAPI
In that same dutch team (team GoT, 1295) there are some guys that use an & in their name, this has to be converted to &amp; because all XML parser won't be able to parse the XML: it's not well formed!
Visit this user's website Find all posts by this user
Quote this message in a reply
10-25-2007, 07:52 AM
Post: #5
webAPI
Special characters should be encapsulated within CDATA-containers.
Escaping characters with an HTML entity inside XML has no sense.
Find all posts by this user
Quote this message in a reply
10-25-2007, 07:58 AM
Post: #6
webAPI
frickY Wrote:Special characters should be encapsulated within CDATA-containers.
Escaping characters with an HTML entity inside XML has no sense.

The use of &amp; &gt; and &lt; are valid within XML (all other "HTML entities" are not) so when you only have one of these characters it is better to use these entities than encapsulating them in a CDATA. Ofcourse when you use CDATA the problem of the high characters could also fixed, but even there it is better to use the right charset.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [SOLVED] Error in team WebAPI Electrosa 4 4,401 09-30-2013 08:21 PM
Last Post: Electrosa
  Single Computer in WebApi tommytl 2 3,637 02-01-2013 09:13 AM
Last Post: tommytl
  Difference in number format webapi xml [#WP]KompjoeFriek 3 4,873 09-25-2010 12:26 AM
Last Post: KompjoeFriek

Forum Jump:


User(s) browsing this thread: 1 Guest(s)