![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | [TF02016728] The Importation a Xmldocument isn't working correctly. The problem is... | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | sandra pazos <sandra> |
| Component: | Examples Demos | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | edu |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Solved with pre-release build, March 2024. 1.- Changed how the Load(string fileName) works 2.- Changes in Load(XmlDocument d) --> XPathNodeIterator select wasn't working (xpath expressions are case-sensitive and there was a mistake because of that) |
The Importation a Xmldocument isn't working correctly. The problem is produced in the AllFeatures\Welcome! \Component\XMLSource, it throw an exception when you click the Draw from Internet button appears an ArgumentException: "URI format isn't supported." I have been debugging the source code, and comparing it with other versions of TeeChartFor.Net I realized that in version 3 of TeeChartFor.Net it works fine and the only difference is in the class XLIimport.cs, concretely, in load method. Basically in version 3, this doesn't use the StreamReader method to import or not the xmlDocument. I know that the streamReader(fileName,true) is used to solve the Bug number TF02015777, but the solution breaks the XmlDocument load. Code of method load of XLIImport.cs class in version 4: public void Load(string fileName) { using (StreamReader sr = new StreamReader(fileName, true)) //CDI TF02015777 { XmlDocument d = new XmlDocument(); d.Load(fileName); Load(d); } } Code of method load of XLIImport.cs class in version 3: public void Load(string fileName) { XmlDocument d = new XmlDocument(); d.Load(fileName); Load(d); } [created:2013-09-24T12:39:00.000+01:00 reported by:sandra@steema.com reported in version:]