RE: [xsl] handling tags and PIs within a macro

Subject: RE: [xsl] handling tags and PIs within a macro
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Oct 2007 11:08:05 -0400
At 2007-10-23 07:51 -0700, you wrote:
So how do you explain the fact that those macros are
parsed properly by the XSLTPROC

"properly"? XSLTPROC is in error.


If what you quoted is precisely the text you have:

<j_entry cmd="admin/user/mail" dsc="Quota of a mailbox
in Megabytes. The default value is taken from the mail
server default quota (see entry <xref
linkend='mta_quota' xrefstyle='template:%t on page
%p'/>)." rel="Mail Server" t="integer" ver="4.0"
val="30"/>

... then the naked "<" in the attribute is supposed to be rejected by a conforming processor.

What you have isn't XML: XML 1.0 production [10] "AttValue" specifically forbids a naked "<" character in an attribute.

Where is the confusion?

. . . . . . . . . . . . Ken

--
Comprehensive in-depth XSLT2/XSL-FO1.1 classes: Austin TX,Jan-2008
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds:     publicly-available developer resources and training
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Jul'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread