ISO ns element
"Daniel Cazzulino" <[email protected]> Tue, 29 Jun 2004 14:09:20 -0300
| Newsgroups | gmane.text.xml.schematron |
|---|---|
| Organization | Lagash Systems SA |
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
------=_NextPart_000_0088_01C45DE2.B355C030
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
There's an inconsistency between the text definition and the relax schema:
5.2.7 ns element
Specification of a namespace prefix and URI. The required prefix attribute
is an XML name with no colon character.
The required uri attribute is a namespace URI.
ns =
element ns {
attribute uri { uri },
attribute prefix { xsd:NMTOKEN }?,
foreign-empty
}
That is, the former specifies the prefix is required, while the later says
it's optional.
------=_NextPart_000_0088_01C45DE2.B355C030
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.3790.118" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D502200717-29062004><FONT face=3DArial =
size=3D2>There's an=20
inconsistency between the text definition and the relax=20
schema:</FONT></SPAN></DIV>
<DIV><SPAN class=3D502200717-29062004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D502200717-29062004><B><FONT face=3DArial size=3D2>
<P align=3Dleft>5.2.7 </FONT><FONT face=3DCourier size=3D2>ns =
</FONT><FONT face=3DArial=20
size=3D2>element<BR></B></FONT><FONT face=3DArial size=3D2>Specification =
of a=20
namespace prefix and URI. The required </FONT><FONT face=3DCourier =
size=3D2>prefix=20
</FONT><FONT face=3DArial size=3D2>attribute is an XML name with no =
colon=20
character.<BR>The required </FONT><FONT face=3DCourier size=3D2>uri =
</FONT><FONT=20
face=3DArial size=3D2>attribute is a namespace URI.</FONT></P><FONT =
face=3DArial>
<P align=3Dleft><FONT face=3DCourier size=3D2>ns =3D</FONT><SPAN=20
class=3D502200717-29062004><FONT face=3DCourier size=3D2> <BR> =20
</FONT></SPAN><FONT face=3DCourier size=3D2>element ns {<BR><SPAN=20
class=3D502200717-29062004> </SPAN>attribute uri { uri =
},<BR><SPAN class=3D502200717-29062004> =
</SPAN>attribute prefix=20
{ xsd:NMTOKEN }?,<BR><SPAN class=3D502200717-29062004> =
</SPAN>foreign-empty<BR><SPAN class=3D502200717-29062004> =20
</SPAN>}</FONT></P></FONT>
<P align=3Dleft><SPAN class=3D502200717-29062004><FONT face=3DArial =
size=3D2>That is,=20
the former specifies the prefix is required, while the later says it's=20
optional.</FONT></SPAN></P></SPAN></DIV></BODY></HTML>
------=_NextPart_000_0088_01C45DE2.B355C030--
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com