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: 4
Committed: Mon Jun 14 00:07:32 2010 UTC (9 years, 11 months ago) by daniel-marschall
Content type: application/xml
Original Path: ViaThinkSoft Java Utils/test/emailExperimentalTests.xml
File size: 16429 byte(s)
Log Message:
Mailvalidatoren

File Contents

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

Properties

Name Value
svn:mime-type text/plain