changeset 779:2b61bfcaa586

8132660: Change jaxp unit test package name to be different with jaxp api Reviewed-by: joehw Contributed-by: frank.yuan@oracle.com
author joehw
date Mon, 10 Aug 2015 09:52:32 -0700
parents be357705874c
children a7b1a86945e0
files test/javax/xml/jaxp/unittest/TEST.properties test/javax/xml/jaxp/unittest/common/Bug6350682.java test/javax/xml/jaxp/unittest/common/Bug6723276Test.java test/javax/xml/jaxp/unittest/common/Bug6941169.xml test/javax/xml/jaxp/unittest/common/Bug6941169.xsd test/javax/xml/jaxp/unittest/common/Bug6941169Test.java test/javax/xml/jaxp/unittest/common/Bug7143711Test.java test/javax/xml/jaxp/unittest/datatype/Bug6320118.java test/javax/xml/jaxp/unittest/datatype/Bug6937951Test.java test/javax/xml/jaxp/unittest/datatype/Bug6937964Test.java test/javax/xml/jaxp/unittest/datatype/Bug7042647Test.java test/javax/xml/jaxp/unittest/datatype/DatatypeFactoryTest.java test/javax/xml/jaxp/unittest/datatype/DurationTest.java test/javax/xml/jaxp/unittest/datatype/FactoryFindTest.java test/javax/xml/jaxp/unittest/datatype/XMLGregorianCalendarTest.java test/javax/xml/jaxp/unittest/dom/Bug4915524.java test/javax/xml/jaxp/unittest/dom/Bug4915748.java test/javax/xml/jaxp/unittest/dom/Bug4966082.java test/javax/xml/jaxp/unittest/dom/Bug4966082.xml test/javax/xml/jaxp/unittest/dom/Bug4966138.java test/javax/xml/jaxp/unittest/dom/Bug4966142.java test/javax/xml/jaxp/unittest/dom/Bug4966142.xml test/javax/xml/jaxp/unittest/dom/Bug4966142.xsd test/javax/xml/jaxp/unittest/dom/Bug4966143.java test/javax/xml/jaxp/unittest/dom/Bug4966143.xml test/javax/xml/jaxp/unittest/dom/Bug4966143.xsd test/javax/xml/jaxp/unittest/dom/Bug6339023.java test/javax/xml/jaxp/unittest/dom/Bug6355326.java test/javax/xml/jaxp/unittest/dom/Bug6367542.java test/javax/xml/jaxp/unittest/dom/Bug6520131.java test/javax/xml/jaxp/unittest/dom/Bug6521260.java test/javax/xml/jaxp/unittest/dom/Bug6582545.xml test/javax/xml/jaxp/unittest/dom/Bug6582545Test.java test/javax/xml/jaxp/unittest/dom/Bug6879614.xml test/javax/xml/jaxp/unittest/dom/Bug6879614Test.java test/javax/xml/jaxp/unittest/dom/CR6333993Test.java test/javax/xml/jaxp/unittest/dom/CR6517707Test.java test/javax/xml/jaxp/unittest/dom/CR6517717Test.java test/javax/xml/jaxp/unittest/dom/CR6909336Test.java test/javax/xml/jaxp/unittest/dom/DOMConfigurationTest.java test/javax/xml/jaxp/unittest/dom/DOMConfigurationTest.xsd test/javax/xml/jaxp/unittest/dom/DOMXPathTest.java test/javax/xml/jaxp/unittest/dom/JdkXmlDomTest.java test/javax/xml/jaxp/unittest/dom/TCKEncodingTest.java test/javax/xml/jaxp/unittest/dom/ls/Bug4973153.java test/javax/xml/jaxp/unittest/dom/ls/Bug6290947.java test/javax/xml/jaxp/unittest/dom/ls/Bug6354955.java test/javax/xml/jaxp/unittest/dom/ls/Bug6376823.java test/javax/xml/jaxp/unittest/dom/ls/Bug6710741Test.java test/javax/xml/jaxp/unittest/dom/ls/LSParserTCKTest.java test/javax/xml/jaxp/unittest/dom/ls/LSParserTest.java test/javax/xml/jaxp/unittest/dom/ls/LSSerializerTest.java test/javax/xml/jaxp/unittest/dom/ls/note_in_dtd.xml test/javax/xml/jaxp/unittest/dom/test.xml test/javax/xml/jaxp/unittest/dom/test.xsd test/javax/xml/jaxp/unittest/javax/xml/common/Bug6350682.java test/javax/xml/jaxp/unittest/javax/xml/common/Bug6723276Test.java test/javax/xml/jaxp/unittest/javax/xml/common/Bug6941169.xml test/javax/xml/jaxp/unittest/javax/xml/common/Bug6941169.xsd test/javax/xml/jaxp/unittest/javax/xml/common/Bug6941169Test.java test/javax/xml/jaxp/unittest/javax/xml/common/Bug7143711Test.java test/javax/xml/jaxp/unittest/javax/xml/datatype/Bug6320118.java test/javax/xml/jaxp/unittest/javax/xml/datatype/Bug6937951Test.java test/javax/xml/jaxp/unittest/javax/xml/datatype/Bug6937964Test.java test/javax/xml/jaxp/unittest/javax/xml/datatype/Bug7042647Test.java test/javax/xml/jaxp/unittest/javax/xml/datatype/DatatypeFactoryTest.java test/javax/xml/jaxp/unittest/javax/xml/datatype/DurationTest.java test/javax/xml/jaxp/unittest/javax/xml/datatype/FactoryFindTest.java test/javax/xml/jaxp/unittest/javax/xml/datatype/XMLGregorianCalendarTest.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4674384_MAX_OCCURS_Test.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4674384_MAX_OCCURS_Test.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4674384_MAX_OCCURS_Test.xsd test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4934208.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4967002.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4985486.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4985486.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991020.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991020.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991020.xsd test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991946.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991946.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991946.xsd test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug5010072.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug5010072.xsd test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug5025825.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6309988.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6341770.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6361283.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6506304Test.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6518733.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6518733.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6564400.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6564400.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6564400.xsd test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6573786.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6573786ErrorHandler.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6594813.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6608841.dtd test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6608841.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6608841.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6608841_xhtml11-flat.dtd test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6690015.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6760982.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6849942Test.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug7157608.dtd test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug7157608.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug7157608Test.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug7157608_1.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug7166896Test.java test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug8073385.java test/javax/xml/jaxp/unittest/javax/xml/parsers/DosTest.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/DosTest3.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/FactoryFindTest.java test/javax/xml/jaxp/unittest/javax/xml/parsers/MyDefaultHandler.java test/javax/xml/jaxp/unittest/javax/xml/parsers/MyErrorHandler.java test/javax/xml/jaxp/unittest/javax/xml/parsers/ParseEmptyStream.java test/javax/xml/jaxp/unittest/javax/xml/parsers/bug6690015.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/bug6760982.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/catalog.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/catalog.xsd test/javax/xml/jaxp/unittest/javax/xml/parsers/entity.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/entity64K.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/test.xsd test/javax/xml/jaxp/unittest/javax/xml/parsers/test1.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/test2.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/toys.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/toys.xsd test/javax/xml/jaxp/unittest/javax/xml/parsers/toys3002.xsd test/javax/xml/jaxp/unittest/javax/xml/parsers/xinclude/Bug6794483Test.java test/javax/xml/jaxp/unittest/javax/xml/parsers/xinclude/test1.xml test/javax/xml/jaxp/unittest/javax/xml/parsers/xinclude/test2.xml test/javax/xml/jaxp/unittest/javax/xml/stream/AttributeLocalNameTest/AttributeLocalNameTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6370703.java test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6378422.java test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6380870.java test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6489502.java test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6509774.java test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6688002Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6976938.xml test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6976938Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/CoalesceTest/CoalesceTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/CoalesceTest/coalesce.xml test/javax/xml/jaxp/unittest/javax/xml/stream/EntitiesTest/EntityTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/EntitiesTest/testCharRef.xml test/javax/xml/jaxp/unittest/javax/xml/stream/EntitiesTest/testCharRef.xml.output test/javax/xml/jaxp/unittest/javax/xml/stream/EventReaderDelegateTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/Events/Issue41Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/Events/Issue48Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/Events/Issue53Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/Events/Issue58Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/FactoryFindTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/FactoryFindTest.policy test/javax/xml/jaxp/unittest/javax/xml/stream/IgnoreExternalDTDTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/ProcessingInstruction/ProcessingInstructionTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/StreamReaderDelegateTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventLocationTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6489890.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6555001.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6586466Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6613059Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6668115Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6846133Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Issue40Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/bug6613059.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/play.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/play2.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/sgml.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/ReaderToWriterTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/ReaderToWriterTest.wsdl test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/ReaderToWriterTest.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/W2JDLR4002TestService.wsdl.data test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/XMLEventWriterTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/XMLEventWriterTest.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/merge-1.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/merge-2.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/replace1.txt test/javax/xml/jaxp/unittest/javax/xml/stream/XMLInputFactoryTest/Bug6756677Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLInputFactoryTest/Bug6909759Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLInputFactoryTest/IssueTracker38.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLInputFactoryTest/MyInputFactory.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLInputFactoryTest/play.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLOutputFactoryTest/Bug6846132Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLOutputFactoryTest/DuplicateNSDeclarationTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLOutputFactoryTest/StreamResultTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLResolverTest/XMLResolverTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLResolverTest/XMLResolverTest.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLResolverTest/replace1.txt test/javax/xml/jaxp/unittest/javax/xml/stream/XMLResolverTest/replace2.txt test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamExceptionTest/ExceptionTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamFilterTest/Bug6481615.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamFilterTest/Bug6481678.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamFilterTest/HasNextTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamFilterTest/HasNextTest.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamFilterTest/HasNextTypeFilter.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/BOMTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Bug6388460.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Bug6472982Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Bug6767322.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Bug6767322Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Bug6847819Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/BugTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/DefaultAttributeTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/DoubleXmlnsTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/ExternalDTD.dtd.bak test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/ExternalDTD.xml.bak test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Hello.wsdl.data test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IsValidatingTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IsValidatingTest.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IsValidatingTestInternalSubset.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Issue44Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Issue47Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IssueTracker24.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IssueTracker35.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IssueTracker70.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IssueTracker70.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Jsr173MR1Req5.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Jsr173MR1Req5Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Jsr173MR1Req8.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Jsr173MR1Req8Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/NamespaceTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/StreamReaderTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/SupportDTDTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/UTF16-BE.wsdl.data test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/UTF8-BOM.xml.data test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/VoiceXMLDTDTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/XML11Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/XMLSchema.dtd test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/XMLSchema.xsd test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/datatypes.dtd test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/report.dtd test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/sgml.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/voicexml.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/vxml.dtd test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/xml11.xml.data test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/AttributeEscapeTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/Bug6452107.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/Bug6600882Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/Bug6675332Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/Bug7037352Test.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/DOMUtil.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/DomUtilTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/EmptyElementTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/EncodingTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/NamespaceTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/NullUriDetectionTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/SqeLinuxTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/UnprefixedNameTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/WriterTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/XMLStreamWriterTest.java test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/message_12.xml test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testEight.xml.org test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testFive.xml.org test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testFour.xml.org test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testOne.xml.org test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testSeven.xml.org test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testSix.xml.org test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testThree.xml.org test/javax/xml/jaxp/unittest/javax/xml/stream/basic-form.vxml test/javax/xml/jaxp/unittest/javax/xml/stream/report.dtd test/javax/xml/jaxp/unittest/javax/xml/stream/sgml-bad-systemId.xml test/javax/xml/jaxp/unittest/javax/xml/stream/sgml.xml test/javax/xml/jaxp/unittest/javax/xml/stream/sgml_Bug6509774.xml test/javax/xml/jaxp/unittest/javax/xml/stream/testfile1.xml test/javax/xml/jaxp/unittest/javax/xml/stream/testfile2.xml test/javax/xml/jaxp/unittest/javax/xml/stream/testfile3.xml test/javax/xml/jaxp/unittest/javax/xml/stream/testfile4.xml test/javax/xml/jaxp/unittest/javax/xml/stream/toys.xml test/javax/xml/jaxp/unittest/javax/xml/stream/vxml.dtd test/javax/xml/jaxp/unittest/javax/xml/transform/5368141.xml test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341.dtd test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341.out test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341.xml test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341Test.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341_golden.dtd test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341_golden.xml test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4892774.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug5073477.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug5073477.xml test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6175602.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6206491.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6206491.xml test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6206491.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6206491_2.xml test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6216226Test.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6311448.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6384805.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6465722.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6467808.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6490380.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6490921.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6505031.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6513892.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6537167.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6540545.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6559595.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6565260.java test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6940416.java test/javax/xml/jaxp/unittest/javax/xml/transform/BugDB12665704.xml test/javax/xml/jaxp/unittest/javax/xml/transform/BugDB12665704.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/BugDB12665704Test.java test/javax/xml/jaxp/unittest/javax/xml/transform/CR6401137.xml test/javax/xml/jaxp/unittest/javax/xml/transform/CR6401137.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/CR6401137Test.java test/javax/xml/jaxp/unittest/javax/xml/transform/CR6551600.policy test/javax/xml/jaxp/unittest/javax/xml/transform/CR6551600Test.java test/javax/xml/jaxp/unittest/javax/xml/transform/CR6577667.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/CR6577667Test.java test/javax/xml/jaxp/unittest/javax/xml/transform/CR6652519Test.java test/javax/xml/jaxp/unittest/javax/xml/transform/CR6689809Test.java test/javax/xml/jaxp/unittest/javax/xml/transform/CR6905829.xml test/javax/xml/jaxp/unittest/javax/xml/transform/CR6905829.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/CR6905829Inc.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/CR6905829Test.java test/javax/xml/jaxp/unittest/javax/xml/transform/CR6935697.xml test/javax/xml/jaxp/unittest/javax/xml/transform/CR6935697.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/CR6935697Test.java test/javax/xml/jaxp/unittest/javax/xml/transform/CR6941869.xml test/javax/xml/jaxp/unittest/javax/xml/transform/CR6941869.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/CR6941869Test.java test/javax/xml/jaxp/unittest/javax/xml/transform/CR6957215.xml test/javax/xml/jaxp/unittest/javax/xml/transform/CR6957215.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/CR6957215Test.java test/javax/xml/jaxp/unittest/javax/xml/transform/CR7098746.xml test/javax/xml/jaxp/unittest/javax/xml/transform/CR7098746.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/CR7098746Test.java test/javax/xml/jaxp/unittest/javax/xml/transform/DOMResultTest.java test/javax/xml/jaxp/unittest/javax/xml/transform/DocumentExtFunc.java test/javax/xml/jaxp/unittest/javax/xml/transform/FactoryFindTest.java test/javax/xml/jaxp/unittest/javax/xml/transform/Issue2204.xml test/javax/xml/jaxp/unittest/javax/xml/transform/Issue2204.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/Issue2204Test.java test/javax/xml/jaxp/unittest/javax/xml/transform/Issue2290.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/Issue2290Test.java test/javax/xml/jaxp/unittest/javax/xml/transform/MsWordXMLImport.xsl.data test/javax/xml/jaxp/unittest/javax/xml/transform/NCAA_Conference_Schedule_XML.dtd test/javax/xml/jaxp/unittest/javax/xml/transform/OpenJDK100017Test.java test/javax/xml/jaxp/unittest/javax/xml/transform/PredicateInKeyTest.xml test/javax/xml/jaxp/unittest/javax/xml/transform/PredicateInKeyTest.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/SAX2DOMTest.java test/javax/xml/jaxp/unittest/javax/xml/transform/SAX2DOMTest.xml test/javax/xml/jaxp/unittest/javax/xml/transform/SecureProcessingTest.java test/javax/xml/jaxp/unittest/javax/xml/transform/SecureProcessingTest.xml test/javax/xml/jaxp/unittest/javax/xml/transform/SecureProcessingTest.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/SourceTest.java test/javax/xml/jaxp/unittest/javax/xml/transform/SourceTest.xml test/javax/xml/jaxp/unittest/javax/xml/transform/SourceTest.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/StAXSourceTest.java test/javax/xml/jaxp/unittest/javax/xml/transform/TransformerFactoryTest.java test/javax/xml/jaxp/unittest/javax/xml/transform/TransformerTest.java test/javax/xml/jaxp/unittest/javax/xml/transform/TransformerUtilFactory.java test/javax/xml/jaxp/unittest/javax/xml/transform/VersionDefaultHandler.java test/javax/xml/jaxp/unittest/javax/xml/transform/VersionEventWriter.java test/javax/xml/jaxp/unittest/javax/xml/transform/ViewEditor1.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/XSLTFunctionsTest.java test/javax/xml/jaxp/unittest/javax/xml/transform/attribset27.xml test/javax/xml/jaxp/unittest/javax/xml/transform/attribset27.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/catalog.xml test/javax/xml/jaxp/unittest/javax/xml/transform/catalog.xsd test/javax/xml/jaxp/unittest/javax/xml/transform/catalog_10.xml test/javax/xml/jaxp/unittest/javax/xml/transform/config.dtd test/javax/xml/jaxp/unittest/javax/xml/transform/config.xml test/javax/xml/jaxp/unittest/javax/xml/transform/default-layout.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/global-variables.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/global.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/home.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/in.xml test/javax/xml/jaxp/unittest/javax/xml/transform/inner.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/logon.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/maps.xml test/javax/xml/jaxp/unittest/javax/xml/transform/msgAttach.xml test/javax/xml/jaxp/unittest/javax/xml/transform/numbering63.xml test/javax/xml/jaxp/unittest/javax/xml/transform/numbering63.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/outer.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/redirect.xml test/javax/xml/jaxp/unittest/javax/xml/transform/redirect.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/sax/Bug6451633.java test/javax/xml/jaxp/unittest/javax/xml/transform/src.xml test/javax/xml/jaxp/unittest/javax/xml/transform/template.xml test/javax/xml/jaxp/unittest/javax/xml/transform/tigertest-in.xml test/javax/xml/jaxp/unittest/javax/xml/transform/tigertest.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/tmp.xml test/javax/xml/jaxp/unittest/javax/xml/transform/toys.xml test/javax/xml/jaxp/unittest/javax/xml/transform/transform.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/upload-media-form.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/upload-media.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/util.xsl test/javax/xml/jaxp/unittest/javax/xml/transform/util/DOMUtil.java test/javax/xml/jaxp/unittest/javax/xml/transform/util/SAXUtil.java test/javax/xml/jaxp/unittest/javax/xml/transform/util/StAXUtil.java test/javax/xml/jaxp/unittest/javax/xml/transform/util/StreamUtil.java test/javax/xml/jaxp/unittest/javax/xml/transform/util/TransformerUtil.java test/javax/xml/jaxp/unittest/javax/xml/validation/6773084.policy test/javax/xml/jaxp/unittest/javax/xml/validation/AnyElementTest.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4966232.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4966254.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4966254.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4966254.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969042.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969089.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969110.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969689.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969692.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969693.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969695.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969732.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4970380.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4970383.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4970400.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4970402.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4970951.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4971605.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4971607.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4972882.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4986844.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4986844.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4987574.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988267.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988267.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988268.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988268.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988387.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988387.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4996446.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4996446.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4997818.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug5011500.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug5072946.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug5072946.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug5072946.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6378043.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6449797.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6449797.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6457662.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6467424.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6467424.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6467424Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6483188.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6493687.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6493687.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6493687.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6509668.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6526547.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6526547.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6526547.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6531160.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6695843.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6695843.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6695843Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_1.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_10.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_11.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_12.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_13.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_14.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_15.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_16.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_17.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_18.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_19.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_2.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_20.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_21.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_22.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_23.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_24.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_25.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_3.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_4.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_5.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_6.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_7.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_8.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_9.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6859210.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6925531Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6946312.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6946312Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6954738.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6954738.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6954738_Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/CR6708840Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/CR6740048.java test/javax/xml/jaxp/unittest/javax/xml/validation/CR6740048.xml test/javax/xml/jaxp/unittest/javax/xml/validation/CR6740048.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/CREMAS01.xml test/javax/xml/jaxp/unittest/javax/xml/validation/CREMAS01.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/ErrorHandlerImpl.java test/javax/xml/jaxp/unittest/javax/xml/validation/Issue682.xml test/javax/xml/jaxp/unittest/javax/xml/validation/Issue682.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/Issue682Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30.java test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs-error.xml test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs-ok.xml test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs-optimize-error.xml test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs-optimize-ok.xml test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs-optimize.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/JaxpIssue43Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/JaxpIssue49.java test/javax/xml/jaxp/unittest/javax/xml/validation/JaxpIssue49.xml test/javax/xml/jaxp/unittest/javax/xml/validation/LargeMaxOccursTest.java test/javax/xml/jaxp/unittest/javax/xml/validation/MultiOccursTest.java test/javax/xml/jaxp/unittest/javax/xml/validation/MultiOccursUnboundedTest.java test/javax/xml/jaxp/unittest/javax/xml/validation/OccursTest.java test/javax/xml/jaxp/unittest/javax/xml/validation/OccursUnboundedTest.java test/javax/xml/jaxp/unittest/javax/xml/validation/OccursWildcardTest.java test/javax/xml/jaxp/unittest/javax/xml/validation/OccursWildcardUnbounded.java test/javax/xml/jaxp/unittest/javax/xml/validation/ParticlesId005Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/ParticlesIg004Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/ParticlesQ013Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/ProcessContents-lax-error.xml test/javax/xml/jaxp/unittest/javax/xml/validation/ProcessContents-ok.xml test/javax/xml/jaxp/unittest/javax/xml/validation/ProcessContents.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/TCKGroupA008Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/ValidatorTest.java test/javax/xml/jaxp/unittest/javax/xml/validation/XMLDocBuilder.java test/javax/xml/jaxp/unittest/javax/xml/validation/XMLSchemaValidator.java test/javax/xml/jaxp/unittest/javax/xml/validation/gMonths-invalid.xml test/javax/xml/jaxp/unittest/javax/xml/validation/gMonths.xml test/javax/xml/jaxp/unittest/javax/xml/validation/gMonths.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/groupA008.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/groupA008ea.red test/javax/xml/jaxp/unittest/javax/xml/validation/groupA008eb.red test/javax/xml/jaxp/unittest/javax/xml/validation/hello_literal.wsdl test/javax/xml/jaxp/unittest/javax/xml/validation/idI009.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/idIimp.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/idIxpns.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/idIxpns1.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/mgG014.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/mgJ014.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-error-max.xml test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-error-min-max.xml test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-error-min.xml test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-ok.xml test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-unbounded-error-min.xml test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-unbounded-ok.xml test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-unbounded.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-error-max.xml test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-error-min-max.xml test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-error-min.xml test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-ok.xml test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-unbounded-error-min.xml test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-unbounded-ok.xml test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-unbounded.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-wildcard-unbounded.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-wildcard.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/occurs.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/particlesId005.xml test/javax/xml/jaxp/unittest/javax/xml/validation/particlesId005.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/particlesIe003.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/particlesIg004.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/particlesOptimize.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/particlesQ013.xml test/javax/xml/jaxp/unittest/javax/xml/validation/particlesQ013.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/particlesR005.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/targetNS00101m2.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/targetNS00101m2_stub.xml test/javax/xml/jaxp/unittest/javax/xml/validation/targetNS00101m2_stub.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/targetNS00101m2a.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/byte_fractionDigits004.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/byte_fractionDigits007.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/int_fractionDigits004.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/int_fractionDigits007.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/integer_fractionDigits004.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/integer_fractionDigits007.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/long_fractionDigits004.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/long_fractionDigits007.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/negativeInteger_fractionDigits004.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/negativeInteger_fractionDigits007.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/nonNegativeInteger_fractionDigits004.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/nonNegativeInteger_fractionDigits007.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/nonPositiveInteger_fractionDigits004.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/nonPositiveInteger_fractionDigits007.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/positiveInteger_fractionDigits004.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/positiveInteger_fractionDigits007.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/short_fractionDigits004.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/short_fractionDigits007.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedByte_fractionDigits004.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedByte_fractionDigits007.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedInt_fractionDigits004.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedInt_fractionDigits007.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedLong_fractionDigits004.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedLong_fractionDigits007.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedShort_fractionDigits004.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedShort_fractionDigits007.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6963124.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6963124Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6963468.xml test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6963468.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6963468Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6964720.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6964720Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214/RegexTest_1258.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214/reD10.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214/reD11.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214/reD12.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214/reE9.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6970890.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6970890Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6970890_1.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6971190.xml test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6971190.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6971190Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6971190_v.xml test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6971190_v.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6974551.xml test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6974551.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6974551Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265/notatF025.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265/notatF037.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265/notatF041.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265/notatF045.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265/notatF049.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA2.xml test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA2.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA3.xml test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA3.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA4.xml test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA4.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA5.xml test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA5.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA6.xml test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA6.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6989956.xml test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6989956.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6989956Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug7014246.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug7014246Test.java test/javax/xml/jaxp/unittest/javax/xml/validation/test-element.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/test-sequence.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/test.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/toys.xml test/javax/xml/jaxp/unittest/javax/xml/validation/toys.xsd test/javax/xml/jaxp/unittest/javax/xml/validation/types.xsd test/javax/xml/jaxp/unittest/javax/xml/xpath/Bug4991857.java test/javax/xml/jaxp/unittest/javax/xml/xpath/Bug4991939.java test/javax/xml/jaxp/unittest/javax/xml/xpath/Bug4992788.java test/javax/xml/jaxp/unittest/javax/xml/xpath/Bug4992793.java test/javax/xml/jaxp/unittest/javax/xml/xpath/Bug4992805.java test/javax/xml/jaxp/unittest/javax/xml/xpath/ClassLoaderTest.java test/javax/xml/jaxp/unittest/javax/xml/xpath/MyClassLoader.java test/javax/xml/jaxp/unittest/javax/xml/xpath/SecureProcessingTest.java test/javax/xml/jaxp/unittest/javax/xml/xpath/SecureProcessingTest.xml test/javax/xml/jaxp/unittest/javax/xml/xpath/XPathAnyTypeTest.java test/javax/xml/jaxp/unittest/javax/xml/xpath/XPathExpAnyTypeTest.java test/javax/xml/jaxp/unittest/javax/xml/xpath/XPathTest.java test/javax/xml/jaxp/unittest/javax/xml/xpath/XPathTestBase.java test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4915524.java test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4915748.java test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966082.java test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966082.xml test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966138.java test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966142.java test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966142.xml test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966142.xsd test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966143.java test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966143.xml test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966143.xsd test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6339023.java test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6355326.java test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6367542.java test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6520131.java test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6521260.java test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6582545.xml test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6582545Test.java test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6879614.xml test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6879614Test.java test/javax/xml/jaxp/unittest/org/w3c/dom/CR6333993Test.java test/javax/xml/jaxp/unittest/org/w3c/dom/CR6517707Test.java test/javax/xml/jaxp/unittest/org/w3c/dom/CR6517717Test.java test/javax/xml/jaxp/unittest/org/w3c/dom/CR6909336Test.java test/javax/xml/jaxp/unittest/org/w3c/dom/DOMConfigurationTest.java test/javax/xml/jaxp/unittest/org/w3c/dom/DOMConfigurationTest.xsd test/javax/xml/jaxp/unittest/org/w3c/dom/DOMXPathTest.java test/javax/xml/jaxp/unittest/org/w3c/dom/JdkXmlDomTest.java test/javax/xml/jaxp/unittest/org/w3c/dom/TCKEncodingTest.java test/javax/xml/jaxp/unittest/org/w3c/dom/ls/Bug4973153.java test/javax/xml/jaxp/unittest/org/w3c/dom/ls/Bug6290947.java test/javax/xml/jaxp/unittest/org/w3c/dom/ls/Bug6354955.java test/javax/xml/jaxp/unittest/org/w3c/dom/ls/Bug6376823.java test/javax/xml/jaxp/unittest/org/w3c/dom/ls/Bug6710741Test.java test/javax/xml/jaxp/unittest/org/w3c/dom/ls/LSParserTCKTest.java test/javax/xml/jaxp/unittest/org/w3c/dom/ls/LSParserTest.java test/javax/xml/jaxp/unittest/org/w3c/dom/ls/LSSerializerTest.java test/javax/xml/jaxp/unittest/org/w3c/dom/ls/note_in_dtd.xml test/javax/xml/jaxp/unittest/org/w3c/dom/test.xml test/javax/xml/jaxp/unittest/org/w3c/dom/test.xsd test/javax/xml/jaxp/unittest/org/xml/sax/Attributes2ImplTest.java test/javax/xml/jaxp/unittest/org/xml/sax/Bug6889654Test.java test/javax/xml/jaxp/unittest/org/xml/sax/Bug6925410Test.java test/javax/xml/jaxp/unittest/org/xml/sax/Bug6949607Test.java test/javax/xml/jaxp/unittest/org/xml/sax/Bug6992561Test.java test/javax/xml/jaxp/unittest/org/xml/sax/Bug7057778.xml test/javax/xml/jaxp/unittest/org/xml/sax/Bug7057778Test.java test/javax/xml/jaxp/unittest/org/xml/sax/DefaultHandler2Test.java test/javax/xml/jaxp/unittest/org/xml/sax/IssueTracker56Test.java test/javax/xml/jaxp/unittest/org/xml/sax/MyDefaultHandler2.java test/javax/xml/jaxp/unittest/org/xml/sax/NSSupportTest.java test/javax/xml/jaxp/unittest/org/xml/sax/SAXExceptionExt.java test/javax/xml/jaxp/unittest/org/xml/sax/externalDTD.dtd test/javax/xml/jaxp/unittest/org/xml/sax/toys.xml test/javax/xml/jaxp/unittest/org/xml/sax/toys_error.xml test/javax/xml/jaxp/unittest/parsers/Bug4674384_MAX_OCCURS_Test.java test/javax/xml/jaxp/unittest/parsers/Bug4674384_MAX_OCCURS_Test.xml test/javax/xml/jaxp/unittest/parsers/Bug4674384_MAX_OCCURS_Test.xsd test/javax/xml/jaxp/unittest/parsers/Bug4934208.java test/javax/xml/jaxp/unittest/parsers/Bug4967002.java test/javax/xml/jaxp/unittest/parsers/Bug4985486.java test/javax/xml/jaxp/unittest/parsers/Bug4985486.xml test/javax/xml/jaxp/unittest/parsers/Bug4991020.java test/javax/xml/jaxp/unittest/parsers/Bug4991020.xml test/javax/xml/jaxp/unittest/parsers/Bug4991020.xsd test/javax/xml/jaxp/unittest/parsers/Bug4991946.java test/javax/xml/jaxp/unittest/parsers/Bug4991946.xml test/javax/xml/jaxp/unittest/parsers/Bug4991946.xsd test/javax/xml/jaxp/unittest/parsers/Bug5010072.java test/javax/xml/jaxp/unittest/parsers/Bug5010072.xsd test/javax/xml/jaxp/unittest/parsers/Bug5025825.java test/javax/xml/jaxp/unittest/parsers/Bug6309988.java test/javax/xml/jaxp/unittest/parsers/Bug6341770.java test/javax/xml/jaxp/unittest/parsers/Bug6361283.java test/javax/xml/jaxp/unittest/parsers/Bug6506304Test.java test/javax/xml/jaxp/unittest/parsers/Bug6518733.java test/javax/xml/jaxp/unittest/parsers/Bug6518733.xml test/javax/xml/jaxp/unittest/parsers/Bug6564400.java test/javax/xml/jaxp/unittest/parsers/Bug6564400.xml test/javax/xml/jaxp/unittest/parsers/Bug6564400.xsd test/javax/xml/jaxp/unittest/parsers/Bug6573786.java test/javax/xml/jaxp/unittest/parsers/Bug6573786ErrorHandler.java test/javax/xml/jaxp/unittest/parsers/Bug6594813.java test/javax/xml/jaxp/unittest/parsers/Bug6608841.dtd test/javax/xml/jaxp/unittest/parsers/Bug6608841.java test/javax/xml/jaxp/unittest/parsers/Bug6608841.xml test/javax/xml/jaxp/unittest/parsers/Bug6608841_xhtml11-flat.dtd test/javax/xml/jaxp/unittest/parsers/Bug6690015.java test/javax/xml/jaxp/unittest/parsers/Bug6760982.java test/javax/xml/jaxp/unittest/parsers/Bug6849942Test.java test/javax/xml/jaxp/unittest/parsers/Bug7157608.dtd test/javax/xml/jaxp/unittest/parsers/Bug7157608.xml test/javax/xml/jaxp/unittest/parsers/Bug7157608Test.java test/javax/xml/jaxp/unittest/parsers/Bug7157608_1.xml test/javax/xml/jaxp/unittest/parsers/Bug7166896Test.java test/javax/xml/jaxp/unittest/parsers/Bug8073385.java test/javax/xml/jaxp/unittest/parsers/DosTest.xml test/javax/xml/jaxp/unittest/parsers/DosTest3.xml test/javax/xml/jaxp/unittest/parsers/FactoryFindTest.java test/javax/xml/jaxp/unittest/parsers/MyDefaultHandler.java test/javax/xml/jaxp/unittest/parsers/MyErrorHandler.java test/javax/xml/jaxp/unittest/parsers/ParseEmptyStream.java test/javax/xml/jaxp/unittest/parsers/bug6690015.xml test/javax/xml/jaxp/unittest/parsers/bug6760982.xml test/javax/xml/jaxp/unittest/parsers/catalog.xml test/javax/xml/jaxp/unittest/parsers/catalog.xsd test/javax/xml/jaxp/unittest/parsers/entity.xml test/javax/xml/jaxp/unittest/parsers/entity64K.xml test/javax/xml/jaxp/unittest/parsers/test.xsd test/javax/xml/jaxp/unittest/parsers/test1.xml test/javax/xml/jaxp/unittest/parsers/test2.xml test/javax/xml/jaxp/unittest/parsers/toys.xml test/javax/xml/jaxp/unittest/parsers/toys.xsd test/javax/xml/jaxp/unittest/parsers/toys3002.xsd test/javax/xml/jaxp/unittest/parsers/xinclude/Bug6794483Test.java test/javax/xml/jaxp/unittest/parsers/xinclude/test1.xml test/javax/xml/jaxp/unittest/parsers/xinclude/test2.xml test/javax/xml/jaxp/unittest/policy/PolicyUtil.java test/javax/xml/jaxp/unittest/policy/common.policy test/javax/xml/jaxp/unittest/sax/Attributes2ImplTest.java test/javax/xml/jaxp/unittest/sax/Bug6889654Test.java test/javax/xml/jaxp/unittest/sax/Bug6925410Test.java test/javax/xml/jaxp/unittest/sax/Bug6949607Test.java test/javax/xml/jaxp/unittest/sax/Bug6992561Test.java test/javax/xml/jaxp/unittest/sax/Bug7057778.xml test/javax/xml/jaxp/unittest/sax/Bug7057778Test.java test/javax/xml/jaxp/unittest/sax/DefaultHandler2Test.java test/javax/xml/jaxp/unittest/sax/IssueTracker56Test.java test/javax/xml/jaxp/unittest/sax/MyDefaultHandler2.java test/javax/xml/jaxp/unittest/sax/NSSupportTest.java test/javax/xml/jaxp/unittest/sax/SAXExceptionExt.java test/javax/xml/jaxp/unittest/sax/externalDTD.dtd test/javax/xml/jaxp/unittest/sax/toys.xml test/javax/xml/jaxp/unittest/sax/toys_error.xml test/javax/xml/jaxp/unittest/stream/AttributeLocalNameTest/AttributeLocalNameTest.java test/javax/xml/jaxp/unittest/stream/Bug6370703.java test/javax/xml/jaxp/unittest/stream/Bug6378422.java test/javax/xml/jaxp/unittest/stream/Bug6380870.java test/javax/xml/jaxp/unittest/stream/Bug6489502.java test/javax/xml/jaxp/unittest/stream/Bug6509774.java test/javax/xml/jaxp/unittest/stream/Bug6688002Test.java test/javax/xml/jaxp/unittest/stream/Bug6976938.xml test/javax/xml/jaxp/unittest/stream/Bug6976938Test.java test/javax/xml/jaxp/unittest/stream/CoalesceTest/CoalesceTest.java test/javax/xml/jaxp/unittest/stream/CoalesceTest/coalesce.xml test/javax/xml/jaxp/unittest/stream/EntitiesTest/EntityTest.java test/javax/xml/jaxp/unittest/stream/EntitiesTest/testCharRef.xml test/javax/xml/jaxp/unittest/stream/EntitiesTest/testCharRef.xml.output test/javax/xml/jaxp/unittest/stream/EventReaderDelegateTest.java test/javax/xml/jaxp/unittest/stream/EventsTest/Issue41Test.java test/javax/xml/jaxp/unittest/stream/EventsTest/Issue48Test.java test/javax/xml/jaxp/unittest/stream/EventsTest/Issue53Test.java test/javax/xml/jaxp/unittest/stream/EventsTest/Issue58Test.java test/javax/xml/jaxp/unittest/stream/FactoryFindTest.java test/javax/xml/jaxp/unittest/stream/FactoryFindTest.policy test/javax/xml/jaxp/unittest/stream/IgnoreExternalDTDTest.java test/javax/xml/jaxp/unittest/stream/ProcessingInstructionTest/ProcessingInstructionTest.java test/javax/xml/jaxp/unittest/stream/StreamReaderDelegateTest.java test/javax/xml/jaxp/unittest/stream/XMLEventLocationTest.java test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/Bug6489890.java test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/Bug6555001.java test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/Bug6586466Test.java test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/Bug6613059Test.java test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/Bug6668115Test.java test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/Bug6846133Test.java test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/Issue40Test.java test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/bug6613059.xml test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/play.xml test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/play2.xml test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/sgml.xml test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/ReaderToWriterTest.java test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/ReaderToWriterTest.wsdl test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/ReaderToWriterTest.xml test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/W2JDLR4002TestService.wsdl.data test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/XMLEventWriterTest.java test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/XMLEventWriterTest.xml test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/merge-1.xml test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/merge-2.xml test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/replace1.txt test/javax/xml/jaxp/unittest/stream/XMLInputFactoryTest/Bug6756677Test.java test/javax/xml/jaxp/unittest/stream/XMLInputFactoryTest/Bug6909759Test.java test/javax/xml/jaxp/unittest/stream/XMLInputFactoryTest/IssueTracker38.java test/javax/xml/jaxp/unittest/stream/XMLInputFactoryTest/MyInputFactory.java test/javax/xml/jaxp/unittest/stream/XMLInputFactoryTest/play.xml test/javax/xml/jaxp/unittest/stream/XMLOutputFactoryTest/Bug6846132Test.java test/javax/xml/jaxp/unittest/stream/XMLOutputFactoryTest/DuplicateNSDeclarationTest.java test/javax/xml/jaxp/unittest/stream/XMLOutputFactoryTest/StreamResultTest.java test/javax/xml/jaxp/unittest/stream/XMLResolverTest/XMLResolverTest.java test/javax/xml/jaxp/unittest/stream/XMLResolverTest/XMLResolverTest.xml test/javax/xml/jaxp/unittest/stream/XMLResolverTest/replace1.txt test/javax/xml/jaxp/unittest/stream/XMLResolverTest/replace2.txt test/javax/xml/jaxp/unittest/stream/XMLStreamExceptionTest/ExceptionTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamFilterTest/Bug6481615.java test/javax/xml/jaxp/unittest/stream/XMLStreamFilterTest/Bug6481678.java test/javax/xml/jaxp/unittest/stream/XMLStreamFilterTest/HasNextTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamFilterTest/HasNextTest.xml test/javax/xml/jaxp/unittest/stream/XMLStreamFilterTest/HasNextTypeFilter.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/BOMTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Bug6388460.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Bug6472982Test.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Bug6767322.xml test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Bug6767322Test.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Bug6847819Test.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/BugTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/DefaultAttributeTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/DoubleXmlnsTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/ExternalDTD.dtd test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/ExternalDTD.xml test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Hello.wsdl.data test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IsValidatingTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IsValidatingTest.xml test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IsValidatingTestInternalSubset.xml test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Issue44Test.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Issue47Test.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IssueTracker24.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IssueTracker35.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IssueTracker70.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IssueTracker70.xml test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Jsr173MR1Req5.xml test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Jsr173MR1Req5Test.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Jsr173MR1Req8.xml test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Jsr173MR1Req8Test.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/NamespaceTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/StreamReaderTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/SupportDTDTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/UTF16-BE.wsdl.data test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/UTF8-BOM.xml.data test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/VoiceXMLDTDTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/XML11Test.java test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/XMLSchema.dtd test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/XMLSchema.xsd test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/datatypes.dtd test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/report.dtd test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/sgml.xml test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/voicexml.xml test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/vxml.dtd test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/xml11.xml.data test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/AttributeEscapeTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/Bug6452107.java test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/Bug6600882Test.java test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/Bug6675332Test.java test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/Bug7037352Test.java test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/DOMUtil.java test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/DomUtilTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/EmptyElementTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/EncodingTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/NamespaceTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/NullUriDetectionTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/SqeLinuxTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/UnprefixedNameTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/WriterTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/XMLStreamWriterTest.java test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/message_12.xml test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/testEight.xml.org test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/testFive.xml.org test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/testFour.xml.org test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/testOne.xml.org test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/testSeven.xml.org test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/testSix.xml.org test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/testThree.xml.org test/javax/xml/jaxp/unittest/stream/basic-form.vxml test/javax/xml/jaxp/unittest/stream/report.dtd test/javax/xml/jaxp/unittest/stream/sgml-bad-systemId.xml test/javax/xml/jaxp/unittest/stream/sgml.xml test/javax/xml/jaxp/unittest/stream/sgml_Bug6509774.xml test/javax/xml/jaxp/unittest/stream/testfile1.xml test/javax/xml/jaxp/unittest/stream/testfile2.xml test/javax/xml/jaxp/unittest/stream/testfile3.xml test/javax/xml/jaxp/unittest/stream/testfile4.xml test/javax/xml/jaxp/unittest/stream/toys.xml test/javax/xml/jaxp/unittest/stream/vxml.dtd test/javax/xml/jaxp/unittest/transform/5368141.xml test/javax/xml/jaxp/unittest/transform/Bug4693341.dtd test/javax/xml/jaxp/unittest/transform/Bug4693341.out test/javax/xml/jaxp/unittest/transform/Bug4693341.xml test/javax/xml/jaxp/unittest/transform/Bug4693341Test.java test/javax/xml/jaxp/unittest/transform/Bug4693341_golden.dtd test/javax/xml/jaxp/unittest/transform/Bug4693341_golden.xml test/javax/xml/jaxp/unittest/transform/Bug4892774.java test/javax/xml/jaxp/unittest/transform/Bug5073477.java test/javax/xml/jaxp/unittest/transform/Bug5073477.xml test/javax/xml/jaxp/unittest/transform/Bug6175602.java test/javax/xml/jaxp/unittest/transform/Bug6206491.java test/javax/xml/jaxp/unittest/transform/Bug6206491.xml test/javax/xml/jaxp/unittest/transform/Bug6206491.xsl test/javax/xml/jaxp/unittest/transform/Bug6206491_2.xml test/javax/xml/jaxp/unittest/transform/Bug6216226Test.java test/javax/xml/jaxp/unittest/transform/Bug6311448.java test/javax/xml/jaxp/unittest/transform/Bug6384805.java test/javax/xml/jaxp/unittest/transform/Bug6465722.java test/javax/xml/jaxp/unittest/transform/Bug6467808.java test/javax/xml/jaxp/unittest/transform/Bug6490380.java test/javax/xml/jaxp/unittest/transform/Bug6490921.java test/javax/xml/jaxp/unittest/transform/Bug6505031.java test/javax/xml/jaxp/unittest/transform/Bug6513892.java test/javax/xml/jaxp/unittest/transform/Bug6537167.java test/javax/xml/jaxp/unittest/transform/Bug6540545.java test/javax/xml/jaxp/unittest/transform/Bug6559595.java test/javax/xml/jaxp/unittest/transform/Bug6565260.java test/javax/xml/jaxp/unittest/transform/Bug6940416.java test/javax/xml/jaxp/unittest/transform/BugDB12665704.xml test/javax/xml/jaxp/unittest/transform/BugDB12665704.xsl test/javax/xml/jaxp/unittest/transform/BugDB12665704Test.java test/javax/xml/jaxp/unittest/transform/CR6401137.xml test/javax/xml/jaxp/unittest/transform/CR6401137.xsl test/javax/xml/jaxp/unittest/transform/CR6401137Test.java test/javax/xml/jaxp/unittest/transform/CR6551600.policy test/javax/xml/jaxp/unittest/transform/CR6551600Test.java test/javax/xml/jaxp/unittest/transform/CR6577667.xsl test/javax/xml/jaxp/unittest/transform/CR6577667Test.java test/javax/xml/jaxp/unittest/transform/CR6652519Test.java test/javax/xml/jaxp/unittest/transform/CR6689809Test.java test/javax/xml/jaxp/unittest/transform/CR6905829.xml test/javax/xml/jaxp/unittest/transform/CR6905829.xsl test/javax/xml/jaxp/unittest/transform/CR6905829Inc.xsl test/javax/xml/jaxp/unittest/transform/CR6905829Test.java test/javax/xml/jaxp/unittest/transform/CR6935697.xml test/javax/xml/jaxp/unittest/transform/CR6935697.xsl test/javax/xml/jaxp/unittest/transform/CR6935697Test.java test/javax/xml/jaxp/unittest/transform/CR6941869.xml test/javax/xml/jaxp/unittest/transform/CR6941869.xsl test/javax/xml/jaxp/unittest/transform/CR6941869Test.java test/javax/xml/jaxp/unittest/transform/CR6957215.xml test/javax/xml/jaxp/unittest/transform/CR6957215.xsl test/javax/xml/jaxp/unittest/transform/CR6957215Test.java test/javax/xml/jaxp/unittest/transform/CR7098746.xml test/javax/xml/jaxp/unittest/transform/CR7098746.xsl test/javax/xml/jaxp/unittest/transform/CR7098746Test.java test/javax/xml/jaxp/unittest/transform/DOMResultTest.java test/javax/xml/jaxp/unittest/transform/DocumentExtFunc.java test/javax/xml/jaxp/unittest/transform/FactoryFindTest.java test/javax/xml/jaxp/unittest/transform/Issue2204.xml test/javax/xml/jaxp/unittest/transform/Issue2204.xsl test/javax/xml/jaxp/unittest/transform/Issue2204Test.java test/javax/xml/jaxp/unittest/transform/Issue2290.xsl test/javax/xml/jaxp/unittest/transform/Issue2290Test.java test/javax/xml/jaxp/unittest/transform/MsWordXMLImport.xsl.data test/javax/xml/jaxp/unittest/transform/NCAA_Conference_Schedule_XML.dtd test/javax/xml/jaxp/unittest/transform/OpenJDK100017Test.java test/javax/xml/jaxp/unittest/transform/PredicateInKeyTest.xml test/javax/xml/jaxp/unittest/transform/PredicateInKeyTest.xsl test/javax/xml/jaxp/unittest/transform/SAX2DOMTest.java test/javax/xml/jaxp/unittest/transform/SAX2DOMTest.xml test/javax/xml/jaxp/unittest/transform/SecureProcessingTest.java test/javax/xml/jaxp/unittest/transform/SecureProcessingTest.xml test/javax/xml/jaxp/unittest/transform/SecureProcessingTest.xsl test/javax/xml/jaxp/unittest/transform/SourceTest.java test/javax/xml/jaxp/unittest/transform/SourceTest.xml test/javax/xml/jaxp/unittest/transform/SourceTest.xsl test/javax/xml/jaxp/unittest/transform/StAXSourceTest.java test/javax/xml/jaxp/unittest/transform/TransformerFactoryTest.java test/javax/xml/jaxp/unittest/transform/TransformerTest.java test/javax/xml/jaxp/unittest/transform/TransformerUtilFactory.java test/javax/xml/jaxp/unittest/transform/VersionDefaultHandler.java test/javax/xml/jaxp/unittest/transform/VersionEventWriter.java test/javax/xml/jaxp/unittest/transform/ViewEditor1.xsl test/javax/xml/jaxp/unittest/transform/XSLTFunctionsTest.java test/javax/xml/jaxp/unittest/transform/attribset27.xml test/javax/xml/jaxp/unittest/transform/attribset27.xsl test/javax/xml/jaxp/unittest/transform/catalog.xml test/javax/xml/jaxp/unittest/transform/catalog.xsd test/javax/xml/jaxp/unittest/transform/catalog_10.xml test/javax/xml/jaxp/unittest/transform/config.dtd test/javax/xml/jaxp/unittest/transform/config.xml test/javax/xml/jaxp/unittest/transform/default-layout.xsl test/javax/xml/jaxp/unittest/transform/global-variables.xsl test/javax/xml/jaxp/unittest/transform/global.xsl test/javax/xml/jaxp/unittest/transform/home.xsl test/javax/xml/jaxp/unittest/transform/in.xml test/javax/xml/jaxp/unittest/transform/inner.xsl test/javax/xml/jaxp/unittest/transform/logon.xsl test/javax/xml/jaxp/unittest/transform/maps.xml test/javax/xml/jaxp/unittest/transform/msgAttach.xml test/javax/xml/jaxp/unittest/transform/numbering63.xml test/javax/xml/jaxp/unittest/transform/numbering63.xsl test/javax/xml/jaxp/unittest/transform/outer.xsl test/javax/xml/jaxp/unittest/transform/redirect.xml test/javax/xml/jaxp/unittest/transform/redirect.xsl test/javax/xml/jaxp/unittest/transform/sax/Bug6451633.java test/javax/xml/jaxp/unittest/transform/src.xml test/javax/xml/jaxp/unittest/transform/template.xml test/javax/xml/jaxp/unittest/transform/tigertest-in.xml test/javax/xml/jaxp/unittest/transform/tigertest.xsl test/javax/xml/jaxp/unittest/transform/tmp.xml test/javax/xml/jaxp/unittest/transform/toys.xml test/javax/xml/jaxp/unittest/transform/transform.xsl test/javax/xml/jaxp/unittest/transform/upload-media-form.xsl test/javax/xml/jaxp/unittest/transform/upload-media.xsl test/javax/xml/jaxp/unittest/transform/util.xsl test/javax/xml/jaxp/unittest/transform/util/DOMUtil.java test/javax/xml/jaxp/unittest/transform/util/SAXUtil.java test/javax/xml/jaxp/unittest/transform/util/StAXUtil.java test/javax/xml/jaxp/unittest/transform/util/StreamUtil.java test/javax/xml/jaxp/unittest/transform/util/TransformerUtil.java test/javax/xml/jaxp/unittest/util/BOMInputStream.java test/javax/xml/jaxp/unittest/util/BaseStAXUT.java test/javax/xml/jaxp/unittest/util/DraconianErrorHandler.java test/javax/xml/jaxp/unittest/validation/6773084.policy test/javax/xml/jaxp/unittest/validation/AnyElementTest.java test/javax/xml/jaxp/unittest/validation/Bug4966232.java test/javax/xml/jaxp/unittest/validation/Bug4966254.java test/javax/xml/jaxp/unittest/validation/Bug4966254.xml test/javax/xml/jaxp/unittest/validation/Bug4966254.xsd test/javax/xml/jaxp/unittest/validation/Bug4969042.java test/javax/xml/jaxp/unittest/validation/Bug4969089.java test/javax/xml/jaxp/unittest/validation/Bug4969110.java test/javax/xml/jaxp/unittest/validation/Bug4969689.java test/javax/xml/jaxp/unittest/validation/Bug4969692.java test/javax/xml/jaxp/unittest/validation/Bug4969693.java test/javax/xml/jaxp/unittest/validation/Bug4969695.java test/javax/xml/jaxp/unittest/validation/Bug4969732.java test/javax/xml/jaxp/unittest/validation/Bug4970380.java test/javax/xml/jaxp/unittest/validation/Bug4970383.java test/javax/xml/jaxp/unittest/validation/Bug4970400.java test/javax/xml/jaxp/unittest/validation/Bug4970402.java test/javax/xml/jaxp/unittest/validation/Bug4970951.java test/javax/xml/jaxp/unittest/validation/Bug4971605.java test/javax/xml/jaxp/unittest/validation/Bug4971607.java test/javax/xml/jaxp/unittest/validation/Bug4972882.java test/javax/xml/jaxp/unittest/validation/Bug4986844.java test/javax/xml/jaxp/unittest/validation/Bug4986844.xsd test/javax/xml/jaxp/unittest/validation/Bug4987574.java test/javax/xml/jaxp/unittest/validation/Bug4988267.java test/javax/xml/jaxp/unittest/validation/Bug4988267.xsd test/javax/xml/jaxp/unittest/validation/Bug4988268.java test/javax/xml/jaxp/unittest/validation/Bug4988268.xsd test/javax/xml/jaxp/unittest/validation/Bug4988387.java test/javax/xml/jaxp/unittest/validation/Bug4988387.xsd test/javax/xml/jaxp/unittest/validation/Bug4996446.java test/javax/xml/jaxp/unittest/validation/Bug4996446.xsd test/javax/xml/jaxp/unittest/validation/Bug4997818.java test/javax/xml/jaxp/unittest/validation/Bug5011500.java test/javax/xml/jaxp/unittest/validation/Bug5072946.java test/javax/xml/jaxp/unittest/validation/Bug5072946.xml test/javax/xml/jaxp/unittest/validation/Bug5072946.xsd test/javax/xml/jaxp/unittest/validation/Bug6378043.java test/javax/xml/jaxp/unittest/validation/Bug6449797.java test/javax/xml/jaxp/unittest/validation/Bug6449797.xsd test/javax/xml/jaxp/unittest/validation/Bug6457662.java test/javax/xml/jaxp/unittest/validation/Bug6467424.xml test/javax/xml/jaxp/unittest/validation/Bug6467424.xsd test/javax/xml/jaxp/unittest/validation/Bug6467424Test.java test/javax/xml/jaxp/unittest/validation/Bug6483188.java test/javax/xml/jaxp/unittest/validation/Bug6493687.java test/javax/xml/jaxp/unittest/validation/Bug6493687.xml test/javax/xml/jaxp/unittest/validation/Bug6493687.xsd test/javax/xml/jaxp/unittest/validation/Bug6509668.java test/javax/xml/jaxp/unittest/validation/Bug6526547.java test/javax/xml/jaxp/unittest/validation/Bug6526547.xml test/javax/xml/jaxp/unittest/validation/Bug6526547.xsd test/javax/xml/jaxp/unittest/validation/Bug6531160.java test/javax/xml/jaxp/unittest/validation/Bug6695843.xml test/javax/xml/jaxp/unittest/validation/Bug6695843.xsd test/javax/xml/jaxp/unittest/validation/Bug6695843Test.java test/javax/xml/jaxp/unittest/validation/Bug6773084.xsd test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_1.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_10.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_11.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_12.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_13.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_14.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_15.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_16.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_17.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_18.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_19.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_2.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_20.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_21.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_22.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_23.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_24.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_25.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_3.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_4.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_5.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_6.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_7.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_8.xml test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_9.xml test/javax/xml/jaxp/unittest/validation/Bug6773084Test.java test/javax/xml/jaxp/unittest/validation/Bug6859210.java test/javax/xml/jaxp/unittest/validation/Bug6925531Test.java test/javax/xml/jaxp/unittest/validation/Bug6946312.xml test/javax/xml/jaxp/unittest/validation/Bug6946312Test.java test/javax/xml/jaxp/unittest/validation/Bug6954738.xml test/javax/xml/jaxp/unittest/validation/Bug6954738.xsd test/javax/xml/jaxp/unittest/validation/Bug6954738_Test.java test/javax/xml/jaxp/unittest/validation/CR6708840Test.java test/javax/xml/jaxp/unittest/validation/CR6740048.java test/javax/xml/jaxp/unittest/validation/CR6740048.xml test/javax/xml/jaxp/unittest/validation/CR6740048.xsd test/javax/xml/jaxp/unittest/validation/CREMAS01.xml test/javax/xml/jaxp/unittest/validation/CREMAS01.xsd test/javax/xml/jaxp/unittest/validation/ErrorHandlerImpl.java test/javax/xml/jaxp/unittest/validation/Issue682.xml test/javax/xml/jaxp/unittest/validation/Issue682.xsd test/javax/xml/jaxp/unittest/validation/Issue682Test.java test/javax/xml/jaxp/unittest/validation/IssueTracker30.java test/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-error.xml test/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-ok.xml test/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-optimize-error.xml test/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-optimize-ok.xml test/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-optimize.xsd test/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs.xsd test/javax/xml/jaxp/unittest/validation/JaxpIssue43Test.java test/javax/xml/jaxp/unittest/validation/JaxpIssue49.java test/javax/xml/jaxp/unittest/validation/JaxpIssue49.xml test/javax/xml/jaxp/unittest/validation/LargeMaxOccursTest.java test/javax/xml/jaxp/unittest/validation/MultiOccursTest.java test/javax/xml/jaxp/unittest/validation/MultiOccursUnboundedTest.java test/javax/xml/jaxp/unittest/validation/OccursTest.java test/javax/xml/jaxp/unittest/validation/OccursUnboundedTest.java test/javax/xml/jaxp/unittest/validation/OccursWildcardTest.java test/javax/xml/jaxp/unittest/validation/OccursWildcardUnbounded.java test/javax/xml/jaxp/unittest/validation/ParticlesId005Test.java test/javax/xml/jaxp/unittest/validation/ParticlesIg004Test.java test/javax/xml/jaxp/unittest/validation/ParticlesQ013Test.java test/javax/xml/jaxp/unittest/validation/ProcessContents-lax-error.xml test/javax/xml/jaxp/unittest/validation/ProcessContents-ok.xml test/javax/xml/jaxp/unittest/validation/ProcessContents.xsd test/javax/xml/jaxp/unittest/validation/TCKGroupA008Test.java test/javax/xml/jaxp/unittest/validation/ValidatorTest.java test/javax/xml/jaxp/unittest/validation/XMLDocBuilder.java test/javax/xml/jaxp/unittest/validation/XMLSchemaValidator.java test/javax/xml/jaxp/unittest/validation/gMonths-invalid.xml test/javax/xml/jaxp/unittest/validation/gMonths.xml test/javax/xml/jaxp/unittest/validation/gMonths.xsd test/javax/xml/jaxp/unittest/validation/groupA008.xsd test/javax/xml/jaxp/unittest/validation/groupA008ea.red test/javax/xml/jaxp/unittest/validation/groupA008eb.red test/javax/xml/jaxp/unittest/validation/hello_literal.wsdl test/javax/xml/jaxp/unittest/validation/idI009.xsd test/javax/xml/jaxp/unittest/validation/idIimp.xsd test/javax/xml/jaxp/unittest/validation/idIxpns.xsd test/javax/xml/jaxp/unittest/validation/idIxpns1.xsd test/javax/xml/jaxp/unittest/validation/mgG014.xsd test/javax/xml/jaxp/unittest/validation/mgJ014.xsd test/javax/xml/jaxp/unittest/validation/multi-occurs-error-max.xml test/javax/xml/jaxp/unittest/validation/multi-occurs-error-min-max.xml test/javax/xml/jaxp/unittest/validation/multi-occurs-error-min.xml test/javax/xml/jaxp/unittest/validation/multi-occurs-ok.xml test/javax/xml/jaxp/unittest/validation/multi-occurs-unbounded-error-min.xml test/javax/xml/jaxp/unittest/validation/multi-occurs-unbounded-ok.xml test/javax/xml/jaxp/unittest/validation/multi-occurs-unbounded.xsd test/javax/xml/jaxp/unittest/validation/multi-occurs.xsd test/javax/xml/jaxp/unittest/validation/occurs-error-max.xml test/javax/xml/jaxp/unittest/validation/occurs-error-min-max.xml test/javax/xml/jaxp/unittest/validation/occurs-error-min.xml test/javax/xml/jaxp/unittest/validation/occurs-ok.xml test/javax/xml/jaxp/unittest/validation/occurs-unbounded-error-min.xml test/javax/xml/jaxp/unittest/validation/occurs-unbounded-ok.xml test/javax/xml/jaxp/unittest/validation/occurs-unbounded.xsd test/javax/xml/jaxp/unittest/validation/occurs-wildcard-unbounded.xsd test/javax/xml/jaxp/unittest/validation/occurs-wildcard.xsd test/javax/xml/jaxp/unittest/validation/occurs.xsd test/javax/xml/jaxp/unittest/validation/particlesId005.xml test/javax/xml/jaxp/unittest/validation/particlesId005.xsd test/javax/xml/jaxp/unittest/validation/particlesIe003.xsd test/javax/xml/jaxp/unittest/validation/particlesIg004.xsd test/javax/xml/jaxp/unittest/validation/particlesOptimize.xsd test/javax/xml/jaxp/unittest/validation/particlesQ013.xml test/javax/xml/jaxp/unittest/validation/particlesQ013.xsd test/javax/xml/jaxp/unittest/validation/particlesR005.xsd test/javax/xml/jaxp/unittest/validation/targetNS00101m2.xsd test/javax/xml/jaxp/unittest/validation/targetNS00101m2_stub.xml test/javax/xml/jaxp/unittest/validation/targetNS00101m2_stub.xsd test/javax/xml/jaxp/unittest/validation/targetNS00101m2a.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/byte_fractionDigits004.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/byte_fractionDigits007.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/int_fractionDigits004.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/int_fractionDigits007.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/integer_fractionDigits004.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/integer_fractionDigits007.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/long_fractionDigits004.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/long_fractionDigits007.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/negativeInteger_fractionDigits004.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/negativeInteger_fractionDigits007.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/nonNegativeInteger_fractionDigits004.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/nonNegativeInteger_fractionDigits007.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/nonPositiveInteger_fractionDigits004.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/nonPositiveInteger_fractionDigits007.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/positiveInteger_fractionDigits004.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/positiveInteger_fractionDigits007.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/short_fractionDigits004.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/short_fractionDigits007.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/unsignedByte_fractionDigits004.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/unsignedByte_fractionDigits007.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/unsignedInt_fractionDigits004.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/unsignedInt_fractionDigits007.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/unsignedLong_fractionDigits004.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/unsignedLong_fractionDigits007.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/unsignedShort_fractionDigits004.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/unsignedShort_fractionDigits007.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6943252Test.java test/javax/xml/jaxp/unittest/validation/tck/Bug6963124.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6963124Test.java test/javax/xml/jaxp/unittest/validation/tck/Bug6963468.xml test/javax/xml/jaxp/unittest/validation/tck/Bug6963468.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6963468Test.java test/javax/xml/jaxp/unittest/validation/tck/Bug6964720.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6964720Test.java test/javax/xml/jaxp/unittest/validation/tck/Bug6967214/RegexTest_1258.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6967214/reD10.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6967214/reD11.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6967214/reD12.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6967214/reE9.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6967214Test.java test/javax/xml/jaxp/unittest/validation/tck/Bug6970890.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6970890Test.java test/javax/xml/jaxp/unittest/validation/tck/Bug6970890_1.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6971190.xml test/javax/xml/jaxp/unittest/validation/tck/Bug6971190.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6971190Test.java test/javax/xml/jaxp/unittest/validation/tck/Bug6971190_v.xml test/javax/xml/jaxp/unittest/validation/tck/Bug6971190_v.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6974551.xml test/javax/xml/jaxp/unittest/validation/tck/Bug6974551.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6974551Test.java test/javax/xml/jaxp/unittest/validation/tck/Bug6975265/notatF025.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6975265/notatF037.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6975265/notatF041.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6975265/notatF045.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6975265/notatF049.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6975265Test.java test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA2.xml test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA2.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA3.xml test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA3.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA4.xml test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA4.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA5.xml test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA5.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA6.xml test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA6.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6977201Test.java test/javax/xml/jaxp/unittest/validation/tck/Bug6989956.xml test/javax/xml/jaxp/unittest/validation/tck/Bug6989956.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug6989956Test.java test/javax/xml/jaxp/unittest/validation/tck/Bug7014246.xsd test/javax/xml/jaxp/unittest/validation/tck/Bug7014246Test.java test/javax/xml/jaxp/unittest/validation/test-element.xsd test/javax/xml/jaxp/unittest/validation/test-sequence.xsd test/javax/xml/jaxp/unittest/validation/test.xsd test/javax/xml/jaxp/unittest/validation/toys.xml test/javax/xml/jaxp/unittest/validation/toys.xsd test/javax/xml/jaxp/unittest/validation/types.xsd test/javax/xml/jaxp/unittest/xpath/Bug4991857.java test/javax/xml/jaxp/unittest/xpath/Bug4991939.java test/javax/xml/jaxp/unittest/xpath/Bug4992788.java test/javax/xml/jaxp/unittest/xpath/Bug4992793.java test/javax/xml/jaxp/unittest/xpath/Bug4992805.java test/javax/xml/jaxp/unittest/xpath/ClassLoaderTest.java test/javax/xml/jaxp/unittest/xpath/MyClassLoader.java test/javax/xml/jaxp/unittest/xpath/SecureProcessingTest.java test/javax/xml/jaxp/unittest/xpath/SecureProcessingTest.xml test/javax/xml/jaxp/unittest/xpath/XPathAnyTypeTest.java test/javax/xml/jaxp/unittest/xpath/XPathExpAnyTypeTest.java test/javax/xml/jaxp/unittest/xpath/XPathTest.java test/javax/xml/jaxp/unittest/xpath/XPathTestBase.java
diffstat 1314 files changed, 64842 insertions(+), 65306 deletions(-) [+]
line wrap: on
line diff
--- a/test/javax/xml/jaxp/unittest/TEST.properties	Thu Aug 06 11:17:57 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-# jaxp test uses TestNG
-TestNG.dirs = .
-
-# Declare module dependency
-modules=java.xml
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/common/Bug6350682.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,69 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package common;
+
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.TransformerFactoryConfigurationError;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6350682
+ * @summary Test SAXParserFactory and TransformerFactory can newInstance when setContextClassLoader(null).
+ */
+public class Bug6350682 {
+
+    @Test
+    public void testSAXParserFactory() {
+        try {
+            Thread.currentThread().setContextClassLoader(null);
+            if (Bug6350682.class.getClassLoader() == null)
+                System.out.println("this class loader is NULL");
+            else
+                System.out.println("this class loader is NOT NULL");
+            SAXParserFactory factory = SAXParserFactory.newInstance();
+            Assert.assertTrue(factory != null, "Failed to get an instance of a SAXParserFactory");
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testTransformerFactory() {
+        try {
+            Thread.currentThread().setContextClassLoader(null);
+            TransformerFactory factory = TransformerFactory.newInstance();
+            Assert.assertTrue(factory != null, "Failed to get an instance of a TransformerFactory");
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        } catch (TransformerFactoryConfigurationError error) {
+            error.printStackTrace();
+            Assert.fail(error.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/common/Bug6723276Test.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,64 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package common;
+
+import org.testng.annotations.Test;
+import org.testng.Assert;
+import java.net.URL;
+import java.net.URLClassLoader;
+
+import javax.xml.parsers.SAXParserFactory;
+
+/*
+ * @bug 6723276
+ * @summary Test JAXP class can be loaded by bootstrap classloader.
+ */
+public class Bug6723276Test {
+
+    @Test
+    public void test1() {
+        try {
+            SAXParserFactory.newInstance();
+        } catch (Exception e) {
+            if (e.getMessage().indexOf("org.apache.xerces.jaxp.SAXParserFactoryImpl not found") > 0) {
+                Assert.fail(e.getMessage());
+            }
+        }
+    }
+
+    @Test
+    public void test2() {
+        try {
+            System.out.println(Thread.currentThread().getContextClassLoader());
+            System.out.println(ClassLoader.getSystemClassLoader().getParent());
+            Thread.currentThread().setContextClassLoader(new URLClassLoader(new URL[0], ClassLoader.getSystemClassLoader().getParent()));
+            SAXParserFactory.newInstance();
+        } catch (Exception e) {
+            if (e.getMessage().indexOf("org.apache.xerces.jaxp.SAXParserFactoryImpl not found") > 0) {
+                Assert.fail(e.getMessage());
+            }
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/common/Bug6941169.xml	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Bug6941169.xsd">
+	<fooTest>
+    test
+
+
+
+    information
+	</fooTest>
+</root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/common/Bug6941169.xsd	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+    <xs:element name="root">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="fooTest" type="xs:anySimpleType" fixed="test information"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+</xs:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/common/Bug6941169Test.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,501 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package common;
+
+import java.io.InputStream;
+import java.io.StringWriter;
+import java.security.AllPermission;
+import java.security.Permission;
+import java.security.Permissions;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.sax.SAXSource;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.InputSource;
+
+/*
+ * @bug 6941169
+ * @summary Test use-service-mechanism feature.
+ */
+public class Bug6941169Test {
+    static final String SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
+    static final String SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
+
+    private static final String DOM_FACTORY_ID = "javax.xml.parsers.DocumentBuilderFactory";
+    private static final String SAX_FACTORY_ID = "javax.xml.parsers.SAXParserFactory";
+
+    // impl specific feature
+    final String ORACLE_FEATURE_SERVICE_MECHANISM = "http://www.oracle.com/feature/use-service-mechanism";
+
+    static String _xml = Bug6941169Test.class.getResource("Bug6941169.xml").getPath();
+    static String _xsd = Bug6941169Test.class.getResource("Bug6941169.xsd").getPath();
+
+    @Test
+    public void testValidation_SAX_withoutServiceMech() {
+        System.out.println("Validation using SAX Source;  Service mechnism is turned off;  SAX Impl should be the default:");
+        InputSource is = new InputSource(Bug6941169Test.class.getResourceAsStream("Bug6941169.xml"));
+        SAXSource ss = new SAXSource(is);
+        System.setProperty(SAX_FACTORY_ID, "MySAXFactoryImpl");
+        long start = System.currentTimeMillis();
+        try {
+            SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            factory.setFeature(ORACLE_FEATURE_SERVICE_MECHANISM, false);
+            Schema schema = factory.newSchema(new StreamSource(_xsd));
+            Validator validator = schema.newValidator();
+            validator.validate(ss, null);
+        } catch (Exception e) {
+            // e.printStackTrace();
+            String error = e.getMessage();
+            if (error.indexOf("javax.xml.parsers.FactoryConfigurationError: Provider MySAXFactoryImpl not found") > 0) {
+                Assert.fail(e.getMessage());
+            } else {
+                System.out.println("Default impl is used");
+            }
+
+            // System.out.println(e.getMessage());
+
+        }
+        long end = System.currentTimeMillis();
+        double elapsedTime = ((end - start));
+        System.out.println("Time elapsed: " + elapsedTime);
+        System.clearProperty(SAX_FACTORY_ID);
+    }
+
+    @Test
+    public void testValidation_SAX_withServiceMech() {
+        System.out.println("Validation using SAX Source. Using service mechnism (by default) to find SAX Impl:");
+        InputSource is = new InputSource(Bug6941169Test.class.getResourceAsStream("Bug6941169.xml"));
+        SAXSource ss = new SAXSource(is);
+        System.setProperty(SAX_FACTORY_ID, "MySAXFactoryImpl");
+        long start = System.currentTimeMillis();
+        try {
+            SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            Schema schema = factory.newSchema(new StreamSource(_xsd));
+            Validator validator = schema.newValidator();
+            validator.validate(ss, null);
+            Assert.fail("User impl MySAXFactoryImpl should be used.");
+        } catch (Exception e) {
+            String error = e.getMessage();
+            if (error.indexOf("javax.xml.parsers.FactoryConfigurationError: Provider MySAXFactoryImpl not found") > 0) {
+                // expected
+            }
+            // System.out.println(e.getMessage());
+
+        }
+        long end = System.currentTimeMillis();
+        double elapsedTime = ((end - start));
+        System.out.println("Time elapsed: " + elapsedTime);
+        System.clearProperty(SAX_FACTORY_ID);
+    }
+
+    @Test
+    public void testValidation_SAX_withSM() {
+        System.out.println("Validation using SAX Source with security manager:");
+        InputSource is = new InputSource(Bug6941169Test.class.getResourceAsStream("Bug6941169.xml"));
+        SAXSource ss = new SAXSource(is);
+        System.setProperty(SAX_FACTORY_ID, "MySAXFactoryImpl");
+        Permissions granted = new java.security.Permissions();
+        granted.add(new AllPermission());
+        System.setSecurityManager(new MySM(granted));
+
+        long start = System.currentTimeMillis();
+        try {
+            SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            factory.setFeature(ORACLE_FEATURE_SERVICE_MECHANISM, false);
+            Schema schema = factory.newSchema(new StreamSource(_xsd));
+            Validator validator = schema.newValidator();
+            validator.validate(ss, null);
+        } catch (Exception e) {
+            String error = e.getMessage();
+            if (error.indexOf("javax.xml.parsers.FactoryConfigurationError: Provider MySAXFactoryImpl not found") > 0) {
+                Assert.fail(e.getMessage());
+            } else {
+                System.out.println("Default impl is used");
+            }
+
+            // System.out.println(e.getMessage());
+
+        } finally {
+            System.clearProperty(SAX_FACTORY_ID);
+            System.setSecurityManager(null);
+        }
+        long end = System.currentTimeMillis();
+        double elapsedTime = ((end - start));
+        System.out.println("Time elapsed: " + elapsedTime);
+        System.setSecurityManager(null);
+
+    }
+
+    @Test
+    public void testTransform_DOM_withoutServiceMech() {
+        System.out.println("Transform using DOM Source;  Service mechnism is turned off;  Default DOM Impl should be the default:");
+        DOMSource domSource = new DOMSource();
+        domSource.setSystemId(_xml);
+
+        // DOMSource domSource = new
+        // DOMSource(getDocument(Bug6941169Test.class.getResourceAsStream("Bug6941169.xml")));
+        System.setProperty(DOM_FACTORY_ID, "MyDOMFactoryImpl");
+        long start = System.currentTimeMillis();
+        try {
+            TransformerFactory factory = TransformerFactory.newInstance();
+            factory.setFeature(ORACLE_FEATURE_SERVICE_MECHANISM, false);
+
+            Transformer t = factory.newTransformer();
+
+            StringWriter result = new StringWriter();
+            StreamResult streamResult = new StreamResult(result);
+            t.transform(domSource, streamResult);
+            System.out.println("Writing to " + result.toString());
+
+        } catch (Exception e) {
+            // e.printStackTrace();
+            String error = e.getMessage();
+            if (error.indexOf("Provider MyDOMFactoryImpl not found") > 0) {
+                Assert.fail(e.getMessage());
+            } else {
+                System.out.println("Default impl is used");
+            }
+
+            // System.out.println(e.getMessage());
+
+        } catch (Error e) {
+            // e.printStackTrace();
+            String error = e.getMessage();
+            if (error.indexOf("Provider MyDOMFactoryImpl not found") > 0) {
+                Assert.fail(e.getMessage());
+            } else {
+                System.out.println("Default impl is used");
+            }
+
+            // System.out.println(e.getMessage());
+
+        }
+
+        long end = System.currentTimeMillis();
+        double elapsedTime = ((end - start));
+        System.out.println("Time elapsed: " + elapsedTime);
+        System.clearProperty(DOM_FACTORY_ID);
+    }
+
+    /** this is by default */
+    @Test
+    public void testTransform_DOM_withServiceMech() {
+        System.out.println("Transform using DOM Source;  By default, the factory uses services mechanism to look up impl:");
+        DOMSource domSource = new DOMSource();
+        domSource.setSystemId(_xml);
+
+        // DOMSource domSource = new
+        // DOMSource(getDocument(Bug6941169Test.class.getResourceAsStream("Bug6941169.xml")));
+        System.setProperty(DOM_FACTORY_ID, "MyDOMFactoryImpl");
+        long start = System.currentTimeMillis();
+        try {
+            TransformerFactory factory = TransformerFactory.newInstance();
+            Transformer t = factory.newTransformer();
+
+            StringWriter result = new StringWriter();
+            StreamResult streamResult = new StreamResult(result);
+            t.transform(domSource, streamResult);
+            System.out.println("Writing to " + result.toString());
+
+            Assert.fail("User impl MyDOMFactoryImpl should be used.");
+
+        } catch (Exception e) {
+            String error = e.getMessage();
+            if (error.indexOf("Provider MyDOMFactoryImpl not found") > 0) {
+                // expected
+            }
+            System.out.println(error);
+
+        } catch (Error e) {
+            String error = e.getMessage();
+            if (error.indexOf("Provider MyDOMFactoryImpl not found") > 0) {
+                // expected
+            }
+            System.out.println(error);
+
+        }
+
+        long end = System.currentTimeMillis();
+        double elapsedTime = ((end - start));
+        System.out.println("Time elapsed: " + elapsedTime);
+        System.clearProperty(DOM_FACTORY_ID);
+    }
+
+    @Test
+    public void testTransform_DOM_withSM() {
+        System.out.println("Transform using DOM Source;  Security Manager is set:");
+        DOMSource domSource = new DOMSource();
+        domSource.setSystemId(_xml);
+
+        // DOMSource domSource = new
+        // DOMSource(getDocument(Bug6941169Test.class.getResourceAsStream("Bug6941169.xml")));
+        Permissions granted = new java.security.Permissions();
+        granted.add(new AllPermission());
+        System.setSecurityManager(new MySM(granted));
+        System.setProperty(DOM_FACTORY_ID, "MyDOMFactoryImpl");
+        long start = System.currentTimeMillis();
+        try {
+            TransformerFactory factory = TransformerFactory.newInstance("com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl",
+                    TransformerFactory.class.getClassLoader());
+            Transformer t = factory.newTransformer();
+
+            StringWriter result = new StringWriter();
+            StreamResult streamResult = new StreamResult(result);
+            t.transform(domSource, streamResult);
+            System.out.println("Writing to " + result.toString());
+
+        } catch (Exception e) {
+            String error = e.getMessage();
+            if (error.indexOf("Provider MyDOMFactoryImpl not found") > 0) {
+                Assert.fail(e.getMessage());
+            } else {
+                System.out.println("Default impl is used");
+            }
+
+            // System.out.println(e.getMessage());
+
+        } catch (Error e) {
+            String error = e.getMessage();
+            if (error.indexOf("Provider MyDOMFactoryImpl not found") > 0) {
+                Assert.fail(e.getMessage());
+            } else {
+                System.out.println("Default impl is used");
+            }
+
+            // System.out.println(e.getMessage());
+
+        } finally {
+            System.clearProperty(DOM_FACTORY_ID);
+            System.setSecurityManager(null);
+        }
+        long end = System.currentTimeMillis();
+        double elapsedTime = ((end - start));
+        System.out.println("Time elapsed: " + elapsedTime);
+        System.clearProperty(DOM_FACTORY_ID);
+    }
+
+    @Test
+    public void testXPath_DOM_withoutServiceMech() {
+        final String XPATH_EXPRESSION = "/fooTest";
+        System.out.println("Evaluate DOM Source;  Service mechnism is turned off;  Default DOM Impl should be used:");
+        Document doc = getDocument(Bug6941169Test.class.getResourceAsStream("Bug6941169.xml"));
+        System.setProperty(DOM_FACTORY_ID, "MyDOMFactoryImpl");
+        long start = System.currentTimeMillis();
+        try {
+            XPathFactory xPathFactory = XPathFactory.newInstance();
+            xPathFactory.setFeature(ORACLE_FEATURE_SERVICE_MECHANISM, false);
+
+            XPath xPath = xPathFactory.newXPath();
+
+            String xPathResult = xPath.evaluate(XPATH_EXPRESSION, doc);
+
+        } catch (Exception e) {
+            // e.printStackTrace();
+            String error = e.getMessage();
+            if (error.indexOf("MyDOMFactoryImpl not found") > 0) {
+                Assert.fail(e.getMessage());
+            } else {
+                System.out.println("Default impl is used");
+            }
+
+            // System.out.println(e.getMessage());
+
+        } catch (Error e) {
+            // e.printStackTrace();
+            String error = e.getMessage();
+            if (error.indexOf("MyDOMFactoryImpl not found") > 0) {
+                Assert.fail(e.getMessage());
+            } else {
+                System.out.println("Default impl is used");
+            }
+
+            // System.out.println(e.getMessage());
+
+        }
+
+        long end = System.currentTimeMillis();
+        double elapsedTime = ((end - start));
+        System.out.println("Time elapsed: " + elapsedTime);
+        System.clearProperty(DOM_FACTORY_ID);
+    }
+
+    @Test
+    public void testXPath_DOM_withServiceMech() {
+        final String XPATH_EXPRESSION = "/fooTest";
+        System.out.println("Evaluate DOM Source;  Service mechnism is on by default;  It would try to use MyDOMFactoryImpl:");
+        InputStream input = getClass().getResourceAsStream("Bug6941169.xml");
+        InputSource source = new InputSource(input);
+        System.setProperty(DOM_FACTORY_ID, "MyDOMFactoryImpl");
+        long start = System.currentTimeMillis();
+        try {
+            XPathFactory xPathFactory = XPathFactory.newInstance();
+
+            XPath xPath = xPathFactory.newXPath();
+
+            String xPathResult = xPath.evaluate(XPATH_EXPRESSION, source);
+            Assert.fail("User impl MyDOMFactoryImpl should be used.");
+
+        } catch (Exception e) {
+            // e.printStackTrace();
+            String error = e.getMessage();
+            if (error.indexOf("MyDOMFactoryImpl not found") > 0) {
+                System.out.println("Tried to locate MyDOMFactoryImpl");
+            } else {
+                Assert.fail(e.getMessage());
+
+            }
+
+            // System.out.println(e.getMessage());
+
+        } catch (Error e) {
+            // e.printStackTrace();
+            String error = e.getMessage();
+            if (error.indexOf("MyDOMFactoryImpl not found") > 0) {
+                System.out.println("Tried to locate MyDOMFactoryImpl");
+            } else {
+                Assert.fail(e.getMessage());
+
+            }
+
+            // System.out.println(e.getMessage());
+
+        }
+
+        long end = System.currentTimeMillis();
+        double elapsedTime = ((end - start));
+        System.out.println("Time elapsed: " + elapsedTime);
+        System.clearProperty(DOM_FACTORY_ID);
+    }
+
+    @Test
+    public void testXPath_DOM_withSM() {
+        final String XPATH_EXPRESSION = "/fooTest";
+        System.out.println("Evaluate DOM Source;  Security Manager is set:");
+        Permissions granted = new java.security.Permissions();
+        granted.add(new AllPermission());
+        System.setSecurityManager(new MySM(granted));
+        InputStream input = getClass().getResourceAsStream("Bug6941169.xml");
+        InputSource source = new InputSource(input);
+        System.setProperty(DOM_FACTORY_ID, "MyDOMFactoryImpl");
+        long start = System.currentTimeMillis();
+        try {
+            XPathFactory xPathFactory = XPathFactory.newInstance("http://java.sun.com/jaxp/xpath/dom",
+                    "com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl", null);
+
+            XPath xPath = xPathFactory.newXPath();
+
+            String xPathResult = xPath.evaluate(XPATH_EXPRESSION, source);
+            System.out.println("Use default impl");
+        } catch (Exception e) {
+            // e.printStackTrace();
+            String error = e.getMessage();
+            if (error.indexOf("MyDOMFactoryImpl not found") > 0) {
+                Assert.fail(e.getMessage());
+            } else {
+                System.out.println("Default impl should be used");
+            }
+
+            // System.out.println(e.getMessage());
+
+        } catch (Error e) {
+            // e.printStackTrace();
+            String error = e.getMessage();
+            if (error.indexOf("MyDOMFactoryImpl not found") > 0) {
+                Assert.fail(e.getMessage());
+            } else {
+                System.out.println("Default impl should be used");
+            }
+
+            // System.out.println(e.getMessage());
+
+        } finally {
+            System.clearProperty(DOM_FACTORY_ID);
+            System.setSecurityManager(null);
+        }
+        long end = System.currentTimeMillis();
+        double elapsedTime = ((end - start));
+        System.out.println("Time elapsed: " + elapsedTime);
+        System.clearProperty(DOM_FACTORY_ID);
+    }
+
+    @Test
+    public void testSM() {
+        SecurityManager sm = System.getSecurityManager();
+        if (System.getSecurityManager() != null) {
+            System.out.println("Security manager not cleared: " + sm.toString());
+        } else {
+            System.out.println("Security manager cleared: ");
+        }
+    }
+
+    private static Document getDocument(InputStream in) {
+
+        Document document = null;
+
+        try {
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            dbf.setNamespaceAware(true);
+            DocumentBuilder db = dbf.newDocumentBuilder();
+            document = db.parse(in);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+
+        return document;
+    }
+
+    class MySM extends SecurityManager {
+        Permissions granted;
+
+        public MySM(Permissions perms) {
+            granted = perms;
+        }
+
+        @Override
+        public void checkPermission(Permission perm) {
+            if (granted.implies(perm)) {
+                return;
+            }
+            super.checkPermission(perm);
+        }
+
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/common/Bug7143711Test.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,159 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package common;
+
+import java.security.AllPermission;
+import java.security.Permission;
+import java.security.Permissions;
+
+import javax.xml.XMLConstants;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.xpath.XPathFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 7143711
+ * @summary Test set use-service-mechanism shall not override what's set by the constructor in secure mode.
+ */
+public class Bug7143711Test {
+    static final String SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
+    static final String SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
+
+    private static final String DOM_FACTORY_ID = "javax.xml.parsers.DocumentBuilderFactory";
+    private static final String SAX_FACTORY_ID = "javax.xml.parsers.SAXParserFactory";
+
+    // impl specific feature
+    final String ORACLE_FEATURE_SERVICE_MECHANISM = "http://www.oracle.com/feature/use-service-mechanism";
+
+    @Test
+    public void testValidation_SAX_withSM() {
+        System.out.println("Validation using SAX Source with security manager:");
+        System.setProperty(SAX_FACTORY_ID, "MySAXFactoryImpl");
+        Permissions granted = new java.security.Permissions();
+        granted.add(new AllPermission());
+        System.setSecurityManager(new MySM(granted));
+
+        try {
+            SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            // should not allow
+            factory.setFeature(ORACLE_FEATURE_SERVICE_MECHANISM, true);
+            if ((boolean) factory.getFeature(ORACLE_FEATURE_SERVICE_MECHANISM)) {
+                Assert.fail("should not override in secure mode");
+            }
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+
+        } finally {
+            System.clearProperty(SAX_FACTORY_ID);
+            System.setSecurityManager(null);
+        }
+
+        System.setSecurityManager(null);
+
+    }
+
+    @Test(enabled=false) //skipped due to bug JDK-8080097
+    public void testTransform_DOM_withSM() {
+        System.out.println("Transform using DOM Source;  Security Manager is set:");
+
+        Permissions granted = new java.security.Permissions();
+        granted.add(new AllPermission());
+        System.setSecurityManager(new MySM(granted));
+        System.setProperty(DOM_FACTORY_ID, "MyDOMFactoryImpl");
+
+        try {
+            TransformerFactory factory = TransformerFactory.newInstance("com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl",
+                    TransformerFactory.class.getClassLoader());
+            factory.setFeature(ORACLE_FEATURE_SERVICE_MECHANISM, true);
+            if ((boolean) factory.getFeature(ORACLE_FEATURE_SERVICE_MECHANISM)) {
+                Assert.fail("should not override in secure mode");
+            }
+
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        } finally {
+            System.clearProperty(DOM_FACTORY_ID);
+            System.setSecurityManager(null);
+        }
+
+        System.clearProperty(DOM_FACTORY_ID);
+    }
+
+    @Test
+    public void testXPath_DOM_withSM() {
+        System.out.println("Evaluate DOM Source;  Security Manager is set:");
+        Permissions granted = new java.security.Permissions();
+        granted.add(new AllPermission());
+        System.setSecurityManager(new MySM(granted));
+        System.setProperty(DOM_FACTORY_ID, "MyDOMFactoryImpl");
+
+        try {
+            XPathFactory xPathFactory = XPathFactory.newInstance("http://java.sun.com/jaxp/xpath/dom",
+                    "com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl", null);
+            xPathFactory.setFeature(ORACLE_FEATURE_SERVICE_MECHANISM, true);
+            if ((boolean) xPathFactory.getFeature(ORACLE_FEATURE_SERVICE_MECHANISM)) {
+                Assert.fail("should not override in secure mode");
+            }
+
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        } finally {
+            System.clearProperty(DOM_FACTORY_ID);
+            System.setSecurityManager(null);
+        }
+
+        System.clearProperty(DOM_FACTORY_ID);
+    }
+
+    @Test
+    public void testSM() {
+        SecurityManager sm = System.getSecurityManager();
+        if (System.getSecurityManager() != null) {
+            System.out.println("Security manager not cleared: " + sm.toString());
+        } else {
+            System.out.println("Security manager cleared: ");
+        }
+    }
+
+    class MySM extends SecurityManager {
+        Permissions granted;
+
+        public MySM(Permissions perms) {
+            granted = perms;
+        }
+
+        @Override
+        public void checkPermission(Permission perm) {
+            if (granted.implies(perm)) {
+                return;
+            }
+            super.checkPermission(perm);
+        }
+
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/datatype/Bug6320118.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,104 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package datatype;
+
+import javax.xml.datatype.DatatypeConfigurationException;
+import javax.xml.datatype.DatatypeFactory;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6320118
+ * @summary Test xml datatype XMLGregorianCalendar.
+ */
+public class Bug6320118 {
+
+    DatatypeFactory df;
+
+    @Test
+    public void test1() {
+        try {
+            df = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException e) {
+            Assert.fail(e.getMessage());
+        }
+
+        try {
+            XMLGregorianCalendar calendar = df.newXMLGregorianCalendar(1970, 1, 1, 24, 0, 0, 0, 0);
+        } catch (IllegalArgumentException e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    @Test
+    public void test2() {
+        try {
+            df = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException e) {
+            Assert.fail(e.getMessage());
+        }
+
+        try {
+            XMLGregorianCalendar calendar = df.newXMLGregorianCalendarTime(24, 0, 0, 0);
+        } catch (IllegalArgumentException e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    @Test
+    public void test3() {
+        try {
+            df = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException e) {
+            Assert.fail(e.getMessage());
+        }
+        try {
+            XMLGregorianCalendar calendar = df.newXMLGregorianCalendar();
+            // Must fail as other params are not 0 but undefined
+            calendar.setHour(24);
+            Assert.fail("test3() - Expected IllegalArgumentException not thrown");
+        } catch (IllegalArgumentException e) {
+            // falls through
+        }
+    }
+
+    @Test
+    public void test4() {
+        try {
+            df = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException e) {
+            Assert.fail(e.getMessage());
+        }
+
+        try {
+            XMLGregorianCalendar calendar = df.newXMLGregorianCalendar();
+            calendar.setTime(24, 0, 0, 0);
+        } catch (IllegalArgumentException e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/datatype/Bug6937951Test.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,53 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package datatype;
+
+import javax.xml.datatype.DatatypeConfigurationException;
+import javax.xml.datatype.DatatypeFactory;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6937951
+ * @summary Test midnight is same as the start of the next day in XMLGregorianCalendar.
+ */
+public class Bug6937951Test {
+
+    @Test
+    public void test() throws DatatypeConfigurationException {
+        DatatypeFactory dtf = DatatypeFactory.newInstance();
+        XMLGregorianCalendar c1 = dtf.newXMLGregorianCalendar("1999-12-31T24:00:00");
+        XMLGregorianCalendar c2 = dtf.newXMLGregorianCalendar("2000-01-01T00:00:00");
+        System.out.println("c1: " + c1.getYear() + "-" + c1.getMonth() + "-" + c1.getDay() + "T" + c1.getHour());
+        System.out.println(c1.equals(c2) ? "pass" : "fail"); // fails
+        if (!c1.equals(c2))
+            Assert.fail("hour 24 needs to be treated as equal to hour 0 of the next day");
+        if (c1.getYear() != 2000 && c1.getHour() != 0)
+            Assert.fail("hour 24 needs to be treated as equal to hour 0 of the next day");
+
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/datatype/Bug6937964Test.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,266 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package datatype;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+import javax.xml.datatype.DatatypeConfigurationException;
+import javax.xml.datatype.DatatypeConstants;
+import javax.xml.datatype.DatatypeFactory;
+import javax.xml.datatype.Duration;
+import javax.xml.namespace.QName;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6937964
+ * @summary Test Duration is normalized.
+ */
+public class Bug6937964Test {
+    /**
+     * Print debugging to System.err.
+     */
+    private static final boolean DEBUG = false;
+    /**
+     * Constant to indicate expected lexical test failure.
+     */
+    private static final String TEST_VALUE_FAIL = "*FAIL*";
+
+    private static final String FIELD_UNDEFINED = "FIELD_UNDEFINED";
+    static final DatatypeConstants.Field[] fields = { DatatypeConstants.YEARS, DatatypeConstants.MONTHS, DatatypeConstants.DAYS, DatatypeConstants.HOURS,
+            DatatypeConstants.MINUTES, DatatypeConstants.SECONDS };
+
+    @Test
+    public void test() throws DatatypeConfigurationException {
+        DatatypeFactory dtf = DatatypeFactory.newInstance();
+        Duration d = dtf.newDurationYearMonth("P20Y15M");
+        int years = d.getYears();
+        System.out.println(d.getYears() == 21 ? "pass" : "fail");
+    }
+
+    @Test
+    public void testNewDurationYearMonthLexicalRepresentation() throws DatatypeConfigurationException {
+        DatatypeFactory dtf = DatatypeFactory.newInstance();
+        Duration d = dtf.newDurationYearMonth("P20Y15M");
+        int years = d.getYears();
+        Assert.assertTrue(years == 21, "Return value should be normalized");
+    }
+
+    @Test
+    public void testNewDurationYearMonthMilliseconds() throws DatatypeConfigurationException {
+        DatatypeFactory dtf = DatatypeFactory.newInstance();
+        Duration d = dtf.newDurationYearMonth(671976000000L);
+        int years = d.getYears();
+        System.out.println("Years: " + years);
+        Assert.assertTrue(years == 21, "Return value should be normalized");
+    }
+
+    @Test
+    public void testNewDurationYearMonthBigInteger() throws DatatypeConfigurationException {
+        DatatypeFactory dtf = DatatypeFactory.newInstance();
+        BigInteger year = new BigInteger("20");
+        BigInteger mon = new BigInteger("15");
+        Duration d = dtf.newDurationYearMonth(true, year, mon);
+        int years = d.getYears();
+        Assert.assertTrue(years == 21, "Return value should be normalized");
+    }
+
+    @Test
+    public void testNewDurationYearMonthInt() throws DatatypeConfigurationException {
+        DatatypeFactory dtf = DatatypeFactory.newInstance();
+        Duration d = dtf.newDurationYearMonth(true, 20, 15);
+        int years = d.getYears();
+        Assert.assertTrue(years == 21, "Return value should be normalized");
+    }
+
+    @Test
+    public void testNewDurationDayTimeLexicalRepresentation() throws DatatypeConfigurationException {
+        DatatypeFactory dtf = DatatypeFactory.newInstance();
+        Duration d = dtf.newDurationDayTime("P1DT23H59M65S");
+        int days = d.getDays();
+        Assert.assertTrue(days == 2, "Return value should be normalized");
+    }
+
+    @Test
+    public void testNewDurationDayTimeMilliseconds() throws DatatypeConfigurationException {
+        DatatypeFactory dtf = DatatypeFactory.newInstance();
+        Duration d = dtf.newDurationDayTime(172805000L);
+        int days = d.getDays();
+        Assert.assertTrue(days == 2, "Return value should be normalized");
+    }
+
+    @Test
+    public void testNewDurationDayTimeBigInteger() throws DatatypeConfigurationException {
+        DatatypeFactory dtf = DatatypeFactory.newInstance();
+        BigInteger day = new BigInteger("1");
+        BigInteger hour = new BigInteger("23");
+        BigInteger min = new BigInteger("59");
+        BigInteger sec = new BigInteger("65");
+        Duration d = dtf.newDurationDayTime(true, day, hour, min, sec);
+        int days = d.getDays();
+        System.out.println("Days: " + days);
+        Assert.assertTrue(days == 2, "Return value should be normalized");
+    }
+
+    @Test
+    public void testNewDurationDayTimeInt() throws DatatypeConfigurationException {
+        DatatypeFactory dtf = DatatypeFactory.newInstance();
+        Duration d = dtf.newDurationDayTime(true, 1, 23, 59, 65);
+        int days = d.getDays();
+        System.out.println("Days: " + days);
+        Assert.assertTrue(days == 2, "Return value should be normalized");
+    }
+
+    @Test
+    public final void testNewDurationYearMonthLexicalRepresentation1() {
+
+        /**
+         * Lexical test values to test.
+         */
+        final String[] TEST_VALUES_LEXICAL = { "P13M", "P1Y1M", "-P13M", "-P1Y1M", "P1Y", "P1Y", "-P1Y", "-P1Y", "P1Y25M", "P3Y1M", "-P1Y25M", "-P3Y1M" };
+
+        DatatypeFactory datatypeFactory = null;
+        try {
+            datatypeFactory = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException datatypeConfigurationException) {
+            Assert.fail(datatypeConfigurationException.toString());
+        }
+
+        if (DEBUG) {
+            System.err.println("DatatypeFactory created: " + datatypeFactory.toString());
+        }
+
+        // test each value
+        for (int onTestValue = 0; onTestValue < TEST_VALUES_LEXICAL.length; onTestValue = onTestValue + 2) {
+
+            if (DEBUG) {
+                System.err.println("testing value: \"" + TEST_VALUES_LEXICAL[onTestValue] + "\", expecting: \"" + TEST_VALUES_LEXICAL[onTestValue + 1] + "\"");
+            }
+
+            try {
+                Duration duration = datatypeFactory.newDurationYearMonth(TEST_VALUES_LEXICAL[onTestValue]);
+
+                if (DEBUG) {
+                    System.err.println("Duration created: \"" + duration.toString() + "\"");
+                }
+
+                // was this expected to fail?
+                if (TEST_VALUES_LEXICAL[onTestValue + 1].equals(TEST_VALUE_FAIL)) {
+                    Assert.fail("the value \"" + TEST_VALUES_LEXICAL[onTestValue] + "\" is invalid yet it created the Duration \"" + duration.toString() + "\"");
+                }
+
+                // right XMLSchemaType?
+                // TODO: enable test, it should pass, it fails with Exception(s)
+                // for now due to a bug
+                try {
+                    QName xmlSchemaType = duration.getXMLSchemaType();
+                    if (!xmlSchemaType.equals(DatatypeConstants.DURATION_YEARMONTH)) {
+                        Assert.fail("Duration created with XMLSchemaType of\"" + xmlSchemaType + "\" was expected to be \""
+                                + DatatypeConstants.DURATION_YEARMONTH + "\" and has the value \"" + duration.toString() + "\"");
+                    }
+                } catch (IllegalStateException illegalStateException) {
+                    // TODO; this test really should pass
+                    System.err.println("Please fix this bug that is being ignored, for now: " + illegalStateException.getMessage());
+                }
+
+                // does it have the right value?
+                if (!TEST_VALUES_LEXICAL[onTestValue + 1].equals(duration.toString())) {
+                    Assert.fail("Duration created with \"" + TEST_VALUES_LEXICAL[onTestValue] + "\" was expected to be \""
+                            + TEST_VALUES_LEXICAL[onTestValue + 1] + "\" and has the value \"" + duration.toString() + "\"");
+                }
+
+                // Duration created with correct value
+            } catch (Exception exception) {
+
+                if (DEBUG) {
+                    System.err.println("Exception in creating duration: \"" + exception.toString() + "\"");
+                }
+
+                // was this expected to succed?
+                if (!TEST_VALUES_LEXICAL[onTestValue + 1].equals(TEST_VALUE_FAIL)) {
+                    Assert.fail("the value \"" + TEST_VALUES_LEXICAL[onTestValue] + "\" is valid yet it failed with \"" + exception.toString() + "\"");
+                }
+                // expected failure
+            }
+        }
+    }
+
+    /**
+     * TCK test failure
+     */
+    @Test
+    public void testNewDurationDayTime005() {
+        BigInteger one = new BigInteger("1");
+        BigInteger zero = new BigInteger("0");
+        BigDecimal bdZero = new BigDecimal("0");
+        BigDecimal bdOne = new BigDecimal("1");
+
+        Object[][] values = {
+                // lex, isPositive, years, month, days, hours, minutes, seconds
+                { "P1D", Boolean.TRUE, null, null, one, zero, zero, bdZero }, { "PT1H", Boolean.TRUE, null, null, zero, one, zero, bdZero },
+                { "PT1M", Boolean.TRUE, null, null, zero, zero, one, bdZero }, { "PT1.1S", Boolean.TRUE, null, null, zero, zero, zero, bdOne },
+                { "-PT1H1.1S", Boolean.FALSE, null, null, zero, one, zero, bdOne }, };
+
+        StringBuffer result = new StringBuffer();
+        DatatypeFactory df = null;
+
+        try {
+            df = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException e) {
+            Assert.fail(e.toString());
+        }
+
+        for (int valueIndex = 0; valueIndex < values.length; ++valueIndex) {
+            Duration duration = null;
+            try {
+                duration = df.newDurationDayTime(values[valueIndex][1].equals(Boolean.TRUE), ((BigInteger) values[valueIndex][4]).intValue(),
+                        ((BigInteger) values[valueIndex][5]).intValue(), ((BigInteger) values[valueIndex][6]).intValue(),
+                        ((BigDecimal) values[valueIndex][7]).intValue());
+            } catch (IllegalArgumentException e) {
+                result.append("; unexpected " + e + " trying to create duration \'" + values[valueIndex][0] + "\'");
+            }
+            if (duration != null) {
+                if ((duration.getSign() == 1) != values[valueIndex][1].equals(Boolean.TRUE)) {
+                    result.append("; " + values[valueIndex][0] + ": wrong sign " + duration.getSign() + ", expected " + values[valueIndex][1]);
+                }
+                for (int i = 0; i < fields.length; ++i) {
+                    Number value = duration.getField(fields[i]);
+                    if ((value != null && values[valueIndex][2 + i] == null) || (value == null && values[valueIndex][2 + i] != null)
+                            || (value != null && !value.equals(values[valueIndex][2 + i]))) {
+                        result.append("; " + values[valueIndex][0] + ": wrong value of the field " + fields[i] + ": \'" + value + "\'" + ", expected \'"
+                                + values[valueIndex][2 + i] + "\'");
+                    }
+                }
+            }
+        }
+
+        if (result.length() > 0) {
+            Assert.fail(result.substring(2));
+        }
+        System.out.println("OK");
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/datatype/Bug7042647Test.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,56 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package datatype;
+
+import java.util.Calendar;
+import java.util.GregorianCalendar;
+
+import javax.xml.datatype.DatatypeConfigurationException;
+import javax.xml.datatype.DatatypeFactory;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 7042647
+ * @summary Test getFirstDayOfWeek is correct after converting XMLGregorianCalendar to a GregorianCalendar.
+ */
+public class Bug7042647Test {
+
+    @Test
+    public void test() throws DatatypeConfigurationException {
+        XMLGregorianCalendar xmlCalendar = DatatypeFactory.newInstance().newXMLGregorianCalendar(1970, 1, 1, 0, 0, 0, 0, 0);
+        GregorianCalendar calendar = xmlCalendar.toGregorianCalendar();
+        int firstDayOfWeek = calendar.getFirstDayOfWeek();
+        Calendar defaultCalendar = Calendar.getInstance();
+        int defaultFirstDayOfWeek = defaultCalendar.getFirstDayOfWeek();
+        if (firstDayOfWeek != defaultFirstDayOfWeek) {
+            Assert.fail("Failed firstDayOfWeek=" + firstDayOfWeek + " != defaultFirstDayOfWeek=" + defaultFirstDayOfWeek);
+        } else {
+            System.out.println("Success firstDayOfWeek=" + firstDayOfWeek + " == defaultFirstDayOfWeek=" + defaultFirstDayOfWeek);
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/datatype/DatatypeFactoryTest.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,636 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package datatype;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+import javax.xml.datatype.DatatypeConfigurationException;
+import javax.xml.datatype.DatatypeConstants;
+import javax.xml.datatype.DatatypeFactory;
+import javax.xml.datatype.Duration;
+import javax.xml.datatype.XMLGregorianCalendar;
+import javax.xml.namespace.QName;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test DatatypeFactory.
+ */
+public class DatatypeFactoryTest {
+
+    private static final boolean DEBUG = false;
+
+    private static final String TEST_VALUE_FAIL = "*FAIL*";
+
+    private static final String FIELD_UNDEFINED = "FIELD_UNDEFINED";
+
+    static int parseInt(String value) {
+        return FIELD_UNDEFINED.equals(value) ? DatatypeConstants.FIELD_UNDEFINED : Integer.parseInt(value);
+    }
+
+    static BigDecimal parseBigDecimal(String value) {
+        return FIELD_UNDEFINED.equals(value) ? null : new BigDecimal(value);
+    }
+
+    static BigInteger parseBigInteger(String value) {
+        return FIELD_UNDEFINED.equals(value) ? null : new BigInteger(value);
+    }
+
+    @Test
+    public final void testNewDurationMilliseconds() {
+
+        /*
+         * to generate millisecond values
+         * final TimeZone GMT = TimeZone.getTimeZone("GMT"); GregorianCalendar
+         * gregorianCalendar = new GregorianCalendar(GMT);
+         * gregorianCalendar.setTimeInMillis(0);
+         * gregorianCalendar.add(Calendar.HOUR_OF_DAY, 1);
+         * gregorianCalendar.add(Calendar.MINUTE, 1);
+         * System.err.println("1 hour, 1 minute = " +
+         * gregorianCalendar.getTimeInMillis() + " milliseconds");
+         */
+
+        /**
+         * Millisecond test values to test.
+         */
+        final long[] TEST_VALUES_MILLISECONDS = { 0L, // 0
+                1L, // 1 millisecond
+                -1L, 1000L, // 1 second
+                -1000L, 1001L, // 1 second, 1 millisecond
+                -1001L, 60000L, // 1 minute
+                -60000L, 61000L, // 1 minute, 1 second
+                -61000L, 3600000L, // 1 hour
+                -3600000L, 3660000L, // 1 hour, 1 minute
+                -3660000L, 86400000L, // 1 day
+                -86400000L, 90000000L, // 1 day, 1 hour
+                -90000000L, 2678400000L, // 1 month
+                -2678400000L, 2764800000L, // 1 month, 1 day
+                -2764800000L, 31536000000L, // 1 year
+                -31536000000L, 34214400000L, // 1 year, 1 month
+                -34214400000L };
+
+        /**
+         * Millisecond test value results of test.
+         */
+        final String[] TEST_VALUES_MILLISECONDS_RESULTS = { "P0Y0M0DT0H0M0.000S", // 0
+                "P0Y0M0DT0H0M0.001S", // 1 millisecond
+                "-P0Y0M0DT0H0M0.001S", "P0Y0M0DT0H0M1.000S", // 1 second
+                "-P0Y0M0DT0H0M1.000S", "P0Y0M0DT0H0M1.001S", // 1 second, 1
+                                                             // millisecond
+                "-P0Y0M0DT0H0M1.001S", "P0Y0M0DT0H1M0.000S", // 1 minute
+                "-P0Y0M0DT0H1M0.000S", "P0Y0M0DT0H1M1.000S", // 1 minute, 1
+                                                             // second
+                "-P0Y0M0DT0H1M1.000S", "P0Y0M0DT1H0M0.000S", // 1 hour
+                "-P0Y0M0DT1H0M0.000S", "P0Y0M0DT1H1M0.000S", // 1 hour, 1 minute
+                "-P0Y0M0DT1H1M0.000S", "P0Y0M1DT0H0M0.000S", // 1 day
+                "-P0Y0M1DT0H0M0.000S", "P0Y0M1DT1H0M0.000S", // 1 day, 1 hour
+                "-P0Y0M1DT1H0M0.000S", "P0Y1M0DT0H0M0.000S", // 1 month
+                "-P0Y1M0DT0H0M0.000S", "P0Y1M1DT0H0M0.000S", // 1 month, 1 day
+                "-P0Y1M1DT0H0M0.000S", "P1Y0M0DT0H0M0.000S", // 1 year
+                "-P1Y0M0DT0H0M0.000S", "P1Y1M0DT0H0M0.000S", // 1 year, 1 month
+                "-P1Y1M0DT0H0M0.000S" };
+
+        DatatypeFactory datatypeFactory = null;
+        try {
+            datatypeFactory = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException datatypeConfigurationException) {
+            Assert.fail(datatypeConfigurationException.toString());
+        }
+
+        if (DEBUG) {
+            System.err.println("DatatypeFactory created: " + datatypeFactory.toString());
+        }
+
+        // test each value
+        for (int onTestValue = 0; onTestValue < TEST_VALUES_MILLISECONDS.length; onTestValue++) {
+
+            if (DEBUG) {
+                System.err.println("testing value: \"" + TEST_VALUES_MILLISECONDS[onTestValue] + "\", expecting: \""
+                        + TEST_VALUES_MILLISECONDS_RESULTS[onTestValue] + "\"");
+            }
+
+            try {
+                Duration duration = datatypeFactory.newDuration(TEST_VALUES_MILLISECONDS[onTestValue]);
+
+                if (DEBUG) {
+                    System.err.println("Duration created: \"" + duration.toString() + "\"");
+                }
+
+                // was this expected to fail?
+                if (TEST_VALUES_MILLISECONDS_RESULTS[onTestValue].equals(TEST_VALUE_FAIL)) {
+                    Assert.fail("the value \"" + TEST_VALUES_MILLISECONDS[onTestValue] + "\" is invalid yet it created the Duration \"" + duration.toString()
+                            + "\"");
+                }
+
+                // right XMLSchemaType?
+                QName xmlSchemaType = duration.getXMLSchemaType();
+                if (!xmlSchemaType.equals(DatatypeConstants.DURATION)) {
+                    Assert.fail("Duration created with XMLSchemaType of\"" + xmlSchemaType + "\" was expected to be \"" + DatatypeConstants.DURATION
+                            + "\" and has the value \"" + duration.toString() + "\"");
+                }
+
+                // does it have the right value?
+                if (!TEST_VALUES_MILLISECONDS_RESULTS[onTestValue].equals(duration.toString())) {
+                    Assert.fail("Duration created with \"" + TEST_VALUES_MILLISECONDS[onTestValue] + "\" was expected to be \""
+                            + TEST_VALUES_MILLISECONDS_RESULTS[onTestValue] + "\" and has the value \"" + duration.toString() + "\"");
+                }
+
+                // Duration created with correct value
+            } catch (Exception exception) {
+
+                if (DEBUG) {
+                    System.err.println("Exception in creating duration: \"" + exception.toString() + "\"");
+                }
+
+                // was this expected to succed?
+                if (!TEST_VALUES_MILLISECONDS_RESULTS[onTestValue].equals(TEST_VALUE_FAIL)) {
+                    Assert.fail("the value \"" + TEST_VALUES_MILLISECONDS[onTestValue] + "\" is valid yet it failed with \"" + exception.toString() + "\"");
+                }
+                // expected failure
+            }
+        }
+    }
+
+    /**
+     * Test {@link DatatypeFactory.newDurationYearMonth(String
+     * lexicalRepresentation)}.
+     */
+    @Test
+    public final void testNewDurationYearMonthLexicalRepresentation() {
+
+        /**
+         * Lexical test values to test.
+         */
+        final String[] TEST_VALUES_LEXICAL = { null, TEST_VALUE_FAIL, "", TEST_VALUE_FAIL, "-", TEST_VALUE_FAIL, "P", TEST_VALUE_FAIL, "-P", TEST_VALUE_FAIL,
+                "P1D", TEST_VALUE_FAIL, "P1Y1M1D", TEST_VALUE_FAIL, "P1M", "P1M", "-P1M", "-P1M", "P1Y", "P1Y", "-P1Y", "-P1Y", "P1Y1M", "P1Y1M", "-P1Y1M",
+                "-P1Y1M" };
+
+        DatatypeFactory datatypeFactory = null;
+        try {
+            datatypeFactory = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException datatypeConfigurationException) {
+            Assert.fail(datatypeConfigurationException.toString());
+        }
+
+        if (DEBUG) {
+            System.err.println("DatatypeFactory created: " + datatypeFactory.toString());
+        }
+
+        // test each value
+        for (int onTestValue = 0; onTestValue < TEST_VALUES_LEXICAL.length; onTestValue = onTestValue + 2) {
+
+            if (DEBUG) {
+                System.err.println("testing value: \"" + TEST_VALUES_LEXICAL[onTestValue] + "\", expecting: \"" + TEST_VALUES_LEXICAL[onTestValue + 1] + "\"");
+            }
+
+            try {
+                Duration duration = datatypeFactory.newDurationYearMonth(TEST_VALUES_LEXICAL[onTestValue]);
+
+                if (DEBUG) {
+                    System.err.println("Duration created: \"" + duration.toString() + "\"");
+                }
+
+                // was this expected to fail?
+                if (TEST_VALUES_LEXICAL[onTestValue + 1].equals(TEST_VALUE_FAIL)) {
+                    Assert.fail("the value \"" + TEST_VALUES_LEXICAL[onTestValue] + "\" is invalid yet it created the Duration \"" + duration.toString() + "\"");
+                }
+
+                // right XMLSchemaType?
+                // TODO: enable test, it should pass, it fails with Exception(s)
+                // for now due to a bug
+                try {
+                    QName xmlSchemaType = duration.getXMLSchemaType();
+                    if (!xmlSchemaType.equals(DatatypeConstants.DURATION_YEARMONTH)) {
+                        Assert.fail("Duration created with XMLSchemaType of\"" + xmlSchemaType + "\" was expected to be \""
+                                + DatatypeConstants.DURATION_YEARMONTH + "\" and has the value \"" + duration.toString() + "\"");
+                    }
+                } catch (IllegalStateException illegalStateException) {
+                    // TODO; this test really should pass
+                    System.err.println("Please fix this bug that is being ignored, for now: " + illegalStateException.getMessage());
+                }
+
+                // does it have the right value?
+                if (!TEST_VALUES_LEXICAL[onTestValue + 1].equals(duration.toString())) {
+                    Assert.fail("Duration created with \"" + TEST_VALUES_LEXICAL[onTestValue] + "\" was expected to be \""
+                            + TEST_VALUES_LEXICAL[onTestValue + 1] + "\" and has the value \"" + duration.toString() + "\"");
+                }
+
+                // Duration created with correct value
+            } catch (Exception exception) {
+
+                if (DEBUG) {
+                    System.err.println("Exception in creating duration: \"" + exception.toString() + "\"");
+                }
+
+                // was this expected to succed?
+                if (!TEST_VALUES_LEXICAL[onTestValue + 1].equals(TEST_VALUE_FAIL)) {
+                    Assert.fail("the value \"" + TEST_VALUES_LEXICAL[onTestValue] + "\" is valid yet it failed with \"" + exception.toString() + "\"");
+                }
+                // expected failure
+            }
+        }
+    }
+
+    /**
+     * Test {@link DatatypeFactory.newDurationYearMonth(long milliseconds)}.
+     *
+     */
+    @Test
+    public final void testNewDurationYearMonthMilliseconds() {
+
+        /**
+         * Millisecond test values to test.
+         */
+        final long[] TEST_VALUES_MILLISECONDS = { 0L, 1L, -1L, 2678400000L, // 31
+                                                                            // days,
+                                                                            // e.g.
+                                                                            // 1
+                                                                            // month
+                -2678400000L, 5270400000L, // 61 days, e.g. 2 months
+                -5270400000L, 31622400000L, // 366 days, e.g. 1 year
+                -31622400000L, 34300800000L, // 397 days, e.g. 1 year, 1 month
+                -34300800000L };
+
+        /**
+         * Millisecond test value results of test.
+         */
+        final String[] TEST_VALUES_MILLISECONDS_RESULTS = { "P0Y0M", "P0Y0M", "P0Y0M", "P0Y1M", "-P0Y1M", "P0Y2M", "-P0Y2M", "P1Y0M", "-P1Y0M", "P1Y1M",
+                "-P1Y1M" };
+
+        DatatypeFactory datatypeFactory = null;
+        try {
+            datatypeFactory = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException datatypeConfigurationException) {
+            Assert.fail(datatypeConfigurationException.toString());
+        }
+
+        if (DEBUG) {
+            System.err.println("DatatypeFactory created: " + datatypeFactory.toString());
+        }
+
+        // test each value
+        for (int onTestValue = 0; onTestValue < TEST_VALUES_MILLISECONDS.length; onTestValue++) {
+
+            if (DEBUG) {
+                System.err.println("testing value: \"" + TEST_VALUES_MILLISECONDS[onTestValue] + "\", expecting: \""
+                        + TEST_VALUES_MILLISECONDS_RESULTS[onTestValue] + "\"");
+            }
+
+            try {
+                Duration duration = datatypeFactory.newDurationYearMonth(TEST_VALUES_MILLISECONDS[onTestValue]);
+
+                if (DEBUG) {
+                    System.err.println("Duration created: \"" + duration.toString() + "\"");
+                }
+
+                // was this expected to fail?
+                if (TEST_VALUES_MILLISECONDS_RESULTS[onTestValue].equals(TEST_VALUE_FAIL)) {
+                    Assert.fail("the value \"" + TEST_VALUES_MILLISECONDS[onTestValue] + "\" is invalid yet it created the Duration \"" + duration.toString()
+                            + "\"");
+                }
+
+                // right XMLSchemaType?
+                QName xmlSchemaType = duration.getXMLSchemaType();
+                if (!xmlSchemaType.equals(DatatypeConstants.DURATION_YEARMONTH)) {
+                    Assert.fail("Duration created with XMLSchemaType of\"" + xmlSchemaType + "\" was expected to be \"" + DatatypeConstants.DURATION_YEARMONTH
+                            + "\" and has the value \"" + duration.toString() + "\"");
+                }
+
+                // does it have the right value?
+                if (!TEST_VALUES_MILLISECONDS_RESULTS[onTestValue].equals(duration.toString())) {
+                    Assert.fail("Duration created with \"" + TEST_VALUES_MILLISECONDS[onTestValue] + "\" was expected to be \""
+                            + TEST_VALUES_MILLISECONDS_RESULTS[onTestValue] + "\" and has the value \"" + duration.toString() + "\"");
+                }
+
+                // only YEAR & MONTH should have values
+                int days = duration.getDays();
+                int hours = duration.getHours();
+                int minutes = duration.getMinutes();
+                if (days != 0 || hours != 0 || minutes != 0) {
+                    Assert.fail("xdt:yearMonthDuration created without discarding remaining milliseconds: " + " days = " + days + ", hours = " + hours
+                            + ", minutess = " + minutes);
+                }
+
+                // Duration created with correct values
+            } catch (Exception exception) {
+
+                if (DEBUG) {
+                    System.err.println("Exception in creating duration: \"" + exception.toString() + "\"");
+                }
+
+                // was this expected to succed?
+                if (!TEST_VALUES_MILLISECONDS_RESULTS[onTestValue].equals(TEST_VALUE_FAIL)) {
+                    Assert.fail("the value \"" + TEST_VALUES_MILLISECONDS[onTestValue] + "\" is valid yet it failed with \"" + exception.toString() + "\"");
+                }
+                // expected failure
+            }
+        }
+    }
+
+    /**
+     * Test {@link DatatypeFactory.newDurationDayTime(long milliseconds)}.
+     */
+    @Test
+    public final void testNewDurationDayTime() {
+
+        /**
+         * Millisecond test values to test.
+         */
+        final long[] TEST_VALUES_MILLISECONDS = { 0L, 1L, -1L, 2678400000L, // 31
+                                                                            // days,
+                                                                            // e.g.
+                                                                            // 1
+                                                                            // month
+                -2678400000L, 5270400000L, // 61 days, e.g. 2 months
+                -5270400000L, 31622400000L, // 366 days, e.g. 1 year
+                -31622400000L, 34300800000L, // 397 days, e.g. 1 year, 1 month
+                -34300800000L };
+
+        /**
+         * Millisecond test value results of test.
+         */
+        final String[] TEST_VALUES_MILLISECONDS_RESULTS = { "P0Y0M0DT0H0M0.000S", "P0Y0M0DT0H0M0.001S", "-P0Y0M0DT0H0M0.001S", "P0Y1M", "-P0Y1M", "P0Y2M",
+                "-P0Y2M", "P1Y0M", "-P1Y0M", "P1Y1M", "-P1Y1M" };
+
+        DatatypeFactory datatypeFactory = null;
+        try {
+            datatypeFactory = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException datatypeConfigurationException) {
+            Assert.fail(datatypeConfigurationException.toString());
+        }
+
+        if (DEBUG) {
+            System.err.println("DatatypeFactory created: " + datatypeFactory.toString());
+        }
+
+        // test each value
+        for (int onTestValue = 0; onTestValue < TEST_VALUES_MILLISECONDS.length; onTestValue++) {
+
+            if (DEBUG) {
+                System.err.println("testing value: \"" + TEST_VALUES_MILLISECONDS[onTestValue] + "\", expecting: \""
+                        + TEST_VALUES_MILLISECONDS_RESULTS[onTestValue] + "\"");
+            }
+
+            try {
+                Duration duration = datatypeFactory.newDurationDayTime(TEST_VALUES_MILLISECONDS[onTestValue]);
+
+                if (DEBUG) {
+                    System.err.println("Duration created: \"" + duration.toString() + "\"");
+                }
+
+                // was this expected to fail?
+                if (TEST_VALUES_MILLISECONDS_RESULTS[onTestValue].equals(TEST_VALUE_FAIL)) {
+                    Assert.fail("the value \"" + TEST_VALUES_MILLISECONDS[onTestValue] + "\" is invalid yet it created the Duration \"" + duration.toString()
+                            + "\"");
+                }
+
+                // does it have the right value?
+                if (!TEST_VALUES_MILLISECONDS_RESULTS[onTestValue].equals(duration.toString())) {
+                    // TODO: this is bug that should be fixed
+                    if (false) {
+                        Assert.fail("Duration created with \"" + TEST_VALUES_MILLISECONDS[onTestValue] + "\" was expected to be \""
+                                + TEST_VALUES_MILLISECONDS_RESULTS[onTestValue] + "\" and has the value \"" + duration.toString() + "\"");
+                    } else {
+                        System.err.println("Please fix this bug: " + "Duration created with \"" + TEST_VALUES_MILLISECONDS[onTestValue]
+                                + "\" was expected to be \"" + TEST_VALUES_MILLISECONDS_RESULTS[onTestValue] + "\" and has the value \"" + duration.toString()
+                                + "\"");
+                    }
+                }
+
+                // only day, hour, minute, and second should have values
+                QName xmlSchemaType = duration.getXMLSchemaType();
+                int years = duration.getYears();
+                int months = duration.getMonths();
+
+                if (!xmlSchemaType.equals(DatatypeConstants.DURATION_DAYTIME) || years != 0 || months != 0) {
+                    // TODO: this is bug that should be fixed
+                    if (false) {
+                        Assert.fail("xdt:dayTimeDuration created without discarding remaining milliseconds: " + " XMLSchemaType = " + xmlSchemaType
+                                + ", years = " + years + ", months = " + months);
+                    } else {
+                        System.err.println("Please fix this bug: " + "xdt:dayTimeDuration created without discarding remaining milliseconds: "
+                                + " XMLSchemaType = " + xmlSchemaType + ", years = " + years + ", months = " + months);
+                    }
+                }
+
+                // Duration created with correct values
+            } catch (Exception exception) {
+
+                if (DEBUG) {
+                    System.err.println("Exception in creating duration: \"" + exception.toString() + "\"");
+                }
+
+                // was this expected to succed?
+                if (!TEST_VALUES_MILLISECONDS_RESULTS[onTestValue].equals(TEST_VALUE_FAIL)) {
+                    Assert.fail("the value \"" + TEST_VALUES_MILLISECONDS[onTestValue] + "\" is valid yet it failed with \"" + exception.toString() + "\"");
+                }
+                // expected failure
+            }
+        }
+    }
+
+    /**
+     * Test {@link DatatypeFactory.newXMLGregorianCalendar(String
+     * lexicalRepresentation)}.
+     */
+    @Test
+    public final void testNewXMLGregorianCalendarLexicalRepresentation() {
+
+        /**
+         * Lexical test values to test.
+         */
+        final String[] TEST_VALUES_LEXICAL = { null, TEST_VALUE_FAIL, "", TEST_VALUE_FAIL, "---01", "---01", // gDay
+                "---01Z", "---01Z", // gDay, UTC
+                "---01-08:00", "---01-08:00", // gDay, PDT
+                "--01--", TEST_VALUE_FAIL, // gMonth pre errata, --MM--(z?)
+                "--01", "--01", // gMonth
+                "--01Z", "--01Z", // gMonth, UTC
+                "--01-08:00", "--01-08:00", // gMonth, PDT
+                "--01-01", "--01-01", // gMonthDay
+                "--01-01Z", "--01-01Z", // gMonthDay, UTC
+                "--01-01-08:00", "--01-01-08:00" // gMonthDay, PDT
+        };
+
+        // get a DatatypeFactory
+        DatatypeFactory datatypeFactory = null;
+        try {
+            datatypeFactory = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException datatypeConfigurationException) {
+            Assert.fail(datatypeConfigurationException.toString());
+        }
+
+        if (DEBUG) {
+            System.err.println("DatatypeFactory created: " + datatypeFactory.toString());
+        }
+
+        // test each value
+        for (int onTestValue = 0; onTestValue < TEST_VALUES_LEXICAL.length; onTestValue = onTestValue + 2) {
+
+            if (DEBUG) {
+                System.err.println("testing value: \"" + TEST_VALUES_LEXICAL[onTestValue] + "\", expecting: \"" + TEST_VALUES_LEXICAL[onTestValue + 1] + "\"");
+            }
+
+            try {
+                XMLGregorianCalendar xmlGregorianCalendar = datatypeFactory.newXMLGregorianCalendar(TEST_VALUES_LEXICAL[onTestValue]);
+
+                if (DEBUG) {
+                    System.err.println("XMLGregorianCalendar created: \"" + xmlGregorianCalendar.toString() + "\"");
+                }
+
+                // was this expected to fail?
+                if (TEST_VALUES_LEXICAL[onTestValue + 1].equals(TEST_VALUE_FAIL)) {
+                    Assert.fail("the value \"" + TEST_VALUES_LEXICAL[onTestValue] + "\" is invalid yet it created the XMLGregorianCalendar \""
+                            + xmlGregorianCalendar.toString() + "\"");
+                }
+
+                // does it have the right value?
+                if (!TEST_VALUES_LEXICAL[onTestValue + 1].equals(xmlGregorianCalendar.toString())) {
+                    Assert.fail("XMLGregorianCalendar created with \"" + TEST_VALUES_LEXICAL[onTestValue] + "\" was expected to be \""
+                            + TEST_VALUES_LEXICAL[onTestValue + 1] + "\" and has the value \"" + xmlGregorianCalendar.toString() + "\"");
+                }
+
+                // XMLGregorianCalendar created with correct value
+            } catch (Exception exception) {
+
+                if (DEBUG) {
+                    System.err.println("Exception in creating XMLGregorianCalendar: \"" + exception.toString() + "\"");
+                }
+
+                // was this expected to succed?
+                if (!TEST_VALUES_LEXICAL[onTestValue + 1].equals(TEST_VALUE_FAIL)) {
+                    Assert.fail("the value \"" + TEST_VALUES_LEXICAL[onTestValue] + "\" is valid yet it failed with \"" + exception.toString() + "\"");
+                }
+                // expected failure
+            }
+        }
+    }
+
+    /**
+     * Test {@link DatatypeFactory.newXMLGregorianCalendar( BigInteger year, int
+     * month, int day, int hour, int minute, int second, BigDecimal
+     * fractionalSecond, int timezone)} and
+     * DatatypeFactory.newXMLGregorianCalendar( int year, int month, int day,
+     * int hour, int minute, int second, int fractionalSecond, int timezone)} .
+     */
+    @Test
+    public final void testNewXMLGregorianCalendarYearMonthDayHourMinuteSecondFractionalSecondTimezone() {
+
+        final String[][] invalidDates = {
+                { "1970", "-1", "1", "0", "0", "0", "0", "0" },
+                { "1970", "0", "1", "0", "0", "0", "0", "0" },
+                { "1970", "13", "1", "0", "0", "0", "0", "0" },
+                { "1970", "1", "-1", "0", "0", "0", "0", "0" },
+                { "1970", "1", "0", "0", "0", "0", "0", "0" },
+                { "1970", "1", "32", "0", "0", "0", "0", "0" },
+                { "1970", "1", "1", "-1", "0", "0", "0", "0" },
+                // valid per Schema Errata:
+                // http://www.w3.org/2001/05/xmlschema-errata#e2-45
+                // {"1970", "1", "1", "24", "0", "0", "0", "0" }
+                // put in a repeat value to preserve offsets & TCK tests
+                { "1970", "1", "1", "0", "-1", "0", "0", "0" }, { "1970", "1", "1", "0", "-1", "0", "0", "0" }, { "1970", "1", "1", "0", "60", "0", "0", "0" },
+                { "1970", "1", "1", "0", "0", "-1", "0", "0" }, { "1970", "1", "1", "0", "0", "61", "0", "0" },
+                { "1970", "1", "1", "0", "0", "0", "-0.000001", "0" }, { "1970", "1", "1", "0", "0", "0", "1.0001", "0" },
+                { "1970", "1", "1", "0", "0", "0", "0", "841" }, { "1970", "1", "1", "0", "0", "0", "0", "-841" }, };
+
+        // get a DatatypeFactory
+        DatatypeFactory datatypeFactory = null;
+        try {
+            datatypeFactory = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException datatypeConfigurationException) {
+            Assert.fail(datatypeConfigurationException.toString());
+        }
+
+        if (DEBUG) {
+            System.err.println("DatatypeFactory created: " + datatypeFactory.toString());
+        }
+
+        // test values, expect failure
+        for (int valueIndex = 0; valueIndex < invalidDates.length; ++valueIndex) {
+
+            try {
+
+                if (DEBUG) {
+                    System.err.println("testing DatatypeFactory.newXMLGregorianCalendar(" + invalidDates[valueIndex][0] + ", " + invalidDates[valueIndex][1]
+                            + ", " + invalidDates[valueIndex][2] + ", " + invalidDates[valueIndex][3] + ", " + invalidDates[valueIndex][4] + ", "
+                            + invalidDates[valueIndex][5] + ", " + invalidDates[valueIndex][6] + ", " + invalidDates[valueIndex][7] + ")");
+                }
+
+                XMLGregorianCalendar xmlGregorianCalendar = datatypeFactory.newXMLGregorianCalendar(parseBigInteger(invalidDates[valueIndex][0]),
+                        parseInt(invalidDates[valueIndex][1]), parseInt(invalidDates[valueIndex][2]), parseInt(invalidDates[valueIndex][3]),
+                        parseInt(invalidDates[valueIndex][4]), parseInt(invalidDates[valueIndex][5]), parseBigDecimal(invalidDates[valueIndex][6]),
+                        parseInt(invalidDates[valueIndex][7]));
+
+                if (DEBUG) {
+                    System.err.println("created XMLGregorianCalendar: " + xmlGregorianCalendar.toString());
+                }
+
+                // unexpected success, should have failed
+                Assert.fail("expected IllegalArgumentException " + "for DatatypeFactory.newXMLGregorianCalendar(" + invalidDates[valueIndex][0] + ", "
+                        + invalidDates[valueIndex][1] + ", " + invalidDates[valueIndex][2] + ", " + invalidDates[valueIndex][3] + ", "
+                        + invalidDates[valueIndex][4] + ", " + invalidDates[valueIndex][5] + ", " + invalidDates[valueIndex][6] + ", "
+                        + invalidDates[valueIndex][7] + ").  " + "Instead, XMLGregorianCalendar: \"" + xmlGregorianCalendar.toString() + "\" was created.");
+            } catch (IllegalArgumentException illegalArgumentException) {
+                // expected failure
+                if (DEBUG) {
+                    System.err.println("Exception creating XMLGregorianCalendar: " + illegalArgumentException.toString());
+                }
+            }
+        }
+
+        // test with all ints
+        int[] testIndex = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, };
+        for (int i = 0; i < testIndex.length; ++i) {
+            int valueIndex = testIndex[i];
+            try {
+                if (DEBUG) {
+                    System.err.println("testing DatatypeFactory.newXMLGregorianCalendar(" + invalidDates[valueIndex][0] + ", " + invalidDates[valueIndex][1]
+                            + ", " + invalidDates[valueIndex][2] + ", " + invalidDates[valueIndex][3] + ", " + invalidDates[valueIndex][4] + ", "
+                            + invalidDates[valueIndex][5] + ", " + invalidDates[valueIndex][6] + ", " + invalidDates[valueIndex][7] + ")");
+                }
+
+                XMLGregorianCalendar xmlGregorianCalendar = datatypeFactory.newXMLGregorianCalendar(parseInt(invalidDates[valueIndex][0]),
+                        parseInt(invalidDates[valueIndex][1]), parseInt(invalidDates[valueIndex][2]), parseInt(invalidDates[valueIndex][3]),
+                        parseInt(invalidDates[valueIndex][4]), parseInt(invalidDates[valueIndex][5]), parseInt(invalidDates[valueIndex][6]),
+                        parseInt(invalidDates[valueIndex][7]));
+
+                if (DEBUG) {
+                    System.err.println("created XMLGregorianCalendar: " + xmlGregorianCalendar.toString());
+                }
+
+                // unexpected success, should have failed
+                Assert.fail("expected IllegalArgumentException " + "for DatatypeFactory.newXMLGregorianCalendar(" + invalidDates[valueIndex][0] + ", "
+                        + invalidDates[valueIndex][1] + ", " + invalidDates[valueIndex][2] + ", " + invalidDates[valueIndex][3] + ", "
+                        + invalidDates[valueIndex][4] + ", " + invalidDates[valueIndex][5] + ", " + invalidDates[valueIndex][6] + ", "
+                        + invalidDates[valueIndex][7] + ").  " + "Instead, XMLGregorianCalendar: \"" + xmlGregorianCalendar.toString() + "\" was created.");
+            } catch (IllegalArgumentException illegalArgumentException) {
+                // expected failure
+                if (DEBUG) {
+                    System.err.println("Exception creating XMLGregorianCalendar: " + illegalArgumentException.toString());
+                }
+            }
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/datatype/DurationTest.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,480 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package datatype;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.Calendar;
+import java.util.Date;
+import java.util.GregorianCalendar;
+import java.util.TimeZone;
+
+import javax.xml.datatype.DatatypeConfigurationException;
+import javax.xml.datatype.DatatypeConstants;
+import javax.xml.datatype.DatatypeFactory;
+import javax.xml.datatype.Duration;
+import javax.xml.namespace.QName;
+
+import org.testng.Assert;
+import org.testng.AssertJUnit;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test Duration.
+ */
+public class DurationTest {
+
+    private final static boolean DEBUG = true;
+
+    protected Duration duration = null;
+
+    @BeforeMethod
+    protected void setUp() {
+        try {
+            duration = DatatypeFactory.newInstance().newDuration(100);
+        } catch (DatatypeConfigurationException dce) {
+            dce.printStackTrace();
+            Assert.fail("Failed to create instance of DatatypeFactory " + dce.getMessage());
+        }
+    }
+
+    @Test
+    public void testDurationSubtract() {
+        try {
+            Duration bigDur = DatatypeFactory.newInstance().newDuration(20000);
+            Duration smallDur = DatatypeFactory.newInstance().newDuration(10000);
+            if (smallDur.subtract(bigDur).getSign() != -1) {
+                Assert.fail("smallDur.subtract(bigDur).getSign() is not -1");
+            }
+            if (bigDur.subtract(smallDur).getSign() != 1) {
+                Assert.fail("bigDur.subtract(smallDur).getSign() is not 1");
+            }
+            if (smallDur.subtract(smallDur).getSign() != 0) {
+                Assert.fail("smallDur.subtract(smallDur).getSign() is not 0");
+            }
+        } catch (DatatypeConfigurationException e) {
+            e.printStackTrace();
+        }
+    }
+
+    @Test
+    public void testDurationMultiply() {
+        int num = 5000; // millisends. 5 seconds
+        int factor = 2;
+        try {
+            Duration dur = DatatypeFactory.newInstance().newDuration(num);
+            if (dur.multiply(factor).getSeconds() != 10) {
+                Assert.fail("duration.multiply() return wrong value");
+            }
+            // factor is 2*10^(-1)
+            if (dur.multiply(new BigDecimal(new BigInteger("2"), 1)).getSeconds() != 1) {
+                Assert.fail("duration.multiply() return wrong value");
+            }
+            if (dur.subtract(DatatypeFactory.newInstance().newDuration(1000)).multiply(new BigDecimal(new BigInteger("2"), 1)).getSeconds() != 0) {
+                Assert.fail("duration.multiply() return wrong value");
+            }
+        } catch (DatatypeConfigurationException e) {
+            e.printStackTrace();
+        }
+    }
+
+    @Test
+    public void testDurationAndCalendar1() {
+        int year = 1;
+        int month = 2;
+        int day = 3;
+        int hour = 4;
+        int min = 5;
+        int sec = 6;
+        String lexicalRepresentation = "P" + year + "Y" + month + "M" + day + "DT" + hour + "H" + min + "M" + sec + "S";
+        try {
+            Duration dur = DatatypeFactory.newInstance().newDuration(lexicalRepresentation);
+            System.out.println(dur.toString());
+            AssertJUnit.assertTrue("year should be 1", dur.getYears() == year);
+            AssertJUnit.assertTrue("month should be 2", dur.getMonths() == month);
+            AssertJUnit.assertTrue("day should be 3", dur.getDays() == day);
+            AssertJUnit.assertTrue("hour should be 4", dur.getHours() == hour);
+            AssertJUnit.assertTrue("minute should be 5", dur.getMinutes() == min);
+            AssertJUnit.assertTrue("second should be 6", dur.getSeconds() == sec);
+        } catch (DatatypeConfigurationException e) {
+            e.printStackTrace();
+        }
+    }
+
+    @Test
+    public void testDurationAndCalendar2() {
+        try {
+            AssertJUnit.assertTrue("10.00099S means 10 sec since it will be rounded to zero", DatatypeFactory.newInstance().newDuration("PT10.00099S")
+                    .getTimeInMillis(new Date()) == 10000);
+            AssertJUnit.assertTrue("10.00099S means 10 sec since it will be rounded to zero", DatatypeFactory.newInstance().newDuration("-PT10.00099S")
+                    .getTimeInMillis(new Date()) == -10000);
+            AssertJUnit.assertTrue("10.00099S means 10 sec since it will be rounded to zero", DatatypeFactory.newInstance().newDuration("PT10.00099S")
+                    .getTimeInMillis(new GregorianCalendar()) == 10000);
+            AssertJUnit.assertTrue("10.00099S means 10 sec since it will be rounded to zero", DatatypeFactory.newInstance().newDuration("-PT10.00099S")
+                    .getTimeInMillis(new GregorianCalendar()) == -10000);
+        } catch (DatatypeConfigurationException e) {
+            e.printStackTrace();
+        }
+    }
+
+    @Test
+    public void testDurationAndCalendar3() {
+        try {
+            Calendar cal = new GregorianCalendar();
+            cal.set(Calendar.SECOND, 59);
+            DatatypeFactory.newInstance().newDuration(10000).addTo(cal);
+            AssertJUnit.assertTrue("sec will be 9", cal.get(Calendar.SECOND) == 9);
+
+            Date date = new Date();
+            date.setSeconds(59);
+            DatatypeFactory.newInstance().newDuration(10000).addTo(date);
+            AssertJUnit.assertTrue("sec will be 9", date.getSeconds() == 9);
+        } catch (DatatypeConfigurationException e) {
+            e.printStackTrace();
+        }
+    }
+
+    @Test
+    public void testEqualsWithDifferentObjectParam() {
+
+        AssertJUnit.assertFalse("equals method should return false for any object other than Duration", duration.equals(new Integer(0)));
+    }
+
+    @Test
+    public void testEqualsWithNullObjectParam() {
+
+        AssertJUnit.assertFalse("equals method should return false for null parameter", duration.equals(null));
+    }
+
+    @Test
+    public void testEqualsWithEqualObjectParam() {
+        try {
+            AssertJUnit.assertTrue("equals method is expected to return true", duration.equals(DatatypeFactory.newInstance().newDuration(100)));
+        } catch (DatatypeConfigurationException dce) {
+            dce.printStackTrace();
+            Assert.fail("Failed to create instance of DatatypeFactory " + dce.getMessage());
+        }
+    }
+
+    /**
+     * Inspired by CR 5077522 Duration.compare makes mistakes for some values.
+     */
+    @Test
+    public void testCompareWithInderterminateRelation() {
+
+        final String[][] partialOrder = { // partialOrder
+        { "P1Y", "<>", "P365D" }, { "P1Y", "<>", "P366D" }, { "P1M", "<>", "P28D" }, { "P1M", "<>", "P29D" }, { "P1M", "<>", "P30D" }, { "P1M", "<>", "P31D" },
+                { "P5M", "<>", "P150D" }, { "P5M", "<>", "P151D" }, { "P5M", "<>", "P152D" }, { "P5M", "<>", "P153D" }, { "PT2419200S", "<>", "P1M" },
+                { "PT2678400S", "<>", "P1M" }, { "PT31536000S", "<>", "P1Y" }, { "PT31622400S", "<>", "P1Y" }, { "PT525600M", "<>", "P1Y" },
+                { "PT527040M", "<>", "P1Y" }, { "PT8760H", "<>", "P1Y" }, { "PT8784H", "<>", "P1Y" }, { "P365D", "<>", "P1Y" }, };
+
+        DatatypeFactory df = null;
+        try {
+            df = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException ex) {
+            ex.printStackTrace();
+            Assert.fail(ex.toString());
+        }
+
+        boolean compareErrors = false;
+
+        for (int valueIndex = 0; valueIndex < partialOrder.length; ++valueIndex) {
+            Duration duration1 = df.newDuration(partialOrder[valueIndex][0]);
+            Duration duration2 = df.newDuration(partialOrder[valueIndex][2]);
+            int cmp = duration1.compare(duration2);
+            int expected = ">".equals(partialOrder[valueIndex][1]) ? DatatypeConstants.GREATER
+                    : "<".equals(partialOrder[valueIndex][1]) ? DatatypeConstants.LESSER : "==".equals(partialOrder[valueIndex][1]) ? DatatypeConstants.EQUAL
+                            : DatatypeConstants.INDETERMINATE;
+
+            // just note any errors, do not fail until all cases have been
+            // tested
+            if (expected != cmp) {
+                compareErrors = true;
+                System.err.println("returned " + cmp2str(cmp) + " for durations \'" + duration1 + "\' and " + duration2 + "\', but expected "
+                        + cmp2str(expected));
+            }
+        }
+
+        if (compareErrors) {
+            // TODO; fix bug, these tests should pass
+            if (false) {
+                Assert.fail("Errors in comparing indeterminate relations, see Stderr");
+            } else {
+                System.err.println("Please fix this bug: " + "Errors in comparing indeterminate relations, see Stderr");
+            }
+        }
+    }
+
+    public static String cmp2str(int cmp) {
+        return cmp == DatatypeConstants.LESSER ? "LESSER" : cmp == DatatypeConstants.GREATER ? "GREATER" : cmp == DatatypeConstants.EQUAL ? "EQUAL"
+                : cmp == DatatypeConstants.INDETERMINATE ? "INDETERMINATE" : "UNDEFINED";
+    }
+
+    /**
+     * Inspired by CR 6238220 javax.xml.datatype.Duration has no clear
+     * description concerning return values range.
+     */
+    @Test
+    public void testNormalizedReturnValues() throws Exception {
+
+        final Object[] TEST_VALUES = {
+                // test 61 seconds -> 1 minute, 1 second
+                true, // isPositive,
+                BigInteger.ZERO, // years,
+                BigInteger.ZERO, // months
+                BigInteger.ZERO, // days
+                BigInteger.ZERO, // hours
+                BigInteger.ZERO, // minutes
+                new BigDecimal(61), // seconds
+                61000L, // durationInMilliSeconds,
+                "P0Y0M0DT0H0M61S", // lexicalRepresentation
+
+                // test - 61 seconds -> - 1 minute, 1 second
+                false, // isPositive,
+                BigInteger.ZERO, // years,
+                BigInteger.ZERO, // months
+                BigInteger.ZERO, // days
+                BigInteger.ZERO, // hours
+                BigInteger.ZERO, // minutes
+                new BigDecimal(61), // seconds
+                61000L, // durationInMilliSeconds,
+                "-P0Y0M0DT0H0M61S", // lexicalRepresentation
+        };
+
+        final Object[] NORM_VALUES = {
+                // test 61 seconds -> 1 minute, 1 second
+                true, // normalized isPositive,
+                BigInteger.ZERO, // normalized years,
+                BigInteger.ZERO, // normalized months
+                BigInteger.ZERO, // normalized days
+                BigInteger.ZERO, // normalized hours
+                BigInteger.ONE, // normalized minutes
+                BigDecimal.ONE, // normalized seconds
+                61000L, // normalized durationInMilliSeconds,
+                "P0Y0M0DT0H1M1.000S", // normalized lexicalRepresentation
+
+                // test - 61 seconds -> - 1 minute, 1 second
+                false, // normalized isPositive,
+                BigInteger.ZERO, // normalized years,
+                BigInteger.ZERO, // normalized months
+                BigInteger.ZERO, // normalized days
+                BigInteger.ZERO, // normalized hours
+                BigInteger.ONE, // normalized minutes
+                BigDecimal.ONE, // normalized seconds
+                61000L, // normalized durationInMilliSeconds,
+                "-P0Y0M0DT0H1M1.000S" // normalized lexicalRepresentation
+        };
+
+        for (int onValue = 0; onValue < TEST_VALUES.length; onValue += 9) {
+            newDurationTester(((Boolean) TEST_VALUES[onValue]).booleanValue(), // isPositive,
+                    ((Boolean) NORM_VALUES[onValue]).booleanValue(), // normalized
+                                                                     // isPositive,
+                    (BigInteger) TEST_VALUES[onValue + 1], // years,
+                    (BigInteger) NORM_VALUES[onValue + 1], // normalized years,
+                    (BigInteger) TEST_VALUES[onValue + 2], // months
+                    (BigInteger) NORM_VALUES[onValue + 2], // normalized months
+                    (BigInteger) TEST_VALUES[onValue + 3], // days
+                    (BigInteger) NORM_VALUES[onValue + 3], // normalized days
+                    (BigInteger) TEST_VALUES[onValue + 4], // hours
+                    (BigInteger) NORM_VALUES[onValue + 4], // normalized hours
+                    (BigInteger) TEST_VALUES[onValue + 5], // minutes
+                    (BigInteger) NORM_VALUES[onValue + 5], // normalized minutes
+                    (BigDecimal) TEST_VALUES[onValue + 6], // seconds
+                    (BigDecimal) NORM_VALUES[onValue + 6], // normalized seconds
+                    ((Long) TEST_VALUES[onValue + 7]).longValue(), // durationInMilliSeconds,
+                    ((Long) NORM_VALUES[onValue + 7]).longValue(), // normalized
+                                                                   // durationInMilliSeconds,
+                    (String) TEST_VALUES[onValue + 8], // lexicalRepresentation
+                    (String) NORM_VALUES[onValue + 8]); // normalized
+                                                        // lexicalRepresentation
+
+            newDurationDayTimeTester(((Boolean) TEST_VALUES[onValue]).booleanValue(), // isPositive,
+                    ((Boolean) NORM_VALUES[onValue]).booleanValue(), // normalized
+                                                                     // isPositive,
+                    BigInteger.ZERO, // years,
+                    BigInteger.ZERO, // normalized years,
+                    BigInteger.ZERO, // months
+                    BigInteger.ZERO, // normalized months
+                    (BigInteger) TEST_VALUES[onValue + 3], // days
+                    (BigInteger) NORM_VALUES[onValue + 3], // normalized days
+                    (BigInteger) TEST_VALUES[onValue + 4], // hours
+                    (BigInteger) NORM_VALUES[onValue + 4], // normalized hours
+                    (BigInteger) TEST_VALUES[onValue + 5], // minutes
+                    (BigInteger) NORM_VALUES[onValue + 5], // normalized minutes
+                    (BigDecimal) TEST_VALUES[onValue + 6], // seconds
+                    (BigDecimal) NORM_VALUES[onValue + 6], // normalized seconds
+                    ((Long) TEST_VALUES[onValue + 7]).longValue(), // durationInMilliSeconds,
+                    ((Long) NORM_VALUES[onValue + 7]).longValue(), // normalized
+                                                                   // durationInMilliSeconds,
+                    (String) TEST_VALUES[onValue + 8], // lexicalRepresentation
+                    (String) NORM_VALUES[onValue + 8]); // normalized
+                                                        // lexicalRepresentation
+        }
+    }
+
+    private void newDurationTester(boolean isPositive, boolean normalizedIsPositive, BigInteger years, BigInteger normalizedYears, BigInteger months,
+            BigInteger normalizedMonths, BigInteger days, BigInteger normalizedDays, BigInteger hours, BigInteger normalizedHours, BigInteger minutes,
+            BigInteger normalizedMinutes, BigDecimal seconds, BigDecimal normalizedSeconds, long durationInMilliSeconds, long normalizedDurationInMilliSeconds,
+            String lexicalRepresentation, String normalizedLexicalRepresentation) {
+
+        DatatypeFactory datatypeFactory = null;
+        try {
+            datatypeFactory = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException ex) {
+            ex.printStackTrace();
+            Assert.fail(ex.toString());
+        }
+
+        // create 4 Durations using the 4 different constructors
+
+        Duration durationBigInteger = datatypeFactory.newDuration(isPositive, years, months, days, hours, minutes, seconds);
+        durationAssertEquals(durationBigInteger, DatatypeConstants.DURATION, normalizedIsPositive, normalizedYears.intValue(), normalizedMonths.intValue(),
+                normalizedDays.intValue(), normalizedHours.intValue(), normalizedMinutes.intValue(), normalizedSeconds.intValue(),
+                normalizedDurationInMilliSeconds, normalizedLexicalRepresentation);
+
+        Duration durationInt = datatypeFactory.newDuration(isPositive, years.intValue(), months.intValue(), days.intValue(), hours.intValue(),
+                minutes.intValue(), seconds.intValue());
+        durationAssertEquals(durationInt, DatatypeConstants.DURATION, normalizedIsPositive, normalizedYears.intValue(), normalizedMonths.intValue(),
+                normalizedDays.intValue(), normalizedHours.intValue(), normalizedMinutes.intValue(), normalizedSeconds.intValue(),
+                normalizedDurationInMilliSeconds, normalizedLexicalRepresentation);
+
+        Duration durationMilliseconds = datatypeFactory.newDuration(durationInMilliSeconds);
+        durationAssertEquals(durationMilliseconds, DatatypeConstants.DURATION, normalizedIsPositive, normalizedYears.intValue(), normalizedMonths.intValue(),
+                normalizedDays.intValue(), normalizedHours.intValue(), normalizedMinutes.intValue(), normalizedSeconds.intValue(),
+                normalizedDurationInMilliSeconds, normalizedLexicalRepresentation);
+
+        Duration durationLexical = datatypeFactory.newDuration(lexicalRepresentation);
+        durationAssertEquals(durationLexical, DatatypeConstants.DURATION, normalizedIsPositive, normalizedYears.intValue(), normalizedMonths.intValue(),
+                normalizedDays.intValue(), normalizedHours.intValue(), normalizedMinutes.intValue(), normalizedSeconds.intValue(),
+                normalizedDurationInMilliSeconds, normalizedLexicalRepresentation);
+    }
+
+    private void newDurationDayTimeTester(boolean isPositive, boolean normalizedIsPositive, BigInteger years, BigInteger normalizedYears, BigInteger months,
+            BigInteger normalizedMonths, BigInteger days, BigInteger normalizedDays, BigInteger hours, BigInteger normalizedHours, BigInteger minutes,
+            BigInteger normalizedMinutes, BigDecimal seconds, BigDecimal normalizedSeconds, long durationInMilliSeconds, long normalizedDurationInMilliSeconds,
+            String lexicalRepresentation, String normalizedLexicalRepresentation) {
+
+        DatatypeFactory datatypeFactory = null;
+        try {
+            datatypeFactory = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException ex) {
+            ex.printStackTrace();
+            Assert.fail(ex.toString());
+        }
+
+        // create 4 dayTime Durations using the 4 different constructors
+
+        Duration durationDayTimeBigInteger = datatypeFactory.newDurationDayTime(isPositive, days, hours, minutes, seconds.toBigInteger());
+        durationAssertEquals(durationDayTimeBigInteger, DatatypeConstants.DURATION_DAYTIME, normalizedIsPositive, normalizedYears.intValue(),
+                normalizedMonths.intValue(), normalizedDays.intValue(), normalizedHours.intValue(), normalizedMinutes.intValue(), normalizedSeconds.intValue(),
+                normalizedDurationInMilliSeconds, normalizedLexicalRepresentation);
+
+        /*
+         * Duration durationDayTimeInt = datatypeFactory.newDurationDayTime(
+         * isPositive, days.intValue(), hours.intValue(), minutes.intValue(),
+         * seconds.intValue()); Duration durationDayTimeMilliseconds =
+         * datatypeFactory.newDurationDayTime( durationInMilliSeconds); Duration
+         * durationDayTimeLexical = datatypeFactory.newDurationDayTime(
+         * lexicalRepresentation);
+         * Duration durationYearMonthBigInteger =
+         * datatypeFactory.newDurationYearMonth( isPositive, years, months);
+         * Duration durationYearMonthInt = datatypeFactory.newDurationYearMonth(
+         * isPositive, years.intValue(), months.intValue()); Duration
+         * durationYearMonthMilliseconds = datatypeFactory.newDurationYearMonth(
+         * durationInMilliSeconds); Duration durationYearMonthLexical =
+         * datatypeFactory.newDurationYearMonth( lexicalRepresentation) ;
+         */
+
+    }
+
+    private void durationAssertEquals(Duration duration, QName xmlSchemaType, boolean isPositive, int years, int months, int days, int hours, int minutes,
+            int seconds, long milliseconds, String lexical) {
+
+        final TimeZone GMT = TimeZone.getTimeZone("GMT");
+        final GregorianCalendar EPOCH = new GregorianCalendar(GMT);
+        EPOCH.clear();
+
+        if (DEBUG) {
+            System.out.println("Testing Duration: " + duration.toString());
+        }
+
+        // sign
+        if (DEBUG) {
+            boolean actual = (duration.getSign() == 1) ? true : false;
+            System.out.println("sign:");
+            System.out.println("    expected: \"" + isPositive + "\"");
+            System.out.println("    actual:   \"" + actual + "\"");
+        }
+
+        if (DEBUG) {
+            System.out.println("years:");
+            System.out.println("    expected: \"" + years + "\"");
+            System.out.println("    actual:   \"" + duration.getYears() + "\"");
+        }
+
+        if (DEBUG) {
+            System.out.println("months:");
+            System.out.println("    expected: \"" + months + "\"");
+            System.out.println("    actual:   \"" + duration.getMonths() + "\"");
+        }
+
+        if (DEBUG) {
+            System.out.println("days:");
+            System.out.println("    expected: \"" + days + "\"");
+            System.out.println("    actual:   \"" + duration.getDays() + "\"");
+        }
+
+        if (DEBUG) {
+            System.out.println("hours:");
+            System.out.println("    expected: \"" + hours + "\"");
+            System.out.println("    actual:   \"" + duration.getHours() + "\"");
+        }
+
+        if (DEBUG) {
+            System.out.println("minutes:");
+            System.out.println("    expected: \"" + minutes + "\"");
+            System.out.println("    actual:   \"" + duration.getMinutes() + "\"");
+        }
+
+        if (DEBUG) {
+            System.out.println("seconds:");
+            System.out.println("    expected: \"" + seconds + "\"");
+            System.out.println("    actual:   \"" + duration.getSeconds() + "\"");
+        }
+
+        if (DEBUG) {
+            System.out.println("milliseconds:");
+            System.out.println("    expected: \"" + milliseconds + "\"");
+            System.out.println("    actual:   \"" + duration.getTimeInMillis(EPOCH) + "\"");
+        }
+
+        if (DEBUG) {
+            System.out.println("lexical:");
+            System.out.println("    expected: \"" + lexical + "\"");
+            System.out.println("    actual:   \"" + duration.toString() + "\"");
+        }
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/datatype/FactoryFindTest.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,78 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package datatype;
+
+import java.net.URL;
+import java.net.URLClassLoader;
+
+import javax.xml.datatype.DatatypeFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test Classloader for DatatypeFactory.
+ */
+public class FactoryFindTest {
+
+    boolean myClassLoaderUsed = false;
+
+    public FactoryFindTest(String name) {
+    }
+
+    @Test
+    public void testFactoryFind() {
+        try {
+            // System.setProperty("jaxp.debug", "true");
+
+            DatatypeFactory factory = DatatypeFactory.newInstance();
+            Assert.assertTrue(factory.getClass().getClassLoader() == null);
+
+            Thread.currentThread().setContextClassLoader(null);
+            factory = DatatypeFactory.newInstance();
+            Assert.assertTrue(factory.getClass().getClassLoader() == null);
+
+            Thread.currentThread().setContextClassLoader(new MyClassLoader());
+            factory = DatatypeFactory.newInstance();
+            if (System.getSecurityManager() == null)
+                Assert.assertTrue(myClassLoaderUsed);
+            else
+                Assert.assertFalse(myClassLoaderUsed);
+        } catch (Exception ex) {
+        }
+
+    }
+
+    class MyClassLoader extends URLClassLoader {
+
+        public MyClassLoader() {
+            super(new URL[0]);
+        }
+
+        public Class loadClass(String name) throws ClassNotFoundException {
+            myClassLoaderUsed = true;
+            return super.loadClass(name);
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/datatype/XMLGregorianCalendarTest.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,224 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package datatype;
+
+import javax.xml.datatype.DatatypeConfigurationException;
+import javax.xml.datatype.DatatypeConstants;
+import javax.xml.datatype.DatatypeFactory;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+import org.testng.Assert;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLGregorianCalendar.
+ */
+public class XMLGregorianCalendarTest {
+
+    private static final boolean DEBUG = false;
+
+    private static final int TEST_VALUE_FAIL = 0;
+
+    private static final int TEST_VALUE_PASS = 1;
+
+    private XMLGregorianCalendar calendar;
+
+    @BeforeMethod
+    protected void setUp() {
+        try {
+            calendar = DatatypeFactory.newInstance().newXMLGregorianCalendar();
+        } catch (DatatypeConfigurationException dce) {
+            dce.printStackTrace();
+            Assert.fail("Failed to create instance of DatatypeFactory " + dce.getMessage());
+        }
+    }
+
+    @Test
+    public final void testSetTime() {
+
+        /**
+         * Hour, minute, second values to test and expected result.
+         */
+        final int[] TEST_VALUES = { 24, 0, 0, TEST_VALUE_PASS, 24, 1, 0, TEST_VALUE_FAIL, 24, 0, 1, TEST_VALUE_FAIL, 24, DatatypeConstants.FIELD_UNDEFINED, 0,
+                TEST_VALUE_FAIL, 24, 0, DatatypeConstants.FIELD_UNDEFINED, TEST_VALUE_FAIL };
+
+        // create DatatypeFactory
+        DatatypeFactory datatypeFactory = null;
+        try {
+            datatypeFactory = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException datatypeConfigurationException) {
+            Assert.fail(datatypeConfigurationException.toString());
+        }
+
+        if (DEBUG) {
+            System.err.println("DatatypeFactory created: " + datatypeFactory.toString());
+        }
+
+        // create XMLGregorianCalendar
+        XMLGregorianCalendar xmlGregorianCalendar = datatypeFactory.newXMLGregorianCalendar();
+
+        // test each value
+        for (int onTestValue = 0; onTestValue < TEST_VALUES.length; onTestValue = onTestValue + 4) {
+
+            if (DEBUG) {
+                System.err.println("testing values: (" + TEST_VALUES[onTestValue] + ", " + TEST_VALUES[onTestValue + 1] + ", " + TEST_VALUES[onTestValue + 2]
+                        + ") expected (0=fail, 1=pass): " + TEST_VALUES[onTestValue + 3]);
+            }
+
+            try {
+                // set time
+                xmlGregorianCalendar.setTime(TEST_VALUES[onTestValue], TEST_VALUES[onTestValue + 1], TEST_VALUES[onTestValue + 2]);
+
+                if (DEBUG) {
+                    System.err.println("XMLGregorianCalendar created: \"" + xmlGregorianCalendar.toString() + "\"");
+                }
+
+                // was this expected to fail?
+                if (TEST_VALUES[onTestValue + 3] == TEST_VALUE_FAIL) {
+                    Assert.fail("the values: (" + TEST_VALUES[onTestValue] + ", " + TEST_VALUES[onTestValue + 1] + ", " + TEST_VALUES[onTestValue + 2]
+                            + ") are invalid, " + "yet it created the XMLGregorianCalendar \"" + xmlGregorianCalendar.toString() + "\"");
+                }
+            } catch (Exception exception) {
+
+                if (DEBUG) {
+                    System.err.println("Exception in creating XMLGregorianCalendar: \"" + exception.toString() + "\"");
+                }
+
+                // was this expected to succed?
+                if (TEST_VALUES[onTestValue + 3] == TEST_VALUE_PASS) {
+                    Assert.fail("the values: (" + TEST_VALUES[onTestValue] + ", " + TEST_VALUES[onTestValue + 1] + ", " + TEST_VALUES[onTestValue + 2]
+                            + ") are valid yet it failed with \"" + exception.toString() + "\"");
+                }
+                // expected failure
+            }
+        }
+    }
+
+    @Test
+    public final void testSetHour() {
+
+        /**
+         * Hour values to test and expected result.
+         */
+        final int[] TEST_VALUES = {
+                // setTime(H, M, S), hour override, expected result
+                0, 0, 0, 0, TEST_VALUE_PASS, 0, 0, 0, 23, TEST_VALUE_PASS, 0, 0, 0, 24, TEST_VALUE_PASS,
+                // creates invalid state
+                0, 0, 0, DatatypeConstants.FIELD_UNDEFINED, TEST_VALUE_FAIL,
+                // violates Schema Errata
+                0, 0, 1, 24, TEST_VALUE_FAIL };
+
+        // create DatatypeFactory
+        DatatypeFactory datatypeFactory = null;
+        try {
+            datatypeFactory = DatatypeFactory.newInstance();
+        } catch (DatatypeConfigurationException datatypeConfigurationException) {
+            Assert.fail(datatypeConfigurationException.toString());
+        }
+
+        if (DEBUG) {
+            System.err.println("DatatypeFactory created: " + datatypeFactory.toString());
+        }
+
+        // create XMLGregorianCalendar
+        XMLGregorianCalendar xmlGregorianCalendar = datatypeFactory.newXMLGregorianCalendar();
+
+        // test each value
+        for (int onTestValue = 0; onTestValue < TEST_VALUES.length; onTestValue = onTestValue + 5) {
+
+            if (DEBUG) {
+                System.err.println("testing values: (" + TEST_VALUES[onTestValue] + ", " + TEST_VALUES[onTestValue + 1] + ", " + TEST_VALUES[onTestValue + 2]
+                        + ", " + TEST_VALUES[onTestValue + 3] + ") expected (0=fail, 1=pass): " + TEST_VALUES[onTestValue + 4]);
+            }
+
+            try {
+                // set time to known valid value
+                xmlGregorianCalendar.setTime(TEST_VALUES[onTestValue], TEST_VALUES[onTestValue + 1], TEST_VALUES[onTestValue + 2]);
+                // now explicitly set hour
+                xmlGregorianCalendar.setHour(TEST_VALUES[onTestValue + 3]);
+
+                if (DEBUG) {
+                    System.err.println("XMLGregorianCalendar created: \"" + xmlGregorianCalendar.toString() + "\"");
+                }
+
+                // was this expected to fail?
+                if (TEST_VALUES[onTestValue + 4] == TEST_VALUE_FAIL) {
+                    Assert.fail("the values: (" + TEST_VALUES[onTestValue] + ", " + TEST_VALUES[onTestValue + 1] + ", " + TEST_VALUES[onTestValue + 2] + ", "
+                            + TEST_VALUES[onTestValue + 3] + ") are invalid, " + "yet it created the XMLGregorianCalendar \"" + xmlGregorianCalendar.toString()
+                            + "\"");
+                }
+            } catch (Exception exception) {
+
+                if (DEBUG) {
+                    System.err.println("Exception in creating XMLGregorianCalendar: \"" + exception.toString() + "\"");
+                }
+
+                // was this expected to succed?
+                if (TEST_VALUES[onTestValue + 4] == TEST_VALUE_PASS) {
+                    Assert.fail("the values: (" + TEST_VALUES[onTestValue] + ", " + TEST_VALUES[onTestValue + 1] + ", " + TEST_VALUES[onTestValue + 2] + ", "
+                            + TEST_VALUES[onTestValue + 3] + ") are valid yet it failed with \"" + exception.toString() + "\"");
+                }
+                // expected failure
+            }
+        }
+    }
+
+    @Test
+    public void testEqualsWithDifferentObjectParam() {
+
+        Assert.assertFalse(calendar.equals(new Integer(0)), "equals method should return false for any object other" + " than XMLGregorianCalendar");
+    }
+
+    @Test
+    public void testEqualsWithNullObjectParam() {
+
+        Assert.assertFalse(calendar.equals(null), "equals method should return false for null parameter");
+    }
+
+    @Test
+    public void testEqualsWithEqualObjectParam() {
+
+        try {
+            Assert.assertTrue(calendar.equals(DatatypeFactory.newInstance().newXMLGregorianCalendar()), "equals method is expected to return true");
+        } catch (DatatypeConfigurationException dce) {
+            dce.printStackTrace();
+            Assert.fail("Failed to create instance of DatatypeFactory " + dce.getMessage());
+        }
+    }
+
+    @Test
+    public void testToString() {
+        try {
+            String inputDateTime = "2006-10-23T22:15:01.000000135+08:00";
+            DatatypeFactory factory = DatatypeFactory.newInstance();
+            XMLGregorianCalendar calendar = factory.newXMLGregorianCalendar(inputDateTime);
+            String toStr = calendar.toString();
+            Assert.assertTrue(toStr.indexOf("E") == -1, "String value cannot contain exponent");
+        } catch (DatatypeConfigurationException dce) {
+            dce.printStackTrace();
+            Assert.fail("Failed to create instance of DatatypeFactory " + dce.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/dom/Bug4915524.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,77 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package dom;
+
+import java.io.StringReader;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.Node;
+import org.xml.sax.InputSource;
+
+/*
+ * @bug 4915524
+ * @summary Test Document.adoptNode() shall not throw Exception when the source document object is created from different implementation.
+ */
+
+public class Bug4915524 {
+
+    String data = "<?xml version=\"1.0\" ?>" + "<!DOCTYPE root [" + "<!ELEMENT root ANY>" + "<!ATTLIST root attr1 ID #FIXED 'xxx'"
+            + "               attr2 CDATA #IMPLIED> " + "]>" + "<root attr2='yyy'/>";
+
+    DocumentBuilder docBuilder = null;
+
+    /*
+     * This method tries to adopt a node from Defered document to non-defered
+     * document.
+     */
+    @Test
+    public void testAdoptNode() {
+        try {
+            DocumentBuilderFactory docBF = DocumentBuilderFactory.newInstance();
+            docBuilder = docBF.newDocumentBuilder();
+
+            Document doc1 = parse(data);
+            Document doc2 = docBuilder.newDocument();
+
+            Node element = doc2.adoptNode(doc1.getDocumentElement());
+
+            System.out.println("OK.");
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Excpetion while adopting node: " + e.getMessage());
+        }
+
+    }
+
+    private Document parse(String xmlData) throws Exception {
+        StringReader in = new StringReader(xmlData);
+        InputSource source = new InputSource(in);
+        return docBuilder.parse(source);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/dom/Bug4915748.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,70 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package dom;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.CDATASection;
+import org.w3c.dom.DOMConfiguration;
+import org.w3c.dom.DOMError;
+import org.w3c.dom.DOMErrorHandler;
+import org.w3c.dom.Document;
+
+/*
+ * @bug 4915748
+ * @summary Test DOMErrorHandler is called in case CDATA section is split by termination marker ']]>'.
+ */
+public class Bug4915748 {
+
+    @Test
+    public void testMain() throws Exception {
+
+        final boolean[] hadError = new boolean[1];
+
+        DocumentBuilderFactory docBF = DocumentBuilderFactory.newInstance();
+        DocumentBuilder docBuilder = docBF.newDocumentBuilder();
+
+        Document doc = docBuilder.getDOMImplementation().createDocument("namespaceURI", "ns:root", null);
+
+        CDATASection cdata = doc.createCDATASection("text1]]>text2");
+        doc.getDocumentElement().appendChild(cdata);
+
+        DOMConfiguration config = doc.getDomConfig();
+        DOMErrorHandler erroHandler = new DOMErrorHandler() {
+            public boolean handleError(DOMError error) {
+                System.out.println(error.getMessage());
+                Assert.assertEquals(error.getType(), "cdata-sections-splitted");
+                Assert.assertFalse(hadError[0], "two errors were reported");
+                hadError[0] = true;
+                return false;
+            }
+        };
+        config.setParameter("error-handler", erroHandler);
+        doc.normalizeDocument();
+        Assert.assertTrue(hadError[0]);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/dom/Bug4966082.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,49 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package dom;
+
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+
+/*
+ * @bug 4966082
+ * @summary Test Element.getSchemaTypeInfo() returns an instance of TypeInfo instead of null when the document's schema is an XML DTD.
+ */
+public class Bug4966082 {
+
+    @Test
+    public void testOne() {
+        try {
+            Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(Bug4966082.class.getResource("Bug4966082.xml").toExternalForm());
+            if (document.getDocumentElement().getSchemaTypeInfo() == null) {
+                Assert.fail("getSchemaTypeInfo returns null");
+            }
+        } catch (Exception ex) {
+            Assert.fail("Unexpected  error" + ex);
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/dom/Bug4966082.xml	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,5 @@
+<?xml version='1.0'?>
+<!DOCTYPE root [
+	<!ELEMENT root (#PCDATA)>
+]>
+<root>xxx</root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/dom/Bug4966138.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,65 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package dom;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.TypeInfo;
+
+/*
+ * @bug 4966138
+ * @summary Test Element's TypeInfo.getTypeName() returns a name instead of null in case the element is declared using anonymous simple type.
+ */
+public class Bug4966138 {
+
+    static final String SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
+    static final String SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
+
+    @Test
+    public void test1() throws Exception {
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        dbf.setValidating(true);
+        dbf.setAttribute(SCHEMA_LANGUAGE, XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        dbf.setAttribute(SCHEMA_SOURCE, Bug4966138.class.getResource("test.xsd").toExternalForm());
+
+        Document document = dbf.newDocumentBuilder().parse(Bug4966138.class.getResource("test.xml").toExternalForm());
+
+        TypeInfo type = document.getDocumentElement().getSchemaTypeInfo();
+
+        String typeName = type.getTypeName();
+        System.out.println(typeName);
+        Assert.assertNotNull(typeName);
+        Assert.assertTrue(typeName.length() != 0, "returned typeName shouldn't be empty");
+
+        String typeNs = type.getTypeNamespace();
+        System.out.println(typeNs);
+        Assert.assertNotNull(typeNs);
+        Assert.assertTrue(typeNs.length() != 0, "returned typeNamespace shouldn't be empty");
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/dom/Bug4966142.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,57 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package dom;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.TypeInfo;
+
+/*
+ * @bug 4966142
+ * @summary Test TypeInfo.isDerivedFrom(...) works instead of throws UnsupportedOperationException when the TypeInfo instance refers to a simple type.
+ */
+public class Bug4966142 {
+
+    static final String SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
+    static final String SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
+
+    @Test
+    public void test1() throws Exception {
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        dbf.setValidating(true);
+        dbf.setAttribute(SCHEMA_LANGUAGE, XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        dbf.setAttribute(SCHEMA_SOURCE, Bug4966142.class.getResource("Bug4966142.xsd").toExternalForm());
+
+        Document document = dbf.newDocumentBuilder().parse(Bug4966142.class.getResource("Bug4966142.xml").toExternalForm());
+
+        TypeInfo type = document.getDocumentElement().getSchemaTypeInfo();
+
+        Assert.assertFalse(type.isDerivedFrom("testNS", "Test", TypeInfo.DERIVATION_UNION));
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/dom/Bug4966142.xml	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version='1.0'?>
+<test5 xmlns="testNS">the test</test5>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/dom/Bug4966142.xsd	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+            xmlns:testNS="testNS"
+            targetNamespace="testNS" elementFormDefault="qualified">
+    
+    <xsd:element name="test5">
+        <xsd:simpleType>
+            <xsd:restriction base="xsd:string"/>
+        </xsd:simpleType>
+    </xsd:element>
+
+    <xsd:complexType name="Test">
+        <xsd:sequence>
+            <xsd:element name="description" minOccurs="0"/>
+            <xsd:element name="code"/>
+        </xsd:sequence>
+    </xsd:complexType>
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/dom/Bug4966143.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,62 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package dom;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.TypeInfo;
+
+/*
+ * @bug 4966143
+ * @summary Test isDerivedFrom(...) returns true only if the parameter is DERIVATION_EXTENSION,
+ * in case TypeInfo instance refers to a complex type derived from another complex type by extension.
+ */
+public class Bug4966143 {
+
+    static final String SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
+    static final String SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
+
+    @Test
+    public void test1() throws Exception {
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        dbf.setValidating(true);
+        dbf.setAttribute(SCHEMA_LANGUAGE, XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        dbf.setAttribute(SCHEMA_SOURCE, Bug4966143.class.getResource("Bug4966143.xsd").toExternalForm());
+
+        Document document = dbf.newDocumentBuilder().parse(Bug4966143.class.getResource("Bug4966143.xml").toExternalForm());
+
+        TypeInfo type = document.getDocumentElement().getSchemaTypeInfo();
+
+        Assert.assertFalse(type.isDerivedFrom("testNS", "Test", TypeInfo.DERIVATION_UNION));
+        Assert.assertFalse(type.isDerivedFrom("testNS", "Test", TypeInfo.DERIVATION_LIST));
+        Assert.assertFalse(type.isDerivedFrom("testNS", "Test", TypeInfo.DERIVATION_RESTRICTION));
+        Assert.assertTrue(type.isDerivedFrom("testNS", "Test", TypeInfo.DERIVATION_EXTENSION));
+        Assert.assertTrue(type.isDerivedFrom("testNS", "Test", 0));
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/dom/Bug4966143.xml	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version='1.0'?>
+<test6 xmlns="testNS" attr="x"><code/></test6>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/dom/Bug4966143.xsd	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+            xmlns:testNS="testNS"
+            targetNamespace="testNS" elementFormDefault="qualified">
+    
+    <xsd:element name="test6">
+        <xsd:complexType>
+            <xsd:complexContent>
+                <xsd:extension base="testNS:Test">
+                    <xsd:attribute name="attr" />
+                </xsd:extension>
+            </xsd:complexContent>
+        </xsd:complexType>
+    </xsd:element>
+
+    <xsd:complexType name="Test">
+        <xsd:sequence>
+            <xsd:element name="description" minOccurs="0"/>
+            <xsd:element name="code"/>
+        </xsd:sequence>
+    </xsd:complexType>
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/dom/Bug6339023.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,135 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package dom;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.DOMConfiguration;
+import org.w3c.dom.DOMImplementation;
+import org.w3c.dom.DOMStringList;
+import org.w3c.dom.ls.DOMImplementationLS;
+import org.w3c.dom.ls.LSParser;
+import org.w3c.dom.ls.LSSerializer;
+
+/*
+ * @bug 6339023
+ * @summary Test normalize-characters.
+ */
+public class Bug6339023 {
+
+    /*
+     * This test checks DOMConfiguration for DOM Level3 Load and Save
+     * implementation.
+     */
+    @Test
+    public void testLSSerializer() {
+        try {
+            DocumentBuilder parser = DocumentBuilderFactory.newInstance().newDocumentBuilder();
+            DOMImplementation impln = parser.getDOMImplementation();
+            DOMImplementationLS lsImpln = (DOMImplementationLS) impln.getFeature("LS", "3.0");
+            LSSerializer serializer = lsImpln.createLSSerializer();
+            DOMConfiguration domConfig = serializer.getDomConfig();
+            System.out.println("DOMConfig: " + domConfig.toString());
+            Assert.assertTrue(domConfig.getParameter("normalize-characters") == null);
+            System.out.println("value: " + domConfig.getParameter("normalize-characters"));
+
+            DOMStringList list = domConfig.getParameterNames();
+            for (int i = 0; i < list.getLength(); i++) {
+                System.out.println("Param Name: " + list.item(i));
+                Assert.assertFalse(list.item(i).equals("normalize-characters"));
+            }
+
+            Assert.assertFalse(domConfig.canSetParameter("normalize-characters", Boolean.FALSE));
+            Assert.assertFalse(domConfig.canSetParameter("normalize-characters", Boolean.TRUE));
+
+            try {
+                domConfig.setParameter("normalize-characters", Boolean.TRUE);
+                Assert.fail("Exception expected as 'normalize-characters' is not supported");
+            } catch (Exception e) {
+            }
+
+            try {
+                domConfig.setParameter("normalize-characters", Boolean.FALSE);
+                Assert.fail("Exception expected as 'normalize-characters' is not supported");
+            } catch (Exception e) {
+            }
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception: " + e.getMessage());
+        }
+    }
+
+    /*
+     * This test checks DOMConfiguration for DOM Level3 Core implementation.
+     */
+    @Test
+    public void testLSParser() {
+        try {
+            DocumentBuilder parser = DocumentBuilderFactory.newInstance().newDocumentBuilder();
+            DOMImplementation impln = parser.getDOMImplementation();
+            DOMImplementationLS lsImpln = (DOMImplementationLS) impln.getFeature("Core", "3.0");
+            LSParser lsparser = lsImpln.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, "http://www.w3.org/2001/XMLSchema");
+            DOMConfiguration domConfig = lsparser.getDomConfig();
+            System.out.println("DOMConfig: " + domConfig.toString());
+            Assert.assertTrue(domConfig.getParameter("normalize-characters").toString().equalsIgnoreCase("false"));
+            System.out.println("value: " + domConfig.getParameter("normalize-characters"));
+
+            DOMStringList list = domConfig.getParameterNames();
+            boolean flag = false;
+            for (int i = 0; i < list.getLength(); i++) {
+                System.out.println("Param Name: " + list.item(i));
+                if (list.item(i).equals("normalize-characters")) {
+                    flag = true;
+                    break;
+                }
+            }
+            Assert.assertTrue(flag, "'normalize-characters' doesnot exist in the list returned by domConfig.getParameterNames()");
+
+            Assert.assertTrue(domConfig.canSetParameter("normalize-characters", Boolean.FALSE));
+            Assert.assertFalse(domConfig.canSetParameter("normalize-characters", Boolean.TRUE));
+
+            try {
+                domConfig.setParameter("normalize-characters", Boolean.TRUE);
+                Assert.fail("Exception expected as 'normalize-characters' is not supported");
+            } catch (Exception e) {
+            }
+
+            try {
+                domConfig.setParameter("normalize-characters", Boolean.FALSE);
+            } catch (Exception e) {
+                e.printStackTrace();
+                Assert.fail("Exception expected as 'normalize-characters' is not supported");
+            }
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception: " + e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/javax/xml/jaxp/unittest/dom/Bug6355326.java	Mon Aug 10 09:52:32 2015 -0700
@@ -0,0 +1,114 @@
+/*
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package dom;
+
+import java.io.ByteArrayInputStream;
+import java.io.IOException;
+import java.io.StringBufferInputStream;
+import java.io.UnsupportedEncodingException;
+
+import javax.xml.parsers.DocumentBuilder;