Today I played with the XML ID specification. It states that an ID attribute must match the _Name_ production. (
http://www.w3.org/TR/2006/REC-xml-20060816/#id)
I created Character classes from the given definiton and tested them against the existing implementation. The result is, that the XML framework rejects the colon. But XML 1.0 specification explicitly states : [...] XML processors must accept the colon as a name character. Two questions:
1. Is my test suitable?
2. If not - why differs the implementation from the specification?
Workspace code and the XMLCharacterClass class (requires Regex11) is attached
Ciao, Steffen
__________________________________________________________________________
Verschicken Sie SMS direkt vom Postfach aus - in alle deutschen und viele
ausländische Netze zum gleichen Preis!
https://produkte.web.de/webde_sms/sms_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc