all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: XML parsing error
@ 2002-09-01 13:14 Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2002-09-01 13:14 UTC (permalink / raw)
  Cc: emacs-devel

Would you please take a look at this problem?


Envelope-to: rms@gnu.org
Delivery-date: Sat, 31 Aug 2002 06:00:51 -0400
From: "Edward O'Connor" <ted@oconnor.cx>
To: bug-gnu-emacs@gnu.org
Subject: XML parsing error
Sender: bug-gnu-emacs-admin@gnu.org
Date: Sat, 31 Aug 2002 05:01:27 -0500

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-03-17 on george
Important settings:
  value of $LC_ALL: POSIX
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

When using xml.el to parse some XML, I encountered a small bug in
its handling off tag attributes. Specifically, it doesn't allow
for the empty string as an attribute value, whereas the XML
standard pretty clearly allows for the empty string.

In a fresh emacs -q --no-site-file, the following steps should
reproduce the faulty behavior: Load the xml.el library. Insert
"<foo bar=''/>" into the buffer, and xml-parse-region it.

The reason for this misbehavior appears to be the regular
expressions appearing on lines 292 and 293 of xml.el. I think a
simple change of the +'s to *'s should fix them.

Recent messages:
Making completion list...done
Auto-saving...done
xml-read-from-string
xmpp-recv
Wrote /home/ted/elisp/smyrno/xmppbuff.el
Mark set
History item: 1
error in process filter: xml-parse-attlist: XML: Attribute values must be given between quotes
error in process filter: XML: Attribute values must be given between quotes
Loading emacsbug...done


-- 
Edward O'Connor
ted@oconnor.cx



_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs

^ permalink raw reply	[flat|nested] 2+ messages in thread
* XML parsing error
@ 2002-08-31 10:01 Edward O'Connor
  0 siblings, 0 replies; 2+ messages in thread
From: Edward O'Connor @ 2002-08-31 10:01 UTC (permalink / raw)


This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-03-17 on george
Important settings:
  value of $LC_ALL: POSIX
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

When using xml.el to parse some XML, I encountered a small bug in
its handling off tag attributes. Specifically, it doesn't allow
for the empty string as an attribute value, whereas the XML
standard pretty clearly allows for the empty string.

In a fresh emacs -q --no-site-file, the following steps should
reproduce the faulty behavior: Load the xml.el library. Insert
"<foo bar=''/>" into the buffer, and xml-parse-region it.

The reason for this misbehavior appears to be the regular
expressions appearing on lines 292 and 293 of xml.el. I think a
simple change of the +'s to *'s should fix them.

Recent messages:
Making completion list...done
Auto-saving...done
xml-read-from-string
xmpp-recv
Wrote /home/ted/elisp/smyrno/xmppbuff.el
Mark set
History item: 1
error in process filter: xml-parse-attlist: XML: Attribute values must be given between quotes
error in process filter: XML: Attribute values must be given between quotes
Loading emacsbug...done


-- 
Edward O'Connor
ted@oconnor.cx

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-01 13:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-01 13:14 XML parsing error Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2002-08-31 10:01 Edward O'Connor

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.