Generate XSD Schema from XML File failes and deletes my original XML Schema (XML Actions)

Answered

This function used to work but now fails with the following error:
"Instance 2 Schema generator error" (see attachement). The original XML Schema file is now deleted.

0
7 comments

The XML file is a valid XML Document.

0

Intellij JetBrains Version 24.3.4.1

0
Could you please share a sample xml file and the zipped log folder in a new bug report at https://youtrack.jetbrains.com/issues?
0

The bug is present also in 2026.1 .2 version.
And can be easily verified with any simple XML, for example this one:
<?xml version="1.0" encoding="UTF-8"?>
<RootElement>
    <ChildElement>
        <ID>ID20000000001</ID>
    </ChildElement>
</RootElement>
 

0

This is happening in JetBrains Rider 2026.1 too

The link to the issue in the previous comment doesn't resolve…

0
Link updated, please check again.
0

Please sign in to leave a comment.