Skip to main content.
home | support | download

Back to List Archive

Re: NOT just plain broken for me.

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Sun Feb 13 2005 - 01:03:54 GMT
On Sat, Feb 12, 2005 at 03:08:58PM -0800, Mark Maunder wrote:
> Ok I got it. And it's a little monster. I am a moron and forgot to
> escape my &'s in the XML I was passing to swish. And swish was being a
> little so-and-so and silently ignoring all text after any unescaped
> ampersand in the XML. So with the following:
> 
> <title>CEO & CFO - assistant</title>

Maybe ParserWarnLevel should be on by default.  Then you would have
seen:

t.xml:2: error: xmlParseEntityRef: no name
  <title>CEO & CFO - assistant</title>
              ^

Hey, vim syntax highlighting even displayed the '&' in red.

-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Sat Feb 12 17:03:56 2005