[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Associate XSD schema with XML document without declaration

It is possible associate XSD schema to some XML document in runtime without declaration it in this document?

e.g. this two  code are equivalent :

<?xml version="1.0" encoding="utf-8" ?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="schema.xsd">
<someelement/>
<root>



<?xml version="1.0" encoding="utf-8" ?> <root> <someelement/> <root>


I can override ResolverExtension to get file in my location but I have to write declaration in XML file.


Thanks.Associate XSD schema with XML document without declaration.