[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Lotsa laughs
Actually, yes. I stand by what I said. I've been into this in great detail in the context of XSL/XPointer unification (because XSL patterns use square brackets which are not allowed by RFC 2396), including checking with the editor of the Character Model WD. The consequence of the Character Model WD is that in an HTML or XML element or attribute that is representing a URI reference, you can use characters which RFC 2396 prohibits in URI references, and each such character will be treated as if it had been escaped by %-encoding each of the sequence of bytes that encodes the character in UTF-8; if it was an HTTP URL, then the %-encoded sequence would be what actually goes on the wire in the GET request. The reason for doing this is that RFC 2396 prohibits all non-ASCII characters and it's a non-starter from an I18N perspective to require that non-English users creating their documents by hand in a text editor represent the characters of their language using a completely unreadable sequence of %-escapes. Chris Lilley wrote: > > James Clark wrote: > > > > "John E. Simpson" wrote: > > > Ah. Yes, I just checked using IE5 and can indeed see that IE5 "reads" URLs > > > with embedded spaces just fine, by auto-encoding them to %20s. That's an > > > interesting twist. > > > > This is in conformance with the W3C Character Model WD. See > > > > http://www.w3.org/TR/WD-charmod#URIs > > Actually, no. > > What it is doing is taking content which is *not* in conformance with > either the W3C Character Model or RFC2396, and silently fixing it up so > that it *does* conform when dereferencing URLs. > > This is supposed to happen on authoring (so the content is valid), not > as a form of retrospective error correction. > > -- > Chris xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|