OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: escaping characters

[ Lists Home | Date Index | Thread Index ]
  • From: James Gray <james.gray@buildpoint.com>
  • To: xml-dev@lists.xml.org
  • Date: Wed, 20 Dec 2000 10:34:56 -0800

The parser is giving me a generic error -- nothing specific
enough to debug.  If the ':' is special, how would I escape
it?  Different parsers escape certain characters differently,

-----Original Message-----
From: xml-dev-errors@lists.xml.org
[mailto:xml-dev-errors@lists.xml.org]On Behalf Of Mike Brown
Sent: Wednesday, December 20, 2000 10:33 AM
To: 'James Gray'
Cc: 'xml-dev@lists.xml.org'
Subject: RE: escaping characters

> My parser is choking on a document, which has a ':' in it.  Can I 
> count out the problem being because of the ':'?

Colons can be special. If the parser is namespace aware (most are), ':' in
the name of an element follows a prefix that must be bound to a URI via an
xmlns:foo attribute on an ancestor-or-self element. Could that be your
problem? Perhaps put your XML at a URL somewhere and point us to it. What
exactly is the parser saying?


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS