xsl-list
[Top] [All Lists]

RE: [xsl] Preserve-space isn't

2006-03-31 13:09:01
Trevor,

It could be that with XMLSpy you are running into a known "bug" in the MSXML processor.

(I put "bug" in quotes because the "fix" offered by MS to this issue is to argue from a loophole in the spec that it's not a bug; and sure enough, the spec does offer the loophole.)

There are several fixes available to you, depending on your situation. One of them is to use a different XSLT engine. Another is apparently (I personally haven't had to try this) to declare xml:space="preserve" at an appropriate point in your input document, perhaps (to be safe) at the top. (That may seem like repainting the room to cover a mark on the wall, but there you have it.)

Cheers,
Wendell


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
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
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>