Hi.
I want to generate an xml file, with data from mysql. If i do that, i recieve an error from the browser:
XML Parsing Error: undefined entity
Location: http://localhost/file.txt
Line Number 507, Column 463:
is there a function to validate text for xml.
thanks.
valid text for xml
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: valid text for xml
<Descriere>LATITUDE E4300 Display 13.3in WXGA(1280X800), Webcam 0.3MP, Intel Core 2 Duo SP9300 (2.26GHz,1066MHz,6MB) Latitude ON Reader, no WWAN, Memorie 2GB (1x2048) 800MHz DDR3 Dual Channel, HDD 160GB Serial ATA (7200RPM) Free Fall Sensor, BLACK 8X DVD+/-RW Drive, Roxio Creator 9.0 Software (XP & Vista Compatible) with Recovery CD, baterie 6-cell 56W/HR LI-ION, Dell Wireless 365 Bluetooth, Dell WLAN 1397 (802.11b/g) 1/2 MiniCard, Touchpad with UPEK® Fingerprint Reader and Contactless Smartcard Reader, 90W AC Adaptor 2 pin,English Windows Vista Business SP1 to XP Pro SP3 Downgrade with XP SP3 Media, BLACK, NBD & ProSupport for End Users</Descriere>
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: valid text for xml
My guess would the the ®. What DTD are you specfiying? You can add <!ENTITY reg "®"> to the header or change ® to ®
(#10850)