4

When automatically creating a scheme for app.config, an app.xsd is generated.

However in the beginning fragment:

<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"     xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="configuration">
    <xs:complexType>
      <xs:sequence>

I get the warning:

Warning (line 1)    The global element 'configuration' has already been declared.

When I double click on the warning, the focus is on the fragment:

Does anybody have a solution how to get rid of this warning?

Thanks in advance.

4

1 に答える 1

2

I have no idea if this is related to the problem that prompted this question, but I was encountering the same type of error ("warning") in the program XML Notepad and closing and then re-opening it resolved the errors I was observing like restarting your computer did for your own errors.

于 2012-10-09T16:23:48.937 に答える