Skip to content

Commit

Permalink
patching expected results refs #21
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Apr 18, 2024
1 parent 25a1399 commit b9258f7
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions tests/tools/xml/schemaCheck/tests/additional/errors.tools
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ netedit/additionalelements/e2multilanedetector/load/pos/additionals.add.xml:38:0
netedit/additionalelements/e2multilanedetector/load/speedthreshold/additionals.add.xml:38:0:ERROR:SCHEMASV:SCHEMAV_CVC_PATTERN_VALID: Element 'laneAreaDetector', attribute 'speedThreshold': [facet 'pattern'] The value 'dummySpeedThreshold' is not accepted by the pattern '[-+]?((\d+\.?|(\d*\.\d+))([eE][-+]?\d+)?|Inf|inf|INF)'.
netedit/additionalelements/e2multilanedetector/load/timethreshold/additionals.add.xml:38:0:ERROR:SCHEMASV:SCHEMAV_CVC_PATTERN_VALID: Element 'laneAreaDetector', attribute 'timeThreshold': [facet 'pattern'] The value 'dummy' is not accepted by the pattern '[-+]?((\d+\.?|(\d*\.\d+))([eE][-+]?\d+)?|Inf|inf|INF)'.
netedit/additionalelements/e3detector/load/empty/additionals.add.xml:3:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element 'entryExitDetector': Missing child element(s). Expected is one of ( param, detEntry, detExit ).
netedit/additionalelements/e3detector/load/expectArrival/additionals.add.xml:9:0:ERROR:SCHEMASV:SCHEMAV_CVC_ENUMERATION_VALID: Element 'entryExitDetector', attribute 'expectArrival': [facet 'enumeration'] The value 'dummy' is not an element of the set {'true', 'false', 'True', 'False', 'yes', 'no', 'on', 'off', '1', '0', 'x', '-'}.
netedit/additionalelements/e3detector/load/file/additionals.add.xml:3:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_4: Element 'entryExitDetector': The attribute 'file' is required but missing.
netedit/additionalelements/e3detector/load/id/additionals.add.xml:21:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_4: Element 'entryExitDetector': The attribute 'id' is required but missing.
netedit/additionalelements/e3detector/load/invalidchilds/additionals.add.xml:4:0:ERROR:SCHEMASV:SCHEMAV_CVC_PATTERN_VALID: Element 'detEntry', attribute 'pos': [facet 'pattern'] The value 'dummmyPosition' is not accepted by the pattern '[-+]?((\d+\.?|(\d*\.\d+))([eE][-+]?\d+)?|Inf|inf|INF)'.
Expand All @@ -225,14 +224,14 @@ netedit/additionalelements/e3detector/load/position/additionals.add.xml:3:0:ERRO
netedit/additionalelements/e3detector/load/speedthreshold/additionals.add.xml:9:0:ERROR:SCHEMASV:SCHEMAV_CVC_DATATYPE_VALID_1_2_1: Element 'entryExitDetector', attribute 'speedThreshold': 'dummySpeedThreshold' is not a valid value of the atomic type 'nonNegativeFloatType'.
netedit/additionalelements/e3detector/load/speedthreshold/additionals.add.xml:15:0:ERROR:SCHEMASV:SCHEMAV_CVC_MININCLUSIVE_VALID: Element 'entryExitDetector', attribute 'speedThreshold': [facet 'minInclusive'] The value '-2.12' is less than the minimum value allowed ('0').
netedit/additionalelements/e3detector/load/timethreshold/additionals.add.xml:9:0:ERROR:SCHEMASV:SCHEMAV_CVC_PATTERN_VALID: Element 'entryExitDetector', attribute 'timeThreshold': [facet 'pattern'] The value 'dummyTimeTreshold' is not accepted by the pattern '[-+]?((\d+\.?|(\d*\.\d+))([eE][-+]?\d+)?|Inf|inf|INF)'.
netedit/additionalelements/e3detector/load/expectArrival/additionals.add.xml:9:0:ERROR:SCHEMASV:SCHEMAV_CVC_ENUMERATION_VALID: Element 'entryExitDetector', attribute 'expectArrival': [facet 'enumeration'] The value 'dummy' is not an element of the set {'true', 'false', 'True', 'False', 'yes', 'no', 'on', 'off', '1', '0', 'x', '-'}.
netedit/additionalelements/parkingarea/load/angle/additionals.add.xml:7:0:ERROR:SCHEMASV:SCHEMAV_CVC_PATTERN_VALID: Element 'parkingArea', attribute 'angle': [facet 'pattern'] The value 'dummyAngle' is not accepted by the pattern '[-+]?((\d+\.?|(\d*\.\d+))([eE][-+]?\d+)?|Inf|inf|INF)'.
netedit/additionalelements/parkingarea/load/departpos/additionals.add.xml:7:0:ERROR:SCHEMASV:SCHEMAV_CVC_PATTERN_VALID: Element 'parkingArea', attribute 'departPos': [facet 'pattern'] The value 'dummyDepartPos' is not accepted by the pattern '[-+]?((\d+\.?|(\d*\.\d+))([eE][-+]?\d+)?|Inf|inf|INF)'.
netedit/additionalelements/parkingarea/load/endpos/additionals.add.xml:7:0:ERROR:SCHEMASV:SCHEMAV_CVC_PATTERN_VALID: Element 'parkingArea', attribute 'endPos': [facet 'pattern'] The value 'dummyEndPos' is not accepted by the pattern '[-+]?((\d+\.?|(\d*\.\d+))([eE][-+]?\d+)?|Inf|inf|INF)'.
netedit/additionalelements/parkingarea/load/friendlypos/additionals.add.xml:3:0:ERROR:SCHEMASV:SCHEMAV_CVC_ENUMERATION_VALID: Element 'parkingArea', attribute 'friendlyPos': [facet 'enumeration'] The value 'dummyPos' is not an element of the set {'true', 'false', 'True', 'False', 'yes', 'no', 'on', 'off', '1', '0', 'x', '-'}.
netedit/additionalelements/parkingarea/load/id/additionals.add.xml:6:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_4: Element 'parkingArea': The attribute 'id' is required but missing.
netedit/additionalelements/parkingarea/load/id/additionals.add.xml:9:0:ERROR:SCHEMASV:SCHEMAV_CVC_PATTERN_VALID: Element 'parkingArea', attribute 'id': [facet 'pattern'] The value 'ID with spaces' is not accepted by the pattern '[^ \t\n\r|\\;,']+'.
netedit/additionalelements/parkingarea/load/lane/additionals.add.xml:4:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_4: Element 'parkingArea': The attribute 'lane' is required but missing.
netedit/additionalelements/parkingarea/load/lefthand/additionals.add.xml:3:0:ERROR:SCHEMASV:SCHEMAV_CVC_ENUMERATION_VALID: Element 'parkingArea', attribute 'lefthand': [facet 'enumeration'] The value 'dummyPos' is not an element of the set {'true', 'false', 'True', 'False', 'yes', 'no', 'on', 'off', '1', '0', 'x', '-'}.
netedit/additionalelements/parkingarea/load/length/additionals.add.xml:7:0:ERROR:SCHEMASV:SCHEMAV_CVC_DATATYPE_VALID_1_2_1: Element 'parkingArea', attribute 'length': 'dummyLenght' is not a valid value of the atomic type 'positiveFloatType'.
netedit/additionalelements/parkingarea/load/length/additionals.add.xml:10:0:ERROR:SCHEMASV:SCHEMAV_CVC_MINEXCLUSIVE_VALID: Element 'parkingArea', attribute 'length': [facet 'minExclusive'] The value '-3' must be greater than '0'.
netedit/additionalelements/parkingarea/load/onroad/additionals.add.xml:7:0:ERROR:SCHEMASV:SCHEMAV_CVC_ENUMERATION_VALID: Element 'parkingArea', attribute 'onRoad': [facet 'enumeration'] The value 'dummyOnRoad' is not an element of the set {'true', 'false', 'True', 'False', 'yes', 'no', 'on', 'off', '1', '0', 'x', '-'}.
Expand All @@ -244,6 +243,7 @@ netedit/additionalelements/parkingarea/load/roadsidecapacity/additionals.add.xml
netedit/additionalelements/parkingarea/load/startpos/additionals.add.xml:7:0:ERROR:SCHEMASV:SCHEMAV_CVC_PATTERN_VALID: Element 'parkingArea', attribute 'startPos': [facet 'pattern'] The value 'dummyStartPosition' is not accepted by the pattern '[-+]?((\d+\.?|(\d*\.\d+))([eE][-+]?\d+)?|Inf|inf|INF)'.
netedit/additionalelements/parkingarea/load/width/additionals.add.xml:7:0:ERROR:SCHEMASV:SCHEMAV_CVC_DATATYPE_VALID_1_2_1: Element 'parkingArea', attribute 'width': 'dummy' is not a valid value of the atomic type 'positiveFloatType'.
netedit/additionalelements/parkingarea/load/width/additionals.add.xml:10:0:ERROR:SCHEMASV:SCHEMAV_CVC_MINEXCLUSIVE_VALID: Element 'parkingArea', attribute 'width': [facet 'minExclusive'] The value '-3' must be greater than '0'.
netedit/additionalelements/parkingarea/load/lefthand/additionals.add.xml:3:0:ERROR:SCHEMASV:SCHEMAV_CVC_ENUMERATION_VALID: Element 'parkingArea', attribute 'lefthand': [facet 'enumeration'] The value 'dummyPos' is not an element of the set {'true', 'false', 'True', 'False', 'yes', 'no', 'on', 'off', '1', '0', 'x', '-'}.
netedit/additionalelements/parkingspace/load/angle/additionals.add.xml:8:0:ERROR:SCHEMASV:SCHEMAV_CVC_PATTERN_VALID: Element 'space', attribute 'angle': [facet 'pattern'] The value 'dummyAngle' is not accepted by the pattern '[-+]?((\d+\.?|(\d*\.\d+))([eE][-+]?\d+)?|Inf|inf|INF)'.
netedit/additionalelements/parkingspace/load/angle/additionals.add.xml:11:0:ERROR:SCHEMASV:SCHEMAV_CVC_PATTERN_VALID: Element 'space', attribute 'angle': [facet 'pattern'] The value '' is not accepted by the pattern '[-+]?((\d+\.?|(\d*\.\d+))([eE][-+]?\d+)?|Inf|inf|INF)'.
netedit/additionalelements/parkingspace/load/invalid_parent/additionals.add.xml:2:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_4: Element 'parkingArea': The attribute 'id' is required but missing.
Expand Down Expand Up @@ -285,10 +285,10 @@ netedit/additionalelements/rerouterelements/destprobreroute/load/edge/additional
netedit/additionalelements/rerouterelements/destprobreroute/load/probability/additionals.add.xml:7:0:ERROR:SCHEMASV:SCHEMAV_CVC_DATATYPE_VALID_1_2_1: Element 'destProbReroute', attribute 'probability': 'dummyProb' is not a valid value of the atomic type 'nonNegativeFloatType'.
netedit/additionalelements/rerouterelements/destprobreroute/load/probability/additionals.add.xml:9:0:ERROR:SCHEMASV:SCHEMAV_CVC_MININCLUSIVE_VALID: Element 'destProbReroute', attribute 'probability': [facet 'minInclusive'] The value '-30' is less than the minimum value allowed ('0').
netedit/additionalelements/rerouterelements/interval/load/begin/additionals.add.xml:4:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_4: Element 'interval': The attribute 'begin' is required but missing.
netedit/additionalelements/rerouterelements/interval/load/begin/additionals.add.xml:8:0:ERROR:SCHEMASV:SCHEMAV_CVC_DATATYPE_VALID_1_2_1: Element 'interval', attribute 'begin': 'dummyBegin' is not a valid value of the atomic type 'nonNegativeFloatType'.
netedit/additionalelements/rerouterelements/interval/load/begin/additionals.add.xml:8:0:ERROR:SCHEMASV:SCHEMAV_CVC_DATATYPE_VALID_1_2_3: Element 'interval', attribute 'begin': 'dummyBegin' is not a valid value of the union type 'timeType'.
netedit/additionalelements/rerouterelements/interval/load/empty/additionals.add.xml:4:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element 'interval': Missing child element(s). Expected is one of ( closingReroute, closingLaneReroute, destProbReroute, routeProbReroute, parkingAreaReroute, viaProbReroute ).
netedit/additionalelements/rerouterelements/interval/load/end/additionals.add.xml:4:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_4: Element 'interval': The attribute 'end' is required but missing.
netedit/additionalelements/rerouterelements/interval/load/end/additionals.add.xml:8:0:ERROR:SCHEMASV:SCHEMAV_CVC_DATATYPE_VALID_1_2_1: Element 'interval', attribute 'end': 'dummyEnd' is not a valid value of the atomic type 'nonNegativeFloatType'.
netedit/additionalelements/rerouterelements/interval/load/end/additionals.add.xml:8:0:ERROR:SCHEMASV:SCHEMAV_CVC_DATATYPE_VALID_1_2_3: Element 'interval', attribute 'end': 'dummyEnd' is not a valid value of the union type 'timeType'.
netedit/additionalelements/rerouterelements/parkingareareroute/load/parking/additionals.add.xml:8:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_4: Element 'parkingAreaReroute': The attribute 'id' is required but missing.
netedit/additionalelements/rerouterelements/parkingareareroute/load/probability/additionals.add.xml:10:0:ERROR:SCHEMASV:SCHEMAV_CVC_DATATYPE_VALID_1_2_1: Element 'parkingAreaReroute', attribute 'probability': 'dummyProb' is not a valid value of the atomic type 'nonNegativeFloatType'.
netedit/additionalelements/rerouterelements/parkingareareroute/load/probability/additionals.add.xml:12:0:ERROR:SCHEMASV:SCHEMAV_CVC_MININCLUSIVE_VALID: Element 'parkingAreaReroute', attribute 'probability': [facet 'minInclusive'] The value '-30' is less than the minimum value allowed ('0').
Expand Down Expand Up @@ -361,10 +361,9 @@ netedit/shapeelements/poigeo/inspect_selected/parameters/additionals.add.xml:60:
netedit/shapeelements/poigeo/inspect_selected/parameters/additionals.add.xml:61:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element 'param', attribute 'kelat': The attribute 'kelat' is not allowed.
netedit/shapeelements/poigeo/inspect_selected/parameters/additionals.add.xml:61:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_4: Element 'param': The attribute 'key' is required but missing.
sumo/devices/rerouting/personTrip/errors/access_invalid/input_additional.add.xml:3:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element 'access': This element is not expected.
sumo/devices/taxi/idling/taxistand/input_additional.add.xml:14:0:ERROR:SCHEMASV:SCHEMAV_CVC_DATATYPE_VALID_1_2_1: Element 'interval', attribute 'end': '1:0:0:0' is not a valid value of the atomic type 'nonNegativeFloatType'.
Error on parsing 'sumo/extended/calibrator/errors/invalid_flow/input_additional.add.xml'!
Traceback (most recent call last):
File "/home/erdm_ja/sumo/tests/../tools/build_config/schemaCheck.py", line 52, in validate
File "/scr1/sumo/tests/../tools/build_config/schemaCheck.py", line 52, in validate
doc = etree.parse(f)
File "src/lxml/etree.pyx", line 3536, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1876, in lxml.etree._parseDocument
Expand All @@ -374,7 +373,7 @@ Traceback (most recent call last):
File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 654, in lxml.etree._raiseParseError
File "/home/erdm_ja/sumo/tests/sumo/extended/calibrator/errors/invalid_flow/input_additional.add.xml", line 5
File "/scr1/sumo/tests/sumo/extended/calibrator/errors/invalid_flow/input_additional.add.xml", line 5
lxml.etree.XMLSyntaxError: Opening and ending tag mismatch: additional line 1 and calibrator, line 5, column 18
sumo/extended/vaporizer/errors/begin_empty/input_additional2.add.xml:3:0:ERROR:SCHEMASV:SCHEMAV_CVC_DATATYPE_VALID_1_2_1: Element 'vaporizer', attribute 'begin': '' is not a valid value of the atomic type 'nonNegativeFloatType'.
sumo/extended/vaporizer/errors/begin_negative/input_additional2.add.xml:3:0:ERROR:SCHEMASV:SCHEMAV_CVC_MININCLUSIVE_VALID: Element 'vaporizer', attribute 'begin': [facet 'minInclusive'] The value '-10' is less than the minimum value allowed ('0').
Expand Down

0 comments on commit b9258f7

Please sign in to comment.