• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error in Bypassing the Special Characters in JBoss (in xsd)

 
Sibbala Sreenath
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We(Java project) have a xsd document and for which we have created a wsdl file and shared the same to other team(Dot Net), They have a field called notes , in which they are entering the junk data (Special Characters) . These special characters are not accepted by the Jboss and it is throwing an error as below.. The other team ie Dot net team is not ready to do any changes from their side to validate the special characters. Could any one help us in bypassing the special Characters .. Do we need to do any thing in JBOSS ? Please help me.

Error:

04:20:43,521 ERROR [STDERR] [Fatal Error] :1:488: Character reference "" is an invalid XML character.

04:20:43,522 ERROR [SOAPFaultHelperJAXWS] SOAP request exception

org.jboss.ws.core.CommonSOAPFaultException: org.xml.sax.SAXParseException: Character reference "" is an invalid XML character.

at org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:93)


Thanks,
Sri
 
Paul Clapham
Sheriff
Posts: 21111
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, first of all I recommend you should choose your terminology better. In XML there is no such thing as a "junk" character. Nor is there any such thing as a "special" character. There are certain characters which are not allowed in XML documents, but those characters are not ones which can normally be typed in a "field" -- assuming I am guessing correctly what you meant by that.

Now, the XML Recommendation describes precisely which characters are allowed to be in XML documents. In section 2.2 of the XML Recommendation. So what character are you receiving from that field which is not in that list?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic