M
manos
Hello,
I'm working on an open source JS version [1] of WAX (Writing API for
XML). Most unit tests work [2] , but I need a regexp that validates
strings are proper XML names [3]. I suck at regexps :-/
If the regexp only matches the latin subset of unicode characters
(i.e. english only), it would be OK for now.
[1] http://dev.abiss.gr/wax.js/
[2] http://dev.abiss.gr/wax.js/test/testwax.html
[3] http://www.w3.org/TR/REC-xml/#NT-Name
Thanks,
Manos
I'm working on an open source JS version [1] of WAX (Writing API for
XML). Most unit tests work [2] , but I need a regexp that validates
strings are proper XML names [3]. I suck at regexps :-/
If the regexp only matches the latin subset of unicode characters
(i.e. english only), it would be OK for now.
[1] http://dev.abiss.gr/wax.js/
[2] http://dev.abiss.gr/wax.js/test/testwax.html
[3] http://www.w3.org/TR/REC-xml/#NT-Name
Thanks,
Manos