www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - wrong values for named entities

reply =?UTF-8?B?VGhvbWFzIEvDvGhuZQ==?= writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

# int main(){
#	assert('\σ'==963);
#	assert('\∧'==8869);
#	assert('\∨'==8870);
#	assert('\⊃'==8835);
#	return 0;
# }

test cases:
http://dstress.kuehne.cn/run/named_entity_02.d

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFCMv7T3w+/yD4P9tIRApn5AJ9gZ17lMcxHLHsABcnoUBNP16ahZACfZTxr
qH/LaVEDVkz8JxtKsxugTZM=
=OUlG
-----END PGP SIGNATURE-----
Mar 12 2005
next sibling parent reply "Walter" <newshound digitalmars.com> writes:
I double checked these with:

http://www.htmlhelp.com/reference/html40/entities/symbols.html

and the 'and' and 'or' differ from yours. The 'sigma' and 'sup' in DMD match
yours.

"Thomas Kühne" <thomas-dloop kuehne.THISISSPAM.cn> wrote in message
news:d0uvgh$2o48$1 digitaldaemon.com...
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1

 # int main(){
 # assert('\&sigma;'==963);
 # assert('\&and;'==8869);
 # assert('\&or;'==8870);
 # assert('\&sup;'==8835);
 # return 0;
 # }

 test cases:
 http://dstress.kuehne.cn/run/named_entity_02.d

 Thomas
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (MingW32)

 iD8DBQFCMv7T3w+/yD4P9tIRApn5AJ9gZ17lMcxHLHsABcnoUBNP16ahZACfZTxr
 qH/LaVEDVkz8JxtKsxugTZM=
 =OUlG
 -----END PGP SIGNATURE-----

Mar 14 2005
parent reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Walter wrote:

 I double checked these with:
 
 http://www.htmlhelp.com/reference/html40/entities/symbols.html

Here's a better one, for XHTML 1.0 Strict instead of HTML 4.0 : http://www.w3.org/People/mimasa/test/xhtml/entities/entities.html It also agrees with DMD, though: assert('\&and;'==8743); assert('\&or;'==8744); --anders
Mar 14 2005
parent Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anders F Björklund schrieb am Mon, 14 Mar 2005 22:25:09 +0100:
 Walter wrote:

 I double checked these with:
 
 http://www.htmlhelp.com/reference/html40/entities/symbols.html

Here's a better one, for XHTML 1.0 Strict instead of HTML 4.0 : http://www.w3.org/People/mimasa/test/xhtml/entities/entities.html It also agrees with DMD, though: assert('\&and;'==8743); assert('\&or;'==8744);

normative links ;) http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent Don't know where the botched and/or values originated from ... Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCOCxI3w+/yD4P9tIRAiX0AJ9kKcsYUfFlqvP/YaU6DWLVbPuQHwCgyi+3 R9GEvjRXGjoorxMEi4ap7+s= =/MYq -----END PGP SIGNATURE-----
Mar 16 2005
prev sibling parent reply Stewart Gordon <smjg_1998 yahoo.com> writes:
Thomas Kühne wrote:
<snip>
 test cases:
 http://dstress.kuehne.cn/run/named_entity_02.d

Is something going on with DStress? Or have you just been short of time lately? The results are still at 0.113. Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Mar 15 2005
parent Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stewart Gordon schrieb am Tue, 15 Mar 2005 16:55:16 +0000:
 Is something going on with DStress?  Or have you just been short of time 
 lately?  The results are still at 0.113.

I am just back from my holidays. There are still places where satellites provide the sole means for online access. *g* Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCOC/q3w+/yD4P9tIRAlRxAJ9i0axlaCU7ePd6QHhuwzb9KAXWQgCgyt3P 1tpV13W0diC31ay0sHcVIOc= =GHga -----END PGP SIGNATURE-----
Mar 16 2005