<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-serif";
color:black;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";
color:black;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 113.7pt 1.0in 113.7pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoPlainText">It’s enough to say<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><mei xmlns="http://www.music-encoding.org/ns/mei"><o:p></o:p></p>
<p class="MsoPlainText"> <someElement xml:id="abc123" /><o:p></o:p></p>
<p class="MsoPlainText"></mei><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">(oXygen seems to understand that @id is in the XML namespace.)<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">but <o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><?xml version="1.0" encoding="UTF-8"?><o:p></o:p></p>
<p class="MsoPlainText"><mei xmlns:xml="http://www.w3.org/XML/1998/namespace"<o:p></o:p></p>
<p class="MsoPlainText"> xmlns="http://www.music-encoding.org/ns/mei"><o:p></o:p></p>
<p class="MsoPlainText"> <someElement xml:id="abc123" /><o:p></o:p></p>
<p class="MsoPlainText"></mei> <o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">is ok too.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">You just can’t declare the XML namespace as anything other than “http://www.w3.org/XML/1998/namespace”.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">--<o:p></o:p></p>
<p class="MsoPlainText">p.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> -----Original Message-----</p>
<p class="MsoPlainText">> From: mei-l [mailto:mei-l-bounces@lists.uni-paderborn.de] On Behalf Of</p>
<p class="MsoPlainText">> Andrew Hankinson</p>
<p class="MsoPlainText">> Sent: Thursday, September 04, 2014 2:11 PM</p>
<p class="MsoPlainText">> To: Music Encoding Initiative</p>
<p class="MsoPlainText">> Subject: [MEI-L] XML Namespaces in MEI</p>
<p class="MsoPlainText">> </p>
<p class="MsoPlainText">> Hi all,</p>
<p class="MsoPlainText">> </p>
<p class="MsoPlainText">> Does anyone know how the xml: namespace prefix works? Do you have to</p>
<p class="MsoPlainText">> declare it explicitly, or is it always implicitly declared?</p>
<p class="MsoPlainText">> </p>
<p class="MsoPlainText">> So, do you have to do this:</p>
<p class="MsoPlainText">> </p>
<p class="MsoPlainText">> <mei xmlns:xml=“<a href="http://www.w3.org/XML/1998/namespace"><span style="color:black;text-decoration:none">http://www.w3.org/XML/1998/namespace</span></a>”</p>
<p class="MsoPlainText">> xmlns="<a href="http://www.music-encoding.org/ns/mei"><span style="color:black;text-decoration:none">http://www.music-encoding.org/ns/mei</span></a>”></p>
<p class="MsoPlainText">> <someElement xml:id=“abc123” /></p>
<p class="MsoPlainText">> </mei></p>
<p class="MsoPlainText">> </p>
<p class="MsoPlainText">> Or is it enough to do this:</p>
<p class="MsoPlainText">> </p>
<p class="MsoPlainText">> <mei xmlns="<a href="http://www.music-encoding.org/ns/mei"><span style="color:black;text-decoration:none">http://www.music-encoding.org/ns/mei</span></a>”></p>
<p class="MsoPlainText">> <someElement xml:id=“abc123” /></p>
<p class="MsoPlainText">> </mei></p>
<p class="MsoPlainText">> </p>
<p class="MsoPlainText">> -Andrew</p>
<p class="MsoPlainText">> _______________________________________________</p>
<p class="MsoPlainText">> mei-l mailing list</p>
<p class="MsoPlainText">> <a href="mailto:mei-l@lists.uni-paderborn.de"><span style="color:black;text-decoration:none">mei-l@lists.uni-paderborn.de</span></a></p>
<p class="MsoPlainText">> <a href="https://lists.uni-paderborn.de/mailman/listinfo/mei-l">
<span style="color:black;text-decoration:none">https://lists.uni-paderborn.de/mailman/listinfo/mei-l</span></a></p>
</div>
</body>
</html>