Closed HaonPAPA closed 2 years ago
Thanks for this issue. I found a bug at deserialize macro QS_XML_FIELD and fix it. Problem was into return invalid QDomNode. Before this was returns QDomNode constructs from element, without doc who contains this element. It was usual mistype.
It should be work now. Try it and feedback me after that, thanks.
Thanks for this issue. I found a bug at deserialize macro QS_XML_FIELD and fix it. Problem was into return invalid QDomNode. Before this was returns QDomNode constructs from element, without doc who contains this element. It was usual mistype.
It should be work now. Try it and feedback me after that, thanks.
Did the modified code have been uploaded to git? Can you tell which parts have been modified?
Yes, last commit for master branch. In macro QS_XML_FIELD into GET section replased QDomNode(element) to QDomNode(doc).
Yes, last commit for master branch. In macro QS_XML_FIELD into GET section replased QDomNode(element) to QDomNode(doc).
Thank you for quick response. I checked that it works Thanks it worked out well.
I even checked that I wrote about the newly defined variable and saved it as an xml file. In the process of loading, it was discovered that the data for String could not be retrieved normally. It seems to get the initial value through the process of GET in QS_XML_FIELD.
When I do xml.readAll();, I checked that the data was imported normally, but it seems to be missing in the process of writing. What is the problem?
=================================================================================
Why is tmp.tagName() empty? There is an error in retrieving data because of an empty part.
I've modified the source code, but when I edit it like this, it works normally.