Two Laptop Bag
The moose likes XML and Related Technologies and the fly likes XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML" Watch "XML" New topic


A SaiRam

Joined: Feb 16, 2005
Posts: 3
I send the following XML (see end )using IE 6.0. I am using Tomcat 4.0.6 for running my application. I get the following message in the browser.

Element type "faml" must be followed by either attribute specifications, ">" or "/>".

In the Tomcat console i see the following stack trace
org.xml.sax.SAXParseException: Element type "faml" must be followed by either attribute specifications, ">" or "/>".

at org.apache.xerces.parsers.DOMParser.parse(

at com.iflex.fcat.xml.XmlSchemaParser4J321.parse(


http://localhost:8080/netbanking/merchant?<?xml version="1.0" encoding="UTF-8"?><faml xmlns:xsi="" xsi:noNamespaceSchemaLocation=".\eshoprequestresponse.xsd"><txndata><sellerlist>ABCD</sellerlist></txndata></faml>

Can you please help me in this.

Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Your XML document is not well formed, specifically you have left a tag open. Every opening "<" must be closed by a ">" or a "/>".

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: XML
It's not a secret anymore!