[ 
https://issues.apache.org/jira/browse/XERCESJ-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Glavassevich resolved XERCESJ-986.
------------------------------------------

    Resolution: Incomplete

This is a four year old JIRA issue against Xerces 2.6.2. Neil Delima couldn't 
reproduce the problem with the supplied test case and when asked for more 
information the reporter stopped responding. Without any further feedback from 
the reporter it's not possible to make any progress on this issue (assuming 
there's still a problem here or that there ever was a problem).

> Schema validation is not done properly
> --------------------------------------
>
>                 Key: XERCESJ-986
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-986
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: SAX
>    Affects Versions: 2.6.2
>         Environment: Windows NT and java
>            Reporter: Murali Krishna
>            Priority: Critical
>         Attachments: INPUT.XML, tfs.xsd
>
>
> Hi there
> I am using SAX parser from xerces to do schema validation on XML messages. 
> Some how the parser thrown a schema validation error even though the data was 
> is in the proper format. Please find the error and message attached below. 
> This problem had come when the message is validated against schema for the 
> first time.
> When the same message is validated against schema second time, it went on 
> fine. Please let us know what could be the problem behind it.
> Thanks for your help in advance.
> Thanks
> Murali
> ERROR MSG = Message is backed up due to Could not process the message.  
> Details: -  Line : 1 Column : 545 Element Name: ErrorCode- due to Datatype 
> error: In element 'ErrorCode' : Value '113' does not match regular expression 
> facet '\d{3}'.. Message : <?xml version="1.0" encoding="UTF-8"?><OrdSet 
> xsi:noNamespaceSchemaLocation="tfs.xsd" Version="15.4" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><Msg><MsgCreate><Date>20040622</Date><Time>151004</Time><Src><SrcType>F</SrcType><MgmtCode>TML</MgmtCode></Src><Target><TargetType>D</TargetType><DlrCode>9056</DlrCode></Target></MsgCreate><MsgType><OrdRspn><ActnCode>NEW</ActnCode><SrcID>N0622145665963</SrcID><OrdID>2774771</OrdID><FundAcctID>5000108</FundAcctID><RspnSrc>F</RspnSrc><RtnCode>99</RtnCode><Reject><ErrorCode>113</ErrorCode></Reject></OrdRspn></MsgType></Msg></OrdSet>
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to