expat/doc reference.html,1.63,1.64
"Karl Waclawek" <[email protected]> Sun, 19 Dec 2004 19:23:32 -0800
| Newsgroups | gmane.text.xml.expat.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/expat/expat/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31335 Modified Files: reference.html Log Message: Improved and corrected namespace processing documentation. Index: reference.html =================================================================== RCS file: /cvsroot/expat/expat/doc/reference.html,v retrieving revision 1.63 retrieving revision 1.64 diff -u -d -r1.63 -r1.64 --- reference.html 14 Dec 2004 17:26:18 -0000 1.63 +++ reference.html 20 Dec 2004 03:23:29 -0000 1.64 @@ -591,8 +591,8 @@ separator character (which is the 2nd argument to <code><a href= "#XML_ParserCreateNS" >XML_ParserCreateNS</a></code>), and the local name (i.e. the part after the colon). Names with undeclared prefixes -are passed through to the handlers unchanged, with the prefix and -colon still attached. Unprefixed attribute names are never expanded, +are not well-formed when namespace processing is enabled, and will +trigger an error. Unprefixed attribute names are never expanded, and unprefixed element names are only expanded when they are in the scope of a default namespace.</p> @@ -908,7 +908,11 @@ expanded element names and attribute names are returned as a concatenation of the namespace URI, <em>sep</em>, and the local part of the name. This means that you should pick a character for <em>sep</em> that can't be -part of a legal URI.</div> +part of a legal URI. There is a special case when <em>sep</em> is the null +character <code>'\0'</code>: the namespace URI and the local part will be +concatenated without any separator - this is intended to support RDF processors. +It is a programming error to use the null separator with +<a href= "#XML_SetReturnNSTriplet">namespace triplets</a>.</div> <pre class="fcndec" id="XML_ParserCreate_MM"> XML_Parser XMLCALL