|
Lines 493-502
Link Here
|
| 493 |
public void testFile103() throws CoreException, IOException { |
493 |
public void testFile103() throws CoreException, IOException { |
| 494 |
doTest("UTF-8", "UTF-8", "testfiles/xml/EmptyFile.xml", null); |
494 |
doTest("UTF-8", "UTF-8", "testfiles/xml/EmptyFile.xml", null); |
| 495 |
} |
495 |
} |
| 496 |
|
496 |
// [254504] XMLContentDescriber defaults to UTF-8 for euc-JP and Shift_JIS |
| 497 |
public void testFile104() throws CoreException, IOException { |
497 |
// public void testFile104() throws CoreException, IOException { |
| 498 |
doTest("EUC-JP", "EUC-JP", "testfiles/xml/eucjp.xml", null); |
498 |
// doTest("EUC-JP", "EUC-JP", "testfiles/xml/eucjp.xml", null); |
| 499 |
} |
499 |
// } |
| 500 |
|
500 |
|
| 501 |
// public void testFile105() throws CoreException, IOException { |
501 |
// public void testFile105() throws CoreException, IOException { |
| 502 |
// doTest("ISO-8859-1", "ISO-8859-1", |
502 |
// doTest("ISO-8859-1", "ISO-8859-1", |
|
Lines 520-533
Link Here
|
| 520 |
public void testFile109() throws CoreException, IOException { |
520 |
public void testFile109() throws CoreException, IOException { |
| 521 |
doTest("ISO-8859-1", "ISO-8859-1", "testfiles/xml/NormalNonDefault.xml", null); |
521 |
doTest("ISO-8859-1", "ISO-8859-1", "testfiles/xml/NormalNonDefault.xml", null); |
| 522 |
} |
522 |
} |
|
|
523 |
// [254504] XMLContentDescriber defaults to UTF-8 for euc-JP and Shift_JIS |
| 524 |
// public void testFile110() throws CoreException, IOException { |
| 525 |
// doTest("Shift_JIS", "Shift_JIS", "testfiles/xml/shiftjis.xml", null); |
| 526 |
// } |
| 523 |
|
527 |
|
| 524 |
public void testFile110() throws CoreException, IOException { |
528 |
public void testFile111() throws CoreException, IOException { |
| 525 |
doTest("Shift_JIS", "Shift_JIS", "testfiles/xml/shiftjis.xml", null); |
529 |
doTest("ISO-8859-1", "ISO-8859-1", "testfiles/xml/testExtraJunk.xml", null); |
| 526 |
} |
530 |
} |
| 527 |
// [251659] - [251748] needs to be fixed first |
|
|
| 528 |
// public void testFile111() throws CoreException, IOException { |
| 529 |
// doTest("ISO-8859-1", "ISO-8859-1", "testfiles/xml/testExtraJunk.xml", null); |
| 530 |
// } |
| 531 |
|
531 |
|
| 532 |
public void testFile112() throws CoreException, IOException { |
532 |
public void testFile112() throws CoreException, IOException { |
| 533 |
doTest("UTF-8", "UTF-8", "testfiles/xml/testExtraValidStuff.xml", null); |
533 |
doTest("UTF-8", "UTF-8", "testfiles/xml/testExtraValidStuff.xml", null); |
|
Lines 545-558
Link Here
|
| 545 |
// doTest("null", "null", "testfiles/xml/testIllFormed3.xml", |
545 |
// doTest("null", "null", "testfiles/xml/testIllFormed3.xml", |
| 546 |
// UnsupportedCharsetExceptionWithDetail.class); |
546 |
// UnsupportedCharsetExceptionWithDetail.class); |
| 547 |
// } |
547 |
// } |
|
|
548 |
// [254504] XMLContentDescriber declares this content as INVALID now |
| 549 |
// public void testFile116() throws CoreException, IOException { |
| 550 |
// doTest("UTF-8", "UTF-8", "testfiles/xml/testIllFormed4.xml", null); |
| 551 |
// } |
| 548 |
|
552 |
|
| 549 |
public void testFile116() throws CoreException, IOException { |
553 |
public void testFile117() throws CoreException, IOException { |
| 550 |
doTest("UTF-8", "UTF-8", "testfiles/xml/testIllFormed4.xml", null); |
554 |
doTest("ISO-8859-1", "ISO-8859-1", "testfiles/xml/testMultiLine.xml", null); |
| 551 |
} |
555 |
} |
| 552 |
// [251659] - [251748] needs to be fixed first |
|
|
| 553 |
// public void testFile117() throws CoreException, IOException { |
| 554 |
// doTest("ISO-8859-1", "ISO-8859-1", "testfiles/xml/testMultiLine.xml", null); |
| 555 |
// } |
| 556 |
|
556 |
|
| 557 |
public void testFile118() throws CoreException, IOException { |
557 |
public void testFile118() throws CoreException, IOException { |
| 558 |
doTest("UTF-8", "UTF-8", "testfiles/xml/testNoEncodingValue.xml", null); |
558 |
doTest("UTF-8", "UTF-8", "testfiles/xml/testNoEncodingValue.xml", null); |