[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Schema issue - enumerations - off topic apology

Subject: Re: [xsl] Schema issue - enumerations - off topic apology
From: Liam R E Quin <liam@xxxxxx>
Date: Sat, 06 Oct 2012 16:32:53 -0400

On Sat, 2012-10-06 at 18:00 +0100, Ihe Onwuka wrote:

> So it looks like you can't use lists on enumeration facets that
> contain whitespace because it will validate each token.
For element values you may be able to use xs:whitespace to have the
items be one per line. For attributes there's not much hope - "don't do
this" - since XML attributes have newlines turned to spaces by the
parser before most schema processors even see them.


Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Co-author, 5th edition of "Beginning XML", Wrox, July 2012
The barefoot typographer - http://www.holoweb.net/~liam/

Current Thread