[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2266) Schema Validation Feature Fails for Special Characters

Johannes Rudolph (JIRA) jira-events at lists.jboss.org
Wed Nov 5 09:45:20 EST 2008


    [ https://jira.jboss.org/jira/browse/JBWS-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12437002#action_12437002 ] 

Johannes Rudolph commented on JBWS-2266:
----------------------------------------

For the record (and the search engines) here's a stack trace of the exception:

INFO   | jvm 1    | 2008/11/04 14:21:58 | org.jboss.ws.WSException: org.xml.sax.SAXException: Invalid byte 2 of 2-byte UTF-8 sequence.
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.ws.WSException.rethrow(WSException.java:68)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.ws.core.soap.SOAPBodyElementDoc.validatePayload(SOAPBodyElementDoc.java:130)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.ws.core.soap.SOAPBodyElementDoc.transitionTo(SOAPBodyElementDoc.java:82)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.ws.core.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:173)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.ws.core.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:263)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.ws.core.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:115)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.ws.core.EndpointInvocation.getRequestPayload(EndpointInvocation.java:135)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.ws.core.server.DelegatingInvocation.getArgs(DelegatingInvocation.java:82)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.wsf.container.jboss42.InvocationHandlerEJB3.invoke(InvocationHandlerEJB3.java:95)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:221)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:466)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:284)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:201)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:134)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at java.lang.Thread.run(Thread.java:619)
INFO   | jvm 1    | 2008/11/04 14:21:58 | Caused by: org.xml.sax.SAXException: Invalid byte 2 of 2-byte UTF-8 sequence.
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.ws.extensions.validation.StrictlyValidErrorHandler.fatalError(StrictlyValidErrorHandler.java:51)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.ws.extensions.validation.SchemaValidationHelper.validateDocument(SchemaValidationHelper.java:75)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.ws.extensions.validation.SchemaValidationHelper.validateDocument(SchemaValidationHelper.java:63)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.ws.extensions.validation.SchemaValidationHelper.validateDocument(SchemaValidationHelper.java:69)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	at org.jboss.ws.core.soap.SOAPBodyElementDoc.validatePayload(SOAPBodyElementDoc.java:121)
INFO   | jvm 1    | 2008/11/04 14:21:58 | 	... 32 more

> Schema Validation Feature Fails for Special Characters
> ------------------------------------------------------
>
>                 Key: JBWS-2266
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2266
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-native
>    Affects Versions: jbossws-native-3.0.1,  jbossws-native-3.0.2
>            Reporter: Richard Opalka
>         Attachments: jbossws2266.patch
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list