« Books | Main | Die, default namespaces, die »

Phew

Python ships with stringprep (as defined in RFC3453). I hadn't noticed that before. For a short while this evening, I thought I might have to implement it.


August 31, 2004 01:54 AM

Comments

Danny
(September 3, 2004 09:35 AM #)

Thanks for the pointer. I've been trying to figure out ways of normalizing text for a sort of Tidy Lite, for XML. I've got a SAX-like tag soup parser, but wasn't sure where to go next, this looks a good place to look.

btw, I just discovered icu4j (as used by Jena) includes a StringPrep.java

Joe Hildebrand
(September 5, 2004 09:25 PM #)

Yes, you *are* glad you didn't have to implement it. I had to do it in C#, and it wasn't pretty. Dealing with tables that large is bad, particularly in a language that doesn't let you get a direct pointer to the data section of the executable.

Trackback Pings

TrackBack URL for this entry:
http://www.dehora.net/mt/mt-tb.cgi/1409