Re: [xsl] Complex (i think) xpath match

Subject: Re: [xsl] Complex (i think) xpath match
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 17 Dec 2003 11:49:33 -0500
Hi Karl,

At 01:11 AM 12/17/2003, you wrote:
Thanks for the help guys!
Err Wendell, the "xml" result is from an ADODB Persisted XML recordset.
Interesting mistake on Microsoft part, eh?  Here is a sample:

- <xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
...

I suppose it's easy to miss but the XML Rec does say:

Definition: A Name is a token beginning with a letter or one of a few punctuation characters, and continuing with letters, digits, hyphens, underscores, colons, or full stops, together known as name characters.] Names beginning with the string "xml", or any string which would match (('X'|'x') ('M'|'m') ('L'|'l')), are reserved for standardization in this or future versions of this specification.
[http://www.w3.org/TR/REC-xml#NT-Name]

I suppose this does not *require* that a processor reject such a name -- it is just described as "reserved". But this is the kind of nitty thing that could prevent your XML from working in another system. It doesn't have to be a show-stopper if you at least know the nature of the problem.

Cheers,
Wendell



======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread