|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Editing text
At 02:45 AM 28/11/97, Peter Murray-Rust wrote:
>Appendix B lists six and a half pages of potential NameChars for which
>JUMBO has to test - is this correct? If so I have code of the form:
Be warned; Appendix B will change again. Anyhow, if you really want an
isNameChar() function, I recommend something along the lines of
isNameChar(char c)
{
if (c < 128)
return BooleanArrayOfSize127WithTrueInNameCharPositions[c];
else
return DoIckyLookupInBigTableFromAppendixB(c);
}
Actually, I posted some Java code that reads the XML spec and
generates a reasonably efficient Java version of DoIckyLookup...
the Lark distribution currently has a CharClasses.java. I'll
re-test and re-generate and re-distribute after the next cut of the
spec. -Tim
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








