Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #15652

SAX parser splits URL ...

From lbrt chx _ gemale
Newsgroups comp.lang.java.programmer
Subject SAX parser splits URL ...
Organization Acecape, Inc.
Organization Newshosting.com - Highest quality at a great price! www.newshosting.com
Message-ID <1340769034.526896@nntp.aceinnovative.com> (permalink)
Date 2012-06-27 03:50 +0000

Show all headers | View raw


 I have an URL in an XML file that looks like this:
~ 
...
  <Location>http://pagesinxt.com/?dn=www.outfo.org&flrdr=yes&nxte=zip</Location>
...
~ 
 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 ...

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

SAX parser splits URL ... lbrt chx _ gemale - 2012-06-27 03:50 +0000
  Re: SAX parser splits URL ... Robert Klemme <shortcutter@googlemail.com> - 2012-06-27 07:34 +0200
    Re: SAX parser splits URL ... Robert Klemme <shortcutter@googlemail.com> - 2012-06-26 23:21 -0700
  Re: SAX parser splits URL ... "mayeul.marguet" <mayeul.marguet@free.fr> - 2012-06-27 11:32 +0200

csiph-web