[
Lists Home |
Date Index |
Thread Index
]
- From: "Frank Boumphrey" <bckman@ix.netcom.com>
- To: "Li Jiefeng" <jieli@cs.umbc.edu>, <xml-dev@ic.ac.uk>
- Date: Mon, 17 Aug 1998 14:17:06 -0400
Li wrote:
> I used IBM Parser for XML, but it shows some error. It seems that
>" and < are not properly represented.
>From section 2.4 of the XML spec obtainable at
http://www.w3.org/TR/REC-xml
The ampersand character (&) and the left angle bracket (<) may appear in
their literal form only when used as markup delimiters, or within a comment,
a processing instruction, or a CDATA section. They are also legal within the
literal entity value of an internal entity declaration; see "4.3.2
Well-Formed Parsed Entities". If they are needed elsewhere, they must be
escaped using either numeric character references or the strings "&" and
"<" respectively. The right angle bracket (>) may be represented using
the string ">", and must, for compatibility, be escaped using ">" or a
character reference when it appears in the string "]]>" in content, when
that string is not marking the end of a CDATA section. "
Frank
Frank Boumphrey
XML and style sheet info at Http://www.hypermedic.com/style/index.htm
Author: - Professional Style Sheets for HTML and XML http://www.wrox.com
-----Original Message-----
From: Li Jiefeng <jieli@cs.umbc.edu>
To: <xml-dev@ic.ac.uk>
Date: Monday, August 17, 1998 12:07 PM
Subject: a small question on xml
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|