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

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
No related branches found
No related tags found
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.
Finish editing this message first!
Please register or to comment