Constructor and Description |
---|
XmlParserTest() |
Modifier and Type | Method and Description |
---|---|
void |
testDefaultParsing()
Verifies the default parsing behavior of the XML parser.
|
void |
testDefaultParsingNamespaces()
Verifies the default parsing behavior of the XML parser with namespaces.
|
void |
testLineNumbers()
See bug #1054:
XML Rules ever report a line -1 and not the line/column where the error occurs
|
void |
testParsingCoalescingEnabled()
Verifies the parsing behavior of the XML parser with coalescing enabled.
|
void |
testParsingDoNotExpandEntities()
Verifies the parsing behavior of the XML parser if entities are not expanded.
|
void |
testParsingIgnoreComments()
Verifies the parsing behavior of the XML parser if ignoring comments.
|
void |
testParsingIgnoreElementContentWhitespace()
Verifies the parsing behavior of the XML parser if ignoring whitespaces in elements.
|
void |
testParsingNotNamespaceAware()
Verifies the default parsing behavior of the XML parser with namespaces but not namespace aware.
|
void |
testParsingWithValidation()
Verifies the parsing behavior of the XML parser with validation on.
|
public void testLineNumbers() throws Exception
Exception
- any errorpublic void testDefaultParsing()
public void testParsingCoalescingEnabled()
public void testParsingDoNotExpandEntities()
public void testParsingIgnoreComments()
public void testParsingIgnoreElementContentWhitespace()
public void testDefaultParsingNamespaces()
public void testParsingNotNamespaceAware()
public void testParsingWithValidation() throws UnsupportedEncodingException
UnsupportedEncodingException
- errorCopyright © 2002–2014 InfoEther. All rights reserved.