[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l...
  • Subject: Parsing URL attribute value
  • From: Sergio Cruz <sergio@c...>
  • Date: Thu, 05 Dec 2002 11:41:11 -0200

Hi,

	How can I parse attribute with URL value.
	I got the error

   	Next character must be ";" terminating reference to entity
"tituloArvore".
org.xml.sax.SAXParseException: Next character must be ";" terminating
reference
to entity "tituloArvore".
        at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182)
        at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3176)
        at org.apache.crimson.parser.Parser2.nextChar(Parser2.java:3098)
        at
org.apache.crimson.parser.Parser2.parseLiteral(Parser2.java:723)
        at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1399)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
        at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
        at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
        at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)

        at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:281)
        at Echo08.main(Echo08.java:75)


	on parsing

	   <no id="3"
url="http://www.cnptia.embrapa.br/ConsConteudo.jsp?tituloResumido=filho3&tituloArvore=titulo&idConteudo=AC_FEFE_2_3122002162531"
/>

	There are some way to disable entities subtitution inside the attribute
values ?

	Thanks,

									Sergio Cruz

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member