com.ssx.xml.output.sinks
Class Test_SaxSink

java.lang.Object
  extended byTestCase
      extended bycom.ssx.xml.output.sinks.Test_SaxSink

public class Test_SaxSink
extends TestCase

Test the XmlValidator using a SAX Sink.

See Also:
Serialized Form

Constructor Summary
Test_SaxSink(String name)
           
 
Method Summary
 void testXmlGeneration_No_namespaces()
          What if no namspaces are declared for an element?
 void testXmlGeneration()
          Generate XML using the JAXP transformer to render it to a text stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Test_SaxSink

public Test_SaxSink(String name)
Parameters:
name - The test suite name
Method Detail

testXmlGeneration

public void testXmlGeneration()
                       throws Exception
Generate XML using the JAXP transformer to render it to a text stream. This willl confirm that the SaxSink conforms to the SAX contract.

Throws:
Exception - flag exceptions

testXmlGeneration_No_namespaces

public void testXmlGeneration_No_namespaces()
                                     throws Exception
What if no namspaces are declared for an element?

Throws:
Exception - flag exceptions