Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!nx01.iad01.newshosting.com!newshosting.com!post01.iad!not-for-mail From: lbrt chx _ gemale Newsgroups: comp.lang.java.programmer Subject: SAX parser splits URL ... X-Newsreader: NetComponents Organization: Acecape, Inc. Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com X-Complaints-To: abuse(at)newshosting.com Message-ID: <1340769034.526896@nntp.aceinnovative.com> Cache-Post-Path: nntp.aceinnovative.com!unknown@p70-44.acedsl.com X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) Date: 27 Jun 2012 03:50:34 GMT Lines: 29 Xref: csiph.com comp.lang.java.programmer:15652 I have an URL in an XML file that looks like this: ~ ... http://pagesinxt.com/?dn=www.outfo.org&flrdr=yes&nxte=zip ... ~ http://xsdvalidation.utilities-online.info/ ~ is telling me the document itself is valid, but the SAX parser is splitting the value at every "&" ~ // __ start element iIxLvl: |3|Location // __ start characters iIxLvl: |3|http://pagesinxt.com/?dn=www.outfo.org| // __ start characters iIxLvl: |3|&| // __ start characters iIxLvl: |3|flrdr=yes| // __ start characters iIxLvl: |3|&| // __ start characters iIxLvl: |3|nxte=zip| // __ end element iIxLvl: |2|Location| ~ I found some sort of an explanation here: ~ http://stackoverflow.com/questions/1328538/how-do-i-escape-ampersands-in-xml ~ I couldn't make much sense of (I tried a few things) ~ Is this related to a setting in the parser? Is there a way to fix that problem? ~ thanks lbrtchx comp.lang.java.programmer: SAX parser splits URL ...