I have recognized in my copy of XML Copy Editor (for Windows) that autocompletion & insert element of known type (from XSD schema) only seems to work for elements, which are already existing in XML. Is autocompletion functionality based on assigned XSD schema not fully supported? It looks like that just existing elements are taken into account for autocompletion and XSD schema is only used for validation.
Thanks,
Roger
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, I know. I have attached original XML. But autocompletion also did not work with this XML when XSD schema was linked - as you recognized yourself.
Thanks for fixing!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
And XSD schema is correctly attached, because following message is shown, if I add empty FileLoader element:
Fehler at line 11, column 30: empty content is not valid for content model '(ImageExtension.RefImage?,Arivis?,FolderLevels,FileLevel)'
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all
I have recognized in my copy of XML Copy Editor (for Windows) that autocompletion & insert element of known type (from XSD schema) only seems to work for elements, which are already existing in XML. Is autocompletion functionality based on assigned XSD schema not fully supported? It looks like that just existing elements are taken into account for autocompletion and XSD schema is only used for validation.
Thanks,
Roger
Please make sure that "network access" is enabled in the Options dialog. That option is disabled by default.
If it's already been enabled, then there is a bug. It would be helpful if you can provide the XML and the XSD to reproduce the bug in that case.
This option was disabled, but it does not make a difference.
Attached XML & XSD.
Last edit: maeni70 2014-05-29
The XML file has no schema information. It should look like
However, there is a problem in XML Copy Editor. I'll fix it in the next release.
Yes, I know. I have attached original XML. But autocompletion also did not work with this XML when XSD schema was linked - as you recognized yourself.
Thanks for fixing!
I have downloaded and installed 1.2.1.2-x64. Can you verify that this bug has not been fixed in this version?
Yes, it has.
Hi
For me it does not work! Check attached images and this XML (I have adapted it that it matches your example):
Strange!
Any ideas? What am I doing wrong?
Thanks,
Roger
And XSD schema is correctly attached, because following message is shown, if I add empty FileLoader element:
Fehler at line 11, column 30: empty content is not valid for content model '(ImageExtension.RefImage?,Arivis?,FolderLevels,FileLevel)'