vectorgrp / OSC-NCAP-scenarios

Scenarios for testing active safety systems according to Euro NCAP Test Protocols modelled with OpenSCENARIO XML
http://www.vector.com/ncap
Other
17 stars 2 forks source link

XSD schema compliance #7

Open JackeyCliment opened 5 days ago

JackeyCliment commented 5 days ago

Hello,

The following road files fail XSD schema validation:

test/OSC-NCAP-scenarios/OpenDRIVE/NCAP/X-Intersection_NCAP.xodr test/OSC-NCAP-scenarios/OpenDRIVE/NCAP/X-Intersection_NCAP_noRoadmarks.xodr

While these files may function as expected, it might fail in some tools which require schema compliance (we know of such cases, where validation is performed before execution).

I recommend updating the revMinor attribute of both road files to 6. This ensures compatibility with road rule attribute (introduced in 1.5) and support empty \<elevationProfile> (introduced in 1.6).

jakobkaths commented 5 days ago

Thanks for your feedback, @JackeyCliment ! I will double-check and then probably increase the revMinor attribute with one of my next commits.