Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 7th, 2006, 1:06 AM   #1
weilee39
Newbie
 
Join Date: Mar 2006
Posts: 1
Rep Power: 0 weilee39 is on a distinguished road
Illegal character come out

i have create an xml data, but when i update date, some time it will come the illegal character in my display. so how am i need to filter the illegal character. for example use : XMLformat, replace ...?
weilee39 is offline   Reply With Quote
Old Jul 13th, 2006, 4:56 PM   #2
mackenga
Professional Programmer
 
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 314
Rep Power: 4 mackenga is on a distinguished road
Not sure if this will help (I'm not exactly an XML wizard) but I know that XML parses don't like certain characters in the code and I'm guessing this has something to do with it. What I think will help you is information about entities (I think that's the term); you use sequences of characters starting with an ampersand (&) to stand in for characters that the parser otherwise chokes on. For example, you can use & (including the semicolon ( at the end) to include an ampersand without annoying the parser. I'm not sure what they all are, but a bit of googling should help.
__________________
"I'm not a genius. Why do I have to suffer?"
mackenga is offline   Reply With Quote
Old Aug 2nd, 2006, 1:50 PM   #3
jim mcnamara
Hobbyist Programmer
 
Join Date: Jun 2005
Location: New Mexico
Posts: 228
Rep Power: 4 jim mcnamara is on a distinguished road
Are you encoding UTF-8?
jim mcnamara is offline   Reply With Quote
Old Aug 2nd, 2006, 7:43 PM   #4
a thing
Unverified User
 
a thing's Avatar
 
Join Date: Aug 2005
Location: none
Posts: 146
Rep Power: 0 a thing is on a distinguished road
Huh? Speak English please.
__________________
Warning: My posts may change (dramatically) within the first 15 minutes they're posted.
Got 'Nux?—GNU/Linux and other free software support.
It's GNU/Linux, not just Linux.
a thing is offline   Reply With Quote
Old Aug 2nd, 2006, 9:50 PM   #5
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
What if he needs help and is expressing himself in the best English he can muster in order to find it? Please express to us your history as an asset to the forum (in perfect English, of course).
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:14 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC