W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > September 2008

Re: Default values for attributes in XSLT, particularly wrt serialization

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Fri, 05 Sep 2008 09:48:27 +0100
To: Jeni Tennison <jeni@jenitennison.com>
Cc: Michael Kay <mike@saxonica.com>, public-xml-processing-model-wg@w3.org
Message-ID: <f5bej3z9dwk.fsf@hildegard.inf.ed.ac.uk>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeni Tennison writes:

> In http://www.w3.org/TR/xslt20/#serialization, it specifically says:
>
>   "The value of the omit-xml-declaration attribute provides the value
> of the omit-xml-declaration parameter to the serialization method. The
> default value is no."

Ah.  The fact that this isn't in the Serialization spec. is what threw
me.  Thanks.

> In some case the default is "not supplied", such as:
>
>   "The value of the doctype-public attribute provides the value of
> the doctype-public parameter to the serialization method. By default,
> the parameter is not supplied."

Indeed, and that's fine, we agreed yesterday that this case must be
detectable by atomic step implementations.

> Are there any other particular cases where you're having trouble
> finding the defaults for attributes?

If there are, now that you've pointed me in the right direction, I'll
ask!

Thanks again,

ht
- -- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
                         Half-time member of W3C Team
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFIwPJbkjnJixAXWBoRAoBRAJ9jJQE2fmLdq8d+KLUl0Q8VXBNOkgCdEW9M
o24nquZFeTFviNgNk3bRySw=
=OoKI
-----END PGP SIGNATURE-----
Received on Friday, 5 September 2008 08:55:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 5 September 2008 08:55:33 GMT