Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 95e6e519 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

use dev schema location, make passenger count optional

parent 7e303a4e
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ namespace TUGraz.VectoCore.OutputData.XML
new XAttribute(XNamespace.Xmlns + "mrf", mrf),
new XAttribute(
xsi + "schemaLocation",
string.Format("{0} {1}VectoOutputManufacturer.xsd", mrf, AbstractXMLWriter.SchemaLocationBaseUrl)),
string.Format("{0} {1}/DEV/VectoOutputManufacturer.xsd", mrf, AbstractXMLWriter.SchemaLocationBaseUrl)),
new XElement(
mrf + XMLNames.Report_DataWrap,
new XAttribute(xsi + "type", "VectoOutputDataType"),
......
......@@ -26,7 +26,7 @@ namespace TUGraz.VectoCore.OutputData.XML
protected XNamespace di = "http://www.w3.org/2000/09/xmldsig#";
protected XNamespace xsi = XNamespace.Get("http://www.w3.org/2001/XMLSchema-instance");
protected XNamespace RootNS = "urn:tugraz:ivt:VectoAPI:PrimaryVehicleInformation";
protected XNamespace RootNS = "urn:tugraz:ivt:VectoAPI:DeclarationOutput:PrimaryVehicleInformation";
protected XElement VehiclePart;
......
......@@ -434,7 +434,7 @@
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="PassengerCount" type="xs:double"/>
<xs:element name="PassengerCount" type="xs:double" minOccurs="0"/>
<xs:element name="FuelMode">
<xs:simpleType>
<xs:restriction base="xs:string">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment