Given this XML file:
<root-element xmlns="https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd
https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
</root>
root-element element is not correct:

It should be nice to have several code action to replace with xs:element declared in XSD (in this case doctrine-mapping):
Replace 'root-element' with 'doctrine-mapping'
Just to explain how to have this XML file see the following demo:

Given this XML file:
root-elementelement is not correct:It should be nice to have several code action to replace with xs:element declared in XSD (in this case doctrine-mapping):
Replace 'root-element' with 'doctrine-mapping'Just to explain how to have this XML file see the following demo: