Parsing/validating xml not including information about xsd using codesynthesis-xsd
问题 I've encountered a similar problem as in this question. Basically if my xml does not contain the information about the xsd, I get errors. Given below are the xml,xsd and a sample program giving me the errors. hello.xml <?xml version="1.0"?> <hello> <greeting>Hello</greeting> <name>sun</name> <name>moon</name> <name>world</name> </hello> Had I replaced the 'hello' tag in the beginning with the following then the program would've run just fine. <hello xmlns:xsi="http://www.w3.org/2001/XMLSchema