Hi
I created a SmartComponent (SC) and exported it to rsxml. An import of this rsxml is not possible, the following exception is thrown:
RobotStudio .NET exception: Failed to import C:UsersXXXXXXXXX.rsxml
Base exception: XmlSchemaValidationException
The ‘t’ attribute is invalid - The value ‘1.0339, -8.9424E-17, 1.57’ is invalid according to its datatype ‘urn:abb-robotics-robotstudio-graphiccomponent:TVector3’ - The Pattern constraint failed.
at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(XmlSchemaValidationException e, XmlSeverityType severity)
at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(String code, String args, Exception innerException)
at System.Xml.Schema.XmlSchemaValidator.CheckAttributeValue(Object value, SchemaAttDef attdef)
at System.Xml.Schema.XmlSchemaValidator.ValidateAttribute(String lName, String ns, XmlValueGetter attributeValueGetter, String attributeStringValue, XmlSchemaInfo schemaInfo)
at System.Xml.Schema.XmlSchemaValidator.ValidateAttribute(String localName, String namespaceUri, XmlValueGetter attributeValue, XmlSchemaInfo schemaInfo)
at System.Xml.XsdValidatingReader.ValidateAttributes()
at System.Xml.XsdValidatingReader.ProcessElementEvent()
at System.Xml.XsdValidatingReader.ProcessReaderEvent()
at System.Xml.XsdValidatingReader.Read()
at System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space)
at System.Xml.XPath.XPathDocument..ctor(XmlReader reader, XmlSpace space)
at System.Xml.XPath.XPathDocument..ctor(XmlReader reader)
at ABBInternal.SmartComponentServices.GraphicComponentCompiler.Compile(String xml, String refDir, String defaultName, String defaultResource)
at ABBInternal.SmartComponentServices.SmartComponentManager.ImportGC(String xml, String refDir, String defaultName, String defaultResource)
at ABB.Robotics.RobotStudio.Stations.GraphicComponent.ImportXml(String xmlData, String referenceDirectory, String defaultName, String defaultResource)
at ABB.Robotics.RobotStudio.Stations.GraphicComponent.ImportXml(String xmlFile)
at ABBInternal.StationLogic.ComponentServices.ImportComponents(IEnumerable1 fileNames, Boolean importGeometry, IHasGraphicComponents parent, Nullable1 position)
Inner exception: XmlSchemaException
The Pattern constraint failed.