Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: DOCTYPE questions and problem(s) >Thread Next - Re: DOCTYPE questions and problem(s) Re: DOCTYPE questions and problem(s)To: NULL Date: 4/8/2008 7:09:00 PM Martin wrote: > Actually I'd come up with another solution using the HOSTS file instead. > My concern is that I'm likely to encounter this or a similar problem > when I start to build schemas for my documents. I'm very uncertain of my > ground here - schemas is next on my todo list - but I foresee problems > with targetNamespace and xmlns:mstns, for example. Namespaces are URIs where the URI scheme is used to have globally unique names but where there is not usually a resource at the location. So targetNamespace="http://example.com/ns1" or xmlns:ns1="http://example.com/ns1" is not a problem as XML parsers do not try to dereference those URIs. xsi:schemaLocation or xsi:noNamespaceSchemaLocation is where parsers get locations to fetch schemas from. But you can apply the approach with a custom XmlResolver for that as well. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
