• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XML

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
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(DOMParser.java:235)

at com.iflex.fcat.xml.XmlSchemaParser4J321.parse(XmlSchemaParser4J321.java:175)


--------------------------------------------------------------------------


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


Can you please help me in this.

Regards
SaiRam
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your XML document is not well formed, specifically you have left a tag open. Every opening "<" must be closed by a ">" or a "/>".
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic