Archaic link in project file

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

Archaic link in project file

Postby smd » Fri Apr 03, 2015 3:30 pm

Poking around in the files for my project, I noticed the following line at the top of the project file

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">


Does not exist, and looks like it has not existed for a long time. So why does Embarcadero bother to put that into the file?

Note that this is a newly created project, not an old one.
-----------------------------
Scott
smd
BCBJ Guru
BCBJ Guru
 
Posts: 130
Joined: Sat Nov 29, 2014 8:02 pm
Location: Las Vegas

Re: Archaic link in project file

Postby HsiaLin » Sat Apr 04, 2015 7:12 am

Pretty sure thats just a namespace identifier, it doesnt actually go to that website. Visual Studio uses that too in its xml files.
HsiaLin
BCBJ Master
BCBJ Master
 
Posts: 299
Joined: Sun Jul 08, 2007 6:29 pm

Re: Archaic link in project file

Postby rlebeau » Sun Apr 05, 2015 3:48 pm

HsiaLin wrote:Pretty sure thats just a namespace identifier, it doesnt actually go to that website.


That is correct. XML namespaces are required to be syntactically correct URIs, but are not required to be real URLs on the Internet. They just have to be unique values within the scope of the XML document.

Namespaces in XML 1.0 wrote:3 Declaring Namespaces
...
The attribute's normalized value must be either a URI reference — the namespace name identifying the namespace — or an empty string. The namespace name, to serve its intended purpose, should have the characteristics of uniqueness and persistence. It is not a goal that it be directly usable for retrieval of a schema (if any exists). Uniform Resource Names [RFC2141] is an example of a syntax that is designed with these goals in mind. However, it should be noted that ordinary URLs can be managed in such a way as to achieve these same goals.
Remy Lebeau (TeamB)
Lebeau Software
User avatar
rlebeau
BCBJ Author
BCBJ Author
 
Posts: 1528
Joined: Wed Jun 01, 2005 3:21 am
Location: California, USA


Return to Technical

Who is online

Users browsing this forum: Bing [Bot] and 8 guests

cron