Autodesk / Autodesk/AutodeskMachineControlFramework

XML Handler

Aperta
#62 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
46
Fork
32
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

A number of issues with the XML functions in the state environment.

- Successive "RemoveAttribute" calls result in:
"
Exception thrown: read access violation.
**this** was 0x68.
"
- SaveToString calls once an attribute has been removed and then added throws the same error
- SaveToString calls can duplicate "xmlns=..."

This error can be repeated by including an XML file in the resource folder and using this code:

auto xml_string = pStateEnvironment->LoadResourceString("test");
auto xml_object = pStateEnvironment->ParseXMLString(xml_string);
auto xml_string_back = xml_object->SaveToString(false);

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.