Now I am past the socket connection problem, thanks to Mike Hucka,
but still can't get the validation working.
Here's my XML file (foo_schema.xml) :
<?xml version="1.0"?>
<doc xmlns="foo.xsd">Hello</doc>
And here's my Schema file (foo.xsd):
<schema xmlns="http://www.w3.org/1999/XMLSchema">
<element name="doc" type="DocumentType"/>
<complexType name="DocumentType">
<attribute name="xmlns" type="string"/>
</complexType>
</schema>
I get the following error:
Attribute "xmlns" must be declared for element type "doc". at line 2,
column 12.
No validator for datatype DocumentType
What am I doing wrong?
Any help is greatly appreciated.
Cheers,
Tammam