Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

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

adapt xml writer to changes in schema

parent 384fe207
Branches
Tags
No related merge requests found
...@@ -14,8 +14,8 @@ namespace TUGraz.IVT.VectoXML.Writer ...@@ -14,8 +14,8 @@ namespace TUGraz.IVT.VectoXML.Writer
public abstract class AbstractXMLWriter public abstract class AbstractXMLWriter
{ {
//protected const string SchemaLocationBaseUrl = "http://markus.quaritsch.at/VECTO/"; //protected const string SchemaLocationBaseUrl = "http://markus.quaritsch.at/VECTO/";
protected const string SchemaLocationBaseUrl = "http://www.ivt.tugraz.at/VECTO/"; protected const string SchemaLocationBaseUrl = "https://webgate.ec.europa.eu/CITnet/svn/VECTO/trunk/Share/XML/XSD/";
protected const string SchemaVersion = "0.6"; protected const string SchemaVersion = "0.8";
protected XNamespace tns; protected XNamespace tns;
protected XNamespace rootNamespace; protected XNamespace rootNamespace;
......
...@@ -286,8 +286,8 @@ namespace TUGraz.VectoCore.OutputData.XML ...@@ -286,8 +286,8 @@ namespace TUGraz.VectoCore.OutputData.XML
return new XElement(tns + XMLNames.Component_AxleWheels, return new XElement(tns + XMLNames.Component_AxleWheels,
new XElement(tns + XMLNames.ComponentDataWrapper, new XElement(tns + XMLNames.ComponentDataWrapper,
new XAttribute(XMLNames.Component_ID_Attr, //new XAttribute(XMLNames.Component_ID_Attr,
string.Format("AXLWHL-{0}", data.AxleConfiguration.GetName())), // string.Format("AXLWHL-{0}", data.AxleConfiguration.GetName())),
new XElement(tns + XMLNames.AxleWheels_Axles, axles)) new XElement(tns + XMLNames.AxleWheels_Axles, axles))
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment