Login | ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/javautils/ViaThinkSoft Java Utils/test/eMailTests/ExperimentalTests.xml
Revision: 22
Committed: Wed Jun 23 20:46:09 2010 UTC (10 years ago) by daniel-marschall
Content type: application/xml
File size: 18392 byte(s)
Log Message:
XMLs mit XSD damit keine Warnungen mehr kommen

File Contents

# User Rev Content
1 daniel-marschall 22 <?xml version="1.0" encoding="utf-8" standalone="no"?>
2     <!DOCTYPE tests>
3     <!--
4     Umlaute sind nicht erlaubt Anmerkung: Die Übersetzung in den Punnycode
5     muss durch den Clienten stattfinden TODO: Sollen diese Adressen
6     trotzdem zugelassen werden? * müller@compuglobal.org" => false *
7     "test@müller.de" => false * "müller@müllermilch.de" => false
8     -->
9     <tests xmlns="http://www.w3.org/2001/XMLSchema-instance"
10     SchemaLocation="mailValidatorTests.xsd">
11     <test>
12     <addresse>info@compuglobal.org</addresse>
13     <valid>true</valid>
14     <source />
15     <comment />
16     <sourcelink />
17     <id>T9000</id>
18     </test>
19     <test>
20     <address>info@example.eu</address>
21     <valid>true</valid>
22     <source />
23     <comment />
24     <sourcelink />
25     <id>T9001</id>
26     </test>
27     <test>
28     <address>info@example.uk</address>
29     <valid>true</valid>
30     <source />
31     <comment />
32     <sourcelink />
33     <id>T9002</id>
34     </test>
35     <test>
36     <address>info@example.co.uk</address>
37     <valid>true</valid>
38     <source />
39     <comment />
40     <sourcelink />
41     <id>T9003</id>
42     </test>
43     <test>
44     <address>info@example.ltd.uk</address>
45     <valid>true</valid>
46     <source />
47     <comment />
48     <sourcelink />
49     <id>T9004</id>
50     </test>
51     <test>
52     <address>info@example.asso.fr</address>
53     <valid>true</valid>
54     <source />
55     <comment />
56     <sourcelink />
57     <id>T9005</id>
58     </test>
59     <test>
60     <address>info@example.mil</address>
61     <valid>true</valid>
62     <source />
63     <comment />
64     <sourcelink />
65     <id>T9006</id>
66     </test>
67     <test>
68     <address>example@example.com</address>
69     <valid>true</valid>
70     <source />
71     <comment />
72     <sourcelink />
73     <id>T9007</id>
74     </test>
75     <test>
76     <address>john@server.department.company.com</address>
77     <valid>true</valid>
78     <source />
79     <comment />
80     <sourcelink />
81     <id>T9008</id>
82     </test>
83     <test>
84     <address>test &lt;mail@test.de&gt;</address>
85     <valid>false</valid>
86     <source />
87     <comment />
88     <sourcelink />
89     <id>T9009</id>
90     </test>
91     <test>
92     <address>INFO@COMPUGLOBAL.ORG</address>
93     <valid>true</valid>
94     <source />
95     <comment />
96     <sourcelink />
97     <id>T9010</id>
98     </test>
99     <test>
100     <address>info@compuglobal.org info@compuglobal.org</address>
101     <valid>false</valid>
102     <source />
103     <comment />
104     <sourcelink />
105     <id>T9011</id>
106     </test>
107     <test>
108     <address>info@compuglobal.org, info@compuglobal.org</address>
109     <valid>false</valid>
110     <source />
111     <comment />
112     <sourcelink />
113     <id>T9012</id>
114     </test>
115     <test>
116     <address>info@compuglobal.org; info@compuglobal.org</address>
117     <valid>false</valid>
118     <source />
119     <comment />
120     <sourcelink />
121     <id>T9013</id>
122     </test>
123     <test>
124     <address>info@compuglobal.org </address>
125     <valid>true</valid>
126     <source />
127     <comment />
128     <sourcelink />
129     <id>T9014</id>
130     </test>
131     <test>
132     <address> info@compuglobal.org </address>
133     <valid>true</valid>
134     <source />
135     <comment />
136     <sourcelink />
137     <id>T9015</id>
138     </test>
139     <test>
140     <address>
141 daniel-marschall 4
142 daniel-marschall 22 &#13;
143     info@compuglobal.org
144 daniel-marschall 4
145    
146 daniel-marschall 22 &#13; </address>
147     <valid>true</valid>
148     <source />
149     <comment />
150     <sourcelink />
151     <id>T9016</id>
152     </test>
153     <test>
154     <address>invalid@test@example.com</address>
155     <valid>false</valid>
156     <source />
157     <comment />
158     <sourcelink />
159     <id>T9017</id>
160     </test>
161     <test>
162     <address>invalidexample.com</address>
163     <valid>false</valid>
164     <source />
165     <comment />
166     <sourcelink />
167     <id>T9018</id>
168     </test>
169     <test>
170     <address>john@aol...com</address>
171     <valid>false</valid>
172     <source />
173     <comment />
174     <sourcelink />
175     <id>T9019</id>
176     </test>
177     <test>
178     <address>john@aol...aol.com</address>
179     <valid>false</valid>
180     <source />
181     <comment />
182     <sourcelink />
183     <id>T9020</id>
184     </test>
185     <test>
186     <address>test@invalid</address>
187     <valid>false</valid>
188     <source />
189     <comment />
190     <sourcelink />
191     <id>T9021</id>
192     </test>
193     <test>
194     <address>invalid</address>
195     <valid>false</valid>
196     <source />
197     <comment />
198     <sourcelink />
199     <id>T9022</id>
200     </test>
201     <test>
202     <address />
203     <valid>false</valid>
204     <source />
205     <comment />
206     <sourcelink />
207     <id>T9023</id>
208     </test>
209     <test>
210     <address>hallo@127.0.0.1</address>
211     <valid>false</valid>
212     <source />
213     <comment />
214     <sourcelink />
215     <id>T9024</id>
216     </test>
217     <test>
218     <address>hallo@[127.0.0.1]</address>
219     <valid>true</valid>
220     <source />
221     <comment />
222     <sourcelink />
223     <id>T9025</id>
224     </test>
225     <test>
226     <address>Arabic@مثال.إختبار</address>
227     <valid>true</valid>
228     <source />
229     <comment />
230     <sourcelink />
231     <id>T9026</id>
232     </test>
233     <test>
234     <address>Persian@مثال.آزمایشی</address>
235     <valid>true</valid>
236     <source />
237     <comment />
238     <sourcelink />
239     <id>T9027</id>
240     </test>
241     <test>
242     <address>ChineseSimplified@例子.测试</address>
243     <valid>true</valid>
244     <source />
245     <comment />
246     <sourcelink />
247     <id>T9028</id>
248     </test>
249     <test>
250     <address>ChineseTraditional@例子.測試</address>
251     <valid>true</valid>
252     <source />
253     <comment />
254     <sourcelink />
255     <id>T9029</id>
256     </test>
257     <test>
258     <address>Cyrillic@пример.испытание</address>
259     <valid>true</valid>
260     <source />
261     <comment />
262     <sourcelink />
263     <id>T9030</id>
264     </test>
265     <test>
266     <address>Hindi@उदाहरण.परीक्षा</address>
267     <valid>true</valid>
268     <source />
269     <comment />
270     <sourcelink />
271     <id>T9031</id>
272     </test>
273     <test>
274     <address>Greek@παράδειγμα.δοκιμή</address>
275     <valid>true</valid>
276     <source />
277     <comment />
278     <sourcelink />
279     <id>T9032</id>
280     </test>
281     <test>
282     <address>Korean@실례.테스트</address>
283     <valid>true</valid>
284     <source />
285     <comment />
286     <sourcelink />
287     <id>T9033</id>
288     </test>
289     <test>
290     <address>YiddishHebrew@בײַשפּיל.טעסט</address>
291     <valid>true</valid>
292     <source />
293     <comment />
294     <sourcelink />
295     <id>T9034</id>
296     </test>
297     <test>
298     <address>Japanese@例え.テスト</address>
299     <valid>true</valid>
300     <source />
301     <comment />
302     <sourcelink />
303     <id>T9035</id>
304     </test>
305     <test>
306     <address>Tamil@உதாரணம்.பரிட்சை</address>
307     <valid>true</valid>
308     <source />
309     <comment />
310     <sourcelink />
311     <id>T9036</id>
312     </test>
313     <test>
314     <address>Arabic@xn--mgbh0fb.xn--kgbechtv</address>
315     <valid>true</valid>
316     <source />
317     <comment />
318     <sourcelink />
319     <id>T9037</id>
320     </test>
321     <test>
322     <address>Persian@xn--mgbh0fb.xn--hgbk6aj7f53bba</address>
323     <valid>true</valid>
324     <source />
325     <comment />
326     <sourcelink />
327     <id>T9038</id>
328     </test>
329     <test>
330     <address>ChineseSimplified@xn--fsqu00a.xn--0zwm56d</address>
331     <valid>true</valid>
332     <source />
333     <comment />
334     <sourcelink />
335     <id>T9039</id>
336     </test>
337     <test>
338     <address>ChineseTraditional@xn--fsqu00a.xn--g6w251d</address>
339     <valid>true</valid>
340     <source />
341     <comment />
342     <sourcelink />
343     <id>T9040</id>
344     </test>
345     <test>
346     <address>Cyrillic@xn--e1afmkfd.xn--80akhbyknj4f</address>
347     <valid>true</valid>
348     <source />
349     <comment />
350     <sourcelink />
351     <id>T9041</id>
352     </test>
353     <test>
354     <address>Hindi@xn--p1b6ci4b4b3a.xn--11b5bs3a9aj6g</address>
355     <valid>true</valid>
356     <source />
357     <comment />
358     <sourcelink />
359     <id>T9042</id>
360     </test>
361     <test>
362     <address>Greek@xn--hxajbheg2az3al.xn--jxalpdlp</address>
363     <valid>true</valid>
364     <source />
365     <comment />
366     <sourcelink />
367     <id>T9043</id>
368     </test>
369     <test>
370     <address>Korean@xn--9n2bp8q.xn--9t4b11yi5a</address>
371     <valid>true</valid>
372     <source />
373     <comment />
374     <sourcelink />
375     <id>T9044</id>
376     </test>
377     <test>
378     <address>YiddishHebrew@xn--fdbk5d8ap9b8a8d.xn--deba0ad</address>
379     <valid>true</valid>
380     <source />
381     <comment />
382     <sourcelink />
383     <id>T9045</id>
384     </test>
385     <test>
386     <address>Japanese@xn--r8jz45g.xn--zckzah</address>
387     <valid>true</valid>
388     <source />
389     <comment />
390     <sourcelink />
391     <id>T9046</id>
392     </test>
393     <test>
394     <address>Tamil@xn--zkc6cc5bi7f6e.xn--hlcj6aya9esc7a</address>
395     <valid>true</valid>
396     <source />
397     <comment />
398     <sourcelink />
399     <id>T9047</id>
400     </test>
401     <test>
402     <address>root</address>
403     <valid>false</valid>
404     <source />
405     <comment />
406     <sourcelink />
407     <id>T9048</id>
408     </test>
409     <test>
410     <address>a@b.c</address>
411     <valid>false</valid>
412     <source />
413     <comment />
414     <sourcelink />
415     <id>T9049</id>
416     </test>
417     <test>
418     <address>me@.my.com</address>
419     <valid>false</valid>
420     <source />
421     <comment />
422     <sourcelink />
423     <id>T9050</id>
424     </test>
425     <test>
426     <address>hello world@example.com</address>
427     <valid>false</valid>
428     <source />
429     <comment />
430     <sourcelink />
431     <id>T9051</id>
432     </test>
433     <test>
434     <address>test.@example.com</address>
435     <valid>false</valid>
436     <source />
437     <comment />
438     <sourcelink />
439     <id>T9052</id>
440     </test>
441     <test>
442     <address>.test@example.com</address>
443     <valid>false</valid>
444     <source />
445     <comment />
446     <sourcelink />
447     <id>T9053</id>
448     </test>
449     <test>
450     <address>"Angela Merkel"@example.com</address>
451     <valid>true</valid>
452     <source />
453     <comment />
454     <sourcelink />
455     <id>T9054</id>
456     </test>
457     <test>
458     <address>Abc.example.com</address>
459     <valid>false</valid>
460     <source>http://en.wikipedia.org/wiki/E-mail_address</source>
461     <comment>haracter @ is missing</comment>
462     <sourcelink />
463     <id>T9055</id>
464     </test>
465     <test>
466     <address>Abc.@example.com</address>
467     <valid>false</valid>
468     <source />
469     <comment>character dot(.) is last in local part</comment>
470     <sourcelink />
471     <id>T9056</id>
472     </test>
473     <test>
474     <address>Abc..123@example.com</address>
475     <valid>false</valid>
476     <source />
477     <comment>character dot(.) is double</comment>
478     <sourcelink />
479     <id>T9057</id>
480     </test>
481     <test>
482     <address>A@b@c@example.com</address>
483     <valid>false</valid>
484     <source>http://en.wikipedia.org/wiki/E-mail_address</source>
485     <comment>only one @ is allowed outside quotations marks</comment>
486     <sourcelink />
487     <id>T9058</id>
488     </test>
489     <test>
490     <address>()[]\;:,&lt;&gt;@example.com</address>
491     <valid>false</valid>
492     <source>http://en.wikipedia.org/wiki/E-mail_address</source>
493     <comment>none of the characters before the @ in this example are
494     allowed outside quotation marks</comment>
495     <sourcelink />
496     <id>T9059</id>
497     </test>
498     <test>
499     <address>test@localhost</address>
500     <valid>false</valid>
501     <source />
502     <comment />
503     <sourcelink />
504     <id>T9060</id>
505     </test>
506     <test>
507     <address>john@mail.invalid</address>
508     <valid>false</valid>
509     <source />
510     <comment />
511     <sourcelink />
512     <id>T9061</id>
513     </test>
514     <test>
515     <address>john@mail.xx</address>
516     <valid>false</valid>
517     <source />
518     <comment />
519     <sourcelink />
520     <id>T9062</id>
521     </test>
522     <test>
523     <address>foo\@bar@internet.com</address>
524     <valid>true</valid>
525     <source />
526     <comment />
527     <sourcelink>http://stackoverflow.com/questions/2514810/php-email-validation-question/2515111#2515111
528     </sourcelink>
529     <id>T9063</id>
530     </test>
531     <test>
532     <address>test/foo=bar@persona.com</address>
533     <valid>true</valid>
534     <source />
535     <comment />
536     <sourcelink>http://stackoverflow.com/questions/2514810/php-email-validation-question/2515111#2515111
537     </sourcelink>
538     <id>T9064</id>
539     </test>
540     <test>
541     <address>my..name@address.com</address>
542     <valid>false</valid>
543     <source />
544     <comment />
545     <sourcelink>http://stackoverflow.com/questions/2514810/php-email-validation-question/2515111#2515111
546     </sourcelink>
547     <id>T9065</id>
548     </test>
549     <test>
550     <address>.myaddress@address.com</address>
551     <valid>false</valid>
552     <source />
553     <comment />
554     <sourcelink>http://stackoverflow.com/questions/2514810/php-email-validation-question/2515111#2515111
555     </sourcelink>
556     <id>T9066</id>
557     </test>
558     <test>
559     <address>Aa0.!#$%&amp;'*+-/=?^_`{|}~\ \"\@\:\;@example.com</address>
560     <valid>true</valid>
561     <source />
562     <comment />
563     <sourcelink />
564     <id>T9067</id>
565     </test>
566     <test>
567     <address>dclo@us.ibm.com</address>
568     <valid>true</valid>
569     <source />
570     <comment />
571     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
572     </sourcelink>
573     <id>T9068</id>
574     </test>
575     <test>
576     <address>abc\@def@example.com</address>
577     <valid>true</valid>
578     <source />
579     <comment />
580     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
581     </sourcelink>
582     <id>T9069</id>
583     </test>
584     <test>
585     <address>abc\\@example.com</address>
586     <valid>true</valid>
587     <source />
588     <comment />
589     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
590     </sourcelink>
591     <id>T9070</id>
592     </test>
593     <test>
594     <address>Fred\ Bloggs@example.com</address>
595     <valid>true</valid>
596     <source />
597     <comment />
598     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
599     </sourcelink>
600     <id>T9071</id>
601     </test>
602     <test>
603     <address>Joe.\\Blow@example.com</address>
604     <valid>true</valid>
605     <source />
606     <comment />
607     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
608     </sourcelink>
609     <id>T9072</id>
610     </test>
611     <test>
612     <address>"Abc@def"@example.com</address>
613     <valid>true</valid>
614     <source />
615     <comment />
616     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
617     </sourcelink>
618     <id>T9073</id>
619     </test>
620     <test>
621     <address>"Fred Bloggs"@example.com</address>
622     <valid>true</valid>
623     <source />
624     <comment />
625     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
626     </sourcelink>
627     <id>T9074</id>
628     </test>
629     <test>
630     <address>customer/department=shipping@example.com</address>
631     <valid>true</valid>
632     <source />
633     <comment />
634     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
635     </sourcelink>
636     <id>T9075</id>
637     </test>
638     <test>
639     <address>\$A12345@example.com</address>
640     <valid>true</valid>
641     <source />
642     <comment />
643     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
644     </sourcelink>
645     <id>T9076</id>
646     </test>
647     <test>
648     <address>!def!xyz%abc@example.com</address>
649     <valid>true</valid>
650     <source />
651     <comment />
652     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
653     </sourcelink>
654     <id>T9077</id>
655     </test>
656     <test>
657     <address>_somename@example.com</address>
658     <valid>true</valid>
659     <source />
660     <comment />
661     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
662     </sourcelink>
663     <id>T9078</id>
664     </test>
665     <test>
666     <address>user+mailbox@example.com</address>
667     <valid>true</valid>
668     <source />
669     <comment />
670     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
671     </sourcelink>
672     <id>T9079</id>
673     </test>
674     <test>
675     <address>peter.piper@example.com</address>
676     <valid>true</valid>
677     <source />
678     <comment />
679     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
680     </sourcelink>
681     <id>T9080</id>
682     </test>
683     <test>
684     <address>Doug\ \"Ace\"\ Lovell@example.com</address>
685     <valid>true</valid>
686     <source />
687     <comment />
688     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
689     </sourcelink>
690     <id>T9081</id>
691     </test>
692     <test>
693     <address>"Doug \"Ace\" L."@example.com</address>
694     <valid>true</valid>
695     <source />
696     <comment />
697     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
698     </sourcelink>
699     <id>T9082</id>
700     </test>
701     <test>
702     <address>abc@def@example.com</address>
703     <valid>false</valid>
704     <source />
705     <comment />
706     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
707     </sourcelink>
708     <id>T9083</id>
709     </test>
710     <test>
711     <address>abc\\@def@example.com</address>
712     <valid>false</valid>
713     <source />
714     <comment />
715     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
716     </sourcelink>
717     <id>T9084</id>
718     </test>
719     <test>
720     <address>abc\@example.com</address>
721     <valid>false</valid>
722     <source />
723     <comment />
724     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
725     </sourcelink>
726     <id>T9085</id>
727     </test>
728     <test>
729     <address>@example.com</address>
730     <valid>false</valid>
731     <source />
732     <comment />
733     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
734     </sourcelink>
735     <id>T9086</id>
736     </test>
737     <test>
738     <address>doug@</address>
739     <valid>false</valid>
740     <source />
741     <comment />
742     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
743     </sourcelink>
744     <id>T9087</id>
745     </test>
746     <test>
747     <address>"qu@example.com</address>
748     <valid>false</valid>
749     <source />
750     <comment />
751     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
752     </sourcelink>
753     <id>T9088</id>
754     </test>
755     <test>
756     <address>ote"@example.com</address>
757     <valid>false</valid>
758     <source />
759     <comment />
760     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
761     </sourcelink>
762     <id>T9089</id>
763     </test>
764     <test>
765     <address>.dot@example.com</address>
766     <valid>false</valid>
767     <source />
768     <comment />
769     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
770     </sourcelink>
771     <id>T9090</id>
772     </test>
773     <test>
774     <address>dot.@example.com</address>
775     <valid>false</valid>
776     <source />
777     <comment />
778     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
779     </sourcelink>
780     <id>T9091</id>
781     </test>
782     <test>
783     <address>two..dot@example.com</address>
784     <valid>false</valid>
785     <source />
786     <comment />
787     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
788     </sourcelink>
789     <id>T9092</id>
790     </test>
791     <test>
792     <address>"Doug "Ace" L."@example.com</address>
793     <valid>false</valid>
794     <source />
795     <comment />
796     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
797     </sourcelink>
798     <id>T9093</id>
799     </test>
800     <test>
801     <address>Doug\ \"Ace\"\ L\.@example.com</address>
802     <valid>false</valid>
803     <source />
804     <comment />
805     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
806     </sourcelink>
807     <id>T9094</id>
808     </test>
809     <test>
810     <address>hello world@example.com</address>
811     <valid>false</valid>
812     <source />
813     <comment />
814     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
815     </sourcelink>
816     <id>T9095</id>
817     </test>
818     <test>
819     <address>gatsby@f.sc.ot.t.f.i.tzg.era.l.d.</address>
820     <valid>false</valid>
821     <source />
822     <comment />
823     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
824     </sourcelink>
825     <id>T9096</id>
826     </test>
827     <test>
828     <address>{^c\@**Dog^}@cartoon.com</address>
829     <valid>true</valid>
830     <source />
831     <comment />
832     <sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
833     </sourcelink>
834     <id>T9097</id>
835     </test>
836 daniel-marschall 4 </tests>

Properties

Name Value
svn:mime-type text/plain