I am still a bit new to XML Schema etc. and have been working to develop some XML, Schema and a Stylesheet (XSLT). I have made reasonable progress, but then realized that my
The targetNamespace of your XML Schema does not match the namespace of the Root element (dot in Test.Namespace vs. comma in Test,Namespace)
targetNamespace
Test.Namespace
Test,Namespace
Once you make the above agree, you have to consider that your element2 has an attribute order that is not in your XSD.
element2