XML Namespaces: Results of Montreal Meeting 22-Aug-97

Several important design decisions regarding XML namespaces were
concluded at the XML meeting in Montreal this past Friday. The attached
document contains my understanding of the resulting definition of XML
namespaces and their application to document instances. It is
essentially the same as the "Layman-Bray" namespace proposal, but has
been refined in a number of particulars, so I recommend a careful
reading of the document.

Dan: Can you post this, superceding the similar document I sent a week
ago?

 

--Andrew Layman, Microsoft Corporation

begin 600 layman-namespace.html
M/"%$3T-465!%($A434P^#0H\:'1M;#X-"@T*/&AE860^#0H\;65T82!H='1P
M+65Q=6EV/2)#;VYT96YT+51Y<&4B(&-O;G1E;G0](G1E>'0O:'1M;#L@8VAA
M<G-E=#UI<V\M.#@U.2TQ(CX-"CQM971A(&YA;64](D=%3D52051/4B(@8V]N
M=&5N=#TB36EC<F]S;V9T($YO=&5P860M+51H92!R96%L(&UA;B=S(&5D:71O
M<B$B/@T*/'1I=&QE/EA-3"!.86UE<W!A8V4@4')O<&]S86P\+W1I=&QE/@T*
M/"]H96%D/@T*#0H\8F]D>2!B9V-O;&]R/2(C1D9&1D9&(CX-"@T*/&@Q/EA-
M3"!.86UE<W!A8V5S/"]H,3X-"@T*/'`^1&5S:6=N(&1E8VES:6]N<R!R96%C
M:&5D(&%T('1H92!834P@5T<@;65E=&EN9R!I;B!-;VYT<F5A;"P@0V%N861A
M+"!!=6=U<W0@,C(L(#$Y.#<N/"]P/@T*#0H\<#Y%9&ET;W(Z(#QA9&1R97-S
M/D%N9')E=R!,87EM86XL($UI8W)O<V]F="!#;W)P;W)A=&EO;BP@86YD<F5W
M;$!M:6-R;W-O9G0N8V]M/"]A9&1R97-S/CPO<#X-"@T*/'`^0W5R<F5N=&QY
M+"!834P@9&]C=6UE;G1S('5S92!N86UE<R`H92YG+B!E;&5M96YT(&YA;65S
M+`T*871T<FEB=71E(&YA;65S+"!E=&,N*2!W:&]S92!M96%N:6YG(&ES(&%S
M<V]C:6%T960@=VET:"!T:&4-"F1O8W5M96YT)W,@/&5M/F1O8W5M96YT('1Y
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