xsl-list
[Top] [All Lists]

Re: [xsl] descendant-or-self XSLT 1.0

2006-03-20 07:20:24
Hi Florent,

I also thought that such names MUST NOT be used, but then after a few discussions (on the Xerces list IIRC) I clarified that such names can be used but it is not recommended to use them, that is no parser will signal an error in such cases, otherwise if the parser signals an error it will not be able to handle documents containing future standard names this combination was reserved for.

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


Florent Georges wrote:
cknell(_at_)onebox(_dot_)com wrote:

This set of templates does what you ask, but it is a bad
practice to use "xml" as an element name.

It's not only a bad practice. You MUST NOT use such a name. <URL:http://www.w3.org/TR/REC-xml/#IDASK3S>:

    This specification does not constrain the semantics,
    use, or (beyond syntax) names of the element types and
    attributes, except that names beginning with a match to
    (('X'|'x')('M'|'m')('L'|'l')) are reserved for
    standardization in this or future versions of this
    specification.

  Regards,

--drkm























        

        
                
___________________________________________________________________________ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--