XML Handler
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the report with an XML resource and the LoadResourceString, ParseXMLString, RemoveAttribute, and SaveToString calls shown in the issue. Trace successive attribute removal and remove-then-add serialization, then verify that SaveToString no longer crashes and does not duplicate xmlns entries.
Written by the indexing model from the issue text.
Description
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);
- Dominant language
- C++
- Stars
- 46
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Autodesk/AutodeskMachineControlFramework
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Autodesk/AutodeskMachineControlFramework#75 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Autodesk/AutodeskMachineControlFramework#34 · 1 comment ·
All issues in Autodesk/AutodeskMachineControlFramework
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
objectionary/eo-graphs#74 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 88/100
QuantStack/git2cpp#187 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100