Added proper support for CDATA sections. Updates.

* glib/gmarkup.c (g_markup_parse_context_parse): Added
	proper support for CDATA sections.
	* glib/tmpl/markup.sgml: Updates.
This commit is contained in:
Matthias Clasen
2002-05-20 22:59:11 +00:00
parent 33c5217efe
commit ea3db7ce06
9 changed files with 50 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
2002-05-21 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (g_markup_parse_context_parse): Added
proper support for CDATA sections.
2002-05-20 jacob berkman <jacob@ximian.com> 2002-05-20 jacob berkman <jacob@ximian.com>
* glib/gdir.c: include sys/types.h before dirent.h to build on * glib/gdir.c: include sys/types.h before dirent.h to build on

View File

@@ -1,3 +1,8 @@
2002-05-21 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (g_markup_parse_context_parse): Added
proper support for CDATA sections.
2002-05-20 jacob berkman <jacob@ximian.com> 2002-05-20 jacob berkman <jacob@ximian.com>
* glib/gdir.c: include sys/types.h before dirent.h to build on * glib/gdir.c: include sys/types.h before dirent.h to build on

View File

@@ -1,3 +1,8 @@
2002-05-21 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (g_markup_parse_context_parse): Added
proper support for CDATA sections.
2002-05-20 jacob berkman <jacob@ximian.com> 2002-05-20 jacob berkman <jacob@ximian.com>
* glib/gdir.c: include sys/types.h before dirent.h to build on * glib/gdir.c: include sys/types.h before dirent.h to build on

View File

@@ -1,3 +1,8 @@
2002-05-21 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (g_markup_parse_context_parse): Added
proper support for CDATA sections.
2002-05-20 jacob berkman <jacob@ximian.com> 2002-05-20 jacob berkman <jacob@ximian.com>
* glib/gdir.c: include sys/types.h before dirent.h to build on * glib/gdir.c: include sys/types.h before dirent.h to build on

View File

@@ -1,3 +1,8 @@
2002-05-21 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (g_markup_parse_context_parse): Added
proper support for CDATA sections.
2002-05-20 jacob berkman <jacob@ximian.com> 2002-05-20 jacob berkman <jacob@ximian.com>
* glib/gdir.c: include sys/types.h before dirent.h to build on * glib/gdir.c: include sys/types.h before dirent.h to build on

View File

@@ -1,3 +1,8 @@
2002-05-21 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (g_markup_parse_context_parse): Added
proper support for CDATA sections.
2002-05-20 jacob berkman <jacob@ximian.com> 2002-05-20 jacob berkman <jacob@ximian.com>
* glib/gdir.c: include sys/types.h before dirent.h to build on * glib/gdir.c: include sys/types.h before dirent.h to build on

View File

@@ -1,3 +1,8 @@
2002-05-21 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (g_markup_parse_context_parse): Added
proper support for CDATA sections.
2002-05-20 jacob berkman <jacob@ximian.com> 2002-05-20 jacob berkman <jacob@ximian.com>
* glib/gdir.c: include sys/types.h before dirent.h to build on * glib/gdir.c: include sys/types.h before dirent.h to build on

View File

@@ -1,3 +1,7 @@
2002-05-21 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/markup.sgml: Updates.
Sat May 18 00:44:35 2002 Tim Janik <timj@gtk.org> Sat May 18 00:44:35 2002 Tim Janik <timj@gtk.org>
[merged from stable] [merged from stable]

View File

@@ -18,10 +18,8 @@ easily migrate to full-scale XML at a later time if the need arises.
<para> <para>
GMarkup is not guaranteed to signal an error on all invalid XML; the GMarkup is not guaranteed to signal an error on all invalid XML; the
parser may accept documents that an XML parser would not, e.g. the parser may accept documents that an XML parser would not. However, invalid XML
sequence <literal>&lt;[[</literal> has special meaning in XML and not documents are not considered valid GMarkup documents.
in GMarkup. However, invalid XML documents are not considered valid
GMarkup documents.
</para> </para>
<para> <para>
@@ -34,12 +32,12 @@ Only UTF-8 encoding is allowed.
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
No CDATA, no user-defined entities. No user-defined entities.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Processing instructions and comments are "passed through" but are not Processing instructions, comments and the doctype declaration are "passed through" but are not
interpreted in any way. interpreted in any way.
</para> </para>
</listitem> </listitem>
@@ -74,6 +72,11 @@ Attributes
Character references Character references
</para> </para>
</listitem> </listitem>
<listitem>
<para>
Sections marked as CDATA
</para>
</listitem>
</itemizedlist> </itemizedlist>
</para> </para>
@@ -135,8 +138,8 @@ is seen.
@end_element: Callback to invoke when the closing tag of an element is seen @end_element: Callback to invoke when the closing tag of an element is seen
@text: Callback to invoke when some text is seen (text is always @text: Callback to invoke when some text is seen (text is always
inside an element) inside an element)
@passthrough: Callback to invoke for comments and processing @passthrough: Callback to invoke for comments, processing
instructions; if you're re-writing the parsed document, write the instructions and doctype declarations; if you're re-writing the parsed document, write the
passthrough text back out in the same position passthrough text back out in the same position
@error: Callback to invoke when an error occurs @error: Callback to invoke when an error occurs