Danny Yoo
7618a6a737
Drop dead code.
2012-11-09 13:08:41 -07:00
Danny Yoo
641e855786
Translate uses of display with write-string.
...
Eli recommends that write-string should be faster in http://lists.racket-lang.org/dev/archive/2012-November/010764.html
2012-11-09 13:08:40 -07:00
Danny Yoo
5cb2f3eb58
Avoid regexp-replace* unless the string really contains escapable characters.
2012-11-07 16:09:28 -07:00
Danny Yoo
40116eb16d
Lift out empty-tag-shorthand parameter lookup out of the hot spot.
2012-11-07 16:09:27 -07:00
Danny Yoo
6d189287a9
Add let loop for recursion and slight performance increase.
2012-11-07 16:09:27 -07:00
Danny Yoo
fb3a95f9d5
Replace fprintf with explicit display for performance.
...
Replace fprintf with explicit display for performance.
2012-11-07 16:09:27 -07:00
Matthew Flatt
7a8ebdab7b
add `xml/xexpr'
...
Exports `xexpr?' and `xexpr/c' without dependencies on the rest of
the `xml' library.
2012-09-11 17:17:38 -06:00
Jay McCarthy
eb0e188b63
Clarify error message
2012-02-28 14:15:07 -07:00
Jay McCarthy
354283132d
Fixing PR 12271
2011-10-10 06:45:42 -06:00
Eli Barzilay
40124a0619
A long overdue scan to eliminate files without terminating newlines.
...
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Jay McCarthy
af57e0419c
Fixes PR11793.
...
It was very hard to figure out why � is invalid. Both the XML 1.0 and 1.1 specs say that a CharRef can be '&#' [0-9]+ ';' (sec 4.1), but there is a note on the side that it must also be a valid Char. The Char definition (sec 2.2) then lays out which characters are valid. (The 1.0 and 1.1 specs disagree though.) I've gone with the 1.1 definition.
I did not update the rest of the reader to disallow those characters in pcdata segments. If this hurts you or you morally disagree, submit another PR, please.
2011-04-06 11:14:25 -06:00
Jay McCarthy
9ad953c501
Adding efficient Xexpr writing
2010-12-07 14:14:51 -07:00
Jay McCarthy
eb3d46cc0c
Improving xexpr error re Robby
2010-09-14 13:07:19 -06:00
Jay McCarthy
6064ecd2c0
Fixing formatting re Robby
2010-09-10 15:21:55 -06:00
Eli Barzilay
7dc4d2e5a6
Change a bunch of "~%" and "~n" in format strings to "\n".
2010-08-25 17:17:01 -04:00
Jay McCarthy
08a48a67a0
Making string->xexpr more permissive
2010-05-27 10:48:42 -06:00
Jay McCarthy
7d1c7d874b
Changing unstable, xml, html, and web-server to be rackety
2010-04-28 13:21:30 -06:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00