You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/03/19 06:31:30 UTC
DO NOT REPLY [Bug 18132] New: -
Parser error cvc-datatype-valid.1.2.1
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18132>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18132
Parser error cvc-datatype-valid.1.2.1
Summary: Parser error cvc-datatype-valid.1.2.1
Product: Xerces-J
Version: 1.4.3
Platform: Sun
OS/Version: Other
Status: NEW
Severity: Blocker
Priority: Other
Component: SAX
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: jgbert@yahoo.com
We are getting the following error - it appears that xerces is trying to parse
against an xsd other than the one that belongs to this document. We can run
this same transaction through a second time an it will work correctly.
Error -
<ps:OPError xmlns:ps="http://www.pointserve.com/OPSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.pointserve.com/OPSchema OPError.xsd"
RequestId="http://www.pointserve.com/OPSchema AA.xsd" LicenseeId="1000"
TraceExpected="false">
<Header> <ClientSideInfo>Get Available Appointment Request for
BancTec.</ClientSideInfo> </Header>
<Body>
<ErrorCode>0</ErrorCode>
<Description>OP Schema request failed validation with the following
errors: cvc-datatype-valid.1.2.1: 'PA0002062370772003031820291122' is not a
valid 'double' value. cvc-attribute.3: The
value 'PA0002062370772003031820291122' of attribute 'RequestId' on
element 'ps:AvailableAppointmentsRequest' is not valid with respect to its
type. cvc-maxInclusive-valid: Value '1000' is not facet-valid with respect to
maxInclusive '90'. cvc-attribute.3: The value '1000' of attribute 'LicenseeId'
on element 'ps:AvailableAppointmentsRequest' is not valid with respect to its
type. cvc-datatype-valid.1.2.1: 'SV1094' is not a valid 'double' value. cvc-
type.3.1.3: The value 'SV1094' of element 'ServiceCenterId' is not valid. cvc-
maxInclusive-valid: Value '20061392' is not facet-valid with respect to
maxInclusive '90'. cvc-complex-type.2.2: Element 'Requirement' must have no
element [children], and the value must be valid. </Description>
<Diagnostic> </Diagnostic>
</Body>
<Trailer />
</ps:OPError>
XML Request -
<?xml version="1.0" encoding="UTF-8"?> <ps:AvailableAppointmentsRequest
xmlns:ps="http://www.pointserve.com/OPSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.pointserve.com/OPSchema AA.xsd"
RequestId="PA0002062370772003031820291122" LicenseeId="1000"
TraceExpected="false" schemaVersion="0.1"> <Header> <ClientSideInfo>Get
Available Appointment Request for BancTec.</ClientSideInfo> </Header> <Body>
<ServiceAreaName>SV1094</ServiceAreaName> <DateOfAppointment>2003-03-
20</DateOfAppointment> <ServiceCenterId>SV1094</ServiceCenterId>
<NumberToSuggest>03</NumberToSuggest> <ConsumerLocation>
<latitude>33.0033</latitude> <longitude>-97.044</longitude> </ConsumerLocation>
<TimePeriodToSearch> <start>09:30:00-07:00</start> <end>17:00:00-07:00</end>
</TimePeriodToSearch> <TimeWindowDuration>PT03H00M00S</TimeWindowDuration>
<ServiceRequested> <DurationOfJob>PT00H44M00S</DurationOfJob>
<TimelinessPriority>Regular</TimelinessPriority> <JobRequirements> <Requirement
MustHave="true">20061392</Requirement> </JobRequirements> </ServiceRequested>
</Body> </ps:AvailableAppointmentsRequest>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org