first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

Visual Studio .NET: xsi:no­NamespaceSchemaLocation and xsi:schema­Location Attributes is not supported in VS.NET 2003

Many an experienced Visual Studio .NET user who is an inexperienced XSD designer will be wont to take advantage of this path:

%ProgramFiles%\\Microsoft Visual Studio .NET 2003\\Common7\\Packages\\schemas\\xml\\

This path is involved in adding Intellisense support for user-defined schemas. An alternative to this approach would be to use the xsi:no­NamespaceSchemaLocation and xsi:schema­Location attributes instead. But Visual Studio .NET 2003 does not support this! This is corrected in Visual Studio .NET 2005. These attributes are discussed in general by Eric van der Vlist in "Using W3C XML Schema" here:

http://www.xml.com/pub/a/2000/11/29/schemas/part1.html?page=9

The x­mlns="http://example.org/ns/books/" x­mlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://example.org/ns/books/ file:library.xsd">

Note that <book> is the document element or root node and

In the above example, the schema location URI used the file: protocol. Of course, the http: protocol is used as well.

mod date: 2009-08-10T00:06:08.000Z