Merge
authoramurillo
Mon, 17 Aug 2015 11:18:31 -0700
changeset 32225 d360340c4fbf
parent 32224 dae855d05f6c (current diff)
parent 32215 bf04280f393a (diff)
child 32226 786769ae25c0
Merge
jaxp/test/javax/xml/jaxp/unittest/javax/xml/common/Bug6350682.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/common/Bug6723276Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/common/Bug6941169.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/common/Bug6941169.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/common/Bug6941169Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/common/Bug7143711Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/datatype/Bug6320118.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/datatype/Bug6937951Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/datatype/Bug6937964Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/datatype/Bug7042647Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/datatype/DatatypeFactoryTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/datatype/DurationTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/datatype/FactoryFindTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/datatype/XMLGregorianCalendarTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4674384_MAX_OCCURS_Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4674384_MAX_OCCURS_Test.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4674384_MAX_OCCURS_Test.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4934208.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4967002.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4985486.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4985486.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991020.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991020.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991020.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991946.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991946.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991946.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug5010072.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug5010072.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug5025825.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6309988.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6341770.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6361283.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6506304Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6518733.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6518733.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6564400.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6564400.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6564400.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6573786.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6573786ErrorHandler.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6594813.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6608841.dtd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6608841.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6608841.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6608841_xhtml11-flat.dtd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6690015.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6760982.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6849942Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug7157608.dtd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug7157608.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug7157608Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug7157608_1.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug7166896Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug8073385.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/DosTest.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/DosTest3.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/FactoryFindTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/MyDefaultHandler.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/MyErrorHandler.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/ParseEmptyStream.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/bug6690015.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/bug6760982.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/catalog.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/catalog.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/entity.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/entity64K.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/test.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/test1.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/test2.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/toys.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/toys.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/toys3002.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/xinclude/Bug6794483Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/xinclude/test1.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/xinclude/test2.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/AttributeLocalNameTest/AttributeLocalNameTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6370703.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6378422.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6380870.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6489502.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6509774.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6688002Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6976938.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6976938Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/CoalesceTest/CoalesceTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/CoalesceTest/coalesce.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/EntitiesTest/EntityTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/EntitiesTest/testCharRef.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/EntitiesTest/testCharRef.xml.output
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/EventReaderDelegateTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Events/Issue41Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Events/Issue48Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Events/Issue53Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Events/Issue58Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/FactoryFindTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/FactoryFindTest.policy
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/IgnoreExternalDTDTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/ProcessingInstruction/ProcessingInstructionTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/StreamReaderDelegateTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventLocationTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6489890.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6555001.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6586466Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6613059Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6668115Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6846133Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Issue40Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/bug6613059.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/play.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/play2.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/sgml.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/ReaderToWriterTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/ReaderToWriterTest.wsdl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/ReaderToWriterTest.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/W2JDLR4002TestService.wsdl.data
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/XMLEventWriterTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/XMLEventWriterTest.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/merge-1.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/merge-2.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/replace1.txt
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLInputFactoryTest/Bug6756677Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLInputFactoryTest/Bug6909759Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLInputFactoryTest/IssueTracker38.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLInputFactoryTest/MyInputFactory.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLInputFactoryTest/play.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLOutputFactoryTest/Bug6846132Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLOutputFactoryTest/DuplicateNSDeclarationTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLOutputFactoryTest/StreamResultTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLResolverTest/XMLResolverTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLResolverTest/XMLResolverTest.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLResolverTest/replace1.txt
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLResolverTest/replace2.txt
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamExceptionTest/ExceptionTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamFilterTest/Bug6481615.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamFilterTest/Bug6481678.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamFilterTest/HasNextTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamFilterTest/HasNextTest.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamFilterTest/HasNextTypeFilter.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/BOMTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Bug6388460.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Bug6472982Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Bug6767322.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Bug6767322Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Bug6847819Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/BugTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/DefaultAttributeTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/DoubleXmlnsTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/ExternalDTD.dtd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/ExternalDTD.dtd.bak
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/ExternalDTD.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/ExternalDTD.xml.bak
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Hello.wsdl.data
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IsValidatingTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IsValidatingTest.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IsValidatingTestInternalSubset.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Issue44Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Issue47Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IssueTracker24.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IssueTracker35.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IssueTracker70.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IssueTracker70.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Jsr173MR1Req5.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Jsr173MR1Req5Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Jsr173MR1Req8.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Jsr173MR1Req8Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/NamespaceTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/StreamReaderTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/SupportDTDTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/UTF16-BE.wsdl.data
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/UTF8-BOM.xml.data
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/VoiceXMLDTDTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/XML11Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/XMLSchema.dtd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/XMLSchema.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/datatypes.dtd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/report.dtd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/sgml.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/voicexml.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/vxml.dtd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/xml11.xml.data
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/AttributeEscapeTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/Bug6452107.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/Bug6600882Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/Bug6675332Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/Bug7037352Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/DOMUtil.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/DomUtilTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/EmptyElementTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/EncodingTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/NamespaceTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/NullUriDetectionTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/SqeLinuxTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/UnprefixedNameTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/WriterTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/XMLStreamWriterTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/message_12.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testEight.xml.org
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testFive.xml.org
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testFour.xml.org
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testOne.xml.org
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testSeven.xml.org
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testSix.xml.org
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testThree.xml.org
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/basic-form.vxml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/report.dtd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/sgml-bad-systemId.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/sgml.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/sgml_Bug6509774.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/testfile1.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/testfile2.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/testfile3.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/testfile4.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/toys.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/vxml.dtd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/5368141.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341.dtd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341.out
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341_golden.dtd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341_golden.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4892774.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug5073477.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug5073477.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6175602.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6206491.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6206491.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6206491.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6206491_2.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6216226Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6311448.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6384805.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6465722.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6467808.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6490380.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6490921.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6505031.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6513892.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6537167.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6540545.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6559595.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6565260.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6940416.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/BugDB12665704.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/BugDB12665704.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/BugDB12665704Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6401137.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6401137.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6401137Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6551600.policy
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6551600Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6577667.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6577667Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6652519Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6689809Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6905829.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6905829.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6905829Inc.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6905829Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6935697.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6935697.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6935697Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6941869.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6941869.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6941869Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6957215.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6957215.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6957215Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR7098746.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR7098746.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR7098746Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/DOMResultTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/DocumentExtFunc.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/FactoryFindTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Issue2204.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Issue2204.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Issue2204Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Issue2290.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Issue2290Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/MsWordXMLImport.xsl.data
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/NCAA_Conference_Schedule_XML.dtd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/OpenJDK100017Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/PredicateInKeyTest.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/PredicateInKeyTest.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/SAX2DOMTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/SAX2DOMTest.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/SecureProcessingTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/SecureProcessingTest.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/SecureProcessingTest.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/SourceTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/SourceTest.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/SourceTest.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/StAXSourceTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/TransformerFactoryTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/TransformerTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/TransformerUtilFactory.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/VersionDefaultHandler.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/VersionEventWriter.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/ViewEditor1.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/XSLTFunctionsTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/attribset27.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/attribset27.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/catalog.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/catalog.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/catalog_10.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/config.dtd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/config.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/default-layout.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/global-variables.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/global.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/home.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/in.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/inner.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/logon.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/maps.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/msgAttach.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/numbering63.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/numbering63.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/outer.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/redirect.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/redirect.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/sax/Bug6451633.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/src.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/template.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/tigertest-in.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/tigertest.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/tmp.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/toys.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/transform.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/upload-media-form.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/upload-media.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/util.xsl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/util/DOMUtil.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/util/SAXUtil.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/util/StAXUtil.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/util/StreamUtil.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/util/TransformerUtil.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/6773084.policy
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/AnyElementTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4966232.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4966254.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4966254.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4966254.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969042.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969089.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969110.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969689.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969692.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969693.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969695.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969732.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4970380.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4970383.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4970400.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4970402.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4970951.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4971605.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4971607.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4972882.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4986844.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4986844.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4987574.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988267.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988267.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988268.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988268.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988387.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988387.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4996446.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4996446.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4997818.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug5011500.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug5072946.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug5072946.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug5072946.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6378043.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6449797.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6449797.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6457662.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6467424.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6467424.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6467424Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6483188.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6493687.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6493687.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6493687.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6509668.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6526547.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6526547.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6526547.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6531160.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6695843.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6695843.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6695843Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_1.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_10.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_11.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_12.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_13.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_14.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_15.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_16.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_17.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_18.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_19.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_2.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_20.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_21.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_22.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_23.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_24.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_25.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_3.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_4.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_5.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_6.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_7.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_8.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_9.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6859210.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6925531Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6946312.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6946312Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6954738.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6954738.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6954738_Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/CR6708840Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/CR6740048.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/CR6740048.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/CR6740048.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/CREMAS01.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/CREMAS01.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/ErrorHandlerImpl.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Issue682.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Issue682.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Issue682Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs-error.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs-ok.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs-optimize-error.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs-optimize-ok.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs-optimize.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/JaxpIssue43Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/JaxpIssue49.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/JaxpIssue49.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/LargeMaxOccursTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/MultiOccursTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/MultiOccursUnboundedTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/OccursTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/OccursUnboundedTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/OccursWildcardTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/OccursWildcardUnbounded.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/ParticlesId005Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/ParticlesIg004Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/ParticlesQ013Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/ProcessContents-lax-error.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/ProcessContents-ok.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/ProcessContents.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/TCKGroupA008Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/ValidatorTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/XMLDocBuilder.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/XMLSchemaValidator.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/gMonths-invalid.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/gMonths.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/gMonths.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/groupA008.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/groupA008ea.red
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/groupA008eb.red
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/hello_literal.wsdl
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/idI009.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/idIimp.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/idIxpns.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/idIxpns1.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/mgG014.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/mgJ014.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-error-max.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-error-min-max.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-error-min.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-ok.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-unbounded-error-min.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-unbounded-ok.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-unbounded.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-error-max.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-error-min-max.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-error-min.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-ok.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-unbounded-error-min.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-unbounded-ok.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-unbounded.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-wildcard-unbounded.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-wildcard.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/particlesId005.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/particlesId005.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/particlesIe003.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/particlesIg004.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/particlesOptimize.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/particlesQ013.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/particlesQ013.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/particlesR005.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/targetNS00101m2.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/targetNS00101m2_stub.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/targetNS00101m2_stub.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/targetNS00101m2a.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/byte_fractionDigits004.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/byte_fractionDigits007.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/int_fractionDigits004.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/int_fractionDigits007.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/integer_fractionDigits004.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/integer_fractionDigits007.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/long_fractionDigits004.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/long_fractionDigits007.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/negativeInteger_fractionDigits004.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/negativeInteger_fractionDigits007.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/nonNegativeInteger_fractionDigits004.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/nonNegativeInteger_fractionDigits007.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/nonPositiveInteger_fractionDigits004.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/nonPositiveInteger_fractionDigits007.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/positiveInteger_fractionDigits004.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/positiveInteger_fractionDigits007.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/short_fractionDigits004.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/short_fractionDigits007.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedByte_fractionDigits004.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedByte_fractionDigits007.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedInt_fractionDigits004.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedInt_fractionDigits007.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedLong_fractionDigits004.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedLong_fractionDigits007.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedShort_fractionDigits004.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedShort_fractionDigits007.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6963124.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6963124Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6963468.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6963468.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6963468Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6964720.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6964720Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214/RegexTest_1258.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214/reD10.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214/reD11.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214/reD12.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214/reE9.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6970890.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6970890Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6970890_1.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6971190.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6971190.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6971190Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6971190_v.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6971190_v.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6974551.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6974551.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6974551Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265/notatF025.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265/notatF037.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265/notatF041.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265/notatF045.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265/notatF049.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA2.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA2.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA3.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA3.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA4.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA4.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA5.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA5.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA6.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA6.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6989956.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6989956.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6989956Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug7014246.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug7014246Test.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/test-element.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/test-sequence.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/test.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/toys.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/toys.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/types.xsd
jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/Bug4991857.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/Bug4991939.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/Bug4992788.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/Bug4992793.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/Bug4992805.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/ClassLoaderTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/MyClassLoader.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/SecureProcessingTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/SecureProcessingTest.xml
jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/XPathAnyTypeTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/XPathExpAnyTypeTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/XPathTest.java
jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/XPathTestBase.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4915524.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4915748.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966082.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966082.xml
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966138.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966142.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966142.xml
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966142.xsd
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966143.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966143.xml
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966143.xsd
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6339023.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6355326.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6367542.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6520131.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6521260.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6582545.xml
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6582545Test.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6879614.xml
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6879614Test.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/CR6333993Test.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/CR6517707Test.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/CR6517717Test.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/CR6909336Test.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/DOMConfigurationTest.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/DOMConfigurationTest.xsd
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/DOMXPathTest.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/JdkXmlDomTest.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/TCKEncodingTest.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/Bug4973153.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/Bug6290947.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/Bug6354955.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/Bug6376823.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/Bug6710741Test.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/LSParserTCKTest.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/LSParserTest.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/LSSerializerTest.java
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/note_in_dtd.xml
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/test.xml
jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/test.xsd
jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/Attributes2ImplTest.java
jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/Bug6889654Test.java
jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/Bug6925410Test.java
jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/Bug6949607Test.java
jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/Bug6992561Test.java
jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/Bug7057778.xml
jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/Bug7057778Test.java
jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/DefaultHandler2Test.java
jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/IssueTracker56Test.java
jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/MyDefaultHandler2.java
jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/NSSupportTest.java
jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/SAXExceptionExt.java
jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/externalDTD.dtd
jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/toys.xml
jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/toys_error.xml
langtools/test/tools/javac/lambda/T8024809/SelfInitializerInLambdaTesta.java
langtools/test/tools/javac/lambda/T8024809/SelfInitializerInLambdaTesta.out
langtools/test/tools/javac/lambda/T8024809/SelfInitializerInLambdaTestb.java
langtools/test/tools/javac/lambda/T8024809/SelfInitializerInLambdaTestb.out
--- a/.hgtags	Thu Aug 13 15:50:52 2015 -0700
+++ b/.hgtags	Mon Aug 17 11:18:31 2015 -0700
@@ -319,3 +319,4 @@
 7c577fda1855d03c04546694d514678f596508c9 jdk9-b74
 f55df5cfe11c97e4b58998b76f5bd00a73cde12d jdk9-b75
 eeea9adfd1e3d075ef82148c00a4847a1aab4d26 jdk9-b76
+c25e882cee9622ec75c4e9d60633539a2f0a8809 jdk9-b77
--- a/.hgtags-top-repo	Thu Aug 13 15:50:52 2015 -0700
+++ b/.hgtags-top-repo	Mon Aug 17 11:18:31 2015 -0700
@@ -319,3 +319,4 @@
 57f3134853ecdd4a3ee2d4d26f22ba981d653d79 jdk9-b74
 8fd6eeb878606e39c908f12535f34ebbfd225a4a jdk9-b75
 d82072b699b880a1f647a5e2d7c0f86cec958941 jdk9-b76
+7972dc8f2a47f0c4cd8f02fa5662af41f028aa14 jdk9-b77
--- a/corba/.hgtags	Thu Aug 13 15:50:52 2015 -0700
+++ b/corba/.hgtags	Mon Aug 17 11:18:31 2015 -0700
@@ -319,3 +319,4 @@
 622fe934e351e89107edf3c667d6b57f543f58f1 jdk9-b74
 960b56805abd8460598897481820bd6a75f979e7 jdk9-b75
 d8126bc88fa5cd1ae4e44d86a4b1280ca1c9e2aa jdk9-b76
+8bb2441c0fec8b28f7bf11a0ca3ec1642e7ef457 jdk9-b77
--- a/hotspot/.hgtags	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/.hgtags	Mon Aug 17 11:18:31 2015 -0700
@@ -479,3 +479,4 @@
 fff6b54e9770ac4c12c2fb4cab5aa7672affa4bd jdk9-b74
 2f354281e9915275693c4e519a959b8a6f22d3a3 jdk9-b75
 0bc8d1656d6f2b1fdfe803c1305a108bb9939f35 jdk9-b76
+e66c3813789debfc06f206afde1bf7a84cb08451 jdk9-b77
--- a/hotspot/src/cpu/aarch64/vm/aarch64.ad	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/aarch64/vm/aarch64.ad	Mon Aug 17 11:18:31 2015 -0700
@@ -2389,9 +2389,11 @@
   // Note that the code buffer's insts_mark is always relative to insts.
   // That's why we must use the macroassembler to generate a handler.
   MacroAssembler _masm(&cbuf);
-  address base =
-  __ start_a_stub(size_exception_handler());
-  if (base == NULL)  return 0;  // CodeBuffer::expand failed
+  address base = __ start_a_stub(size_exception_handler());
+  if (base == NULL) {
+    ciEnv::current()->record_failure("CodeCache is full");
+    return 0;  // CodeBuffer::expand failed
+  }
   int offset = __ offset();
   __ far_jump(RuntimeAddress(OptoRuntime::exception_blob()->entry_point()));
   assert(__ offset() - offset <= (int) size_exception_handler(), "overflow");
@@ -2405,9 +2407,11 @@
   // Note that the code buffer's insts_mark is always relative to insts.
   // That's why we must use the macroassembler to generate a handler.
   MacroAssembler _masm(&cbuf);
-  address base =
-  __ start_a_stub(size_deopt_handler());
-  if (base == NULL)  return 0;  // CodeBuffer::expand failed
+  address base = __ start_a_stub(size_deopt_handler());
+  if (base == NULL) {
+    ciEnv::current()->record_failure("CodeCache is full");
+    return 0;  // CodeBuffer::expand failed
+  }
   int offset = __ offset();
 
   __ adr(lr, __ pc());
@@ -3657,24 +3661,37 @@
     MacroAssembler _masm(&cbuf);
 
     address addr = (address)$meth$$method;
+    address call;
     if (!_method) {
       // A call to a runtime wrapper, e.g. new, new_typeArray_Java, uncommon_trap.
-      __ trampoline_call(Address(addr, relocInfo::runtime_call_type), &cbuf);
+      call = __ trampoline_call(Address(addr, relocInfo::runtime_call_type), &cbuf);
     } else if (_optimized_virtual) {
-      __ trampoline_call(Address(addr, relocInfo::opt_virtual_call_type), &cbuf);
+      call = __ trampoline_call(Address(addr, relocInfo::opt_virtual_call_type), &cbuf);
     } else {
-      __ trampoline_call(Address(addr, relocInfo::static_call_type), &cbuf);
+      call = __ trampoline_call(Address(addr, relocInfo::static_call_type), &cbuf);
+    }
+    if (call == NULL) {
+      ciEnv::current()->record_failure("CodeCache is full"); 
+      return;
     }
 
     if (_method) {
       // Emit stub for static call
-      CompiledStaticCall::emit_to_interp_stub(cbuf);
+      address stub = CompiledStaticCall::emit_to_interp_stub(cbuf);
+      if (stub == NULL) {
+        ciEnv::current()->record_failure("CodeCache is full"); 
+        return;
+      }
     }
   %}
 
   enc_class aarch64_enc_java_dynamic_call(method meth) %{
     MacroAssembler _masm(&cbuf);
-    __ ic_call((address)$meth$$method);
+    address call = __ ic_call((address)$meth$$method);
+    if (call == NULL) {
+      ciEnv::current()->record_failure("CodeCache is full"); 
+      return;
+    }
   %}
 
   enc_class aarch64_enc_call_epilog() %{
@@ -3695,7 +3712,11 @@
     address entry = (address)$meth$$method;
     CodeBlob *cb = CodeCache::find_blob(entry);
     if (cb) {
-      __ trampoline_call(Address(entry, relocInfo::runtime_call_type));
+      address call = __ trampoline_call(Address(entry, relocInfo::runtime_call_type));
+      if (call == NULL) {
+        ciEnv::current()->record_failure("CodeCache is full"); 
+        return;
+      }
     } else {
       int gpcnt;
       int fpcnt;
--- a/hotspot/src/cpu/aarch64/vm/c1_CodeStubs_aarch64.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/aarch64/vm/c1_CodeStubs_aarch64.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -327,9 +327,16 @@
   ce->align_call(lir_static_call);
 
   ce->emit_static_call_stub();
+  if (ce->compilation()->bailed_out()) {
+    return; // CodeCache is full
+  }
   Address resolve(SharedRuntime::get_resolve_static_call_stub(),
                   relocInfo::static_call_type);
-  __ trampoline_call(resolve);
+  address call = __ trampoline_call(resolve);
+  if (call == NULL) {
+    ce->bailout("trampoline stub overflow");
+    return;
+  }
   ce->add_call_info_here(info());
 
 #ifndef PRODUCT
--- a/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1996,13 +1996,21 @@
 
 
 void LIR_Assembler::call(LIR_OpJavaCall* op, relocInfo::relocType rtype) {
-  __ trampoline_call(Address(op->addr(), rtype));
+  address call = __ trampoline_call(Address(op->addr(), rtype));
+  if (call == NULL) {
+    bailout("trampoline stub overflow");
+    return;
+  }
   add_call_info(code_offset(), op->info());
 }
 
 
 void LIR_Assembler::ic_call(LIR_OpJavaCall* op) {
-  __ ic_call(op->addr());
+  address call = __ ic_call(op->addr());
+  if (call == NULL) {
+    bailout("trampoline stub overflow");
+    return;
+  }
   add_call_info(code_offset(), op->info());
 }
 
--- a/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -26,6 +26,9 @@
 #ifndef CPU_X86_VM_C1_LIRASSEMBLER_X86_HPP
 #define CPU_X86_VM_C1_LIRASSEMBLER_X86_HPP
 
+// ArrayCopyStub needs access to bailout
+friend class ArrayCopyStub;
+
  private:
 
   int array_element_size(BasicType type) const;
--- a/hotspot/src/cpu/aarch64/vm/compiledIC_aarch64.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/aarch64/vm/compiledIC_aarch64.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -51,7 +51,7 @@
 // ----------------------------------------------------------------------------
 
 #define __ _masm.
-void CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf) {
+address CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf) {
   // Stub is fixed up when the corresponding call is converted from
   // calling compiled code to calling interpreted code.
   // mov rmethod, 0
@@ -63,10 +63,11 @@
   // That's why we must use the macroassembler to generate a stub.
   MacroAssembler _masm(&cbuf);
 
-  address base = __ start_a_stub(to_interp_stub_size()*2);
-
+  address base = __ start_a_stub(to_interp_stub_size());
   int offset = __ offset();
-  if (base == NULL)  return;  // CodeBuffer::expand failed
+  if (base == NULL) {
+    return NULL;  // CodeBuffer::expand failed
+  }
   // static stub relocation stores the instruction address of the call
   __ relocate(static_stub_Relocation::spec(mark));
   // static stub relocation also tags the Method* in the code-stream.
@@ -76,6 +77,7 @@
 
   assert((__ offset() - offset) <= (int)to_interp_stub_size(), "stub too big");
   __ end_a_stub();
+  return base;
 }
 #undef __
 
--- a/hotspot/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -664,7 +664,7 @@
 // Maybe emit a call via a trampoline.  If the code cache is small
 // trampolines won't be emitted.
 
-void MacroAssembler::trampoline_call(Address entry, CodeBuffer *cbuf) {
+address MacroAssembler::trampoline_call(Address entry, CodeBuffer *cbuf) {
   assert(entry.rspec().type() == relocInfo::runtime_call_type
          || entry.rspec().type() == relocInfo::opt_virtual_call_type
          || entry.rspec().type() == relocInfo::static_call_type
@@ -672,7 +672,10 @@
 
   unsigned int start_offset = offset();
   if (far_branches() && !Compile::current()->in_scratch_emit_size()) {
-    emit_trampoline_stub(offset(), entry.target());
+    address stub = emit_trampoline_stub(start_offset, entry.target());
+    if (stub == NULL) {
+      return NULL; // CodeCache is full
+    }
   }
 
   if (cbuf) cbuf->set_insts_mark();
@@ -682,6 +685,8 @@
   } else {
     bl(pc());
   }
+  // just need to return a non-null address
+  return pc();
 }
 
 
@@ -696,13 +701,11 @@
 //   load the call target from the constant pool
 //   branch (LR still points to the call site above)
 
-void MacroAssembler::emit_trampoline_stub(int insts_call_instruction_offset,
+address MacroAssembler::emit_trampoline_stub(int insts_call_instruction_offset,
                                              address dest) {
   address stub = start_a_stub(Compile::MAX_stubs_size/2);
   if (stub == NULL) {
-    start_a_stub(Compile::MAX_stubs_size/2);
-    Compile::current()->env()->record_out_of_memory_failure();
-    return;
+    return NULL;  // CodeBuffer::expand failed
   }
 
   // Create a trampoline stub relocation which relates this trampoline stub
@@ -729,15 +732,16 @@
   assert(is_NativeCallTrampolineStub_at(stub_start_addr), "doesn't look like a trampoline");
 
   end_a_stub();
+  return stub;
 }
 
-void MacroAssembler::ic_call(address entry) {
+address MacroAssembler::ic_call(address entry) {
   RelocationHolder rh = virtual_call_Relocation::spec(pc());
   // address const_ptr = long_constant((jlong)Universe::non_oop_word());
   // unsigned long offset;
   // ldr_constant(rscratch2, const_ptr);
   movptr(rscratch2, (uintptr_t)Universe::non_oop_word());
-  trampoline_call(Address(entry, rh));
+  return trampoline_call(Address(entry, rh));
 }
 
 // Implementation of call_VM versions
--- a/hotspot/src/cpu/aarch64/vm/macroAssembler_aarch64.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/aarch64/vm/macroAssembler_aarch64.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -539,7 +539,7 @@
 
   static int patch_oop(address insn_addr, address o);
 
-  void emit_trampoline_stub(int insts_call_instruction_offset, address target);
+  address emit_trampoline_stub(int insts_call_instruction_offset, address target);
 
   // The following 4 methods return the offset of the appropriate move instruction
 
@@ -942,7 +942,7 @@
 
   // Calls
 
-  void trampoline_call(Address entry, CodeBuffer *cbuf = NULL);
+  address trampoline_call(Address entry, CodeBuffer *cbuf = NULL);
 
   static bool far_branches() {
     return ReservedCodeCacheSize > branch_range;
@@ -962,7 +962,7 @@
   }
 
   // Emit the CompiledIC call idiom
-  void ic_call(address entry);
+  address ic_call(address entry);
 
 public:
 
--- a/hotspot/src/cpu/ppc/vm/compiledIC_ppc.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/ppc/vm/compiledIC_ppc.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -94,7 +94,7 @@
 
 const int IC_pos_in_java_to_interp_stub = 8;
 #define __ _masm.
-void CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf) {
+address CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf) {
 #ifdef COMPILER2
   // Get the mark within main instrs section which is set to the address of the call.
   address call_addr = cbuf.insts_mark();
@@ -106,8 +106,7 @@
   // Start the stub.
   address stub = __ start_a_stub(CompiledStaticCall::to_interp_stub_size());
   if (stub == NULL) {
-    Compile::current()->env()->record_out_of_memory_failure();
-    return;
+    return NULL; // CodeCache is full
   }
 
   // For java_to_interp stubs we use R11_scratch1 as scratch register
@@ -149,6 +148,7 @@
 
  // End the stub.
   __ end_a_stub();
+  return stub;
 #else
   ShouldNotReachHere();
 #endif
--- a/hotspot/src/cpu/ppc/vm/interp_masm_ppc_64.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/ppc/vm/interp_masm_ppc_64.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -2187,7 +2187,7 @@
 }
 
 void InterpreterMacroAssembler::increment_invocation_counter(Register Rcounters, Register iv_be_count, Register Rtmp_r0) {
-  assert(UseCompiler, "incrementing must be useful");
+  assert(UseCompiler || LogTouchedMethods, "incrementing must be useful");
   Register invocation_count = iv_be_count;
   Register backedge_count   = Rtmp_r0;
   int delta = InvocationCounter::count_increment;
--- a/hotspot/src/cpu/ppc/vm/ppc.ad	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/ppc/vm/ppc.ad	Mon Aug 17 11:18:31 2015 -0700
@@ -1082,7 +1082,7 @@
   // Start the stub.
   address stub = __ start_a_stub(Compile::MAX_stubs_size/2);
   if (stub == NULL) {
-    Compile::current()->env()->record_out_of_memory_failure();
+    ciEnv::current()->record_failure("CodeCache is full");
     return;
   }
 
@@ -1160,7 +1160,7 @@
 
     // Emit the trampoline stub which will be related to the branch-and-link below.
     CallStubImpl::emit_trampoline_stub(_masm, entry_point_toc_offset, offsets.insts_call_instruction_offset);
-    if (Compile::current()->env()->failing()) { return offsets; } // Code cache may be full.
+    if (ciEnv::current()->failing()) { return offsets; } // Code cache may be full.
     __ relocate(rtype);
   }
 
@@ -3397,7 +3397,7 @@
 
         // Emit the trampoline stub which will be related to the branch-and-link below.
         CallStubImpl::emit_trampoline_stub(_masm, entry_point_toc_offset, start_offset);
-        if (Compile::current()->env()->failing()) { return; } // Code cache may be full.
+        if (ciEnv::current()->failing()) { return; } // Code cache may be full.
         __ relocate(_optimized_virtual ?
                     relocInfo::opt_virtual_call_type : relocInfo::static_call_type);
       }
@@ -3410,7 +3410,11 @@
       __ bl(__ pc());  // Emits a relocation.
 
       // The stub for call to interpreter.
-      CompiledStaticCall::emit_to_interp_stub(cbuf);
+      address stub = CompiledStaticCall::emit_to_interp_stub(cbuf);
+      if (stub == NULL) {
+        ciEnv::current()->record_failure("CodeCache is full"); 
+        return;
+      }
     }
   %}
 
@@ -3455,7 +3459,11 @@
 
     assert(_method, "execute next statement conditionally");
     // The stub for call to interpreter.
-    CompiledStaticCall::emit_to_interp_stub(cbuf);
+    address stub = CompiledStaticCall::emit_to_interp_stub(cbuf);
+    if (stub == NULL) {
+      ciEnv::current()->record_failure("CodeCache is full"); 
+      return;
+    }
 
     // Restore original sp.
     __ ld(R11_scratch1, 0, R1_SP); // Load caller sp.
--- a/hotspot/src/cpu/sparc/vm/c1_CodeStubs_sparc.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/sparc/vm/c1_CodeStubs_sparc.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -432,6 +432,9 @@
   __ mov(length()->as_register(),  O4);
 
   ce->emit_static_call_stub();
+  if (ce->compilation()->bailed_out()) {
+    return; // CodeCache is full
+  }
 
   __ call(SharedRuntime::get_resolve_static_call_stub(), relocInfo::static_call_type);
   __ delayed()->nop();
--- a/hotspot/src/cpu/sparc/vm/compiledIC_sparc.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/sparc/vm/compiledIC_sparc.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -53,7 +53,7 @@
 // ----------------------------------------------------------------------------
 
 #define __ _masm.
-void CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf) {
+address CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf) {
 #ifdef COMPILER2
   // Stub is fixed up when the corresponding call is converted from calling
   // compiled code to calling interpreted code.
@@ -64,9 +64,10 @@
 
   MacroAssembler _masm(&cbuf);
 
-  address base =
-  __ start_a_stub(to_interp_stub_size()*2);
-  if (base == NULL) return;  // CodeBuffer::expand failed.
+  address base = __ start_a_stub(to_interp_stub_size());
+  if (base == NULL) {
+    return NULL;  // CodeBuffer::expand failed.
+  }
 
   // Static stub relocation stores the instruction address of the call.
   __ relocate(static_stub_Relocation::spec(mark));
@@ -81,6 +82,7 @@
 
   // Update current stubs pointer and restore code_end.
   __ end_a_stub();
+  return base;
 #else
   ShouldNotReachHere();
 #endif
--- a/hotspot/src/cpu/sparc/vm/interp_masm_sparc.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/sparc/vm/interp_masm_sparc.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -2314,7 +2314,7 @@
 }
 
 void InterpreterMacroAssembler::increment_invocation_counter( Register Rcounters, Register Rtmp, Register Rtmp2 ) {
-  assert(UseCompiler, "incrementing must be useful");
+  assert(UseCompiler || LogTouchedMethods, "incrementing must be useful");
   assert_different_registers(Rcounters, Rtmp, Rtmp2);
 
   Address inv_counter(Rcounters, MethodCounters::invocation_counter_offset() +
--- a/hotspot/src/cpu/sparc/vm/sparc.ad	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/sparc/vm/sparc.ad	Mon Aug 17 11:18:31 2015 -0700
@@ -1773,9 +1773,11 @@
   AddressLiteral exception_blob(OptoRuntime::exception_blob()->entry_point());
   MacroAssembler _masm(&cbuf);
 
-  address base =
-  __ start_a_stub(size_exception_handler());
-  if (base == NULL)  return 0;  // CodeBuffer::expand failed
+  address base = __ start_a_stub(size_exception_handler());
+  if (base == NULL) {
+    ciEnv::current()->record_failure("CodeCache is full");
+    return 0;  // CodeBuffer::expand failed
+  }
 
   int offset = __ offset();
 
@@ -1796,9 +1798,11 @@
   AddressLiteral deopt_blob(SharedRuntime::deopt_blob()->unpack());
   MacroAssembler _masm(&cbuf);
 
-  address base =
-  __ start_a_stub(size_deopt_handler());
-  if (base == NULL)  return 0;  // CodeBuffer::expand failed
+  address base = __ start_a_stub(size_deopt_handler());
+  if (base == NULL) {
+    ciEnv::current()->record_failure("CodeCache is full");
+    return 0;  // CodeBuffer::expand failed
+  }
 
   int offset = __ offset();
   __ save_frame(0);
@@ -2599,7 +2603,12 @@
       emit_call_reloc(cbuf, $meth$$method, relocInfo::static_call_type);
     }
     if (_method) {  // Emit stub for static call.
-      CompiledStaticCall::emit_to_interp_stub(cbuf);
+      address stub = CompiledStaticCall::emit_to_interp_stub(cbuf);
+      // Stub does not fit into scratch buffer if TraceJumps is enabled
+      if (stub == NULL && !(TraceJumps && Compile::current()->in_scratch_emit_size())) {
+        ciEnv::current()->record_failure("CodeCache is full");
+        return;
+      } 
     }
   %}
 
--- a/hotspot/src/cpu/x86/vm/c1_CodeStubs_x86.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/x86/vm/c1_CodeStubs_x86.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -503,6 +503,9 @@
   ce->align_call(lir_static_call);
 
   ce->emit_static_call_stub();
+  if (ce->compilation()->bailed_out()) {
+    return; // CodeCache is full
+  }
   AddressLiteral resolve(SharedRuntime::get_resolve_static_call_stub(),
                          relocInfo::static_call_type);
   __ call(resolve);
--- a/hotspot/src/cpu/x86/vm/compiledIC_x86.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/x86/vm/compiledIC_x86.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -50,7 +50,7 @@
 // ----------------------------------------------------------------------------
 
 #define __ _masm.
-void CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf) {
+address CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf) {
   // Stub is fixed up when the corresponding call is converted from
   // calling compiled code to calling interpreted code.
   // movq rbx, 0
@@ -62,9 +62,10 @@
   // That's why we must use the macroassembler to generate a stub.
   MacroAssembler _masm(&cbuf);
 
-  address base =
-  __ start_a_stub(to_interp_stub_size()*2);
-  if (base == NULL) return;  // CodeBuffer::expand failed.
+  address base = __ start_a_stub(to_interp_stub_size());
+  if (base == NULL) {
+    return NULL;  // CodeBuffer::expand failed.
+  }
   // Static stub relocation stores the instruction address of the call.
   __ relocate(static_stub_Relocation::spec(mark), Assembler::imm_operand);
   // Static stub relocation also tags the Method* in the code-stream.
@@ -74,6 +75,7 @@
 
   // Update current stubs pointer and restore insts_end.
   __ end_a_stub();
+  return base;
 }
 #undef __
 
--- a/hotspot/src/cpu/x86/vm/x86.ad	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/x86/vm/x86.ad	Mon Aug 17 11:18:31 2015 -0700
@@ -1594,7 +1594,10 @@
   // That's why we must use the macroassembler to generate a handler.
   MacroAssembler _masm(&cbuf);
   address base = __ start_a_stub(size_exception_handler());
-  if (base == NULL)  return 0;  // CodeBuffer::expand failed
+  if (base == NULL) {
+    ciEnv::current()->record_failure("CodeCache is full");
+    return 0;  // CodeBuffer::expand failed
+  }
   int offset = __ offset();
   __ jump(RuntimeAddress(OptoRuntime::exception_blob()->entry_point()));
   assert(__ offset() - offset <= (int) size_exception_handler(), "overflow");
@@ -1609,7 +1612,10 @@
   // That's why we must use the macroassembler to generate a handler.
   MacroAssembler _masm(&cbuf);
   address base = __ start_a_stub(size_deopt_handler());
-  if (base == NULL)  return 0;  // CodeBuffer::expand failed
+  if (base == NULL) {
+    ciEnv::current()->record_failure("CodeCache is full");
+    return 0;  // CodeBuffer::expand failed
+  }
   int offset = __ offset();
 
 #ifdef _LP64
--- a/hotspot/src/cpu/x86/vm/x86_32.ad	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/x86/vm/x86_32.ad	Mon Aug 17 11:18:31 2015 -0700
@@ -1907,7 +1907,11 @@
                      static_call_Relocation::spec(), RELOC_IMM32 );
     }
     if (_method) {  // Emit stub for static call.
-      CompiledStaticCall::emit_to_interp_stub(cbuf);
+      address stub = CompiledStaticCall::emit_to_interp_stub(cbuf);
+      if (stub == NULL) {
+        ciEnv::current()->record_failure("CodeCache is full");
+        return;
+      } 
     }
   %}
 
--- a/hotspot/src/cpu/x86/vm/x86_64.ad	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/x86/vm/x86_64.ad	Mon Aug 17 11:18:31 2015 -0700
@@ -2137,7 +2137,11 @@
     }
     if (_method) {
       // Emit stub for static call.
-      CompiledStaticCall::emit_to_interp_stub(cbuf);
+      address stub = CompiledStaticCall::emit_to_interp_stub(cbuf);
+      if (stub == NULL) {
+        ciEnv::current()->record_failure("CodeCache is full");
+        return;
+      } 
     }
   %}
 
--- a/hotspot/src/cpu/zero/vm/compiledIC_zero.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/cpu/zero/vm/compiledIC_zero.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -60,8 +60,9 @@
 
 // ----------------------------------------------------------------------------
 
-void CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf) {
+address CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf) {
   ShouldNotReachHere(); // Only needed for COMPILER2.
+  return NULL;
 }
 
 int CompiledStaticCall::to_interp_stub_size() {
--- a/hotspot/src/os/aix/vm/os_aix.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/os/aix/vm/os_aix.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -971,34 +971,32 @@
   guarantee(pthread_attr_setsuspendstate_np(&attr, PTHREAD_CREATE_SUSPENDED_NP) == 0, "???");
 
   // calculate stack size if it's not specified by caller
-  if (os::Aix::supports_variable_stack_size()) {
-    if (stack_size == 0) {
-      stack_size = os::Aix::default_stack_size(thr_type);
-
-      switch (thr_type) {
-      case os::java_thread:
-        // Java threads use ThreadStackSize whose default value can be changed with the flag -Xss.
-        assert(JavaThread::stack_size_at_create() > 0, "this should be set");
-        stack_size = JavaThread::stack_size_at_create();
+  if (stack_size == 0) {
+    stack_size = os::Aix::default_stack_size(thr_type);
+
+    switch (thr_type) {
+    case os::java_thread:
+      // Java threads use ThreadStackSize whose default value can be changed with the flag -Xss.
+      assert(JavaThread::stack_size_at_create() > 0, "this should be set");
+      stack_size = JavaThread::stack_size_at_create();
+      break;
+    case os::compiler_thread:
+      if (CompilerThreadStackSize > 0) {
+        stack_size = (size_t)(CompilerThreadStackSize * K);
         break;
-      case os::compiler_thread:
-        if (CompilerThreadStackSize > 0) {
-          stack_size = (size_t)(CompilerThreadStackSize * K);
-          break;
-        } // else fall through:
-          // use VMThreadStackSize if CompilerThreadStackSize is not defined
-      case os::vm_thread:
-      case os::pgc_thread:
-      case os::cgc_thread:
-      case os::watcher_thread:
-        if (VMThreadStackSize > 0) stack_size = (size_t)(VMThreadStackSize * K);
-        break;
-      }
+      } // else fall through:
+        // use VMThreadStackSize if CompilerThreadStackSize is not defined
+    case os::vm_thread:
+    case os::pgc_thread:
+    case os::cgc_thread:
+    case os::watcher_thread:
+      if (VMThreadStackSize > 0) stack_size = (size_t)(VMThreadStackSize * K);
+      break;
     }
-
-    stack_size = MAX2(stack_size, os::Aix::min_stack_allowed);
-    pthread_attr_setstacksize(&attr, stack_size);
-  } //else let thread_create() pick the default value (96 K on AIX)
+  }
+
+  stack_size = MAX2(stack_size, os::Aix::min_stack_allowed);
+  pthread_attr_setstacksize(&attr, stack_size);
 
   pthread_t tid;
   int ret = pthread_create(&tid, &attr, (void* (*)(void*)) java_start, thread);
--- a/hotspot/src/os/aix/vm/os_aix.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/os/aix/vm/os_aix.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -131,8 +131,6 @@
   static void initialize_libo4();
   static void initialize_libperfstat();
 
-  static bool supports_variable_stack_size();
-
  public:
   static void init_thread_fpu_state();
   static pthread_t main_thread(void)                                { return _main_thread; }
--- a/hotspot/src/os/bsd/vm/os_bsd.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/os/bsd/vm/os_bsd.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -739,40 +739,35 @@
   pthread_attr_init(&attr);
   pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
 
-  // stack size
-  if (os::Bsd::supports_variable_stack_size()) {
-    // calculate stack size if it's not specified by caller
-    if (stack_size == 0) {
-      stack_size = os::Bsd::default_stack_size(thr_type);
-
-      switch (thr_type) {
-      case os::java_thread:
-        // Java threads use ThreadStackSize which default value can be
-        // changed with the flag -Xss
-        assert(JavaThread::stack_size_at_create() > 0, "this should be set");
-        stack_size = JavaThread::stack_size_at_create();
+  // calculate stack size if it's not specified by caller
+  if (stack_size == 0) {
+    stack_size = os::Bsd::default_stack_size(thr_type);
+
+    switch (thr_type) {
+    case os::java_thread:
+      // Java threads use ThreadStackSize which default value can be
+      // changed with the flag -Xss
+      assert(JavaThread::stack_size_at_create() > 0, "this should be set");
+      stack_size = JavaThread::stack_size_at_create();
+      break;
+    case os::compiler_thread:
+      if (CompilerThreadStackSize > 0) {
+        stack_size = (size_t)(CompilerThreadStackSize * K);
         break;
-      case os::compiler_thread:
-        if (CompilerThreadStackSize > 0) {
-          stack_size = (size_t)(CompilerThreadStackSize * K);
-          break;
-        } // else fall through:
-          // use VMThreadStackSize if CompilerThreadStackSize is not defined
-      case os::vm_thread:
-      case os::pgc_thread:
-      case os::cgc_thread:
-      case os::watcher_thread:
-        if (VMThreadStackSize > 0) stack_size = (size_t)(VMThreadStackSize * K);
-        break;
-      }
+      } // else fall through:
+        // use VMThreadStackSize if CompilerThreadStackSize is not defined
+    case os::vm_thread:
+    case os::pgc_thread:
+    case os::cgc_thread:
+    case os::watcher_thread:
+      if (VMThreadStackSize > 0) stack_size = (size_t)(VMThreadStackSize * K);
+      break;
     }
-
-    stack_size = MAX2(stack_size, os::Bsd::min_stack_allowed);
-    pthread_attr_setstacksize(&attr, stack_size);
-  } else {
-    // let pthread_create() pick the default value.
   }
 
+  stack_size = MAX2(stack_size, os::Bsd::min_stack_allowed);
+  pthread_attr_setstacksize(&attr, stack_size);
+
   ThreadState state;
 
   {
--- a/hotspot/src/os/bsd/vm/os_bsd.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/os/bsd/vm/os_bsd.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 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
@@ -75,8 +75,6 @@
   static julong physical_memory() { return _physical_memory; }
   static void initialize_system_info();
 
-  static bool supports_variable_stack_size();
-
   static void rebuild_cpu_to_node_map();
   static GrowableArray<int>* cpu_to_node()    { return _cpu_to_node; }
 
--- a/hotspot/src/os/linux/vm/os_linux.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/os/linux/vm/os_linux.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -653,8 +653,7 @@
   OSThread* osthread = thread->osthread();
   Monitor* sync = osthread->startThread_lock();
 
-  // thread_id is kernel thread id (similar to Solaris LWP id)
-  osthread->set_thread_id(os::Linux::gettid());
+  osthread->set_thread_id(os::current_thread_id());
 
   if (UseNUMA) {
     int lgrp_id = os::numa_get_group_id();
@@ -712,38 +711,34 @@
   pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
 
   // stack size
-  if (os::Linux::supports_variable_stack_size()) {
-    // calculate stack size if it's not specified by caller
-    if (stack_size == 0) {
-      stack_size = os::Linux::default_stack_size(thr_type);
-
-      switch (thr_type) {
-      case os::java_thread:
-        // Java threads use ThreadStackSize which default value can be
-        // changed with the flag -Xss
-        assert(JavaThread::stack_size_at_create() > 0, "this should be set");
-        stack_size = JavaThread::stack_size_at_create();
+  // calculate stack size if it's not specified by caller
+  if (stack_size == 0) {
+    stack_size = os::Linux::default_stack_size(thr_type);
+
+    switch (thr_type) {
+    case os::java_thread:
+      // Java threads use ThreadStackSize which default value can be
+      // changed with the flag -Xss
+      assert(JavaThread::stack_size_at_create() > 0, "this should be set");
+      stack_size = JavaThread::stack_size_at_create();
+      break;
+    case os::compiler_thread:
+      if (CompilerThreadStackSize > 0) {
+        stack_size = (size_t)(CompilerThreadStackSize * K);
         break;
-      case os::compiler_thread:
-        if (CompilerThreadStackSize > 0) {
-          stack_size = (size_t)(CompilerThreadStackSize * K);
-          break;
-        } // else fall through:
-          // use VMThreadStackSize if CompilerThreadStackSize is not defined
-      case os::vm_thread:
-      case os::pgc_thread:
-      case os::cgc_thread:
-      case os::watcher_thread:
-        if (VMThreadStackSize > 0) stack_size = (size_t)(VMThreadStackSize * K);
-        break;
-      }
+      } // else fall through:
+        // use VMThreadStackSize if CompilerThreadStackSize is not defined
+    case os::vm_thread:
+    case os::pgc_thread:
+    case os::cgc_thread:
+    case os::watcher_thread:
+      if (VMThreadStackSize > 0) stack_size = (size_t)(VMThreadStackSize * K);
+      break;
     }
-
-    stack_size = MAX2(stack_size, os::Linux::min_stack_allowed);
-    pthread_attr_setstacksize(&attr, stack_size);
-  } else {
-    // let pthread_create() pick the default value.
-  }
+  }
+
+  stack_size = MAX2(stack_size, os::Linux::min_stack_allowed);
+  pthread_attr_setstacksize(&attr, stack_size);
 
   // glibc guard page
   pthread_attr_setguardsize(&attr, os::Linux::default_guard_size(thr_type));
@@ -1424,7 +1419,8 @@
   return n;
 }
 
-intx os::current_thread_id() { return (intx)pthread_self(); }
+// thread_id is kernel thread id (similar to Solaris LWP id)
+intx os::current_thread_id() { return os::Linux::gettid(); }
 int os::current_process_id() {
   return ::getpid();
 }
--- a/hotspot/src/os/linux/vm/os_linux.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/os/linux/vm/os_linux.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -83,8 +83,6 @@
   static void set_glibc_version(const char *s)      { _glibc_version = s; }
   static void set_libpthread_version(const char *s) { _libpthread_version = s; }
 
-  static bool supports_variable_stack_size();
-
   static void rebuild_cpu_to_node_map();
   static GrowableArray<int>* cpu_to_node()    { return _cpu_to_node; }
 
--- a/hotspot/src/os_cpu/aix_ppc/vm/os_aix_ppc.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/os_cpu/aix_ppc/vm/os_aix_ppc.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
  * Copyright 2012, 2014 SAP AG. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
@@ -489,10 +489,6 @@
 
 size_t os::Aix::min_stack_allowed = 128*K;
 
-// Aix is always in floating stack mode. The stack size for a new
-// thread can be set via pthread_attr_setstacksize().
-bool os::Aix::supports_variable_stack_size() { return true; }
-
 // return default stack size for thr_type
 size_t os::Aix::default_stack_size(os::ThreadType thr_type) {
   // default stack size (compiler thread needs larger stack)
--- a/hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 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
@@ -780,9 +780,6 @@
 
 #ifdef AMD64
 size_t os::Bsd::min_stack_allowed  = 64 * K;
-
-// amd64: pthread on amd64 is always in floating stack mode
-bool os::Bsd::supports_variable_stack_size() {  return true; }
 #else
 size_t os::Bsd::min_stack_allowed  =  (48 DEBUG_ONLY(+4))*K;
 
@@ -790,7 +787,6 @@
 #define GET_GS() ({int gs; __asm__ volatile("movw %%gs, %w0":"=q"(gs)); gs&0xffff;})
 #endif
 
-bool os::Bsd::supports_variable_stack_size() { return true; }
 #endif // AMD64
 
 // return default stack size for thr_type
--- a/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
  * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
@@ -290,10 +290,6 @@
 
 size_t os::Bsd::min_stack_allowed = 64 * K;
 
-bool os::Bsd::supports_variable_stack_size() {
-  return true;
-}
-
 size_t os::Bsd::default_stack_size(os::ThreadType thr_type) {
 #ifdef _LP64
   size_t s = (thr_type == os::compiler_thread ? 4 * M : 1 * M);
--- a/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
  * Copyright (c) 2014, Red Hat Inc. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
@@ -496,9 +496,6 @@
 
 size_t os::Linux::min_stack_allowed  = 64 * K;
 
-// aarch64: pthread on aarch64 is always in floating stack mode
-bool os::Linux::supports_variable_stack_size() {  return true; }
-
 // return default stack size for thr_type
 size_t os::Linux::default_stack_size(os::ThreadType thr_type) {
   // default stack size (compiler thread needs larger stack)
--- a/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -467,8 +467,6 @@
 
 size_t os::Linux::min_stack_allowed = 128*K;
 
-bool os::Linux::supports_variable_stack_size() { return true; }
-
 // return default stack size for thr_type
 size_t os::Linux::default_stack_size(os::ThreadType thr_type) {
   // default stack size (compiler thread needs larger stack)
--- a/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 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
@@ -733,9 +733,6 @@
 
 size_t os::Linux::min_stack_allowed  = 128 * K;
 
-// pthread on Ubuntu is always in floating stack mode
-bool os::Linux::supports_variable_stack_size() {  return true; }
-
 // return default stack size for thr_type
 size_t os::Linux::default_stack_size(os::ThreadType thr_type) {
   // default stack size (compiler thread needs larger stack)
--- a/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -623,11 +623,6 @@
 size_t os::Linux::min_stack_allowed  =  (48 DEBUG_ONLY(+4))*K;
 #endif // AMD64
 
-// Test if pthread library can support variable thread stack size.
-bool os::Linux::supports_variable_stack_size() {
-  return true;
-}
-
 // return default stack size for thr_type
 size_t os::Linux::default_stack_size(os::ThreadType thr_type) {
   // default stack size (compiler thread needs larger stack)
--- a/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
  * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
@@ -305,10 +305,6 @@
 
 size_t os::Linux::min_stack_allowed = 64 * K;
 
-bool os::Linux::supports_variable_stack_size() {
-  return true;
-}
-
 size_t os::Linux::default_stack_size(os::ThreadType thr_type) {
 #ifdef _LP64
   size_t s = (thr_type == os::compiler_thread ? 4 * M : 1 * M);
--- a/hotspot/src/share/vm/c1/c1_Compiler.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/c1/c1_Compiler.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -239,25 +239,6 @@
   return true;
 }
 
-bool Compiler::is_intrinsic_disabled_by_flag(methodHandle method) {
-  vmIntrinsics::ID id = method->intrinsic_id();
-  assert(id != vmIntrinsics::_none, "must be a VM intrinsic");
-
-  if (vmIntrinsics::is_disabled_by_flags(id)) {
-    return true;
-  }
-
-  if (!InlineNatives && id != vmIntrinsics::_Reference_get) {
-    return true;
-  }
-
-  if (!InlineClassNatives && id == vmIntrinsics::_getClass) {
-    return true;
-  }
-
-  return false;
-}
-
 void Compiler::compile_method(ciEnv* env, ciMethod* method, int entry_bci) {
   BufferBlob* buffer_blob = CompilerThread::current()->get_buffer_blob();
   assert(buffer_blob != NULL, "Must exist");
@@ -275,7 +256,3 @@
 void Compiler::print_timers() {
   Compilation::print_timers();
 }
-
-bool Compiler::is_intrinsic_available(methodHandle method, methodHandle compilation_context) {
-  return is_intrinsic_supported(method) && !is_intrinsic_disabled_by_flag(method);
-}
--- a/hotspot/src/share/vm/c1/c1_Compiler.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/c1/c1_Compiler.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -55,18 +55,9 @@
   // Print compilation timers and statistics
   virtual void print_timers();
 
-  // Check the availability of an intrinsic for 'method' given a compilation context.
-  // The compilation context is needed to support per-method usage of the
-  // DisableIntrinsic flag. However, as C1 ignores the DisableIntrinsic flag, it
-  // ignores the compilation context.
-  virtual bool is_intrinsic_available(methodHandle method, methodHandle compilation_context);
-
   // Check if the C1 compiler supports an intrinsic for 'method'.
   virtual bool is_intrinsic_supported(methodHandle method);
 
-  // Processing of command-line flags specific to the C1 compiler.
-  virtual bool is_intrinsic_disabled_by_flag(methodHandle method);
-
   // Size of the code buffer
   static int code_buffer_size();
 };
--- a/hotspot/src/share/vm/c1/c1_GraphBuilder.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/c1/c1_GraphBuilder.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -3491,8 +3491,16 @@
 bool GraphBuilder::try_inline_intrinsics(ciMethod* callee) {
   // For calling is_intrinsic_available we need to transition to
   // the '_thread_in_vm' state because is_intrinsic_available()
-  // does not accesses critical VM-internal data.
-  if (!_compilation->compiler()->is_intrinsic_available(callee->get_Method(), NULL)) {
+  // accesses critical VM-internal data.
+  bool is_available = false;
+  {
+    VM_ENTRY_MARK;
+    methodHandle mh(THREAD, callee->get_Method());
+    methodHandle ct(THREAD, method()->get_Method());
+    is_available = _compilation->compiler()->is_intrinsic_available(mh, ct);
+  }
+
+  if (!is_available) {
     if (!InlineNatives) {
       // Return false and also set message that the inlining of
       // intrinsics has been disabled in general.
--- a/hotspot/src/share/vm/c1/c1_LIRAssembler.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/c1/c1_LIRAssembler.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -443,6 +443,7 @@
 
   // emit the static call stub stuff out of line
   emit_static_call_stub();
+  CHECK_BAILOUT();
 
   switch (op->code()) {
   case lir_static_call:
--- a/hotspot/src/share/vm/classfile/imageDecompressor.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/classfile/imageDecompressor.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -22,8 +22,8 @@
  *
  */
 
+#include "precompiled.hpp"
 #include "runtime/thread.inline.hpp"
-#include "precompiled.hpp"
 #include "classfile/imageDecompressor.hpp"
 #include "runtime/thread.hpp"
 #include "utilities/bytes.hpp"
--- a/hotspot/src/share/vm/classfile/imageDecompressor.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/classfile/imageDecompressor.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -26,7 +26,6 @@
 #define SHARE_VM_CLASSFILE_IMAGEDECOMPRESSOR_HPP
 
 #include "runtime/thread.inline.hpp"
-#include "precompiled.hpp"
 #include "classfile/classLoader.hpp"
 #include "classfile/imageFile.hpp"
 #include "classfile/symbolTable.hpp"
--- a/hotspot/src/share/vm/classfile/vmSymbols.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/classfile/vmSymbols.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -417,8 +417,59 @@
   }
 }
 
-bool vmIntrinsics::is_disabled_by_flags(vmIntrinsics::ID id) {
+bool vmIntrinsics::is_disabled_by_flags(methodHandle method, methodHandle compilation_context) {
+  vmIntrinsics::ID id = method->intrinsic_id();
   assert(id != vmIntrinsics::_none, "must be a VM intrinsic");
+
+  // Check if the intrinsic corresponding to 'method' has been disabled on
+  // the command line by using the DisableIntrinsic flag (either globally
+  // or on a per-method level, see src/share/vm/compiler/abstractCompiler.hpp
+  // for details).
+  // Usually, the compilation context is the caller of the method 'method'.
+  // The only case when for a non-recursive method 'method' the compilation context
+  // is not the caller of the 'method' (but it is the method itself) is
+  // java.lang.ref.Referene::get.
+  // For java.lang.ref.Reference::get, the intrinsic version is used
+  // instead of the compiled version so that the value in the referent
+  // field can be registered by the G1 pre-barrier code. The intrinsified
+  // version of Reference::get also adds a memory barrier to prevent
+  // commoning reads from the referent field across safepoint since GC
+  // can change the referent field's value. See Compile::Compile()
+  // in src/share/vm/opto/compile.cpp or
+  // GraphBuilder::GraphBuilder() in src/share/vm/c1/c1_GraphBuilder.cpp
+  // for more details.
+  ccstr disable_intr = NULL;
+  if ((DisableIntrinsic[0] != '\0' && strstr(DisableIntrinsic, vmIntrinsics::name_at(id)) != NULL) ||
+      (!compilation_context.is_null() &&
+       CompilerOracle::has_option_value(compilation_context, "DisableIntrinsic", disable_intr) &&
+       strstr(disable_intr, vmIntrinsics::name_at(id)) != NULL)
+  ) {
+    return true;
+  }
+
+  // -XX:-InlineNatives disables nearly all intrinsics except the ones listed in
+  // the following switch statement.
+  if (!InlineNatives) {
+    switch (id) {
+    case vmIntrinsics::_indexOf:
+    case vmIntrinsics::_compareTo:
+    case vmIntrinsics::_equals:
+    case vmIntrinsics::_equalsC:
+    case vmIntrinsics::_getAndAddInt:
+    case vmIntrinsics::_getAndAddLong:
+    case vmIntrinsics::_getAndSetInt:
+    case vmIntrinsics::_getAndSetLong:
+    case vmIntrinsics::_getAndSetObject:
+    case vmIntrinsics::_loadFence:
+    case vmIntrinsics::_storeFence:
+    case vmIntrinsics::_fullFence:
+    case vmIntrinsics::_Reference_get:
+      break;
+    default:
+      return true;
+    }
+  }
+
   switch (id) {
   case vmIntrinsics::_isInstance:
   case vmIntrinsics::_isAssignableFrom:
@@ -430,6 +481,7 @@
   case vmIntrinsics::_Class_cast:
   case vmIntrinsics::_getLength:
   case vmIntrinsics::_newArray:
+  case vmIntrinsics::_getClass:
     if (!InlineClassNatives) return true;
     break;
   case vmIntrinsics::_currentThread:
@@ -522,6 +574,12 @@
   case vmIntrinsics::_getAndSetInt:
   case vmIntrinsics::_getAndSetLong:
   case vmIntrinsics::_getAndSetObject:
+  case vmIntrinsics::_loadFence:
+  case vmIntrinsics::_storeFence:
+  case vmIntrinsics::_fullFence:
+  case vmIntrinsics::_compareAndSwapObject:
+  case vmIntrinsics::_compareAndSwapLong:
+  case vmIntrinsics::_compareAndSwapInt:
     if (!InlineUnsafeOps) return true;
     break;
   case vmIntrinsics::_getShortUnaligned:
@@ -584,8 +642,8 @@
     if (!InlineObjectCopy || !InlineArrayCopy) return true;
     break;
   case vmIntrinsics::_compareTo:
-     if (!SpecialStringCompareTo) return true;
-     break;
+    if (!SpecialStringCompareTo) return true;
+    break;
   case vmIntrinsics::_indexOf:
     if (!SpecialStringIndexOf) return true;
     break;
@@ -602,8 +660,8 @@
     if (!InlineReflectionGetCallerClass) return true;
     break;
   case vmIntrinsics::_multiplyToLen:
-      if (!UseMultiplyToLenIntrinsic) return true;
-      break;
+    if (!UseMultiplyToLenIntrinsic) return true;
+    break;
   case vmIntrinsics::_squareToLen:
     if (!UseSquareToLenIntrinsic) return true;
     break;
--- a/hotspot/src/share/vm/classfile/vmSymbols.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/classfile/vmSymbols.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -568,6 +568,11 @@
   template(java_lang_management_ThreadInfo_constructor_signature, "(Ljava/lang/Thread;ILjava/lang/Object;Ljava/lang/Thread;JJJJ[Ljava/lang/StackTraceElement;)V") \
   template(java_lang_management_ThreadInfo_with_locks_constructor_signature, "(Ljava/lang/Thread;ILjava/lang/Object;Ljava/lang/Thread;JJJJ[Ljava/lang/StackTraceElement;[Ljava/lang/Object;[I[Ljava/lang/Object;)V") \
   template(long_long_long_long_void_signature,         "(JJJJ)V")                                                 \
+  template(finalizer_histogram_klass,                  "java/lang/ref/FinalizerHistogram")                        \
+  template(void_finalizer_histogram_entry_array_signature,  "()[Ljava/lang/ref/FinalizerHistogram$Entry;")                        \
+  template(get_finalizer_histogram_name,               "getFinalizerHistogram")                                   \
+  template(finalizer_histogram_entry_name_field,       "className")                                               \
+  template(finalizer_histogram_entry_count_field,      "instanceCount")                                           \
                                                                                                                   \
   template(java_lang_management_MemoryPoolMXBean,      "java/lang/management/MemoryPoolMXBean")                   \
   template(java_lang_management_MemoryManagerMXBean,   "java/lang/management/MemoryManagerMXBean")                \
@@ -1384,10 +1389,9 @@
   // 'method' requires predicated logic.
   static int predicates_needed(vmIntrinsics::ID id);
 
-  // Returns true if an intrinsic is disabled by command-line flags and
-  // false otherwise. Implements functionality common to the C1
-  // and the C2 compiler.
-  static bool is_disabled_by_flags(vmIntrinsics::ID id);
+  // Returns true if a compiler intrinsic is disabled by command-line flags
+  // and false otherwise.
+  static bool is_disabled_by_flags(methodHandle method, methodHandle compilation_context);
 };
 
 #endif // SHARE_VM_CLASSFILE_VMSYMBOLS_HPP
--- a/hotspot/src/share/vm/code/compiledIC.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/code/compiledIC.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -306,7 +306,7 @@
   friend CompiledStaticCall* compiledStaticCall_at(Relocation* call_site);
 
   // Code
-  static void emit_to_interp_stub(CodeBuffer &cbuf);
+  static address emit_to_interp_stub(CodeBuffer &cbuf);
   static int to_interp_stub_size();
   static int reloc_to_interp_stub();
 
--- a/hotspot/src/share/vm/compiler/abstractCompiler.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/compiler/abstractCompiler.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -75,8 +75,8 @@
   //
   // The second parameter, 'compilation_context', is needed to implement functionality
   // related to the DisableIntrinsic command-line flag. The DisableIntrinsic flag can
-  // be used to prohibit the C2 compiler (but not the C1 compiler) to use an intrinsic.
-  // There are three ways to disable an intrinsic using the DisableIntrinsic flag:
+  // be used to prohibit the compilers to use an intrinsic. There are three ways to
+  // disable an intrinsic using the DisableIntrinsic flag:
   //
   // (1) -XX:DisableIntrinsic=_hashCode,_getClass
   //     Disables intrinsification of _hashCode and _getClass globally
@@ -96,7 +96,8 @@
   // compilation context is aClass::aMethod and java.lang.ref.Reference::get,
   // respectively.
   virtual bool is_intrinsic_available(methodHandle method, methodHandle compilation_context) {
-    return false;
+    return is_intrinsic_supported(method) &&
+           !vmIntrinsics::is_disabled_by_flags(method, compilation_context);
   }
 
   // Determines if an intrinsic is supported by the compiler, that is,
@@ -111,13 +112,6 @@
     return false;
   }
 
-  // Implements compiler-specific processing of command-line flags.
-  // Processing of command-line flags common to all compilers is implemented
-  // in vmIntrinsicss::is_disabled_by_flag.
-  virtual bool is_intrinsic_disabled_by_flag(methodHandle method) {
-    return false;
-  }
-
   // Compiler type queries.
   bool is_c1()                                   { return _type == c1; }
   bool is_c2()                                   { return _type == c2; }
--- a/hotspot/src/share/vm/opto/arraycopynode.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/arraycopynode.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -79,10 +79,15 @@
 
 #ifndef PRODUCT
 const char* ArrayCopyNode::_kind_names[] = {"arraycopy", "arraycopy, validated arguments", "clone", "oop array clone", "CopyOf", "CopyOfRange"};
+
 void ArrayCopyNode::dump_spec(outputStream *st) const {
   CallNode::dump_spec(st);
   st->print(" (%s%s)", _kind_names[_kind], _alloc_tightly_coupled ? ", tightly coupled allocation" : "");
 }
+
+void ArrayCopyNode::dump_compact_spec(outputStream* st) const {
+  st->print("%s%s", _kind_names[_kind], _alloc_tightly_coupled ? ",tight" : "");
+}
 #endif
 
 intptr_t ArrayCopyNode::get_length_if_constant(PhaseGVN *phase) const {
--- a/hotspot/src/share/vm/opto/arraycopynode.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/arraycopynode.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -164,6 +164,7 @@
 
 #ifndef PRODUCT
   virtual void dump_spec(outputStream *st) const;
+  virtual void dump_compact_spec(outputStream* st) const;
 #endif
 };
 #endif // SHARE_VM_OPTO_ARRAYCOPYNODE_HPP
--- a/hotspot/src/share/vm/opto/c2_globals.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/c2_globals.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -623,9 +623,6 @@
   diagnostic(bool, PrintIntrinsics, false,                                  \
           "prints attempted and successful inlining of intrinsics")         \
                                                                             \
-  diagnostic(ccstrlist, DisableIntrinsic, "",                               \
-          "do not expand intrinsics whose (internal) names appear here")    \
-                                                                            \
   develop(bool, StressReflectiveCode, false,                                \
           "Use inexact types at allocations, etc., to test reflection")     \
                                                                             \
--- a/hotspot/src/share/vm/opto/c2compiler.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/c2compiler.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -157,14 +157,6 @@
   Compile::print_timers();
 }
 
-bool C2Compiler::is_intrinsic_available(methodHandle method, methodHandle compilation_context) {
-  // Assume a non-virtual dispatch. A virtual dispatch is
-  // possible for only a limited set of available intrinsics whereas
-  // a non-virtual dispatch is possible for all available intrinsics.
-  return is_intrinsic_supported(method, false) &&
-         !is_intrinsic_disabled_by_flag(method, compilation_context);
-}
-
 bool C2Compiler::is_intrinsic_supported(methodHandle method, bool is_virtual) {
   vmIntrinsics::ID id = method->intrinsic_id();
   assert(id != vmIntrinsics::_none, "must be a VM intrinsic");
@@ -436,78 +428,6 @@
   return true;
 }
 
-bool C2Compiler::is_intrinsic_disabled_by_flag(methodHandle method, methodHandle compilation_context) {
-  vmIntrinsics::ID id = method->intrinsic_id();
-  assert(id != vmIntrinsics::_none, "must be a VM intrinsic");
-
-  if (vmIntrinsics::is_disabled_by_flags(method->intrinsic_id())) {
-    return true;
-  }
-
-  // Check if the intrinsic corresponding to 'method' has been disabled on
-  // the command line by using the DisableIntrinsic flag (either globally
-  // or on a per-method level, see src/share/vm/compiler/abstractCompiler.hpp
-  // for details).
-  // Usually, the compilation context is the caller of the method 'method'.
-  // The only case when for a non-recursive method 'method' the compilation context
-  // is not the caller of the 'method' (but it is the method itself) is
-  // java.lang.ref.Referene::get.
-  // For java.lang.ref.Reference::get, the intrinsic version is used
-  // instead of the C2-compiled version so that the value in the referent
-  // field can be registered by the G1 pre-barrier code. The intrinsified
-  // version of Reference::get also adds a memory barrier to prevent
-  // commoning reads from the referent field across safepoint since GC
-  // can change the referent field's value. See Compile::Compile()
-  // in src/share/vm/opto/compile.cpp for more details.
-  ccstr disable_intr = NULL;
-  if ((DisableIntrinsic[0] != '\0' && strstr(DisableIntrinsic, vmIntrinsics::name_at(id)) != NULL) ||
-      (!compilation_context.is_null() &&
-       CompilerOracle::has_option_value(compilation_context, "DisableIntrinsic", disable_intr) &&
-       strstr(disable_intr, vmIntrinsics::name_at(id)) != NULL)
-  ) {
-    return true;
-  }
-
-  // -XX:-InlineNatives disables nearly all intrinsics except the ones listed in
-  // the following switch statement.
-  if (!InlineNatives) {
-    switch (id) {
-    case vmIntrinsics::_indexOf:
-    case vmIntrinsics::_compareTo:
-    case vmIntrinsics::_equals:
-    case vmIntrinsics::_equalsC:
-    case vmIntrinsics::_getAndAddInt:
-    case vmIntrinsics::_getAndAddLong:
-    case vmIntrinsics::_getAndSetInt:
-    case vmIntrinsics::_getAndSetLong:
-    case vmIntrinsics::_getAndSetObject:
-    case vmIntrinsics::_loadFence:
-    case vmIntrinsics::_storeFence:
-    case vmIntrinsics::_fullFence:
-    case vmIntrinsics::_Reference_get:
-      break;
-    default:
-      return true;
-    }
-  }
-
-  if (!InlineUnsafeOps) {
-    switch (id) {
-    case vmIntrinsics::_loadFence:
-    case vmIntrinsics::_storeFence:
-    case vmIntrinsics::_fullFence:
-    case vmIntrinsics::_compareAndSwapObject:
-    case vmIntrinsics::_compareAndSwapLong:
-    case vmIntrinsics::_compareAndSwapInt:
-      return true;
-    default:
-      return false;
-    }
-  }
-
-  return false;
-}
-
 int C2Compiler::initial_code_buffer_size() {
   assert(SegmentedCodeCache, "Should be only used with a segmented code cache");
   return Compile::MAX_inst_size + Compile::MAX_locs_size + initial_const_capacity;
--- a/hotspot/src/share/vm/opto/c2compiler.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/c2compiler.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -51,11 +51,11 @@
   // Print compilation timers and statistics
   void print_timers();
 
-  // Check the availability of an intrinsic for 'method' given a compilation context.
-  virtual bool is_intrinsic_available(methodHandle method, methodHandle compilation_context);
-
   // Return true if the intrinsification of a method supported by the compiler
-  // assuming a non-virtual dispatch. Return false otherwise.
+  // assuming a non-virtual dispatch. (A virtual dispatch is
+  // possible for only a limited set of available intrinsics whereas
+  // a non-virtual dispatch is possible for all available intrinsics.)
+  // Return false otherwise.
   virtual bool is_intrinsic_supported(methodHandle method) {
     return is_intrinsic_supported(method, false);
   }
@@ -64,13 +64,6 @@
   // the dispatch mode specified by the 'is_virtual' parameter.
   virtual bool is_intrinsic_supported(methodHandle method, bool is_virtual);
 
-  // Processing of command-line flags specific to the C2 compiler.
-  virtual bool is_intrinsic_disabled_by_flag(methodHandle method) {
-    return is_intrinsic_disabled_by_flag(method, NULL);
-  }
-
-  virtual bool is_intrinsic_disabled_by_flag(methodHandle method, methodHandle compilation_context);
-
   // Initial size of the code buffer (may be increased at runtime)
   static int initial_code_buffer_size();
 };
--- a/hotspot/src/share/vm/opto/callnode.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/callnode.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -52,6 +52,7 @@
 const Type *StartNode::Value(PhaseTransform *phase) const { return _domain; }
 #ifndef PRODUCT
 void StartNode::dump_spec(outputStream *st) const { st->print(" #"); _domain->dump_on(st);}
+void StartNode::dump_compact_spec(outputStream *st) const { /* empty */ }
 #endif
 
 //------------------------------Ideal------------------------------------------
@@ -121,6 +122,23 @@
     if( !Verbose && !WizardMode )   bottom_type()->dump_on(st);
   }
 }
+
+void ParmNode::dump_compact_spec(outputStream *st) const {
+  if (_con < TypeFunc::Parms) {
+    st->print("%s", names[_con]);
+  } else {
+    st->print("%d:", _con-TypeFunc::Parms);
+    // unconditionally dump bottom_type
+    bottom_type()->dump_on(st);
+  }
+}
+
+// For a ParmNode, all immediate inputs and outputs are considered relevant
+// both in compact and standard representation.
+void ParmNode::related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
+  this->collect_nodes(in_rel, 1, false, false);
+  this->collect_nodes(out_rel, -1, false, false);
+}
 #endif
 
 uint ParmNode::ideal_reg() const {
@@ -948,6 +966,14 @@
   if( _method ) _method->print_short_name(st);
   CallNode::dump_spec(st);
 }
+
+void CallJavaNode::dump_compact_spec(outputStream* st) const {
+  if (_method) {
+    _method->print_short_name(st);
+  } else {
+    st->print("<?>");
+  }
+}
 #endif
 
 //=============================================================================
@@ -995,6 +1021,16 @@
   }
   CallJavaNode::dump_spec(st);
 }
+
+void CallStaticJavaNode::dump_compact_spec(outputStream* st) const {
+  if (_method) {
+    _method->print_short_name(st);
+  } else if (_name) {
+    st->print("%s", _name);
+  } else {
+    st->print("<?>");
+  }
+}
 #endif
 
 //=============================================================================
@@ -1130,6 +1166,19 @@
   st->print(" SafePoint ");
   _replaced_nodes.dump(st);
 }
+
+// The related nodes of a SafepointNode are all data inputs, excluding the
+// control boundary, as well as all outputs till level 2 (to include projection
+// nodes and targets). In compact mode, just include inputs till level 1 and
+// outputs as before.
+void SafePointNode::related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
+  if (compact) {
+    this->collect_nodes(in_rel, 1, false, false);
+  } else {
+    this->collect_nodes_in_all_data(in_rel, false);
+  }
+  this->collect_nodes(out_rel, -2, false, false);
+}
 #endif
 
 const RegMask &SafePointNode::in_RegMask(uint idx) const {
@@ -1676,6 +1725,27 @@
     _counter->set_tag(NamedCounter::EliminatedLockCounter);
   }
 }
+
+const char* AbstractLockNode::_kind_names[] = {"Regular", "NonEscObj", "Coarsened", "Nested"};
+
+void AbstractLockNode::dump_spec(outputStream* st) const {
+  st->print("%s ", _kind_names[_kind]);
+  CallNode::dump_spec(st);
+}
+
+void AbstractLockNode::dump_compact_spec(outputStream* st) const {
+  st->print("%s", _kind_names[_kind]);
+}
+
+// The related set of lock nodes includes the control boundary.
+void AbstractLockNode::related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
+  if (compact) {
+      this->collect_nodes(in_rel, 1, false, false);
+    } else {
+      this->collect_nodes_in_all_data(in_rel, true);
+    }
+    this->collect_nodes(out_rel, -2, false, false);
+}
 #endif
 
 //=============================================================================
--- a/hotspot/src/share/vm/opto/callnode.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/callnode.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -84,6 +84,7 @@
   virtual uint ideal_reg() const { return 0; }
 #ifndef PRODUCT
   virtual void  dump_spec(outputStream *st) const;
+  virtual void  dump_compact_spec(outputStream *st) const;
 #endif
 };
 
@@ -110,6 +111,8 @@
   virtual uint ideal_reg() const;
 #ifndef PRODUCT
   virtual void dump_spec(outputStream *st) const;
+  virtual void dump_compact_spec(outputStream *st) const;
+  virtual void related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const;
 #endif
 };
 
@@ -476,6 +479,7 @@
 
 #ifndef PRODUCT
   virtual void           dump_spec(outputStream *st) const;
+  virtual void           related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const;
 #endif
 };
 
@@ -675,6 +679,7 @@
 
 #ifndef PRODUCT
   virtual void  dump_spec(outputStream *st) const;
+  virtual void  dump_compact_spec(outputStream *st) const;
 #endif
 };
 
@@ -730,6 +735,7 @@
   virtual int         Opcode() const;
 #ifndef PRODUCT
   virtual void        dump_spec(outputStream *st) const;
+  virtual void        dump_compact_spec(outputStream *st) const;
 #endif
 };
 
@@ -951,6 +957,7 @@
   } _kind;
 #ifndef PRODUCT
   NamedCounter* _counter;
+  static const char* _kind_names[Nested+1];
 #endif
 
 protected:
@@ -1005,6 +1012,9 @@
 #ifndef PRODUCT
   void create_lock_counter(JVMState* s);
   NamedCounter* counter() const { return _counter; }
+  virtual void dump_spec(outputStream* st) const;
+  virtual void dump_compact_spec(outputStream* st) const;
+  virtual void related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const;
 #endif
 };
 
--- a/hotspot/src/share/vm/opto/cfgnode.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/cfgnode.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -2023,6 +2023,14 @@
 }
 
 #ifndef PRODUCT
+void PhiNode::related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
+  // For a PhiNode, the set of related nodes includes all inputs till level 2,
+  // and all outputs till level 1. In compact mode, inputs till level 1 are
+  // collected.
+  this->collect_nodes(in_rel, compact ? 1 : 2, false, false);
+  this->collect_nodes(out_rel, -1, false, false);
+}
+
 void PhiNode::dump_spec(outputStream *st) const {
   TypeNode::dump_spec(st);
   if (is_tripcount()) {
@@ -2047,11 +2055,33 @@
   return RegMask::Empty;
 }
 
+#ifndef PRODUCT
+//-----------------------------related-----------------------------------------
+// The related nodes of a GotoNode are all inputs at level 1, as well as the
+// outputs at level 1. This is regardless of compact mode.
+void GotoNode::related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
+  this->collect_nodes(in_rel, 1, false, false);
+  this->collect_nodes(out_rel, -1, false, false);
+}
+#endif
+
+
 //=============================================================================
 const RegMask &JumpNode::out_RegMask() const {
   return RegMask::Empty;
 }
 
+#ifndef PRODUCT
+//-----------------------------related-----------------------------------------
+// The related nodes of a JumpNode are all inputs at level 1, as well as the
+// outputs at level 2 (to include actual jump targets beyond projection nodes).
+// This is regardless of compact mode.
+void JumpNode::related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
+  this->collect_nodes(in_rel, 1, false, false);
+  this->collect_nodes(out_rel, -2, false, false);
+}
+#endif
+
 //=============================================================================
 const RegMask &JProjNode::out_RegMask() const {
   return RegMask::Empty;
@@ -2105,7 +2135,18 @@
 #ifndef PRODUCT
 void JumpProjNode::dump_spec(outputStream *st) const {
   ProjNode::dump_spec(st);
-   st->print("@bci %d ",_dest_bci);
+  st->print("@bci %d ",_dest_bci);
+}
+
+void JumpProjNode::dump_compact_spec(outputStream *st) const {
+  ProjNode::dump_compact_spec(st);
+  st->print("(%d)%d@%d", _switch_val, _proj_no, _dest_bci);
+}
+
+void JumpProjNode::related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
+  // The related nodes of a JumpProjNode are its inputs and outputs at level 1.
+  this->collect_nodes(in_rel, 1, false, false);
+  this->collect_nodes(out_rel, -1, false, false);
 }
 #endif
 
--- a/hotspot/src/share/vm/opto/cfgnode.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/cfgnode.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 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
@@ -204,6 +204,7 @@
   virtual const RegMask &out_RegMask() const;
   virtual const RegMask &in_RegMask(uint) const;
 #ifndef PRODUCT
+  virtual void related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const;
   virtual void dump_spec(outputStream *st) const;
 #endif
 #ifdef ASSERT
@@ -229,6 +230,10 @@
   virtual const Type *Value( PhaseTransform *phase ) const;
   virtual Node *Identity( PhaseTransform *phase );
   virtual const RegMask &out_RegMask() const;
+
+#ifndef PRODUCT
+  virtual void related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const;
+#endif
 };
 
 //------------------------------CProjNode--------------------------------------
@@ -382,6 +387,7 @@
 
 #ifndef PRODUCT
   virtual void dump_spec(outputStream *st) const;
+  virtual void related(GrowableArray <Node *> *in_rel, GrowableArray <Node *> *out_rel, bool compact) const;
 #endif
 };
 
@@ -393,6 +399,11 @@
 protected:
   // Type of If input when this branch is always taken
   virtual bool always_taken(const TypeTuple* t) const = 0;
+
+#ifndef PRODUCT
+public:
+  virtual void related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const;
+#endif
 };
 
 class IfTrueNode : public IfProjNode {
@@ -455,6 +466,9 @@
   virtual int   Opcode() const;
   virtual const RegMask& out_RegMask() const;
   virtual const Node* is_block_proj() const { return this; }
+#ifndef PRODUCT
+  virtual void related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const;
+#endif
 };
 
 class JumpProjNode : public JProjNode {
@@ -479,6 +493,8 @@
   uint proj_no()     const { return _proj_no; }
 #ifndef PRODUCT
   virtual void dump_spec(outputStream *st) const;
+  virtual void dump_compact_spec(outputStream *st) const;
+  virtual void related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const;
 #endif
 };
 
--- a/hotspot/src/share/vm/opto/compile.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/compile.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -594,6 +594,10 @@
     n->as_MachBranch()->label_set(&fakeL, 0);
   }
   n->emit(buf, this->regalloc());
+
+  // Emitting into the scratch buffer should not fail
+  assert (!failing(), err_msg_res("Must not have pending failure. Reason is: %s", failure_reason()));
+
   if (is_branch) // Restore label.
     n->as_MachBranch()->label_set(saveL, save_bnum);
 
--- a/hotspot/src/share/vm/opto/ifnode.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/ifnode.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 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
@@ -1601,11 +1601,41 @@
   return this;
 }
 
+#ifndef PRODUCT
+//-------------------------------related---------------------------------------
+// An IfProjNode's related node set consists of its input (an IfNode) including
+// the IfNode's condition, plus all of its outputs at level 1. In compact mode,
+// the restrictions for IfNode apply (see IfNode::rel).
+void IfProjNode::related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
+  Node* ifNode = this->in(0);
+  in_rel->append(ifNode);
+  if (compact) {
+    ifNode->collect_nodes(in_rel, 3, false, true);
+  } else {
+    ifNode->collect_nodes_in_all_data(in_rel, false);
+  }
+  this->collect_nodes(out_rel, -1, false, false);
+}
+
 //------------------------------dump_spec--------------------------------------
-#ifndef PRODUCT
 void IfNode::dump_spec(outputStream *st) const {
   st->print("P=%f, C=%f",_prob,_fcnt);
 }
+
+//-------------------------------related---------------------------------------
+// For an IfNode, the set of related output nodes is just the output nodes till
+// depth 2, i.e, the IfTrue/IfFalse projection nodes plus the nodes they refer.
+// The related input nodes contain no control nodes, but all data nodes
+// pertaining to the condition. In compact mode, the input nodes are collected
+// up to a depth of 3.
+void IfNode::related(GrowableArray <Node *> *in_rel, GrowableArray <Node *> *out_rel, bool compact) const {
+  if (compact) {
+    this->collect_nodes(in_rel, 3, false, true);
+  } else {
+    this->collect_nodes_in_all_data(in_rel, false);
+  }
+  this->collect_nodes(out_rel, -2, false, false);
+}
 #endif
 
 //------------------------------idealize_test----------------------------------
--- a/hotspot/src/share/vm/opto/library_call.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/library_call.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -327,7 +327,7 @@
     methodHandle mh(THREAD, m->get_Method());
     methodHandle ct(THREAD, method()->get_Method());
     is_available = compiler->is_intrinsic_supported(mh, is_virtual) &&
-                   !compiler->is_intrinsic_disabled_by_flag(mh, ct);
+                   !vmIntrinsics::is_disabled_by_flags(mh, ct);
   }
 
   if (is_available) {
--- a/hotspot/src/share/vm/opto/movenode.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/movenode.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * 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
@@ -396,3 +396,17 @@
   return TypeLong::make( v.get_jlong() );
 }
 
+#ifndef PRODUCT
+//----------------------------BinaryNode---------------------------------------
+// The set of related nodes for a BinaryNode is all data inputs and all outputs
+// till level 2 (i.e., one beyond the associated CMoveNode). In compact mode,
+// it's the inputs till level 1 and the outputs till level 2.
+void BinaryNode::related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
+  if (compact) {
+    this->collect_nodes(in_rel, 1, false, true);
+  } else {
+    this->collect_nodes_in_all_data(in_rel, false);
+  }
+  this->collect_nodes(out_rel, -2, false, false);
+}
+#endif
--- a/hotspot/src/share/vm/opto/movenode.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/movenode.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * 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
@@ -145,6 +145,10 @@
   BinaryNode( Node *n1, Node *n2 ) : Node(0,n1,n2) { }
   virtual int Opcode() const;
   virtual uint ideal_reg() const { return 0; }
+
+#ifndef PRODUCT
+  virtual void related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const;
+#endif
 };
 
 
--- a/hotspot/src/share/vm/opto/multnode.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/multnode.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 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
@@ -118,6 +118,20 @@
 bool ProjNode::pinned() const { return in(0)->pinned(); }
 #ifndef PRODUCT
 void ProjNode::dump_spec(outputStream *st) const { st->print("#%d",_con); if(_is_io_use) st->print(" (i_o_use)");}
+
+void ProjNode::dump_compact_spec(outputStream *st) const {
+  for (DUIterator i = this->outs(); this->has_out(i); i++) {
+    Node* o = this->out(i);
+    if (NotANode(o)) {
+      st->print("[?]");
+    } else if (o == NULL) {
+      st->print("[_]");
+    } else {
+      st->print("[%d]", o->_idx);
+    }
+  }
+  st->print("#%d", _con);
+}
 #endif
 
 //----------------------------check_con----------------------------------------
--- a/hotspot/src/share/vm/opto/multnode.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/multnode.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 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
@@ -87,6 +87,7 @@
 
 #ifndef PRODUCT
   virtual void dump_spec(outputStream *st) const;
+  virtual void dump_compact_spec(outputStream *st) const;
 #endif
 
   // Return uncommon trap call node if proj is for "proj->[region->..]call_uct"
--- a/hotspot/src/share/vm/opto/node.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/node.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1489,16 +1489,6 @@
 
 #ifndef PRODUCT
 
-//----------------------------NotANode----------------------------------------
-// Used in debugging code to avoid walking across dead or uninitialized edges.
-static inline bool NotANode(const Node* n) {
-  if (n == NULL)                   return true;
-  if (((intptr_t)n & 1) != 0)      return true;  // uninitialized, etc.
-  if (*(address*)n == badAddress)  return true;  // kill by Node::destruct
-  return false;
-}
-
-
 //------------------------------find------------------------------------------
 // Find a neighbor of this Node with the given _idx
 // If idx is negative, find its absolute value, following both _in and _out.
@@ -1636,11 +1626,11 @@
 
 //------------------------------dump------------------------------------------
 // Dump a Node
-void Node::dump(const char* suffix, outputStream *st) const {
+void Node::dump(const char* suffix, bool mark, outputStream *st) const {
   Compile* C = Compile::current();
   bool is_new = C->node_arena()->contains(this);
   C->_in_dump_cnt++;
-  st->print("%c%d\t%s\t=== ", is_new ? ' ' : 'o', _idx, Name());
+  st->print("%c%d%s\t%s\t=== ", is_new ? ' ' : 'o', _idx, mark ? " >" : "", Name());
 
   // Dump the required and precedence inputs
   dump_req(st);
@@ -1760,42 +1750,60 @@
   st->print("]] ");
 }
 
-//------------------------------dump_nodes-------------------------------------
-static void dump_nodes(const Node* start, int d, bool only_ctrl) {
-  Node* s = (Node*)start; // remove const
-  if (NotANode(s)) return;
-
-  uint depth = (uint)ABS(d);
-  int direction = d;
-  Compile* C = Compile::current();
-  GrowableArray <Node *> nstack(C->unique());
-
-  nstack.append(s);
+//----------------------------collect_nodes_i----------------------------------
+// Collects nodes from an Ideal graph, starting from a given start node and
+// moving in a given direction until a certain depth (distance from the start
+// node) is reached. Duplicates are ignored.
+// Arguments:
+//   nstack:        the nodes are collected into this array.
+//   start:         the node at which to start collecting.
+//   direction:     if this is a positive number, collect input nodes; if it is
+//                  a negative number, collect output nodes.
+//   depth:         collect nodes up to this distance from the start node.
+//   include_start: whether to include the start node in the result collection.
+//   only_ctrl:     whether to regard control edges only during traversal.
+//   only_data:     whether to regard data edges only during traversal.
+static void collect_nodes_i(GrowableArray<Node*> *nstack, const Node* start, int direction, uint depth, bool include_start, bool only_ctrl, bool only_data) {
+  Node* s = (Node*) start; // remove const
+  nstack->append(s);
   int begin = 0;
   int end = 0;
   for(uint i = 0; i < depth; i++) {
-    end = nstack.length();
+    end = nstack->length();
     for(int j = begin; j < end; j++) {
-      Node* tp  = nstack.at(j);
+      Node* tp  = nstack->at(j);
       uint limit = direction > 0 ? tp->len() : tp->outcnt();
       for(uint k = 0; k < limit; k++) {
         Node* n = direction > 0 ? tp->in(k) : tp->raw_out(k);
 
         if (NotANode(n))  continue;
         // do not recurse through top or the root (would reach unrelated stuff)
-        if (n->is_Root() || n->is_top())  continue;
+        if (n->is_Root() || n->is_top()) continue;
         if (only_ctrl && !n->is_CFG()) continue;
+        if (only_data && n->is_CFG()) continue;
 
-        bool on_stack = nstack.contains(n);
+        bool on_stack = nstack->contains(n);
         if (!on_stack) {
-          nstack.append(n);
+          nstack->append(n);
         }
       }
     }
     begin = end;
   }
-  end = nstack.length();
-  if (direction > 0) {
+  if (!include_start) {
+    nstack->remove(s);
+  }
+}
+
+//------------------------------dump_nodes-------------------------------------
+static void dump_nodes(const Node* start, int d, bool only_ctrl) {
+  if (NotANode(start)) return;
+
+  GrowableArray <Node *> nstack(Compile::current()->unique());
+  collect_nodes_i(&nstack, start, d, (uint) ABS(d), true, only_ctrl, false);
+
+  int end = nstack.length();
+  if (d > 0) {
     for(int j = end-1; j >= 0; j--) {
       nstack.at(j)->dump();
     }
@@ -1817,6 +1825,221 @@
   dump_nodes(this, d, true);
 }
 
+//-----------------------------dump_compact------------------------------------
+void Node::dump_comp() const {
+  this->dump_comp("\n");
+}
+
+//-----------------------------dump_compact------------------------------------
+// Dump a Node in compact representation, i.e., just print its name and index.
+// Nodes can specify additional specifics to print in compact representation by
+// implementing dump_compact_spec.
+void Node::dump_comp(const char* suffix, outputStream *st) const {
+  Compile* C = Compile::current();
+  C->_in_dump_cnt++;
+  st->print("%s(%d)", Name(), _idx);
+  this->dump_compact_spec(st);
+  if (suffix) {
+    st->print("%s", suffix);
+  }
+  C->_in_dump_cnt--;
+}
+
+//----------------------------dump_related-------------------------------------
+// Dump a Node's related nodes - the notion of "related" depends on the Node at
+// hand and is determined by the implementation of the virtual method rel.
+void Node::dump_related() const {
+  Compile* C = Compile::current();
+  GrowableArray <Node *> in_rel(C->unique());
+  GrowableArray <Node *> out_rel(C->unique());
+  this->related(&in_rel, &out_rel, false);
+  for (int i = in_rel.length() - 1; i >= 0; i--) {
+    in_rel.at(i)->dump();
+  }
+  this->dump("\n", true);
+  for (int i = 0; i < out_rel.length(); i++) {
+    out_rel.at(i)->dump();
+  }
+}
+
+//----------------------------dump_related-------------------------------------
+// Dump a Node's related nodes up to a given depth (distance from the start
+// node).
+// Arguments:
+//   d_in:  depth for input nodes.
+//   d_out: depth for output nodes (note: this also is a positive number).
+void Node::dump_related(uint d_in, uint d_out) const {
+  Compile* C = Compile::current();
+  GrowableArray <Node *> in_rel(C->unique());
+  GrowableArray <Node *> out_rel(C->unique());
+
+  // call collect_nodes_i directly
+  collect_nodes_i(&in_rel, this, 1, d_in, false, false, false);
+  collect_nodes_i(&out_rel, this, -1, d_out, false, false, false);
+
+  for (int i = in_rel.length() - 1; i >= 0; i--) {
+    in_rel.at(i)->dump();
+  }
+  this->dump("\n", true);
+  for (int i = 0; i < out_rel.length(); i++) {
+    out_rel.at(i)->dump();
+  }
+}
+
+//------------------------dump_related_compact---------------------------------
+// Dump a Node's related nodes in compact representation. The notion of
+// "related" depends on the Node at hand and is determined by the implementation
+// of the virtual method rel.
+void Node::dump_related_compact() const {
+  Compile* C = Compile::current();
+  GrowableArray <Node *> in_rel(C->unique());
+  GrowableArray <Node *> out_rel(C->unique());
+  this->related(&in_rel, &out_rel, true);
+  int n_in = in_rel.length();
+  int n_out = out_rel.length();
+
+  this->dump_comp(n_in == 0 ? "\n" : "  ");
+  for (int i = 0; i < n_in; i++) {
+    in_rel.at(i)->dump_comp(i == n_in - 1 ? "\n" : "  ");
+  }
+  for (int i = 0; i < n_out; i++) {
+    out_rel.at(i)->dump_comp(i == n_out - 1 ? "\n" : "  ");
+  }
+}
+
+//------------------------------related----------------------------------------
+// Collect a Node's related nodes. The default behaviour just collects the
+// inputs and outputs at depth 1, including both control and data flow edges,
+// regardless of whether the presentation is compact or not. For data nodes,
+// the default is to collect all data inputs (till level 1 if compact), and
+// outputs till level 1.
+void Node::related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
+  if (this->is_CFG()) {
+    collect_nodes_i(in_rel, this, 1, 1, false, false, false);
+    collect_nodes_i(out_rel, this, -1, 1, false, false, false);
+  } else {
+    if (compact) {
+      this->collect_nodes(in_rel, 1, false, true);
+    } else {
+      this->collect_nodes_in_all_data(in_rel, false);
+    }
+    this->collect_nodes(out_rel, -1, false, false);
+  }
+}
+
+//---------------------------collect_nodes-------------------------------------
+// An entry point to the low-level node collection facility, to start from a
+// given node in the graph. The start node is by default not included in the
+// result.
+// Arguments:
+//   ns:   collect the nodes into this data structure.
+//   d:    the depth (distance from start node) to which nodes should be
+//         collected. A value >0 indicates input nodes, a value <0, output
+//         nodes.
+//   ctrl: include only control nodes.
+//   data: include only data nodes.
+void Node::collect_nodes(GrowableArray<Node*> *ns, int d, bool ctrl, bool data) const {
+  if (ctrl && data) {
+    // ignore nonsensical combination
+    return;
+  }
+  collect_nodes_i(ns, this, d, (uint) ABS(d), false, ctrl, data);
+}
+
+//--------------------------collect_nodes_in-----------------------------------
+static void collect_nodes_in(Node* start, GrowableArray<Node*> *ns, bool primary_is_data, bool collect_secondary) {
+  // The maximum depth is determined using a BFS that visits all primary (data
+  // or control) inputs and increments the depth at each level.
+  uint d_in = 0;
+  GrowableArray<Node*> nodes(Compile::current()->unique());
+  nodes.push(start);
+  int nodes_at_current_level = 1;
+  int n_idx = 0;
+  while (nodes_at_current_level > 0) {
+    // Add all primary inputs reachable from the current level to the list, and
+    // increase the depth if there were any.
+    int nodes_at_next_level = 0;
+    bool nodes_added = false;
+    while (nodes_at_current_level > 0) {
+      nodes_at_current_level--;
+      Node* current = nodes.at(n_idx++);
+      for (uint i = 0; i < current->len(); i++) {
+        Node* n = current->in(i);
+        if (NotANode(n)) {
+          continue;
+        }
+        if ((primary_is_data && n->is_CFG()) || (!primary_is_data && !n->is_CFG())) {
+          continue;
+        }
+        if (!nodes.contains(n)) {
+          nodes.push(n);
+          nodes_added = true;
+          nodes_at_next_level++;
+        }
+      }
+    }
+    if (nodes_added) {
+      d_in++;
+    }
+    nodes_at_current_level = nodes_at_next_level;
+  }
+  start->collect_nodes(ns, d_in, !primary_is_data, primary_is_data);
+  if (collect_secondary) {
+    // Now, iterate over the secondary nodes in ns and add the respective
+    // boundary reachable from them.
+    GrowableArray<Node*> sns(Compile::current()->unique());
+    for (GrowableArrayIterator<Node*> it = ns->begin(); it != ns->end(); ++it) {
+      Node* n = *it;
+      n->collect_nodes(&sns, 1, primary_is_data, !primary_is_data);
+      for (GrowableArrayIterator<Node*> d = sns.begin(); d != sns.end(); ++d) {
+        ns->append_if_missing(*d);
+      }
+      sns.clear();
+    }
+  }
+}
+
+//---------------------collect_nodes_in_all_data-------------------------------
+// Collect the entire data input graph. Include the control boundary if
+// requested.
+// Arguments:
+//   ns:   collect the nodes into this data structure.
+//   ctrl: if true, include the control boundary.
+void Node::collect_nodes_in_all_data(GrowableArray<Node*> *ns, bool ctrl) const {
+  collect_nodes_in((Node*) this, ns, true, ctrl);
+}
+
+//--------------------------collect_nodes_in_all_ctrl--------------------------
+// Collect the entire control input graph. Include the data boundary if
+// requested.
+//   ns:   collect the nodes into this data structure.
+//   data: if true, include the control boundary.
+void Node::collect_nodes_in_all_ctrl(GrowableArray<Node*> *ns, bool data) const {
+  collect_nodes_in((Node*) this, ns, false, data);
+}
+
+//------------------collect_nodes_out_all_ctrl_boundary------------------------
+// Collect the entire output graph until hitting control node boundaries, and
+// include those.
+void Node::collect_nodes_out_all_ctrl_boundary(GrowableArray<Node*> *ns) const {
+  // Perform a BFS and stop at control nodes.
+  GrowableArray<Node*> nodes(Compile::current()->unique());
+  nodes.push((Node*) this);
+  while (nodes.length() > 0) {
+    Node* current = nodes.pop();
+    if (NotANode(current)) {
+      continue;
+    }
+    ns->append_if_missing(current);
+    if (!current->is_CFG()) {
+      for (DUIterator i = current->outs(); current->has_out(i); i++) {
+        nodes.push(current->out(i));
+      }
+    }
+  }
+  ns->remove((Node*) this);
+}
+
 // VERIFICATION CODE
 // For each input edge to a node (ie - for each Use-Def edge), verify that
 // there is a corresponding Def-Use edge.
@@ -2173,6 +2396,11 @@
     st->print(" #"); _type->dump_on(st);
   }
 }
+
+void TypeNode::dump_compact_spec(outputStream *st) const {
+  st->print("#");
+  _type->dump_on(st);
+}
 #endif
 uint TypeNode::hash() const {
   return Node::hash() + _type->hash();
--- a/hotspot/src/share/vm/opto/node.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/node.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 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
@@ -1038,13 +1038,35 @@
   Node* find(int idx) const;         // Search the graph for the given idx.
   Node* find_ctrl(int idx) const;    // Search control ancestors for the given idx.
   void dump() const { dump("\n"); }  // Print this node.
-  void dump(const char* suffix, outputStream *st = tty) const;// Print this node.
+  void dump(const char* suffix, bool mark = false, outputStream *st = tty) const; // Print this node.
   void dump(int depth) const;        // Print this node, recursively to depth d
   void dump_ctrl(int depth) const;   // Print control nodes, to depth d
-  virtual void dump_req(outputStream *st = tty) const;     // Print required-edge info
-  virtual void dump_prec(outputStream *st = tty) const;    // Print precedence-edge info
-  virtual void dump_out(outputStream *st = tty) const;     // Print the output edge info
-  virtual void dump_spec(outputStream *st) const {}; // Print per-node info
+  void dump_comp() const;            // Print this node in compact representation.
+  // Print this node in compact representation.
+  void dump_comp(const char* suffix, outputStream *st = tty) const;
+  virtual void dump_req(outputStream *st = tty) const;    // Print required-edge info
+  virtual void dump_prec(outputStream *st = tty) const;   // Print precedence-edge info
+  virtual void dump_out(outputStream *st = tty) const;    // Print the output edge info
+  virtual void dump_spec(outputStream *st) const {};      // Print per-node info
+  // Print compact per-node info
+  virtual void dump_compact_spec(outputStream *st) const { dump_spec(st); }
+  void dump_related() const;             // Print related nodes (depends on node at hand).
+  // Print related nodes up to given depths for input and output nodes.
+  void dump_related(uint d_in, uint d_out) const;
+  void dump_related_compact() const;     // Print related nodes in compact representation.
+  // Collect related nodes.
+  virtual void related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const;
+  // Collect nodes starting from this node, explicitly including/excluding control and data links.
+  void collect_nodes(GrowableArray<Node*> *ns, int d, bool ctrl, bool data) const;
+
+  // Node collectors, to be used in implementations of Node::rel().
+  // Collect the entire data input graph. Include control inputs if requested.
+  void collect_nodes_in_all_data(GrowableArray<Node*> *ns, bool ctrl) const;
+  // Collect the entire control input graph. Include data inputs if requested.
+  void collect_nodes_in_all_ctrl(GrowableArray<Node*> *ns, bool data) const;
+  // Collect the entire output graph until hitting and including control nodes.
+  void collect_nodes_out_all_ctrl_boundary(GrowableArray<Node*> *ns) const;
+
   void verify_edges(Unique_Node_List &visited); // Verify bi-directional edges
   void verify() const;               // Check Def-Use info for my subgraph
   static void verify_recur(const Node *n, int verify_depth, VectorSet &old_space, VectorSet &new_space);
@@ -1091,6 +1113,20 @@
 #endif
 };
 
+
+#ifndef PRODUCT
+
+// Used in debugging code to avoid walking across dead or uninitialized edges.
+inline bool NotANode(const Node* n) {
+  if (n == NULL)                   return true;
+  if (((intptr_t)n & 1) != 0)      return true;  // uninitialized, etc.
+  if (*(address*)n == badAddress)  return true;  // kill by Node::destruct
+  return false;
+}
+
+#endif
+
+
 //-----------------------------------------------------------------------------
 // Iterators over DU info, and associated Node functions.
 
@@ -1618,6 +1654,7 @@
   virtual       uint  ideal_reg() const;
 #ifndef PRODUCT
   virtual void dump_spec(outputStream *st) const;
+  virtual void dump_compact_spec(outputStream *st) const;
 #endif
 };
 
--- a/hotspot/src/share/vm/opto/output.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/output.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1504,6 +1504,13 @@
       n->emit(*cb, _regalloc);
       current_offset  = cb->insts_size();
 
+      // Above we only verified that there is enough space in the instruction section.
+      // However, the instruction may emit stubs that cause code buffer expansion.
+      // Bail out here if expansion failed due to a lack of code cache space.
+      if (failing()) {
+        return;
+      }
+
 #ifdef ASSERT
       if (n->size(_regalloc) < (current_offset-instr_offset)) {
         n->dump();
@@ -1632,11 +1639,14 @@
   if (_method) {
     // Emit the exception handler code.
     _code_offsets.set_value(CodeOffsets::Exceptions, HandlerImpl::emit_exception_handler(*cb));
+    if (failing()) {
+      return; // CodeBuffer::expand failed
+    }
     // Emit the deopt handler code.
     _code_offsets.set_value(CodeOffsets::Deopt, HandlerImpl::emit_deopt_handler(*cb));
 
     // Emit the MethodHandle deopt handler code (if required).
-    if (has_method_handle_invokes()) {
+    if (has_method_handle_invokes() && !failing()) {
       // We can use the same code as for the normal deopt handler, we
       // just need a different entry point address.
       _code_offsets.set_value(CodeOffsets::DeoptMH, HandlerImpl::emit_deopt_handler(*cb));
--- a/hotspot/src/share/vm/opto/rootnode.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/rootnode.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 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
@@ -88,3 +88,18 @@
 const RegMask &HaltNode::out_RegMask() const {
   return RegMask::Empty;
 }
+
+#ifndef PRODUCT
+//-----------------------------related-----------------------------------------
+// Include all control inputs in the related set, and also the input data
+// boundary. In compact mode, include all inputs till level 2. Also include
+// all outputs at level 1.
+void HaltNode::related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
+  if (compact) {
+    this->collect_nodes(in_rel, 2, false, false);
+  } else {
+    this->collect_nodes_in_all_ctrl(in_rel, true);
+  }
+  this->collect_nodes(out_rel, -1, false, false);
+}
+#endif
--- a/hotspot/src/share/vm/opto/rootnode.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/rootnode.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 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
@@ -64,6 +64,10 @@
   virtual const RegMask &out_RegMask() const;
   virtual uint ideal_reg() const { return NotAMachineReg; }
   virtual uint match_edge(uint idx) const { return 0; }
+
+#ifndef PRODUCT
+  virtual void related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const;
+#endif
 };
 
 #endif // SHARE_VM_OPTO_ROOTNODE_HPP
--- a/hotspot/src/share/vm/opto/subnode.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/subnode.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 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
@@ -498,6 +498,37 @@
   return this;
 }
 
+#ifndef PRODUCT
+//----------------------------related------------------------------------------
+// Related nodes of comparison nodes include all data inputs (until hitting a
+// control boundary) as well as all outputs until and including control nodes
+// as well as their projections. In compact mode, data inputs till depth 1 and
+// all outputs till depth 1 are considered.
+void CmpNode::related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
+  if (compact) {
+    this->collect_nodes(in_rel, 1, false, true);
+    this->collect_nodes(out_rel, -1, false, false);
+  } else {
+    this->collect_nodes_in_all_data(in_rel, false);
+    this->collect_nodes_out_all_ctrl_boundary(out_rel);
+    // Now, find all control nodes in out_rel, and include their projections
+    // and projection targets (if any) in the result.
+    GrowableArray<Node*> proj(Compile::current()->unique());
+    for (GrowableArrayIterator<Node*> it = out_rel->begin(); it != out_rel->end(); ++it) {
+      Node* n = *it;
+      if (n->is_CFG() && !n->is_Proj()) {
+        // Assume projections and projection targets are found at levels 1 and 2.
+        n->collect_nodes(&proj, -2, false, false);
+        for (GrowableArrayIterator<Node*> p = proj.begin(); p != proj.end(); ++p) {
+          out_rel->append_if_missing(*p);
+        }
+        proj.clear();
+      }
+    }
+  }
+}
+#endif
+
 //=============================================================================
 //------------------------------cmp--------------------------------------------
 // Simplify a CmpI (compare 2 integers) node, based on local information.
@@ -1396,17 +1427,31 @@
   return _test.cc2logical( phase->type( in(1) ) );
 }
 
+#ifndef PRODUCT
 //------------------------------dump_spec--------------------------------------
 // Dump special per-node info
-#ifndef PRODUCT
 void BoolNode::dump_spec(outputStream *st) const {
   st->print("[");
   _test.dump_on(st);
   st->print("]");
 }
+
+//-------------------------------related---------------------------------------
+// A BoolNode's related nodes are all of its data inputs, and all of its
+// outputs until control nodes are hit, which are included. In compact
+// representation, inputs till level 3 and immediate outputs are included.
+void BoolNode::related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
+  if (compact) {
+    this->collect_nodes(in_rel, 3, false, true);
+    this->collect_nodes(out_rel, -1, false, false);
+  } else {
+    this->collect_nodes_in_all_data(in_rel, false);
+    this->collect_nodes_out_all_ctrl_boundary(out_rel);
+  }
+}
 #endif
 
-//------------------------------is_counted_loop_exit_test--------------------------------------
+//----------------------is_counted_loop_exit_test------------------------------
 // Returns true if node is used by a counted loop node.
 bool BoolNode::is_counted_loop_exit_test() {
   for( DUIterator_Fast imax, i = fast_outs(imax); i < imax; i++ ) {
--- a/hotspot/src/share/vm/opto/subnode.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/opto/subnode.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 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
@@ -60,7 +60,6 @@
   // Supplied function to return the additive identity type.
   // This is returned whenever the subtracts inputs are the same.
   virtual const Type *add_id() const = 0;
-
 };
 
 
@@ -140,6 +139,13 @@
   const Type *add_id() const { return TypeInt::ZERO; }
   const Type *bottom_type() const { return TypeInt::CC; }
   virtual uint ideal_reg() const { return Op_RegFlags; }
+
+#ifndef PRODUCT
+  // CmpNode and subclasses include all data inputs (until hitting a control
+  // boundary) in their related node set, as well as all outputs until and
+  // including eventual control nodes and their projections.
+  virtual void related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const;
+#endif
 };
 
 //------------------------------CmpINode---------------------------------------
@@ -311,6 +317,7 @@
   bool is_counted_loop_exit_test();
 #ifndef PRODUCT
   virtual void dump_spec(outputStream *st) const;
+  virtual void related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const;
 #endif
 };
 
--- a/hotspot/src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -70,7 +70,10 @@
 #endif
 
   // The default CICompilerCount's value is CI_COMPILER_COUNT.
-  assert(min_number_of_compiler_threads <= CI_COMPILER_COUNT, "minimum should be less or equal default number");
+  // With a client VM, -XX:+TieredCompilation causes TieredCompilation
+  // to be true here (the option is validated later) and
+  // min_number_of_compiler_threads to exceed CI_COMPILER_COUNT.
+  min_number_of_compiler_threads = MIN2(min_number_of_compiler_threads, CI_COMPILER_COUNT);
 
   if (*value < (intx)min_number_of_compiler_threads) {
     if (verbose == true) {
--- a/hotspot/src/share/vm/runtime/globals.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/runtime/globals.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -848,6 +848,9 @@
   product(bool, UseCRC32CIntrinsics, false,                                 \
           "use intrinsics for java.util.zip.CRC32C")                        \
                                                                             \
+  diagnostic(ccstrlist, DisableIntrinsic, "",                               \
+         "do not expand intrinsics whose (internal) names appear here")     \
+                                                                            \
   develop(bool, TraceCallFixup, false,                                      \
           "Trace all call fixups")                                          \
                                                                             \
@@ -3913,7 +3916,7 @@
   product(bool, PerfDisableSharedMem, false,                                \
           "Store performance data in standard memory")                      \
                                                                             \
-  product(intx, PerfDataMemorySize, 32*K,                                   \
+  product(intx, PerfDataMemorySize, 64*K,                                   \
           "Size of performance data memory region. Will be rounded "        \
           "up to a multiple of the native os page size.")                   \
                                                                             \
--- a/hotspot/src/share/vm/services/diagnosticCommand.cpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/services/diagnosticCommand.cpp	Mon Aug 17 11:18:31 2015 -0700
@@ -37,6 +37,7 @@
 #include "services/management.hpp"
 #include "services/writeableFlags.hpp"
 #include "utilities/macros.hpp"
+#include "oops/objArrayOop.inline.hpp"
 
 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
 
@@ -57,6 +58,8 @@
   DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<VMUptimeDCmd>(full_export, true, false));
   DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<SystemGCDCmd>(full_export, true, false));
   DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<RunFinalizationDCmd>(full_export, true, false));
+  DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<HeapInfoDCmd>(full_export, true, false));
+  DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<FinalizerInfoDCmd>(full_export, true, false));
 #if INCLUDE_SERVICES // Heap dumping/inspection supported
   DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<HeapDumpDCmd>(DCmd_Source_Internal | DCmd_Source_AttachAPI, true, false));
   DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<ClassHistogramDCmd>(full_export, true, false));
@@ -333,6 +336,60 @@
                          vmSymbols::void_method_signature(), CHECK);
 }
 
+void HeapInfoDCmd::execute(DCmdSource source, TRAPS) {
+  Universe::heap()->print_on(output());
+}
+
+void FinalizerInfoDCmd::execute(DCmdSource source, TRAPS) {
+  ResourceMark rm;
+
+
+  Klass* k = SystemDictionary::resolve_or_null(
+    vmSymbols::finalizer_histogram_klass(), THREAD);
+  assert(k != NULL, "FinalizerHistogram class is not accessible");
+
+  instanceKlassHandle klass(THREAD, k);
+  JavaValue result(T_ARRAY);
+
+  // We are calling lang.ref.FinalizerHistogram.getFinalizerHistogram() method
+  // and expect it to return array of FinalizerHistogramEntry as Object[]
+
+  JavaCalls::call_static(&result, klass,
+                         vmSymbols::get_finalizer_histogram_name(),
+                         vmSymbols::void_finalizer_histogram_entry_array_signature(), CHECK);
+
+  objArrayOop result_oop = (objArrayOop) result.get_jobject();
+  if (result_oop->length() == 0) {
+    output()->print_cr("No instances waiting for finalization found");
+    return;
+  }
+
+  oop foop = result_oop->obj_at(0);
+  InstanceKlass* ik = InstanceKlass::cast(foop->klass());
+
+  fieldDescriptor count_fd, name_fd;
+
+  Klass* count_res = ik->find_field(
+    vmSymbols::finalizer_histogram_entry_count_field(), vmSymbols::int_signature(), &count_fd);
+
+  Klass* name_res = ik->find_field(
+    vmSymbols::finalizer_histogram_entry_name_field(), vmSymbols::string_signature(), &name_fd);
+
+  assert(count_res != NULL && name_res != NULL, "Unexpected layout of FinalizerHistogramEntry");
+
+  output()->print_cr("Unreachable instances waiting for finalization");
+  output()->print_cr("#instances  class name");
+  output()->print_cr("-----------------------");
+
+  for (int i = 0; i < result_oop->length(); ++i) {
+    oop element_oop = result_oop->obj_at(i);
+    oop str_oop = element_oop->obj_field(name_fd.offset());
+    char *name = java_lang_String::as_utf8_string(str_oop);
+    int count = element_oop->int_field(count_fd.offset());
+    output()->print_cr("%10d  %s", count, name);
+  }
+}
+
 #if INCLUDE_SERVICES // Heap dumping/inspection supported
 HeapDumpDCmd::HeapDumpDCmd(outputStream* output, bool heap) :
                            DCmdWithParser(output, heap),
--- a/hotspot/src/share/vm/services/diagnosticCommand.hpp	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/src/share/vm/services/diagnosticCommand.hpp	Mon Aug 17 11:18:31 2015 -0700
@@ -241,6 +241,46 @@
     virtual void execute(DCmdSource source, TRAPS);
 };
 
+class HeapInfoDCmd : public DCmd {
+public:
+  HeapInfoDCmd(outputStream* output, bool heap) : DCmd(output, heap) { }
+  static const char* name() { return "GC.heap_info"; }
+  static const char* description() {
+    return "Provide generic Java heap information.";
+  }
+  static const char* impact() {
+    return "Medium";
+  }
+  static int num_arguments() { return 0; }
+  static const JavaPermission permission() {
+    JavaPermission p = {"java.lang.management.ManagementPermission",
+      "monitor", NULL};
+      return p;
+  }
+
+  virtual void execute(DCmdSource source, TRAPS);
+};
+
+class FinalizerInfoDCmd : public DCmd {
+public:
+  FinalizerInfoDCmd(outputStream* output, bool heap) : DCmd(output, heap) { }
+  static const char* name() { return "GC.finalizer_info"; }
+  static const char* description() {
+    return "Provide information about Java finalization queue.";
+  }
+  static const char* impact() {
+    return "Medium";
+  }
+  static int num_arguments() { return 0; }
+  static const JavaPermission permission() {
+    JavaPermission p = {"java.lang.management.ManagementPermission",
+      "monitor", NULL};
+      return p;
+  }
+
+  virtual void execute(DCmdSource source, TRAPS);
+};
+
 #if INCLUDE_SERVICES   // Heap dumping supported
 // See also: dump_heap in attachListener.cpp
 class HeapDumpDCmd : public DCmdWithParser {
--- a/hotspot/test/compiler/arguments/CheckCICompilerCount.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/test/compiler/arguments/CheckCICompilerCount.java	Mon Aug 17 11:18:31 2015 -0700
@@ -26,6 +26,7 @@
 /*
  * @test CheckCheckCICompilerCount
  * @bug 8130858
+ * @bug 8132525
  * @summary Check that correct range of values for CICompilerCount are allowed depending on whether tiered is enabled or not
  * @library /testlibrary
  * @modules java.base/sun.misc
@@ -36,12 +37,28 @@
 public class CheckCICompilerCount {
     private static final String[][] NON_TIERED_ARGUMENTS = {
         {
+            "-server",
             "-XX:-TieredCompilation",
             "-XX:+PrintFlagsFinal",
             "-XX:CICompilerCount=0",
             "-version"
         },
         {
+            "-server",
+            "-XX:-TieredCompilation",
+            "-XX:+PrintFlagsFinal",
+            "-XX:CICompilerCount=1",
+            "-version"
+        },
+        {
+            "-client",
+            "-XX:-TieredCompilation",
+            "-XX:+PrintFlagsFinal",
+            "-XX:CICompilerCount=0",
+            "-version"
+        },
+        {
+            "-client",
             "-XX:-TieredCompilation",
             "-XX:+PrintFlagsFinal",
             "-XX:CICompilerCount=1",
@@ -56,22 +73,47 @@
         },
         {
             "intx CICompilerCount                          := 1                                   {product}"
+        },
+        {
+            "CICompilerCount=0 must be at least 1",
+            "Improperly specified VM option 'CICompilerCount=0'"
+        },
+        {
+            "intx CICompilerCount                          := 1                                   {product}"
         }
     };
 
     private static final int[] NON_TIERED_EXIT = {
         1,
+        0,
+        1,
         0
     };
 
     private static final String[][] TIERED_ARGUMENTS = {
         {
+            "-server",
             "-XX:+TieredCompilation",
             "-XX:+PrintFlagsFinal",
             "-XX:CICompilerCount=1",
             "-version"
         },
         {
+            "-server",
+            "-XX:+TieredCompilation",
+            "-XX:+PrintFlagsFinal",
+            "-XX:CICompilerCount=2",
+            "-version"
+        },
+        {
+            "-client",
+            "-XX:+TieredCompilation",
+            "-XX:+PrintFlagsFinal",
+            "-XX:CICompilerCount=1",
+            "-version"
+        },
+        {
+            "-client",
             "-XX:+TieredCompilation",
             "-XX:+PrintFlagsFinal",
             "-XX:CICompilerCount=2",
@@ -86,11 +128,20 @@
         },
         {
             "intx CICompilerCount                          := 2                                   {product}"
+        },
+        {
+            "CICompilerCount=1 must be at least 2",
+            "Improperly specified VM option 'CICompilerCount=1'"
+        },
+        {
+            "intx CICompilerCount                          := 2                                   {product}"
         }
     };
 
     private static final int[] TIERED_EXIT = {
         1,
+        0,
+        1,
         0
     };
 
--- a/hotspot/test/runtime/CommandLine/PrintTouchedMethods.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/test/runtime/CommandLine/PrintTouchedMethods.java	Mon Aug 17 11:18:31 2015 -0700
@@ -87,6 +87,24 @@
       output.shouldNotContain("TestLogTouchedMethods.methodB:()V");
       output.shouldHaveExitValue(0);
 
+      String[] javaArgs4 = {"-XX:+UnlockDiagnosticVMOptions", "-Xint", "-XX:+LogTouchedMethods", "-XX:+PrintTouchedMethodsAtExit", "-XX:-TieredCompilation", "TestLogTouchedMethods"};
+      pb = ProcessTools.createJavaProcessBuilder(javaArgs4);
+      output = new OutputAnalyzer(pb.start());
+      lines = output.asLines();
+
+      if (lines.size() < 1) {
+        throw new Exception("Empty output");
+      }
+
+      first = lines.get(0);
+      if (!first.equals("# Method::print_touched_methods version 1")) {
+        throw new Exception("First line mismatch");
+      }
+
+      output.shouldContain("TestLogTouchedMethods.methodA:()V");
+      output.shouldNotContain("TestLogTouchedMethods.methodB:()V");
+      output.shouldHaveExitValue(0);
+
       // Test jcmd PrintTouchedMethods VM.print_touched_methods
       String pid = Integer.toString(ProcessTools.getProcessId());
       pb = new ProcessBuilder();
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/serviceability/dcmd/gc/FinalizerInfoTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,87 @@
+/*
+ * Copyright (c) 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.
+ */
+
+import org.testng.annotations.Test;
+import org.testng.Assert;
+
+import java.util.concurrent.TimeUnit;
+import java.util.concurrent.locks.Condition;
+import java.util.concurrent.locks.ReentrantLock;
+
+import jdk.test.lib.OutputAnalyzer;
+import jdk.test.lib.dcmd.CommandExecutor;
+import jdk.test.lib.dcmd.PidJcmdExecutor;
+
+/*
+ * @test
+ * @summary
+ * @library /testlibrary
+ * @build jdk.test.lib.*
+ * @build jdk.test.lib.dcmd.*
+ * @run testng FinalizerInfoTest
+ */
+public class FinalizerInfoTest {
+    static ReentrantLock lock = new ReentrantLock();
+    static volatile int wasInitialized = 0;
+    static volatile int wasTrapped = 0;
+    static final String cmd = "GC.finalizer_info";
+    static final int objectsCount = 1000;
+
+    class MyObject {
+        public MyObject() {
+            // Make sure object allocation/deallocation is not optimized out
+            wasInitialized += 1;
+        }
+
+        protected void finalize() {
+            // Trap the object in a finalization queue
+            wasTrapped += 1;
+            lock.lock();
+        }
+    }
+
+    public void run(CommandExecutor executor) {
+        try {
+            lock.lock();
+            for(int i = 0; i < objectsCount; ++i) {
+                new MyObject();
+            }
+            System.out.println("Objects initialized: " + objectsCount);
+            System.gc();
+
+            while(wasTrapped < 1) {
+                // Waiting for gc thread.
+            }
+
+            OutputAnalyzer output = executor.execute(cmd);
+            output.shouldContain("MyObject");
+        } finally {
+            lock.unlock();
+        }
+    }
+
+    @Test
+    public void pid() {
+        run(new PidJcmdExecutor());
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/serviceability/dcmd/gc/HeapInfoTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,54 @@
+/*
+ * Copyright (c) 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.
+ */
+
+import org.testng.annotations.Test;
+import org.testng.Assert;
+
+import java.io.IOException;
+
+import jdk.test.lib.dcmd.CommandExecutor;
+import jdk.test.lib.dcmd.PidJcmdExecutor;
+import jdk.test.lib.OutputAnalyzer;
+
+
+/*
+ * @test
+ * @summary Test of diagnostic command GC.heap_info
+ * @library /testlibrary
+ * @build jdk.test.lib.*
+ * @build jdk.test.lib.dcmd.*
+ * @run testng HeapInfoTest
+ */
+public class HeapInfoTest {
+    public void run(CommandExecutor executor) {
+        String cmd = "GC.heap_info";
+        OutputAnalyzer output = executor.execute(cmd);
+        output.shouldContain("Metaspace");
+    }
+
+    @Test
+    public void pid() {
+        run(new PidJcmdExecutor());
+    }
+}
+
--- a/hotspot/test/serviceability/dcmd/gc/RunFinalizationTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/test/serviceability/dcmd/gc/RunFinalizationTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -21,15 +21,13 @@
  * questions.
  */
 
-import org.testng.annotations.Test;
-import org.testng.Assert;
-
+import java.util.concurrent.Phaser;
 import java.util.concurrent.TimeUnit;
-import java.util.concurrent.locks.Condition;
-import java.util.concurrent.locks.ReentrantLock;
+import java.util.concurrent.TimeoutException;
 
 import jdk.test.lib.dcmd.CommandExecutor;
 import jdk.test.lib.dcmd.JMXExecutor;
+import jdk.test.lib.Utils;
 
 /*
  * @test
@@ -41,62 +39,71 @@
  *          jdk.jvmstat/sun.jvmstat.monitor
  * @build jdk.test.lib.*
  * @build jdk.test.lib.dcmd.*
- * @run testng RunFinalizationTest
+ * @run main/othervm RunFinalizationTest
  */
 public class RunFinalizationTest {
-    static ReentrantLock lock = new ReentrantLock();
-    static Condition cond = lock.newCondition();
+    private static final long TIMEOUT = Utils.adjustTimeout(15000); // 15s
+    private static final Phaser ph = new Phaser(3);
     static volatile boolean wasFinalized = false;
     static volatile boolean wasInitialized = false;
 
-    class MyObject {
+    static class MyObject {
         public MyObject() {
             /* Make sure object allocation/deallocation is not optimized out */
             wasInitialized = true;
         }
 
         protected void finalize() {
-            lock.lock();
-            wasFinalized = true;
-            cond.signalAll();
-            lock.unlock();
+            if (!Thread.currentThread().getName().equals("Finalizer")) {
+                wasFinalized = true;
+                ph.arrive();
+            } else {
+                ph.arriveAndAwaitAdvance();
+            }
         }
     }
 
     public static MyObject o;
 
-    public void run(CommandExecutor executor) {
-        lock.lock();
+    private static void run(CommandExecutor executor) {
         o = new MyObject();
         o = null;
         System.gc();
         executor.execute("GC.run_finalization");
 
-        int waited = 0;
-        int waitTime = 15;
-
-        try {
-            System.out.println("Waiting for signal from finalizer");
+        System.out.println("Waiting for signal from finalizer");
 
-            while (!cond.await(waitTime, TimeUnit.SECONDS)) {
-                waited += waitTime;
-                System.out.println(String.format("Waited %d seconds", waited));
+        long targetTime = System.currentTimeMillis() + TIMEOUT;
+        while (System.currentTimeMillis() < targetTime) {
+            try {
+                ph.awaitAdvanceInterruptibly(ph.arrive(), 200, TimeUnit.MILLISECONDS);
+                System.out.println("Received signal");
+                break;
+            } catch (InterruptedException e) {
+                fail("Test error: Interrupted while waiting for signal from finalizer", e);
+            } catch (TimeoutException e) {
+                System.out.println("Haven't received signal in 200ms. Retrying ...");
             }
-
-            System.out.println("Received signal");
-        } catch (InterruptedException e) {
-            Assert.fail("Test error: Interrupted while waiting for signal from finalizer", e);
-        } finally {
-            lock.unlock();
         }
 
         if (!wasFinalized) {
-            Assert.fail("Test failure: Object was not finalized");
+            fail("Test failure: Object was not finalized");
         }
     }
 
-    @Test
-    public void jmx() {
-        run(new JMXExecutor());
+    public static void main(String ... args) {
+        MyObject o = new MyObject();
+        o = null;
+        Runtime.getRuntime().addShutdownHook(new Thread(()->{
+            run(new JMXExecutor());
+        }));
+    }
+
+    private static void fail(String msg, Exception e) {
+        throw new Error(msg, e);
+    }
+
+    private static void fail(String msg) {
+        throw new Error(msg);
     }
 }
--- a/hotspot/test/testlibrary/jdk/test/lib/Utils.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/hotspot/test/testlibrary/jdk/test/lib/Utils.java	Mon Aug 17 11:18:31 2015 -0700
@@ -314,9 +314,8 @@
      */
     public static String fileAsString(String filename) throws IOException {
         Path filePath = Paths.get(filename);
-        return Files.exists(filePath)
-            ? Files.lines(filePath).collect(Collectors.joining(NEW_LINE))
-            : null;
+        if (!Files.exists(filePath)) return null;
+        return new String(Files.readAllBytes(filePath));
     }
 
     /**
--- a/jaxp/.hgtags	Thu Aug 13 15:50:52 2015 -0700
+++ b/jaxp/.hgtags	Mon Aug 17 11:18:31 2015 -0700
@@ -319,3 +319,4 @@
 eadcb2b55cd1daf77625813aad0f6f3967b1528a jdk9-b74
 16b5e696f948cd8aa9b3afdb686ddffd48bd17a8 jdk9-b75
 36801a89a04201b59874ec776ffe85d6253c9ab5 jdk9-b76
+be357705874c4ba1a69c38fb211e5e31e35bf9cb jdk9-b77
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/common/Bug6350682.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/common/Bug6723276Test.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/common/Bug6941169.xml	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/common/Bug6941169.xsd	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/common/Bug6941169Test.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/common/Bug7143711Test.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/datatype/Bug6320118.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/datatype/Bug6937951Test.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/datatype/Bug6937964Test.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/datatype/Bug7042647Test.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/datatype/DatatypeFactoryTest.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/datatype/DurationTest.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/datatype/FactoryFindTest.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/datatype/XMLGregorianCalendarTest.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/dom/Bug4915524.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/dom/Bug4915748.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/dom/Bug4966082.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/dom/Bug4966082.xml	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/dom/Bug4966138.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/dom/Bug4966142.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/dom/Bug4966142.xml	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/dom/Bug4966142.xsd	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/dom/Bug4966143.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/dom/Bug4966143.xml	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/dom/Bug4966143.xsd	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/dom/Bug6339023.java	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/dom/Bug6355326.java	Mon Aug 17 11:18:31 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;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+import org.w3c.dom.DOMImplementation;
+import org.w3c.dom.Document;
+import org.w3c.dom.ls.DOMImplementationLS;
+import org.w3c.dom.ls.LSInput;
+import org.w3c.dom.ls.LSParser;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6355326
+ * @summary Test DOM implementation encoding.
+ */
+public class Bug6355326 {
+
+    DOMImplementationLS implLS = null;
+    String encodingXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><encodingXML/>";
+
+    @BeforeMethod
+    protected void setUp() {
+        Document doc = null;
+        DocumentBuilder parser = null;
+        String xml1 = "<?xml version=\"1.0\"?><ROOT></ROOT>";
+        try {
+            parser = DocumentBuilderFactory.newInstance().newDocumentBuilder();
+        } catch (ParserConfigurationException e) {
+            e.printStackTrace();
+        }
+        StringBufferInputStream is = new StringBufferInputStream(xml1);
+        try {
+            doc = parser.parse(is);
+        } catch (SAXException e) {
+            e.printStackTrace();
+        } catch (IOException e) {
+            e.printStackTrace();
+        }
+        DOMImplementation impl = doc.getImplementation();
+        implLS = (DOMImplementationLS) impl.getFeature("LS", "3.0");
+    }
+
+    @Test
+    public void testExternalEncoding() {
+
+        try {
+            LSInput src = null;
+            LSParser dp = null;
+
+            src = createLSInputEncoding();
+            dp = createLSParser();
+
+            src.setEncoding("UTF-16");
+            Document doc = dp.parse(src);
+            Assert.assertTrue("encodingXML".equals(doc.getDocumentElement().getNodeName()), "XML document is not parsed correctly");
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    private LSInput createLSInputEncoding() {
+        LSInput src = implLS.createLSInput();
+        Assert.assertFalse(src == null, "Could not create LSInput from DOMImplementationLS");
+
+        try {
+            src.setByteStream(new ByteArrayInputStream(encodingXML.getBytes("UTF-16")));
+        } catch (UnsupportedEncodingException e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+        return src;
+    }
+
+    private LSParser createLSParser() {
+        LSParser p = implLS.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, "http://www.w3.org/2001/XMLSchema");
+        Assert.assertFalse(p == null, "Could not create Synchronous LSParser from DOMImplementationLS");
+        return p;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/Bug6367542.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,48 @@
+/*
+ * 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 org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.DOMImplementation;
+import org.w3c.dom.bootstrap.DOMImplementationRegistry;
+
+/*
+ * @bug 6367542
+ * @summary Test DOMImplementationRegistry.getDOMImplementation("XML") returns a DOMImplementation instance.
+ */
+public class Bug6367542 {
+
+    @Test
+    public void testDOMImplementationRegistry() {
+        try {
+            DOMImplementationRegistry registry = DOMImplementationRegistry.newInstance();
+            DOMImplementation domImpl = registry.getDOMImplementation("XML");
+            Assert.assertTrue(domImpl != null, "Non null implementation is expected for getDOMImplementation('XML')");
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/Bug6520131.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,79 @@
+/*
+ * 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 javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.DOMConfiguration;
+import org.w3c.dom.DOMError;
+import org.w3c.dom.DOMErrorHandler;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Text;
+
+/*
+ * @bug 6520131
+ * @summary Test DOMErrorHandler reports an error for invalid character.
+ */
+public class Bug6520131 {
+
+    @Test
+    public void test() {
+        String string = new String("\u0001");
+
+        try {
+            // create document
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            DocumentBuilder documentBuilder = dbf.newDocumentBuilder();
+            Document document = documentBuilder.newDocument();
+
+            DOMConfiguration domConfig = document.getDomConfig();
+            domConfig.setParameter("well-formed", Boolean.TRUE);
+            domConfig.setParameter("error-handler", new DOMErrorHandler() {
+                public boolean handleError(DOMError e) {
+                    throw new RuntimeException(e.getMessage());
+                }
+            });
+
+            // add text element
+            Element textElement = document.createElementNS("", "Text");
+            Text text = document.createTextNode(string);
+            textElement.appendChild(text);
+            document.appendChild(textElement);
+
+            // normalize document
+            document.normalizeDocument();
+
+            Assert.fail("Invalid character exception not thrown");
+        } catch (ParserConfigurationException e) {
+            Assert.fail("Unable to configure parser");
+        } catch (RuntimeException e) {
+            // This exception is expected!
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/Bug6521260.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,73 @@
+/*
+ * 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 javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6521260
+ * @summary Test setAttributeNS doesn't result in an unsorted internal list of attributes.
+ */
+public class Bug6521260 {
+
+    @Test
+    public void test() throws ParserConfigurationException, SAXException, IOException {
+        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+        factory.setNamespaceAware(true);
+        DocumentBuilder builder = factory.newDocumentBuilder();
+
+        String docStr = "<system systemId='http://www.w3.org/2001/rddl/rddl-xhtml.dtd'" + " uri='/cache/data/xrc36316.bin'"
+                + " xmlns:xr='urn:oasis:names:tc:entity:xmlns:xml:catalog'" + " xr:systemId='http://www.w3.org/2001/rddl/rddl-xhtml.dtd'"
+                + " xmlns:NS1='http://xmlresolver.org/ns/catalog'" + " NS1:time='1170267571097'/>";
+
+        ByteArrayInputStream bais = new ByteArrayInputStream(docStr.getBytes());
+
+        Document doc = builder.parse(bais);
+
+        Element root = doc.getDocumentElement();
+
+        String systemId = root.getAttribute("systemId");
+
+        // Change the prefix on the "time" attribute so that the list would
+        // become unsorted
+        // before my fix to
+        // xml-xerces/java/src/com/sun/org/apache/xerces/internal/dom/ElementImpl.java
+        root.setAttributeNS("http://xmlresolver.org/ns/catalog", "xc:time", "100");
+
+        String systemId2 = root.getAttribute("systemId");
+
+        Assert.assertEquals(systemId, systemId2);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/Bug6582545.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<SimulationIcp Object="Configuration"><!--Configuration ICP-->
+<FWS1
+	KEY_TO_CONFIG="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_TO_CONFIG"
+	KEY_NORM_C_L="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_NORM_CL"
+	KEY_VALID_LEFT="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_VALID1"
+	KEY_VALID_RIGHT="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_VALID2"
+	KEY_ABN_PROC="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_ABN_PROC"
+	KEY_EMER_CANC="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_EMER_CANC"
+	KEY_ARROW_UP="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_ARROW_UP"
+	KEY_ARROW_DOWN="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_ARROW_DOWN"
+	KEY_CLR_LEFT="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_CLR1"
+	KEY_UNDO_CLR="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_UNDO_CLR"
+	KEY_STS="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_STS"
+	KEY_MORE="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_MORE"
+	KEY_RCL="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_RCL"
+	KEY_CLR_RIGHT="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_CLR2"
+/>
+</SimulationIcp>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/Bug6582545Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,115 @@
+/*
+ * 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.File;
+import java.io.IOException;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.NamedNodeMap;
+import org.w3c.dom.NodeList;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6582545
+ * @summary Test the value is correct when iterating attributes.
+ */
+public class Bug6582545Test {
+    private DocumentBuilder xmlParser = null;
+    private Document document = null;
+    private String FWS1 = "FWS1";
+    private String KEY_ARROW_UP = "KEY_ARROW_UP";
+    private String VALUE_ARROW_UP = "root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_ARROW_UP";
+
+    @Test
+    public void testAttributeCaching() {
+
+        File xmlFile = new File(getClass().getResource("Bug6582545.xml").getFile());
+
+        try {
+            DocumentBuilderFactory aDocumentBuilderFactory = DocumentBuilderFactory.newInstance();
+            xmlParser = aDocumentBuilderFactory.newDocumentBuilder();
+
+            // works fine with JDK 1.4.2, 1.5
+            // does not work with JDK 1.6
+            document = xmlParser.parse(xmlFile);
+            printNode(FWS1);
+        } catch (SAXException saxException) {
+            saxException.printStackTrace();
+        } catch (ParserConfigurationException parserConfigurationException) {
+            parserConfigurationException.printStackTrace();
+        } catch (IOException ioException) {
+            ioException.printStackTrace();
+        } catch (IllegalArgumentException illegalArgumentException) {
+            illegalArgumentException.printStackTrace();
+        }
+    }
+
+    private void printNode(String aNode) {
+        boolean error = true;
+        NodeList nodeList;
+        NamedNodeMap attributes;
+
+        nodeList = document.getElementsByTagName(aNode);
+        attributes = nodeList.item(0).getAttributes();
+
+        String name;
+        String value;
+        // Print all nodes
+        for (int k = 0; k < attributes.getLength(); k++) {
+            name = attributes.item(k).getNodeName();
+            value = attributes.item(k).getNodeValue();
+            System.out.println(name + "=" + value);
+        }
+
+        // Test specifique a node
+        String javaSpecificationVersion = System.getProperty("java.specification.version");
+        for (int k = 0; k < attributes.getLength(); k++) {
+            name = attributes.item(k).getNodeName();
+            value = attributes.item(k).getNodeValue();
+            if (KEY_ARROW_UP.equals(name)) {
+                if (VALUE_ARROW_UP.equals(value)) {
+                    // Parser OK
+                    System.out.println("Parser in Java " + javaSpecificationVersion + " returned correct value.");
+                    error = false;
+                } else {
+                    // Parser NOK
+                    System.out.println("Parser in Java " + javaSpecificationVersion + " returned wrong value");
+                }
+                System.out.println("for node         = " + KEY_ARROW_UP);
+                System.out.println("expecting value  =" + VALUE_ARROW_UP);
+                System.out.println("value from parser=" + value);
+            }
+        }
+
+        Assert.assertTrue(!error);
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/Bug6879614.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,722 @@
+<?xml version="1.0"?>
+<!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "&#160;">]>
+
+<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
+  <xsl:output method="html" version="4" encoding="UTF-8"/>
+
+  <!--
+*******************************************************************************
+   * Output HTML fields to keep the current context
+   * @param searchresult The current search result tree
+   * @param expandedgroups A tree representing the groups that have been expanded
+*******************************************************************************
+   -->
+   <xsl:template name="contextKeeper">
+     <xsl:param name="pagedSearch"/>
+
+     <input type="hidden" name="stopsearch" value=""/>
+     <input type="hidden" name="expandgroup" value=""/>
+     <input type="hidden" name="expandselectedgroup" value=""/>
+     <input type="hidden" name="expandonmissing" value=""/>
+     <input type="hidden" name="nextview" value="{/xslui/@nextview}" />
+     <input type="hidden" name="bookid">
+       <xsl:attribute name="value">
+         <xsl:if test="$pagedSearch and $pagedSearch/searchresult and $pagedSearch/searchresult/@bookid">
+           <xsl:value-of select="$pagedSearch/searchresult/@bookid"/>
+         </xsl:if>
+       </xsl:attribute>
+     </input>
+     <input type="hidden" name="actionbookid">
+       <xsl:attribute name="value">
+         <xsl:if test="$pagedSearch and $pagedSearch/searchresult and $pagedSearch/searchresult/@bookid">
+           <xsl:value-of select="$pagedSearch/searchresult/@bookid"/>
+         </xsl:if>
+       </xsl:attribute>
+     </input>
+     <xsl:if test="$pagedSearch/searchresult">
+      <xsl:variable name="searchResult" select="$pagedSearch/searchresult"/>
+
+       <xsl:if test="/xslui/iab/pagedsearch/searchresult/@searchid">
+         <input type="hidden" name="searchid" value="{$searchResult/@searchid}"/>
+       </xsl:if>
+
+       <input type="hidden" name="filter" value="{$searchResult/@filter}"/>
+       <input type="hidden" name="firstentry" value="{$searchResult/@firstentry}"/>
+       <input type="hidden" name="sortby" value="{$searchResult/@sortby}"/>
+
+       <xsl:if test="$pagedSearch/expandedgroups">
+         <xsl:variable name="expandedGroups" select="$pagedSearch/expandedgroups"/>
+         <xsl:if test="$expandedGroups/expandedgroup">
+           <xsl:for-each select="$expandedGroups/expandedgroup">
+             <input type="hidden" name="expandedgroup" value="{@entryID}"/>
+           </xsl:for-each>
+         </xsl:if>
+       </xsl:if>
+     </xsl:if>
+   </xsl:template>
+
+   <!-- template to replace a string with another -->
+   <xsl:template name="replace-string">
+    <xsl:param name="text"/>
+    <xsl:param name="replace"/>
+    <xsl:param name="with"/>
+    <xsl:choose>
+      <xsl:when test="contains($text,$replace)">
+        <xsl:value-of select="substring-before($text,$replace)"/>
+        <xsl:value-of select="$with"/>
+        <xsl:call-template name="replace-string">
+          <xsl:with-param name="text"
+select="substring-after($text,$replace)"/>
+          <xsl:with-param name="replace" select="$replace"/>
+          <xsl:with-param name="with" select="$with"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$text"/>
+      </xsl:otherwise>
+    </xsl:choose>
+ </xsl:template>
+
+ <!-- escapes quotes -->
+  <xsl:template name="escape">
+     <xsl:param name="text"/>
+     <xsl:call-template name="replace-string">
+       <xsl:with-param name="text" select="$text"/>
+       <xsl:with-param name="replace" select="'&quot;'"/>
+       <xsl:with-param name="with" select="'\&quot;'"/>
+     </xsl:call-template>
+  </xsl:template>
+
+  <!--
+*******************************************************************************
+  * This template displays the banner indicating the user the actual context.
+  * @param text The text to display in the banner
+*******************************************************************************
+  -->
+  <xsl:template name="contextBanner">
+    <xsl:param name="text" select="''" />
+
+    <table width="100&#37;" border="0" cellspacing="0" cellpadding="0" class="first-strip" summary="This table displays the context banner" >
+      <tr>
+        <td>
+          <table border="0" cellspacing="0" cellpadding="0">
+            <tr>
+              <td>
+                <img alt="" src="{$spacer.gif}" width="17" height="25"/>
+              </td>
+              <td>
+                <xsl:attribute name="nowrap"/>
+                <span class="areatitle-large">
+                  <xsl:value-of select="$text" />
+                </span>
+              </td>
+            </tr>
+          </table>
+        </td>
+        <td align="right">&nbsp;</td>
+      </tr>
+    </table>
+  </xsl:template>
+
+  <xsl:template name="uwcbutton">
+    <xsl:param name="class" />
+    <xsl:param name="title"/>
+    <xsl:param name="tabindex" select="1"/>
+    <xsl:param name="type" select="button"/>
+    <xsl:param name="id" />
+    <xsl:param name="name" />
+    <xsl:param name="value" />
+    <xsl:param name="onclick" />
+    <input>
+     <xsl:attribute name="name">
+      <xsl:value-of select="$name" />
+     </xsl:attribute>
+     <xsl:attribute name="class">
+      <xsl:value-of select="$class" />
+     </xsl:attribute>
+     <xsl:attribute name="title">
+      <xsl:value-of select="$title" />
+     </xsl:attribute>
+     <xsl:attribute name="type">
+      <xsl:value-of select="$type" />
+     </xsl:attribute>
+     <xsl:attribute name="id">
+      <xsl:value-of select="$id" />
+     </xsl:attribute>
+     <xsl:attribute name="tabindex">
+      <xsl:value-of select="$tabindex" />
+     </xsl:attribute>
+     <xsl:attribute name="onclick">
+      <xsl:value-of select="$onclick" />
+     </xsl:attribute>
+     <xsl:attribute name="value">
+      <xsl:value-of select="$value" />
+     </xsl:attribute>
+     <xsl:attribute name="onblur">
+       <xsl:text>if (this.disabled==0) this.className='</xsl:text><xsl:value-of select="$class" /><xsl:text>'</xsl:text>
+     </xsl:attribute>
+     <xsl:attribute name="onmouseOver">
+       <xsl:text>if (this.disabled==0) this.className='</xsl:text><xsl:value-of select="$class" /><xsl:text>Hov'</xsl:text>
+     </xsl:attribute>
+    <xsl:attribute name="onFocus">
+       <xsl:text>if (this.disabled==0) this.className='</xsl:text><xsl:value-of select="$class" /><xsl:text>Hov'</xsl:text>
+     </xsl:attribute>
+     <xsl:attribute name="onmouseOut">
+       <xsl:text>if (this.disabled==0) this.className='</xsl:text><xsl:value-of select="$class" /><xsl:text>'</xsl:text>
+     </xsl:attribute>
+    </input>
+ </xsl:template>
+
+
+
+  <!--
+*******************************************************************************
+  * This template prints HTML code for a button
+  * @param label The label of the button
+  * @param href The content of the href represented by the button
+  * @param class [Optional] The css class to use to print the label of the button, default is "button"
+  * @param color [Optional] The color of the button, default is defined by css-select.css depending on the colorset
+  * @param bgColorIndex [Optional] The background color index ('b', 'w' or 'h') on wich the button is going to be output, default is 'b'
+*******************************************************************************
+  -->
+  <xsl:template name="button">
+    <xsl:param name="label" />
+    <xsl:param name="href" select="'javascript:urlNotYetAvailable()'"/>
+    <xsl:param name="target" select="'_self'"/>
+    <xsl:param name="disabled" select="false()" />
+    <xsl:param name="color" select="$buttonColor"/>
+    <xsl:param name="bgColorIndex" select="'b'" />
+
+    <xsl:variable name="path" select="concat('../absimx/', $colorTheme, '/')"/>
+    <xsl:variable name="lowerLeft.gif">
+      <xsl:value-of select="$path" />
+      <xsl:value-of select="'LL_corner_'" />
+      <xsl:if test="not($disabled)">
+        <xsl:value-of select="concat($color, '_')" />
+      </xsl:if>
+      <xsl:value-of select="concat($bgColorIndex,'.gif')" />
+    </xsl:variable>
+    <xsl:variable name="lowerRight.gif">
+      <xsl:value-of select="$path" />
+      <xsl:value-of select="'LR_corner_'" />
+      <xsl:if test="not($disabled)">
+        <xsl:value-of select="concat($color, '_')" />
+      </xsl:if>
+      <xsl:value-of select="concat($bgColorIndex,'.gif')" />
+    </xsl:variable>
+    <xsl:variable name="upperLeft.gif">
+      <xsl:value-of select="$path" />
+      <xsl:value-of select="'UL_corner_'" />
+      <xsl:if test="not($disabled)">
+        <xsl:value-of select="concat($color, '_')" />
+      </xsl:if>
+      <xsl:value-of select="concat($bgColorIndex,'.gif')" />
+    </xsl:variable>
+    <xsl:variable name="upperRight.gif">
+      <xsl:value-of select="$path" />
+      <xsl:value-of select="'UR_corner_'" />
+      <xsl:if test="not($disabled)">
+        <xsl:value-of select="concat($color, '_')" />
+      </xsl:if>
+      <xsl:value-of select="concat($bgColorIndex,'.gif')" />
+    </xsl:variable>
+
+    <table cellspacing="0" cellpadding="0" border="0">
+      <xsl:attribute name="style">
+        <xsl:value-of select="'background-color: #'" />
+        <xsl:choose>
+          <xsl:when test="$disabled">
+            <xsl:value-of select="'999999'" />
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$color" />
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+
+      <tbody>
+        <tr>
+          <!-- Start of button1 TOP -->
+          <td valign="top">
+            <xsl:choose>
+              <xsl:when test="not($disabled)">
+                <a href="{$href}" target="{$target}">
+                  <img height="8" alt=" " src="{$upperLeft.gif}" width="8" border="0"/>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img height="8" alt=" " src="{$upperLeft.gif}" width="8" border="0"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </td>
+
+          <td valign="center" align="middle" rowspan="2">
+            <xsl:attribute name="nowrap" />
+            <xsl:choose>
+              <xsl:when test="$disabled">
+                <span class="button-disabled">
+                  <xsl:value-of select="$label" />
+                </span>
+              </xsl:when>
+              <xsl:otherwise>
+                <a target="{$target}" href="{$href}" class="button">
+                  <xsl:value-of select="$label" />
+                </a>
+              </xsl:otherwise>
+            </xsl:choose>
+           </td>
+
+          <td valign="top">
+            <xsl:choose>
+              <xsl:when test="not($disabled)">
+                <a target="{$target}" href="{$href}">
+                  <img height="8" alt=" " src="{$upperRight.gif}" width="8" border="0"/>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img height="8" alt=" " src="{$upperRight.gif}" width="8" border="0"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </td>
+          <!-- End of button1 TOP -->
+        </tr>
+        <tr>
+          <!-- Start of button1 BOTTOM -->
+          <td valign="bottom">
+            <xsl:choose>
+              <xsl:when test="not($disabled)">
+                <a target="{$target}" href="{$href}">
+                  <img height="8" alt=" " src="{$lowerLeft.gif}" width="8" border="0"/>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img height="8" alt=" " src="{$lowerLeft.gif}" width="8" border="0"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </td>
+          <td valign="bottom">
+            <xsl:choose>
+              <xsl:when test="not($disabled)">
+                <a target="{$target}" href="{$href}">
+                  <img height="8" alt=" " src="{$lowerRight.gif}" width="8" border="0"/>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img height="8" alt=" " src="{$lowerRight.gif}" width="8" border="0"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </td>
+          <!-- End of button1 bottom -->
+        </tr>
+      </tbody>
+    </table>
+  </xsl:template>
+
+  <!--
+*******************************************************************************
+  * This template prints the action buttons Save, Cancel and Help
+  * For each button is called the javascript function of the same name :
+  *   save(), cancel(), help()
+  * The core of those functions must be declared in the main template
+*******************************************************************************
+  -->
+  <xsl:template name="save-cancel-help-bar">
+    <xsl:param name="actionframe"/>
+    <table border="0" cellspacing="0" cellpadding="0" width="100&#37;" summary="This table displays the save, canceland help buttons">
+      <tbody>
+      <tr>
+      <td align="right">
+        <input class="Btn1" type="submit" name="Button5" id="button" onMouseOver="if (this.disabled==0) this.className='Btn1Hov'" onFocus="if (this.disabled==0) this.className='Btn1Hov'" onMouseOut="if (this.disabled==0) this.className='Btn1'" onBlur="if (this.disabled==0) this.className='Btn1'" tabindex="2">
+          <xsl:attribute name="value">
+             <xsl:text>_Save</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+             <xsl:text>_Save</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name="onClick">
+            <xsl:text>javascript:</xsl:text>
+            <xsl:if test="string-length($actionframe) &gt; 0">
+              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
+            </xsl:if>
+            <xsl:text>save()</xsl:text>
+          </xsl:attribute>
+        </input>
+        &nbsp;
+        <input class="Btn2" type="submit" name="Button5" id="button" onMouseOver="if (this.disabled==0) this.className='Btn2Hov'" onFocus="if (this.disabled==0) this.className='Btn2Hov'" onMouseOut="if (this.disabled==0) this.className='Btn2'" onBlur="if (this.disabled==0) this.className='Btn2'" tabindex="3">
+          <xsl:attribute name="value">
+             <xsl:text>_Cancel</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+             <xsl:text>_Cancel</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name="onClick">
+            <xsl:text>javascript:</xsl:text>
+            <xsl:if test="string-length($actionframe) &gt; 0">
+              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
+            </xsl:if>
+            <xsl:text>cancel()</xsl:text>
+          </xsl:attribute>
+        </input>
+        &nbsp;
+        <input class="Btn2" type="submit" name="Button52" id="button" onMouseOver="if (this.disabled==0) this.className='Btn2Hov'" onFocus="if (this.disabled==0) this.className='Btn2Hov'" onMouseOut="if (this.disabled==0) this.className='Btn2'" onBlur="if (this.disabled==0) this.className='Btn2'" tabindex="4">
+         <xsl:attribute name="value">
+             <xsl:text>_Help</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+             <xsl:text>_Help</xsl:text>
+          </xsl:attribute>
+      <xsl:attribute name="onClick">
+                <xsl:text>javascript:</xsl:text>
+                <xsl:if test="string-length($actionframe) &gt; 0">
+<xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
+                </xsl:if>
+                <xsl:text>help()</xsl:text>
+              </xsl:attribute>
+            </input>
+      </td>
+     </tr>
+     <tr>
+       <td colspan="3"><img alt="" src="{$spacer.gif}" width="1" height="6"/></td>
+     </tr>
+     </tbody>
+    </table>
+  </xsl:template>
+
+
+<xsl:template name="edit-delete-cancel-help-bar">
+    <xsl:param name="helpurl" select="'javascript:urlNotYetAvailable()'" />
+    <xsl:param name="actionframe"/>
+    <xsl:param name="group"/>
+    <td>
+       <input class="Btn2" id="delete" onblur="if (this.disabled==0) this.className='Btn2'" onmouseover="if (this.disabled==0) this.className='Btn2Hov'" onfocus="if (this.disabled==0) this.className='Btn2Hov'" tabIndex="5" onmouseout="if (this.disabled==0) this.className='Btn2'" type="button" name="delete">
+        <xsl:attribute name="value">
+             <xsl:text>_Delete</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+             <xsl:text>_Delete</xsl:text>
+          </xsl:attribute>
+       <xsl:attribute name="onClick">
+            <xsl:text>javascript:</xsl:text>
+               <xsl:if test="string-length($actionframe) &gt; 0">
+<xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
+               </xsl:if>
+<xsl:text>deleteSelectedGroup()</xsl:text>
+          </xsl:attribute>
+        </input>
+        &nbsp;
+       <input class="Btn2" id="edit" onBlur="if (this.disabled==0) this.className='Btn2'" onMouseOver="if (this.disabled==0) this.className='Btn2Hov'" onFocus="if (this.disabled==0) this.className='Btn2Hov'" tabindex="4" onMouseOut="if (this.disabled==0) this.className='Btn2'" type="button" name="edit">
+        <xsl:attribute name="value">
+             <xsl:text>_Edit</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+             <xsl:text>_Edit</xsl:text>
+          </xsl:attribute>
+       <xsl:attribute name="onClick">
+            <xsl:text>javascript:</xsl:text>
+            <xsl:if test="string-length($actionframe) &gt; 0">
+              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
+            </xsl:if>
+            <xsl:text>editSelectedGroup()</xsl:text>
+        </xsl:attribute>
+       </input>
+       </td>
+      <td align="right">
+      <input class="Btn1" id="save" onblur="if (this.disabled==0) this.className='Btn1'" onmouseover="if (this.disabled==0) this.className='Btn1Hov'" onfocus="if (this.disabled==0) this.className='Btn1Hov'" tabIndex="1" onmouseout="if (this.disabled==0) this.className='Btn1'" type="button" name="close">
+         <xsl:attribute name="value">
+             <xsl:text>_Close</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+             <xsl:text>_Close</xsl:text>
+          </xsl:attribute>
+         <xsl:attribute name="onClick">
+            <xsl:text>javascript:</xsl:text>
+            <xsl:if test="string-length($actionframe) &gt; 0">
+              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
+            </xsl:if>
+            <xsl:text>cancel()</xsl:text>
+         </xsl:attribute>
+       </input>&nbsp;
+       <input class="Btn2" id="help" onblur="if (this.disabled==0) this.className='Btn2'" onmouseover="if (this.disabled==0) this.className='Btn2Hov'" onfocus="if (this.disabled==0) this.className='Btn2Hov'"  tabIndex="3" onmouseout="if (this.disabled==0) this.className='Btn2'" type="button" name="help">
+          <xsl:attribute name="value">
+             <xsl:text>_Help</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+             <xsl:text>_Help</xsl:text>
+          </xsl:attribute>
+        <xsl:attribute name="onClick">
+         <xsl:text>javascript:</xsl:text>
+            <xsl:if test="string-length($actionframe) &gt; 0">
+              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
+            </xsl:if>
+            <xsl:text>help()</xsl:text>
+         </xsl:attribute>
+         </input>
+          </td>
+</xsl:template>
+
+
+  <!--
+*******************************************************************************
+  * This template prints the action buttons Save, 'Save and Add Another', Cancel and Help
+  * For each button is called the javascript function of the same name :
+  *   save(), saveAndAddAnother(), cancel(), help()
+  * The core of those functions must be declared in the main template
+*******************************************************************************
+  -->
+  <xsl:template name="save-saveandaddanother-cancel-help-bar">
+    <xsl:param name="actionframe"/>
+    <table border="0" cellspacing="0" cellpadding="0" width="100&#37;" summary="This table displays the save, save-and-add-another,  cancel and help buttons">
+      <tbody>
+      <tr>
+      <td align="right">
+        <input class="Btn1" type="submit" name="Button5" id="button" onMouseOver="if (this.disabled==0) this.className='Btn1Hov'" onFocus="if (this.disabled==0) this.className='Btn1Hov'" onMouseOut="if (this.disabled==0) this.className='Btn1'" onBlur="if (this.disabled==0) this.className='Btn1'" tabindex="2">
+          <xsl:attribute name="value">
+             <xsl:text>_Save</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+             <xsl:text>_Save</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name="onClick">
+            <xsl:text>javascript:</xsl:text>
+            <xsl:if test="string-length($actionframe) &gt; 0">
+              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
+            </xsl:if>
+            <xsl:text>save()</xsl:text>
+          </xsl:attribute>
+        </input>
+        &nbsp;
+        <input class="Btn1" type="submit" name="Button5" id="button" onMouseOver="if (this.disabled==0) this.className='Btn1Hov'" onFocus="if (this.disabled==0) this.className='Btn1Hov'" onMouseOut="if (this.disabled==0) this.className='Btn1'" onBlur="if (this.disabled==0) this.className='Btn1'" tabindex="3">
+            <xsl:attribute name="value">
+             <xsl:text>_Save and Add Another</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+             <xsl:text>_Save and Add Another</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name="onClick">
+            <xsl:text>javascript:</xsl:text>
+            <xsl:if test="string-length($actionframe) &gt; 0">
+              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
+            </xsl:if>
+            <xsl:text>save(true)</xsl:text>
+          </xsl:attribute>
+        </input>
+        &nbsp;
+        <input class="Btn2" type="submit" name="Button51" id="button" onMouseOver="if (this.disabled==0) this.className='Btn2Hov'" onFocus="if (this.disabled==0) this.className='Btn2Hov'" onMouseOut="if (this.disabled==0) this.className='Btn2'" onBlur="if (this.disabled==0) this.className='Btn2'" tabindex="4">
+            <xsl:attribute name="value">
+             <xsl:text>_Cancel</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+             <xsl:text>_Cancel</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name="onClick">
+            <xsl:text>javascript:</xsl:text>
+            <xsl:if test="string-length($actionframe) &gt; 0">
+              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
+            </xsl:if>
+            <xsl:text>cancel()</xsl:text>
+          </xsl:attribute>
+        </input>
+        &nbsp;
+        <input class="Btn2" type="submit" name="Button52" id="button" onMouseOver="if (this.disabled==0) this.className='Btn2Hov'" onFocus="if (this.disabled==0) this.className='Btn2Hov'" onMouseOut="if (this.disabled==0) this.className='Btn2'" onBlur="if (this.disabled==0) this.className='Btn2'" onClick="" tabindex="5">
+         <xsl:attribute name="value">
+             <xsl:text>_Help</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+             <xsl:text>_Help</xsl:text>
+          </xsl:attribute>
+      <xsl:attribute name="onClick">
+                <xsl:text>javascript:</xsl:text>
+                <xsl:if test="string-length($actionframe) &gt; 0">
+<xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
+                </xsl:if>
+                <xsl:text>help()</xsl:text>
+              </xsl:attribute>
+            </input>
+      </td>
+     </tr>
+     <tr>
+       <td colspan="3"><img alt="" src="{$spacer.gif}" width="1" height="6"/></td>
+     </tr>
+     </tbody>
+    </table>
+  </xsl:template>
+
+  <!--
+*******************************************************************************
+  * This template prints the action buttons Ok, Cancel and Help
+  * For each button is called the javascript function of the same name :
+  *   ok(), cancel(), help()
+  * The core of those functions must be declared in the main template
+*******************************************************************************
+  -->
+  <xsl:template name="ok-cancel-help-bar">
+    <xsl:param name="buttontext" select="'OK'" />
+    <xsl:param name="buttoncontext" select="'_OK'" />
+    <xsl:param name="language" select="'en'"/>
+    <xsl:param name="actionframe"/>
+    <table border="0" cellspacing="0" cellpadding="0" width="100&#37;" summary="This table displays the ok, cancel and help buttons">
+      <tbody>
+      <tr>
+      <td align="right">
+        <input class="Btn1" type="submit" name="Button" id="button" onmouseover="if (this.disabled==0) this.className='Btn1Hov'" onfocus="if (this.disabled==0) this.className='Btn1Hov'" onmouseout="if (this.disabled==0) this.className='Btn1'" onblur="if (this.disabled==0) this.className='Btn1'" tabindex="1">
+          <xsl:attribute name="value"><xsl:value-of select="$buttontext"/></xsl:attribute>
+          <xsl:attribute name="title"><xsl:value-of select="$buttontext"/></xsl:attribute>
+          <xsl:attribute name="onClick">
+            <xsl:text>javascript:</xsl:text>
+            <xsl:if test="string-length($actionframe) &gt; 0">
+              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/>
+              <xsl:text>.</xsl:text>
+            </xsl:if>
+            <xsl:text>ok()</xsl:text>
+          </xsl:attribute>
+        </input>
+        &nbsp;
+        <input class="Btn2" type="submit" name="Button5" id="button" onMouseOver="if (this.disabled==0) this.className='Btn2Hov'" onFocus="if (this.disabled==0) this.className='Btn2Hov'" onMouseOut="if (this.disabled==0) this.className='Btn2'" onBlur="if (this.disabled==0) this.className='Btn2'" tabindex="3">
+         <xsl:attribute name="value">
+          <xsl:text>_Cancel</xsl:text>
+         </xsl:attribute>
+         <xsl:attribute name="title">
+           <xsl:text>_Cancel</xsl:text>
+         </xsl:attribute>
+          <xsl:attribute name="onClick">
+            <xsl:text>javascript:</xsl:text>
+            <xsl:if test="string-length($actionframe) &gt; 0">
+              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
+            </xsl:if>
+            <xsl:text>cancel()</xsl:text>
+          </xsl:attribute>
+        </input>
+        &nbsp;
+        <input class="Btn2" type="submit" name="Button52" id="button" onMouseOver="if (this.disabled==0) this.className='Btn2Hov'" onFocus="if (this.disabled==0) this.className='Btn2Hov'" onMouseOut="if (this.disabled==0) this.className='Btn2'" onBlur="if (this.disabled==0) this.className='Btn2'" onClick="" tabindex="4">
+         <xsl:attribute name="value">
+          <xsl:text>_Help</xsl:text>
+         </xsl:attribute>
+         <xsl:attribute name="title">
+           <xsl:text>_Help</xsl:text>
+         </xsl:attribute>
+         <xsl:attribute name="onClick">
+           <xsl:text>javascript:openhelp('</xsl:text>
+           <xsl:choose>
+           <xsl:when test="$buttoncontext='AddInvitees'">
+             <xsl:value-of select="/xslui/@contexturi"/>
+             <xsl:text>/help/</xsl:text><xsl:value-of select="$language"/><xsl:text>/p5.html#aefay');</xsl:text>
+           </xsl:when>
+           <xsl:when test="$buttoncontext='_addaddresses' or $buttoncontext='addaddresses'" >
+            <xsl:value-of select="/xslui/@contexturi"/>
+            <xsl:text>/help/</xsl:text><xsl:value-of select="$language"/><xsl:text>/p5.html#aefaz');</xsl:text>
+           </xsl:when>
+           <xsl:when test="$buttoncontext='_addrecipients'">
+             <xsl:value-of select="/xslui/@contexturi"/>
+             <xsl:text>/help/</xsl:text><xsl:value-of select="$language"/><xsl:text>/p6.html#aefba');</xsl:text>
+           </xsl:when>
+          <xsl:when test="$buttoncontext='Subscribe'">
+             <xsl:value-of select="/xslui/@contexturi"/>
+             <xsl:text>/help/</xsl:text><xsl:value-of select="$language"/><xsl:text>/p9.html#gbmoc');</xsl:text>
+           </xsl:when>
+          <xsl:when test="$buttoncontext='_addaddress'">
+             <xsl:value-of select="/xslui/@contexturi"/>
+             <xsl:text>/help/</xsl:text><xsl:value-of select="$language"/><xsl:text>/p36.html#gbfgy');</xsl:text>
+           </xsl:when>
+         <xsl:otherwise>
+           <xsl:value-of select="/xslui/@contexturi"/>
+           <xsl:text>/help/</xsl:text><xsl:value-of select="$language"/><xsl:text>/p6.html#aefbb');</xsl:text>
+         </xsl:otherwise>
+       </xsl:choose>
+      </xsl:attribute>
+      </input>
+      </td>
+     </tr>
+     <tr>
+       <td colspan="3"><img alt="" src="{$spacer.gif}" width="1" height="6"/></td>
+     </tr>
+     </tbody>
+    </table>
+  </xsl:template>
+
+  <!--
+*******************************************************************************
+  * This template prints the action buttons Return and Help
+  * For each button is called the javascript function of the same name :
+  *   goBack(), help()
+  * The core of those functions must be declared in the main template
+*******************************************************************************
+  -->
+  <xsl:template name="close-help-bar">
+    <xsl:param name="helpurl" select="'javascript:urlNotYetAvailable()'" />
+    <table cellspacing="0" cellpadding="0" border="0" summary="This table displays the goback and help buttons">
+      <tbody>
+        <tr>
+          <td><img alt="" height="9" src="{$spacer.gif}" width="1" /></td>
+        </tr>
+        <tr>
+          <td>
+            <xsl:call-template name="button">
+              <xsl:with-param name="label">
+                <xsl:text>_Close</xsl:text>
+              </xsl:with-param>
+              <xsl:with-param name="href">
+                <xsl:text>javascript:goBack()</xsl:text>
+              </xsl:with-param>
+              <xsl:with-param name="bgColorIndex" select="'w'"/>
+            </xsl:call-template>
+          </td>
+          <td>
+            <img height="1" alt=" " src="{$spacer.gif}" width="5" border="0"/>
+          </td>
+          <td>
+            <xsl:call-template name="button">
+              <xsl:with-param name="label">
+                <xsl:text>_Help</xsl:text>
+              </xsl:with-param>
+              <xsl:with-param name="href">
+<xsl:text>javascript:openhelp('</xsl:text>
+                <xsl:value-of select="$helpurl"/>
+                <xsl:text>')</xsl:text>
+              </xsl:with-param>
+              <xsl:with-param name="bgColorIndex" select="'w'"/>
+            </xsl:call-template>
+          </td>
+        </tr>
+        <tr>
+          <td><img alt="" height="9" src="{$spacer.gif}" width="1" /></td>
+        </tr>
+      </tbody>
+    </table>
+  </xsl:template>
+
+  <!--
+*****************************************************************************
+  * This template prints a legend concerning required info.
+*****************************************************************************
+  -->
+  <xsl:template name="requiredInfo">
+    <table cellspacing="0" cellpadding="0" border="0" bgcolor="#FFFFFF" width="100&#37;" summary="This table contains the legend concerning required info">
+      <tr>
+        <td colspan="3">
+          <img alt="" src="{$spacer.gif}" width="1" height="3" />
+        </td>
+      </tr>
+      <tr>
+      <td>&nbsp;</td>
+      <td>
+        <table cellspacing="0" cellpadding="0" border="0">
+          <tr>
+            <td valign="top">
+              <font color="#0000FF" class="bold">*</font>
+            </td>
+            <td>&nbsp;</td>
+            <td>
+              <span class="reduced-text">
+                <xsl:text>_Indicates required information</xsl:text>
+              </span>
+            </td>
+          </tr>
+        </table>
+      </td>
+      <td>&nbsp;</td>
+      </tr>
+    </table>
+  </xsl:template>
+
+</xsl:stylesheet>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/Bug6879614Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,74 @@
+/*
+ * 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.File;
+import java.io.IOException;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6879614
+ * @summary Test DocumentBuilder can parse the certain xml.
+ */
+public class Bug6879614Test {
+
+    @Test
+    public void testAttributeCaching() {
+        File xmlFile = new File(getClass().getResource("Bug6879614.xml").getFile());
+        DocumentBuilderFactory _documentBuilderFactory = DocumentBuilderFactory.newInstance();
+        _documentBuilderFactory.setValidating(false);
+        _documentBuilderFactory.setIgnoringComments(true);
+        _documentBuilderFactory.setIgnoringElementContentWhitespace(true);
+        _documentBuilderFactory.setCoalescing(true);
+        _documentBuilderFactory.setExpandEntityReferences(true);
+        _documentBuilderFactory.setNamespaceAware(true);
+        DocumentBuilder _documentBuilder = null;
+        try {
+            _documentBuilder = _documentBuilderFactory.newDocumentBuilder();
+        } catch (ParserConfigurationException pce) {
+            pce.printStackTrace();
+        }
+
+        Document xmlDoc = null;
+        try {
+            xmlDoc = _documentBuilder.parse(xmlFile);
+            if (xmlDoc == null) {
+                System.out.println("Hello!!!, there is a problem here");
+            } else {
+                System.out.println("Good, the parsing went through fine.");
+            }
+        } catch (SAXException se) {
+            se.printStackTrace();
+        } catch (IOException ioe) {
+            ioe.printStackTrace();
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/CR6333993Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,84 @@
+/*
+ * 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 javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathConstants;
+import javax.xml.xpath.XPathExpression;
+import javax.xml.xpath.XPathFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.NodeList;
+
+/*
+ * @bug 6333993
+ * @summary Test NodeList.item(valid index) returns value after NodeList.item(NodeList.getLength()).
+ */
+public class CR6333993Test {
+
+    @Test
+    public void testNodeList() {
+        int n = 5;
+        while (0 != (n--))
+            ;
+        System.out.println("n=" + n);
+        try {
+            String testXML = "<root>" + "  <node/>" + "  <node/>" + "  <node/>" + "  <node/>" + "</root>\n";
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            // dbf.setNamespaceAware(true);
+            DocumentBuilder builder = dbf.newDocumentBuilder();
+            ByteArrayInputStream bis = new ByteArrayInputStream(testXML.getBytes());
+            Document testDoc = builder.parse(bis);
+            XPathFactory xpathFactory = XPathFactory.newInstance();
+            XPath xpath = xpathFactory.newXPath();
+            XPathExpression expr = xpath.compile("/root/node");
+            NodeList testNodes = (NodeList) expr.evaluate(testDoc, XPathConstants.NODESET);
+            // Node list appears to work correctly
+            System.out.println("testNodes.getLength() = " + testNodes.getLength());
+            System.out.println("testNodes[0] = " + testNodes.item(0));
+            System.out.println("testNodes[0] = " + testNodes.item(0));
+            System.out.println("testNodes.getLength() = " + testNodes.getLength());
+            // Access past the end of the NodeList correctly returns null
+            System.out.println("testNodes[testNodes.getLength()] = " + testNodes.item(testNodes.getLength()));
+            // BUG! First access of valid node after accessing past the end
+            // incorrectly returns null
+            if (testNodes.item(0) == null) {
+                System.out.println("testNodes[0] = null");
+                Assert.fail("First access of valid node after accessing past the end incorrectly returns null");
+            }
+            // Subsequent access of valid node correctly returns the node
+            System.out.println("testNodes[0] = " + testNodes.item(0));
+        } catch (Exception ex) {
+            ex.printStackTrace();
+        }
+
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/CR6517707Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,124 @@
+/*
+ * 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.InputStreamReader;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.DOMException;
+import org.w3c.dom.Document;
+import org.w3c.dom.Entity;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6517707
+ * @summary Test Node.setNodeValue(value) shall throw DOMException.NO_MODIFICATION_ALLOWED_ERR if the node is read-only.
+ */
+public class CR6517707Test {
+
+    @Test
+    public void testCanonicalForm001() {
+        String data = "<?xml version=\"1.0\" ?>" + "<!DOCTYPE root [" + "<!ELEMENT root ANY>" + "<!ENTITY ent \"foo\">"
+                + "<!NOTATION not PUBLIC \"http://xxx.xxx.xx/x.txt\">" + "]>" + "<root>" + "</root>";
+
+        Document document = null;
+        try {
+            DocumentBuilderFactory docBF = DocumentBuilderFactory.newInstance();
+            docBF.setNamespaceAware(true);
+            DocBuilderWrapper docBuilder = new DocBuilderWrapper(docBF.newDocumentBuilder());
+            document = docBuilder.parse(data);
+        } catch (ParserConfigurationException e) {
+            // return Status.failed(e.toString());
+        } catch (IOException e) {
+            // return Status.failed(e.toString());
+        } catch (SAXException e) {
+            // return Status.failed(e.toString());
+        }
+
+        Entity anEntity = (Entity) document.getDoctype().getEntities().item(0);
+        boolean success = false;
+        try {
+            anEntity.setNodeValue("someValue"); // on jdk 6, not even throwing
+                                                // exception
+
+            System.out.println("Should throw DOMException: NO_MODIFICATION_ALLOWED_ERR ");
+        } catch (DOMException e) {
+            if (e.code == DOMException.NO_MODIFICATION_ALLOWED_ERR) {
+                System.out.println(e.getMessage());
+                success = true;
+            } else {
+                System.out.println("should throw DOMException.NO_MODIFICATION_ALLOWED_ERR (7). The error returned is " + e.code);
+            }
+        }
+        if (!success) {
+            Assert.fail("should throw DOMException.NO_MODIFICATION_ALLOWED_ERR (7).");
+        }
+    }
+
+    class DocBuilderWrapper {
+
+        private DocumentBuilder docBuilder;
+        private final String ENCODING = "UTF-8";
+
+        public DocBuilderWrapper() throws ParserConfigurationException {
+            this.docBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
+        }
+
+        public DocBuilderWrapper(DocumentBuilder docBuilder) {
+            setDocumentBuilder(docBuilder);
+        }
+
+        public DocumentBuilder getDocumentBuilder() {
+            return docBuilder;
+        }
+
+        public void setDocumentBuilder(DocumentBuilder docBuilder) {
+            if (docBuilder == null) {
+                new IllegalArgumentException("DocumentBuilder cannot be null");
+            }
+
+            this.docBuilder = docBuilder;
+        }
+
+        public Document parse(String xmlData) throws IOException, SAXException {
+            if (xmlData == null) {
+                new IllegalArgumentException("String cannot be null");
+            }
+
+            ByteArrayInputStream bis = new ByteArrayInputStream(xmlData.getBytes(ENCODING));
+            InputStreamReader isr = new InputStreamReader(bis, ENCODING);
+            InputSource source = new InputSource(isr);
+            return docBuilder.parse(source);
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/CR6517717Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,82 @@
+/*
+ * 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.IOException;
+import java.io.StringReader;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.DOMException;
+import org.w3c.dom.Document;
+import org.w3c.dom.Entity;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6517717
+ * @summary Test Node.setPrefix(prefix) shall throw DOMException.NO_MODIFICATION_ALLOWED_ERR if the node is read-only.
+ */
+public class CR6517717Test {
+
+    @Test
+    public void testCanonicalForm001() {
+        String data = "<?xml version=\"1.0\" ?>" + "<!DOCTYPE test:root [" + "<!ELEMENT test:root ANY>" + "<!ENTITY ent \"foo\">"
+                + "<!ATTLIST test:root test:a CDATA #FIXED \"qqq\">" + "]>" + "<test:root xmlns:test=\"http://xxxx.xx/\">" + "</test:root>";
+
+        Document document = null;
+        try {
+            DocumentBuilder docBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
+            document = docBuilder.parse(new InputSource(new StringReader(data)));
+        } catch (ParserConfigurationException e) {
+            System.out.println(e.toString());
+        } catch (IOException e) {
+            System.out.println(e.toString());
+        } catch (SAXException e) {
+            System.out.println(e.toString());
+        }
+
+        Entity anEntity = (Entity) document.getDoctype().getEntities().item(0);
+        boolean success = false;
+        try {
+            anEntity.setPrefix("test1");
+            System.out.println("Should throw DOMException: NO_MODIFICATION_ALLOWED_ERR ");
+        } catch (DOMException e) {
+            if (e.code == DOMException.NO_MODIFICATION_ALLOWED_ERR) {
+                System.out.println("OK");
+                success = true;
+            } else {
+                System.out.println("should throw DOMException.NO_MODIFICATION_ALLOWED_ERR (7). The error returned is (" + e.code + ")" + e.getMessage());
+            }
+        }
+        if (!success) {
+            Assert.fail("should throw DOMException.NO_MODIFICATION_ALLOWED_ERR (7).");
+        }
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/CR6909336Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,68 @@
+/*
+ * 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.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamWriter;
+import javax.xml.transform.dom.DOMResult;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.bootstrap.DOMImplementationRegistry;
+
+/*
+ * @bug 6909336
+ * @summary Test DOM writer can write more that 20 nested elements.
+ */
+public class CR6909336Test {
+
+    @Test
+    public void test() {
+        try {
+            Document doc = DOMImplementationRegistry.newInstance().getDOMImplementation("XML 3.0").createDocument("", "root", null);
+            XMLStreamWriter xsw = XMLOutputFactory.newInstance().createXMLStreamWriter(new DOMResult(doc.getDocumentElement()));
+            for (int i = 0; i < 30; ++i) {
+                xsw.writeStartElement("nested");
+            }
+        } catch (RuntimeException ex) {
+            System.out.println("RuntimeException ex" + ex.getMessage());
+            if (ex.getMessage().equals("20")) {
+                Assert.fail("XMLDOMWriter cannot write more that 20 nested elements");
+            }
+        } catch (XMLStreamException ex) {
+            System.out.println("XMLStreamException ex" + ex.getMessage());
+        } catch (ClassNotFoundException ex) {
+            System.out.println("ClassNotFoundException ex" + ex.getMessage());
+        } catch (InstantiationException ex) {
+            System.out.println("InstantiationException ex" + ex.getMessage());
+        } catch (IllegalAccessException ex) {
+            System.out.println("IllegalAccessException ex" + ex.getMessage());
+
+        }
+
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/DOMConfigurationTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,1624 @@
+/*
+ * 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.IOException;
+import java.io.StringReader;
+import java.net.URISyntaxException;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.FactoryConfigurationError;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Attr;
+import org.w3c.dom.CDATASection;
+import org.w3c.dom.Comment;
+import org.w3c.dom.DOMConfiguration;
+import org.w3c.dom.DOMError;
+import org.w3c.dom.DOMErrorHandler;
+import org.w3c.dom.DOMException;
+import org.w3c.dom.DOMImplementation;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Entity;
+import org.w3c.dom.NamedNodeMap;
+import org.w3c.dom.Node;
+import org.w3c.dom.ProcessingInstruction;
+import org.w3c.dom.Text;
+import org.w3c.dom.ls.DOMImplementationLS;
+import org.w3c.dom.ls.LSInput;
+import org.w3c.dom.ls.LSParser;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+
+/*
+ * @summary Test DOMConfiguration for supported properties.
+ */
+public class DOMConfigurationTest {
+
+    static class TestHandler implements DOMErrorHandler {
+        private String warning;
+        private String error;
+        private String fatalError;
+
+        public String getError() {
+            return error;
+        }
+
+        public String getFatalError() {
+            return fatalError;
+        }
+
+        public String getWarning() {
+            return warning;
+        }
+
+        public boolean handleError(DOMError error) {
+            if (error.getSeverity() == DOMError.SEVERITY_ERROR) {
+                this.error = "" + error.getMessage();
+                return false;
+            }
+            if (error.getSeverity() == DOMError.SEVERITY_FATAL_ERROR) {
+                this.fatalError = "" + error.getMessage();
+                return false;
+            }
+            this.warning = "" + error.getMessage();
+            return true; // warning
+        }
+    }
+
+    static class TestFailureHandler implements DOMErrorHandler {
+        public boolean handleError(DOMError error) {
+            if (error.getSeverity() == DOMError.SEVERITY_ERROR) {
+                Assert.fail("Error: " + error.getMessage());
+            }
+            if (error.getSeverity() == DOMError.SEVERITY_FATAL_ERROR) {
+                Assert.fail("Fatal error: " + error.getMessage());
+            }
+            return true; // warning
+        }
+    }
+
+    void setHandler(Document doc) {
+        doc.getDomConfig().setParameter("error-handler", new TestFailureHandler());
+    }
+
+    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";
+
+    static final String XMLNS = "http://www.w3.org/2000/xmlns/";
+
+    static Document loadDocument(String schemaURL, String instanceText) {
+        Document document = null;
+        try {
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            dbf.setNamespaceAware(true);
+            dbf.setValidating(true);
+            if (schemaURL != null) {
+                dbf.setAttribute(SCHEMA_LANGUAGE, XMLConstants.W3C_XML_SCHEMA_NS_URI);
+                dbf.setAttribute(SCHEMA_SOURCE, schemaURL);
+            }
+            DocumentBuilder parser = dbf.newDocumentBuilder();
+
+            InputSource inSource = new InputSource(new StringReader(instanceText));
+            inSource.setSystemId("doc.xml");
+            document = parser.parse(inSource);
+        } catch (ParserConfigurationException e) {
+            Assert.fail(e.toString());
+        } catch (IOException e) {
+            Assert.fail(e.toString());
+        } catch (SAXException e) {
+            Assert.fail(e.toString());
+        }
+
+        return document;
+    }
+
+    static final String test_xml = "<?xml version=\"1.0\"?>\n" + "<test:root xmlns:test=\"test\" \n"
+            + "           xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" \n" + ">&#x9;&#xA;&#xD; 1 </test:root>\n";
+
+    static final String test1_xml = "<?xml version=\"1.0\"?>\n" + "<!DOCTYPE root [\n" + "    <!ELEMENT root ANY>\n" + "    <!ENTITY x \"X\">\n" + "]>\n"
+            + "<root/>\n";
+
+    static final String test2_xml = "<?xml version=\"1.0\"?>\n" + "<!DOCTYPE root [\n" + "    <!ELEMENT root ANY>\n"
+            + "    <!ATTLIST root attr CDATA #REQUIRED>\n" + "    <!ENTITY x \"<\">\n" + "]>\n" + "<root attr=\"x\"/>\n";
+
+    static final String test3_xml = "<?xml version=\"1.0\"?>\n" + "<!DOCTYPE root [\n" + "    <!ELEMENT root (elem*)>\n" + "    <!ELEMENT elem EMPTY>\n"
+            + "]>\n" + "<root/>\n";
+
+    static String test1_xsd_url;
+    static {
+        try {
+            test1_xsd_url = DOMConfigurationTest.class.getResource("DOMConfigurationTest.xsd").toURI().toString();
+        } catch (URISyntaxException uriSyntaxException) {
+            Assert.fail(uriSyntaxException.toString());
+        }
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the doc contains two subsequent processing
+     * instrictions, <br>
+     * <b>name</b>: canonical-form <br>
+     * <b>value</b>: true. <br>
+     * <b>Expected results</b>: the subsequent processing instrictions are
+     * separated with a single line break
+     */
+    @Test
+    public void testCanonicalForm001() {
+        DOMImplementation domImpl = null;
+        try {
+            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
+
+        DOMConfiguration config = doc.getDomConfig();
+
+        Element root = doc.getDocumentElement();
+        ProcessingInstruction pi1 = doc.createProcessingInstruction("target1", "data1");
+        ProcessingInstruction pi2 = doc.createProcessingInstruction("target2", "data2");
+
+        root.appendChild(pi1);
+        root.appendChild(pi2);
+
+        if (!config.canSetParameter("canonical-form", Boolean.TRUE)) {
+            System.out.println("OK, setting 'canonical-form' to true is not supported");
+            return;
+        }
+
+        config.setParameter("canonical-form", Boolean.TRUE);
+        setHandler(doc);
+        doc.normalizeDocument();
+
+        Node child1 = root.getFirstChild();
+        Node child2 = child1.getNextSibling();
+
+        if (child2.getNodeType() == Node.PROCESSING_INSTRUCTION_NODE) {
+            Assert.fail("the second child is expected to be a" + "single line break, returned: " + child2);
+        }
+
+        // return Status.passed("OK");
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the parameters "namespaces",
+     * "namespace-declarations", "well-formed", "element-content-whitespace" are
+     * set to false if possible; the parameters "entities",
+     * "normalize-characters", "cdata-sections" are set to true if possible, <br>
+     * <b>name</b>: canonical-form <br>
+     * <b>value</b>: true. <br>
+     * <b>Expected results</b>: the parameters "namespaces",
+     * "namespace-declarations", "well-formed", "element-content-whitespace" are
+     * set to true; the parameters "entities", "normalize-characters",
+     * "cdata-sections" are set to false
+     */
+    @Test
+    public void testCanonicalForm002() {
+        Object[][] params = { { "namespaces", Boolean.TRUE }, { "namespace-declarations", Boolean.TRUE }, { "well-formed", Boolean.TRUE },
+                { "element-content-whitespace", Boolean.TRUE },
+
+                { "entities", Boolean.FALSE }, { "normalize-characters", Boolean.FALSE }, { "cdata-sections", Boolean.FALSE }, };
+
+        DOMImplementation domImpl = null;
+        try {
+            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
+
+        DOMConfiguration config = doc.getDomConfig();
+
+        if (!config.canSetParameter("canonical-form", Boolean.TRUE)) {
+            System.out.println("OK, setting 'canonical-form' to true is not supported");
+            return;
+        }
+
+        for (int i = params.length; --i >= 0;) {
+            Boolean reset = params[i][1].equals(Boolean.TRUE) ? Boolean.FALSE : Boolean.TRUE;
+            if (config.canSetParameter(params[i][0].toString(), reset)) {
+                config.setParameter(params[i][0].toString(), reset);
+            }
+        }
+
+        config.setParameter("canonical-form", Boolean.TRUE);
+
+        StringBuffer result = new StringBuffer();
+
+        for (int i = params.length; --i >= 0;) {
+            Object param = config.getParameter(params[i][0].toString());
+            if (!params[i][1].equals(param)) {
+                result.append("; the parameter \'" + params[i][0] + "\' is set to " + param + ", expected: " + params[i][1]);
+            }
+        }
+
+        if (result.length() > 0) {
+            Assert.fail(result.toString().substring(2));
+        }
+
+        return; // Status.passed("OK");
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the doc's root element contains superfluous
+     * namespace declarations, <br>
+     * <b>name</b>: canonical-form <br>
+     * <b>value</b>: true. <br>
+     * <b>Expected results</b>: the superfluous namespace declarations are
+     * removed
+     */
+    @Test
+    public void testCanonicalForm003() {
+        DOMImplementation domImpl = null;
+        try {
+            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
+
+        DOMConfiguration config = doc.getDomConfig();
+
+        Element root = doc.getDocumentElement();
+        String XMLNS = "http://www.w3.org/2000/xmlns/";
+        root.setAttributeNS(XMLNS, "xmlns:extra1", "ExtraNS1");
+        root.setAttributeNS(XMLNS, "xmlns:extra2", "ExtraNS2");
+
+        if (!config.canSetParameter("canonical-form", Boolean.TRUE)) {
+            System.out.println("OK, setting 'canonical-form' to true is not supported");
+            return;
+        }
+        config.setParameter("canonical-form", Boolean.TRUE);
+        setHandler(doc);
+        doc.normalizeDocument();
+
+        String xmlns2 = root.getAttributeNS(XMLNS, "extra1");
+        if (xmlns2 == null || xmlns2.length() != 0) {
+            Assert.fail("superfluous namespace declarations is not removed: xmlns:extra2 = " + xmlns2);
+        }
+
+        return; // Status.passed("OK");
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: setting the "canonical-form" to true is supported, <br>
+     * <b>name</b>: canonical-form <br>
+     * <b>value</b>: true. <br>
+     * <b>Expected results</b>: one of the following parameters is changed:
+     * "namespaces", "namespace-declarations", "well-formed",
+     * "element-content-whitespace", "entities", "normalize-characters",
+     * "cdata-sections" then "canonical-form" becomes false
+     */
+    @Test
+    public void testCanonicalForm004() {
+        Object[][] params = { { "namespaces", Boolean.TRUE }, { "namespace-declarations", Boolean.TRUE }, { "well-formed", Boolean.TRUE },
+                { "element-content-whitespace", Boolean.TRUE },
+
+                { "entities", Boolean.FALSE }, { "normalize-characters", Boolean.FALSE }, { "cdata-sections", Boolean.FALSE }, };
+
+        DOMImplementation domImpl = null;
+        try {
+            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
+
+        DOMConfiguration config = doc.getDomConfig();
+
+        if (!config.canSetParameter("canonical-form", Boolean.TRUE)) {
+            System.out.println("OK, setting 'canonical-form' to true is not supported");
+            return;
+        }
+
+        StringBuffer result = new StringBuffer();
+
+        for (int i = params.length; --i >= 0;) {
+            config.setParameter("canonical-form", Boolean.TRUE);
+            Boolean changedValue = (params[i][1].equals(Boolean.TRUE)) ? Boolean.FALSE : Boolean.TRUE;
+            if (config.canSetParameter(params[i][0].toString(), changedValue)) {
+                config.setParameter(params[i][0].toString(), changedValue);
+                Object param = config.getParameter("canonical-form");
+                if (!Boolean.FALSE.equals(param)) {
+                    result.append("; setting the parameter '" + params[i][0] + "' to " + changedValue + " does not change 'canonical-form' to false");
+                }
+            }
+        }
+
+        if (result.length() > 0) {
+            Assert.fail(result.toString().substring(2));
+        }
+
+        return; // Status.passed("OK");
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the root element has one CDATASection followed by
+     * one Text node, <br>
+     * <b>name</b>: cdata-sections <br>
+     * <b>value</b>: true. <br>
+     * <b>Expected results</b>: the CDATASection is left intact
+     */
+    @Test
+    public void testCdataSections001() {
+        DOMImplementation domImpl = null;
+        try {
+            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
+
+        String cdataText = "CDATA CDATA CDATA";
+        String textText = "text text text";
+
+        CDATASection cdata = doc.createCDATASection(cdataText);
+        Text text = doc.createTextNode(textText);
+
+        DOMConfiguration config = doc.getDomConfig();
+        config.setParameter("cdata-sections", Boolean.TRUE);
+
+        Element root = doc.getDocumentElement();
+        root.appendChild(cdata);
+        root.appendChild(text);
+
+        setHandler(doc);
+        doc.normalizeDocument();
+
+        Node returned = root.getFirstChild();
+
+        if (returned.getNodeType() != Node.CDATA_SECTION_NODE) {
+            Assert.fail("reurned: " + returned + ", expected: CDATASection");
+        }
+
+        return; // Status.passed("OK");
+
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the root element has one CDATASection followed by
+     * one Text node, <br>
+     * <b>name</b>: cdata-sections <br>
+     * <b>value</b>: false. <br>
+     * <b>Expected results</b>: the root element has one Text node with text of
+     * the CDATASection and the Text node
+     */
+    @Test
+    public void testCdataSections002() {
+        DOMImplementation domImpl = null;
+        try {
+            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
+
+        String cdataText = "CDATA CDATA CDATA";
+        String textText = "text text text";
+
+        CDATASection cdata = doc.createCDATASection(cdataText);
+        Text text = doc.createTextNode(textText);
+
+        DOMConfiguration config = doc.getDomConfig();
+        config.setParameter("cdata-sections", Boolean.FALSE);
+
+        Element root = doc.getDocumentElement();
+        root.appendChild(cdata);
+        root.appendChild(text);
+
+        setHandler(doc);
+        doc.normalizeDocument();
+
+        Node returned = root.getFirstChild();
+
+        if (returned.getNodeType() != Node.TEXT_NODE) {
+            Assert.fail("reurned: " + returned + ", expected: TEXT_NODE");
+        }
+
+        String returnedText = returned.getNodeValue();
+        if (!(cdataText + textText).equals(returnedText)) {
+            Assert.fail("reurned: " + returnedText + ", expected: \"" + cdataText + textText + "\"");
+        }
+
+        return; // Status.passed("OK");
+
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the root element has one Text node with not fully
+     * normalized characters, the 'check-character-normalization' parameter set
+     * to true, <br>
+     * <b>name</b>: error-handler <br>
+     * <b>value</b>: DOMErrorHandler. <br>
+     * <b>Expected results</b>: LSParser calls the specified error handler
+     */
+    @Test
+    public void testCheckCharNorm001() {
+        DOMImplementation domImpl = null;
+        try {
+            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        DOMImplementationLS lsImpl = (DOMImplementationLS) domImpl.getFeature("LS", "3.0");
+
+        if (lsImpl == null) {
+            System.out.println("OK, the DOM implementation does not support the LS 3.0");
+            return;
+        }
+
+        LSParser lsParser = lsImpl.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, null);
+
+        DOMConfiguration config = lsParser.getDomConfig();
+
+        if (!config.canSetParameter("check-character-normalization", Boolean.TRUE)) {
+            System.out.println("OK, setting 'check-character-normalization' to true is not supported");
+            return;
+        }
+
+        config.setParameter("check-character-normalization", Boolean.TRUE);
+
+        TestHandler testHandler = new TestHandler();
+        config.setParameter("error-handler", testHandler);
+
+        LSInput lsInput = lsImpl.createLSInput();
+        lsInput.setStringData("<root>\u0073\u0075\u0063\u0327\u006F\u006E</root>");
+        Document doc = lsParser.parse(lsInput);
+
+        if (null == testHandler.getError()) {
+            Assert.fail("no error is reported, expected 'check-character-normalization-failure'");
+
+        }
+
+        return; // Status.passed("OK");
+
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the root element contains a fully-normalized text, <br>
+     * <b>name</b>: check-character-normalization <br>
+     * <b>value</b>: false. <br>
+     * <b>Expected results</b>: LSParser reports no errors
+     */
+    @Test
+    public void testCheckCharNorm002() {
+        DOMImplementation domImpl = null;
+        try {
+            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        DOMImplementationLS lsImpl = (DOMImplementationLS) domImpl.getFeature("LS", "3.0");
+
+        if (lsImpl == null) {
+            System.out.println("OK, the DOM implementation does not support the LS 3.0");
+            return;
+        }
+
+        LSParser lsParser = lsImpl.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, null);
+
+        DOMConfiguration config = lsParser.getDomConfig();
+
+        if (!config.canSetParameter("check-character-normalization", Boolean.FALSE)) {
+            Assert.fail("setting 'check-character-normalization' to false is not supported");
+        }
+
+        config.setParameter("check-character-normalization", Boolean.FALSE);
+
+        TestHandler testHandler = new TestHandler();
+        config.setParameter("error-handler", testHandler);
+
+        LSInput lsInput = lsImpl.createLSInput();
+        lsInput.setStringData("<root>fully-normalized</root>");
+        Document doc = lsParser.parse(lsInput);
+
+        if (null != testHandler.getError()) {
+            Assert.fail("no error is expected, but reported: " + testHandler.getError());
+
+        }
+
+        return; // Status.passed("OK");
+
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the root element has two Comment nodes, <br>
+     * <b>name</b>: comments <br>
+     * <b>value</b>: true. <br>
+     * <b>Expected results</b>: the Comment nodes belong to the root element
+     */
+    @Test
+    public void testComments001() {
+        DOMImplementation domImpl = null;
+        try {
+            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
+
+        Comment comment1 = doc.createComment("comment1");
+        Comment comment2 = doc.createComment("comment2");
+
+        DOMConfiguration config = doc.getDomConfig();
+        config.setParameter("comments", Boolean.TRUE);
+
+        Element root = doc.getDocumentElement();
+        root.appendChild(comment1);
+        root.appendChild(comment2);
+
+        setHandler(doc);
+        doc.normalizeDocument();
+
+        if (comment1.getParentNode() != root) {
+            Assert.fail("comment1 is attached to " + comment1.getParentNode() + ", but expected to be a child of root");
+        }
+
+        if (comment2.getParentNode() != root) {
+            Assert.fail("comment1 is attached to " + comment2.getParentNode() + ", but expected to be a child of root");
+        }
+
+        return; // Status.passed("OK");
+
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the root element has two Comment nodes, <br>
+     * <b>name</b>: comments <br>
+     * <b>value</b>: false. <br>
+     * <b>Expected results</b>: the root element has no children
+     */
+    @Test
+    public void testComments002() {
+        DOMImplementation domImpl = null;
+        try {
+            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
+
+        Comment comment1 = doc.createComment("comment1");
+        Comment comment2 = doc.createComment("comment2");
+
+        DOMConfiguration config = doc.getDomConfig();
+        config.setParameter("comments", Boolean.FALSE);
+
+        Element root = doc.getDocumentElement();
+        root.appendChild(comment1);
+        root.appendChild(comment2);
+
+        doc.normalizeDocument();
+
+        if (root.getFirstChild() != null) {
+            Assert.fail("root has a child " + root.getFirstChild() + ", but expected to has none");
+        }
+
+        return; // Status.passed("OK");
+
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the root element is declared as int and its value
+     * has subsequent characters #x9 (tab), #xA (line feed) and #xD (carriage
+     * return) , #x20 (space), '1', #x20 (space), <br>
+     * <b>name</b>: datatype-normalization <br>
+     * <b>value</b>: true. <br>
+     * <b>Expected results</b>: after Document.normalizeDocument() is called the
+     * content of the root is '1'
+     */
+    @Test
+    public void testDatatypeNormalization001() {
+        Document doc = null;
+        try {
+            doc = loadDocument(test1_xsd_url, test_xml);
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+
+        DOMConfiguration config = doc.getDomConfig();
+
+        if (!config.canSetParameter("schema-location", test1_xsd_url) || !config.canSetParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI)) {
+            System.out.println("cannot set the parameters 'schema-location' and 'schema-type'" + " to '" + test1_xsd_url + "' and '"
+                    + XMLConstants.W3C_XML_SCHEMA_NS_URI + "' respectively");
+            return;
+        }
+        config.setParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        config.setParameter("schema-location", test1_xsd_url);
+
+        if (!config.canSetParameter("validate", Boolean.TRUE)) {
+            System.out.println("OK, setting 'validate' to true is not supported");
+            return;
+        }
+        config.setParameter("validate", Boolean.TRUE);
+
+        if (!config.canSetParameter("datatype-normalization", Boolean.TRUE)) {
+            System.out.println("OK, setting 'datatype-normalization' to true is not supported");
+            return;
+        }
+        config.setParameter("datatype-normalization", Boolean.TRUE);
+
+        Element root = doc.getDocumentElement();
+        while (root.getFirstChild() != null) {
+            root.removeChild(root.getFirstChild());
+        }
+        root.appendChild(doc.createTextNode("\t\r\n 1 "));
+
+        setHandler(doc);
+        doc.normalizeDocument();
+
+        Node child = root.getFirstChild();
+        if (child == null || child.getNodeType() != Node.TEXT_NODE || !"1".equals(child.getNodeValue())) {
+            Assert.fail("child: " + child + ", expected: text node '1'");
+        }
+
+        return; // Status.passed("OK");
+
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the root element is declared as int and its value
+     * has subsequent characters #x9 (tab), #xA (line feed) and #xD (carriage
+     * return) , #x20 (space), '1', #x20 (space), <br>
+     * <b>name</b>: datatype-normalization <br>
+     * <b>value</b>: false. <br>
+     * <b>Expected results</b>: after Document.normalizeDocument() is called the
+     * value is left unchanged
+     */
+    @Test
+    public void testDatatypeNormalization002() {
+        Document doc = null;
+        try {
+            doc = loadDocument(test1_xsd_url, test_xml);
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+
+        DOMConfiguration config = doc.getDomConfig();
+
+        if (!config.canSetParameter("schema-location", test1_xsd_url) || !config.canSetParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI)) {
+            System.out.println("cannot set the parameters 'schema-location' and 'schema-type'" + " to '" + test1_xsd_url + "' and '"
+                    + XMLConstants.W3C_XML_SCHEMA_NS_URI + "' respectively");
+            return;
+        }
+        config.setParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        config.setParameter("schema-location", test1_xsd_url);
+
+        if (config.canSetParameter("validate", Boolean.TRUE)) {
+            config.setParameter("validate", Boolean.TRUE);
+        }
+
+        if (!config.canSetParameter("datatype-normalization", Boolean.FALSE)) {
+            Assert.fail("datatype-normalization' to false is not supported");
+        }
+        config.setParameter("datatype-normalization", Boolean.FALSE);
+
+        Element root = doc.getDocumentElement();
+        while (root.getFirstChild() != null) {
+            root.removeChild(root.getFirstChild());
+        }
+        String value = "\t\r\n 1 ";
+        root.appendChild(doc.createTextNode(value));
+
+        setHandler(doc);
+        doc.normalizeDocument();
+
+        Node child = root.getFirstChild();
+        if (child == null || child.getNodeType() != Node.TEXT_NODE || !value.equals(child.getNodeValue())) {
+            Assert.fail("child: " + child + ", expected: '\\t\\r\\n 1 '");
+        }
+
+        return; // Status.passed("OK");
+
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the doc contains one entity and one entity
+     * reference, <br>
+     * <b>name</b>: entities <br>
+     * <b>value</b>: true. <br>
+     * <b>Expected results</b>: the entity and the entity reference are left
+     * unchanged
+     */
+    @Test
+    public void testEntities001() {
+        Document doc = null;
+        try {
+            doc = loadDocument(null, test1_xml);
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+
+        DOMConfiguration config = doc.getDomConfig();
+        if (!config.canSetParameter("entities", Boolean.TRUE)) {
+            Assert.fail("setting 'entities' to true is not supported");
+        }
+
+        Element root = doc.getDocumentElement();
+        root.appendChild(doc.createEntityReference("x"));
+
+        config.setParameter("entities", Boolean.TRUE);
+
+        setHandler(doc);
+        doc.normalizeDocument();
+        Node child = root.getFirstChild();
+        if (child == null) {
+            Assert.fail("root has no child");
+        }
+        if (child.getNodeType() != Node.ENTITY_REFERENCE_NODE) {
+            Assert.fail("root's child is " + child + ", expected entity reference &x;");
+        }
+
+        if (doc.getDoctype() == null) {
+            Assert.fail("no doctype found");
+        }
+
+        if (doc.getDoctype().getEntities() == null) {
+            Assert.fail("no entitiy found");
+        }
+
+        if (doc.getDoctype().getEntities().getNamedItem("x") == null) {
+            Assert.fail("no entitiy with name 'x' found");
+        }
+
+        return; // Status.passed("OK");
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the doc contains one entity and one entity
+     * reference, <br>
+     * <b>name</b>: entities <br>
+     * <b>value</b>: false. <br>
+     * <b>Expected results</b>: the entity and the entity reference are removed
+     */
+    @Test
+    public void testEntities002() {
+        Document doc = null;
+        try {
+            doc = loadDocument(null, test1_xml);
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+
+        DOMConfiguration config = doc.getDomConfig();
+        if (!config.canSetParameter("entities", Boolean.FALSE)) {
+            Assert.fail("setting 'entities' to false is not supported");
+        }
+
+        Element root = doc.getDocumentElement();
+        root.appendChild(doc.createEntityReference("x"));
+
+        // TODO: remove debug
+        NamedNodeMap entities = doc.getDoctype().getEntities();
+        Entity entityX = (Entity) entities.getNamedItem("x");
+        System.err.println();
+        System.err.println("Entity x: " + entityX.getTextContent());
+        System.err.println();
+
+        config.setParameter("entities", Boolean.FALSE);
+
+        setHandler(doc);
+        doc.normalizeDocument();
+        Node child = root.getFirstChild();
+
+        // TODO: restore test, exclude for now to allow other tests to run
+        /*
+         * if (child == null) { fail("root has no child"); } if
+         * (child.getNodeType() != Node.TEXT_NODE ||
+         * !"X".equals(child.getNodeValue())) { fail("root's child is " + child
+         * + ", expected text node with value 'X'"); }
+         *
+         * if (doc.getDoctype() == null) { fail("no doctype found"); }
+         *
+         * if (doc.getDoctype().getEntities() != null &&
+         * doc.getDoctype().getEntities().getNamedItem("x") != null) {
+         * fail("entity with name 'x' is found, expected to be removed"); }
+         */
+
+        return; // Status.passed("OK");
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the 'infoset' parameter is set to true, <br>
+     * <b>name</b>: infoset <br>
+     * <b>value</b>: false. <br>
+     * <b>Expected results</b>: the parameters "validate-if-schema", "entities",
+     * "datatype-normalization", "cdata-sections", "namespace-declarations",
+     * "well-formed", "element-content-whitespace", "comments", "namespaces" are
+     * left unchanged
+     */
+    @Test
+    public void testInfoset001() {
+        Object[][] params = { { "validate-if-schema", Boolean.FALSE }, { "entities", Boolean.FALSE }, { "datatype-normalization", Boolean.FALSE },
+                { "cdata-sections", Boolean.FALSE },
+
+                { "namespace-declarations", Boolean.TRUE }, { "well-formed", Boolean.TRUE }, { "element-content-whitespace", Boolean.TRUE },
+                { "comments", Boolean.TRUE }, { "namespaces", Boolean.TRUE }, };
+
+        DOMImplementation domImpl = null;
+        try {
+            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
+
+        DOMConfiguration config = doc.getDomConfig();
+
+        if (!config.canSetParameter("infoset", Boolean.TRUE)) {
+            Assert.fail("setting 'infoset' to true is not supported");
+        }
+
+        for (int i = params.length; --i >= 0;) {
+            Boolean reset = params[i][1].equals(Boolean.TRUE) ? Boolean.FALSE : Boolean.TRUE;
+            if (config.canSetParameter(params[i][0].toString(), reset)) {
+                config.setParameter(params[i][0].toString(), reset);
+            }
+        }
+
+        config.setParameter("infoset", Boolean.TRUE);
+        config.setParameter("infoset", Boolean.FALSE); // has no effect
+
+        StringBuffer result = new StringBuffer();
+
+        for (int i = params.length; --i >= 0;) {
+            Object param = config.getParameter(params[i][0].toString());
+            if (!params[i][1].equals(param)) {
+                result.append("; the parameter \'" + params[i][0] + "\' is set to " + param + ", expected: " + params[i][1]);
+            }
+        }
+
+        if (result.length() > 0) {
+            Assert.fail(result.toString().substring(2));
+        }
+
+        return; // Status.passed("OK");
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: A document with one root element created. The
+     * prefix 'ns' is bound to 'namespaceURI'. The 'namespaces' parameter is set
+     * to true, <br>
+     * <b>name</b>: namespace-declarations <br>
+     * <b>value</b>: false. <br>
+     * <b>Expected results</b>: Attribute xmlns:ns="namespaceURI" is not added
+     * to the root element
+     */
+    @Test
+    public void testNamespaces001() {
+        DOMImplementation domImpl = null;
+        try {
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            dbf.setNamespaceAware(true);
+            domImpl = dbf.newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
+        setHandler(doc);
+        Element root = doc.getDocumentElement();
+        DOMConfiguration config = doc.getDomConfig();
+
+        StringBuffer result = new StringBuffer();
+        if (config.canSetParameter("namespaces", Boolean.FALSE)) {
+            config.setParameter("namespaces", Boolean.FALSE);
+
+            // namespaces = false
+            // namespace-declarations = true (default)
+            doc.normalizeDocument();
+            String xmlnsNS = root.getAttributeNS(XMLNS, "ns");
+            if (xmlnsNS.length() > 0) {
+                result.append("; the 'namespaces' parameter is set to false but" + "Namespace normalization is performed, attribute" + " xmlns:ns=\"" + xmlnsNS
+                        + "\" is added");
+            }
+        }
+
+        doc = domImpl.createDocument("namespaceURI", "ns:root", null);
+        root = doc.getDocumentElement();
+        config = doc.getDomConfig();
+
+        if (!config.canSetParameter("namespaces", Boolean.TRUE)) {
+            result.append("; setting 'namespaces' to true is not supported");
+        } else {
+
+            config.setParameter("namespaces", Boolean.TRUE);
+
+            if (!config.canSetParameter("namespace-declarations", Boolean.FALSE)) {
+                result.append("; setting 'namespace-declarations' to false is not supported");
+            } else {
+                config.setParameter("namespace-declarations", Boolean.FALSE);
+
+                // namespaces = true
+                // namespace-declarations = false
+                doc.normalizeDocument();
+
+                String xmlnsNS = root.getAttributeNS(XMLNS, "ns");
+                if (xmlnsNS.length() > 0) {
+                    result.append("; namespaces = true, namespace-declarations = false, but" + " xmlns:ns=\"" + xmlnsNS + "\"");
+                }
+            }
+
+            doc = domImpl.createDocument("namespaceURI", "ns:root", null);
+            setHandler(doc);
+            root = doc.getDocumentElement();
+            config = doc.getDomConfig();
+
+            config.setParameter("namespaces", Boolean.TRUE);
+
+            if (!config.canSetParameter("namespace-declarations", Boolean.TRUE)) {
+                result.append("; setting 'namespace-declarations' to true is not supported");
+            } else {
+                config.setParameter("namespace-declarations", Boolean.TRUE);
+
+                // namespaces = true
+                // namespace-declarations = true
+                doc.normalizeDocument();
+
+                String xmlnsNS = root.getAttributeNS(XMLNS, "ns");
+                if (!"namespaceURI".equals(xmlnsNS)) {
+                    result.append("; namespaces = true, namespace-declarations = true, but" + " xmlns:ns=\"" + xmlnsNS + "\"");
+                }
+            }
+        }
+
+        if (result.length() > 0) {
+            Assert.fail(result.toString().substring(2));
+        }
+        return; // Status.passed("OK");
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: an attribute value is not fully normalized, <br>
+     * <b>name</b>: normalize-characters <br>
+     * <b>value</b>: false. <br>
+     * <b>Expected results</b>: Node.normalize() leaves the value unchanged
+     */
+    @Test
+    public void testNormalizeCharacters001() {
+        DOMImplementation domImpl = null;
+        try {
+            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        Document doc = domImpl.createDocument(null, null, null);
+
+        Attr attr = doc.createAttribute("attr");
+        String notNormalized = " \u0073\u0075\u0063\u0327\u006F\u006E ";
+        attr.setValue(notNormalized);
+
+        DOMConfiguration config = doc.getDomConfig();
+
+        StringBuffer result = new StringBuffer();
+        if (!config.canSetParameter("normalize-characters", Boolean.FALSE)) {
+            result.append("; setting 'normalize-characters' to false is not supported");
+        } else {
+
+            config.setParameter("normalize-characters", Boolean.FALSE);
+
+            attr.normalize();
+
+            String value = attr.getValue();
+            if (!notNormalized.equals(value)) {
+                result.append("; the value is normalized to '" + value + "', expected to stay unchanged");
+            }
+        }
+
+        if (config.canSetParameter("normalize-characters", Boolean.TRUE)) {
+            config.setParameter("normalize-characters", Boolean.TRUE);
+
+            attr.setValue(notNormalized);
+            attr.normalize();
+
+            String value = attr.getValue();
+            if (notNormalized.equals(value)) {
+                result.append("; the value is not normalized: '" + value + "', expected: '\u0073\u0075\u00E7\u006F\u006E'");
+            }
+        }
+
+        if (result.length() > 0) {
+            Assert.fail(result.toString().substring(2));
+        }
+        return; // Status.passed("OK");
+
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: The root element has invalid content. The
+     * 'validate' parameter is set to true. The 'schema-location' parameter is
+     * set to 'DOMConfigurationTest.xsd'., <br>
+     * <b>name</b>: schema-type <br>
+     * <b>value</b>: http://www.w3.org/2001/XMLSchema. <br>
+     * <b>Expected results</b>: An error is reported
+     */
+    @Test
+    public void testValidate001() {
+        DOMImplementation domImpl = null;
+        try {
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            dbf.setNamespaceAware(true);
+            dbf.setValidating(true);
+            domImpl = dbf.newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        Document doc = domImpl.createDocument("test", "ns:root", null);
+
+        Element root = doc.getDocumentElement();
+        root.appendChild(doc.createTextNode("xxx")); // invalid value
+
+        DOMConfiguration config = doc.getDomConfig();
+
+        if (!config.canSetParameter("schema-location", test1_xsd_url) || !config.canSetParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI)) {
+            System.out.println("cannot set the parameters 'schema-location' and 'schema-type'" + " to '" + test1_xsd_url + "' and '"
+                    + XMLConstants.W3C_XML_SCHEMA_NS_URI + "' respectively");
+            return;
+        }
+        config.setParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        config.setParameter("schema-location", test1_xsd_url);
+
+        String resultOK = "OK";
+        StringBuffer result = new StringBuffer();
+        if (!config.canSetParameter("validate", Boolean.TRUE)) {
+            resultOK = "OK, setting the parameter 'validate' to true is not supported";
+        } else {
+            config.setParameter("validate", Boolean.TRUE);
+            TestHandler testHandler = new TestHandler();
+            config.setParameter("error-handler", testHandler);
+            doc.normalizeDocument();
+            if (testHandler.getError() == null && null == testHandler.getFatalError()) {
+                result.append("; no error was reported when the 'validate' is set to true");
+            }
+        }
+
+        if (!config.canSetParameter("validate", Boolean.FALSE)) {
+            result.append("; cannot set the parameters 'validate' to false");
+        } else {
+            config.setParameter("validate", Boolean.FALSE);
+            TestHandler testHandler = new TestHandler();
+            config.setParameter("error-handler", testHandler);
+            doc.normalizeDocument();
+            if (testHandler.getError() != null || null != testHandler.getFatalError()) {
+                result.append("; unexpected error: " + testHandler.getFatalError() + "; " + testHandler.getError());
+            }
+        }
+
+        if (result.length() > 0) {
+            Assert.fail(result.toString().substring(2));
+        }
+        return; // Status.passed(resultOK);
+
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: The root contains a CDATASection with the
+     * termination marker ']]&gt;', <br>
+     * <b>name</b>: split-cdata-sections <br>
+     * <b>value</b>: true. <br>
+     * <b>Expected results</b>: A warning is reported when the section is
+     * splitted
+     */
+    @Test
+    public void testSplitCDATA001() {
+        DOMImplementation domImpl = null;
+        try {
+            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
+
+        DOMConfiguration config = doc.getDomConfig();
+        CDATASection cdata = doc.createCDATASection("text]" + "]>text");
+        doc.getDocumentElement().appendChild(cdata);
+
+        TestHandler testHandler = new TestHandler();
+        config.setParameter("error-handler", testHandler);
+
+        if (!config.canSetParameter("split-cdata-sections", Boolean.TRUE)) {
+            Assert.fail("cannot set the parameters 'split-cdata-sections' to true");
+        }
+        config.setParameter("split-cdata-sections", Boolean.TRUE);
+
+        doc.normalizeDocument();
+        if (null == testHandler.getWarning()) {
+            Assert.fail("no warning is reported");
+        }
+
+        return; // Status.passed("OK");
+
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: The root contains a CDATASection with the
+     * termination marker ']]&gt;', <br>
+     * <b>name</b>: split-cdata-sections <br>
+     * <b>value</b>: false. <br>
+     * <b>Expected results</b>: No warning is reported
+     */
+    @Test
+    public void testSplitCDATA002() {
+        DOMImplementation domImpl = null;
+        try {
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            dbf.setNamespaceAware(true);
+            dbf.setValidating(true);
+            domImpl = dbf.newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
+
+        DOMConfiguration config = doc.getDomConfig();
+        CDATASection cdata = doc.createCDATASection("text]" + "]>text");
+        doc.getDocumentElement().appendChild(cdata);
+
+        TestHandler testHandler = new TestHandler();
+        config.setParameter("error-handler", testHandler);
+
+        if (!config.canSetParameter("split-cdata-sections", Boolean.FALSE)) {
+            Assert.fail("cannot set the parameters 'split-cdata-sections' to false");
+        }
+        config.setParameter("split-cdata-sections", Boolean.FALSE);
+
+        doc.normalizeDocument();
+        if (null == testHandler.getError()) {
+            Assert.fail("no error is reported");
+        }
+
+        return; // Status.passed("OK");
+
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: The root element has invalid content. The schema
+     * is specified by setting the 'schema-location' and the 'schema-type'
+     * parameters., <br>
+     * <b>name</b>: validate-if-schema <br>
+     * <b>value</b>: false. <br>
+     * <b>Expected results</b>: No error is reported
+     */
+    @Test
+    public void testValidateIfSchema001() {
+        DOMImplementation domImpl = null;
+        try {
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            dbf.setNamespaceAware(true);
+            dbf.setValidating(true);
+            domImpl = dbf.newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        Document doc = domImpl.createDocument("test", "ns:root", null);
+
+        Element root = doc.getDocumentElement();
+        root.appendChild(doc.createTextNode("xxx")); // invalid value
+
+        DOMConfiguration config = doc.getDomConfig();
+
+        if (!config.canSetParameter("schema-location", test1_xsd_url) || !config.canSetParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI)) {
+            System.out.println("cannot set the parameters 'schema-location' and 'schema-type'" + " to 'DOMConfigurationTest.xsd' and '"
+                    + XMLConstants.W3C_XML_SCHEMA_NS_URI + "' respectively");
+            return;
+        }
+        config.setParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        config.setParameter("schema-location", test1_xsd_url);
+
+        String resultOK = "OK";
+        StringBuffer result = new StringBuffer();
+        if (!config.canSetParameter("validate-if-schema", Boolean.FALSE)) {
+            result.append("; cannot set the parameters 'validate-if-schema' to false");
+        } else {
+            config.setParameter("validate-if-schema", Boolean.FALSE);
+            TestHandler testHandler = new TestHandler();
+            config.setParameter("error-handler", testHandler);
+            doc.normalizeDocument();
+            if (testHandler.getError() != null || null != testHandler.getFatalError()) {
+                result.append("; unexpected error: " + testHandler.getFatalError() + "; " + testHandler.getError());
+            }
+        }
+
+        if (!config.canSetParameter("validate-if-schema", Boolean.TRUE)) {
+            resultOK = "OK, setting the parameter 'validate-if-schema' to true is not supported";
+        } else {
+            config.setParameter("validate-if-schema", Boolean.TRUE);
+            TestHandler testHandler = new TestHandler();
+            config.setParameter("error-handler", testHandler);
+            doc.normalizeDocument();
+            if (testHandler.getError() == null && null == testHandler.getFatalError()) {
+                result.append("; no error was reported when the 'validate-if-schema' is set to true");
+            }
+        }
+
+        if (result.length() > 0) {
+            Assert.fail(result.toString().substring(2));
+        }
+        return; // Status.passed(resultOK);
+
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: The root element is not declared in the schema
+     * specified by setting the 'schema-location' and the 'schema-type'
+     * parameters., <br>
+     * <b>name</b>: validate-if-schema <br>
+     * <b>value</b>: true. <br>
+     * <b>Expected results</b>: No error is reported
+     */
+    @Test
+    public void testValidateIfSchema002() {
+        DOMImplementation domImpl = null;
+        try {
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            dbf.setNamespaceAware(true);
+            dbf.setValidating(true);
+            domImpl = dbf.newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException pce) {
+            Assert.fail(pce.toString());
+        } catch (FactoryConfigurationError fce) {
+            Assert.fail(fce.toString());
+        }
+
+        Document doc = domImpl.createDocument("test", "ns:undeclared_root", null);
+
+        Element root = doc.getDocumentElement();
+        root.appendChild(doc.createTextNode("xxx"));
+
+        DOMConfiguration config = doc.getDomConfig();
+
+        if (!config.canSetParameter("schema-location", test1_xsd_url) || !config.canSetParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI)) {
+            System.out.println("cannot set the parameters 'schema-location' and 'schema-type'" + " to 'DOMConfigurationTest.xsd' and '"
+                    + XMLConstants.W3C_XML_SCHEMA_NS_URI + "' respectively");
+            return;
+        }
+        config.setParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        config.setParameter("schema-location", test1_xsd_url);
+
+        if (!config.canSetParameter("validate-if-schema", Boolean.TRUE)) {
+            System.out.println("OK, setting the parameter 'validate-if-schema'" + " to true is not supported");
+            return;
+        }
+
+        config.setParameter("validate-if-schema", Boolean.TRUE);
+        TestHandler testHandler = new TestHandler();
+        config.setParameter("error-handler", testHandler);
+        doc.normalizeDocument();
+        if (testHandler.getError() != null || null != testHandler.getFatalError()) {
+            Assert.fail("unexpected error: " + testHandler.getFatalError() + "; " + testHandler.getError());
+        }
+        return; // Status.passed("OK");
+
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the attribute has EntityReference to '&lt;', <br>
+     * <b>name</b>: well-formed <br>
+     * <b>value</b>: true. <br>
+     * <b>Expected results</b>: An error is reported
+     */
+    @Test
+    public void testWellFormed001() {
+        Document doc = null;
+        try {
+            doc = loadDocument(null, test2_xml);
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+
+        DOMConfiguration config = doc.getDomConfig();
+        if (!config.canSetParameter("well-formed", Boolean.TRUE)) {
+            Assert.fail("setting 'well-formed' to true is not supported");
+        }
+        config.setParameter("well-formed", Boolean.TRUE);
+
+        Element root = doc.getDocumentElement();
+
+        Attr attr = doc.createAttributeNS(null, "attr");
+
+        try {
+            attr.appendChild(doc.createEntityReference("<"));
+        } catch (DOMException domException) {
+            System.out.println("testWellFormed001: Expected DOMException for Attribute value = '<'" + domException.toString());
+            return; // OK
+        }
+
+        root.setAttributeNode(attr);
+
+        TestHandler testHandler = new TestHandler();
+        config.setParameter("error-handler", testHandler);
+
+        doc.normalizeDocument();
+
+        if (testHandler.getError() == null && null == testHandler.getFatalError()) {
+            Assert.fail("no error was reported when attribute has <");
+        }
+
+        return; // Status.passed("OK");
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the attribute has EntityReference to '&lt;', <br>
+     * <b>name</b>: well-formed <br>
+     * <b>value</b>: false. <br>
+     * <b>Expected results</b>: No error is reported
+     */
+    @Test
+    public void testWellFormed002() {
+        Document doc = null;
+        try {
+            doc = loadDocument(null, test2_xml);
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+
+        DOMConfiguration config = doc.getDomConfig();
+        if (!config.canSetParameter("well-formed", Boolean.FALSE)) {
+            System.out.println("OK, setting 'well-formed' to false is not supported");
+            return;
+        }
+        config.setParameter("well-formed", Boolean.FALSE);
+
+        Element root = doc.getDocumentElement();
+
+        Attr attr = doc.createAttributeNS(null, "attr");
+        attr.appendChild(doc.createEntityReference("x"));
+
+        root.setAttributeNode(attr);
+
+        TestHandler testHandler = new TestHandler();
+        config.setParameter("error-handler", testHandler);
+
+        doc.normalizeDocument();
+
+        if (testHandler.getError() != null || null != testHandler.getFatalError()) {
+            Assert.fail("unexpected error: " + testHandler.getFatalError() + "; " + testHandler.getError());
+        }
+
+        return; // Status.passed("OK");
+
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the document root element has a text node with
+     * four white space characters, <br>
+     * <b>name</b>: element-content-whitespace <br>
+     * <b>value</b>: true. <br>
+     * <b>Expected results</b>: the text node is preserved
+     */
+    @Test
+    public void testECWhitespace001() {
+        Document doc = null;
+        try {
+            doc = loadDocument(null, test3_xml);
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+
+        Element root = doc.getDocumentElement();
+        Text text = doc.createTextNode("\t\n\r ");
+        root.appendChild(text);
+
+        DOMConfiguration config = doc.getDomConfig();
+        if (!config.canSetParameter("element-content-whitespace", Boolean.TRUE)) {
+            Assert.fail("setting 'element-content-whitespace' to true is not supported");
+        }
+        config.setParameter("element-content-whitespace", Boolean.TRUE);
+
+        if (!config.canSetParameter("validate", Boolean.TRUE)) {
+            System.out.println("OK, setting 'validate' to true is not supported");
+            return;
+        }
+        config.setParameter("validate", Boolean.TRUE);
+
+        setHandler(doc);
+        doc.normalizeDocument();
+
+        Node firstChild = root.getFirstChild();
+        if (firstChild == null || firstChild.getNodeType() != Node.TEXT_NODE || !((Text) firstChild).isElementContentWhitespace()) {
+            Assert.fail("the first child is " + firstChild + ", expected a text node with the four whitespace characters");
+        }
+
+        return; // Status.passed("OK");
+
+    }
+
+    /**
+     * Equivalence class partitioning with state and input values orientation
+     * for public void setParameter(String name, Object value) throws
+     * DOMException, <br>
+     * <b>pre-conditions</b>: the document root element has a text node with
+     * four white space characters, <br>
+     * <b>name</b>: element-content-whitespace <br>
+     * <b>value</b>: false. <br>
+     * <b>Expected results</b>: the text node is discarded
+     */
+    @Test
+    public void testECWhitespace002() {
+        Document doc = null;
+        try {
+            doc = loadDocument(null, test3_xml);
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+
+        Element root = doc.getDocumentElement();
+        Text text = doc.createTextNode("\t\n\r ");
+        root.appendChild(text);
+
+        DOMConfiguration config = doc.getDomConfig();
+        if (!config.canSetParameter("element-content-whitespace", Boolean.FALSE)) {
+            System.out.println("OK, setting 'element-content-whitespace' to false is not supported");
+            return;
+        }
+        config.setParameter("element-content-whitespace", Boolean.FALSE);
+
+        if (!config.canSetParameter("validate", Boolean.TRUE)) {
+            System.out.println("OK, setting 'validate' to true is not supported");
+            return;
+        }
+        config.setParameter("validate", Boolean.TRUE);
+
+        setHandler(doc);
+        doc.normalizeDocument();
+
+        Node firstChild = root.getFirstChild();
+        if (firstChild != null) {
+            Assert.fail("the first child is " + firstChild + ", but no child is expected");
+        }
+
+        return; // Status.passed("OK");
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/DOMConfigurationTest.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+            targetNamespace="test">
+    <xsd:element name="root" type="xsd:int"/>
+</xsd:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/DOMXPathTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,50 @@
+/*
+ * Copyright (c) 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 javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.DOMImplementation;
+
+/*
+ * @bug 8042244
+ * @summary Verifies that the experimental DOM L3 XPath implementation is no longer available.
+ */
+public class DOMXPathTest {
+    /*
+       Verifies that DOMImplementation::hasFeature returns false and getFeature
+       returns null for DOM L3 XPath.
+     */
+    @Test
+    public void test() throws ParserConfigurationException {
+        DOMImplementation domImpl = DocumentBuilderFactory.newInstance()
+                .newDocumentBuilder()
+                .getDOMImplementation();
+
+        Assert.assertFalse(domImpl.hasFeature("+XPath", "3.0"));
+        Assert.assertEquals(domImpl.getFeature("+XPath", "3.0"), null);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/JdkXmlDomTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,40 @@
+/*
+ * Copyright (c) 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 org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 8078139
+ * @summary Verifies that jdk.xml.dom classes are loaded by the ext class loader.
+ */
+public class JdkXmlDomTest {
+    @Test
+    public void test() throws ClassNotFoundException {
+        ClassLoader cl = ClassLoader.getSystemClassLoader().getParent();
+        Class<?> cls = Class.forName("org.w3c.dom.xpath.XPathEvaluator", false, cl);
+
+        Assert.assertTrue(cls.getClassLoader() != null);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/TCKEncodingTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,98 @@
+/*
+ * 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.IOException;
+import java.io.StringReader;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+
+/*
+ * @summary Test Document.getInputEncoding().
+ */
+public class TCKEncodingTest {
+
+    /**
+     * Assertion testing
+     * for public String getInputEncoding(),
+     * An attribute specifying the actual encoding of this document..
+     */
+    @Test
+    public void testGetInputEncoding001() {
+        String data = "<?xml version=\"1.0\"?>" + "<!DOCTYPE root [" + "<!ELEMENT root ANY>" + "]>" + "<root/>";
+
+        Document doc = null;
+        try {
+            DocumentBuilder docBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
+            InputSource inSource = new InputSource(new StringReader(data));
+            inSource.setEncoding("UTF-8");
+            inSource.setSystemId("test.xml");
+            doc = docBuilder.parse(inSource);
+        } catch (ParserConfigurationException e) {
+            Assert.fail(e.toString());
+        } catch (IOException e) {
+            Assert.fail(e.toString());
+        } catch (SAXException e) {
+            Assert.fail(e.toString());
+        }
+
+        String encoding = doc.getInputEncoding();
+        if (encoding == null || !encoding.equals("UTF-8")) {
+            Assert.fail("expected encoding: UTF-8, returned: " + encoding);
+        }
+
+        System.out.println("OK");
+    }
+
+    /**
+     * Assertion testing
+     * for public String getInputEncoding(),
+     * Encoding is not specified. getInputEncoding returns null..
+     */
+    @Test
+    public void testGetInputEncoding002() {
+        Document doc = null;
+        try {
+            DocumentBuilder db = DocumentBuilderFactory.newInstance().newDocumentBuilder();
+            doc = db.newDocument();
+        } catch (ParserConfigurationException e) {
+            Assert.fail(e.toString());
+        }
+
+        String encoding = doc.getInputEncoding();
+        if (encoding != null) {
+            Assert.fail("expected encoding: null, returned: " + encoding);
+        }
+
+        System.out.println("OK");
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/ls/Bug4973153.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,200 @@
+/*
+ * 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.ls;
+
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.io.StringBufferInputStream;
+import java.io.Writer;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.AfterMethod;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+import org.w3c.dom.DOMError;
+import org.w3c.dom.DOMErrorHandler;
+import org.w3c.dom.DOMImplementation;
+import org.w3c.dom.Document;
+import org.w3c.dom.ls.DOMImplementationLS;
+import org.w3c.dom.ls.LSInput;
+import org.w3c.dom.ls.LSOutput;
+import org.w3c.dom.ls.LSParser;
+import org.w3c.dom.ls.LSSerializer;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 4973153
+ * @summary Test LSSerialiser.setEncoding() raises 'unsupported-encoding' error if encoding is invalid.
+ */
+public class Bug4973153 {
+
+    DOMImplementationLS implLS = null;
+    public String xml1 = "<?xml version=\"1.0\"?><ROOT><ELEMENT1></ELEMENT1><ELEMENT2></ELEMENT2></ROOT>";
+
+    @Test
+    public void testOne() {
+        LSParser db = createLSParser();
+        if (db == null) {
+            System.out.println("Unable to create LSParser !");
+            return;
+        }
+        LSSerializer dw = createLSSerializer();
+        if (dw == null) {
+            System.out.println("Unable to create LSSerializer!");
+            return;
+        }
+
+        DOMErrorHandlerImpl eh = new DOMErrorHandlerImpl();
+        dw.getDomConfig().setParameter("error-handler", eh);
+        Document doc = db.parse(getXml1Source());
+
+        Output out = new Output();
+        out.setByteStream(new ByteArrayOutputStream());
+        out.setEncoding("WrOnG_EnCoDiNg");
+        try {
+            if (dw.write(doc, out)) {
+                System.out.println("Expected result value - false");
+                return;
+            }
+        } catch (Exception ex) {
+            // This is bad.
+        }
+        if (!eh.WrongEncodingErrorReceived) {
+            Assert.fail("'unsupported-encoding' error was expected ");
+            return;
+        }
+        System.out.println("OKAY");
+        return;
+    }
+
+    @BeforeMethod
+    protected void setUp() {
+        Document doc = null;
+        DocumentBuilder parser = null;
+        try {
+            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+            parser = factory.newDocumentBuilder();
+        } catch (ParserConfigurationException e) {
+            e.printStackTrace();
+        }
+        StringBufferInputStream is = new StringBufferInputStream(xml1);
+        try {
+            doc = parser.parse(is);
+        } catch (SAXException e) {
+            e.printStackTrace();
+        } catch (IOException e) {
+            e.printStackTrace();
+        }
+        DOMImplementation impl = doc.getImplementation();
+        implLS = (DOMImplementationLS) impl.getFeature("LS", "3.0");
+    }
+
+    @AfterMethod
+    protected void tearDown() {
+        implLS = null;
+    }
+
+    public LSParser createLSParser() {
+        return implLS.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, "http://www.w3.org/2001/XMLSchema");
+    }
+
+    public LSSerializer createLSSerializer() {
+        return implLS.createLSSerializer();
+    }
+
+    public LSInput createLSInput() {
+        return implLS.createLSInput();
+    }
+
+    public LSInput getXml1Source() {
+        LSInput src = createLSInput();
+        src.setStringData(xml1);
+        return src;
+    }
+}
+
+class Output implements LSOutput {
+    OutputStream bs;
+    Writer cs;
+    String sId;
+    String enc;
+
+    public Output() {
+        bs = null;
+        cs = null;
+        sId = null;
+        enc = "UTF-8";
+    }
+
+    public OutputStream getByteStream() {
+        return bs;
+    }
+
+    public void setByteStream(OutputStream byteStream) {
+        bs = byteStream;
+    }
+
+    public Writer getCharacterStream() {
+        return cs;
+    }
+
+    public void setCharacterStream(Writer characterStream) {
+        cs = characterStream;
+    }
+
+    public String getSystemId() {
+        return sId;
+    }
+
+    public void setSystemId(String systemId) {
+        sId = systemId;
+    }
+
+    public String getEncoding() {
+        return enc;
+    }
+
+    public void setEncoding(String encoding) {
+        enc = encoding;
+    }
+}
+
+class DOMErrorHandlerImpl implements DOMErrorHandler {
+    boolean NoOutputSpecifiedErrorReceived = false;
+    boolean WrongEncodingErrorReceived = false;
+
+    public boolean handleError(DOMError error) {
+        if ("no-output-specified".equalsIgnoreCase(error.getType())) {
+            NoOutputSpecifiedErrorReceived = true;
+        } else if ("unsupported-encoding".equalsIgnoreCase(error.getType())) {
+            WrongEncodingErrorReceived = true;
+        }
+        return true;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/ls/Bug6290947.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,143 @@
+/*
+ * 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.ls;
+
+import java.io.StringBufferInputStream;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.DOMConfiguration;
+import org.w3c.dom.DOMImplementation;
+import org.w3c.dom.Document;
+import org.w3c.dom.Node;
+import org.w3c.dom.ls.DOMImplementationLS;
+import org.w3c.dom.ls.LSInput;
+import org.w3c.dom.ls.LSParser;
+import org.w3c.dom.ls.LSSerializer;
+import org.w3c.dom.ls.LSSerializerFilter;
+import org.w3c.dom.traversal.NodeFilter;
+
+/*
+ * @bug 6290947
+ * @summary Test LSSerializer writes the XML declaration when LSSerializerFilter is set that rejects all nodes and
+ * LSSerializer's configuration set parameter "xml-declaration" to "true".
+ */
+public class Bug6290947 {
+
+    private static String XML_STRING = "<?xml version=\"1.0\"?><ROOT><ELEMENT1><CHILD1/><CHILD1><COC1/></CHILD1></ELEMENT1><ELEMENT2>test1<CHILD2/></ELEMENT2></ROOT>";
+    private static DOMImplementationLS implLS;
+    private final String XML_FILE_INTERNAL_DTD = "note_in_dtd.xml";
+
+    @Test
+    public void testStringSourceWithXmlDecl() {
+        String result = prepare(XML_STRING, true);
+        System.out.println("testStringSource: output: " + result);
+        Assert.assertTrue(result.indexOf("<?xml")>-1, "XML Declaration expected in output");
+    }
+
+    @Test
+    public void testStringSourceWithOutXmlDecl() {
+        String result = prepare(XML_STRING, false);
+        System.out.println("testStringSource: output: " + result);
+        Assert.assertTrue(result.indexOf("<?xml")==-1, "XML Declaration is not expected in output");
+    }
+
+    @Test
+    public void testXmlWithInternalDTD1() {
+        String result = prepare(XML_FILE_INTERNAL_DTD, true);
+        System.out.println("testStringSource: output: " + result);
+        Assert.assertTrue(result.indexOf("<!DOCTYPE")>0, "XML Declaration and DTD are expected in output");
+    }
+
+    @Test
+    public void testXmlWithInternalDTD2() {
+        String result = prepare(XML_FILE_INTERNAL_DTD, false);
+        System.out.println("testStringSource: output: " + result);
+        Assert.assertTrue(result.indexOf("<!DOCTYPE")>-1, "DTD is expected in output");
+    }
+
+    private String prepare(String source, boolean xmlDeclFlag) {
+        Document startDoc = null;
+        DocumentBuilder domParser = null;
+        try {
+            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+            domParser = factory.newDocumentBuilder();
+        } catch (ParserConfigurationException e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+
+        final StringBufferInputStream is = new StringBufferInputStream(XML_STRING);
+        try {
+            startDoc = domParser.parse(is);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+
+        DOMImplementation impl = startDoc.getImplementation();
+        implLS = (DOMImplementationLS) impl.getFeature("LS", "3.0");
+        LSParser parser = implLS.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, "http://www.w3.org/2001/XMLSchema");
+
+        LSInput src = getXmlSource(source);
+
+        LSSerializer writer = implLS.createLSSerializer();
+
+        DOMConfiguration conf = writer.getDomConfig();
+        conf.setParameter("xml-declaration", Boolean.valueOf(xmlDeclFlag));
+
+        // set filter
+        writer.setFilter(new LSSerializerFilter() {
+            public short acceptNode(Node enode) {
+                return FILTER_REJECT;
+
+            }
+
+            public int getWhatToShow() {
+                return NodeFilter.SHOW_ELEMENT;
+            }
+        });
+
+        Document doc = parser.parse(src);
+        return writer.writeToString(doc);
+    }
+
+    private LSInput getXmlSource(String xml1) {
+        LSInput src = implLS.createLSInput();
+        try {
+            if (xml1.endsWith(".xml"))
+                src.setByteStream(this.getClass().getResourceAsStream(XML_FILE_INTERNAL_DTD));
+            else
+                src.setStringData(xml1);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+        return src;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/ls/Bug6354955.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,138 @@
+/*
+ * 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.ls;
+
+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.Comment;
+import org.w3c.dom.Document;
+import org.w3c.dom.EntityReference;
+import org.w3c.dom.Node;
+import org.w3c.dom.ProcessingInstruction;
+import org.w3c.dom.Text;
+import org.w3c.dom.ls.DOMImplementationLS;
+import org.w3c.dom.ls.LSSerializer;
+
+
+/*
+ * @bug 6354955
+ * @summary Test LSSerializer can writeToString on DOM Text node with white space.
+ */
+public class Bug6354955 {
+
+    @Test
+    public void testTextNode() {
+        try {
+            Document xmlDocument = createNewDocument();
+
+            String whitespace = "\r\n    ";
+            Text textNode = xmlDocument.createTextNode(whitespace);
+
+            System.out.println("original text is:\r\n\"" + whitespace + "\"");
+            String outerXML = getOuterXML(textNode);
+            System.out.println("OuterXML Text Node is:\r\n\"" + outerXML + "\"");
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testCommentNode() {
+        try {
+            Document xmlDocument = createNewDocument();
+            String commentStr = "This is a comment node";
+            Comment cmtNode = xmlDocument.createComment(commentStr);
+            String outerXML = getOuterXML(cmtNode);
+            System.out.println("OuterXML of Comment Node is:" + outerXML);
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testPINode() {
+        try {
+            Document xmlDocument = createNewDocument();
+            ProcessingInstruction piNode = xmlDocument.createProcessingInstruction("execute", "test");
+            String outerXML = getOuterXML(piNode);
+            System.out.println("OuterXML of Comment Node is:" + outerXML);
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testCDATA() {
+        try {
+            Document xmlDocument = createNewDocument();
+            CDATASection cdataNode = xmlDocument.createCDATASection("See Data!!");
+            String outerXML = getOuterXML(cdataNode);
+            System.out.println("OuterXML of Comment Node is:" + outerXML);
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testEntityReference() {
+        try {
+            Document xmlDocument = createNewDocument();
+            EntityReference erefNode = xmlDocument.createEntityReference("entityref");
+            String outerXML = getOuterXML(erefNode);
+            System.out.println("OuterXML of Comment Node is:" + outerXML);
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    private String getOuterXML(Node node) {
+        DOMImplementationLS domImplementation = (DOMImplementationLS) node.getOwnerDocument().getImplementation();
+        LSSerializer lsSerializer = domImplementation.createLSSerializer();
+        if (!(node instanceof Document)) {
+            lsSerializer.getDomConfig().setParameter("xml-declaration", false);
+        }
+        return lsSerializer.writeToString(node);
+    }
+
+    private Document createNewDocument() throws Exception {
+        DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
+        documentBuilderFactory.setNamespaceAware(true);
+        DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
+        return documentBuilder.newDocument();
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/ls/Bug6376823.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,117 @@
+/*
+ * 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.ls;
+
+import java.io.StringBufferInputStream;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.DOMConfiguration;
+import org.w3c.dom.DOMImplementation;
+import org.w3c.dom.Document;
+import org.w3c.dom.Node;
+import org.w3c.dom.ls.DOMImplementationLS;
+import org.w3c.dom.ls.LSInput;
+import org.w3c.dom.ls.LSParser;
+import org.w3c.dom.ls.LSSerializer;
+import org.w3c.dom.ls.LSSerializerFilter;
+import org.w3c.dom.traversal.NodeFilter;
+
+/*
+ * @bug 6376823
+ * @summary Test LSSerializer works.
+ */
+public class Bug6376823 {
+
+    private static String XML_STRING = "<?xml version=\"1.0\"?><ROOT><ELEMENT1><CHILD1/><CHILD1><COC1/></CHILD1></ELEMENT1><ELEMENT2>test1<CHILD2/></ELEMENT2></ROOT>";
+    private static DOMImplementationLS implLS;
+
+    @Test
+    public void testStringSourceWithXmlDecl() {
+        String result = prepare(XML_STRING, true);
+        System.out.println("testStringSource: output: " + result);
+        Assert.assertTrue(result.indexOf("<?xml", 5) < 0, "XML Declaration expected in output");
+    }
+
+    private String prepare(String source, boolean xmlDeclFlag) {
+        Document startDoc = null;
+        DocumentBuilder domParser = null;
+        try {
+            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+            domParser = factory.newDocumentBuilder();
+        } catch (ParserConfigurationException e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+
+        final StringBufferInputStream is = new StringBufferInputStream(XML_STRING);
+        try {
+            startDoc = domParser.parse(is);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+
+        DOMImplementation impl = startDoc.getImplementation();
+        implLS = (DOMImplementationLS) impl.getFeature("LS", "3.0");
+        LSParser parser = implLS.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, "http://www.w3.org/2001/XMLSchema");
+
+        LSInput src = getXmlSource(source);
+
+        LSSerializer writer = implLS.createLSSerializer();
+
+        DOMConfiguration conf = writer.getDomConfig();
+        conf.setParameter("xml-declaration", Boolean.valueOf(xmlDeclFlag));
+
+        // set filter
+        writer.setFilter(new LSSerializerFilter() {
+            public short acceptNode(Node enode) {
+                return FILTER_ACCEPT;
+
+            }
+
+            public int getWhatToShow() {
+                return NodeFilter.SHOW_ALL;
+            }
+        });
+
+        Document doc = parser.parse(src);
+        return writer.writeToString(doc);
+    }
+
+    private LSInput getXmlSource(String xml1) {
+        LSInput src = implLS.createLSInput();
+        try {
+            src.setStringData(xml1);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+        return src;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/ls/Bug6710741Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,76 @@
+/*
+ * 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.ls;
+
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.ls.DOMImplementationLS;
+import org.w3c.dom.ls.LSException;
+
+/*
+ * @bug 6710741
+ * @summary Test there should be stack trace information if LSSerializer().writeToString reports an exception.
+ */
+public class Bug6710741Test {
+
+    @Test
+    public final void test() {
+        try {
+            Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
+            Element el = doc.createElement("x");
+            DOMImplementationLS ls = (DOMImplementationLS) doc.getImplementation().getFeature("LS", "3.0");
+            System.out.println(ls.createLSSerializer().writeToString(el));
+        } catch (ParserConfigurationException ex) {
+            ex.printStackTrace();
+            Assert.fail(ex.getMessage());
+        } catch (LSException ex) {
+            ex.printStackTrace();
+            System.out.println("cause: " + ex.getCause());
+            if (ex.getCause() == null) {
+                Assert.fail("should set cause.");
+            }
+        }
+    }
+
+    @Test
+    public void testWorkaround() {
+        Document doc;
+        try {
+            doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
+            Element el = doc.createElement("x");
+            doc.appendChild(el);
+            DOMImplementationLS ls = (DOMImplementationLS) doc.getImplementation().getFeature("LS", "3.0");
+            System.out.println(ls.createLSSerializer().writeToString(doc));
+        } catch (ParserConfigurationException ex) {
+            ex.printStackTrace();
+            Assert.fail(ex.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/ls/LSParserTCKTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,580 @@
+/*
+ * 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.ls;
+
+import java.io.IOException;
+import java.io.StringBufferInputStream;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Attr;
+import org.w3c.dom.DOMImplementation;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.NamedNodeMap;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+import org.w3c.dom.ls.DOMImplementationLS;
+import org.w3c.dom.ls.LSInput;
+import org.w3c.dom.ls.LSParser;
+import org.w3c.dom.ls.LSParserFilter;
+import org.w3c.dom.traversal.NodeFilter;
+import org.xml.sax.SAXException;
+
+/*
+ * @summary Test Specifications and Descriptions for LSParser.
+ */
+public class LSParserTCKTest {
+
+    DOMImplementationLS implLS = null;
+    public String xml1 = "<?xml version=\"1.0\"?><ROOT><ELEMENT1><CHILD1/><CHILD1><COC1/></CHILD1></ELEMENT1><ELEMENT2>test1<CHILD2/></ELEMENT2></ROOT>";
+
+    /**
+     * Equivalence class partitioning
+     * with state, input and output values orientation
+     * for public Document parse(LSInput is),
+     * <br><b>pre-conditions</b>: set filter that REJECTs any CHILD* node,
+     * <br><b>is</b>: xml1
+     * <br><b>output</b>: XML document with ELEMNENT1 and ELEMENT2 only.
+     */
+    @Test
+    public void testfilter0001() {
+        LSParser parser = createLSParser();
+        if (parser == null) {
+            Assert.fail("Unable to create LSParser!");
+        }
+        // set filter
+        parser.setFilter(new LSParserFilter() {
+            public short startElement(Element elt) {
+                return FILTER_ACCEPT;
+            }
+
+            public short acceptNode(Node enode) {
+                if (enode.getNodeName().startsWith("CHILD")) {
+                    return FILTER_REJECT;
+                }
+                return FILTER_ACCEPT;
+            }
+
+            public int getWhatToShow() {
+                return NodeFilter.SHOW_ALL;
+            }
+        });
+        String expected = "<?xml version=\"1.0\"?><ROOT><ELEMENT1></ELEMENT1><ELEMENT2>test1</ELEMENT2></ROOT>";
+        Document doc = parser.parse(getXmlSource(xml1));
+        if (!match(expected, doc)) {
+            Assert.fail("DOM structure after parsing is not equal to a structure of XML document, that being parsed");
+        }
+
+        System.out.println("OKAY");
+    }
+
+    public LSParserTCKTest(String name) {
+        init();
+    }
+
+    protected void init() {
+        Document doc = null;
+        DocumentBuilder parser = null;
+        try {
+            parser = DocumentBuilderFactory.newInstance().newDocumentBuilder();
+        } catch (ParserConfigurationException e) {
+            e.printStackTrace();
+        }
+        StringBufferInputStream is = new StringBufferInputStream(xml1);
+        try {
+            doc = parser.parse(is);
+        } catch (SAXException e) {
+            e.printStackTrace();
+        } catch (IOException e) {
+            e.printStackTrace();
+        }
+        DOMImplementation impl = doc.getImplementation();
+        implLS = (DOMImplementationLS) impl.getFeature("LS", "3.0");
+    }
+
+    public LSInput getXmlSource(String xmldoc) {
+        LSInput srcdoc = createLSInput();
+        srcdoc.setStringData(xmldoc);
+        return srcdoc;
+    }
+
+    public LSInput createLSInput() {
+        return implLS.createLSInput();
+    }
+
+    public LSParser createLSParser() {
+        return implLS.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, "http://www.w3.org/2001/XMLSchema");
+    }
+
+    public boolean match(String template, Node source) {
+        LSParser dp = createLSParser();
+        if (dp == null) {
+            System.out.println("Can not create LSParser.");
+            return false;
+        }
+        LSInput src = getXmlSource(template);
+        Document doc = dp.parse(src);
+        return checkXMLs(doc, source);
+    }
+
+    // ========================== XML comparison code ==============
+    public boolean checkXMLs(Node template, Node source) {
+        if (source == null || template == null) {
+            return template == source;
+        }
+        String tname = template.getLocalName();
+        String tvalue = template.getNodeValue();
+        NamedNodeMap tattr = template.getAttributes();
+        NodeList tchildren = template.getChildNodes();
+
+        String sname = source.getLocalName();
+        String svalue = source.getNodeValue();
+        NamedNodeMap sattr = source.getAttributes();
+        NodeList schildren = source.getChildNodes();
+        if (tname != null && !tname.equals(sname)) {
+            return false;
+        }
+        if (tvalue != null && !tvalue.equals(svalue)) {
+            return false;
+        }
+        if (tattr != null && sattr != null) {
+            if (sattr.getLength() != tattr.getLength()) {
+                return false;
+            }
+            for (int i = 0; i < tattr.getLength(); i++) {
+                Attr t = (Attr) tattr.item(i);
+                Attr s = (Attr) sattr.getNamedItem(t.getName());
+                if (!checkXMLAttrs(t, s)) {
+                    // ref.println(sname+": [expected attr: " + t +
+                    // "; actual attr: " +s+"]");
+                    return false;
+                }
+            }
+        } else if (tattr != null || sattr != null) {
+            return false;
+        }
+
+        for (int i = 0; i < tchildren.getLength(); i++) {
+            if (!checkXMLs(tchildren.item(i), schildren.item(i))) {
+                // ref.println(sname+": [expected node: "+tchildren.item(i)
+                // +"; actual node: "+schildren.item(i)+"]");
+                return false;
+            }
+        }
+        return true;
+    }
+
+    public boolean checkXMLAttrs(Attr template, Attr source) {
+        if (source == null || template == null) {
+            return template == source;
+        }
+        String tname = template.getName();
+        String tvalue = template.getValue();
+        String sname = source.getName();
+        String svalue = source.getValue();
+        System.out.println("Attr:" + tname + "?" + sname);
+        if (tname != null && !tname.equals(sname)) {
+            // ref.println("Attr Name:" + tname + "!=" + sname);
+            return false;
+        }
+        if (tvalue != null && !tvalue.equals(svalue)) {
+            // ref.println("Attr value:" + tvalue + "!=" + svalue);
+            return false;
+        }
+        // ref.println("Attr:" + tname + ":" + tvalue + "=" + sname + ":" +
+        // svalue);
+        return true;
+    }
+
+    /**
+     * Equivalence class partitioning with state, input and output values
+     * orientation for public Document parse(LSInput is), <br>
+     * <b>pre-conditions</b>: set filter that SKIPs ELEMENT1 node, <br>
+     * <b>is</b>: xml1 <br>
+     * <b>output</b>: XML document with CHILD1 and ELEMENT2 only.
+     */
+    @Test
+    public void testFilter0002() {
+        LSParser parser = createLSParser();
+        if (parser == null) {
+            Assert.fail("Unable to create LSParser!");
+        }
+        // set filter
+        parser.setFilter(new LSParserFilter() {
+            public short startElement(Element elt) {
+                return FILTER_ACCEPT;
+            }
+
+            public short acceptNode(Node enode) {
+                if (enode.getNodeName().startsWith("ELEMENT1")) {
+                    return FILTER_SKIP;
+                }
+                return FILTER_ACCEPT;
+            }
+
+            public int getWhatToShow() {
+                return NodeFilter.SHOW_ALL;
+            }
+        });
+        String expected = "<?xml version=\"1.0\"?><ROOT><CHILD1/><CHILD1><COC1/></CHILD1><ELEMENT2>test1<CHILD2/></ELEMENT2></ROOT>";
+        Document doc = parser.parse(getXmlSource(xml1));
+        if (!match(expected, doc)) {
+            Assert.fail("DOM structure after parsing is not equal to a structure of XML document, that being parsed");
+        }
+        System.out.println("OKAY");
+    }
+
+    /**
+     * Equivalence class partitioning with state, input and output values
+     * orientation for public Document parse(LSInput is), <br>
+     * <b>pre-conditions</b>: set filter that SKIPs ELEMENT1 node, <br>
+     * <b>is</b>: xml1 <br>
+     * <b>output</b>: XML document with ELEMENT1 only.
+     */
+    @Test
+    public void testFilter0003() {
+        LSParser parser = createLSParser();
+        if (parser == null) {
+            Assert.fail("Unable to create LSParser!");
+        }
+        // set filter
+        parser.setFilter(new LSParserFilter() {
+            public short startElement(Element elt) {
+                return FILTER_ACCEPT;
+            }
+
+            public short acceptNode(Node enode) {
+                if (enode.getNodeName().startsWith("ELEMENT2")) {
+                    return FILTER_INTERRUPT;
+                }
+                return FILTER_ACCEPT;
+            }
+
+            public int getWhatToShow() {
+                return NodeFilter.SHOW_ALL;
+            }
+        });
+        String expected = "<ROOT><ELEMENT1><CHILD1/><CHILD1><COC1/></CHILD1></ELEMENT1></ROOT>";
+        Document doc = parser.parse(getXmlSource(xml1));
+        if (!match(expected, doc)) {
+            Assert.fail("DOM structure after parsing is not equal to a structure of XML document, that being parsed");
+        }
+        System.out.println("OKAY");
+    }
+
+    /**
+     * Equivalence class partitioning with state, input and output values
+     * orientation for public Document parse(LSInput is), <br>
+     * <b>pre-conditions</b>: set filter that accepts all, <br>
+     * <b>is</b>: xml1 <br>
+     * <b>output</b>: full XML document.
+     */
+    @Test
+    public void testFilter0004() {
+        LSParser parser = createLSParser();
+        if (parser == null) {
+            Assert.fail("Unable to create LSParser!");
+        }
+        // set filter
+        parser.setFilter(new LSParserFilter() {
+            public short startElement(Element elt) {
+                return FILTER_ACCEPT;
+            }
+
+            public short acceptNode(Node enode) {
+                return FILTER_ACCEPT;
+            }
+
+            public int getWhatToShow() {
+                return NodeFilter.SHOW_ALL;
+            }
+        });
+        String expected = "<ROOT><ELEMENT1><CHILD1/><CHILD1><COC1/></CHILD1></ELEMENT1><ELEMENT2>test1<CHILD2/></ELEMENT2></ROOT>";
+        Document doc = parser.parse(getXmlSource(xml1));
+        if (!match(expected, doc)) {
+            Assert.fail("DOM structure after parsing is not equal to a structure of XML document, that being parsed");
+        }
+        System.out.println("OKAY");
+    }
+
+    /**
+     * Equivalence class partitioning with state, input and output values
+     * orientation for public Document parse(LSInput is), <br>
+     * <b>pre-conditions</b>: set filter that REJECTs all, <br>
+     * <b>is</b>: xml1 <br>
+     * <b>output</b>: empty XML document.
+     */
+    @Test
+    public void testFilter0005() {
+        LSParser parser = createLSParser();
+        if (parser == null) {
+            Assert.fail("Unable to create LSParser!");
+        }
+        // set filter
+        parser.setFilter(new LSParserFilter() {
+            public short startElement(Element elt) {
+                return FILTER_ACCEPT;
+            }
+
+            public short acceptNode(Node enode) {
+                return FILTER_REJECT;
+            }
+
+            public int getWhatToShow() {
+                return NodeFilter.SHOW_ALL;
+            }
+        });
+        Document doc = parser.parse(getXmlSource(xml1));
+        NodeList children = doc.getDocumentElement().getChildNodes();
+        if (children.getLength() != 0) {
+            Assert.fail("Not all children skipped");
+        }
+        System.out.println("OKAY");
+    }
+
+    /**
+     * Equivalence class partitioning with state, input and output values
+     * orientation for public Document parse(LSInput is), <br>
+     * <b>pre-conditions</b>: set filter that SKIPs all, <br>
+     * <b>is</b>: xml1 <br>
+     * <b>output</b>: empty XML document.
+     */
+    @Test
+    public void testFilter0006() {
+        LSParser parser = createLSParser();
+        if (parser == null) {
+            Assert.fail("Unable to create LSParser!");
+        }
+        // set filter
+        parser.setFilter(new LSParserFilter() {
+            public short startElement(Element elt) {
+                return FILTER_ACCEPT;
+            }
+
+            public short acceptNode(Node enode) {
+                return FILTER_SKIP;
+            }
+
+            public int getWhatToShow() {
+                return NodeFilter.SHOW_ALL;
+            }
+        });
+        Document doc = parser.parse(getXmlSource(xml1));
+        NodeList children = doc.getDocumentElement().getChildNodes();
+        if (children.getLength() != 0) {
+            Assert.fail("Not all children skipped");
+        }
+        System.out.println("OKAY");
+    }
+
+    /**
+     * Equivalence class partitioning with state, input and output values
+     * orientation for public Document parse(LSInput is), <br>
+     * <b>pre-conditions</b>: set filter that REJECTs any CHILD* start element, <br>
+     * <b>is</b>: xml1 <br>
+     * <b>output</b>: XML document with ELEMENT1 and ELEMENT2 only.
+     */
+    @Test
+    public void testFilter0007() {
+        LSParser parser = createLSParser();
+        if (parser == null) {
+            Assert.fail("Unable to create LSParser!");
+        }
+        // set filter
+        parser.setFilter(new LSParserFilter() {
+            public short startElement(Element elt) {
+                if (elt.getTagName().startsWith("CHILD")) {
+                    return FILTER_REJECT;
+                }
+                return FILTER_ACCEPT;
+            }
+
+            public short acceptNode(Node enode) {
+                return FILTER_ACCEPT;
+            }
+
+            public int getWhatToShow() {
+                return NodeFilter.SHOW_ALL;
+            }
+        });
+        String expected = "<?xml version=\"1.0\"?><ROOT><ELEMENT1></ELEMENT1><ELEMENT2>test1</ELEMENT2></ROOT>";
+        Document doc = parser.parse(getXmlSource(xml1));
+        if (!match(expected, doc)) {
+            Assert.fail("DOM structure after parsing is not equal to a structure of XML document, that being parsed");
+        }
+        System.out.println("OKAY");
+    }
+
+    /**
+     * Equivalence class partitioning with state, input and output values
+     * orientation for public Document parse(LSInput is), <br>
+     * <b>pre-conditions</b>: set filter that SKIPs ELEMENT1 start element, <br>
+     * <b>is</b>: xml1 <br>
+     * <b>output</b>: XML document with CHILD1 and ELEMENT2 only.
+     */
+    @Test
+    public void testFilter0008() {
+        LSParser parser = createLSParser();
+        if (parser == null) {
+            Assert.fail("Unable to create LSParser!");
+        }
+        // set filter
+        parser.setFilter(new LSParserFilter() {
+            public short startElement(Element elt) {
+                if (elt.getTagName().equals("ELEMENT1")) {
+                    return FILTER_SKIP;
+                }
+                return FILTER_ACCEPT;
+            }
+
+            public short acceptNode(Node enode) {
+                return FILTER_ACCEPT;
+            }
+
+            public int getWhatToShow() {
+                return NodeFilter.SHOW_ALL;
+            }
+        });
+        String expected = "<?xml version=\"1.0\"?><ROOT><CHILD1/><CHILD1><COC1/></CHILD1><ELEMENT2>test1<CHILD2/></ELEMENT2></ROOT>";
+        Document doc = parser.parse(getXmlSource(xml1));
+        if (!match(expected, doc)) {
+            Assert.fail("DOM structure after parsing is not equal to a structure of XML document, that being parsed");
+        }
+        System.out.println("OKAY");
+    }
+
+    /**
+     * Equivalence class partitioning with state, input and output values
+     * orientation for public Document parse(LSInput is), <br>
+     * <b>pre-conditions</b>: set filter that SKIPs ELEMENT1 start element, <br>
+     * <b>is</b>: xml1 <br>
+     * <b>output</b>: XML document with ELEMENT1 only.
+     */
+    @Test
+    public void testFilter0009() {
+        LSParser parser = createLSParser();
+        if (parser == null) {
+            Assert.fail("Unable to create LSParser!");
+        }
+        // set filter
+        parser.setFilter(new LSParserFilter() {
+            public short startElement(Element elt) {
+                if (elt.getTagName().startsWith("ELEMENT2")) {
+                    return FILTER_INTERRUPT;
+                }
+                return FILTER_ACCEPT;
+            }
+
+            public short acceptNode(Node enode) {
+                return FILTER_ACCEPT;
+            }
+
+            public int getWhatToShow() {
+                return NodeFilter.SHOW_ALL;
+            }
+        });
+        String expected = "<ROOT><ELEMENT1><CHILD1/><CHILD1><COC1/></CHILD1></ELEMENT1></ROOT>";
+        Document doc = parser.parse(getXmlSource(xml1));
+        if (!match(expected, doc)) {
+            Assert.fail("DOM structure after parsing is not equal to a structure of XML document, that being parsed");
+        }
+        System.out.println("OKAY");
+    }
+
+    /**
+     * Equivalence class partitioning with state, input and output values
+     * orientation for public Document parse(LSInput is), <br>
+     * <b>pre-conditions</b>: set filter that REJECTs all start element, <br>
+     * <b>is</b>: xml1 <br>
+     * <b>output</b>: empty XML document.
+     */
+    @Test
+    public void testFilter0010() {
+        LSParser parser = createLSParser();
+        if (parser == null) {
+            Assert.fail("Unable to create LSParser");
+        }
+        // set filter
+        parser.setFilter(new LSParserFilter() {
+            public short startElement(Element elt) {
+                return FILTER_REJECT;
+            }
+
+            public short acceptNode(Node enode) {
+                return FILTER_ACCEPT;
+            }
+
+            public int getWhatToShow() {
+                return NodeFilter.SHOW_ALL;
+            }
+        });
+        Document doc = parser.parse(getXmlSource(xml1));
+        NodeList children = doc.getDocumentElement().getChildNodes();
+        if (children.getLength() != 0) {
+            Assert.fail("Not all children skipped");
+        }
+        System.out.println("OKAY");
+    }
+
+    /**
+     * Equivalence class partitioning with state, input and output values
+     * orientation for public Document parse(LSInput is), <br>
+     * <b>pre-conditions</b>: set filter that SKIPs all, <br>
+     * <b>is</b>: xml1 <br>
+     * <b>output</b>: empty XML document.
+     */
+    @Test
+    public void testFilter0011() {
+        LSParser parser = createLSParser();
+        if (parser == null) {
+            Assert.fail("Unable to create LSParser");
+        }
+        // set filter
+        parser.setFilter(new LSParserFilter() {
+            public short startElement(Element elt) {
+                return FILTER_SKIP;
+            }
+
+            public short acceptNode(Node enode) {
+                return FILTER_ACCEPT;
+            }
+
+            public int getWhatToShow() {
+                return NodeFilter.SHOW_ALL;
+            }
+        });
+        Document doc = parser.parse(getXmlSource(xml1));
+        NodeList children = doc.getDocumentElement().getChildNodes();
+        if (children.getLength() != 1) {
+            Assert.fail("Not all Element nodes skipped");
+        }
+        System.out.println("OKAY");
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/ls/LSParserTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,105 @@
+/*
+ * 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.ls;
+
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.DOMConfiguration;
+import org.w3c.dom.DOMError;
+import org.w3c.dom.DOMErrorHandler;
+import org.w3c.dom.DOMException;
+import org.w3c.dom.DOMImplementation;
+import org.w3c.dom.ls.DOMImplementationLS;
+import org.w3c.dom.ls.LSInput;
+import org.w3c.dom.ls.LSParser;
+import org.w3c.dom.ls.LSResourceResolver;
+
+/*
+ * @summary Test LSParser's DOMConfiguration for supported properties.
+ */
+public class LSParserTest {
+
+    @Test
+    public void testDOMConfiguration() {
+
+        final DOMErrorHandler handler = new DOMErrorHandler() {
+            public boolean handleError(final DOMError error) {
+                return false;
+            }
+        };
+
+        final LSResourceResolver resolver = new LSResourceResolver() {
+            public LSInput resolveResource(final String type, final String namespaceURI, final String publicId, final String systemId, final String baseURI) {
+                return null;
+            }
+        };
+
+        final Object[][] values = {
+                // parameter, value
+                { "canonical-form", Boolean.FALSE }, { "cdata-sections", Boolean.FALSE }, { "cdata-sections", Boolean.TRUE },
+                { "check-character-normalization", Boolean.FALSE }, { "comments", Boolean.FALSE }, { "comments", Boolean.TRUE },
+                { "datatype-normalization", Boolean.FALSE }, { "entities", Boolean.FALSE }, { "entities", Boolean.TRUE }, { "error-handler", handler },
+                { "infoset", Boolean.TRUE }, { "namespaces", Boolean.TRUE }, { "namespace-declarations", Boolean.TRUE },
+                { "namespace-declarations", Boolean.FALSE }, { "normalize-characters", Boolean.FALSE }, { "split-cdata-sections", Boolean.TRUE },
+                { "split-cdata-sections", Boolean.FALSE }, { "validate", Boolean.FALSE }, { "validate-if-schema", Boolean.FALSE },
+                { "well-formed", Boolean.TRUE }, { "element-content-whitespace", Boolean.TRUE },
+
+                { "charset-overrides-xml-encoding", Boolean.TRUE }, { "charset-overrides-xml-encoding", Boolean.FALSE }, { "disallow-doctype", Boolean.FALSE },
+                { "ignore-unknown-character-denormalizations", Boolean.TRUE }, { "resource-resolver", resolver }, { "resource-resolver", null },
+                { "supported-media-types-only", Boolean.FALSE }, };
+
+        DOMImplementation domImpl = null;
+        try {
+            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
+        } catch (ParserConfigurationException parserConfigurationException) {
+            parserConfigurationException.printStackTrace();
+            Assert.fail(parserConfigurationException.toString());
+        }
+
+        DOMImplementationLS lsImpl = (DOMImplementationLS) domImpl.getFeature("LS", "3.0");
+
+        LSParser lsParser = lsImpl.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, null);
+
+        DOMConfiguration config = lsParser.getDomConfig();
+
+        for (int i = values.length; --i >= 0;) {
+            Object val = values[i][1];
+            String param = (String) values[i][0];
+            try {
+                config.setParameter(param, val);
+                Object returned = config.getParameter(param);
+                Assert.assertEquals(val, returned, "'" + param + "' is set to " + returned + ", but expected " + val);
+                System.out.println("set '" + param + "'" + " to '" + val + "'" + " and returned '" + returned + "'");
+            } catch (DOMException e) {
+                String settings = "setting '" + param + "' to " + val;
+                System.err.println(settings);
+                e.printStackTrace();
+                Assert.fail(settings + ", " + e.toString());
+            }
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/ls/LSSerializerTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,315 @@
+/*
+ * 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.ls;
+
+import java.io.IOException;
+import java.io.OutputStream;
+import java.io.StringReader;
+import java.io.Writer;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.DOMConfiguration;
+import org.w3c.dom.DOMError;
+import org.w3c.dom.DOMErrorHandler;
+import org.w3c.dom.DOMImplementation;
+import org.w3c.dom.Document;
+import org.w3c.dom.ls.DOMImplementationLS;
+import org.w3c.dom.ls.LSException;
+import org.w3c.dom.ls.LSOutput;
+import org.w3c.dom.ls.LSSerializer;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+
+
+/*
+ * @bug 6439439 8080906
+ * @summary Test LSSerializer.
+ */
+public class LSSerializerTest {
+    private static final String DOM_FORMAT_PRETTY_PRINT = "format-pretty-print";
+
+    class DOMErrorHandlerImpl implements DOMErrorHandler {
+
+        boolean NoOutputSpecifiedErrorReceived = false;
+
+        public boolean handleError(final DOMError error) {
+            // consume "no-output-specified" errors
+            if ("no-output-specified".equalsIgnoreCase(error.getType())) {
+                NoOutputSpecifiedErrorReceived = true;
+                return true;
+            }
+
+            // unexpected error
+            Assert.fail("Unexpected Error Type: " + error.getType() + " @ (" + error.getLocation().getLineNumber() + ", "
+                    + error.getLocation().getColumnNumber() + ")" + ", " + error.getMessage());
+
+            return false;
+        }
+    }
+
+    class Output implements LSOutput {
+        public OutputStream getByteStream() {
+            return null;
+        }
+
+        public void setByteStream(final OutputStream byteStream) {
+        }
+
+        public Writer getCharacterStream() {
+            return null;
+        }
+
+        public void setCharacterStream(final Writer characterStream) {
+        }
+
+        public String getSystemId() {
+            return null;
+        }
+
+        public void setSystemId(final String systemId) {
+        }
+
+        public String getEncoding() {
+            return "UTF8";
+        }
+
+        public void setEncoding(final String encoding) {
+        }
+    }
+
+    /*
+     * @bug 8080906
+     */
+    @Test
+    public void testDefaultLSSerializer() throws Exception {
+        DOMImplementationLS domImpl = (DOMImplementationLS) DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
+        LSSerializer lsSerializer = domImpl.createLSSerializer();
+        Assert.assertTrue(lsSerializer.getClass().getName().endsWith("dom3.LSSerializerImpl"));
+    }
+
+    @Test
+    public void testDOMErrorHandler() {
+
+        final String XML_DOCUMENT = "<?xml version=\"1.0\"?>" + "<hello>" + "world" + "</hello>";
+
+        StringReader stringReader = new StringReader(XML_DOCUMENT);
+        InputSource inputSource = new InputSource(stringReader);
+        Document doc = null;
+        try {
+            DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
+            // LSSerializer defaults to Namespace processing
+            // so parsing must also
+            documentBuilderFactory.setNamespaceAware(true);
+            DocumentBuilder parser = documentBuilderFactory.newDocumentBuilder();
+            doc = parser.parse(inputSource);
+
+        } catch (Throwable e) {
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+
+        DOMImplementation impl = doc.getImplementation();
+        DOMImplementationLS implLS = (DOMImplementationLS) impl.getFeature("LS", "3.0");
+        LSSerializer writer = implLS.createLSSerializer();
+
+        System.out.println("Serializer is: " + implLS.getClass().getName() + " " + implLS);
+
+        DOMErrorHandlerImpl eh = new DOMErrorHandlerImpl();
+        writer.getDomConfig().setParameter("error-handler", eh);
+
+        boolean serialized = false;
+        try {
+            serialized = writer.write(doc, new Output());
+
+            // unexpected success
+            Assert.fail("Serialized without raising an LSException due to " + "'no-output-specified'.");
+        } catch (LSException lsException) {
+            // expected exception
+            System.out.println("Expected LSException: " + lsException.toString());
+            // continue processing
+        }
+
+        Assert.assertFalse(serialized, "Expected writer.write(doc, new Output()) == false");
+
+        Assert.assertTrue(eh.NoOutputSpecifiedErrorReceived, "'no-output-specified' error was expected");
+    }
+
+    @Test
+    public void testFormatPrettyPrint() {
+
+        final String XML_DOCUMENT = "<?xml version=\"1.0\" encoding=\"UTF-16\"?>\n" + "<hello>" + "world" + "<child><children/><children/></child>"
+                + "</hello>";
+        /**JDK-8035467
+         * no newline in default output
+         */
+        final String XML_DOCUMENT_DEFAULT_PRINT =
+                "<?xml version=\"1.0\" encoding=\"UTF-16\"?>"
+                + "<hello>"
+                + "world"
+                + "<child><children/><children/></child>"
+                + "</hello>";
+
+        final String XML_DOCUMENT_PRETTY_PRINT = "<?xml version=\"1.0\" encoding=\"UTF-16\"?>" + "<hello>" + "world" + "<child>" + "\n" + "        "
+                + "<children/>" + "\n" + "        " + "<children/>" + "\n" + "    " + "</child>" + "\n" + "</hello>" + "\n";
+
+        // it all begins with a Document
+        DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
+        DocumentBuilder documentBuilder = null;
+        try {
+            documentBuilder = documentBuilderFactory.newDocumentBuilder();
+        } catch (ParserConfigurationException parserConfigurationException) {
+            parserConfigurationException.printStackTrace();
+            Assert.fail(parserConfigurationException.toString());
+        }
+        Document document = null;
+
+        StringReader stringReader = new StringReader(XML_DOCUMENT);
+        InputSource inputSource = new InputSource(stringReader);
+        try {
+            document = documentBuilder.parse(inputSource);
+        } catch (SAXException saxException) {
+            saxException.printStackTrace();
+            Assert.fail(saxException.toString());
+        } catch (IOException ioException) {
+            ioException.printStackTrace();
+            Assert.fail(ioException.toString());
+        }
+
+        // query DOM Interfaces to get to a LSSerializer
+        DOMImplementation domImplementation = documentBuilder.getDOMImplementation();
+        DOMImplementationLS domImplementationLS = (DOMImplementationLS) domImplementation;
+        LSSerializer lsSerializer = domImplementationLS.createLSSerializer();
+
+        System.out.println("Serializer is: " + lsSerializer.getClass().getName() + " " + lsSerializer);
+
+        // get configuration
+        DOMConfiguration domConfiguration = lsSerializer.getDomConfig();
+
+        // query current configuration
+        Boolean defaultFormatPrettyPrint = (Boolean) domConfiguration.getParameter(DOM_FORMAT_PRETTY_PRINT);
+        Boolean canSetFormatPrettyPrintFalse = (Boolean) domConfiguration.canSetParameter(DOM_FORMAT_PRETTY_PRINT, Boolean.FALSE);
+        Boolean canSetFormatPrettyPrintTrue = (Boolean) domConfiguration.canSetParameter(DOM_FORMAT_PRETTY_PRINT, Boolean.TRUE);
+
+        System.out.println(DOM_FORMAT_PRETTY_PRINT + " default/can set false/can set true = " + defaultFormatPrettyPrint + "/"
+                + canSetFormatPrettyPrintFalse + "/" + canSetFormatPrettyPrintTrue);
+
+        // test values
+        Assert.assertEquals(defaultFormatPrettyPrint, Boolean.FALSE, "Default value of " + DOM_FORMAT_PRETTY_PRINT + " should be " + Boolean.FALSE);
+
+        Assert.assertEquals(canSetFormatPrettyPrintFalse, Boolean.TRUE, "Can set " + DOM_FORMAT_PRETTY_PRINT + " to " + Boolean.FALSE + " should be "
+                + Boolean.TRUE);
+
+        Assert.assertEquals(canSetFormatPrettyPrintTrue, Boolean.TRUE, "Can set " + DOM_FORMAT_PRETTY_PRINT + " to " + Boolean.TRUE + " should be "
+                + Boolean.TRUE);
+
+        // get default serialization
+        String prettyPrintDefault = lsSerializer.writeToString(document);
+        System.out.println("(default) " + DOM_FORMAT_PRETTY_PRINT + "==" + (Boolean) domConfiguration.getParameter(DOM_FORMAT_PRETTY_PRINT)
+                + ": \n\"" + prettyPrintDefault + "\"");
+
+        Assert.assertEquals(XML_DOCUMENT_DEFAULT_PRINT, prettyPrintDefault, "Invalid serialization with default value, " + DOM_FORMAT_PRETTY_PRINT + "=="
+                + (Boolean) domConfiguration.getParameter(DOM_FORMAT_PRETTY_PRINT));
+
+        // configure LSSerializer to not format-pretty-print
+        domConfiguration.setParameter(DOM_FORMAT_PRETTY_PRINT, Boolean.FALSE);
+        String prettyPrintFalse = lsSerializer.writeToString(document);
+        System.out.println("(FALSE) " + DOM_FORMAT_PRETTY_PRINT + "==" + (Boolean) domConfiguration.getParameter(DOM_FORMAT_PRETTY_PRINT)
+                + ": \n\"" + prettyPrintFalse + "\"");
+
+        Assert.assertEquals(XML_DOCUMENT_DEFAULT_PRINT, prettyPrintFalse, "Invalid serialization with FALSE value, " + DOM_FORMAT_PRETTY_PRINT + "=="
+                + (Boolean) domConfiguration.getParameter(DOM_FORMAT_PRETTY_PRINT));
+
+        // configure LSSerializer to format-pretty-print
+        domConfiguration.setParameter(DOM_FORMAT_PRETTY_PRINT, Boolean.TRUE);
+        String prettyPrintTrue = lsSerializer.writeToString(document);
+        System.out.println("(TRUE) " + DOM_FORMAT_PRETTY_PRINT + "==" + (Boolean) domConfiguration.getParameter(DOM_FORMAT_PRETTY_PRINT)
+                + ": \n\"" + prettyPrintTrue + "\"");
+
+        Assert.assertEquals(XML_DOCUMENT_PRETTY_PRINT, prettyPrintTrue, "Invalid serialization with TRUE value, " + DOM_FORMAT_PRETTY_PRINT + "=="
+                + (Boolean) domConfiguration.getParameter(DOM_FORMAT_PRETTY_PRINT));
+    }
+
+    @Test
+    public void testXML11() {
+
+        /**
+         * XML 1.1 document to parse.
+         */
+        final String XML11_DOCUMENT = "<?xml version=\"1.1\" encoding=\"UTF-16\"?>\n" + "<hello>" + "world" + "<child><children/><children/></child>"
+                + "</hello>";
+
+        /**JDK-8035467
+         * no newline in default output
+         */
+        final String XML11_DOCUMENT_OUTPUT =
+                "<?xml version=\"1.1\" encoding=\"UTF-16\"?>"
+                + "<hello>"
+                + "world"
+                + "<child><children/><children/></child>"
+                + "</hello>";
+
+        // it all begins with a Document
+        DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
+        DocumentBuilder documentBuilder = null;
+        try {
+            documentBuilder = documentBuilderFactory.newDocumentBuilder();
+        } catch (ParserConfigurationException parserConfigurationException) {
+            parserConfigurationException.printStackTrace();
+            Assert.fail(parserConfigurationException.toString());
+        }
+        Document document = null;
+
+        StringReader stringReader = new StringReader(XML11_DOCUMENT);
+        InputSource inputSource = new InputSource(stringReader);
+        try {
+            document = documentBuilder.parse(inputSource);
+        } catch (SAXException saxException) {
+            saxException.printStackTrace();
+            Assert.fail(saxException.toString());
+        } catch (IOException ioException) {
+            ioException.printStackTrace();
+            Assert.fail(ioException.toString());
+        }
+
+        // query DOM Interfaces to get to a LSSerializer
+        DOMImplementation domImplementation = documentBuilder.getDOMImplementation();
+        DOMImplementationLS domImplementationLS = (DOMImplementationLS) domImplementation;
+        LSSerializer lsSerializer = domImplementationLS.createLSSerializer();
+
+        System.out.println("Serializer is: " + lsSerializer.getClass().getName() + " " + lsSerializer);
+
+        // get default serialization
+        String defaultSerialization = lsSerializer.writeToString(document);
+
+        System.out.println("XML 1.1 serialization = \"" + defaultSerialization + "\"");
+
+        // output should == input
+        Assert.assertEquals(XML11_DOCUMENT_OUTPUT, defaultSerialization, "Invalid serialization of XML 1.1 document: ");
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/ls/note_in_dtd.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<!-- Comment node-->
+<!DOCTYPE note [
+  <!ELEMENT note    (to,from,heading,body)>
+  <!ELEMENT to      (#PCDATA)>
+  <!ELEMENT from    (#PCDATA)>
+  <!ELEMENT heading (#PCDATA)>
+  <!ELEMENT body    (#PCDATA)>
+]>
+<note>
+<to>Tove</to>
+<from>Jani</from>
+<heading>Reminder</heading>
+<body>Don't forget me this weekend!</body>
+</note> 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/dom/test.xml	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/dom/test.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,10 @@
+<?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:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/common/Bug6350682.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.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());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/common/Bug6723276Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.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());
-            }
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/common/Bug6941169.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Bug6941169.xsd">
-	<fooTest>
-    test
-
-
-
-    information
-	</fooTest>
-</root>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/common/Bug6941169.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<?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>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/common/Bug6941169Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,501 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.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);
-        }
-
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/common/Bug7143711Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,159 +0,0 @@
-/*
- * 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 javax.xml.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);
-        }
-
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/datatype/Bug6320118.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,104 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.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());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/datatype/Bug6937951Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.datatype;
-
-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");
-
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/datatype/Bug6937964Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,262 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.datatype;
-
-import java.math.BigDecimal;
-import java.math.BigInteger;
-
-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");
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/datatype/Bug7042647Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.datatype;
-
-import java.util.Calendar;
-import java.util.GregorianCalendar;
-
-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);
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/datatype/DatatypeFactoryTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,631 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.datatype;
-
-import java.math.BigDecimal;
-import java.math.BigInteger;
-
-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());
-                }
-            }
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/datatype/DurationTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,476 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.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.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() + "\"");
-        }
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/datatype/FactoryFindTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,76 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.datatype;
-
-import java.net.URL;
-import java.net.URLClassLoader;
-
-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);
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/datatype/XMLGregorianCalendarTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,219 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.datatype;
-
-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());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4674384_MAX_OCCURS_Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.io.File;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 4674384
- * @summary Test large maxOccurs.
- */
-public class Bug4674384_MAX_OCCURS_Test {
-
-    @Test
-    public final void testLargeMaxOccurs() {
-
-        String XML_FILE_NAME = "Bug4674384_MAX_OCCURS_Test.xml";
-
-        try {
-            // create and initialize the parser
-            SAXParserFactory spf = SAXParserFactory.newInstance();
-            spf.setNamespaceAware(true);
-            spf.setValidating(true);
-
-            SAXParser parser = spf.newSAXParser();
-            parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
-
-            File xmlFile = new File(getClass().getResource(XML_FILE_NAME).getPath());
-
-            parser.parse(xmlFile, new DefaultHandler());
-        } catch (Exception e) {
-            System.err.println("Failure: File " + XML_FILE_NAME + " was parsed with a large value of maxOccurs.");
-            e.printStackTrace();
-            Assert.fail("Failure: File " + XML_FILE_NAME + " was parsed with a large value of maxOccurs.  " + e.getMessage());
-        }
-
-        System.out.println("Success: File " + XML_FILE_NAME + " was parsed with a large value of maxOccurs.");
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4674384_MAX_OCCURS_Test.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0"?>
-<test:a
-    xmlns:test="test"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="test Bug4674384_MAX_OCCURS_Test.xsd">
-<b>1</b>
-<b>2</b>
-</test:a>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4674384_MAX_OCCURS_Test.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0"?>
-
-<xsd:schema
-  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-  xmlns="test"
-  targetNamespace="test">
-
-     <xsd:element name="a" type="A"/>
-     <xsd:complexType name="A">
-          <xsd:sequence>
-	       <xsd:element name="b" type="xsd:string" maxOccurs="3000"/>
-	  </xsd:sequence>
-     </xsd:complexType>
-
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4934208.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.XMLReader;
-
-import util.DraconianErrorHandler;
-
-/*
- * @bug 4934208
- * @summary Test SAXParser can parse keyref constraint with a selector that is a union xpath expression selecting a node and its child.
- */
-public class Bug4934208 {
-    @Test
-    public void test1() throws Exception {
-        parse(new InputSource(Bug4934208.class.getResourceAsStream("test1.xml")));
-    }
-
-    @Test
-    public void test2() throws Exception {
-        try {
-            parse(new InputSource(Bug4934208.class.getResourceAsStream("test2.xml")));
-        } catch (SAXException e) {
-            Assert.assertTrue(e.getMessage().startsWith("cvc-complex-type.2.4.a"));
-        }
-    }
-
-    private void parse(InputSource is) throws Exception {
-        SAXParserFactory spf = SAXParserFactory.newInstance();
-        spf.setNamespaceAware(true);
-        spf.setValidating(true);
-        SAXParser parser = spf.newSAXParser();
-
-        parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
-        parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource", Bug4934208.class.getResourceAsStream("test.xsd"));
-
-        XMLReader r = parser.getXMLReader();
-
-        r.setErrorHandler(new DraconianErrorHandler());
-        r.parse(is);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4967002.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,97 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.io.StringReader;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-
-/*
- * @bug 4967002
- * @summary Test DocumentBuilderFactory.newDocumentBuilder() throws ParserConfigurationException
- * when it uses the "http://java.sun.com/xml/jaxp/properties/schemaSource" property
- * and/or the "http://java.sun.com/xml/jaxp/properties/schemaLanguage" property
- * in conjunction with setting a Schema object.
- */
-public class Bug4967002 {
-    String schemaSource = "<?xml version='1.0'?>\n" + "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'>\n" + "  <xsd:element name='test101'>\n"
-            + "    <xsd:complexType>\n" + "      <xsd:attribute name='attr'/>\n" + "      <xsd:attribute name='attr2' default='DEF'/>\n"
-            + "    </xsd:complexType>\n" + "  </xsd:element>\n" + "</xsd:schema>\n";
-
-    Schema createSchema() {
-        SchemaFactory schFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        try {
-            Schema sch = schFactory.newSchema(new StreamSource(new StringReader(schemaSource)));
-            return sch;
-        } catch (Exception se) {
-            throw new IllegalStateException("No Schema : " + se);
-        }
-    }
-
-    @Test
-    public void test1() {
-        setAttr(true);
-    }
-
-    @Test
-    public void test2() {
-        setAttr(false);
-    }
-
-    void setAttr(boolean setSrc) {
-        DocumentBuilderFactory docBFactory = DocumentBuilderFactory.newInstance();
-        Schema sch = createSchema();
-        docBFactory.setSchema(sch);
-        docBFactory.setNamespaceAware(true);
-        docBFactory.setValidating(true);
-
-        final String aSchemaLanguage = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
-        final String aSchemaSource = "http://java.sun.com/xml/jaxp/properties/schemaSource";
-
-        docBFactory.setAttribute(aSchemaLanguage, "http://www.w3.org/2001/XMLSchema");
-        // System.out.println("---- Set schemaLanguage: " +
-        // docBFactory.getAttribute(aSchemaLanguage));
-        if (setSrc) {
-            docBFactory.setAttribute(aSchemaSource, new InputSource(new StringReader(schemaSource)));
-            // System.out.println("---- Set schemaSource: " +
-            // docBFactory.getAttribute(aSchemaSource));
-        }
-
-        try {
-            docBFactory.newDocumentBuilder();
-            Assert.fail("ParserConfigurationException expected");
-        } catch (ParserConfigurationException pce) {
-            return; // success
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4985486.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import javax.xml.parsers.SAXParserFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 4985486
- * @summary Test SAXParser can parse large characters(more than 10000).
- */
-public class Bug4985486 {
-
-    @Test
-    public void test1() throws Exception {
-        SAXParserFactory spf = SAXParserFactory.newInstance();
-        System.out.println(spf.getClass().getName());
-        spf.setNamespaceAware(true);
-        spf.newSAXParser().parse(Bug4985486.class.getResourceAsStream("Bug4985486.xml"), new Handler());
-    }
-
-    private class Handler extends DefaultHandler {
-        StringBuffer buf = new StringBuffer();
-
-        public void characters(char[] ch, int start, int length) throws SAXException {
-            buf.append(ch, start, length);
-        }
-
-        public void endDocument() throws SAXException {
-            String contents = buf.toString();
-            Assert.assertTrue(contents.endsWith("[END]"));
-            while (contents.length() >= 10) {
-                Assert.assertTrue(contents.startsWith("0123456789"));
-                contents = contents.substring(10);
-            }
-        }
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4985486.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0"?>
-<root>0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789[END]</root>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991020.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.testng.annotations.Test;
-
-/*
- * @bug 4991020
- * @summary Test XPath like "node_name/." can be parsed.
- */
-public class Bug4991020 {
-
-    protected static SAXParser createParser() throws Exception {
-        SAXParserFactory spf = SAXParserFactory.newInstance();
-        spf.setNamespaceAware(true);
-        spf.setValidating(true);
-        SAXParser parser = spf.newSAXParser();
-        parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
-
-        return parser;
-    }
-
-    @Test
-    public void test1() throws Exception {
-        SAXParser parser = createParser();
-        parser.parse(Bug4991020.class.getResource("Bug4991020.xml").toExternalForm(), new util.DraconianErrorHandler());
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991020.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0"?>
-<test:root xmlns:test="test"
-            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-            xsi:schemaLocation="test Bug4991020.xsd"
-><child>123</child></test:root>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991020.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-             targetNamespace="test">
-     <xsd:element name="root">
-         <xsd:complexType>
-             <xsd:sequence>
-                 <xsd:element name="child" type="xsd:string"/>
-             </xsd:sequence>
-         </xsd:complexType>
-
-         <xsd:key name="key1">
-             <xsd:selector xpath="."/>
-             <xsd:field xpath="child/."/>
-         </xsd:key>
-     </xsd:element>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991946.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.testng.annotations.Test;
-
-/*
- * @bug 4991946
- * @summary Can parse the element type is anyType in the schema and is substituted by the simple type via the 'xsi:type' attribute in xml document.
- */
-public class Bug4991946 {
-
-    protected static SAXParser createParser() throws Exception {
-        SAXParserFactory spf = SAXParserFactory.newInstance();
-        spf.setNamespaceAware(true);
-        spf.setValidating(true);
-        SAXParser parser = spf.newSAXParser();
-        parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
-
-        return parser;
-    }
-
-    @Test
-    public void test1() throws Exception {
-        SAXParser parser = createParser();
-        parser.parse(Bug4991946.class.getResource("Bug4991946.xml").toExternalForm(), new util.DraconianErrorHandler());
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991946.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0"?>
-<test:root xmlns:test="test"
-            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-            xsi:schemaLocation="test Bug4991946.xsd"
-            xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-   <child xsi:type="xsd:string">123</child>
-</test:root>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug4991946.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-             targetNamespace="test">
-     <xsd:element name="root">
-         <xsd:complexType>
-             <xsd:sequence>
-                 <xsd:element name="child" type="xsd:anyType"/>
-             </xsd:sequence>
-         </xsd:complexType>
-
-         <xsd:key name="key1">
-             <xsd:selector xpath="."/>
-             <xsd:field xpath="child"/>
-         </xsd:key>
-     </xsd:element>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug5010072.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 5010072
- * @summary Test SchemaFactory throws SAXException if xpath is "@".
- */
-public class Bug5010072 {
-
-    protected static class ErrorHandler extends DefaultHandler {
-        public int errorCounter = 0;
-
-        public void error(SAXParseException e) throws SAXException {
-
-            System.err.println("Error: " + "[[" + e.getPublicId() + "][" + e.getSystemId() + "]]" + "[[" + e.getLineNumber() + "][" + e.getColumnNumber()
-                    + "]]" + e);
-
-            errorCounter++;
-
-            throw e;
-        }
-
-        public void fatalError(SAXParseException e) throws SAXException {
-            System.err.println("Fatal Error: " + e);
-            errorCounter++;
-        }
-    }
-
-    @Test
-    public void test1() throws Exception {
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-        ErrorHandler errorHandler = new ErrorHandler();
-        schemaFactory.setErrorHandler(errorHandler);
-
-        try {
-            schemaFactory.newSchema(Bug5010072.class.getResource("Bug5010072.xsd"));
-            Assert.fail("should fail to compile");
-        } catch (SAXException e) {
-            ; // as expected
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug5010072.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-	<xsd:element name="root">
-		<xsd:complexType>
-			<xsd:sequence>
-				<xsd:element name="tid" maxOccurs="unbounded"/>
-			</xsd:sequence>
-		</xsd:complexType>
-		<xsd:unique id="foo123" name="uid">
-			<xsd:selector xpath=".//tid"/>
-			<xsd:field xpath="@"/>
-		</xsd:unique>
-	</xsd:element>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug5025825.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,85 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.io.StringReader;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 5025825
- * @summary Test if SAXParserFactory set a Schema object, when SAXParser sets "http://java.sun.com/xml/jaxp/properties/schemaSource" property
- * and/or "http://java.sun.com/xml/jaxp/properties/schemaLanguage" property, it shall throw SAXException.
- */
-public class Bug5025825 {
-
-    String schemaSource = "<?xml version='1.0'?>\n" + "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'>\n" + "  <xsd:element name='test101'>\n"
-            + "    <xsd:complexType>\n" + "      <xsd:attribute name='attr'/>\n" + "      <xsd:attribute name='attr2' default='DEF'/>\n"
-            + "    </xsd:complexType>\n" + "  </xsd:element>\n" + "</xsd:schema>\n";
-
-    private Schema createSchema() throws SAXException {
-        SchemaFactory schFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        return schFactory.newSchema(new StreamSource(new StringReader(schemaSource)));
-    }
-
-    @Test
-    public void test1() throws Exception {
-        Schema sch = createSchema();
-        Assert.assertNotNull(sch);
-
-        SAXParserFactory spFactory = SAXParserFactory.newInstance();
-        spFactory.setNamespaceAware(true);
-        spFactory.setValidating(true);
-        spFactory.setSchema(sch);
-
-        SAXParser sParser = spFactory.newSAXParser();
-
-        final String aSchemaLanguage = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
-        final String aSchemaSource = "http://java.sun.com/xml/jaxp/properties/schemaSource";
-
-        try {
-            sParser.setProperty(aSchemaLanguage, "http://www.w3.org/2001/XMLSchema");
-            Assert.fail("---- Set schemaLanguage: " + sParser.getProperty(aSchemaLanguage));
-        } catch (SAXException e) {
-            ; // as expected
-        }
-
-        try {
-            sParser.setProperty(aSchemaSource, new InputSource(new StringReader(schemaSource)));
-            Assert.fail("---- Set schemaSource: " + sParser.getProperty(aSchemaSource));
-        } catch (SAXException e) {
-            ; // as expected
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6309988.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,380 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.io.File;
-import java.io.InputStream;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.xml.sax.SAXParseException;
-
-/*
- * @bug 6309988
- * @summary Test elementAttributeLimit, maxOccurLimit, entityExpansionLimit.
- */
-public class Bug6309988 {
-
-    DocumentBuilderFactory dbf = null;
-    static boolean _isSecureMode = false;
-    static {
-        if (System.getSecurityManager() != null) {
-            _isSecureMode = true;
-            System.out.println("Security Manager is present");
-        } else {
-            System.out.println("Security Manager is NOT present");
-        }
-    }
-
-    /*
-     * Given XML document has more than 10000 attributes. Exception is expected
-     */
-    @Test
-    public void testDOMParserElementAttributeLimit() {
-        try {
-            dbf = DocumentBuilderFactory.newInstance();
-            DocumentBuilder parser = dbf.newDocumentBuilder();
-            Document doc = parser.parse(this.getClass().getResourceAsStream("DosTest.xml"));
-            Assert.fail("SAXParserException is expected, as given XML document contains more than 10000 attributes");
-        } catch (SAXParseException e) {
-            System.out.println(e.getMessage());
-        } catch (Exception e) {
-            Assert.fail("Exception " + e.getMessage());
-        }
-    }
-
-    /*
-     * Given XML document has more than 10000 attributes. It should report an
-     * error.
-     */
-    @Test
-    public void testDOMNSParserElementAttributeLimit() {
-        try {
-            dbf = DocumentBuilderFactory.newInstance();
-            dbf.setNamespaceAware(true);
-            DocumentBuilder parser = dbf.newDocumentBuilder();
-            Document doc = parser.parse(this.getClass().getResourceAsStream("DosTest.xml"));
-            Assert.fail("SAXParserException is expected, as given XML document contains more than 10000 attributes");
-        } catch (SAXParseException e) {
-            System.out.println(e.getMessage());
-        } catch (Exception e) {
-            Assert.fail("Exception " + e.getMessage());
-        }
-    }
-
-    /*
-     * Given XML document has more than 10000 attributes. Parsing this XML
-     * document in non-secure mode, should not report any error.
-     */
-    @Test
-    public void testDOMNSParserElementAttributeLimitWithoutSecureProcessing() {
-        if (_isSecureMode)
-            return; // jaxp secure feature can not be turned off when security
-                    // manager is present
-        try {
-            dbf = DocumentBuilderFactory.newInstance();
-            dbf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false);
-            dbf.setNamespaceAware(true);
-            DocumentBuilder parser = dbf.newDocumentBuilder();
-            Document doc = parser.parse(this.getClass().getResourceAsStream("DosTest.xml"));
-
-        } catch (SAXParseException e) {
-            Assert.fail(e.getMessage());
-        } catch (Exception e) {
-            Assert.fail("Exception " + e.getMessage());
-        }
-    }
-
-    /*
-     * Before 8014530: Given XML document has 3 attributes and System property
-     * is set to 2. Parsing this XML document in non-secure mode, should not
-     * report an error.
-     * After 8014530: System properties will override FSP, the result of this
-     * test should be the same as
-     * testSystemElementAttributeLimitWithSecureProcessing
-     */
-    @Test
-    public void testSystemElementAttributeLimitWithoutSecureProcessing() {
-        if (_isSecureMode)
-            return; // jaxp secure feature can not be turned off when security
-                    // manager is present
-        try {
-            dbf = DocumentBuilderFactory.newInstance();
-            dbf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false);
-            dbf.setNamespaceAware(true);
-            System.setProperty("elementAttributeLimit", "2");
-            DocumentBuilder parser = dbf.newDocumentBuilder();
-            Document doc = parser.parse(this.getClass().getResourceAsStream("DosTest3.xml"));
-
-            Assert.fail("SAXParserException is expected, as given XML document contains more than 2 attributes");
-        } catch (Exception e) {
-            String errMsg = e.getMessage();
-            Throwable cause = e.getCause();
-            if (cause != null) {
-                errMsg += cause.getMessage();
-            }
-            if (errMsg.contains("JAXP0001")) {
-                // expected
-            } else {
-                Assert.fail("Unexpected error: " + e.getMessage());
-            }
-        } finally {
-            System.clearProperty("elementAttributeLimit");
-        }
-    }
-
-    /*
-     * Given XML document has 3 attributes and System property is set to 2.
-     * Parsing this XML document in secure mode, should report an error.
-     */
-    @Test
-    public void testSystemElementAttributeLimitWithSecureProcessing() {
-        try {
-            dbf = DocumentBuilderFactory.newInstance();
-            dbf.setNamespaceAware(true);
-            System.setProperty("elementAttributeLimit", "2");
-            DocumentBuilder parser = dbf.newDocumentBuilder();
-            Document doc = parser.parse(this.getClass().getResourceAsStream("DosTest3.xml"));
-            Assert.fail("SAXParserException is expected, as given XML document contains more than 2 attributes");
-        } catch (SAXParseException e) {
-            System.out.println(e.getMessage());
-        } catch (Exception e) {
-            Assert.fail("Exception " + e.getMessage());
-        } finally {
-            System.setProperty("elementAttributeLimit", "");
-        }
-    }
-
-    /*
-     * Default value for secure processing feature should be true.
-     */
-    @Test
-    public void testDOMSecureProcessingDefaultValue() {
-        try {
-            dbf = DocumentBuilderFactory.newInstance();
-            Assert.assertTrue(dbf.getFeature(XMLConstants.FEATURE_SECURE_PROCESSING), "Default value for secureProcessing feature should be true");
-
-        } catch (Exception e) {
-            Assert.fail("Exception " + e.getMessage());
-        }
-    }
-
-    /*
-     * Default value for secure processing feature should be true.
-     */
-    @Test
-    public void testSAXSecureProcessingDefaultValue() {
-        try {
-            SAXParserFactory spf = SAXParserFactory.newInstance();
-            Assert.assertTrue(spf.getFeature(XMLConstants.FEATURE_SECURE_PROCESSING), "Default value for secureProcessing feature should be true");
-
-        } catch (Exception e) {
-            Assert.fail("Exception " + e.getMessage());
-        }
-    }
-
-    /*
-     * This method sets system property for maxOccurLimit=2 and secure process
-     * feature is off. Given doument contains more than 2 elements and hence an
-     * error should be reported.
-     */
-    @Test
-    public void testSystemMaxOccurLimitWithoutSecureProcessing() {
-        if (_isSecureMode)
-            return; // jaxp secure feature can not be turned off when security
-                    // manager is present
-        try {
-            SAXParserFactory spf = SAXParserFactory.newInstance();
-            spf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false);
-            spf.setValidating(true);
-            System.setProperty("maxOccurLimit", "2");
-            // Set the properties for Schema Validation
-            String SCHEMA_LANG = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
-            String SCHEMA_TYPE = "http://www.w3.org/2001/XMLSchema";
-            // Get the Schema location as a File object
-            File schemaFile = new File(this.getClass().getResource("toys.xsd").toURI());
-            // Get the parser
-            SAXParser parser = spf.newSAXParser();
-            parser.setProperty(SCHEMA_LANG, SCHEMA_TYPE);
-            parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource", schemaFile);
-
-            InputStream is = this.getClass().getResourceAsStream("toys.xml");
-            MyErrorHandler eh = new MyErrorHandler();
-            parser.parse(is, eh);
-            Assert.assertFalse(eh.errorOccured, "Not Expected Error");
-            System.setProperty("maxOccurLimit", "");
-        } catch (Exception e) {
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    /*
-     * This test will take longer time to execute( abt 120sec). This method
-     * tries to validate a document. This document contains an element whose
-     * maxOccur is '3002'. Since secure processing feature is off, document
-     * should be parsed without any errors.
-     */
-    @Test
-    public void testValidMaxOccurLimitWithOutSecureProcessing() {
-        if (_isSecureMode)
-            return; // jaxp secure feature can not be turned off when security
-                    // manager is present
-        try {
-            SAXParserFactory spf = SAXParserFactory.newInstance();
-            spf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false);
-            spf.setValidating(true);
-            // Set the properties for Schema Validation
-            String SCHEMA_LANG = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
-            String SCHEMA_TYPE = "http://www.w3.org/2001/XMLSchema";
-            // Get the Schema location as a File object
-            File schemaFile = new File(this.getClass().getResource("toys3002.xsd").toURI());
-            // Get the parser
-            SAXParser parser = spf.newSAXParser();
-            parser.setProperty(SCHEMA_LANG, SCHEMA_TYPE);
-            parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource", schemaFile);
-
-            InputStream is = this.getClass().getResourceAsStream("toys.xml");
-            MyErrorHandler eh = new MyErrorHandler();
-            parser.parse(is, eh);
-            Assert.assertFalse(eh.errorOccured, "Expected Error as maxOccurLimit is exceeded");
-
-        } catch (Exception e) {
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    /*
-     * Before 8014530: System property is set to 2. Given XML document has more
-     * than 2 entity references. Parsing this document in non-secure mode,
-     * should *not* report an error.
-     * After 8014530: System properties will override FSP, the result of this
-     * test should be the same as
-     * testSystemElementAttributeLimitWithSecureProcessing
-     */
-    @Test
-    public void testSystemEntityExpansionLimitWithOutSecureProcessing() {
-        if (_isSecureMode)
-            return; // jaxp secure feature can not be turned off when security
-                    // manager is present
-        try {
-            System.setProperty("entityExpansionLimit", "2");
-            dbf = DocumentBuilderFactory.newInstance();
-            dbf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false);
-            dbf.setValidating(true);
-            DocumentBuilder parser = dbf.newDocumentBuilder();
-            Document doc = parser.parse(this.getClass().getResourceAsStream("entity.xml"));
-            Assert.fail("SAXParserException is expected, as given XML document contains more 2 entity references");
-        } catch (Exception e) {
-            String errMsg = e.getMessage();
-            Throwable cause = e.getCause();
-            if (cause != null) {
-                errMsg += cause.getMessage();
-            }
-            if (errMsg.contains("JAXP0001")) {
-                // expected
-            } else {
-                Assert.fail("Unexpected error: " + e.getMessage());
-            }
-        } finally {
-            System.clearProperty("entityExpansionLimit");
-        }
-    }
-
-    /*
-     * System property is set to 2. Given XML document has more than 2 entity
-     * references. Parsing this document in secure mode, should report an error.
-     */
-    @Test
-    public void testSystemEntityExpansionLimitWithSecureProcessing() {
-        try {
-            dbf = DocumentBuilderFactory.newInstance();
-            dbf.setValidating(true);
-            System.setProperty("entityExpansionLimit", "2");
-            DocumentBuilder parser = dbf.newDocumentBuilder();
-            Document doc = parser.parse(this.getClass().getResourceAsStream("entity.xml"));
-            Assert.fail("SAXParserException is expected, as given XML document contains more 2 entity references");
-
-        } catch (SAXParseException e) {
-            System.out.println(e.getMessage());
-        } catch (Exception e) {
-            Assert.fail("Exception " + e.getMessage());
-        } finally {
-            System.setProperty("entityExpansionLimit", "");
-        }
-    }
-
-    /*
-     * Given XML document has more than 64000 entity references. Parsing this
-     * document in secure mode, should report an error.
-     */
-    @Test
-    public void testEntityExpansionLimitWithSecureProcessing() {
-        try {
-            dbf = DocumentBuilderFactory.newInstance();
-            dbf.setValidating(true);
-            DocumentBuilder parser = dbf.newDocumentBuilder();
-            Document doc = parser.parse(this.getClass().getResourceAsStream("entity64K.xml"));
-            Assert.fail("SAXParserException is expected, as given XML document contains more 2 entity references");
-
-        } catch (SAXParseException e) {
-            System.out.println(e.getMessage());
-        } catch (Exception e) {
-            Assert.fail("Exception " + e.getMessage());
-        } finally {
-            System.setProperty("entityExpansionLimit", "");
-        }
-    }
-
-    /*
-     * Given XML document has more than 64000 entity references. Parsing this
-     * document in non-secure mode, should not report any error.
-     */
-    @Test
-    public void testEntityExpansionLimitWithOutSecureProcessing() {
-        if (_isSecureMode)
-            return; // jaxp secure feature can not be turned off when security
-                    // manager is present
-        try {
-            dbf = DocumentBuilderFactory.newInstance();
-            dbf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false);
-            dbf.setValidating(true);
-            DocumentBuilder parser = dbf.newDocumentBuilder();
-            Document doc = parser.parse(this.getClass().getResourceAsStream("entity64K.xml"));
-
-        } catch (SAXParseException e) {
-            Assert.fail("Exception " + e.getMessage());
-        } catch (Exception e) {
-            Assert.fail("Exception " + e.getMessage());
-        } finally {
-            System.setProperty("entityExpansionLimit", "");
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6341770.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.io.File;
-import java.io.FileWriter;
-import java.io.PrintWriter;
-
-import javax.xml.parsers.SAXParserFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.Attributes;
-import org.xml.sax.SAXException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 6341770
- * @summary Test external entity linked to non-ASCII base URL.
- */
-public class Bug6341770 {
-
-    // naming a file "aux" would fail on windows.
-    @Test
-    public void testNonAsciiURI() {
-        try {
-            File dir = File.createTempFile("sko\u0159ice", null);
-            dir.delete();
-            dir.mkdir();
-            File main = new File(dir, "main.xml");
-            PrintWriter w = new PrintWriter(new FileWriter(main));
-            w.println("<!DOCTYPE r [<!ENTITY aux SYSTEM \"aux1.xml\">]>");
-            w.println("<r>&aux;</r>");
-            w.flush();
-            w.close();
-            File aux = new File(dir, "aux1.xml");
-            w = new PrintWriter(new FileWriter(aux));
-            w.println("<x/>");
-            w.flush();
-            w.close();
-            System.out.println("Parsing: " + main);
-            SAXParserFactory.newInstance().newSAXParser().parse(main, new DefaultHandler() {
-                public void startElement(String uri, String localname, String qname, Attributes attr) throws SAXException {
-                    System.out.println("encountered <" + qname + ">");
-                }
-            });
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception: " + e.getMessage());
-        }
-        System.out.println("OK.");
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6361283.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6361283
- * @summary Test SAXParser returns version as 1.1 for XML 1.1 document.
- */
-public class Bug6361283 {
-
-    @Test
-    public void testXMLVersion() {
-        try {
-            SAXParserFactory factory = SAXParserFactory.newInstance();
-            SAXParser parser = factory.newSAXParser();
-            Assert.assertTrue(factory.getFeature("http://xml.org/sax/features/use-locator2"), "use-locator2 should have value as true");
-            MyDefaultHandler dh = new MyDefaultHandler();
-            parser.parse(this.getClass().getResourceAsStream("catalog.xml"), dh);
-            Assert.assertTrue(dh.xmlVersion.equals("1.1"), "XML Document version should be 1.1");
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6506304Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.XMLReader;
-
-/*
- * @bug 6506304
- * @summary Test MalformedURLException: unknown protocol won't be thrown when there is a space within the full path file name.
- */
-public class Bug6506304Test {
-    public static boolean isWindows = false;
-    static {
-        if (System.getProperty("os.name").indexOf("Windows") > -1) {
-            isWindows = true;
-        }
-    };
-
-    @Test
-    public void testPath() throws Exception {
-        if (isWindows) {
-            try {
-                SAXParserFactory factory = SAXParserFactory.newInstance();
-                factory.setNamespaceAware(true);
-                SAXParser jaxpParser = factory.newSAXParser();
-                XMLReader reader = jaxpParser.getXMLReader();
-                reader.parse("C:/space error/x.xml");
-                System.exit(0);
-            } catch (Exception e) {
-                System.out.println(e.getMessage());
-                if (e.getMessage().equalsIgnoreCase("unknown protocol: c")) {
-                    Assert.fail("jdk5 allowed the above form");
-                } else if (e.getMessage().indexOf("(The system cannot find the path specified)") > 0) {
-                    // expected
-                }
-            }
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6518733.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.io.FileReader;
-
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.Attributes;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6518733
- * @summary Test SAX parser handles several attributes that each contain a newline within the attribute value.
- */
-public class Bug6518733 {
-
-    @Test
-    public void test() {
-        SAXParserFactory factory = SAXParserFactory.newInstance();
-        try {
-            SAXParser saxParser = factory.newSAXParser();
-            saxParser.parse(new InputSource(new FileReader(getClass().getResource("Bug6518733.xml").getFile())), new Handler());
-        } catch (Exception ex) {
-            ex.printStackTrace();
-        }
-    }
-
-    static class Handler extends org.xml.sax.helpers.DefaultHandler {
-        public void startElement(String uri, String localName, String qName, Attributes attrs) throws SAXException {
-            // Make sure that the value of attribute q7 is "7 G"
-            if (qName.equals("obj")) {
-                Assert.assertTrue(attrs.getValue("", "q7").equals("7 G"));
-            }
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6518733.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-<?xml version="1.0"?>
-
-<obj
-
-q1="1
-A"
-
-q2="2
-B"
-
-q3="3
-C"
-
-q4="4
-D"
-
-q5="5
-E"
-
-q6="6
-F"
-
-q7="7
-G"
-
-q8="8
-H"
-
-q9="9
-I"
-
-/>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6564400.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,176 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.InputStream;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-import org.w3c.dom.Text;
-import org.xml.sax.SAXException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 6564400
- * @summary Test ignorable whitespace handling with schema validation.
- */
-public class Bug6564400 {
-    private boolean sawIgnorable = false;
-    Schema schema = null;
-
-    public Bug6564400(String name) {
-        String xsdFile = "Bug6564400.xsd";
-        File schemaFile = new File(xsdFile);
-
-        // Now attempt to load up the schema
-        try {
-            SchemaFactory schFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            schema = schFactory.newSchema(new StreamSource(getClass().getResourceAsStream(xsdFile)));
-        } catch (Exception e) {
-            // Nevermind, bad things will happen later
-        }
-    }
-
-    @Test
-    public void testDOM() throws ParserConfigurationException, SAXException, IOException {
-        InputStream xmlFile = getClass().getResourceAsStream("Bug6564400.xml");
-
-        // Set the options on the DocumentFactory to remove comments, remove
-        // whitespace
-        // and validate against the schema.
-        DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance();
-        docFactory.setIgnoringComments(true);
-        docFactory.setIgnoringElementContentWhitespace(true);
-        docFactory.setSchema(schema);
-
-        DocumentBuilder parser = docFactory.newDocumentBuilder();
-        Document xmlDoc = parser.parse(xmlFile);
-
-        boolean ok = dump(xmlDoc, true);
-        Assert.assertEquals(true, ok);
-    }
-
-    @Test
-    public void testSAX() throws ParserConfigurationException, SAXException, IOException {
-        InputStream xmlFile = getClass().getResourceAsStream("Bug6564400.xml");
-
-        // Parse with SAX
-        SAXParserFactory saxFactory = SAXParserFactory.newInstance();
-        saxFactory.setSchema(schema);
-
-        SAXParser saxparser = saxFactory.newSAXParser();
-
-        sawIgnorable = false;
-        saxparser.parse(xmlFile, new MyHandler());
-        Assert.assertEquals(true, sawIgnorable);
-    }
-
-    @Test
-    public void testConformantDOM() throws ParserConfigurationException, SAXException, IOException {
-        InputStream xmlFile = getClass().getResourceAsStream("Bug6564400.xml");
-
-        // Set the options on the DocumentFactory to remove comments, remove
-        // whitespace
-        // and validate against the schema.
-        DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance();
-        docFactory.setIgnoringComments(true);
-        docFactory.setIgnoringElementContentWhitespace(true);
-        docFactory.setSchema(schema);
-        docFactory.setFeature("http://java.sun.com/xml/schema/features/report-ignored-element-content-whitespace", true);
-
-        DocumentBuilder parser = docFactory.newDocumentBuilder();
-        Document xmlDoc = parser.parse(xmlFile);
-
-        boolean ok = dump(xmlDoc, true);
-        Assert.assertEquals(false, ok);
-    }
-
-    @Test
-    public void testConformantSAX() throws ParserConfigurationException, SAXException, IOException {
-        InputStream xmlFile = getClass().getResourceAsStream("Bug6564400.xml");
-
-        // Parse with SAX
-        SAXParserFactory saxFactory = SAXParserFactory.newInstance();
-        saxFactory.setSchema(schema);
-        saxFactory.setFeature("http://java.sun.com/xml/schema/features/report-ignored-element-content-whitespace", true);
-
-        SAXParser saxparser = saxFactory.newSAXParser();
-
-        sawIgnorable = false;
-        saxparser.parse(xmlFile, new MyHandler());
-        Assert.assertEquals(false, sawIgnorable);
-    }
-
-    private boolean dump(Node node) {
-        return dump(node, false);
-    }
-
-    private boolean dump(Node node, boolean silent) {
-        return dump(node, silent, 0);
-    }
-
-    private boolean dump(Node node, boolean silent, int depth) {
-        boolean ok = true;
-        if (!silent) {
-            for (int i = 0; i < depth; i++) {
-                System.out.print("  ");
-            }
-            System.out.println(node);
-        }
-
-        if (node.getNodeType() == Node.TEXT_NODE) {
-            String text = ((Text) node).getData();
-            ok = ok && text.trim().length() > 0;
-        }
-
-        if (node.getNodeType() == Node.ELEMENT_NODE || node.getNodeType() == Node.DOCUMENT_NODE) {
-            Node child = node.getFirstChild();
-            while (child != null) {
-                ok = ok && dump(child, silent, depth + 1);
-                child = child.getNextSibling();
-            }
-        }
-        return ok;
-    }
-
-    public class MyHandler extends DefaultHandler {
-        public void ignorableWhitespace(char[] ch, int start, int length) {
-            sawIgnorable = true;
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6564400.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-<Person>
-        <FirstName>Doofus</FirstName><!-- MONKEY -->
-        <LastName>McGee</LastName>
-</Person>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6564400.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
-  <xsd:element name='Person' type='PersonType'/>
-  <xsd:complexType name='PersonType'>
-                <xsd:sequence>
-                        <xsd:element name='FirstName' type='xsd:string'/>
-                        <xsd:element name='LastName' type='xsd:string'/>
-                </xsd:sequence>
-        </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6573786.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.io.InputStream;
-import java.io.StringBufferInputStream;
-
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6573786
- * @summary Test parser error messages are formatted.
- */
-public class Bug6573786 {
-    String _cache = "";
-
-    @Test
-    public void test() {
-        final String XML = "" + "<?xml version='1.0' encoding='UTF-8' standalone='bad_value' ?>" + "<root />";
-
-        runTest(XML);
-
-    }
-
-    @Test
-    public void test1() {
-        final String XML = "" + "<?xml version='1.0' standalone='bad_value' encoding='UTF-8' ?>" + "<root />";
-        runTest(XML);
-
-    }
-
-    void runTest(String xmlString) {
-        Bug6573786ErrorHandler handler = new Bug6573786ErrorHandler();
-        try {
-            InputStream is = new StringBufferInputStream(xmlString);
-            SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
-            parser.parse(is, handler);
-        } catch (Exception e) {
-            if (handler.fail) {
-                Assert.fail("The value of standalone attribute should be merged into the error message.");
-            }
-        }
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6573786ErrorHandler.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.helpers.DefaultHandler;
-
-public class Bug6573786ErrorHandler extends DefaultHandler {
-    public boolean fail = false;
-
-    public void fatalError(SAXParseException e) throws SAXException {
-        System.out.println(e.getMessage());
-        if (e.getMessage().indexOf("bad_value") < 0) {
-            fail = true;
-        }
-    } // fatalError ()
-
-    public void error(SAXParseException e) throws SAXException {
-        System.out.println(e.getMessage());
-    } // error ()
-
-    public void warning(SAXParseException e) throws SAXException {
-        System.out.println(e.getMessage());
-    } // warning ()
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6594813.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,171 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.io.StringReader;
-import java.io.StringWriter;
-
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.sax.SAXSource;
-import javax.xml.transform.stream.StreamResult;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 6594813
- * @summary Test SAXParser output is wellformed with name space.
- */
-public class Bug6594813 {
-
-    public Bug6594813(String name) {
-    }
-
-    private static final String TESTXML = "<?xml version='1.0' ?>\n"
-            + "<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:ns1='http://faulttestservice.org/wsdl'>\n"
-            + "<soapenv:Body>\n" + "<soapenv:Fault xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'>\n" + "<faultcode>\n"
-            + "soapenv:Server</faultcode>\n" + "<faultstring>\n" + "com.sun.ts.tests.jaxws.sharedwebservices.faultservice.DummyException</faultstring>\n"
-            + "<detail>\n" + "<ns1:DummyException>\n" + "<dummyField1>\n" + "dummyString1</dummyField1>\n" + "<dummyField2>\n" + "dummyString2</dummyField2>\n"
-            + "</ns1:DummyException>\n" + "</detail>\n" + "</soapenv:Fault>\n" + "</soapenv:Body>\n" + "</soapenv:Envelope>\n";
-
-    // simplest XML to re-declare same prefix/namespace mappings
-    private static final String SIMPLE_TESTXML = "<?xml version='1.0' ?>\n" + "<prefix:ElementName xmlns:prefix='URI'>\n"
-            + "<prefix:ElementName xmlns:prefix='URI'>\n" + "</prefix:ElementName>\n" + "</prefix:ElementName>\n";
-
-    private String runTransform(SAXParser sp) throws Exception {
-        // Run identity transform using SAX parser
-        SAXSource src = new SAXSource(sp.getXMLReader(), new InputSource(new StringReader(TESTXML)));
-        Transformer transformer = TransformerFactory.newInstance().newTransformer();
-        StringWriter sw = new StringWriter();
-        transformer.transform(src, new StreamResult(sw));
-
-        String result = sw.getBuffer().toString();
-        // System.out.println(result);
-        return result;
-    }
-
-    private void checkWellFormedness(String xml) throws Exception {
-        SAXParserFactory spf = SAXParserFactory.newInstance();
-        spf.setNamespaceAware(true); // Same as default
-        spf.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
-        SAXParser sp = spf.newSAXParser();
-
-        // Re-parse output to make sure that it is well formed
-        sp.parse(new InputSource(new StringReader(xml)), new DefaultHandler());
-    }
-
-    /**
-     * Test an identity transform of an XML document with NS decls using a
-     * non-ns-aware parser. Output result to a StreamSource. Set ns-awareness to
-     * FALSE and prefixes to FALSE.
-     */
-    @Test
-    public void testXMLNoNsAwareStreamResult1() {
-        try {
-            // Create SAX parser *without* enabling ns
-            SAXParserFactory spf = SAXParserFactory.newInstance();
-            spf.setNamespaceAware(false); // Same as default
-            spf.setFeature("http://xml.org/sax/features/namespace-prefixes", false);
-            SAXParser sp = spf.newSAXParser();
-
-            // Make sure that the output is well formed
-            String xml = runTransform(sp);
-            checkWellFormedness(xml);
-        } catch (Throwable ex) {
-            Assert.fail(ex.toString());
-        }
-    }
-
-    /**
-     * Test an identity transform of an XML document with NS decls using a
-     * non-ns-aware parser. Output result to a StreamSource. Set ns-awareness to
-     * FALSE and prefixes to TRUE.
-     */
-    @Test
-    public void testXMLNoNsAwareStreamResult2() {
-        try {
-            // Create SAX parser *without* enabling ns
-            SAXParserFactory spf = SAXParserFactory.newInstance();
-            spf.setNamespaceAware(false); // Same as default
-            spf.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
-            SAXParser sp = spf.newSAXParser();
-
-            // Make sure that the output is well formed
-            String xml = runTransform(sp);
-            checkWellFormedness(xml);
-        } catch (Throwable ex) {
-            Assert.fail(ex.toString());
-        }
-    }
-
-    /**
-     * Test an identity transform of an XML document with NS decls using a
-     * non-ns-aware parser. Output result to a StreamSource. Set ns-awareness to
-     * TRUE and prefixes to FALSE.
-     */
-    @Test
-    public void testXMLNoNsAwareStreamResult3() {
-        try {
-            // Create SAX parser *without* enabling ns
-            SAXParserFactory spf = SAXParserFactory.newInstance();
-            spf.setNamespaceAware(true); // Same as default
-            spf.setFeature("http://xml.org/sax/features/namespace-prefixes", false);
-            SAXParser sp = spf.newSAXParser();
-
-            // Make sure that the output is well formed
-            String xml = runTransform(sp);
-            checkWellFormedness(xml);
-        } catch (Throwable ex) {
-            Assert.fail(ex.toString());
-        }
-    }
-
-    /**
-     * Test an identity transform of an XML document with NS decls using a
-     * non-ns-aware parser. Output result to a StreamSource. Set ns-awareness to
-     * TRUE and prefixes to TRUE.
-     */
-    @Test
-    public void testXMLNoNsAwareStreamResult4() {
-        try {
-            // Create SAX parser *without* enabling ns
-            SAXParserFactory spf = SAXParserFactory.newInstance();
-            spf.setNamespaceAware(true); // Same as default
-            spf.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
-            SAXParser sp = spf.newSAXParser();
-
-            // Make sure that the output is well formed
-            String xml = runTransform(sp);
-            checkWellFormedness(xml);
-        } catch (Throwable ex) {
-            Assert.fail(ex.toString());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6608841.dtd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<!ENTITY % label.qname "IGNORE" >
-<!ENTITY % xhtml PUBLIC "-//W3C//DTD XHTML 1.1//EN" "Bug6608841_xhtml11-flat.dtd">
-%xhtml;
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6608841.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.io.File;
-import java.io.IOException;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 6608841
- * @summary Test SAX parses external parameter entity.
- */
-public class Bug6608841 {
-    public Bug6608841(String name) {
-    }
-
-    @Test
-    public void testParse() throws ParserConfigurationException, SAXException, IOException {
-        String file = getClass().getResource("Bug6608841.xml").getFile();
-        SAXParserFactory spf = SAXParserFactory.newInstance();
-        SAXParser parser = spf.newSAXParser();
-        parser.parse(new File(file), new MyHandler());
-    }
-
-    public class MyHandler extends DefaultHandler {
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6608841.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<!DOCTYPE html SYSTEM "Bug6608841.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>Some Title</title>
-</head>
-<body>
-<h1>Some Title</h1>
-<p>This is a test. This is only a test.</p>
-</body>
-</html>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6608841_xhtml11-flat.dtd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<?doc type="doctype" role="title" { XHTML 1.1 } ?>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6690015.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,83 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.io.FileInputStream;
-
-import javax.xml.parsers.DocumentBuilderFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import org.xml.sax.InputSource;
-
-/*
- * @bug 6518733
- * @summary Test SAX parser handles several attributes with newlines.
- */
-public class Bug6690015 {
-
-    public Bug6690015() {
-    }
-
-    @Test
-    public void test() {
-        try {
-            FileInputStream fis = new FileInputStream(getClass().getResource("bug6690015.xml").getFile());
-
-            Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new InputSource(fis));
-            Element root = doc.getDocumentElement();
-            NodeList textnodes = root.getElementsByTagName("text");
-            int len = textnodes.getLength();
-            int index = 0;
-            int attindex = 0;
-            int attrlen = 0;
-            NamedNodeMap attrs = null;
-
-            while (index < len) {
-                Element te = (Element) textnodes.item(index);
-                attrs = te.getAttributes();
-                attrlen = attrs.getLength();
-                attindex = 0;
-                Node node = null;
-
-                while (attindex < attrlen) {
-                    node = attrs.item(attindex);
-                    System.out.println("attr: " + node.getNodeName() + " is shown holding value: " + node.getNodeValue());
-                    attindex++;
-                }
-                index++;
-                System.out.println("-------------");
-            }
-            fis.close();
-        } catch (Exception e) {
-            Assert.fail("Exception: " + e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6760982.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,164 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.io.File;
-import java.io.FileReader;
-import java.io.Reader;
-
-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.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import org.xml.sax.InputSource;
-
-/*
- * @bug 6518733
- * @summary Test SAX parser handles several attributes with containing "&gt;".
- */
-public class Bug6760982 {
-
-    @Test
-    public void test() {
-        try {
-            Document xmlDoc = _Parse(new File(getClass().getResource("bug6760982.xml").getFile()));
-            Node node = xmlDoc.getDocumentElement();
-
-            _ProcessNode(node, 0);
-            _Flush();
-        } catch (Exception e) {
-            _ErrPrintln("Exception: " + e.toString());
-            Assert.fail("Exception: " + e.getMessage());
-        }
-    }
-
-    private static void _Flush() {
-        System.out.flush();
-        System.err.flush();
-    }
-
-    private static void _Println(String str, int level) {
-        for (int i = 0; i < level; i++)
-            System.out.print("    ");
-
-        System.out.println(str);
-        System.out.flush();
-    }
-
-    private static void _ErrPrintln(String aStr) {
-        System.out.flush();
-        System.err.println(aStr);
-        System.err.flush();
-    }
-
-    private static Document _Parse(File f) throws Exception {
-        FileReader rd = new FileReader(f);
-        Document doc = _Parse(rd);
-
-        rd.close();
-
-        return doc;
-    }
-
-    private static Document _Parse(Reader src) throws Exception {
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-
-        dbf.setValidating(false); // to improve performance
-
-        DocumentBuilder xmlParser = dbf.newDocumentBuilder();
-        InputSource is = new InputSource(src);
-
-        return xmlParser.parse(is);
-    }
-
-    private static void _PrintAttributes(Node n, int level) {
-        NamedNodeMap nnmap = n.getAttributes();
-
-        if (nnmap != null && nnmap.getLength() > 0) {
-            _Println("<attribs> (" + nnmap.getClass() + "):", level + 1);
-
-            for (int i = 0; i < nnmap.getLength(); i++) {
-                Node an = nnmap.item(i);
-
-                String nameStr = an.getNodeName();
-                String valueStr = an.getNodeValue();
-
-                if (valueStr != "")
-                    nameStr += " = " + valueStr;
-
-                _Println(nameStr, level + 2);
-            }
-        }
-    }
-
-    private static void _ProcessChildren(Node n, int level) throws Exception {
-        NodeList nlist = n.getChildNodes();
-
-        if (nlist != null)
-            for (int i = 0; i < nlist.getLength(); i++)
-                _ProcessNode(nlist.item(i), level + 1);
-    }
-
-    private static void _ProcessNode(Node n, int level) throws Exception {
-        n.getAttributes();
-        n.getChildNodes();
-
-        // At this point, for JVM 1.6 and Xerces <= 1.3.1,
-        // Test-XML.xml::mytest:Y's attribute is (already) bad.
-
-        switch (n.getNodeType()) {
-
-            case Node.TEXT_NODE:
-                String str = n.getNodeValue().trim();
-
-                /* ...Only print non-empty strings... */
-                if (str.length() > 0) {
-                    String valStr = n.getNodeValue();
-
-                    _Println(valStr, level);
-                }
-                break;
-
-            case Node.COMMENT_NODE:
-                break;
-
-            default: {
-                String nodeNameStr = n.getNodeName();
-
-                _Println(nodeNameStr + " (" + n.getClass() + "):", level);
-
-                /* ...Print children... */
-                _ProcessChildren(n, level);
-
-                /* ...Print optional node attributes... */
-                _PrintAttributes(n, level);
-            }
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug6849942Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.io.ByteArrayInputStream;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.w3c.dom.ProcessingInstruction;
-import org.xml.sax.InputSource;
-
-/*
- * @bug 6849942
- * @summary Test parsing an XML that starts with a processing instruction and no prolog.
- */
-public class Bug6849942Test {
-
-    @Test
-    public void test() throws Exception {
-        try {
-            ByteArrayInputStream bais = new ByteArrayInputStream("<?xmltarget foo?><test></test>".getBytes());
-            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
-            DocumentBuilder xmlParser = factory.newDocumentBuilder();
-            // DOMParser p = new DOMParser();
-            Document document = xmlParser.parse(new InputSource(bais));
-            String result = ((ProcessingInstruction) document.getFirstChild()).getData();
-            System.out.println(result);
-            if (!result.equalsIgnoreCase("foo")) {
-                Assert.fail("missing PI data");
-            }
-
-        } catch (Exception e) {
-        }
-    }
-
-    @Test
-    public void testWProlog() throws Exception {
-        try {
-            ByteArrayInputStream bais = new ByteArrayInputStream("<?xml version=\"1.1\" encoding=\"UTF-8\"?><?xmltarget foo?><test></test>".getBytes());
-            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
-            DocumentBuilder xmlParser = factory.newDocumentBuilder();
-            // DOMParser p = new DOMParser();
-            Document document = xmlParser.parse(new InputSource(bais));
-            String result = ((ProcessingInstruction) document.getFirstChild()).getData();
-            System.out.println(result);
-            if (!result.equalsIgnoreCase("foo")) {
-                Assert.fail("missing PI data");
-            }
-        } catch (Exception e) {
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug7157608.dtd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<!ELEMENT arg (#PCDATA)>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug7157608.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-    Document   : test1.xml
-    Created on : 2012/04/13, 18:21
-    Author     : 10385373
-    Description:
-        Purpose of the document follows.
--->
-
-<root>
-
-</root>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug7157608Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,209 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.io.File;
-import java.io.IOException;
-
-import org.testng.Assert;
-import org.testng.annotations.BeforeMethod;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 7157608
- * @summary Test feature standard-uri-conformant works.
- */
-public class Bug7157608Test {
-    public static boolean isWindows = false;
-    static {
-        if (System.getProperty("os.name").indexOf("Windows") > -1) {
-            isWindows = true;
-        }
-    };
-
-    String xml1, xml2;
-
-    @BeforeMethod
-    protected void setUp() throws IOException {
-        File file1 = new File(getClass().getResource("Bug7157608.xml").getFile());
-        xml1 = file1.getPath().replace("\\", "\\\\");
-        File file2 = new File(getClass().getResource("Bug7157608_1.xml").getFile());
-        xml2 = file2.getPath();
-    }
-
-    // case 1
-    // standard-uri-confomant is false
-    // dtd-validation is false
-    @Test
-    public void test1() {
-        if (isWindows) {
-            try {
-                ParserSettings ps = new ParserSettings();
-
-                DocumentBuilder db = getDocumentBuilder(ps);
-                InputSource is = new InputSource();
-                is.setSystemId(xml1);
-                Document doc = db.parse(is);
-                System.out.println("test1() :OK");
-            } catch (Exception e) {
-                Assert.fail("test1() :NG");
-
-            }
-        }
-    }
-
-    // case 2
-    // standard-uri-confomant is false
-    // dtd-validation is true
-    @Test
-    public void test2() {
-        if (isWindows) {
-            try {
-                ParserSettings ps = new ParserSettings();
-                ps.validating = true;
-
-                DocumentBuilder db = getDocumentBuilder(ps);
-                InputSource is = new InputSource(xml2);
-                Document doc = db.parse(is);
-                System.out.println("test2() :OK");
-            } catch (Exception e) {
-                Assert.fail("test2() :NG");
-                // logger.info(e.getMessage());
-            }
-        }
-    }
-
-    // case 3
-    // standard-uri-confomant is true
-    @Test
-    public void test3() {
-        if (isWindows) {
-            try {
-                ParserSettings ps = new ParserSettings();
-                ps.standardUriConformant = true;
-
-                DocumentBuilder db = getDocumentBuilder(ps);
-                InputSource is = new InputSource();
-                is.setSystemId(xml1);
-                Document doc = db.parse(is);
-                Assert.fail("test3() :NG");
-            } catch (IOException e) {
-                String returnedErr = e.getMessage();
-                String expectedStr = "Opaque part contains invalid character";
-
-                if (returnedErr.indexOf(expectedStr) >= 0) {
-                    System.out.println("test3() :OK");
-                } else {
-                    Assert.fail("test3() :NG");
-                }
-            } catch (Exception e) {
-                System.out.println("test3() :NG");
-            }
-        }
-    }
-
-    // case 4
-    // standard-uri-confomant is true
-    // dtd-validation is true
-    @Test
-    public void test4() {
-        if (isWindows) {
-            try {
-                ParserSettings ps = new ParserSettings();
-                ps.standardUriConformant = true;
-                ps.validating = true;
-
-                DocumentBuilder db = getDocumentBuilder(ps);
-                InputSource is = new InputSource(xml2);
-                Document doc = db.parse(is);
-                Assert.fail("test4() :NG");
-            } catch (IOException e) {
-                String returnedErr = e.getMessage();
-                String expectedStr = "Opaque part contains invalid character";
-
-                if (returnedErr.indexOf(expectedStr) >= 0) {
-                    System.out.println("test3() :OK");
-                } else {
-                    Assert.fail("test3() :NG");
-                }
-            } catch (Exception e) {
-                Assert.fail("test4() :NG");
-            }
-        }
-    }
-
-    public DocumentBuilder getDocumentBuilder(ParserSettings ps) {
-        DocumentBuilder db = null;
-        try {
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            if (ps.standardUriConformant) {
-                dbf.setFeature("http://apache.org/xml/features/standard-uri-conformant", true);
-            }
-            dbf.setValidating(ps.validating);
-            db = dbf.newDocumentBuilder();
-            db.setErrorHandler(new MyHandler());
-        } catch (Exception e) {
-            Assert.fail("standard-uri-conformant not recognized");
-        }
-        return db;
-    }
-
-    class MyHandler extends DefaultHandler {
-        @Override
-        public void warning(SAXParseException e) throws SAXException {
-            printDetail("**Warning**", e);
-        }
-
-        @Override
-        public void error(SAXParseException e) throws SAXException {
-            printDetail("**Error**", e);
-            throw new SAXException("Error encountered");
-        }
-
-        @Override
-        public void fatalError(SAXParseException e) throws SAXException {
-            printDetail("**Fatal Error**", e);
-            throw new SAXException("Fatal Error encountered");
-        }
-
-        public void printDetail(String msg, SAXParseException e) {
-            System.out.println(msg);
-            System.out.println(e.getMessage());
-            System.out.println("  Line:    " + e.getLineNumber());
-            System.out.println("  Column:  " + e.getColumnNumber());
-            System.out.println("  URI:     " + e.getSystemId());
-        }
-
-    }
-
-    class ParserSettings {
-        boolean standardUriConformant = false;
-        boolean validating = false;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug7157608_1.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-    Document   : test2.xml
-    Created on : 2012/04/13, 20:08
-    Author     : 10385373
-    Description:
-        Purpose of the document follows.
--->
-
-<!DOCTYPE arg PUBLIC '-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN' 'Bug7157608.dtd'>
-<arg>
-test
-</arg>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug7166896Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,72 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.io.IOException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 7166896
- * @summary Test DocumentBuilder.parse(String uri) supports IPv6 format.
- */
-public class Bug7166896Test {
-
-    @Test
-    public void test() throws Exception {
-        final String url = "http://[fe80::la03:73ff:fead:f7b0]/note.xml";
-        final DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
-        domFactory.setNamespaceAware(true);
-        DocumentBuilder builder;
-        Document doc = null;
-        System.out.println("URL is " + url);
-        try {
-            builder = domFactory.newDocumentBuilder();
-            // here comes the MalformedURLException. With Java6 / 7 it looks
-            // like this:
-            // java.net.MalformedURLException: For input string:
-            // ":la03:73ff:fead:f7b0%5D"
-            // which is not fine.
-            // with xerces 2.11.0 it complains about a non-existing host, which
-            // is fine
-            System.out.println("passing URL to DocumentBuilder.parse()");
-            doc = builder.parse(url);
-
-        } catch (SAXException e) {
-            e.printStackTrace();
-        } catch (IOException e) {
-            String em = e.getMessage();
-            System.err.println("Error message: " + em);
-            if (em.contains("For input string: \":la03:73ff:fead:f7b0%5D\"")) {
-                Assert.fail("failed to accept IPv6 address");
-            }
-        } catch (ParserConfigurationException e) {
-            e.printStackTrace();
-        }
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/Bug8073385.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,93 +0,0 @@
-/*
- * Copyright (c) 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 javax.xml.parsers;
-
-import java.io.StringReader;
-import java.util.Locale;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.DocumentBuilder;
-import org.xml.sax.SAXException;
-import org.xml.sax.InputSource;
-
-import org.testng.annotations.AfterClass;
-import org.testng.annotations.BeforeClass;
-import org.testng.annotations.DataProvider;
-import org.testng.annotations.Test;
-import static org.testng.Assert.assertTrue;
-
-/**
- * @bug 8073385
- * @summary test that invalid XML character exception string contains
- *     information about character value, element and attribute names
- */
-public class Bug8073385 {
-
-    private Locale defLoc;
-
-    @BeforeClass
-    private void setup() {
-        defLoc = Locale.getDefault();
-        Locale.setDefault(Locale.ENGLISH);
-    }
-
-    @AfterClass
-    private void cleanup() {
-        Locale.setDefault(defLoc);
-    }
-
-    @DataProvider(name = "illegalCharactersData")
-    public static Object[][] illegalCharactersData() {
-        return new Object[][]{
-            {0x00},
-            {0xFFFE},
-            {0xFFFF}
-        };
-    }
-
-    @Test(dataProvider = "illegalCharactersData")
-    public void test(int character) throws Exception {
-        // Construct the XML document as a String
-        int[] cps = new int[]{character};
-        String txt = new String(cps, 0, cps.length);
-        String inxml = "<topElement attTest=\'" + txt + "\'/>";
-        String exceptionText = "NO EXCEPTION OBSERVED";
-        String hexString = "0x" + Integer.toHexString(character);
-
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        dbf.setValidating(false);
-        DocumentBuilder db = dbf.newDocumentBuilder();
-        InputSource isrc = new InputSource(new StringReader(inxml));
-
-        try {
-            db.parse(isrc);
-        } catch (SAXException e) {
-            exceptionText = e.toString();
-        }
-        System.out.println("Got Exception:" + exceptionText);
-        assertTrue(exceptionText.contains("attribute \"attTest\""));
-        assertTrue(exceptionText.contains("element is \"topElement\""));
-        assertTrue(exceptionText.contains("Unicode: " + hexString));
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/DosTest.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2031 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<personnel>
-
-<person id="Big.Boss"  A100 = "" 
-A101 = "" A102 = "" A103 = "" A104 = "" A105 = "" A106 = "" A107 = "" A108 = "" A109 = "" A110 = "" 
-A111 = "" A112 = "" A113 = "" A114 = "" A115 = "" A116 = "" A117 = "" A118 = "" A119 = "" A120 = "" 
-A121 = "" A122 = "" A123 = "" A124 = "" A125 = "" A126 = "" A127 = "" A128 = "" A129 = "" A130 = "" 
-A131 = "" A132 = "" A133 = "" A134 = "" A135 = "" A136 = "" A137 = "" A138 = "" A139 = "" A140 = "" 
-A141 = "" A142 = "" A143 = "" A144 = "" A145 = "" A146 = "" A147 = "" A148 = "" A149 = "" A150 = "" 
-A151 = "" A152 = "" A153 = "" A154 = "" A155 = "" A156 = "" A157 = "" A158 = "" A159 = "" A160 = "" 
-A161 = "" A162 = "" A163 = "" A164 = "" A165 = "" A166 = "" A167 = "" A168 = "" A169 = "" A170 = "" 
-A171 = "" A172 = "" A173 = "" A174 = "" A175 = "" A176 = "" A177 = "" A178 = "" A179 = "" A180 = "" 
-A181 = "" A182 = "" A183 = "" A184 = "" A185 = "" A186 = "" A187 = "" A188 = "" A189 = "" A190 = "" 
-A191 = "" A192 = "" A193 = "" A194 = "" A195 = "" A196 = "" A197 = "" A198 = "" A199 = "" A200 = "" 
-A201 = "" A202 = "" A203 = "" A204 = "" A205 = "" A206 = "" A207 = "" A208 = "" A209 = "" A210 = "" 
-A211 = "" A212 = "" A213 = "" A214 = "" A215 = "" A216 = "" A217 = "" A218 = "" A219 = "" A220 = "" 
-A221 = "" A222 = "" A223 = "" A224 = "" A225 = "" A226 = "" A227 = "" A228 = "" A229 = "" A230 = "" 
-A231 = "" A232 = "" A233 = "" A234 = "" A235 = "" A236 = "" A237 = "" A238 = "" A239 = "" A240 = "" 
-A241 = "" A242 = "" A243 = "" A244 = "" A245 = "" A246 = "" A247 = "" A248 = "" A249 = "" A250 = "" 
-A251 = "" A252 = "" A253 = "" A254 = "" A255 = "" A256 = "" A257 = "" A258 = "" A259 = "" A260 = "" 
-A261 = "" A262 = "" A263 = "" A264 = "" A265 = "" A266 = "" A267 = "" A268 = "" A269 = "" A270 = "" 
-A271 = "" A272 = "" A273 = "" A274 = "" A275 = "" A276 = "" A277 = "" A278 = "" A279 = "" A280 = "" 
-A281 = "" A282 = "" A283 = "" A284 = "" A285 = "" A286 = "" A287 = "" A288 = "" A289 = "" A290 = "" 
-A291 = "" A292 = "" A293 = "" A294 = "" A295 = "" A296 = "" A297 = "" A298 = "" A299 = "" A300 = "" 
-A301 = "" A302 = "" A303 = "" A304 = "" A305 = "" A306 = "" A307 = "" A308 = "" A309 = "" A310 = "" 
-A311 = "" A312 = "" A313 = "" A314 = "" A315 = "" A316 = "" A317 = "" A318 = "" A319 = "" A320 = "" 
-A321 = "" A322 = "" A323 = "" A324 = "" A325 = "" A326 = "" A327 = "" A328 = "" A329 = "" A330 = "" 
-A331 = "" A332 = "" A333 = "" A334 = "" A335 = "" A336 = "" A337 = "" A338 = "" A339 = "" A340 = "" 
-A341 = "" A342 = "" A343 = "" A344 = "" A345 = "" A346 = "" A347 = "" A348 = "" A349 = "" A350 = "" 
-A351 = "" A352 = "" A353 = "" A354 = "" A355 = "" A356 = "" A357 = "" A358 = "" A359 = "" A360 = "" 
-A361 = "" A362 = "" A363 = "" A364 = "" A365 = "" A366 = "" A367 = "" A368 = "" A369 = "" A370 = "" 
-A371 = "" A372 = "" A373 = "" A374 = "" A375 = "" A376 = "" A377 = "" A378 = "" A379 = "" A380 = "" 
-A381 = "" A382 = "" A383 = "" A384 = "" A385 = "" A386 = "" A387 = "" A388 = "" A389 = "" A390 = "" 
-A391 = "" A392 = "" A393 = "" A394 = "" A395 = "" A396 = "" A397 = "" A398 = "" A399 = "" A400 = "" 
-A401 = "" A402 = "" A403 = "" A404 = "" A405 = "" A406 = "" A407 = "" A408 = "" A409 = "" A410 = "" 
-A411 = "" A412 = "" A413 = "" A414 = "" A415 = "" A416 = "" A417 = "" A418 = "" A419 = "" A420 = "" 
-A421 = "" A422 = "" A423 = "" A424 = "" A425 = "" A426 = "" A427 = "" A428 = "" A429 = "" A430 = "" 
-A431 = "" A432 = "" A433 = "" A434 = "" A435 = "" A436 = "" A437 = "" A438 = "" A439 = "" A440 = "" 
-A441 = "" A442 = "" A443 = "" A444 = "" A445 = "" A446 = "" A447 = "" A448 = "" A449 = "" A450 = "" 
-A451 = "" A452 = "" A453 = "" A454 = "" A455 = "" A456 = "" A457 = "" A458 = "" A459 = "" A460 = "" 
-A461 = "" A462 = "" A463 = "" A464 = "" A465 = "" A466 = "" A467 = "" A468 = "" A469 = "" A470 = "" 
-A471 = "" A472 = "" A473 = "" A474 = "" A475 = "" A476 = "" A477 = "" A478 = "" A479 = "" A480 = "" 
-A481 = "" A482 = "" A483 = "" A484 = "" A485 = "" A486 = "" A487 = "" A488 = "" A489 = "" A490 = "" 
-A491 = "" A492 = "" A493 = "" A494 = "" A495 = "" A496 = "" A497 = "" A498 = "" A499 = "" A500 = "" 
-A501 = "" A502 = "" A503 = "" A504 = "" A505 = "" A506 = "" A507 = "" A508 = "" A509 = "" A510 = "" 
-A511 = "" A512 = "" A513 = "" A514 = "" A515 = "" A516 = "" A517 = "" A518 = "" A519 = "" A520 = "" 
-A521 = "" A522 = "" A523 = "" A524 = "" A525 = "" A526 = "" A527 = "" A528 = "" A529 = "" A530 = "" 
-A531 = "" A532 = "" A533 = "" A534 = "" A535 = "" A536 = "" A537 = "" A538 = "" A539 = "" A540 = "" 
-A541 = "" A542 = "" A543 = "" A544 = "" A545 = "" A546 = "" A547 = "" A548 = "" A549 = "" A550 = "" 
-A551 = "" A552 = "" A553 = "" A554 = "" A555 = "" A556 = "" A557 = "" A558 = "" A559 = "" A560 = "" 
-A561 = "" A562 = "" A563 = "" A564 = "" A565 = "" A566 = "" A567 = "" A568 = "" A569 = "" A570 = "" 
-A571 = "" A572 = "" A573 = "" A574 = "" A575 = "" A576 = "" A577 = "" A578 = "" A579 = "" A580 = "" 
-A581 = "" A582 = "" A583 = "" A584 = "" A585 = "" A586 = "" A587 = "" A588 = "" A589 = "" A590 = "" 
-A591 = "" A592 = "" A593 = "" A594 = "" A595 = "" A596 = "" A597 = "" A598 = "" A599 = "" A600 = "" 
-A601 = "" A602 = "" A603 = "" A604 = "" A605 = "" A606 = "" A607 = "" A608 = "" A609 = "" A610 = "" 
-A611 = "" A612 = "" A613 = "" A614 = "" A615 = "" A616 = "" A617 = "" A618 = "" A619 = "" A620 = "" 
-A621 = "" A622 = "" A623 = "" A624 = "" A625 = "" A626 = "" A627 = "" A628 = "" A629 = "" A630 = "" 
-A631 = "" A632 = "" A633 = "" A634 = "" A635 = "" A636 = "" A637 = "" A638 = "" A639 = "" A640 = "" 
-A641 = "" A642 = "" A643 = "" A644 = "" A645 = "" A646 = "" A647 = "" A648 = "" A649 = "" A650 = "" 
-A651 = "" A652 = "" A653 = "" A654 = "" A655 = "" A656 = "" A657 = "" A658 = "" A659 = "" A660 = "" 
-A661 = "" A662 = "" A663 = "" A664 = "" A665 = "" A666 = "" A667 = "" A668 = "" A669 = "" A670 = "" 
-A671 = "" A672 = "" A673 = "" A674 = "" A675 = "" A676 = "" A677 = "" A678 = "" A679 = "" A680 = "" 
-A681 = "" A682 = "" A683 = "" A684 = "" A685 = "" A686 = "" A687 = "" A688 = "" A689 = "" A690 = "" 
-A691 = "" A692 = "" A693 = "" A694 = "" A695 = "" A696 = "" A697 = "" A698 = "" A699 = "" A700 = "" 
-A701 = "" A702 = "" A703 = "" A704 = "" A705 = "" A706 = "" A707 = "" A708 = "" A709 = "" A710 = "" 
-A711 = "" A712 = "" A713 = "" A714 = "" A715 = "" A716 = "" A717 = "" A718 = "" A719 = "" A720 = "" 
-A721 = "" A722 = "" A723 = "" A724 = "" A725 = "" A726 = "" A727 = "" A728 = "" A729 = "" A730 = "" 
-A731 = "" A732 = "" A733 = "" A734 = "" A735 = "" A736 = "" A737 = "" A738 = "" A739 = "" A740 = "" 
-A741 = "" A742 = "" A743 = "" A744 = "" A745 = "" A746 = "" A747 = "" A748 = "" A749 = "" A750 = "" 
-A751 = "" A752 = "" A753 = "" A754 = "" A755 = "" A756 = "" A757 = "" A758 = "" A759 = "" A760 = "" 
-A761 = "" A762 = "" A763 = "" A764 = "" A765 = "" A766 = "" A767 = "" A768 = "" A769 = "" A770 = "" 
-A771 = "" A772 = "" A773 = "" A774 = "" A775 = "" A776 = "" A777 = "" A778 = "" A779 = "" A780 = "" 
-A781 = "" A782 = "" A783 = "" A784 = "" A785 = "" A786 = "" A787 = "" A788 = "" A789 = "" A790 = "" 
-A791 = "" A792 = "" A793 = "" A794 = "" A795 = "" A796 = "" A797 = "" A798 = "" A799 = "" A800 = "" 
-A801 = "" A802 = "" A803 = "" A804 = "" A805 = "" A806 = "" A807 = "" A808 = "" A809 = "" A810 = "" 
-A811 = "" A812 = "" A813 = "" A814 = "" A815 = "" A816 = "" A817 = "" A818 = "" A819 = "" A820 = "" 
-A821 = "" A822 = "" A823 = "" A824 = "" A825 = "" A826 = "" A827 = "" A828 = "" A829 = "" A830 = "" 
-A831 = "" A832 = "" A833 = "" A834 = "" A835 = "" A836 = "" A837 = "" A838 = "" A839 = "" A840 = "" 
-A841 = "" A842 = "" A843 = "" A844 = "" A845 = "" A846 = "" A847 = "" A848 = "" A849 = "" A850 = "" 
-A851 = "" A852 = "" A853 = "" A854 = "" A855 = "" A856 = "" A857 = "" A858 = "" A859 = "" A860 = "" 
-A861 = "" A862 = "" A863 = "" A864 = "" A865 = "" A866 = "" A867 = "" A868 = "" A869 = "" A870 = "" 
-A871 = "" A872 = "" A873 = "" A874 = "" A875 = "" A876 = "" A877 = "" A878 = "" A879 = "" A880 = "" 
-A881 = "" A882 = "" A883 = "" A884 = "" A885 = "" A886 = "" A887 = "" A888 = "" A889 = "" A890 = "" 
-A891 = "" A892 = "" A893 = "" A894 = "" A895 = "" A896 = "" A897 = "" A898 = "" A899 = "" A900 = "" 
-A901 = "" A902 = "" A903 = "" A904 = "" A905 = "" A906 = "" A907 = "" A908 = "" A909 = "" A910 = "" 
-A911 = "" A912 = "" A913 = "" A914 = "" A915 = "" A916 = "" A917 = "" A918 = "" A919 = "" A920 = "" 
-A921 = "" A922 = "" A923 = "" A924 = "" A925 = "" A926 = "" A927 = "" A928 = "" A929 = "" A930 = "" 
-A931 = "" A932 = "" A933 = "" A934 = "" A935 = "" A936 = "" A937 = "" A938 = "" A939 = "" A940 = "" 
-A941 = "" A942 = "" A943 = "" A944 = "" A945 = "" A946 = "" A947 = "" A948 = "" A949 = "" A950 = "" 
-A951 = "" A952 = "" A953 = "" A954 = "" A955 = "" A956 = "" A957 = "" A958 = "" A959 = "" A960 = "" 
-A961 = "" A962 = "" A963 = "" A964 = "" A965 = "" A966 = "" A967 = "" A968 = "" A969 = "" A970 = "" 
-A971 = "" A972 = "" A973 = "" A974 = "" A975 = "" A976 = "" A977 = "" A978 = "" A979 = "" A980 = "" 
-A981 = "" A982 = "" A983 = "" A984 = "" A985 = "" A986 = "" A987 = "" A988 = "" A989 = "" A990 = "" 
-A991 = "" A992 = "" A993 = "" A994 = "" A995 = "" A996 = "" A997 = "" A998 = "" A999 = "" A1000 = "" 
-A1001 = "" A1002 = "" A1003 = "" A1004 = "" A1005 = "" A1006 = "" A1007 = "" A1008 = "" A1009 = "" A1010 = "" 
-A1011 = "" A1012 = "" A1013 = "" A1014 = "" A1015 = "" A1016 = "" A1017 = "" A1018 = "" A1019 = "" A1020 = "" 
-A1021 = "" A1022 = "" A1023 = "" A1024 = "" A1025 = "" A1026 = "" A1027 = "" A1028 = "" A1029 = "" A1030 = "" 
-A1031 = "" A1032 = "" A1033 = "" A1034 = "" A1035 = "" A1036 = "" A1037 = "" A1038 = "" A1039 = "" A1040 = "" 
-A1041 = "" A1042 = "" A1043 = "" A1044 = "" A1045 = "" A1046 = "" A1047 = "" A1048 = "" A1049 = "" A1050 = "" 
-A1051 = "" A1052 = "" A1053 = "" A1054 = "" A1055 = "" A1056 = "" A1057 = "" A1058 = "" A1059 = "" A1060 = "" 
-A1061 = "" A1062 = "" A1063 = "" A1064 = "" A1065 = "" A1066 = "" A1067 = "" A1068 = "" A1069 = "" A1070 = "" 
-A1071 = "" A1072 = "" A1073 = "" A1074 = "" A1075 = "" A1076 = "" A1077 = "" A1078 = "" A1079 = "" A1080 = "" 
-A1081 = "" A1082 = "" A1083 = "" A1084 = "" A1085 = "" A1086 = "" A1087 = "" A1088 = "" A1089 = "" A1090 = "" 
-A1091 = "" A1092 = "" A1093 = "" A1094 = "" A1095 = "" A1096 = "" A1097 = "" A1098 = "" A1099 = "" A1100 = "" 
-A1101 = "" A1102 = "" A1103 = "" A1104 = "" A1105 = "" A1106 = "" A1107 = "" A1108 = "" A1109 = "" A1110 = "" 
-A1111 = "" A1112 = "" A1113 = "" A1114 = "" A1115 = "" A1116 = "" A1117 = "" A1118 = "" A1119 = "" A1120 = "" 
-A1121 = "" A1122 = "" A1123 = "" A1124 = "" A1125 = "" A1126 = "" A1127 = "" A1128 = "" A1129 = "" A1130 = "" 
-A1131 = "" A1132 = "" A1133 = "" A1134 = "" A1135 = "" A1136 = "" A1137 = "" A1138 = "" A1139 = "" A1140 = "" 
-A1141 = "" A1142 = "" A1143 = "" A1144 = "" A1145 = "" A1146 = "" A1147 = "" A1148 = "" A1149 = "" A1150 = "" 
-A1151 = "" A1152 = "" A1153 = "" A1154 = "" A1155 = "" A1156 = "" A1157 = "" A1158 = "" A1159 = "" A1160 = "" 
-A1161 = "" A1162 = "" A1163 = "" A1164 = "" A1165 = "" A1166 = "" A1167 = "" A1168 = "" A1169 = "" A1170 = "" 
-A1171 = "" A1172 = "" A1173 = "" A1174 = "" A1175 = "" A1176 = "" A1177 = "" A1178 = "" A1179 = "" A1180 = "" 
-A1181 = "" A1182 = "" A1183 = "" A1184 = "" A1185 = "" A1186 = "" A1187 = "" A1188 = "" A1189 = "" A1190 = "" 
-A1191 = "" A1192 = "" A1193 = "" A1194 = "" A1195 = "" A1196 = "" A1197 = "" A1198 = "" A1199 = "" A1200 = "" 
-A1201 = "" A1202 = "" A1203 = "" A1204 = "" A1205 = "" A1206 = "" A1207 = "" A1208 = "" A1209 = "" A1210 = "" 
-A1211 = "" A1212 = "" A1213 = "" A1214 = "" A1215 = "" A1216 = "" A1217 = "" A1218 = "" A1219 = "" A1220 = "" 
-A1221 = "" A1222 = "" A1223 = "" A1224 = "" A1225 = "" A1226 = "" A1227 = "" A1228 = "" A1229 = "" A1230 = "" 
-A1231 = "" A1232 = "" A1233 = "" A1234 = "" A1235 = "" A1236 = "" A1237 = "" A1238 = "" A1239 = "" A1240 = "" 
-A1241 = "" A1242 = "" A1243 = "" A1244 = "" A1245 = "" A1246 = "" A1247 = "" A1248 = "" A1249 = "" A1250 = "" 
-A1251 = "" A1252 = "" A1253 = "" A1254 = "" A1255 = "" A1256 = "" A1257 = "" A1258 = "" A1259 = "" A1260 = "" 
-A1261 = "" A1262 = "" A1263 = "" A1264 = "" A1265 = "" A1266 = "" A1267 = "" A1268 = "" A1269 = "" A1270 = "" 
-A1271 = "" A1272 = "" A1273 = "" A1274 = "" A1275 = "" A1276 = "" A1277 = "" A1278 = "" A1279 = "" A1280 = "" 
-A1281 = "" A1282 = "" A1283 = "" A1284 = "" A1285 = "" A1286 = "" A1287 = "" A1288 = "" A1289 = "" A1290 = "" 
-A1291 = "" A1292 = "" A1293 = "" A1294 = "" A1295 = "" A1296 = "" A1297 = "" A1298 = "" A1299 = "" A1300 = "" 
-A1301 = "" A1302 = "" A1303 = "" A1304 = "" A1305 = "" A1306 = "" A1307 = "" A1308 = "" A1309 = "" A1310 = "" 
-A1311 = "" A1312 = "" A1313 = "" A1314 = "" A1315 = "" A1316 = "" A1317 = "" A1318 = "" A1319 = "" A1320 = "" 
-A1321 = "" A1322 = "" A1323 = "" A1324 = "" A1325 = "" A1326 = "" A1327 = "" A1328 = "" A1329 = "" A1330 = "" 
-A1331 = "" A1332 = "" A1333 = "" A1334 = "" A1335 = "" A1336 = "" A1337 = "" A1338 = "" A1339 = "" A1340 = "" 
-A1341 = "" A1342 = "" A1343 = "" A1344 = "" A1345 = "" A1346 = "" A1347 = "" A1348 = "" A1349 = "" A1350 = "" 
-A1351 = "" A1352 = "" A1353 = "" A1354 = "" A1355 = "" A1356 = "" A1357 = "" A1358 = "" A1359 = "" A1360 = "" 
-A1361 = "" A1362 = "" A1363 = "" A1364 = "" A1365 = "" A1366 = "" A1367 = "" A1368 = "" A1369 = "" A1370 = "" 
-A1371 = "" A1372 = "" A1373 = "" A1374 = "" A1375 = "" A1376 = "" A1377 = "" A1378 = "" A1379 = "" A1380 = "" 
-A1381 = "" A1382 = "" A1383 = "" A1384 = "" A1385 = "" A1386 = "" A1387 = "" A1388 = "" A1389 = "" A1390 = "" 
-A1391 = "" A1392 = "" A1393 = "" A1394 = "" A1395 = "" A1396 = "" A1397 = "" A1398 = "" A1399 = "" A1400 = "" 
-A1401 = "" A1402 = "" A1403 = "" A1404 = "" A1405 = "" A1406 = "" A1407 = "" A1408 = "" A1409 = "" A1410 = "" 
-A1411 = "" A1412 = "" A1413 = "" A1414 = "" A1415 = "" A1416 = "" A1417 = "" A1418 = "" A1419 = "" A1420 = "" 
-A1421 = "" A1422 = "" A1423 = "" A1424 = "" A1425 = "" A1426 = "" A1427 = "" A1428 = "" A1429 = "" A1430 = "" 
-A1431 = "" A1432 = "" A1433 = "" A1434 = "" A1435 = "" A1436 = "" A1437 = "" A1438 = "" A1439 = "" A1440 = "" 
-A1441 = "" A1442 = "" A1443 = "" A1444 = "" A1445 = "" A1446 = "" A1447 = "" A1448 = "" A1449 = "" A1450 = "" 
-A1451 = "" A1452 = "" A1453 = "" A1454 = "" A1455 = "" A1456 = "" A1457 = "" A1458 = "" A1459 = "" A1460 = "" 
-A1461 = "" A1462 = "" A1463 = "" A1464 = "" A1465 = "" A1466 = "" A1467 = "" A1468 = "" A1469 = "" A1470 = "" 
-A1471 = "" A1472 = "" A1473 = "" A1474 = "" A1475 = "" A1476 = "" A1477 = "" A1478 = "" A1479 = "" A1480 = "" 
-A1481 = "" A1482 = "" A1483 = "" A1484 = "" A1485 = "" A1486 = "" A1487 = "" A1488 = "" A1489 = "" A1490 = "" 
-A1491 = "" A1492 = "" A1493 = "" A1494 = "" A1495 = "" A1496 = "" A1497 = "" A1498 = "" A1499 = "" A1500 = "" 
-A1501 = "" A1502 = "" A1503 = "" A1504 = "" A1505 = "" A1506 = "" A1507 = "" A1508 = "" A1509 = "" A1510 = "" 
-A1511 = "" A1512 = "" A1513 = "" A1514 = "" A1515 = "" A1516 = "" A1517 = "" A1518 = "" A1519 = "" A1520 = "" 
-A1521 = "" A1522 = "" A1523 = "" A1524 = "" A1525 = "" A1526 = "" A1527 = "" A1528 = "" A1529 = "" A1530 = "" 
-A1531 = "" A1532 = "" A1533 = "" A1534 = "" A1535 = "" A1536 = "" A1537 = "" A1538 = "" A1539 = "" A1540 = "" 
-A1541 = "" A1542 = "" A1543 = "" A1544 = "" A1545 = "" A1546 = "" A1547 = "" A1548 = "" A1549 = "" A1550 = "" 
-A1551 = "" A1552 = "" A1553 = "" A1554 = "" A1555 = "" A1556 = "" A1557 = "" A1558 = "" A1559 = "" A1560 = "" 
-A1561 = "" A1562 = "" A1563 = "" A1564 = "" A1565 = "" A1566 = "" A1567 = "" A1568 = "" A1569 = "" A1570 = "" 
-A1571 = "" A1572 = "" A1573 = "" A1574 = "" A1575 = "" A1576 = "" A1577 = "" A1578 = "" A1579 = "" A1580 = "" 
-A1581 = "" A1582 = "" A1583 = "" A1584 = "" A1585 = "" A1586 = "" A1587 = "" A1588 = "" A1589 = "" A1590 = "" 
-A1591 = "" A1592 = "" A1593 = "" A1594 = "" A1595 = "" A1596 = "" A1597 = "" A1598 = "" A1599 = "" A1600 = "" 
-A1601 = "" A1602 = "" A1603 = "" A1604 = "" A1605 = "" A1606 = "" A1607 = "" A1608 = "" A1609 = "" A1610 = "" 
-A1611 = "" A1612 = "" A1613 = "" A1614 = "" A1615 = "" A1616 = "" A1617 = "" A1618 = "" A1619 = "" A1620 = "" 
-A1621 = "" A1622 = "" A1623 = "" A1624 = "" A1625 = "" A1626 = "" A1627 = "" A1628 = "" A1629 = "" A1630 = "" 
-A1631 = "" A1632 = "" A1633 = "" A1634 = "" A1635 = "" A1636 = "" A1637 = "" A1638 = "" A1639 = "" A1640 = "" 
-A1641 = "" A1642 = "" A1643 = "" A1644 = "" A1645 = "" A1646 = "" A1647 = "" A1648 = "" A1649 = "" A1650 = "" 
-A1651 = "" A1652 = "" A1653 = "" A1654 = "" A1655 = "" A1656 = "" A1657 = "" A1658 = "" A1659 = "" A1660 = "" 
-A1661 = "" A1662 = "" A1663 = "" A1664 = "" A1665 = "" A1666 = "" A1667 = "" A1668 = "" A1669 = "" A1670 = "" 
-A1671 = "" A1672 = "" A1673 = "" A1674 = "" A1675 = "" A1676 = "" A1677 = "" A1678 = "" A1679 = "" A1680 = "" 
-A1681 = "" A1682 = "" A1683 = "" A1684 = "" A1685 = "" A1686 = "" A1687 = "" A1688 = "" A1689 = "" A1690 = "" 
-A1691 = "" A1692 = "" A1693 = "" A1694 = "" A1695 = "" A1696 = "" A1697 = "" A1698 = "" A1699 = "" A1700 = "" 
-A1701 = "" A1702 = "" A1703 = "" A1704 = "" A1705 = "" A1706 = "" A1707 = "" A1708 = "" A1709 = "" A1710 = "" 
-A1711 = "" A1712 = "" A1713 = "" A1714 = "" A1715 = "" A1716 = "" A1717 = "" A1718 = "" A1719 = "" A1720 = "" 
-A1721 = "" A1722 = "" A1723 = "" A1724 = "" A1725 = "" A1726 = "" A1727 = "" A1728 = "" A1729 = "" A1730 = "" 
-A1731 = "" A1732 = "" A1733 = "" A1734 = "" A1735 = "" A1736 = "" A1737 = "" A1738 = "" A1739 = "" A1740 = "" 
-A1741 = "" A1742 = "" A1743 = "" A1744 = "" A1745 = "" A1746 = "" A1747 = "" A1748 = "" A1749 = "" A1750 = "" 
-A1751 = "" A1752 = "" A1753 = "" A1754 = "" A1755 = "" A1756 = "" A1757 = "" A1758 = "" A1759 = "" A1760 = "" 
-A1761 = "" A1762 = "" A1763 = "" A1764 = "" A1765 = "" A1766 = "" A1767 = "" A1768 = "" A1769 = "" A1770 = "" 
-A1771 = "" A1772 = "" A1773 = "" A1774 = "" A1775 = "" A1776 = "" A1777 = "" A1778 = "" A1779 = "" A1780 = "" 
-A1781 = "" A1782 = "" A1783 = "" A1784 = "" A1785 = "" A1786 = "" A1787 = "" A1788 = "" A1789 = "" A1790 = "" 
-A1791 = "" A1792 = "" A1793 = "" A1794 = "" A1795 = "" A1796 = "" A1797 = "" A1798 = "" A1799 = "" A1800 = "" 
-A1801 = "" A1802 = "" A1803 = "" A1804 = "" A1805 = "" A1806 = "" A1807 = "" A1808 = "" A1809 = "" A1810 = "" 
-A1811 = "" A1812 = "" A1813 = "" A1814 = "" A1815 = "" A1816 = "" A1817 = "" A1818 = "" A1819 = "" A1820 = "" 
-A1821 = "" A1822 = "" A1823 = "" A1824 = "" A1825 = "" A1826 = "" A1827 = "" A1828 = "" A1829 = "" A1830 = "" 
-A1831 = "" A1832 = "" A1833 = "" A1834 = "" A1835 = "" A1836 = "" A1837 = "" A1838 = "" A1839 = "" A1840 = "" 
-A1841 = "" A1842 = "" A1843 = "" A1844 = "" A1845 = "" A1846 = "" A1847 = "" A1848 = "" A1849 = "" A1850 = "" 
-A1851 = "" A1852 = "" A1853 = "" A1854 = "" A1855 = "" A1856 = "" A1857 = "" A1858 = "" A1859 = "" A1860 = "" 
-A1861 = "" A1862 = "" A1863 = "" A1864 = "" A1865 = "" A1866 = "" A1867 = "" A1868 = "" A1869 = "" A1870 = "" 
-A1871 = "" A1872 = "" A1873 = "" A1874 = "" A1875 = "" A1876 = "" A1877 = "" A1878 = "" A1879 = "" A1880 = "" 
-A1881 = "" A1882 = "" A1883 = "" A1884 = "" A1885 = "" A1886 = "" A1887 = "" A1888 = "" A1889 = "" A1890 = "" 
-A1891 = "" A1892 = "" A1893 = "" A1894 = "" A1895 = "" A1896 = "" A1897 = "" A1898 = "" A1899 = "" A1900 = "" 
-A1901 = "" A1902 = "" A1903 = "" A1904 = "" A1905 = "" A1906 = "" A1907 = "" A1908 = "" A1909 = "" A1910 = "" 
-A1911 = "" A1912 = "" A1913 = "" A1914 = "" A1915 = "" A1916 = "" A1917 = "" A1918 = "" A1919 = "" A1920 = "" 
-A1921 = "" A1922 = "" A1923 = "" A1924 = "" A1925 = "" A1926 = "" A1927 = "" A1928 = "" A1929 = "" A1930 = "" 
-A1931 = "" A1932 = "" A1933 = "" A1934 = "" A1935 = "" A1936 = "" A1937 = "" A1938 = "" A1939 = "" A1940 = "" 
-A1941 = "" A1942 = "" A1943 = "" A1944 = "" A1945 = "" A1946 = "" A1947 = "" A1948 = "" A1949 = "" A1950 = "" 
-A1951 = "" A1952 = "" A1953 = "" A1954 = "" A1955 = "" A1956 = "" A1957 = "" A1958 = "" A1959 = "" A1960 = "" 
-A1961 = "" A1962 = "" A1963 = "" A1964 = "" A1965 = "" A1966 = "" A1967 = "" A1968 = "" A1969 = "" A1970 = "" 
-A1971 = "" A1972 = "" A1973 = "" A1974 = "" A1975 = "" A1976 = "" A1977 = "" A1978 = "" A1979 = "" A1980 = "" 
-A1981 = "" A1982 = "" A1983 = "" A1984 = "" A1985 = "" A1986 = "" A1987 = "" A1988 = "" A1989 = "" A1990 = "" 
-A1991 = "" A1992 = "" A1993 = "" A1994 = "" A1995 = "" A1996 = "" A1997 = "" A1998 = "" A1999 = "" A2000 = "" 
-A2001 = "" A2002 = "" A2003 = "" A2004 = "" A2005 = "" A2006 = "" A2007 = "" A2008 = "" A2009 = "" A2010 = "" 
-A2011 = "" A2012 = "" A2013 = "" A2014 = "" A2015 = "" A2016 = "" A2017 = "" A2018 = "" A2019 = "" A2020 = "" 
-A2021 = "" A2022 = "" A2023 = "" A2024 = "" A2025 = "" A2026 = "" A2027 = "" A2028 = "" A2029 = "" A2030 = "" 
-A2031 = "" A2032 = "" A2033 = "" A2034 = "" A2035 = "" A2036 = "" A2037 = "" A2038 = "" A2039 = "" A2040 = "" 
-A2041 = "" A2042 = "" A2043 = "" A2044 = "" A2045 = "" A2046 = "" A2047 = "" A2048 = "" A2049 = "" A2050 = "" 
-A2051 = "" A2052 = "" A2053 = "" A2054 = "" A2055 = "" A2056 = "" A2057 = "" A2058 = "" A2059 = "" A2060 = "" 
-A2061 = "" A2062 = "" A2063 = "" A2064 = "" A2065 = "" A2066 = "" A2067 = "" A2068 = "" A2069 = "" A2070 = "" 
-A2071 = "" A2072 = "" A2073 = "" A2074 = "" A2075 = "" A2076 = "" A2077 = "" A2078 = "" A2079 = "" A2080 = "" 
-A2081 = "" A2082 = "" A2083 = "" A2084 = "" A2085 = "" A2086 = "" A2087 = "" A2088 = "" A2089 = "" A2090 = "" 
-A2091 = "" A2092 = "" A2093 = "" A2094 = "" A2095 = "" A2096 = "" A2097 = "" A2098 = "" A2099 = "" A2100 = "" 
-A2101 = "" A2102 = "" A2103 = "" A2104 = "" A2105 = "" A2106 = "" A2107 = "" A2108 = "" A2109 = "" A2110 = "" 
-A2111 = "" A2112 = "" A2113 = "" A2114 = "" A2115 = "" A2116 = "" A2117 = "" A2118 = "" A2119 = "" A2120 = "" 
-A2121 = "" A2122 = "" A2123 = "" A2124 = "" A2125 = "" A2126 = "" A2127 = "" A2128 = "" A2129 = "" A2130 = "" 
-A2131 = "" A2132 = "" A2133 = "" A2134 = "" A2135 = "" A2136 = "" A2137 = "" A2138 = "" A2139 = "" A2140 = "" 
-A2141 = "" A2142 = "" A2143 = "" A2144 = "" A2145 = "" A2146 = "" A2147 = "" A2148 = "" A2149 = "" A2150 = "" 
-A2151 = "" A2152 = "" A2153 = "" A2154 = "" A2155 = "" A2156 = "" A2157 = "" A2158 = "" A2159 = "" A2160 = "" 
-A2161 = "" A2162 = "" A2163 = "" A2164 = "" A2165 = "" A2166 = "" A2167 = "" A2168 = "" A2169 = "" A2170 = "" 
-A2171 = "" A2172 = "" A2173 = "" A2174 = "" A2175 = "" A2176 = "" A2177 = "" A2178 = "" A2179 = "" A2180 = "" 
-A2181 = "" A2182 = "" A2183 = "" A2184 = "" A2185 = "" A2186 = "" A2187 = "" A2188 = "" A2189 = "" A2190 = "" 
-A2191 = "" A2192 = "" A2193 = "" A2194 = "" A2195 = "" A2196 = "" A2197 = "" A2198 = "" A2199 = "" A2200 = "" 
-A2201 = "" A2202 = "" A2203 = "" A2204 = "" A2205 = "" A2206 = "" A2207 = "" A2208 = "" A2209 = "" A2210 = "" 
-A2211 = "" A2212 = "" A2213 = "" A2214 = "" A2215 = "" A2216 = "" A2217 = "" A2218 = "" A2219 = "" A2220 = "" 
-A2221 = "" A2222 = "" A2223 = "" A2224 = "" A2225 = "" A2226 = "" A2227 = "" A2228 = "" A2229 = "" A2230 = "" 
-A2231 = "" A2232 = "" A2233 = "" A2234 = "" A2235 = "" A2236 = "" A2237 = "" A2238 = "" A2239 = "" A2240 = "" 
-A2241 = "" A2242 = "" A2243 = "" A2244 = "" A2245 = "" A2246 = "" A2247 = "" A2248 = "" A2249 = "" A2250 = "" 
-A2251 = "" A2252 = "" A2253 = "" A2254 = "" A2255 = "" A2256 = "" A2257 = "" A2258 = "" A2259 = "" A2260 = "" 
-A2261 = "" A2262 = "" A2263 = "" A2264 = "" A2265 = "" A2266 = "" A2267 = "" A2268 = "" A2269 = "" A2270 = "" 
-A2271 = "" A2272 = "" A2273 = "" A2274 = "" A2275 = "" A2276 = "" A2277 = "" A2278 = "" A2279 = "" A2280 = "" 
-A2281 = "" A2282 = "" A2283 = "" A2284 = "" A2285 = "" A2286 = "" A2287 = "" A2288 = "" A2289 = "" A2290 = "" 
-A2291 = "" A2292 = "" A2293 = "" A2294 = "" A2295 = "" A2296 = "" A2297 = "" A2298 = "" A2299 = "" A2300 = "" 
-A2301 = "" A2302 = "" A2303 = "" A2304 = "" A2305 = "" A2306 = "" A2307 = "" A2308 = "" A2309 = "" A2310 = "" 
-A2311 = "" A2312 = "" A2313 = "" A2314 = "" A2315 = "" A2316 = "" A2317 = "" A2318 = "" A2319 = "" A2320 = "" 
-A2321 = "" A2322 = "" A2323 = "" A2324 = "" A2325 = "" A2326 = "" A2327 = "" A2328 = "" A2329 = "" A2330 = "" 
-A2331 = "" A2332 = "" A2333 = "" A2334 = "" A2335 = "" A2336 = "" A2337 = "" A2338 = "" A2339 = "" A2340 = "" 
-A2341 = "" A2342 = "" A2343 = "" A2344 = "" A2345 = "" A2346 = "" A2347 = "" A2348 = "" A2349 = "" A2350 = "" 
-A2351 = "" A2352 = "" A2353 = "" A2354 = "" A2355 = "" A2356 = "" A2357 = "" A2358 = "" A2359 = "" A2360 = "" 
-A2361 = "" A2362 = "" A2363 = "" A2364 = "" A2365 = "" A2366 = "" A2367 = "" A2368 = "" A2369 = "" A2370 = "" 
-A2371 = "" A2372 = "" A2373 = "" A2374 = "" A2375 = "" A2376 = "" A2377 = "" A2378 = "" A2379 = "" A2380 = "" 
-A2381 = "" A2382 = "" A2383 = "" A2384 = "" A2385 = "" A2386 = "" A2387 = "" A2388 = "" A2389 = "" A2390 = "" 
-A2391 = "" A2392 = "" A2393 = "" A2394 = "" A2395 = "" A2396 = "" A2397 = "" A2398 = "" A2399 = "" A2400 = "" 
-A2401 = "" A2402 = "" A2403 = "" A2404 = "" A2405 = "" A2406 = "" A2407 = "" A2408 = "" A2409 = "" A2410 = "" 
-A2411 = "" A2412 = "" A2413 = "" A2414 = "" A2415 = "" A2416 = "" A2417 = "" A2418 = "" A2419 = "" A2420 = "" 
-A2421 = "" A2422 = "" A2423 = "" A2424 = "" A2425 = "" A2426 = "" A2427 = "" A2428 = "" A2429 = "" A2430 = "" 
-A2431 = "" A2432 = "" A2433 = "" A2434 = "" A2435 = "" A2436 = "" A2437 = "" A2438 = "" A2439 = "" A2440 = "" 
-A2441 = "" A2442 = "" A2443 = "" A2444 = "" A2445 = "" A2446 = "" A2447 = "" A2448 = "" A2449 = "" A2450 = "" 
-A2451 = "" A2452 = "" A2453 = "" A2454 = "" A2455 = "" A2456 = "" A2457 = "" A2458 = "" A2459 = "" A2460 = "" 
-A2461 = "" A2462 = "" A2463 = "" A2464 = "" A2465 = "" A2466 = "" A2467 = "" A2468 = "" A2469 = "" A2470 = "" 
-A2471 = "" A2472 = "" A2473 = "" A2474 = "" A2475 = "" A2476 = "" A2477 = "" A2478 = "" A2479 = "" A2480 = "" 
-A2481 = "" A2482 = "" A2483 = "" A2484 = "" A2485 = "" A2486 = "" A2487 = "" A2488 = "" A2489 = "" A2490 = "" 
-A2491 = "" A2492 = "" A2493 = "" A2494 = "" A2495 = "" A2496 = "" A2497 = "" A2498 = "" A2499 = "" A2500 = "" 
-A2501 = "" A2502 = "" A2503 = "" A2504 = "" A2505 = "" A2506 = "" A2507 = "" A2508 = "" A2509 = "" A2510 = "" 
-A2511 = "" A2512 = "" A2513 = "" A2514 = "" A2515 = "" A2516 = "" A2517 = "" A2518 = "" A2519 = "" A2520 = "" 
-A2521 = "" A2522 = "" A2523 = "" A2524 = "" A2525 = "" A2526 = "" A2527 = "" A2528 = "" A2529 = "" A2530 = "" 
-A2531 = "" A2532 = "" A2533 = "" A2534 = "" A2535 = "" A2536 = "" A2537 = "" A2538 = "" A2539 = "" A2540 = "" 
-A2541 = "" A2542 = "" A2543 = "" A2544 = "" A2545 = "" A2546 = "" A2547 = "" A2548 = "" A2549 = "" A2550 = "" 
-A2551 = "" A2552 = "" A2553 = "" A2554 = "" A2555 = "" A2556 = "" A2557 = "" A2558 = "" A2559 = "" A2560 = "" 
-A2561 = "" A2562 = "" A2563 = "" A2564 = "" A2565 = "" A2566 = "" A2567 = "" A2568 = "" A2569 = "" A2570 = "" 
-A2571 = "" A2572 = "" A2573 = "" A2574 = "" A2575 = "" A2576 = "" A2577 = "" A2578 = "" A2579 = "" A2580 = "" 
-A2581 = "" A2582 = "" A2583 = "" A2584 = "" A2585 = "" A2586 = "" A2587 = "" A2588 = "" A2589 = "" A2590 = "" 
-A2591 = "" A2592 = "" A2593 = "" A2594 = "" A2595 = "" A2596 = "" A2597 = "" A2598 = "" A2599 = "" A2600 = "" 
-A2601 = "" A2602 = "" A2603 = "" A2604 = "" A2605 = "" A2606 = "" A2607 = "" A2608 = "" A2609 = "" A2610 = "" 
-A2611 = "" A2612 = "" A2613 = "" A2614 = "" A2615 = "" A2616 = "" A2617 = "" A2618 = "" A2619 = "" A2620 = "" 
-A2621 = "" A2622 = "" A2623 = "" A2624 = "" A2625 = "" A2626 = "" A2627 = "" A2628 = "" A2629 = "" A2630 = "" 
-A2631 = "" A2632 = "" A2633 = "" A2634 = "" A2635 = "" A2636 = "" A2637 = "" A2638 = "" A2639 = "" A2640 = "" 
-A2641 = "" A2642 = "" A2643 = "" A2644 = "" A2645 = "" A2646 = "" A2647 = "" A2648 = "" A2649 = "" A2650 = "" 
-A2651 = "" A2652 = "" A2653 = "" A2654 = "" A2655 = "" A2656 = "" A2657 = "" A2658 = "" A2659 = "" A2660 = "" 
-A2661 = "" A2662 = "" A2663 = "" A2664 = "" A2665 = "" A2666 = "" A2667 = "" A2668 = "" A2669 = "" A2670 = "" 
-A2671 = "" A2672 = "" A2673 = "" A2674 = "" A2675 = "" A2676 = "" A2677 = "" A2678 = "" A2679 = "" A2680 = "" 
-A2681 = "" A2682 = "" A2683 = "" A2684 = "" A2685 = "" A2686 = "" A2687 = "" A2688 = "" A2689 = "" A2690 = "" 
-A2691 = "" A2692 = "" A2693 = "" A2694 = "" A2695 = "" A2696 = "" A2697 = "" A2698 = "" A2699 = "" A2700 = "" 
-A2701 = "" A2702 = "" A2703 = "" A2704 = "" A2705 = "" A2706 = "" A2707 = "" A2708 = "" A2709 = "" A2710 = "" 
-A2711 = "" A2712 = "" A2713 = "" A2714 = "" A2715 = "" A2716 = "" A2717 = "" A2718 = "" A2719 = "" A2720 = "" 
-A2721 = "" A2722 = "" A2723 = "" A2724 = "" A2725 = "" A2726 = "" A2727 = "" A2728 = "" A2729 = "" A2730 = "" 
-A2731 = "" A2732 = "" A2733 = "" A2734 = "" A2735 = "" A2736 = "" A2737 = "" A2738 = "" A2739 = "" A2740 = "" 
-A2741 = "" A2742 = "" A2743 = "" A2744 = "" A2745 = "" A2746 = "" A2747 = "" A2748 = "" A2749 = "" A2750 = "" 
-A2751 = "" A2752 = "" A2753 = "" A2754 = "" A2755 = "" A2756 = "" A2757 = "" A2758 = "" A2759 = "" A2760 = "" 
-A2761 = "" A2762 = "" A2763 = "" A2764 = "" A2765 = "" A2766 = "" A2767 = "" A2768 = "" A2769 = "" A2770 = "" 
-A2771 = "" A2772 = "" A2773 = "" A2774 = "" A2775 = "" A2776 = "" A2777 = "" A2778 = "" A2779 = "" A2780 = "" 
-A2781 = "" A2782 = "" A2783 = "" A2784 = "" A2785 = "" A2786 = "" A2787 = "" A2788 = "" A2789 = "" A2790 = "" 
-A2791 = "" A2792 = "" A2793 = "" A2794 = "" A2795 = "" A2796 = "" A2797 = "" A2798 = "" A2799 = "" A2800 = "" 
-A2801 = "" A2802 = "" A2803 = "" A2804 = "" A2805 = "" A2806 = "" A2807 = "" A2808 = "" A2809 = "" A2810 = "" 
-A2811 = "" A2812 = "" A2813 = "" A2814 = "" A2815 = "" A2816 = "" A2817 = "" A2818 = "" A2819 = "" A2820 = "" 
-A2821 = "" A2822 = "" A2823 = "" A2824 = "" A2825 = "" A2826 = "" A2827 = "" A2828 = "" A2829 = "" A2830 = "" 
-A2831 = "" A2832 = "" A2833 = "" A2834 = "" A2835 = "" A2836 = "" A2837 = "" A2838 = "" A2839 = "" A2840 = "" 
-A2841 = "" A2842 = "" A2843 = "" A2844 = "" A2845 = "" A2846 = "" A2847 = "" A2848 = "" A2849 = "" A2850 = "" 
-A2851 = "" A2852 = "" A2853 = "" A2854 = "" A2855 = "" A2856 = "" A2857 = "" A2858 = "" A2859 = "" A2860 = "" 
-A2861 = "" A2862 = "" A2863 = "" A2864 = "" A2865 = "" A2866 = "" A2867 = "" A2868 = "" A2869 = "" A2870 = "" 
-A2871 = "" A2872 = "" A2873 = "" A2874 = "" A2875 = "" A2876 = "" A2877 = "" A2878 = "" A2879 = "" A2880 = "" 
-A2881 = "" A2882 = "" A2883 = "" A2884 = "" A2885 = "" A2886 = "" A2887 = "" A2888 = "" A2889 = "" A2890 = "" 
-A2891 = "" A2892 = "" A2893 = "" A2894 = "" A2895 = "" A2896 = "" A2897 = "" A2898 = "" A2899 = "" A2900 = "" 
-A2901 = "" A2902 = "" A2903 = "" A2904 = "" A2905 = "" A2906 = "" A2907 = "" A2908 = "" A2909 = "" A2910 = "" 
-A2911 = "" A2912 = "" A2913 = "" A2914 = "" A2915 = "" A2916 = "" A2917 = "" A2918 = "" A2919 = "" A2920 = "" 
-A2921 = "" A2922 = "" A2923 = "" A2924 = "" A2925 = "" A2926 = "" A2927 = "" A2928 = "" A2929 = "" A2930 = "" 
-A2931 = "" A2932 = "" A2933 = "" A2934 = "" A2935 = "" A2936 = "" A2937 = "" A2938 = "" A2939 = "" A2940 = "" 
-A2941 = "" A2942 = "" A2943 = "" A2944 = "" A2945 = "" A2946 = "" A2947 = "" A2948 = "" A2949 = "" A2950 = "" 
-A2951 = "" A2952 = "" A2953 = "" A2954 = "" A2955 = "" A2956 = "" A2957 = "" A2958 = "" A2959 = "" A2960 = "" 
-A2961 = "" A2962 = "" A2963 = "" A2964 = "" A2965 = "" A2966 = "" A2967 = "" A2968 = "" A2969 = "" A2970 = "" 
-A2971 = "" A2972 = "" A2973 = "" A2974 = "" A2975 = "" A2976 = "" A2977 = "" A2978 = "" A2979 = "" A2980 = "" 
-A2981 = "" A2982 = "" A2983 = "" A2984 = "" A2985 = "" A2986 = "" A2987 = "" A2988 = "" A2989 = "" A2990 = "" 
-A2991 = "" A2992 = "" A2993 = "" A2994 = "" A2995 = "" A2996 = "" A2997 = "" A2998 = "" A2999 = "" A3000 = "" 
-A3001 = "" A3002 = "" A3003 = "" A3004 = "" A3005 = "" A3006 = "" A3007 = "" A3008 = "" A3009 = "" A3010 = "" 
-A3011 = "" A3012 = "" A3013 = "" A3014 = "" A3015 = "" A3016 = "" A3017 = "" A3018 = "" A3019 = "" A3020 = "" 
-A3021 = "" A3022 = "" A3023 = "" A3024 = "" A3025 = "" A3026 = "" A3027 = "" A3028 = "" A3029 = "" A3030 = "" 
-A3031 = "" A3032 = "" A3033 = "" A3034 = "" A3035 = "" A3036 = "" A3037 = "" A3038 = "" A3039 = "" A3040 = "" 
-A3041 = "" A3042 = "" A3043 = "" A3044 = "" A3045 = "" A3046 = "" A3047 = "" A3048 = "" A3049 = "" A3050 = "" 
-A3051 = "" A3052 = "" A3053 = "" A3054 = "" A3055 = "" A3056 = "" A3057 = "" A3058 = "" A3059 = "" A3060 = "" 
-A3061 = "" A3062 = "" A3063 = "" A3064 = "" A3065 = "" A3066 = "" A3067 = "" A3068 = "" A3069 = "" A3070 = "" 
-A3071 = "" A3072 = "" A3073 = "" A3074 = "" A3075 = "" A3076 = "" A3077 = "" A3078 = "" A3079 = "" A3080 = "" 
-A3081 = "" A3082 = "" A3083 = "" A3084 = "" A3085 = "" A3086 = "" A3087 = "" A3088 = "" A3089 = "" A3090 = "" 
-A3091 = "" A3092 = "" A3093 = "" A3094 = "" A3095 = "" A3096 = "" A3097 = "" A3098 = "" A3099 = "" A3100 = "" 
-A3101 = "" A3102 = "" A3103 = "" A3104 = "" A3105 = "" A3106 = "" A3107 = "" A3108 = "" A3109 = "" A3110 = "" 
-A3111 = "" A3112 = "" A3113 = "" A3114 = "" A3115 = "" A3116 = "" A3117 = "" A3118 = "" A3119 = "" A3120 = "" 
-A3121 = "" A3122 = "" A3123 = "" A3124 = "" A3125 = "" A3126 = "" A3127 = "" A3128 = "" A3129 = "" A3130 = "" 
-A3131 = "" A3132 = "" A3133 = "" A3134 = "" A3135 = "" A3136 = "" A3137 = "" A3138 = "" A3139 = "" A3140 = "" 
-A3141 = "" A3142 = "" A3143 = "" A3144 = "" A3145 = "" A3146 = "" A3147 = "" A3148 = "" A3149 = "" A3150 = "" 
-A3151 = "" A3152 = "" A3153 = "" A3154 = "" A3155 = "" A3156 = "" A3157 = "" A3158 = "" A3159 = "" A3160 = "" 
-A3161 = "" A3162 = "" A3163 = "" A3164 = "" A3165 = "" A3166 = "" A3167 = "" A3168 = "" A3169 = "" A3170 = "" 
-A3171 = "" A3172 = "" A3173 = "" A3174 = "" A3175 = "" A3176 = "" A3177 = "" A3178 = "" A3179 = "" A3180 = "" 
-A3181 = "" A3182 = "" A3183 = "" A3184 = "" A3185 = "" A3186 = "" A3187 = "" A3188 = "" A3189 = "" A3190 = "" 
-A3191 = "" A3192 = "" A3193 = "" A3194 = "" A3195 = "" A3196 = "" A3197 = "" A3198 = "" A3199 = "" A3200 = "" 
-A3201 = "" A3202 = "" A3203 = "" A3204 = "" A3205 = "" A3206 = "" A3207 = "" A3208 = "" A3209 = "" A3210 = "" 
-A3211 = "" A3212 = "" A3213 = "" A3214 = "" A3215 = "" A3216 = "" A3217 = "" A3218 = "" A3219 = "" A3220 = "" 
-A3221 = "" A3222 = "" A3223 = "" A3224 = "" A3225 = "" A3226 = "" A3227 = "" A3228 = "" A3229 = "" A3230 = "" 
-A3231 = "" A3232 = "" A3233 = "" A3234 = "" A3235 = "" A3236 = "" A3237 = "" A3238 = "" A3239 = "" A3240 = "" 
-A3241 = "" A3242 = "" A3243 = "" A3244 = "" A3245 = "" A3246 = "" A3247 = "" A3248 = "" A3249 = "" A3250 = "" 
-A3251 = "" A3252 = "" A3253 = "" A3254 = "" A3255 = "" A3256 = "" A3257 = "" A3258 = "" A3259 = "" A3260 = "" 
-A3261 = "" A3262 = "" A3263 = "" A3264 = "" A3265 = "" A3266 = "" A3267 = "" A3268 = "" A3269 = "" A3270 = "" 
-A3271 = "" A3272 = "" A3273 = "" A3274 = "" A3275 = "" A3276 = "" A3277 = "" A3278 = "" A3279 = "" A3280 = "" 
-A3281 = "" A3282 = "" A3283 = "" A3284 = "" A3285 = "" A3286 = "" A3287 = "" A3288 = "" A3289 = "" A3290 = "" 
-A3291 = "" A3292 = "" A3293 = "" A3294 = "" A3295 = "" A3296 = "" A3297 = "" A3298 = "" A3299 = "" A3300 = "" 
-A3301 = "" A3302 = "" A3303 = "" A3304 = "" A3305 = "" A3306 = "" A3307 = "" A3308 = "" A3309 = "" A3310 = "" 
-A3311 = "" A3312 = "" A3313 = "" A3314 = "" A3315 = "" A3316 = "" A3317 = "" A3318 = "" A3319 = "" A3320 = "" 
-A3321 = "" A3322 = "" A3323 = "" A3324 = "" A3325 = "" A3326 = "" A3327 = "" A3328 = "" A3329 = "" A3330 = "" 
-A3331 = "" A3332 = "" A3333 = "" A3334 = "" A3335 = "" A3336 = "" A3337 = "" A3338 = "" A3339 = "" A3340 = "" 
-A3341 = "" A3342 = "" A3343 = "" A3344 = "" A3345 = "" A3346 = "" A3347 = "" A3348 = "" A3349 = "" A3350 = "" 
-A3351 = "" A3352 = "" A3353 = "" A3354 = "" A3355 = "" A3356 = "" A3357 = "" A3358 = "" A3359 = "" A3360 = "" 
-A3361 = "" A3362 = "" A3363 = "" A3364 = "" A3365 = "" A3366 = "" A3367 = "" A3368 = "" A3369 = "" A3370 = "" 
-A3371 = "" A3372 = "" A3373 = "" A3374 = "" A3375 = "" A3376 = "" A3377 = "" A3378 = "" A3379 = "" A3380 = "" 
-A3381 = "" A3382 = "" A3383 = "" A3384 = "" A3385 = "" A3386 = "" A3387 = "" A3388 = "" A3389 = "" A3390 = "" 
-A3391 = "" A3392 = "" A3393 = "" A3394 = "" A3395 = "" A3396 = "" A3397 = "" A3398 = "" A3399 = "" A3400 = "" 
-A3401 = "" A3402 = "" A3403 = "" A3404 = "" A3405 = "" A3406 = "" A3407 = "" A3408 = "" A3409 = "" A3410 = "" 
-A3411 = "" A3412 = "" A3413 = "" A3414 = "" A3415 = "" A3416 = "" A3417 = "" A3418 = "" A3419 = "" A3420 = "" 
-A3421 = "" A3422 = "" A3423 = "" A3424 = "" A3425 = "" A3426 = "" A3427 = "" A3428 = "" A3429 = "" A3430 = "" 
-A3431 = "" A3432 = "" A3433 = "" A3434 = "" A3435 = "" A3436 = "" A3437 = "" A3438 = "" A3439 = "" A3440 = "" 
-A3441 = "" A3442 = "" A3443 = "" A3444 = "" A3445 = "" A3446 = "" A3447 = "" A3448 = "" A3449 = "" A3450 = "" 
-A3451 = "" A3452 = "" A3453 = "" A3454 = "" A3455 = "" A3456 = "" A3457 = "" A3458 = "" A3459 = "" A3460 = "" 
-A3461 = "" A3462 = "" A3463 = "" A3464 = "" A3465 = "" A3466 = "" A3467 = "" A3468 = "" A3469 = "" A3470 = "" 
-A3471 = "" A3472 = "" A3473 = "" A3474 = "" A3475 = "" A3476 = "" A3477 = "" A3478 = "" A3479 = "" A3480 = "" 
-A3481 = "" A3482 = "" A3483 = "" A3484 = "" A3485 = "" A3486 = "" A3487 = "" A3488 = "" A3489 = "" A3490 = "" 
-A3491 = "" A3492 = "" A3493 = "" A3494 = "" A3495 = "" A3496 = "" A3497 = "" A3498 = "" A3499 = "" A3500 = "" 
-A3501 = "" A3502 = "" A3503 = "" A3504 = "" A3505 = "" A3506 = "" A3507 = "" A3508 = "" A3509 = "" A3510 = "" 
-A3511 = "" A3512 = "" A3513 = "" A3514 = "" A3515 = "" A3516 = "" A3517 = "" A3518 = "" A3519 = "" A3520 = "" 
-A3521 = "" A3522 = "" A3523 = "" A3524 = "" A3525 = "" A3526 = "" A3527 = "" A3528 = "" A3529 = "" A3530 = "" 
-A3531 = "" A3532 = "" A3533 = "" A3534 = "" A3535 = "" A3536 = "" A3537 = "" A3538 = "" A3539 = "" A3540 = "" 
-A3541 = "" A3542 = "" A3543 = "" A3544 = "" A3545 = "" A3546 = "" A3547 = "" A3548 = "" A3549 = "" A3550 = "" 
-A3551 = "" A3552 = "" A3553 = "" A3554 = "" A3555 = "" A3556 = "" A3557 = "" A3558 = "" A3559 = "" A3560 = "" 
-A3561 = "" A3562 = "" A3563 = "" A3564 = "" A3565 = "" A3566 = "" A3567 = "" A3568 = "" A3569 = "" A3570 = "" 
-A3571 = "" A3572 = "" A3573 = "" A3574 = "" A3575 = "" A3576 = "" A3577 = "" A3578 = "" A3579 = "" A3580 = "" 
-A3581 = "" A3582 = "" A3583 = "" A3584 = "" A3585 = "" A3586 = "" A3587 = "" A3588 = "" A3589 = "" A3590 = "" 
-A3591 = "" A3592 = "" A3593 = "" A3594 = "" A3595 = "" A3596 = "" A3597 = "" A3598 = "" A3599 = "" A3600 = "" 
-A3601 = "" A3602 = "" A3603 = "" A3604 = "" A3605 = "" A3606 = "" A3607 = "" A3608 = "" A3609 = "" A3610 = "" 
-A3611 = "" A3612 = "" A3613 = "" A3614 = "" A3615 = "" A3616 = "" A3617 = "" A3618 = "" A3619 = "" A3620 = "" 
-A3621 = "" A3622 = "" A3623 = "" A3624 = "" A3625 = "" A3626 = "" A3627 = "" A3628 = "" A3629 = "" A3630 = "" 
-A3631 = "" A3632 = "" A3633 = "" A3634 = "" A3635 = "" A3636 = "" A3637 = "" A3638 = "" A3639 = "" A3640 = "" 
-A3641 = "" A3642 = "" A3643 = "" A3644 = "" A3645 = "" A3646 = "" A3647 = "" A3648 = "" A3649 = "" A3650 = "" 
-A3651 = "" A3652 = "" A3653 = "" A3654 = "" A3655 = "" A3656 = "" A3657 = "" A3658 = "" A3659 = "" A3660 = "" 
-A3661 = "" A3662 = "" A3663 = "" A3664 = "" A3665 = "" A3666 = "" A3667 = "" A3668 = "" A3669 = "" A3670 = "" 
-A3671 = "" A3672 = "" A3673 = "" A3674 = "" A3675 = "" A3676 = "" A3677 = "" A3678 = "" A3679 = "" A3680 = "" 
-A3681 = "" A3682 = "" A3683 = "" A3684 = "" A3685 = "" A3686 = "" A3687 = "" A3688 = "" A3689 = "" A3690 = "" 
-A3691 = "" A3692 = "" A3693 = "" A3694 = "" A3695 = "" A3696 = "" A3697 = "" A3698 = "" A3699 = "" A3700 = "" 
-A3701 = "" A3702 = "" A3703 = "" A3704 = "" A3705 = "" A3706 = "" A3707 = "" A3708 = "" A3709 = "" A3710 = "" 
-A3711 = "" A3712 = "" A3713 = "" A3714 = "" A3715 = "" A3716 = "" A3717 = "" A3718 = "" A3719 = "" A3720 = "" 
-A3721 = "" A3722 = "" A3723 = "" A3724 = "" A3725 = "" A3726 = "" A3727 = "" A3728 = "" A3729 = "" A3730 = "" 
-A3731 = "" A3732 = "" A3733 = "" A3734 = "" A3735 = "" A3736 = "" A3737 = "" A3738 = "" A3739 = "" A3740 = "" 
-A3741 = "" A3742 = "" A3743 = "" A3744 = "" A3745 = "" A3746 = "" A3747 = "" A3748 = "" A3749 = "" A3750 = "" 
-A3751 = "" A3752 = "" A3753 = "" A3754 = "" A3755 = "" A3756 = "" A3757 = "" A3758 = "" A3759 = "" A3760 = "" 
-A3761 = "" A3762 = "" A3763 = "" A3764 = "" A3765 = "" A3766 = "" A3767 = "" A3768 = "" A3769 = "" A3770 = "" 
-A3771 = "" A3772 = "" A3773 = "" A3774 = "" A3775 = "" A3776 = "" A3777 = "" A3778 = "" A3779 = "" A3780 = "" 
-A3781 = "" A3782 = "" A3783 = "" A3784 = "" A3785 = "" A3786 = "" A3787 = "" A3788 = "" A3789 = "" A3790 = "" 
-A3791 = "" A3792 = "" A3793 = "" A3794 = "" A3795 = "" A3796 = "" A3797 = "" A3798 = "" A3799 = "" A3800 = "" 
-A3801 = "" A3802 = "" A3803 = "" A3804 = "" A3805 = "" A3806 = "" A3807 = "" A3808 = "" A3809 = "" A3810 = "" 
-A3811 = "" A3812 = "" A3813 = "" A3814 = "" A3815 = "" A3816 = "" A3817 = "" A3818 = "" A3819 = "" A3820 = "" 
-A3821 = "" A3822 = "" A3823 = "" A3824 = "" A3825 = "" A3826 = "" A3827 = "" A3828 = "" A3829 = "" A3830 = "" 
-A3831 = "" A3832 = "" A3833 = "" A3834 = "" A3835 = "" A3836 = "" A3837 = "" A3838 = "" A3839 = "" A3840 = "" 
-A3841 = "" A3842 = "" A3843 = "" A3844 = "" A3845 = "" A3846 = "" A3847 = "" A3848 = "" A3849 = "" A3850 = "" 
-A3851 = "" A3852 = "" A3853 = "" A3854 = "" A3855 = "" A3856 = "" A3857 = "" A3858 = "" A3859 = "" A3860 = "" 
-A3861 = "" A3862 = "" A3863 = "" A3864 = "" A3865 = "" A3866 = "" A3867 = "" A3868 = "" A3869 = "" A3870 = "" 
-A3871 = "" A3872 = "" A3873 = "" A3874 = "" A3875 = "" A3876 = "" A3877 = "" A3878 = "" A3879 = "" A3880 = "" 
-A3881 = "" A3882 = "" A3883 = "" A3884 = "" A3885 = "" A3886 = "" A3887 = "" A3888 = "" A3889 = "" A3890 = "" 
-A3891 = "" A3892 = "" A3893 = "" A3894 = "" A3895 = "" A3896 = "" A3897 = "" A3898 = "" A3899 = "" A3900 = "" 
-A3901 = "" A3902 = "" A3903 = "" A3904 = "" A3905 = "" A3906 = "" A3907 = "" A3908 = "" A3909 = "" A3910 = "" 
-A3911 = "" A3912 = "" A3913 = "" A3914 = "" A3915 = "" A3916 = "" A3917 = "" A3918 = "" A3919 = "" A3920 = "" 
-A3921 = "" A3922 = "" A3923 = "" A3924 = "" A3925 = "" A3926 = "" A3927 = "" A3928 = "" A3929 = "" A3930 = "" 
-A3931 = "" A3932 = "" A3933 = "" A3934 = "" A3935 = "" A3936 = "" A3937 = "" A3938 = "" A3939 = "" A3940 = "" 
-A3941 = "" A3942 = "" A3943 = "" A3944 = "" A3945 = "" A3946 = "" A3947 = "" A3948 = "" A3949 = "" A3950 = "" 
-A3951 = "" A3952 = "" A3953 = "" A3954 = "" A3955 = "" A3956 = "" A3957 = "" A3958 = "" A3959 = "" A3960 = "" 
-A3961 = "" A3962 = "" A3963 = "" A3964 = "" A3965 = "" A3966 = "" A3967 = "" A3968 = "" A3969 = "" A3970 = "" 
-A3971 = "" A3972 = "" A3973 = "" A3974 = "" A3975 = "" A3976 = "" A3977 = "" A3978 = "" A3979 = "" A3980 = "" 
-A3981 = "" A3982 = "" A3983 = "" A3984 = "" A3985 = "" A3986 = "" A3987 = "" A3988 = "" A3989 = "" A3990 = "" 
-A3991 = "" A3992 = "" A3993 = "" A3994 = "" A3995 = "" A3996 = "" A3997 = "" A3998 = "" A3999 = "" A4000 = "" 
-A4001 = "" A4002 = "" A4003 = "" A4004 = "" A4005 = "" A4006 = "" A4007 = "" A4008 = "" A4009 = "" A4010 = "" 
-A4011 = "" A4012 = "" A4013 = "" A4014 = "" A4015 = "" A4016 = "" A4017 = "" A4018 = "" A4019 = "" A4020 = "" 
-A4021 = "" A4022 = "" A4023 = "" A4024 = "" A4025 = "" A4026 = "" A4027 = "" A4028 = "" A4029 = "" A4030 = "" 
-A4031 = "" A4032 = "" A4033 = "" A4034 = "" A4035 = "" A4036 = "" A4037 = "" A4038 = "" A4039 = "" A4040 = "" 
-A4041 = "" A4042 = "" A4043 = "" A4044 = "" A4045 = "" A4046 = "" A4047 = "" A4048 = "" A4049 = "" A4050 = "" 
-A4051 = "" A4052 = "" A4053 = "" A4054 = "" A4055 = "" A4056 = "" A4057 = "" A4058 = "" A4059 = "" A4060 = "" 
-A4061 = "" A4062 = "" A4063 = "" A4064 = "" A4065 = "" A4066 = "" A4067 = "" A4068 = "" A4069 = "" A4070 = "" 
-A4071 = "" A4072 = "" A4073 = "" A4074 = "" A4075 = "" A4076 = "" A4077 = "" A4078 = "" A4079 = "" A4080 = "" 
-A4081 = "" A4082 = "" A4083 = "" A4084 = "" A4085 = "" A4086 = "" A4087 = "" A4088 = "" A4089 = "" A4090 = "" 
-A4091 = "" A4092 = "" A4093 = "" A4094 = "" A4095 = "" A4096 = "" A4097 = "" A4098 = "" A4099 = "" A4100 = "" 
-A4101 = "" A4102 = "" A4103 = "" A4104 = "" A4105 = "" A4106 = "" A4107 = "" A4108 = "" A4109 = "" A4110 = "" 
-A4111 = "" A4112 = "" A4113 = "" A4114 = "" A4115 = "" A4116 = "" A4117 = "" A4118 = "" A4119 = "" A4120 = "" 
-A4121 = "" A4122 = "" A4123 = "" A4124 = "" A4125 = "" A4126 = "" A4127 = "" A4128 = "" A4129 = "" A4130 = "" 
-A4131 = "" A4132 = "" A4133 = "" A4134 = "" A4135 = "" A4136 = "" A4137 = "" A4138 = "" A4139 = "" A4140 = "" 
-A4141 = "" A4142 = "" A4143 = "" A4144 = "" A4145 = "" A4146 = "" A4147 = "" A4148 = "" A4149 = "" A4150 = "" 
-A4151 = "" A4152 = "" A4153 = "" A4154 = "" A4155 = "" A4156 = "" A4157 = "" A4158 = "" A4159 = "" A4160 = "" 
-A4161 = "" A4162 = "" A4163 = "" A4164 = "" A4165 = "" A4166 = "" A4167 = "" A4168 = "" A4169 = "" A4170 = "" 
-A4171 = "" A4172 = "" A4173 = "" A4174 = "" A4175 = "" A4176 = "" A4177 = "" A4178 = "" A4179 = "" A4180 = "" 
-A4181 = "" A4182 = "" A4183 = "" A4184 = "" A4185 = "" A4186 = "" A4187 = "" A4188 = "" A4189 = "" A4190 = "" 
-A4191 = "" A4192 = "" A4193 = "" A4194 = "" A4195 = "" A4196 = "" A4197 = "" A4198 = "" A4199 = "" A4200 = "" 
-A4201 = "" A4202 = "" A4203 = "" A4204 = "" A4205 = "" A4206 = "" A4207 = "" A4208 = "" A4209 = "" A4210 = "" 
-A4211 = "" A4212 = "" A4213 = "" A4214 = "" A4215 = "" A4216 = "" A4217 = "" A4218 = "" A4219 = "" A4220 = "" 
-A4221 = "" A4222 = "" A4223 = "" A4224 = "" A4225 = "" A4226 = "" A4227 = "" A4228 = "" A4229 = "" A4230 = "" 
-A4231 = "" A4232 = "" A4233 = "" A4234 = "" A4235 = "" A4236 = "" A4237 = "" A4238 = "" A4239 = "" A4240 = "" 
-A4241 = "" A4242 = "" A4243 = "" A4244 = "" A4245 = "" A4246 = "" A4247 = "" A4248 = "" A4249 = "" A4250 = "" 
-A4251 = "" A4252 = "" A4253 = "" A4254 = "" A4255 = "" A4256 = "" A4257 = "" A4258 = "" A4259 = "" A4260 = "" 
-A4261 = "" A4262 = "" A4263 = "" A4264 = "" A4265 = "" A4266 = "" A4267 = "" A4268 = "" A4269 = "" A4270 = "" 
-A4271 = "" A4272 = "" A4273 = "" A4274 = "" A4275 = "" A4276 = "" A4277 = "" A4278 = "" A4279 = "" A4280 = "" 
-A4281 = "" A4282 = "" A4283 = "" A4284 = "" A4285 = "" A4286 = "" A4287 = "" A4288 = "" A4289 = "" A4290 = "" 
-A4291 = "" A4292 = "" A4293 = "" A4294 = "" A4295 = "" A4296 = "" A4297 = "" A4298 = "" A4299 = "" A4300 = "" 
-A4301 = "" A4302 = "" A4303 = "" A4304 = "" A4305 = "" A4306 = "" A4307 = "" A4308 = "" A4309 = "" A4310 = "" 
-A4311 = "" A4312 = "" A4313 = "" A4314 = "" A4315 = "" A4316 = "" A4317 = "" A4318 = "" A4319 = "" A4320 = "" 
-A4321 = "" A4322 = "" A4323 = "" A4324 = "" A4325 = "" A4326 = "" A4327 = "" A4328 = "" A4329 = "" A4330 = "" 
-A4331 = "" A4332 = "" A4333 = "" A4334 = "" A4335 = "" A4336 = "" A4337 = "" A4338 = "" A4339 = "" A4340 = "" 
-A4341 = "" A4342 = "" A4343 = "" A4344 = "" A4345 = "" A4346 = "" A4347 = "" A4348 = "" A4349 = "" A4350 = "" 
-A4351 = "" A4352 = "" A4353 = "" A4354 = "" A4355 = "" A4356 = "" A4357 = "" A4358 = "" A4359 = "" A4360 = "" 
-A4361 = "" A4362 = "" A4363 = "" A4364 = "" A4365 = "" A4366 = "" A4367 = "" A4368 = "" A4369 = "" A4370 = "" 
-A4371 = "" A4372 = "" A4373 = "" A4374 = "" A4375 = "" A4376 = "" A4377 = "" A4378 = "" A4379 = "" A4380 = "" 
-A4381 = "" A4382 = "" A4383 = "" A4384 = "" A4385 = "" A4386 = "" A4387 = "" A4388 = "" A4389 = "" A4390 = "" 
-A4391 = "" A4392 = "" A4393 = "" A4394 = "" A4395 = "" A4396 = "" A4397 = "" A4398 = "" A4399 = "" A4400 = "" 
-A4401 = "" A4402 = "" A4403 = "" A4404 = "" A4405 = "" A4406 = "" A4407 = "" A4408 = "" A4409 = "" A4410 = "" 
-A4411 = "" A4412 = "" A4413 = "" A4414 = "" A4415 = "" A4416 = "" A4417 = "" A4418 = "" A4419 = "" A4420 = "" 
-A4421 = "" A4422 = "" A4423 = "" A4424 = "" A4425 = "" A4426 = "" A4427 = "" A4428 = "" A4429 = "" A4430 = "" 
-A4431 = "" A4432 = "" A4433 = "" A4434 = "" A4435 = "" A4436 = "" A4437 = "" A4438 = "" A4439 = "" A4440 = "" 
-A4441 = "" A4442 = "" A4443 = "" A4444 = "" A4445 = "" A4446 = "" A4447 = "" A4448 = "" A4449 = "" A4450 = "" 
-A4451 = "" A4452 = "" A4453 = "" A4454 = "" A4455 = "" A4456 = "" A4457 = "" A4458 = "" A4459 = "" A4460 = "" 
-A4461 = "" A4462 = "" A4463 = "" A4464 = "" A4465 = "" A4466 = "" A4467 = "" A4468 = "" A4469 = "" A4470 = "" 
-A4471 = "" A4472 = "" A4473 = "" A4474 = "" A4475 = "" A4476 = "" A4477 = "" A4478 = "" A4479 = "" A4480 = "" 
-A4481 = "" A4482 = "" A4483 = "" A4484 = "" A4485 = "" A4486 = "" A4487 = "" A4488 = "" A4489 = "" A4490 = "" 
-A4491 = "" A4492 = "" A4493 = "" A4494 = "" A4495 = "" A4496 = "" A4497 = "" A4498 = "" A4499 = "" A4500 = "" 
-A4501 = "" A4502 = "" A4503 = "" A4504 = "" A4505 = "" A4506 = "" A4507 = "" A4508 = "" A4509 = "" A4510 = "" 
-A4511 = "" A4512 = "" A4513 = "" A4514 = "" A4515 = "" A4516 = "" A4517 = "" A4518 = "" A4519 = "" A4520 = "" 
-A4521 = "" A4522 = "" A4523 = "" A4524 = "" A4525 = "" A4526 = "" A4527 = "" A4528 = "" A4529 = "" A4530 = "" 
-A4531 = "" A4532 = "" A4533 = "" A4534 = "" A4535 = "" A4536 = "" A4537 = "" A4538 = "" A4539 = "" A4540 = "" 
-A4541 = "" A4542 = "" A4543 = "" A4544 = "" A4545 = "" A4546 = "" A4547 = "" A4548 = "" A4549 = "" A4550 = "" 
-A4551 = "" A4552 = "" A4553 = "" A4554 = "" A4555 = "" A4556 = "" A4557 = "" A4558 = "" A4559 = "" A4560 = "" 
-A4561 = "" A4562 = "" A4563 = "" A4564 = "" A4565 = "" A4566 = "" A4567 = "" A4568 = "" A4569 = "" A4570 = "" 
-A4571 = "" A4572 = "" A4573 = "" A4574 = "" A4575 = "" A4576 = "" A4577 = "" A4578 = "" A4579 = "" A4580 = "" 
-A4581 = "" A4582 = "" A4583 = "" A4584 = "" A4585 = "" A4586 = "" A4587 = "" A4588 = "" A4589 = "" A4590 = "" 
-A4591 = "" A4592 = "" A4593 = "" A4594 = "" A4595 = "" A4596 = "" A4597 = "" A4598 = "" A4599 = "" A4600 = "" 
-A4601 = "" A4602 = "" A4603 = "" A4604 = "" A4605 = "" A4606 = "" A4607 = "" A4608 = "" A4609 = "" A4610 = "" 
-A4611 = "" A4612 = "" A4613 = "" A4614 = "" A4615 = "" A4616 = "" A4617 = "" A4618 = "" A4619 = "" A4620 = "" 
-A4621 = "" A4622 = "" A4623 = "" A4624 = "" A4625 = "" A4626 = "" A4627 = "" A4628 = "" A4629 = "" A4630 = "" 
-A4631 = "" A4632 = "" A4633 = "" A4634 = "" A4635 = "" A4636 = "" A4637 = "" A4638 = "" A4639 = "" A4640 = "" 
-A4641 = "" A4642 = "" A4643 = "" A4644 = "" A4645 = "" A4646 = "" A4647 = "" A4648 = "" A4649 = "" A4650 = "" 
-A4651 = "" A4652 = "" A4653 = "" A4654 = "" A4655 = "" A4656 = "" A4657 = "" A4658 = "" A4659 = "" A4660 = "" 
-A4661 = "" A4662 = "" A4663 = "" A4664 = "" A4665 = "" A4666 = "" A4667 = "" A4668 = "" A4669 = "" A4670 = "" 
-A4671 = "" A4672 = "" A4673 = "" A4674 = "" A4675 = "" A4676 = "" A4677 = "" A4678 = "" A4679 = "" A4680 = "" 
-A4681 = "" A4682 = "" A4683 = "" A4684 = "" A4685 = "" A4686 = "" A4687 = "" A4688 = "" A4689 = "" A4690 = "" 
-A4691 = "" A4692 = "" A4693 = "" A4694 = "" A4695 = "" A4696 = "" A4697 = "" A4698 = "" A4699 = "" A4700 = "" 
-A4701 = "" A4702 = "" A4703 = "" A4704 = "" A4705 = "" A4706 = "" A4707 = "" A4708 = "" A4709 = "" A4710 = "" 
-A4711 = "" A4712 = "" A4713 = "" A4714 = "" A4715 = "" A4716 = "" A4717 = "" A4718 = "" A4719 = "" A4720 = "" 
-A4721 = "" A4722 = "" A4723 = "" A4724 = "" A4725 = "" A4726 = "" A4727 = "" A4728 = "" A4729 = "" A4730 = "" 
-A4731 = "" A4732 = "" A4733 = "" A4734 = "" A4735 = "" A4736 = "" A4737 = "" A4738 = "" A4739 = "" A4740 = "" 
-A4741 = "" A4742 = "" A4743 = "" A4744 = "" A4745 = "" A4746 = "" A4747 = "" A4748 = "" A4749 = "" A4750 = "" 
-A4751 = "" A4752 = "" A4753 = "" A4754 = "" A4755 = "" A4756 = "" A4757 = "" A4758 = "" A4759 = "" A4760 = "" 
-A4761 = "" A4762 = "" A4763 = "" A4764 = "" A4765 = "" A4766 = "" A4767 = "" A4768 = "" A4769 = "" A4770 = "" 
-A4771 = "" A4772 = "" A4773 = "" A4774 = "" A4775 = "" A4776 = "" A4777 = "" A4778 = "" A4779 = "" A4780 = "" 
-A4781 = "" A4782 = "" A4783 = "" A4784 = "" A4785 = "" A4786 = "" A4787 = "" A4788 = "" A4789 = "" A4790 = "" 
-A4791 = "" A4792 = "" A4793 = "" A4794 = "" A4795 = "" A4796 = "" A4797 = "" A4798 = "" A4799 = "" A4800 = "" 
-A4801 = "" A4802 = "" A4803 = "" A4804 = "" A4805 = "" A4806 = "" A4807 = "" A4808 = "" A4809 = "" A4810 = "" 
-A4811 = "" A4812 = "" A4813 = "" A4814 = "" A4815 = "" A4816 = "" A4817 = "" A4818 = "" A4819 = "" A4820 = "" 
-A4821 = "" A4822 = "" A4823 = "" A4824 = "" A4825 = "" A4826 = "" A4827 = "" A4828 = "" A4829 = "" A4830 = "" 
-A4831 = "" A4832 = "" A4833 = "" A4834 = "" A4835 = "" A4836 = "" A4837 = "" A4838 = "" A4839 = "" A4840 = "" 
-A4841 = "" A4842 = "" A4843 = "" A4844 = "" A4845 = "" A4846 = "" A4847 = "" A4848 = "" A4849 = "" A4850 = "" 
-A4851 = "" A4852 = "" A4853 = "" A4854 = "" A4855 = "" A4856 = "" A4857 = "" A4858 = "" A4859 = "" A4860 = "" 
-A4861 = "" A4862 = "" A4863 = "" A4864 = "" A4865 = "" A4866 = "" A4867 = "" A4868 = "" A4869 = "" A4870 = "" 
-A4871 = "" A4872 = "" A4873 = "" A4874 = "" A4875 = "" A4876 = "" A4877 = "" A4878 = "" A4879 = "" A4880 = "" 
-A4881 = "" A4882 = "" A4883 = "" A4884 = "" A4885 = "" A4886 = "" A4887 = "" A4888 = "" A4889 = "" A4890 = "" 
-A4891 = "" A4892 = "" A4893 = "" A4894 = "" A4895 = "" A4896 = "" A4897 = "" A4898 = "" A4899 = "" A4900 = "" 
-A4901 = "" A4902 = "" A4903 = "" A4904 = "" A4905 = "" A4906 = "" A4907 = "" A4908 = "" A4909 = "" A4910 = "" 
-A4911 = "" A4912 = "" A4913 = "" A4914 = "" A4915 = "" A4916 = "" A4917 = "" A4918 = "" A4919 = "" A4920 = "" 
-A4921 = "" A4922 = "" A4923 = "" A4924 = "" A4925 = "" A4926 = "" A4927 = "" A4928 = "" A4929 = "" A4930 = "" 
-A4931 = "" A4932 = "" A4933 = "" A4934 = "" A4935 = "" A4936 = "" A4937 = "" A4938 = "" A4939 = "" A4940 = "" 
-A4941 = "" A4942 = "" A4943 = "" A4944 = "" A4945 = "" A4946 = "" A4947 = "" A4948 = "" A4949 = "" A4950 = "" 
-A4951 = "" A4952 = "" A4953 = "" A4954 = "" A4955 = "" A4956 = "" A4957 = "" A4958 = "" A4959 = "" A4960 = "" 
-A4961 = "" A4962 = "" A4963 = "" A4964 = "" A4965 = "" A4966 = "" A4967 = "" A4968 = "" A4969 = "" A4970 = "" 
-A4971 = "" A4972 = "" A4973 = "" A4974 = "" A4975 = "" A4976 = "" A4977 = "" A4978 = "" A4979 = "" A4980 = "" 
-A4981 = "" A4982 = "" A4983 = "" A4984 = "" A4985 = "" A4986 = "" A4987 = "" A4988 = "" A4989 = "" A4990 = "" 
-A4991 = "" A4992 = "" A4993 = "" A4994 = "" A4995 = "" A4996 = "" A4997 = "" A4998 = "" A4999 = "" A5000 = "" 
-A5001 = "" A5002 = "" A5003 = "" A5004 = "" A5005 = "" A5006 = "" A5007 = "" A5008 = "" A5009 = "" A5010 = "" 
-A5011 = "" A5012 = "" A5013 = "" A5014 = "" A5015 = "" A5016 = "" A5017 = "" A5018 = "" A5019 = "" A5020 = "" 
-A5021 = "" A5022 = "" A5023 = "" A5024 = "" A5025 = "" A5026 = "" A5027 = "" A5028 = "" A5029 = "" A5030 = "" 
-A5031 = "" A5032 = "" A5033 = "" A5034 = "" A5035 = "" A5036 = "" A5037 = "" A5038 = "" A5039 = "" A5040 = "" 
-A5041 = "" A5042 = "" A5043 = "" A5044 = "" A5045 = "" A5046 = "" A5047 = "" A5048 = "" A5049 = "" A5050 = "" 
-A5051 = "" A5052 = "" A5053 = "" A5054 = "" A5055 = "" A5056 = "" A5057 = "" A5058 = "" A5059 = "" A5060 = "" 
-A5061 = "" A5062 = "" A5063 = "" A5064 = "" A5065 = "" A5066 = "" A5067 = "" A5068 = "" A5069 = "" A5070 = "" 
-A5071 = "" A5072 = "" A5073 = "" A5074 = "" A5075 = "" A5076 = "" A5077 = "" A5078 = "" A5079 = "" A5080 = "" 
-A5081 = "" A5082 = "" A5083 = "" A5084 = "" A5085 = "" A5086 = "" A5087 = "" A5088 = "" A5089 = "" A5090 = "" 
-A5091 = "" A5092 = "" A5093 = "" A5094 = "" A5095 = "" A5096 = "" A5097 = "" A5098 = "" A5099 = "" A5100 = "" 
-A5101 = "" A5102 = "" A5103 = "" A5104 = "" A5105 = "" A5106 = "" A5107 = "" A5108 = "" A5109 = "" A5110 = "" 
-A5111 = "" A5112 = "" A5113 = "" A5114 = "" A5115 = "" A5116 = "" A5117 = "" A5118 = "" A5119 = "" A5120 = "" 
-A5121 = "" A5122 = "" A5123 = "" A5124 = "" A5125 = "" A5126 = "" A5127 = "" A5128 = "" A5129 = "" A5130 = "" 
-A5131 = "" A5132 = "" A5133 = "" A5134 = "" A5135 = "" A5136 = "" A5137 = "" A5138 = "" A5139 = "" A5140 = "" 
-A5141 = "" A5142 = "" A5143 = "" A5144 = "" A5145 = "" A5146 = "" A5147 = "" A5148 = "" A5149 = "" A5150 = "" 
-A5151 = "" A5152 = "" A5153 = "" A5154 = "" A5155 = "" A5156 = "" A5157 = "" A5158 = "" A5159 = "" A5160 = "" 
-A5161 = "" A5162 = "" A5163 = "" A5164 = "" A5165 = "" A5166 = "" A5167 = "" A5168 = "" A5169 = "" A5170 = "" 
-A5171 = "" A5172 = "" A5173 = "" A5174 = "" A5175 = "" A5176 = "" A5177 = "" A5178 = "" A5179 = "" A5180 = "" 
-A5181 = "" A5182 = "" A5183 = "" A5184 = "" A5185 = "" A5186 = "" A5187 = "" A5188 = "" A5189 = "" A5190 = "" 
-A5191 = "" A5192 = "" A5193 = "" A5194 = "" A5195 = "" A5196 = "" A5197 = "" A5198 = "" A5199 = "" A5200 = "" 
-A5201 = "" A5202 = "" A5203 = "" A5204 = "" A5205 = "" A5206 = "" A5207 = "" A5208 = "" A5209 = "" A5210 = "" 
-A5211 = "" A5212 = "" A5213 = "" A5214 = "" A5215 = "" A5216 = "" A5217 = "" A5218 = "" A5219 = "" A5220 = "" 
-A5221 = "" A5222 = "" A5223 = "" A5224 = "" A5225 = "" A5226 = "" A5227 = "" A5228 = "" A5229 = "" A5230 = "" 
-A5231 = "" A5232 = "" A5233 = "" A5234 = "" A5235 = "" A5236 = "" A5237 = "" A5238 = "" A5239 = "" A5240 = "" 
-A5241 = "" A5242 = "" A5243 = "" A5244 = "" A5245 = "" A5246 = "" A5247 = "" A5248 = "" A5249 = "" A5250 = "" 
-A5251 = "" A5252 = "" A5253 = "" A5254 = "" A5255 = "" A5256 = "" A5257 = "" A5258 = "" A5259 = "" A5260 = "" 
-A5261 = "" A5262 = "" A5263 = "" A5264 = "" A5265 = "" A5266 = "" A5267 = "" A5268 = "" A5269 = "" A5270 = "" 
-A5271 = "" A5272 = "" A5273 = "" A5274 = "" A5275 = "" A5276 = "" A5277 = "" A5278 = "" A5279 = "" A5280 = "" 
-A5281 = "" A5282 = "" A5283 = "" A5284 = "" A5285 = "" A5286 = "" A5287 = "" A5288 = "" A5289 = "" A5290 = "" 
-A5291 = "" A5292 = "" A5293 = "" A5294 = "" A5295 = "" A5296 = "" A5297 = "" A5298 = "" A5299 = "" A5300 = "" 
-A5301 = "" A5302 = "" A5303 = "" A5304 = "" A5305 = "" A5306 = "" A5307 = "" A5308 = "" A5309 = "" A5310 = "" 
-A5311 = "" A5312 = "" A5313 = "" A5314 = "" A5315 = "" A5316 = "" A5317 = "" A5318 = "" A5319 = "" A5320 = "" 
-A5321 = "" A5322 = "" A5323 = "" A5324 = "" A5325 = "" A5326 = "" A5327 = "" A5328 = "" A5329 = "" A5330 = "" 
-A5331 = "" A5332 = "" A5333 = "" A5334 = "" A5335 = "" A5336 = "" A5337 = "" A5338 = "" A5339 = "" A5340 = "" 
-A5341 = "" A5342 = "" A5343 = "" A5344 = "" A5345 = "" A5346 = "" A5347 = "" A5348 = "" A5349 = "" A5350 = "" 
-A5351 = "" A5352 = "" A5353 = "" A5354 = "" A5355 = "" A5356 = "" A5357 = "" A5358 = "" A5359 = "" A5360 = "" 
-A5361 = "" A5362 = "" A5363 = "" A5364 = "" A5365 = "" A5366 = "" A5367 = "" A5368 = "" A5369 = "" A5370 = "" 
-A5371 = "" A5372 = "" A5373 = "" A5374 = "" A5375 = "" A5376 = "" A5377 = "" A5378 = "" A5379 = "" A5380 = "" 
-A5381 = "" A5382 = "" A5383 = "" A5384 = "" A5385 = "" A5386 = "" A5387 = "" A5388 = "" A5389 = "" A5390 = "" 
-A5391 = "" A5392 = "" A5393 = "" A5394 = "" A5395 = "" A5396 = "" A5397 = "" A5398 = "" A5399 = "" A5400 = "" 
-A5401 = "" A5402 = "" A5403 = "" A5404 = "" A5405 = "" A5406 = "" A5407 = "" A5408 = "" A5409 = "" A5410 = "" 
-A5411 = "" A5412 = "" A5413 = "" A5414 = "" A5415 = "" A5416 = "" A5417 = "" A5418 = "" A5419 = "" A5420 = "" 
-A5421 = "" A5422 = "" A5423 = "" A5424 = "" A5425 = "" A5426 = "" A5427 = "" A5428 = "" A5429 = "" A5430 = "" 
-A5431 = "" A5432 = "" A5433 = "" A5434 = "" A5435 = "" A5436 = "" A5437 = "" A5438 = "" A5439 = "" A5440 = "" 
-A5441 = "" A5442 = "" A5443 = "" A5444 = "" A5445 = "" A5446 = "" A5447 = "" A5448 = "" A5449 = "" A5450 = "" 
-A5451 = "" A5452 = "" A5453 = "" A5454 = "" A5455 = "" A5456 = "" A5457 = "" A5458 = "" A5459 = "" A5460 = "" 
-A5461 = "" A5462 = "" A5463 = "" A5464 = "" A5465 = "" A5466 = "" A5467 = "" A5468 = "" A5469 = "" A5470 = "" 
-A5471 = "" A5472 = "" A5473 = "" A5474 = "" A5475 = "" A5476 = "" A5477 = "" A5478 = "" A5479 = "" A5480 = "" 
-A5481 = "" A5482 = "" A5483 = "" A5484 = "" A5485 = "" A5486 = "" A5487 = "" A5488 = "" A5489 = "" A5490 = "" 
-A5491 = "" A5492 = "" A5493 = "" A5494 = "" A5495 = "" A5496 = "" A5497 = "" A5498 = "" A5499 = "" A5500 = "" 
-A5501 = "" A5502 = "" A5503 = "" A5504 = "" A5505 = "" A5506 = "" A5507 = "" A5508 = "" A5509 = "" A5510 = "" 
-A5511 = "" A5512 = "" A5513 = "" A5514 = "" A5515 = "" A5516 = "" A5517 = "" A5518 = "" A5519 = "" A5520 = "" 
-A5521 = "" A5522 = "" A5523 = "" A5524 = "" A5525 = "" A5526 = "" A5527 = "" A5528 = "" A5529 = "" A5530 = "" 
-A5531 = "" A5532 = "" A5533 = "" A5534 = "" A5535 = "" A5536 = "" A5537 = "" A5538 = "" A5539 = "" A5540 = "" 
-A5541 = "" A5542 = "" A5543 = "" A5544 = "" A5545 = "" A5546 = "" A5547 = "" A5548 = "" A5549 = "" A5550 = "" 
-A5551 = "" A5552 = "" A5553 = "" A5554 = "" A5555 = "" A5556 = "" A5557 = "" A5558 = "" A5559 = "" A5560 = "" 
-A5561 = "" A5562 = "" A5563 = "" A5564 = "" A5565 = "" A5566 = "" A5567 = "" A5568 = "" A5569 = "" A5570 = "" 
-A5571 = "" A5572 = "" A5573 = "" A5574 = "" A5575 = "" A5576 = "" A5577 = "" A5578 = "" A5579 = "" A5580 = "" 
-A5581 = "" A5582 = "" A5583 = "" A5584 = "" A5585 = "" A5586 = "" A5587 = "" A5588 = "" A5589 = "" A5590 = "" 
-A5591 = "" A5592 = "" A5593 = "" A5594 = "" A5595 = "" A5596 = "" A5597 = "" A5598 = "" A5599 = "" A5600 = "" 
-A5601 = "" A5602 = "" A5603 = "" A5604 = "" A5605 = "" A5606 = "" A5607 = "" A5608 = "" A5609 = "" A5610 = "" 
-A5611 = "" A5612 = "" A5613 = "" A5614 = "" A5615 = "" A5616 = "" A5617 = "" A5618 = "" A5619 = "" A5620 = "" 
-A5621 = "" A5622 = "" A5623 = "" A5624 = "" A5625 = "" A5626 = "" A5627 = "" A5628 = "" A5629 = "" A5630 = "" 
-A5631 = "" A5632 = "" A5633 = "" A5634 = "" A5635 = "" A5636 = "" A5637 = "" A5638 = "" A5639 = "" A5640 = "" 
-A5641 = "" A5642 = "" A5643 = "" A5644 = "" A5645 = "" A5646 = "" A5647 = "" A5648 = "" A5649 = "" A5650 = "" 
-A5651 = "" A5652 = "" A5653 = "" A5654 = "" A5655 = "" A5656 = "" A5657 = "" A5658 = "" A5659 = "" A5660 = "" 
-A5661 = "" A5662 = "" A5663 = "" A5664 = "" A5665 = "" A5666 = "" A5667 = "" A5668 = "" A5669 = "" A5670 = "" 
-A5671 = "" A5672 = "" A5673 = "" A5674 = "" A5675 = "" A5676 = "" A5677 = "" A5678 = "" A5679 = "" A5680 = "" 
-A5681 = "" A5682 = "" A5683 = "" A5684 = "" A5685 = "" A5686 = "" A5687 = "" A5688 = "" A5689 = "" A5690 = "" 
-A5691 = "" A5692 = "" A5693 = "" A5694 = "" A5695 = "" A5696 = "" A5697 = "" A5698 = "" A5699 = "" A5700 = "" 
-A5701 = "" A5702 = "" A5703 = "" A5704 = "" A5705 = "" A5706 = "" A5707 = "" A5708 = "" A5709 = "" A5710 = "" 
-A5711 = "" A5712 = "" A5713 = "" A5714 = "" A5715 = "" A5716 = "" A5717 = "" A5718 = "" A5719 = "" A5720 = "" 
-A5721 = "" A5722 = "" A5723 = "" A5724 = "" A5725 = "" A5726 = "" A5727 = "" A5728 = "" A5729 = "" A5730 = "" 
-A5731 = "" A5732 = "" A5733 = "" A5734 = "" A5735 = "" A5736 = "" A5737 = "" A5738 = "" A5739 = "" A5740 = "" 
-A5741 = "" A5742 = "" A5743 = "" A5744 = "" A5745 = "" A5746 = "" A5747 = "" A5748 = "" A5749 = "" A5750 = "" 
-A5751 = "" A5752 = "" A5753 = "" A5754 = "" A5755 = "" A5756 = "" A5757 = "" A5758 = "" A5759 = "" A5760 = "" 
-A5761 = "" A5762 = "" A5763 = "" A5764 = "" A5765 = "" A5766 = "" A5767 = "" A5768 = "" A5769 = "" A5770 = "" 
-A5771 = "" A5772 = "" A5773 = "" A5774 = "" A5775 = "" A5776 = "" A5777 = "" A5778 = "" A5779 = "" A5780 = "" 
-A5781 = "" A5782 = "" A5783 = "" A5784 = "" A5785 = "" A5786 = "" A5787 = "" A5788 = "" A5789 = "" A5790 = "" 
-A5791 = "" A5792 = "" A5793 = "" A5794 = "" A5795 = "" A5796 = "" A5797 = "" A5798 = "" A5799 = "" A5800 = "" 
-A5801 = "" A5802 = "" A5803 = "" A5804 = "" A5805 = "" A5806 = "" A5807 = "" A5808 = "" A5809 = "" A5810 = "" 
-A5811 = "" A5812 = "" A5813 = "" A5814 = "" A5815 = "" A5816 = "" A5817 = "" A5818 = "" A5819 = "" A5820 = "" 
-A5821 = "" A5822 = "" A5823 = "" A5824 = "" A5825 = "" A5826 = "" A5827 = "" A5828 = "" A5829 = "" A5830 = "" 
-A5831 = "" A5832 = "" A5833 = "" A5834 = "" A5835 = "" A5836 = "" A5837 = "" A5838 = "" A5839 = "" A5840 = "" 
-A5841 = "" A5842 = "" A5843 = "" A5844 = "" A5845 = "" A5846 = "" A5847 = "" A5848 = "" A5849 = "" A5850 = "" 
-A5851 = "" A5852 = "" A5853 = "" A5854 = "" A5855 = "" A5856 = "" A5857 = "" A5858 = "" A5859 = "" A5860 = "" 
-A5861 = "" A5862 = "" A5863 = "" A5864 = "" A5865 = "" A5866 = "" A5867 = "" A5868 = "" A5869 = "" A5870 = "" 
-A5871 = "" A5872 = "" A5873 = "" A5874 = "" A5875 = "" A5876 = "" A5877 = "" A5878 = "" A5879 = "" A5880 = "" 
-A5881 = "" A5882 = "" A5883 = "" A5884 = "" A5885 = "" A5886 = "" A5887 = "" A5888 = "" A5889 = "" A5890 = "" 
-A5891 = "" A5892 = "" A5893 = "" A5894 = "" A5895 = "" A5896 = "" A5897 = "" A5898 = "" A5899 = "" A5900 = "" 
-A5901 = "" A5902 = "" A5903 = "" A5904 = "" A5905 = "" A5906 = "" A5907 = "" A5908 = "" A5909 = "" A5910 = "" 
-A5911 = "" A5912 = "" A5913 = "" A5914 = "" A5915 = "" A5916 = "" A5917 = "" A5918 = "" A5919 = "" A5920 = "" 
-A5921 = "" A5922 = "" A5923 = "" A5924 = "" A5925 = "" A5926 = "" A5927 = "" A5928 = "" A5929 = "" A5930 = "" 
-A5931 = "" A5932 = "" A5933 = "" A5934 = "" A5935 = "" A5936 = "" A5937 = "" A5938 = "" A5939 = "" A5940 = "" 
-A5941 = "" A5942 = "" A5943 = "" A5944 = "" A5945 = "" A5946 = "" A5947 = "" A5948 = "" A5949 = "" A5950 = "" 
-A5951 = "" A5952 = "" A5953 = "" A5954 = "" A5955 = "" A5956 = "" A5957 = "" A5958 = "" A5959 = "" A5960 = "" 
-A5961 = "" A5962 = "" A5963 = "" A5964 = "" A5965 = "" A5966 = "" A5967 = "" A5968 = "" A5969 = "" A5970 = "" 
-A5971 = "" A5972 = "" A5973 = "" A5974 = "" A5975 = "" A5976 = "" A5977 = "" A5978 = "" A5979 = "" A5980 = "" 
-A5981 = "" A5982 = "" A5983 = "" A5984 = "" A5985 = "" A5986 = "" A5987 = "" A5988 = "" A5989 = "" A5990 = "" 
-A5991 = "" A5992 = "" A5993 = "" A5994 = "" A5995 = "" A5996 = "" A5997 = "" A5998 = "" A5999 = "" A6000 = "" 
-A6001 = "" A6002 = "" A6003 = "" A6004 = "" A6005 = "" A6006 = "" A6007 = "" A6008 = "" A6009 = "" A6010 = "" 
-A6011 = "" A6012 = "" A6013 = "" A6014 = "" A6015 = "" A6016 = "" A6017 = "" A6018 = "" A6019 = "" A6020 = "" 
-A6021 = "" A6022 = "" A6023 = "" A6024 = "" A6025 = "" A6026 = "" A6027 = "" A6028 = "" A6029 = "" A6030 = "" 
-A6031 = "" A6032 = "" A6033 = "" A6034 = "" A6035 = "" A6036 = "" A6037 = "" A6038 = "" A6039 = "" A6040 = "" 
-A6041 = "" A6042 = "" A6043 = "" A6044 = "" A6045 = "" A6046 = "" A6047 = "" A6048 = "" A6049 = "" A6050 = "" 
-A6051 = "" A6052 = "" A6053 = "" A6054 = "" A6055 = "" A6056 = "" A6057 = "" A6058 = "" A6059 = "" A6060 = "" 
-A6061 = "" A6062 = "" A6063 = "" A6064 = "" A6065 = "" A6066 = "" A6067 = "" A6068 = "" A6069 = "" A6070 = "" 
-A6071 = "" A6072 = "" A6073 = "" A6074 = "" A6075 = "" A6076 = "" A6077 = "" A6078 = "" A6079 = "" A6080 = "" 
-A6081 = "" A6082 = "" A6083 = "" A6084 = "" A6085 = "" A6086 = "" A6087 = "" A6088 = "" A6089 = "" A6090 = "" 
-A6091 = "" A6092 = "" A6093 = "" A6094 = "" A6095 = "" A6096 = "" A6097 = "" A6098 = "" A6099 = "" A6100 = "" 
-A6101 = "" A6102 = "" A6103 = "" A6104 = "" A6105 = "" A6106 = "" A6107 = "" A6108 = "" A6109 = "" A6110 = "" 
-A6111 = "" A6112 = "" A6113 = "" A6114 = "" A6115 = "" A6116 = "" A6117 = "" A6118 = "" A6119 = "" A6120 = "" 
-A6121 = "" A6122 = "" A6123 = "" A6124 = "" A6125 = "" A6126 = "" A6127 = "" A6128 = "" A6129 = "" A6130 = "" 
-A6131 = "" A6132 = "" A6133 = "" A6134 = "" A6135 = "" A6136 = "" A6137 = "" A6138 = "" A6139 = "" A6140 = "" 
-A6141 = "" A6142 = "" A6143 = "" A6144 = "" A6145 = "" A6146 = "" A6147 = "" A6148 = "" A6149 = "" A6150 = "" 
-A6151 = "" A6152 = "" A6153 = "" A6154 = "" A6155 = "" A6156 = "" A6157 = "" A6158 = "" A6159 = "" A6160 = "" 
-A6161 = "" A6162 = "" A6163 = "" A6164 = "" A6165 = "" A6166 = "" A6167 = "" A6168 = "" A6169 = "" A6170 = "" 
-A6171 = "" A6172 = "" A6173 = "" A6174 = "" A6175 = "" A6176 = "" A6177 = "" A6178 = "" A6179 = "" A6180 = "" 
-A6181 = "" A6182 = "" A6183 = "" A6184 = "" A6185 = "" A6186 = "" A6187 = "" A6188 = "" A6189 = "" A6190 = "" 
-A6191 = "" A6192 = "" A6193 = "" A6194 = "" A6195 = "" A6196 = "" A6197 = "" A6198 = "" A6199 = "" A6200 = "" 
-A6201 = "" A6202 = "" A6203 = "" A6204 = "" A6205 = "" A6206 = "" A6207 = "" A6208 = "" A6209 = "" A6210 = "" 
-A6211 = "" A6212 = "" A6213 = "" A6214 = "" A6215 = "" A6216 = "" A6217 = "" A6218 = "" A6219 = "" A6220 = "" 
-A6221 = "" A6222 = "" A6223 = "" A6224 = "" A6225 = "" A6226 = "" A6227 = "" A6228 = "" A6229 = "" A6230 = "" 
-A6231 = "" A6232 = "" A6233 = "" A6234 = "" A6235 = "" A6236 = "" A6237 = "" A6238 = "" A6239 = "" A6240 = "" 
-A6241 = "" A6242 = "" A6243 = "" A6244 = "" A6245 = "" A6246 = "" A6247 = "" A6248 = "" A6249 = "" A6250 = "" 
-A6251 = "" A6252 = "" A6253 = "" A6254 = "" A6255 = "" A6256 = "" A6257 = "" A6258 = "" A6259 = "" A6260 = "" 
-A6261 = "" A6262 = "" A6263 = "" A6264 = "" A6265 = "" A6266 = "" A6267 = "" A6268 = "" A6269 = "" A6270 = "" 
-A6271 = "" A6272 = "" A6273 = "" A6274 = "" A6275 = "" A6276 = "" A6277 = "" A6278 = "" A6279 = "" A6280 = "" 
-A6281 = "" A6282 = "" A6283 = "" A6284 = "" A6285 = "" A6286 = "" A6287 = "" A6288 = "" A6289 = "" A6290 = "" 
-A6291 = "" A6292 = "" A6293 = "" A6294 = "" A6295 = "" A6296 = "" A6297 = "" A6298 = "" A6299 = "" A6300 = "" 
-A6301 = "" A6302 = "" A6303 = "" A6304 = "" A6305 = "" A6306 = "" A6307 = "" A6308 = "" A6309 = "" A6310 = "" 
-A6311 = "" A6312 = "" A6313 = "" A6314 = "" A6315 = "" A6316 = "" A6317 = "" A6318 = "" A6319 = "" A6320 = "" 
-A6321 = "" A6322 = "" A6323 = "" A6324 = "" A6325 = "" A6326 = "" A6327 = "" A6328 = "" A6329 = "" A6330 = "" 
-A6331 = "" A6332 = "" A6333 = "" A6334 = "" A6335 = "" A6336 = "" A6337 = "" A6338 = "" A6339 = "" A6340 = "" 
-A6341 = "" A6342 = "" A6343 = "" A6344 = "" A6345 = "" A6346 = "" A6347 = "" A6348 = "" A6349 = "" A6350 = "" 
-A6351 = "" A6352 = "" A6353 = "" A6354 = "" A6355 = "" A6356 = "" A6357 = "" A6358 = "" A6359 = "" A6360 = "" 
-A6361 = "" A6362 = "" A6363 = "" A6364 = "" A6365 = "" A6366 = "" A6367 = "" A6368 = "" A6369 = "" A6370 = "" 
-A6371 = "" A6372 = "" A6373 = "" A6374 = "" A6375 = "" A6376 = "" A6377 = "" A6378 = "" A6379 = "" A6380 = "" 
-A6381 = "" A6382 = "" A6383 = "" A6384 = "" A6385 = "" A6386 = "" A6387 = "" A6388 = "" A6389 = "" A6390 = "" 
-A6391 = "" A6392 = "" A6393 = "" A6394 = "" A6395 = "" A6396 = "" A6397 = "" A6398 = "" A6399 = "" A6400 = "" 
-A6401 = "" A6402 = "" A6403 = "" A6404 = "" A6405 = "" A6406 = "" A6407 = "" A6408 = "" A6409 = "" A6410 = "" 
-A6411 = "" A6412 = "" A6413 = "" A6414 = "" A6415 = "" A6416 = "" A6417 = "" A6418 = "" A6419 = "" A6420 = "" 
-A6421 = "" A6422 = "" A6423 = "" A6424 = "" A6425 = "" A6426 = "" A6427 = "" A6428 = "" A6429 = "" A6430 = "" 
-A6431 = "" A6432 = "" A6433 = "" A6434 = "" A6435 = "" A6436 = "" A6437 = "" A6438 = "" A6439 = "" A6440 = "" 
-A6441 = "" A6442 = "" A6443 = "" A6444 = "" A6445 = "" A6446 = "" A6447 = "" A6448 = "" A6449 = "" A6450 = "" 
-A6451 = "" A6452 = "" A6453 = "" A6454 = "" A6455 = "" A6456 = "" A6457 = "" A6458 = "" A6459 = "" A6460 = "" 
-A6461 = "" A6462 = "" A6463 = "" A6464 = "" A6465 = "" A6466 = "" A6467 = "" A6468 = "" A6469 = "" A6470 = "" 
-A6471 = "" A6472 = "" A6473 = "" A6474 = "" A6475 = "" A6476 = "" A6477 = "" A6478 = "" A6479 = "" A6480 = "" 
-A6481 = "" A6482 = "" A6483 = "" A6484 = "" A6485 = "" A6486 = "" A6487 = "" A6488 = "" A6489 = "" A6490 = "" 
-A6491 = "" A6492 = "" A6493 = "" A6494 = "" A6495 = "" A6496 = "" A6497 = "" A6498 = "" A6499 = "" A6500 = "" 
-A6501 = "" A6502 = "" A6503 = "" A6504 = "" A6505 = "" A6506 = "" A6507 = "" A6508 = "" A6509 = "" A6510 = "" 
-A6511 = "" A6512 = "" A6513 = "" A6514 = "" A6515 = "" A6516 = "" A6517 = "" A6518 = "" A6519 = "" A6520 = "" 
-A6521 = "" A6522 = "" A6523 = "" A6524 = "" A6525 = "" A6526 = "" A6527 = "" A6528 = "" A6529 = "" A6530 = "" 
-A6531 = "" A6532 = "" A6533 = "" A6534 = "" A6535 = "" A6536 = "" A6537 = "" A6538 = "" A6539 = "" A6540 = "" 
-A6541 = "" A6542 = "" A6543 = "" A6544 = "" A6545 = "" A6546 = "" A6547 = "" A6548 = "" A6549 = "" A6550 = "" 
-A6551 = "" A6552 = "" A6553 = "" A6554 = "" A6555 = "" A6556 = "" A6557 = "" A6558 = "" A6559 = "" A6560 = "" 
-A6561 = "" A6562 = "" A6563 = "" A6564 = "" A6565 = "" A6566 = "" A6567 = "" A6568 = "" A6569 = "" A6570 = "" 
-A6571 = "" A6572 = "" A6573 = "" A6574 = "" A6575 = "" A6576 = "" A6577 = "" A6578 = "" A6579 = "" A6580 = "" 
-A6581 = "" A6582 = "" A6583 = "" A6584 = "" A6585 = "" A6586 = "" A6587 = "" A6588 = "" A6589 = "" A6590 = "" 
-A6591 = "" A6592 = "" A6593 = "" A6594 = "" A6595 = "" A6596 = "" A6597 = "" A6598 = "" A6599 = "" A6600 = "" 
-A6601 = "" A6602 = "" A6603 = "" A6604 = "" A6605 = "" A6606 = "" A6607 = "" A6608 = "" A6609 = "" A6610 = "" 
-A6611 = "" A6612 = "" A6613 = "" A6614 = "" A6615 = "" A6616 = "" A6617 = "" A6618 = "" A6619 = "" A6620 = "" 
-A6621 = "" A6622 = "" A6623 = "" A6624 = "" A6625 = "" A6626 = "" A6627 = "" A6628 = "" A6629 = "" A6630 = "" 
-A6631 = "" A6632 = "" A6633 = "" A6634 = "" A6635 = "" A6636 = "" A6637 = "" A6638 = "" A6639 = "" A6640 = "" 
-A6641 = "" A6642 = "" A6643 = "" A6644 = "" A6645 = "" A6646 = "" A6647 = "" A6648 = "" A6649 = "" A6650 = "" 
-A6651 = "" A6652 = "" A6653 = "" A6654 = "" A6655 = "" A6656 = "" A6657 = "" A6658 = "" A6659 = "" A6660 = "" 
-A6661 = "" A6662 = "" A6663 = "" A6664 = "" A6665 = "" A6666 = "" A6667 = "" A6668 = "" A6669 = "" A6670 = "" 
-A6671 = "" A6672 = "" A6673 = "" A6674 = "" A6675 = "" A6676 = "" A6677 = "" A6678 = "" A6679 = "" A6680 = "" 
-A6681 = "" A6682 = "" A6683 = "" A6684 = "" A6685 = "" A6686 = "" A6687 = "" A6688 = "" A6689 = "" A6690 = "" 
-A6691 = "" A6692 = "" A6693 = "" A6694 = "" A6695 = "" A6696 = "" A6697 = "" A6698 = "" A6699 = "" A6700 = "" 
-A6701 = "" A6702 = "" A6703 = "" A6704 = "" A6705 = "" A6706 = "" A6707 = "" A6708 = "" A6709 = "" A6710 = "" 
-A6711 = "" A6712 = "" A6713 = "" A6714 = "" A6715 = "" A6716 = "" A6717 = "" A6718 = "" A6719 = "" A6720 = "" 
-A6721 = "" A6722 = "" A6723 = "" A6724 = "" A6725 = "" A6726 = "" A6727 = "" A6728 = "" A6729 = "" A6730 = "" 
-A6731 = "" A6732 = "" A6733 = "" A6734 = "" A6735 = "" A6736 = "" A6737 = "" A6738 = "" A6739 = "" A6740 = "" 
-A6741 = "" A6742 = "" A6743 = "" A6744 = "" A6745 = "" A6746 = "" A6747 = "" A6748 = "" A6749 = "" A6750 = "" 
-A6751 = "" A6752 = "" A6753 = "" A6754 = "" A6755 = "" A6756 = "" A6757 = "" A6758 = "" A6759 = "" A6760 = "" 
-A6761 = "" A6762 = "" A6763 = "" A6764 = "" A6765 = "" A6766 = "" A6767 = "" A6768 = "" A6769 = "" A6770 = "" 
-A6771 = "" A6772 = "" A6773 = "" A6774 = "" A6775 = "" A6776 = "" A6777 = "" A6778 = "" A6779 = "" A6780 = "" 
-A6781 = "" A6782 = "" A6783 = "" A6784 = "" A6785 = "" A6786 = "" A6787 = "" A6788 = "" A6789 = "" A6790 = "" 
-A6791 = "" A6792 = "" A6793 = "" A6794 = "" A6795 = "" A6796 = "" A6797 = "" A6798 = "" A6799 = "" A6800 = "" 
-A6801 = "" A6802 = "" A6803 = "" A6804 = "" A6805 = "" A6806 = "" A6807 = "" A6808 = "" A6809 = "" A6810 = "" 
-A6811 = "" A6812 = "" A6813 = "" A6814 = "" A6815 = "" A6816 = "" A6817 = "" A6818 = "" A6819 = "" A6820 = "" 
-A6821 = "" A6822 = "" A6823 = "" A6824 = "" A6825 = "" A6826 = "" A6827 = "" A6828 = "" A6829 = "" A6830 = "" 
-A6831 = "" A6832 = "" A6833 = "" A6834 = "" A6835 = "" A6836 = "" A6837 = "" A6838 = "" A6839 = "" A6840 = "" 
-A6841 = "" A6842 = "" A6843 = "" A6844 = "" A6845 = "" A6846 = "" A6847 = "" A6848 = "" A6849 = "" A6850 = "" 
-A6851 = "" A6852 = "" A6853 = "" A6854 = "" A6855 = "" A6856 = "" A6857 = "" A6858 = "" A6859 = "" A6860 = "" 
-A6861 = "" A6862 = "" A6863 = "" A6864 = "" A6865 = "" A6866 = "" A6867 = "" A6868 = "" A6869 = "" A6870 = "" 
-A6871 = "" A6872 = "" A6873 = "" A6874 = "" A6875 = "" A6876 = "" A6877 = "" A6878 = "" A6879 = "" A6880 = "" 
-A6881 = "" A6882 = "" A6883 = "" A6884 = "" A6885 = "" A6886 = "" A6887 = "" A6888 = "" A6889 = "" A6890 = "" 
-A6891 = "" A6892 = "" A6893 = "" A6894 = "" A6895 = "" A6896 = "" A6897 = "" A6898 = "" A6899 = "" A6900 = "" 
-A6901 = "" A6902 = "" A6903 = "" A6904 = "" A6905 = "" A6906 = "" A6907 = "" A6908 = "" A6909 = "" A6910 = "" 
-A6911 = "" A6912 = "" A6913 = "" A6914 = "" A6915 = "" A6916 = "" A6917 = "" A6918 = "" A6919 = "" A6920 = "" 
-A6921 = "" A6922 = "" A6923 = "" A6924 = "" A6925 = "" A6926 = "" A6927 = "" A6928 = "" A6929 = "" A6930 = "" 
-A6931 = "" A6932 = "" A6933 = "" A6934 = "" A6935 = "" A6936 = "" A6937 = "" A6938 = "" A6939 = "" A6940 = "" 
-A6941 = "" A6942 = "" A6943 = "" A6944 = "" A6945 = "" A6946 = "" A6947 = "" A6948 = "" A6949 = "" A6950 = "" 
-A6951 = "" A6952 = "" A6953 = "" A6954 = "" A6955 = "" A6956 = "" A6957 = "" A6958 = "" A6959 = "" A6960 = "" 
-A6961 = "" A6962 = "" A6963 = "" A6964 = "" A6965 = "" A6966 = "" A6967 = "" A6968 = "" A6969 = "" A6970 = "" 
-A6971 = "" A6972 = "" A6973 = "" A6974 = "" A6975 = "" A6976 = "" A6977 = "" A6978 = "" A6979 = "" A6980 = "" 
-A6981 = "" A6982 = "" A6983 = "" A6984 = "" A6985 = "" A6986 = "" A6987 = "" A6988 = "" A6989 = "" A6990 = "" 
-A6991 = "" A6992 = "" A6993 = "" A6994 = "" A6995 = "" A6996 = "" A6997 = "" A6998 = "" A6999 = "" A7000 = "" 
-A7001 = "" A7002 = "" A7003 = "" A7004 = "" A7005 = "" A7006 = "" A7007 = "" A7008 = "" A7009 = "" A7010 = "" 
-A7011 = "" A7012 = "" A7013 = "" A7014 = "" A7015 = "" A7016 = "" A7017 = "" A7018 = "" A7019 = "" A7020 = "" 
-A7021 = "" A7022 = "" A7023 = "" A7024 = "" A7025 = "" A7026 = "" A7027 = "" A7028 = "" A7029 = "" A7030 = "" 
-A7031 = "" A7032 = "" A7033 = "" A7034 = "" A7035 = "" A7036 = "" A7037 = "" A7038 = "" A7039 = "" A7040 = "" 
-A7041 = "" A7042 = "" A7043 = "" A7044 = "" A7045 = "" A7046 = "" A7047 = "" A7048 = "" A7049 = "" A7050 = "" 
-A7051 = "" A7052 = "" A7053 = "" A7054 = "" A7055 = "" A7056 = "" A7057 = "" A7058 = "" A7059 = "" A7060 = "" 
-A7061 = "" A7062 = "" A7063 = "" A7064 = "" A7065 = "" A7066 = "" A7067 = "" A7068 = "" A7069 = "" A7070 = "" 
-A7071 = "" A7072 = "" A7073 = "" A7074 = "" A7075 = "" A7076 = "" A7077 = "" A7078 = "" A7079 = "" A7080 = "" 
-A7081 = "" A7082 = "" A7083 = "" A7084 = "" A7085 = "" A7086 = "" A7087 = "" A7088 = "" A7089 = "" A7090 = "" 
-A7091 = "" A7092 = "" A7093 = "" A7094 = "" A7095 = "" A7096 = "" A7097 = "" A7098 = "" A7099 = "" A7100 = "" 
-A7101 = "" A7102 = "" A7103 = "" A7104 = "" A7105 = "" A7106 = "" A7107 = "" A7108 = "" A7109 = "" A7110 = "" 
-A7111 = "" A7112 = "" A7113 = "" A7114 = "" A7115 = "" A7116 = "" A7117 = "" A7118 = "" A7119 = "" A7120 = "" 
-A7121 = "" A7122 = "" A7123 = "" A7124 = "" A7125 = "" A7126 = "" A7127 = "" A7128 = "" A7129 = "" A7130 = "" 
-A7131 = "" A7132 = "" A7133 = "" A7134 = "" A7135 = "" A7136 = "" A7137 = "" A7138 = "" A7139 = "" A7140 = "" 
-A7141 = "" A7142 = "" A7143 = "" A7144 = "" A7145 = "" A7146 = "" A7147 = "" A7148 = "" A7149 = "" A7150 = "" 
-A7151 = "" A7152 = "" A7153 = "" A7154 = "" A7155 = "" A7156 = "" A7157 = "" A7158 = "" A7159 = "" A7160 = "" 
-A7161 = "" A7162 = "" A7163 = "" A7164 = "" A7165 = "" A7166 = "" A7167 = "" A7168 = "" A7169 = "" A7170 = "" 
-A7171 = "" A7172 = "" A7173 = "" A7174 = "" A7175 = "" A7176 = "" A7177 = "" A7178 = "" A7179 = "" A7180 = "" 
-A7181 = "" A7182 = "" A7183 = "" A7184 = "" A7185 = "" A7186 = "" A7187 = "" A7188 = "" A7189 = "" A7190 = "" 
-A7191 = "" A7192 = "" A7193 = "" A7194 = "" A7195 = "" A7196 = "" A7197 = "" A7198 = "" A7199 = "" A7200 = "" 
-A7201 = "" A7202 = "" A7203 = "" A7204 = "" A7205 = "" A7206 = "" A7207 = "" A7208 = "" A7209 = "" A7210 = "" 
-A7211 = "" A7212 = "" A7213 = "" A7214 = "" A7215 = "" A7216 = "" A7217 = "" A7218 = "" A7219 = "" A7220 = "" 
-A7221 = "" A7222 = "" A7223 = "" A7224 = "" A7225 = "" A7226 = "" A7227 = "" A7228 = "" A7229 = "" A7230 = "" 
-A7231 = "" A7232 = "" A7233 = "" A7234 = "" A7235 = "" A7236 = "" A7237 = "" A7238 = "" A7239 = "" A7240 = "" 
-A7241 = "" A7242 = "" A7243 = "" A7244 = "" A7245 = "" A7246 = "" A7247 = "" A7248 = "" A7249 = "" A7250 = "" 
-A7251 = "" A7252 = "" A7253 = "" A7254 = "" A7255 = "" A7256 = "" A7257 = "" A7258 = "" A7259 = "" A7260 = "" 
-A7261 = "" A7262 = "" A7263 = "" A7264 = "" A7265 = "" A7266 = "" A7267 = "" A7268 = "" A7269 = "" A7270 = "" 
-A7271 = "" A7272 = "" A7273 = "" A7274 = "" A7275 = "" A7276 = "" A7277 = "" A7278 = "" A7279 = "" A7280 = "" 
-A7281 = "" A7282 = "" A7283 = "" A7284 = "" A7285 = "" A7286 = "" A7287 = "" A7288 = "" A7289 = "" A7290 = "" 
-A7291 = "" A7292 = "" A7293 = "" A7294 = "" A7295 = "" A7296 = "" A7297 = "" A7298 = "" A7299 = "" A7300 = "" 
-A7301 = "" A7302 = "" A7303 = "" A7304 = "" A7305 = "" A7306 = "" A7307 = "" A7308 = "" A7309 = "" A7310 = "" 
-A7311 = "" A7312 = "" A7313 = "" A7314 = "" A7315 = "" A7316 = "" A7317 = "" A7318 = "" A7319 = "" A7320 = "" 
-A7321 = "" A7322 = "" A7323 = "" A7324 = "" A7325 = "" A7326 = "" A7327 = "" A7328 = "" A7329 = "" A7330 = "" 
-A7331 = "" A7332 = "" A7333 = "" A7334 = "" A7335 = "" A7336 = "" A7337 = "" A7338 = "" A7339 = "" A7340 = "" 
-A7341 = "" A7342 = "" A7343 = "" A7344 = "" A7345 = "" A7346 = "" A7347 = "" A7348 = "" A7349 = "" A7350 = "" 
-A7351 = "" A7352 = "" A7353 = "" A7354 = "" A7355 = "" A7356 = "" A7357 = "" A7358 = "" A7359 = "" A7360 = "" 
-A7361 = "" A7362 = "" A7363 = "" A7364 = "" A7365 = "" A7366 = "" A7367 = "" A7368 = "" A7369 = "" A7370 = "" 
-A7371 = "" A7372 = "" A7373 = "" A7374 = "" A7375 = "" A7376 = "" A7377 = "" A7378 = "" A7379 = "" A7380 = "" 
-A7381 = "" A7382 = "" A7383 = "" A7384 = "" A7385 = "" A7386 = "" A7387 = "" A7388 = "" A7389 = "" A7390 = "" 
-A7391 = "" A7392 = "" A7393 = "" A7394 = "" A7395 = "" A7396 = "" A7397 = "" A7398 = "" A7399 = "" A7400 = "" 
-A7401 = "" A7402 = "" A7403 = "" A7404 = "" A7405 = "" A7406 = "" A7407 = "" A7408 = "" A7409 = "" A7410 = "" 
-A7411 = "" A7412 = "" A7413 = "" A7414 = "" A7415 = "" A7416 = "" A7417 = "" A7418 = "" A7419 = "" A7420 = "" 
-A7421 = "" A7422 = "" A7423 = "" A7424 = "" A7425 = "" A7426 = "" A7427 = "" A7428 = "" A7429 = "" A7430 = "" 
-A7431 = "" A7432 = "" A7433 = "" A7434 = "" A7435 = "" A7436 = "" A7437 = "" A7438 = "" A7439 = "" A7440 = "" 
-A7441 = "" A7442 = "" A7443 = "" A7444 = "" A7445 = "" A7446 = "" A7447 = "" A7448 = "" A7449 = "" A7450 = "" 
-A7451 = "" A7452 = "" A7453 = "" A7454 = "" A7455 = "" A7456 = "" A7457 = "" A7458 = "" A7459 = "" A7460 = "" 
-A7461 = "" A7462 = "" A7463 = "" A7464 = "" A7465 = "" A7466 = "" A7467 = "" A7468 = "" A7469 = "" A7470 = "" 
-A7471 = "" A7472 = "" A7473 = "" A7474 = "" A7475 = "" A7476 = "" A7477 = "" A7478 = "" A7479 = "" A7480 = "" 
-A7481 = "" A7482 = "" A7483 = "" A7484 = "" A7485 = "" A7486 = "" A7487 = "" A7488 = "" A7489 = "" A7490 = "" 
-A7491 = "" A7492 = "" A7493 = "" A7494 = "" A7495 = "" A7496 = "" A7497 = "" A7498 = "" A7499 = "" A7500 = "" 
-A7501 = "" A7502 = "" A7503 = "" A7504 = "" A7505 = "" A7506 = "" A7507 = "" A7508 = "" A7509 = "" A7510 = "" 
-A7511 = "" A7512 = "" A7513 = "" A7514 = "" A7515 = "" A7516 = "" A7517 = "" A7518 = "" A7519 = "" A7520 = "" 
-A7521 = "" A7522 = "" A7523 = "" A7524 = "" A7525 = "" A7526 = "" A7527 = "" A7528 = "" A7529 = "" A7530 = "" 
-A7531 = "" A7532 = "" A7533 = "" A7534 = "" A7535 = "" A7536 = "" A7537 = "" A7538 = "" A7539 = "" A7540 = "" 
-A7541 = "" A7542 = "" A7543 = "" A7544 = "" A7545 = "" A7546 = "" A7547 = "" A7548 = "" A7549 = "" A7550 = "" 
-A7551 = "" A7552 = "" A7553 = "" A7554 = "" A7555 = "" A7556 = "" A7557 = "" A7558 = "" A7559 = "" A7560 = "" 
-A7561 = "" A7562 = "" A7563 = "" A7564 = "" A7565 = "" A7566 = "" A7567 = "" A7568 = "" A7569 = "" A7570 = "" 
-A7571 = "" A7572 = "" A7573 = "" A7574 = "" A7575 = "" A7576 = "" A7577 = "" A7578 = "" A7579 = "" A7580 = "" 
-A7581 = "" A7582 = "" A7583 = "" A7584 = "" A7585 = "" A7586 = "" A7587 = "" A7588 = "" A7589 = "" A7590 = "" 
-A7591 = "" A7592 = "" A7593 = "" A7594 = "" A7595 = "" A7596 = "" A7597 = "" A7598 = "" A7599 = "" A7600 = "" 
-A7601 = "" A7602 = "" A7603 = "" A7604 = "" A7605 = "" A7606 = "" A7607 = "" A7608 = "" A7609 = "" A7610 = "" 
-A7611 = "" A7612 = "" A7613 = "" A7614 = "" A7615 = "" A7616 = "" A7617 = "" A7618 = "" A7619 = "" A7620 = "" 
-A7621 = "" A7622 = "" A7623 = "" A7624 = "" A7625 = "" A7626 = "" A7627 = "" A7628 = "" A7629 = "" A7630 = "" 
-A7631 = "" A7632 = "" A7633 = "" A7634 = "" A7635 = "" A7636 = "" A7637 = "" A7638 = "" A7639 = "" A7640 = "" 
-A7641 = "" A7642 = "" A7643 = "" A7644 = "" A7645 = "" A7646 = "" A7647 = "" A7648 = "" A7649 = "" A7650 = "" 
-A7651 = "" A7652 = "" A7653 = "" A7654 = "" A7655 = "" A7656 = "" A7657 = "" A7658 = "" A7659 = "" A7660 = "" 
-A7661 = "" A7662 = "" A7663 = "" A7664 = "" A7665 = "" A7666 = "" A7667 = "" A7668 = "" A7669 = "" A7670 = "" 
-A7671 = "" A7672 = "" A7673 = "" A7674 = "" A7675 = "" A7676 = "" A7677 = "" A7678 = "" A7679 = "" A7680 = "" 
-A7681 = "" A7682 = "" A7683 = "" A7684 = "" A7685 = "" A7686 = "" A7687 = "" A7688 = "" A7689 = "" A7690 = "" 
-A7691 = "" A7692 = "" A7693 = "" A7694 = "" A7695 = "" A7696 = "" A7697 = "" A7698 = "" A7699 = "" A7700 = "" 
-A7701 = "" A7702 = "" A7703 = "" A7704 = "" A7705 = "" A7706 = "" A7707 = "" A7708 = "" A7709 = "" A7710 = "" 
-A7711 = "" A7712 = "" A7713 = "" A7714 = "" A7715 = "" A7716 = "" A7717 = "" A7718 = "" A7719 = "" A7720 = "" 
-A7721 = "" A7722 = "" A7723 = "" A7724 = "" A7725 = "" A7726 = "" A7727 = "" A7728 = "" A7729 = "" A7730 = "" 
-A7731 = "" A7732 = "" A7733 = "" A7734 = "" A7735 = "" A7736 = "" A7737 = "" A7738 = "" A7739 = "" A7740 = "" 
-A7741 = "" A7742 = "" A7743 = "" A7744 = "" A7745 = "" A7746 = "" A7747 = "" A7748 = "" A7749 = "" A7750 = "" 
-A7751 = "" A7752 = "" A7753 = "" A7754 = "" A7755 = "" A7756 = "" A7757 = "" A7758 = "" A7759 = "" A7760 = "" 
-A7761 = "" A7762 = "" A7763 = "" A7764 = "" A7765 = "" A7766 = "" A7767 = "" A7768 = "" A7769 = "" A7770 = "" 
-A7771 = "" A7772 = "" A7773 = "" A7774 = "" A7775 = "" A7776 = "" A7777 = "" A7778 = "" A7779 = "" A7780 = "" 
-A7781 = "" A7782 = "" A7783 = "" A7784 = "" A7785 = "" A7786 = "" A7787 = "" A7788 = "" A7789 = "" A7790 = "" 
-A7791 = "" A7792 = "" A7793 = "" A7794 = "" A7795 = "" A7796 = "" A7797 = "" A7798 = "" A7799 = "" A7800 = "" 
-A7801 = "" A7802 = "" A7803 = "" A7804 = "" A7805 = "" A7806 = "" A7807 = "" A7808 = "" A7809 = "" A7810 = "" 
-A7811 = "" A7812 = "" A7813 = "" A7814 = "" A7815 = "" A7816 = "" A7817 = "" A7818 = "" A7819 = "" A7820 = "" 
-A7821 = "" A7822 = "" A7823 = "" A7824 = "" A7825 = "" A7826 = "" A7827 = "" A7828 = "" A7829 = "" A7830 = "" 
-A7831 = "" A7832 = "" A7833 = "" A7834 = "" A7835 = "" A7836 = "" A7837 = "" A7838 = "" A7839 = "" A7840 = "" 
-A7841 = "" A7842 = "" A7843 = "" A7844 = "" A7845 = "" A7846 = "" A7847 = "" A7848 = "" A7849 = "" A7850 = "" 
-A7851 = "" A7852 = "" A7853 = "" A7854 = "" A7855 = "" A7856 = "" A7857 = "" A7858 = "" A7859 = "" A7860 = "" 
-A7861 = "" A7862 = "" A7863 = "" A7864 = "" A7865 = "" A7866 = "" A7867 = "" A7868 = "" A7869 = "" A7870 = "" 
-A7871 = "" A7872 = "" A7873 = "" A7874 = "" A7875 = "" A7876 = "" A7877 = "" A7878 = "" A7879 = "" A7880 = "" 
-A7881 = "" A7882 = "" A7883 = "" A7884 = "" A7885 = "" A7886 = "" A7887 = "" A7888 = "" A7889 = "" A7890 = "" 
-A7891 = "" A7892 = "" A7893 = "" A7894 = "" A7895 = "" A7896 = "" A7897 = "" A7898 = "" A7899 = "" A7900 = "" 
-A7901 = "" A7902 = "" A7903 = "" A7904 = "" A7905 = "" A7906 = "" A7907 = "" A7908 = "" A7909 = "" A7910 = "" 
-A7911 = "" A7912 = "" A7913 = "" A7914 = "" A7915 = "" A7916 = "" A7917 = "" A7918 = "" A7919 = "" A7920 = "" 
-A7921 = "" A7922 = "" A7923 = "" A7924 = "" A7925 = "" A7926 = "" A7927 = "" A7928 = "" A7929 = "" A7930 = "" 
-A7931 = "" A7932 = "" A7933 = "" A7934 = "" A7935 = "" A7936 = "" A7937 = "" A7938 = "" A7939 = "" A7940 = "" 
-A7941 = "" A7942 = "" A7943 = "" A7944 = "" A7945 = "" A7946 = "" A7947 = "" A7948 = "" A7949 = "" A7950 = "" 
-A7951 = "" A7952 = "" A7953 = "" A7954 = "" A7955 = "" A7956 = "" A7957 = "" A7958 = "" A7959 = "" A7960 = "" 
-A7961 = "" A7962 = "" A7963 = "" A7964 = "" A7965 = "" A7966 = "" A7967 = "" A7968 = "" A7969 = "" A7970 = "" 
-A7971 = "" A7972 = "" A7973 = "" A7974 = "" A7975 = "" A7976 = "" A7977 = "" A7978 = "" A7979 = "" A7980 = "" 
-A7981 = "" A7982 = "" A7983 = "" A7984 = "" A7985 = "" A7986 = "" A7987 = "" A7988 = "" A7989 = "" A7990 = "" 
-A7991 = "" A7992 = "" A7993 = "" A7994 = "" A7995 = "" A7996 = "" A7997 = "" A7998 = "" A7999 = "" A8000 = "" 
-A8001 = "" A8002 = "" A8003 = "" A8004 = "" A8005 = "" A8006 = "" A8007 = "" A8008 = "" A8009 = "" A8010 = "" 
-A8011 = "" A8012 = "" A8013 = "" A8014 = "" A8015 = "" A8016 = "" A8017 = "" A8018 = "" A8019 = "" A8020 = "" 
-A8021 = "" A8022 = "" A8023 = "" A8024 = "" A8025 = "" A8026 = "" A8027 = "" A8028 = "" A8029 = "" A8030 = "" 
-A8031 = "" A8032 = "" A8033 = "" A8034 = "" A8035 = "" A8036 = "" A8037 = "" A8038 = "" A8039 = "" A8040 = "" 
-A8041 = "" A8042 = "" A8043 = "" A8044 = "" A8045 = "" A8046 = "" A8047 = "" A8048 = "" A8049 = "" A8050 = "" 
-A8051 = "" A8052 = "" A8053 = "" A8054 = "" A8055 = "" A8056 = "" A8057 = "" A8058 = "" A8059 = "" A8060 = "" 
-A8061 = "" A8062 = "" A8063 = "" A8064 = "" A8065 = "" A8066 = "" A8067 = "" A8068 = "" A8069 = "" A8070 = "" 
-A8071 = "" A8072 = "" A8073 = "" A8074 = "" A8075 = "" A8076 = "" A8077 = "" A8078 = "" A8079 = "" A8080 = "" 
-A8081 = "" A8082 = "" A8083 = "" A8084 = "" A8085 = "" A8086 = "" A8087 = "" A8088 = "" A8089 = "" A8090 = "" 
-A8091 = "" A8092 = "" A8093 = "" A8094 = "" A8095 = "" A8096 = "" A8097 = "" A8098 = "" A8099 = "" A8100 = "" 
-A8101 = "" A8102 = "" A8103 = "" A8104 = "" A8105 = "" A8106 = "" A8107 = "" A8108 = "" A8109 = "" A8110 = "" 
-A8111 = "" A8112 = "" A8113 = "" A8114 = "" A8115 = "" A8116 = "" A8117 = "" A8118 = "" A8119 = "" A8120 = "" 
-A8121 = "" A8122 = "" A8123 = "" A8124 = "" A8125 = "" A8126 = "" A8127 = "" A8128 = "" A8129 = "" A8130 = "" 
-A8131 = "" A8132 = "" A8133 = "" A8134 = "" A8135 = "" A8136 = "" A8137 = "" A8138 = "" A8139 = "" A8140 = "" 
-A8141 = "" A8142 = "" A8143 = "" A8144 = "" A8145 = "" A8146 = "" A8147 = "" A8148 = "" A8149 = "" A8150 = "" 
-A8151 = "" A8152 = "" A8153 = "" A8154 = "" A8155 = "" A8156 = "" A8157 = "" A8158 = "" A8159 = "" A8160 = "" 
-A8161 = "" A8162 = "" A8163 = "" A8164 = "" A8165 = "" A8166 = "" A8167 = "" A8168 = "" A8169 = "" A8170 = "" 
-A8171 = "" A8172 = "" A8173 = "" A8174 = "" A8175 = "" A8176 = "" A8177 = "" A8178 = "" A8179 = "" A8180 = "" 
-A8181 = "" A8182 = "" A8183 = "" A8184 = "" A8185 = "" A8186 = "" A8187 = "" A8188 = "" A8189 = "" A8190 = "" 
-A8191 = "" A8192 = "" A8193 = "" A8194 = "" A8195 = "" A8196 = "" A8197 = "" A8198 = "" A8199 = "" A8200 = "" 
-A8201 = "" A8202 = "" A8203 = "" A8204 = "" A8205 = "" A8206 = "" A8207 = "" A8208 = "" A8209 = "" A8210 = "" 
-A8211 = "" A8212 = "" A8213 = "" A8214 = "" A8215 = "" A8216 = "" A8217 = "" A8218 = "" A8219 = "" A8220 = "" 
-A8221 = "" A8222 = "" A8223 = "" A8224 = "" A8225 = "" A8226 = "" A8227 = "" A8228 = "" A8229 = "" A8230 = "" 
-A8231 = "" A8232 = "" A8233 = "" A8234 = "" A8235 = "" A8236 = "" A8237 = "" A8238 = "" A8239 = "" A8240 = "" 
-A8241 = "" A8242 = "" A8243 = "" A8244 = "" A8245 = "" A8246 = "" A8247 = "" A8248 = "" A8249 = "" A8250 = "" 
-A8251 = "" A8252 = "" A8253 = "" A8254 = "" A8255 = "" A8256 = "" A8257 = "" A8258 = "" A8259 = "" A8260 = "" 
-A8261 = "" A8262 = "" A8263 = "" A8264 = "" A8265 = "" A8266 = "" A8267 = "" A8268 = "" A8269 = "" A8270 = "" 
-A8271 = "" A8272 = "" A8273 = "" A8274 = "" A8275 = "" A8276 = "" A8277 = "" A8278 = "" A8279 = "" A8280 = "" 
-A8281 = "" A8282 = "" A8283 = "" A8284 = "" A8285 = "" A8286 = "" A8287 = "" A8288 = "" A8289 = "" A8290 = "" 
-A8291 = "" A8292 = "" A8293 = "" A8294 = "" A8295 = "" A8296 = "" A8297 = "" A8298 = "" A8299 = "" A8300 = "" 
-A8301 = "" A8302 = "" A8303 = "" A8304 = "" A8305 = "" A8306 = "" A8307 = "" A8308 = "" A8309 = "" A8310 = "" 
-A8311 = "" A8312 = "" A8313 = "" A8314 = "" A8315 = "" A8316 = "" A8317 = "" A8318 = "" A8319 = "" A8320 = "" 
-A8321 = "" A8322 = "" A8323 = "" A8324 = "" A8325 = "" A8326 = "" A8327 = "" A8328 = "" A8329 = "" A8330 = "" 
-A8331 = "" A8332 = "" A8333 = "" A8334 = "" A8335 = "" A8336 = "" A8337 = "" A8338 = "" A8339 = "" A8340 = "" 
-A8341 = "" A8342 = "" A8343 = "" A8344 = "" A8345 = "" A8346 = "" A8347 = "" A8348 = "" A8349 = "" A8350 = "" 
-A8351 = "" A8352 = "" A8353 = "" A8354 = "" A8355 = "" A8356 = "" A8357 = "" A8358 = "" A8359 = "" A8360 = "" 
-A8361 = "" A8362 = "" A8363 = "" A8364 = "" A8365 = "" A8366 = "" A8367 = "" A8368 = "" A8369 = "" A8370 = "" 
-A8371 = "" A8372 = "" A8373 = "" A8374 = "" A8375 = "" A8376 = "" A8377 = "" A8378 = "" A8379 = "" A8380 = "" 
-A8381 = "" A8382 = "" A8383 = "" A8384 = "" A8385 = "" A8386 = "" A8387 = "" A8388 = "" A8389 = "" A8390 = "" 
-A8391 = "" A8392 = "" A8393 = "" A8394 = "" A8395 = "" A8396 = "" A8397 = "" A8398 = "" A8399 = "" A8400 = "" 
-A8401 = "" A8402 = "" A8403 = "" A8404 = "" A8405 = "" A8406 = "" A8407 = "" A8408 = "" A8409 = "" A8410 = "" 
-A8411 = "" A8412 = "" A8413 = "" A8414 = "" A8415 = "" A8416 = "" A8417 = "" A8418 = "" A8419 = "" A8420 = "" 
-A8421 = "" A8422 = "" A8423 = "" A8424 = "" A8425 = "" A8426 = "" A8427 = "" A8428 = "" A8429 = "" A8430 = "" 
-A8431 = "" A8432 = "" A8433 = "" A8434 = "" A8435 = "" A8436 = "" A8437 = "" A8438 = "" A8439 = "" A8440 = "" 
-A8441 = "" A8442 = "" A8443 = "" A8444 = "" A8445 = "" A8446 = "" A8447 = "" A8448 = "" A8449 = "" A8450 = "" 
-A8451 = "" A8452 = "" A8453 = "" A8454 = "" A8455 = "" A8456 = "" A8457 = "" A8458 = "" A8459 = "" A8460 = "" 
-A8461 = "" A8462 = "" A8463 = "" A8464 = "" A8465 = "" A8466 = "" A8467 = "" A8468 = "" A8469 = "" A8470 = "" 
-A8471 = "" A8472 = "" A8473 = "" A8474 = "" A8475 = "" A8476 = "" A8477 = "" A8478 = "" A8479 = "" A8480 = "" 
-A8481 = "" A8482 = "" A8483 = "" A8484 = "" A8485 = "" A8486 = "" A8487 = "" A8488 = "" A8489 = "" A8490 = "" 
-A8491 = "" A8492 = "" A8493 = "" A8494 = "" A8495 = "" A8496 = "" A8497 = "" A8498 = "" A8499 = "" A8500 = "" 
-A8501 = "" A8502 = "" A8503 = "" A8504 = "" A8505 = "" A8506 = "" A8507 = "" A8508 = "" A8509 = "" A8510 = "" 
-A8511 = "" A8512 = "" A8513 = "" A8514 = "" A8515 = "" A8516 = "" A8517 = "" A8518 = "" A8519 = "" A8520 = "" 
-A8521 = "" A8522 = "" A8523 = "" A8524 = "" A8525 = "" A8526 = "" A8527 = "" A8528 = "" A8529 = "" A8530 = "" 
-A8531 = "" A8532 = "" A8533 = "" A8534 = "" A8535 = "" A8536 = "" A8537 = "" A8538 = "" A8539 = "" A8540 = "" 
-A8541 = "" A8542 = "" A8543 = "" A8544 = "" A8545 = "" A8546 = "" A8547 = "" A8548 = "" A8549 = "" A8550 = "" 
-A8551 = "" A8552 = "" A8553 = "" A8554 = "" A8555 = "" A8556 = "" A8557 = "" A8558 = "" A8559 = "" A8560 = "" 
-A8561 = "" A8562 = "" A8563 = "" A8564 = "" A8565 = "" A8566 = "" A8567 = "" A8568 = "" A8569 = "" A8570 = "" 
-A8571 = "" A8572 = "" A8573 = "" A8574 = "" A8575 = "" A8576 = "" A8577 = "" A8578 = "" A8579 = "" A8580 = "" 
-A8581 = "" A8582 = "" A8583 = "" A8584 = "" A8585 = "" A8586 = "" A8587 = "" A8588 = "" A8589 = "" A8590 = "" 
-A8591 = "" A8592 = "" A8593 = "" A8594 = "" A8595 = "" A8596 = "" A8597 = "" A8598 = "" A8599 = "" A8600 = "" 
-A8601 = "" A8602 = "" A8603 = "" A8604 = "" A8605 = "" A8606 = "" A8607 = "" A8608 = "" A8609 = "" A8610 = "" 
-A8611 = "" A8612 = "" A8613 = "" A8614 = "" A8615 = "" A8616 = "" A8617 = "" A8618 = "" A8619 = "" A8620 = "" 
-A8621 = "" A8622 = "" A8623 = "" A8624 = "" A8625 = "" A8626 = "" A8627 = "" A8628 = "" A8629 = "" A8630 = "" 
-A8631 = "" A8632 = "" A8633 = "" A8634 = "" A8635 = "" A8636 = "" A8637 = "" A8638 = "" A8639 = "" A8640 = "" 
-A8641 = "" A8642 = "" A8643 = "" A8644 = "" A8645 = "" A8646 = "" A8647 = "" A8648 = "" A8649 = "" A8650 = "" 
-A8651 = "" A8652 = "" A8653 = "" A8654 = "" A8655 = "" A8656 = "" A8657 = "" A8658 = "" A8659 = "" A8660 = "" 
-A8661 = "" A8662 = "" A8663 = "" A8664 = "" A8665 = "" A8666 = "" A8667 = "" A8668 = "" A8669 = "" A8670 = "" 
-A8671 = "" A8672 = "" A8673 = "" A8674 = "" A8675 = "" A8676 = "" A8677 = "" A8678 = "" A8679 = "" A8680 = "" 
-A8681 = "" A8682 = "" A8683 = "" A8684 = "" A8685 = "" A8686 = "" A8687 = "" A8688 = "" A8689 = "" A8690 = "" 
-A8691 = "" A8692 = "" A8693 = "" A8694 = "" A8695 = "" A8696 = "" A8697 = "" A8698 = "" A8699 = "" A8700 = "" 
-A8701 = "" A8702 = "" A8703 = "" A8704 = "" A8705 = "" A8706 = "" A8707 = "" A8708 = "" A8709 = "" A8710 = "" 
-A8711 = "" A8712 = "" A8713 = "" A8714 = "" A8715 = "" A8716 = "" A8717 = "" A8718 = "" A8719 = "" A8720 = "" 
-A8721 = "" A8722 = "" A8723 = "" A8724 = "" A8725 = "" A8726 = "" A8727 = "" A8728 = "" A8729 = "" A8730 = "" 
-A8731 = "" A8732 = "" A8733 = "" A8734 = "" A8735 = "" A8736 = "" A8737 = "" A8738 = "" A8739 = "" A8740 = "" 
-A8741 = "" A8742 = "" A8743 = "" A8744 = "" A8745 = "" A8746 = "" A8747 = "" A8748 = "" A8749 = "" A8750 = "" 
-A8751 = "" A8752 = "" A8753 = "" A8754 = "" A8755 = "" A8756 = "" A8757 = "" A8758 = "" A8759 = "" A8760 = "" 
-A8761 = "" A8762 = "" A8763 = "" A8764 = "" A8765 = "" A8766 = "" A8767 = "" A8768 = "" A8769 = "" A8770 = "" 
-A8771 = "" A8772 = "" A8773 = "" A8774 = "" A8775 = "" A8776 = "" A8777 = "" A8778 = "" A8779 = "" A8780 = "" 
-A8781 = "" A8782 = "" A8783 = "" A8784 = "" A8785 = "" A8786 = "" A8787 = "" A8788 = "" A8789 = "" A8790 = "" 
-A8791 = "" A8792 = "" A8793 = "" A8794 = "" A8795 = "" A8796 = "" A8797 = "" A8798 = "" A8799 = "" A8800 = "" 
-A8801 = "" A8802 = "" A8803 = "" A8804 = "" A8805 = "" A8806 = "" A8807 = "" A8808 = "" A8809 = "" A8810 = "" 
-A8811 = "" A8812 = "" A8813 = "" A8814 = "" A8815 = "" A8816 = "" A8817 = "" A8818 = "" A8819 = "" A8820 = "" 
-A8821 = "" A8822 = "" A8823 = "" A8824 = "" A8825 = "" A8826 = "" A8827 = "" A8828 = "" A8829 = "" A8830 = "" 
-A8831 = "" A8832 = "" A8833 = "" A8834 = "" A8835 = "" A8836 = "" A8837 = "" A8838 = "" A8839 = "" A8840 = "" 
-A8841 = "" A8842 = "" A8843 = "" A8844 = "" A8845 = "" A8846 = "" A8847 = "" A8848 = "" A8849 = "" A8850 = "" 
-A8851 = "" A8852 = "" A8853 = "" A8854 = "" A8855 = "" A8856 = "" A8857 = "" A8858 = "" A8859 = "" A8860 = "" 
-A8861 = "" A8862 = "" A8863 = "" A8864 = "" A8865 = "" A8866 = "" A8867 = "" A8868 = "" A8869 = "" A8870 = "" 
-A8871 = "" A8872 = "" A8873 = "" A8874 = "" A8875 = "" A8876 = "" A8877 = "" A8878 = "" A8879 = "" A8880 = "" 
-A8881 = "" A8882 = "" A8883 = "" A8884 = "" A8885 = "" A8886 = "" A8887 = "" A8888 = "" A8889 = "" A8890 = "" 
-A8891 = "" A8892 = "" A8893 = "" A8894 = "" A8895 = "" A8896 = "" A8897 = "" A8898 = "" A8899 = "" A8900 = "" 
-A8901 = "" A8902 = "" A8903 = "" A8904 = "" A8905 = "" A8906 = "" A8907 = "" A8908 = "" A8909 = "" A8910 = "" 
-A8911 = "" A8912 = "" A8913 = "" A8914 = "" A8915 = "" A8916 = "" A8917 = "" A8918 = "" A8919 = "" A8920 = "" 
-A8921 = "" A8922 = "" A8923 = "" A8924 = "" A8925 = "" A8926 = "" A8927 = "" A8928 = "" A8929 = "" A8930 = "" 
-A8931 = "" A8932 = "" A8933 = "" A8934 = "" A8935 = "" A8936 = "" A8937 = "" A8938 = "" A8939 = "" A8940 = "" 
-A8941 = "" A8942 = "" A8943 = "" A8944 = "" A8945 = "" A8946 = "" A8947 = "" A8948 = "" A8949 = "" A8950 = "" 
-A8951 = "" A8952 = "" A8953 = "" A8954 = "" A8955 = "" A8956 = "" A8957 = "" A8958 = "" A8959 = "" A8960 = "" 
-A8961 = "" A8962 = "" A8963 = "" A8964 = "" A8965 = "" A8966 = "" A8967 = "" A8968 = "" A8969 = "" A8970 = "" 
-A8971 = "" A8972 = "" A8973 = "" A8974 = "" A8975 = "" A8976 = "" A8977 = "" A8978 = "" A8979 = "" A8980 = "" 
-A8981 = "" A8982 = "" A8983 = "" A8984 = "" A8985 = "" A8986 = "" A8987 = "" A8988 = "" A8989 = "" A8990 = "" 
-A8991 = "" A8992 = "" A8993 = "" A8994 = "" A8995 = "" A8996 = "" A8997 = "" A8998 = "" A8999 = "" A9000 = "" 
-A9001 = "" A9002 = "" A9003 = "" A9004 = "" A9005 = "" A9006 = "" A9007 = "" A9008 = "" A9009 = "" A9010 = "" 
-A9011 = "" A9012 = "" A9013 = "" A9014 = "" A9015 = "" A9016 = "" A9017 = "" A9018 = "" A9019 = "" A9020 = "" 
-A9021 = "" A9022 = "" A9023 = "" A9024 = "" A9025 = "" A9026 = "" A9027 = "" A9028 = "" A9029 = "" A9030 = "" 
-A9031 = "" A9032 = "" A9033 = "" A9034 = "" A9035 = "" A9036 = "" A9037 = "" A9038 = "" A9039 = "" A9040 = "" 
-A9041 = "" A9042 = "" A9043 = "" A9044 = "" A9045 = "" A9046 = "" A9047 = "" A9048 = "" A9049 = "" A9050 = "" 
-A9051 = "" A9052 = "" A9053 = "" A9054 = "" A9055 = "" A9056 = "" A9057 = "" A9058 = "" A9059 = "" A9060 = "" 
-A9061 = "" A9062 = "" A9063 = "" A9064 = "" A9065 = "" A9066 = "" A9067 = "" A9068 = "" A9069 = "" A9070 = "" 
-A9071 = "" A9072 = "" A9073 = "" A9074 = "" A9075 = "" A9076 = "" A9077 = "" A9078 = "" A9079 = "" A9080 = "" 
-A9081 = "" A9082 = "" A9083 = "" A9084 = "" A9085 = "" A9086 = "" A9087 = "" A9088 = "" A9089 = "" A9090 = "" 
-A9091 = "" A9092 = "" A9093 = "" A9094 = "" A9095 = "" A9096 = "" A9097 = "" A9098 = "" A9099 = "" A9100 = "" 
-A9101 = "" A9102 = "" A9103 = "" A9104 = "" A9105 = "" A9106 = "" A9107 = "" A9108 = "" A9109 = "" A9110 = "" 
-A9111 = "" A9112 = "" A9113 = "" A9114 = "" A9115 = "" A9116 = "" A9117 = "" A9118 = "" A9119 = "" A9120 = "" 
-A9121 = "" A9122 = "" A9123 = "" A9124 = "" A9125 = "" A9126 = "" A9127 = "" A9128 = "" A9129 = "" A9130 = "" 
-A9131 = "" A9132 = "" A9133 = "" A9134 = "" A9135 = "" A9136 = "" A9137 = "" A9138 = "" A9139 = "" A9140 = "" 
-A9141 = "" A9142 = "" A9143 = "" A9144 = "" A9145 = "" A9146 = "" A9147 = "" A9148 = "" A9149 = "" A9150 = "" 
-A9151 = "" A9152 = "" A9153 = "" A9154 = "" A9155 = "" A9156 = "" A9157 = "" A9158 = "" A9159 = "" A9160 = "" 
-A9161 = "" A9162 = "" A9163 = "" A9164 = "" A9165 = "" A9166 = "" A9167 = "" A9168 = "" A9169 = "" A9170 = "" 
-A9171 = "" A9172 = "" A9173 = "" A9174 = "" A9175 = "" A9176 = "" A9177 = "" A9178 = "" A9179 = "" A9180 = "" 
-A9181 = "" A9182 = "" A9183 = "" A9184 = "" A9185 = "" A9186 = "" A9187 = "" A9188 = "" A9189 = "" A9190 = "" 
-A9191 = "" A9192 = "" A9193 = "" A9194 = "" A9195 = "" A9196 = "" A9197 = "" A9198 = "" A9199 = "" A9200 = "" 
-A9201 = "" A9202 = "" A9203 = "" A9204 = "" A9205 = "" A9206 = "" A9207 = "" A9208 = "" A9209 = "" A9210 = "" 
-A9211 = "" A9212 = "" A9213 = "" A9214 = "" A9215 = "" A9216 = "" A9217 = "" A9218 = "" A9219 = "" A9220 = "" 
-A9221 = "" A9222 = "" A9223 = "" A9224 = "" A9225 = "" A9226 = "" A9227 = "" A9228 = "" A9229 = "" A9230 = "" 
-A9231 = "" A9232 = "" A9233 = "" A9234 = "" A9235 = "" A9236 = "" A9237 = "" A9238 = "" A9239 = "" A9240 = "" 
-A9241 = "" A9242 = "" A9243 = "" A9244 = "" A9245 = "" A9246 = "" A9247 = "" A9248 = "" A9249 = "" A9250 = "" 
-A9251 = "" A9252 = "" A9253 = "" A9254 = "" A9255 = "" A9256 = "" A9257 = "" A9258 = "" A9259 = "" A9260 = "" 
-A9261 = "" A9262 = "" A9263 = "" A9264 = "" A9265 = "" A9266 = "" A9267 = "" A9268 = "" A9269 = "" A9270 = "" 
-A9271 = "" A9272 = "" A9273 = "" A9274 = "" A9275 = "" A9276 = "" A9277 = "" A9278 = "" A9279 = "" A9280 = "" 
-A9281 = "" A9282 = "" A9283 = "" A9284 = "" A9285 = "" A9286 = "" A9287 = "" A9288 = "" A9289 = "" A9290 = "" 
-A9291 = "" A9292 = "" A9293 = "" A9294 = "" A9295 = "" A9296 = "" A9297 = "" A9298 = "" A9299 = "" A9300 = "" 
-A9301 = "" A9302 = "" A9303 = "" A9304 = "" A9305 = "" A9306 = "" A9307 = "" A9308 = "" A9309 = "" A9310 = "" 
-A9311 = "" A9312 = "" A9313 = "" A9314 = "" A9315 = "" A9316 = "" A9317 = "" A9318 = "" A9319 = "" A9320 = "" 
-A9321 = "" A9322 = "" A9323 = "" A9324 = "" A9325 = "" A9326 = "" A9327 = "" A9328 = "" A9329 = "" A9330 = "" 
-A9331 = "" A9332 = "" A9333 = "" A9334 = "" A9335 = "" A9336 = "" A9337 = "" A9338 = "" A9339 = "" A9340 = "" 
-A9341 = "" A9342 = "" A9343 = "" A9344 = "" A9345 = "" A9346 = "" A9347 = "" A9348 = "" A9349 = "" A9350 = "" 
-A9351 = "" A9352 = "" A9353 = "" A9354 = "" A9355 = "" A9356 = "" A9357 = "" A9358 = "" A9359 = "" A9360 = "" 
-A9361 = "" A9362 = "" A9363 = "" A9364 = "" A9365 = "" A9366 = "" A9367 = "" A9368 = "" A9369 = "" A9370 = "" 
-A9371 = "" A9372 = "" A9373 = "" A9374 = "" A9375 = "" A9376 = "" A9377 = "" A9378 = "" A9379 = "" A9380 = "" 
-A9381 = "" A9382 = "" A9383 = "" A9384 = "" A9385 = "" A9386 = "" A9387 = "" A9388 = "" A9389 = "" A9390 = "" 
-A9391 = "" A9392 = "" A9393 = "" A9394 = "" A9395 = "" A9396 = "" A9397 = "" A9398 = "" A9399 = "" A9400 = "" 
-A9401 = "" A9402 = "" A9403 = "" A9404 = "" A9405 = "" A9406 = "" A9407 = "" A9408 = "" A9409 = "" A9410 = "" 
-A9411 = "" A9412 = "" A9413 = "" A9414 = "" A9415 = "" A9416 = "" A9417 = "" A9418 = "" A9419 = "" A9420 = "" 
-A9421 = "" A9422 = "" A9423 = "" A9424 = "" A9425 = "" A9426 = "" A9427 = "" A9428 = "" A9429 = "" A9430 = "" 
-A9431 = "" A9432 = "" A9433 = "" A9434 = "" A9435 = "" A9436 = "" A9437 = "" A9438 = "" A9439 = "" A9440 = "" 
-A9441 = "" A9442 = "" A9443 = "" A9444 = "" A9445 = "" A9446 = "" A9447 = "" A9448 = "" A9449 = "" A9450 = "" 
-A9451 = "" A9452 = "" A9453 = "" A9454 = "" A9455 = "" A9456 = "" A9457 = "" A9458 = "" A9459 = "" A9460 = "" 
-A9461 = "" A9462 = "" A9463 = "" A9464 = "" A9465 = "" A9466 = "" A9467 = "" A9468 = "" A9469 = "" A9470 = "" 
-A9471 = "" A9472 = "" A9473 = "" A9474 = "" A9475 = "" A9476 = "" A9477 = "" A9478 = "" A9479 = "" A9480 = "" 
-A9481 = "" A9482 = "" A9483 = "" A9484 = "" A9485 = "" A9486 = "" A9487 = "" A9488 = "" A9489 = "" A9490 = "" 
-A9491 = "" A9492 = "" A9493 = "" A9494 = "" A9495 = "" A9496 = "" A9497 = "" A9498 = "" A9499 = "" A9500 = "" 
-A9501 = "" A9502 = "" A9503 = "" A9504 = "" A9505 = "" A9506 = "" A9507 = "" A9508 = "" A9509 = "" A9510 = "" 
-A9511 = "" A9512 = "" A9513 = "" A9514 = "" A9515 = "" A9516 = "" A9517 = "" A9518 = "" A9519 = "" A9520 = "" 
-A9521 = "" A9522 = "" A9523 = "" A9524 = "" A9525 = "" A9526 = "" A9527 = "" A9528 = "" A9529 = "" A9530 = "" 
-A9531 = "" A9532 = "" A9533 = "" A9534 = "" A9535 = "" A9536 = "" A9537 = "" A9538 = "" A9539 = "" A9540 = "" 
-A9541 = "" A9542 = "" A9543 = "" A9544 = "" A9545 = "" A9546 = "" A9547 = "" A9548 = "" A9549 = "" A9550 = "" 
-A9551 = "" A9552 = "" A9553 = "" A9554 = "" A9555 = "" A9556 = "" A9557 = "" A9558 = "" A9559 = "" A9560 = "" 
-A9561 = "" A9562 = "" A9563 = "" A9564 = "" A9565 = "" A9566 = "" A9567 = "" A9568 = "" A9569 = "" A9570 = "" 
-A9571 = "" A9572 = "" A9573 = "" A9574 = "" A9575 = "" A9576 = "" A9577 = "" A9578 = "" A9579 = "" A9580 = "" 
-A9581 = "" A9582 = "" A9583 = "" A9584 = "" A9585 = "" A9586 = "" A9587 = "" A9588 = "" A9589 = "" A9590 = "" 
-A9591 = "" A9592 = "" A9593 = "" A9594 = "" A9595 = "" A9596 = "" A9597 = "" A9598 = "" A9599 = "" A9600 = "" 
-A9601 = "" A9602 = "" A9603 = "" A9604 = "" A9605 = "" A9606 = "" A9607 = "" A9608 = "" A9609 = "" A9610 = "" 
-A9611 = "" A9612 = "" A9613 = "" A9614 = "" A9615 = "" A9616 = "" A9617 = "" A9618 = "" A9619 = "" A9620 = "" 
-A9621 = "" A9622 = "" A9623 = "" A9624 = "" A9625 = "" A9626 = "" A9627 = "" A9628 = "" A9629 = "" A9630 = "" 
-A9631 = "" A9632 = "" A9633 = "" A9634 = "" A9635 = "" A9636 = "" A9637 = "" A9638 = "" A9639 = "" A9640 = "" 
-A9641 = "" A9642 = "" A9643 = "" A9644 = "" A9645 = "" A9646 = "" A9647 = "" A9648 = "" A9649 = "" A9650 = "" 
-A9651 = "" A9652 = "" A9653 = "" A9654 = "" A9655 = "" A9656 = "" A9657 = "" A9658 = "" A9659 = "" A9660 = "" 
-A9661 = "" A9662 = "" A9663 = "" A9664 = "" A9665 = "" A9666 = "" A9667 = "" A9668 = "" A9669 = "" A9670 = "" 
-A9671 = "" A9672 = "" A9673 = "" A9674 = "" A9675 = "" A9676 = "" A9677 = "" A9678 = "" A9679 = "" A9680 = "" 
-A9681 = "" A9682 = "" A9683 = "" A9684 = "" A9685 = "" A9686 = "" A9687 = "" A9688 = "" A9689 = "" A9690 = "" 
-A9691 = "" A9692 = "" A9693 = "" A9694 = "" A9695 = "" A9696 = "" A9697 = "" A9698 = "" A9699 = "" A9700 = "" 
-A9701 = "" A9702 = "" A9703 = "" A9704 = "" A9705 = "" A9706 = "" A9707 = "" A9708 = "" A9709 = "" A9710 = "" 
-A9711 = "" A9712 = "" A9713 = "" A9714 = "" A9715 = "" A9716 = "" A9717 = "" A9718 = "" A9719 = "" A9720 = "" 
-A9721 = "" A9722 = "" A9723 = "" A9724 = "" A9725 = "" A9726 = "" A9727 = "" A9728 = "" A9729 = "" A9730 = "" 
-A9731 = "" A9732 = "" A9733 = "" A9734 = "" A9735 = "" A9736 = "" A9737 = "" A9738 = "" A9739 = "" A9740 = "" 
-A9741 = "" A9742 = "" A9743 = "" A9744 = "" A9745 = "" A9746 = "" A9747 = "" A9748 = "" A9749 = "" A9750 = "" 
-A9751 = "" A9752 = "" A9753 = "" A9754 = "" A9755 = "" A9756 = "" A9757 = "" A9758 = "" A9759 = "" A9760 = "" 
-A9761 = "" A9762 = "" A9763 = "" A9764 = "" A9765 = "" A9766 = "" A9767 = "" A9768 = "" A9769 = "" A9770 = "" 
-A9771 = "" A9772 = "" A9773 = "" A9774 = "" A9775 = "" A9776 = "" A9777 = "" A9778 = "" A9779 = "" A9780 = "" 
-A9781 = "" A9782 = "" A9783 = "" A9784 = "" A9785 = "" A9786 = "" A9787 = "" A9788 = "" A9789 = "" A9790 = "" 
-A9791 = "" A9792 = "" A9793 = "" A9794 = "" A9795 = "" A9796 = "" A9797 = "" A9798 = "" A9799 = "" A9800 = "" 
-A9801 = "" A9802 = "" A9803 = "" A9804 = "" A9805 = "" A9806 = "" A9807 = "" A9808 = "" A9809 = "" A9810 = "" 
-A9811 = "" A9812 = "" A9813 = "" A9814 = "" A9815 = "" A9816 = "" A9817 = "" A9818 = "" A9819 = "" A9820 = "" 
-A9821 = "" A9822 = "" A9823 = "" A9824 = "" A9825 = "" A9826 = "" A9827 = "" A9828 = "" A9829 = "" A9830 = "" 
-A9831 = "" A9832 = "" A9833 = "" A9834 = "" A9835 = "" A9836 = "" A9837 = "" A9838 = "" A9839 = "" A9840 = "" 
-A9841 = "" A9842 = "" A9843 = "" A9844 = "" A9845 = "" A9846 = "" A9847 = "" A9848 = "" A9849 = "" A9850 = "" 
-A9851 = "" A9852 = "" A9853 = "" A9854 = "" A9855 = "" A9856 = "" A9857 = "" A9858 = "" A9859 = "" A9860 = "" 
-A9861 = "" A9862 = "" A9863 = "" A9864 = "" A9865 = "" A9866 = "" A9867 = "" A9868 = "" A9869 = "" A9870 = "" 
-A9871 = "" A9872 = "" A9873 = "" A9874 = "" A9875 = "" A9876 = "" A9877 = "" A9878 = "" A9879 = "" A9880 = "" 
-A9881 = "" A9882 = "" A9883 = "" A9884 = "" A9885 = "" A9886 = "" A9887 = "" A9888 = "" A9889 = "" A9890 = "" 
-A9891 = "" A9892 = "" A9893 = "" A9894 = "" A9895 = "" A9896 = "" A9897 = "" A9898 = "" A9899 = "" A9900 = "" 
-A9901 = "" A9902 = "" A9903 = "" A9904 = "" A9905 = "" A9906 = "" A9907 = "" A9908 = "" A9909 = "" A9910 = "" 
-A9911 = "" A9912 = "" A9913 = "" A9914 = "" A9915 = "" A9916 = "" A9917 = "" A9918 = "" A9919 = "" A9920 = "" 
-A9921 = "" A9922 = "" A9923 = "" A9924 = "" A9925 = "" A9926 = "" A9927 = "" A9928 = "" A9929 = "" A9930 = "" 
-A9931 = "" A9932 = "" A9933 = "" A9934 = "" A9935 = "" A9936 = "" A9937 = "" A9938 = "" A9939 = "" A9940 = "" 
-A9941 = "" A9942 = "" A9943 = "" A9944 = "" A9945 = "" A9946 = "" A9947 = "" A9948 = "" A9949 = "" A9950 = "" 
-A9951 = "" A9952 = "" A9953 = "" A9954 = "" A9955 = "" A9956 = "" A9957 = "" A9958 = "" A9959 = "" A9960 = "" 
-A9961 = "" A9962 = "" A9963 = "" A9964 = "" A9965 = "" A9966 = "" A9967 = "" A9968 = "" A9969 = "" A9970 = "" 
-A9971 = "" A9972 = "" A9973 = "" A9974 = "" A9975 = "" A9976 = "" A9977 = "" A9978 = "" A9979 = "" A9980 = "" 
-A9981 = "" A9982 = "" A9983 = "" A9984 = "" A9985 = "" A9986 = "" A9987 = "" A9988 = "" A9989 = "" A9990 = "" 
-A9991 = "" A9992 = "" A9993 = "" A9994 = "" A9995 = "" A9996 = "" A9997 = "" A9998 = "" A9999 = "" A10000 = "" 
-A10001 = "" A10002 = "" A10003 = "" A10004 = "" A10005 = "" A10006 = "" A10007 = "" A10008 = "" A10009 = "" A10010 = "" 
-A10011 = "" A10012 = "" A10013 = "" A10014 = "" A10015 = "" A10016 = "" A10017 = "" A10018 = "" A10019 = "" A10020 = "" 
-A10021 = "" A10022 = "" A10023 = "" A10024 = "" A10025 = "" A10026 = "" A10027 = "" A10028 = "" A10029 = "" A10030 = "" 
-A10031 = "" A10032 = "" A10033 = "" A10034 = "" A10035 = "" A10036 = "" A10037 = "" A10038 = "" A10039 = "" A10040 = "" 
-A10041 = "" A10042 = "" A10043 = "" A10044 = "" A10045 = "" A10046 = "" A10047 = "" A10048 = "" A10049 = "" A10050 = "" 
-A10051 = "" A10052 = "" A10053 = "" A10054 = "" A10055 = "" A10056 = "" A10057 = "" A10058 = "" A10059 = "" A10060 = "" 
-A10061 = "" A10062 = "" A10063 = "" A10064 = "" A10065 = "" A10066 = "" A10067 = "" A10068 = "" A10069 = "" A10070 = "" 
-A10071 = "" A10072 = "" A10073 = "" A10074 = "" A10075 = "" A10076 = "" A10077 = "" A10078 = "" A10079 = "" A10080 = "" 
-A10081 = "" A10082 = "" A10083 = "" A10084 = "" A10085 = "" A10086 = "" A10087 = "" A10088 = "" A10089 = "" A10090 = "" 
-A10091 = "" A10092 = "" A10093 = "" A10094 = "" A10095 = "" A10096 = "" A10097 = "" A10098 = "" A10099 = "" A10100 = "" 
-A10101 = "" A10102 = "" A10103 = "" A10104 = "" A10105 = "" A10106 = "" A10107 = "" A10108 = "" A10109 = "" A10110 = "" 
-A10111 = "" A10112 = "" A10113 = "" A10114 = "" A10115 = "" A10116 = "" A10117 = "" A10118 = "" A10119 = "" A10120 = "" 
-A10121 = "" A10122 = "" A10123 = "" A10124 = "" A10125 = "" A10126 = "" A10127 = "" A10128 = "" A10129 = "" A10130 = "" 
-A10131 = "" A10132 = "" A10133 = "" A10134 = "" A10135 = "" A10136 = "" A10137 = "" A10138 = "" A10139 = "" A10140 = "" 
-A10141 = "" A10142 = "" A10143 = "" A10144 = "" A10145 = "" A10146 = "" A10147 = "" A10148 = "" A10149 = "" A10150 = "" 
-A10151 = "" A10152 = "" A10153 = "" A10154 = "" A10155 = "" A10156 = "" A10157 = "" A10158 = "" A10159 = "" A10160 = "" 
-A10161 = "" A10162 = "" A10163 = "" A10164 = "" A10165 = "" A10166 = "" A10167 = "" A10168 = "" A10169 = "" A10170 = "" 
-A10171 = "" A10172 = "" A10173 = "" A10174 = "" A10175 = "" A10176 = "" A10177 = "" A10178 = "" A10179 = "" A10180 = "" 
-A10181 = "" A10182 = "" A10183 = "" A10184 = "" A10185 = "" A10186 = "" A10187 = "" A10188 = "" A10189 = "" A10190 = "" 
-A10191 = "" A10192 = "" A10193 = "" A10194 = "" A10195 = "" A10196 = "" A10197 = "" A10198 = "" A10199 = "" A10200 = "" 
-A10201 = "" A10202 = "" A10203 = "" A10204 = "" A10205 = "" A10206 = "" A10207 = "" A10208 = "" A10209 = "" A10210 = "" 
-A10211 = "" A10212 = "" A10213 = "" A10214 = "" A10215 = "" A10216 = "" A10217 = "" A10218 = "" A10219 = "" A10220 = "" 
-A10221 = "" A10222 = "" A10223 = "" A10224 = "" A10225 = "" A10226 = "" A10227 = "" A10228 = "" A10229 = "" A10230 = "" 
-A10231 = "" A10232 = "" A10233 = "" A10234 = "" A10235 = "" A10236 = "" A10237 = "" A10238 = "" A10239 = "" A10240 = "" 
-A10241 = "" A10242 = "" A10243 = "" A10244 = "" A10245 = "" A10246 = "" A10247 = "" A10248 = "" A10249 = "" A10250 = "" 
-A10251 = "" A10252 = "" A10253 = "" A10254 = "" A10255 = "" A10256 = "" A10257 = "" A10258 = "" A10259 = "" A10260 = "" 
-A10261 = "" A10262 = "" A10263 = "" A10264 = "" A10265 = "" A10266 = "" A10267 = "" A10268 = "" A10269 = "" A10270 = "" 
-A10271 = "" A10272 = "" A10273 = "" A10274 = "" A10275 = "" A10276 = "" A10277 = "" A10278 = "" A10279 = "" A10280 = "" 
-A10281 = "" A10282 = "" A10283 = "" A10284 = "" A10285 = "" A10286 = "" A10287 = "" A10288 = "" A10289 = "" A10290 = "" 
-A10291 = "" A10292 = "" A10293 = "" A10294 = "" A10295 = "" A10296 = "" A10297 = "" A10298 = "" A10299 = "" A10300 = "" 
-A10301 = "" A10302 = "" A10303 = "" A10304 = "" A10305 = "" A10306 = "" A10307 = "" A10308 = "" A10309 = "" A10310 = "" 
-A10311 = "" A10312 = "" A10313 = "" A10314 = "" A10315 = "" A10316 = "" A10317 = "" A10318 = "" A10319 = "" A10320 = "" 
-A10321 = "" A10322 = "" A10323 = "" A10324 = "" A10325 = "" A10326 = "" A10327 = "" A10328 = "" A10329 = "" A10330 = "" 
-A10331 = "" A10332 = "" A10333 = "" A10334 = "" A10335 = "" A10336 = "" A10337 = "" A10338 = "" A10339 = "" A10340 = "" 
-A10341 = "" A10342 = "" A10343 = "" A10344 = "" A10345 = "" A10346 = "" A10347 = "" A10348 = "" A10349 = "" A10350 = "" 
-A10351 = "" A10352 = "" A10353 = "" A10354 = "" A10355 = "" A10356 = "" A10357 = "" A10358 = "" A10359 = "" A10360 = "" 
-A10361 = "" A10362 = "" A10363 = "" A10364 = "" A10365 = "" A10366 = "" A10367 = "" A10368 = "" A10369 = "" A10370 = "" 
-A10371 = "" A10372 = "" A10373 = "" A10374 = "" A10375 = "" A10376 = "" A10377 = "" A10378 = "" A10379 = "" A10380 = "" 
-A10381 = "" A10382 = "" A10383 = "" A10384 = "" A10385 = "" A10386 = "" A10387 = "" A10388 = "" A10389 = "" A10390 = "" 
-A10391 = "" A10392 = "" A10393 = "" A10394 = "" A10395 = "" A10396 = "" A10397 = "" A10398 = "" A10399 = "" A10400 = "" 
-A10401 = "" A10402 = "" A10403 = "" A10404 = "" A10405 = "" A10406 = "" A10407 = "" A10408 = "" A10409 = "" A10410 = "" 
-A10411 = "" A10412 = "" A10413 = "" A10414 = "" A10415 = "" A10416 = "" A10417 = "" A10418 = "" A10419 = "" A10420 = "" 
-A10421 = "" A10422 = "" A10423 = "" A10424 = "" A10425 = "" A10426 = "" A10427 = "" A10428 = "" A10429 = "" A10430 = "" 
-A10431 = "" A10432 = "" A10433 = "" A10434 = "" A10435 = "" A10436 = "" A10437 = "" A10438 = "" A10439 = "" A10440 = "" 
-A10441 = "" A10442 = "" A10443 = "" A10444 = "" A10445 = "" A10446 = "" A10447 = "" A10448 = "" A10449 = "" A10450 = "" 
-A10451 = "" A10452 = "" A10453 = "" A10454 = "" A10455 = "" A10456 = "" A10457 = "" A10458 = "" A10459 = "" A10460 = "" 
-A10461 = "" A10462 = "" A10463 = "" A10464 = "" A10465 = "" A10466 = "" A10467 = "" A10468 = "" A10469 = "" A10470 = "" 
-A10471 = "" A10472 = "" A10473 = "" A10474 = "" A10475 = "" A10476 = "" A10477 = "" A10478 = "" A10479 = "" A10480 = "" 
-A10481 = "" A10482 = "" A10483 = "" A10484 = "" A10485 = "" A10486 = "" A10487 = "" A10488 = "" A10489 = "" A10490 = "" 
-A10491 = "" A10492 = "" A10493 = "" A10494 = "" A10495 = "" A10496 = "" A10497 = "" A10498 = "" A10499 = "" A10500 = "" 
-A10501 = "" A10502 = "" A10503 = "" A10504 = "" A10505 = "" A10506 = "" A10507 = "" A10508 = "" A10509 = "" A10510 = "" 
-A10511 = "" A10512 = "" A10513 = "" A10514 = "" A10515 = "" A10516 = "" A10517 = "" A10518 = "" A10519 = "" A10520 = "" 
-A10521 = "" A10522 = "" A10523 = "" A10524 = "" A10525 = "" A10526 = "" A10527 = "" A10528 = "" A10529 = "" A10530 = "" 
-A10531 = "" A10532 = "" A10533 = "" A10534 = "" A10535 = "" A10536 = "" A10537 = "" A10538 = "" A10539 = "" A10540 = "" 
-A10541 = "" A10542 = "" A10543 = "" A10544 = "" A10545 = "" A10546 = "" A10547 = "" A10548 = "" A10549 = "" A10550 = "" 
-A10551 = "" A10552 = "" A10553 = "" A10554 = "" A10555 = "" A10556 = "" A10557 = "" A10558 = "" A10559 = "" A10560 = "" 
-A10561 = "" A10562 = "" A10563 = "" A10564 = "" A10565 = "" A10566 = "" A10567 = "" A10568 = "" A10569 = "" A10570 = "" 
-A10571 = "" A10572 = "" A10573 = "" A10574 = "" A10575 = "" A10576 = "" A10577 = "" A10578 = "" A10579 = "" A10580 = "" 
-A10581 = "" A10582 = "" A10583 = "" A10584 = "" A10585 = "" A10586 = "" A10587 = "" A10588 = "" A10589 = "" A10590 = "" 
-A10591 = "" A10592 = "" A10593 = "" A10594 = "" A10595 = "" A10596 = "" A10597 = "" A10598 = "" A10599 = "" A10600 = "" 
-A10601 = "" A10602 = "" A10603 = "" A10604 = "" A10605 = "" A10606 = "" A10607 = "" A10608 = "" A10609 = "" A10610 = "" 
-A10611 = "" A10612 = "" A10613 = "" A10614 = "" A10615 = "" A10616 = "" A10617 = "" A10618 = "" A10619 = "" A10620 = "" 
-A10621 = "" A10622 = "" A10623 = "" A10624 = "" A10625 = "" A10626 = "" A10627 = "" A10628 = "" A10629 = "" A10630 = "" 
-A10631 = "" A10632 = "" A10633 = "" A10634 = "" A10635 = "" A10636 = "" A10637 = "" A10638 = "" A10639 = "" A10640 = "" 
-A10641 = "" A10642 = "" A10643 = "" A10644 = "" A10645 = "" A10646 = "" A10647 = "" A10648 = "" A10649 = "" A10650 = "" 
-A10651 = "" A10652 = "" A10653 = "" A10654 = "" A10655 = "" A10656 = "" A10657 = "" A10658 = "" A10659 = "" A10660 = "" 
-A10661 = "" A10662 = "" A10663 = "" A10664 = "" A10665 = "" A10666 = "" A10667 = "" A10668 = "" A10669 = "" A10670 = "" 
-A10671 = "" A10672 = "" A10673 = "" A10674 = "" A10675 = "" A10676 = "" A10677 = "" A10678 = "" A10679 = "" A10680 = "" 
-A10681 = "" A10682 = "" A10683 = "" A10684 = "" A10685 = "" A10686 = "" A10687 = "" A10688 = "" A10689 = "" A10690 = "" 
-A10691 = "" A10692 = "" A10693 = "" A10694 = "" A10695 = "" A10696 = "" A10697 = "" A10698 = "" A10699 = "" A10700 = "" 
-A10701 = "" A10702 = "" A10703 = "" A10704 = "" A10705 = "" A10706 = "" A10707 = "" A10708 = "" A10709 = "" A10710 = "" 
-A10711 = "" A10712 = "" A10713 = "" A10714 = "" A10715 = "" A10716 = "" A10717 = "" A10718 = "" A10719 = "" A10720 = "" 
-A10721 = "" A10722 = "" A10723 = "" A10724 = "" A10725 = "" A10726 = "" A10727 = "" A10728 = "" A10729 = "" A10730 = "" 
-A10731 = "" A10732 = "" A10733 = "" A10734 = "" A10735 = "" A10736 = "" A10737 = "" A10738 = "" A10739 = "" A10740 = "" 
-A10741 = "" A10742 = "" A10743 = "" A10744 = "" A10745 = "" A10746 = "" A10747 = "" A10748 = "" A10749 = "" A10750 = "" 
-A10751 = "" A10752 = "" A10753 = "" A10754 = "" A10755 = "" A10756 = "" A10757 = "" A10758 = "" A10759 = "" A10760 = "" 
-A10761 = "" A10762 = "" A10763 = "" A10764 = "" A10765 = "" A10766 = "" A10767 = "" A10768 = "" A10769 = "" A10770 = "" 
-A10771 = "" A10772 = "" A10773 = "" A10774 = "" A10775 = "" A10776 = "" A10777 = "" A10778 = "" A10779 = "" A10780 = "" 
-A10781 = "" A10782 = "" A10783 = "" A10784 = "" A10785 = "" A10786 = "" A10787 = "" A10788 = "" A10789 = "" A10790 = "" 
-A10791 = "" A10792 = "" A10793 = "" A10794 = "" A10795 = "" A10796 = "" A10797 = "" A10798 = "" A10799 = "" A10800 = "" 
-A10801 = "" A10802 = "" A10803 = "" A10804 = "" A10805 = "" A10806 = "" A10807 = "" A10808 = "" A10809 = "" A10810 = "" 
-A10811 = "" A10812 = "" A10813 = "" A10814 = "" A10815 = "" A10816 = "" A10817 = "" A10818 = "" A10819 = "" A10820 = "" 
-A10821 = "" A10822 = "" A10823 = "" A10824 = "" A10825 = "" A10826 = "" A10827 = "" A10828 = "" A10829 = "" A10830 = "" 
-A10831 = "" A10832 = "" A10833 = "" A10834 = "" A10835 = "" A10836 = "" A10837 = "" A10838 = "" A10839 = "" A10840 = "" 
-A10841 = "" A10842 = "" A10843 = "" A10844 = "" A10845 = "" A10846 = "" A10847 = "" A10848 = "" A10849 = "" A10850 = "" 
-A10851 = "" A10852 = "" A10853 = "" A10854 = "" A10855 = "" A10856 = "" A10857 = "" A10858 = "" A10859 = "" A10860 = "" 
-A10861 = "" A10862 = "" A10863 = "" A10864 = "" A10865 = "" A10866 = "" A10867 = "" A10868 = "" A10869 = "" A10870 = "" 
-A10871 = "" A10872 = "" A10873 = "" A10874 = "" A10875 = "" A10876 = "" A10877 = "" A10878 = "" A10879 = "" A10880 = "" 
-A10881 = "" A10882 = "" A10883 = "" A10884 = "" A10885 = "" A10886 = "" A10887 = "" A10888 = "" A10889 = "" A10890 = "" 
-A10891 = "" A10892 = "" A10893 = "" A10894 = "" A10895 = "" A10896 = "" A10897 = "" A10898 = "" A10899 = "" A10900 = "" 
-A10901 = "" A10902 = "" A10903 = "" A10904 = "" A10905 = "" A10906 = "" A10907 = "" A10908 = "" A10909 = "" A10910 = "" 
-A10911 = "" A10912 = "" A10913 = "" A10914 = "" A10915 = "" A10916 = "" A10917 = "" A10918 = "" A10919 = "" A10920 = "" 
-A10921 = "" A10922 = "" A10923 = "" A10924 = "" A10925 = "" A10926 = "" A10927 = "" A10928 = "" A10929 = "" A10930 = "" 
-A10931 = "" A10932 = "" A10933 = "" A10934 = "" A10935 = "" A10936 = "" A10937 = "" A10938 = "" A10939 = "" A10940 = "" 
-A10941 = "" A10942 = "" A10943 = "" A10944 = "" A10945 = "" A10946 = "" A10947 = "" A10948 = "" A10949 = "" A10950 = "" 
-A10951 = "" A10952 = "" A10953 = "" A10954 = "" A10955 = "" A10956 = "" A10957 = "" A10958 = "" A10959 = "" A10960 = "" 
-A10961 = "" A10962 = "" A10963 = "" A10964 = "" A10965 = "" A10966 = "" A10967 = "" A10968 = "" A10969 = "" A10970 = "" 
-A10971 = "" A10972 = "" A10973 = "" A10974 = "" A10975 = "" A10976 = "" A10977 = "" A10978 = "" A10979 = "" A10980 = "" 
-A10981 = "" A10982 = "" A10983 = "" A10984 = "" A10985 = "" A10986 = "" A10987 = "" A10988 = "" A10989 = "" A10990 = "" 
-A10991 = "" A10992 = "" A10993 = "" A10994 = "" A10995 = "" A10996 = "" A10997 = "" A10998 = "" A10999 = "" A11000 = "" 
-A11001 = "" A11002 = "" A11003 = "" A11004 = "" A11005 = "" A11006 = "" A11007 = "" A11008 = "" A11009 = "" A11010 = "" 
-A11011 = "" A11012 = "" A11013 = "" A11014 = "" A11015 = "" A11016 = "" A11017 = "" A11018 = "" A11019 = "" A11020 = "" 
-A11021 = "" A11022 = "" A11023 = "" A11024 = "" A11025 = "" A11026 = "" A11027 = "" A11028 = "" A11029 = "" A11030 = "" 
-A11031 = "" A11032 = "" A11033 = "" A11034 = "" A11035 = "" A11036 = "" A11037 = "" A11038 = "" A11039 = "" A11040 = "" 
-A11041 = "" A11042 = "" A11043 = "" A11044 = "" A11045 = "" A11046 = "" A11047 = "" A11048 = "" A11049 = "" A11050 = "" 
-A11051 = "" A11052 = "" A11053 = "" A11054 = "" A11055 = "" A11056 = "" A11057 = "" A11058 = "" A11059 = "" A11060 = "" 
-A11061 = "" A11062 = "" A11063 = "" A11064 = "" A11065 = "" A11066 = "" A11067 = "" A11068 = "" A11069 = "" A11070 = "" 
-A11071 = "" A11072 = "" A11073 = "" A11074 = "" A11075 = "" A11076 = "" A11077 = "" A11078 = "" A11079 = "" A11080 = "" 
-A11081 = "" A11082 = "" A11083 = "" A11084 = "" A11085 = "" A11086 = "" A11087 = "" A11088 = "" A11089 = "" A11090 = "" 
-A11091 = "" A11092 = "" A11093 = "" A11094 = "" A11095 = "" A11096 = "" A11097 = "" A11098 = "" A11099 = "" A11100 = "" 
-A11101 = "" A11102 = "" A11103 = "" A11104 = "" A11105 = "" A11106 = "" A11107 = "" A11108 = "" A11109 = "" A11110 = "" 
-A11111 = "" A11112 = "" A11113 = "" A11114 = "" A11115 = "" A11116 = "" A11117 = "" A11118 = "" A11119 = "" A11120 = "" 
-A11121 = "" A11122 = "" A11123 = "" A11124 = "" A11125 = "" A11126 = "" A11127 = "" A11128 = "" A11129 = "" A11130 = "" 
-A11131 = "" A11132 = "" A11133 = "" A11134 = "" A11135 = "" A11136 = "" A11137 = "" A11138 = "" A11139 = "" A11140 = "" 
-A11141 = "" A11142 = "" A11143 = "" A11144 = "" A11145 = "" A11146 = "" A11147 = "" A11148 = "" A11149 = "" A11150 = "" 
-A11151 = "" A11152 = "" A11153 = "" A11154 = "" A11155 = "" A11156 = "" A11157 = "" A11158 = "" A11159 = "" A11160 = "" 
-A11161 = "" A11162 = "" A11163 = "" A11164 = "" A11165 = "" A11166 = "" A11167 = "" A11168 = "" A11169 = "" A11170 = "" 
-A11171 = "" A11172 = "" A11173 = "" A11174 = "" A11175 = "" A11176 = "" A11177 = "" A11178 = "" A11179 = "" A11180 = "" 
-A11181 = "" A11182 = "" A11183 = "" A11184 = "" A11185 = "" A11186 = "" A11187 = "" A11188 = "" A11189 = "" A11190 = "" 
-A11191 = "" A11192 = "" A11193 = "" A11194 = "" A11195 = "" A11196 = "" A11197 = "" A11198 = "" A11199 = "" A11200 = "" 
-A11201 = "" A11202 = "" A11203 = "" A11204 = "" A11205 = "" A11206 = "" A11207 = "" A11208 = "" A11209 = "" A11210 = "" 
-A11211 = "" A11212 = "" A11213 = "" A11214 = "" A11215 = "" A11216 = "" A11217 = "" A11218 = "" A11219 = "" A11220 = "" 
-A11221 = "" A11222 = "" A11223 = "" A11224 = "" A11225 = "" A11226 = "" A11227 = "" A11228 = "" A11229 = "" A11230 = "" 
-A11231 = "" A11232 = "" A11233 = "" A11234 = "" A11235 = "" A11236 = "" A11237 = "" A11238 = "" A11239 = "" A11240 = "" 
-A11241 = "" A11242 = "" A11243 = "" A11244 = "" A11245 = "" A11246 = "" A11247 = "" A11248 = "" A11249 = "" A11250 = "" 
-A11251 = "" A11252 = "" A11253 = "" A11254 = "" A11255 = "" A11256 = "" A11257 = "" A11258 = "" A11259 = "" A11260 = "" 
-A11261 = "" A11262 = "" A11263 = "" A11264 = "" A11265 = "" A11266 = "" A11267 = "" A11268 = "" A11269 = "" A11270 = "" 
-A11271 = "" A11272 = "" A11273 = "" A11274 = "" A11275 = "" A11276 = "" A11277 = "" A11278 = "" A11279 = "" A11280 = "" 
-A11281 = "" A11282 = "" A11283 = "" A11284 = "" A11285 = "" A11286 = "" A11287 = "" A11288 = "" A11289 = "" A11290 = "" 
-A11291 = "" A11292 = "" A11293 = "" A11294 = "" A11295 = "" A11296 = "" A11297 = "" A11298 = "" A11299 = "" A11300 = "" 
-A11301 = "" A11302 = "" A11303 = "" A11304 = "" A11305 = "" A11306 = "" A11307 = "" A11308 = "" A11309 = "" A11310 = "" 
-A11311 = "" A11312 = "" A11313 = "" A11314 = "" A11315 = "" A11316 = "" A11317 = "" A11318 = "" A11319 = "" A11320 = "" 
-A11321 = "" A11322 = "" A11323 = "" A11324 = "" A11325 = "" A11326 = "" A11327 = "" A11328 = "" A11329 = "" A11330 = "" 
-A11331 = "" A11332 = "" A11333 = "" A11334 = "" A11335 = "" A11336 = "" A11337 = "" A11338 = "" A11339 = "" A11340 = "" 
-A11341 = "" A11342 = "" A11343 = "" A11344 = "" A11345 = "" A11346 = "" A11347 = "" A11348 = "" A11349 = "" A11350 = "" 
-A11351 = "" A11352 = "" A11353 = "" A11354 = "" A11355 = "" A11356 = "" A11357 = "" A11358 = "" A11359 = "" A11360 = "" 
-A11361 = "" A11362 = "" A11363 = "" A11364 = "" A11365 = "" A11366 = "" A11367 = "" A11368 = "" A11369 = "" A11370 = "" 
-A11371 = "" A11372 = "" A11373 = "" A11374 = "" A11375 = "" A11376 = "" A11377 = "" A11378 = "" A11379 = "" A11380 = "" 
-A11381 = "" A11382 = "" A11383 = "" A11384 = "" A11385 = "" A11386 = "" A11387 = "" A11388 = "" A11389 = "" A11390 = "" 
-A11391 = "" A11392 = "" A11393 = "" A11394 = "" A11395 = "" A11396 = "" A11397 = "" A11398 = "" A11399 = "" A11400 = "" 
-A11401 = "" A11402 = "" A11403 = "" A11404 = "" A11405 = "" A11406 = "" A11407 = "" A11408 = "" A11409 = "" A11410 = "" 
-A11411 = "" A11412 = "" A11413 = "" A11414 = "" A11415 = "" A11416 = "" A11417 = "" A11418 = "" A11419 = "" A11420 = "" 
-A11421 = "" A11422 = "" A11423 = "" A11424 = "" A11425 = "" A11426 = "" A11427 = "" A11428 = "" A11429 = "" A11430 = "" 
-A11431 = "" A11432 = "" A11433 = "" A11434 = "" A11435 = "" A11436 = "" A11437 = "" A11438 = "" A11439 = "" A11440 = "" 
-A11441 = "" A11442 = "" A11443 = "" A11444 = "" A11445 = "" A11446 = "" A11447 = "" A11448 = "" A11449 = "" A11450 = "" 
-A11451 = "" A11452 = "" A11453 = "" A11454 = "" A11455 = "" A11456 = "" A11457 = "" A11458 = "" A11459 = "" A11460 = "" 
-A11461 = "" A11462 = "" A11463 = "" A11464 = "" A11465 = "" A11466 = "" A11467 = "" A11468 = "" A11469 = "" A11470 = "" 
-A11471 = "" A11472 = "" A11473 = "" A11474 = "" A11475 = "" A11476 = "" A11477 = "" A11478 = "" A11479 = "" A11480 = "" 
-A11481 = "" A11482 = "" A11483 = "" A11484 = "" A11485 = "" A11486 = "" A11487 = "" A11488 = "" A11489 = "" A11490 = "" 
-A11491 = "" A11492 = "" A11493 = "" A11494 = "" A11495 = "" A11496 = "" A11497 = "" A11498 = "" A11499 = "" A11500 = "" 
-A11501 = "" A11502 = "" A11503 = "" A11504 = "" A11505 = "" A11506 = "" A11507 = "" A11508 = "" A11509 = "" A11510 = "" 
-A11511 = "" A11512 = "" A11513 = "" A11514 = "" A11515 = "" A11516 = "" A11517 = "" A11518 = "" A11519 = "" A11520 = "" 
-A11521 = "" A11522 = "" A11523 = "" A11524 = "" A11525 = "" A11526 = "" A11527 = "" A11528 = "" A11529 = "" A11530 = "" 
-A11531 = "" A11532 = "" A11533 = "" A11534 = "" A11535 = "" A11536 = "" A11537 = "" A11538 = "" A11539 = "" A11540 = "" 
-A11541 = "" A11542 = "" A11543 = "" A11544 = "" A11545 = "" A11546 = "" A11547 = "" A11548 = "" A11549 = "" A11550 = "" 
-A11551 = "" A11552 = "" A11553 = "" A11554 = "" A11555 = "" A11556 = "" A11557 = "" A11558 = "" A11559 = "" A11560 = "" 
-A11561 = "" A11562 = "" A11563 = "" A11564 = "" A11565 = "" A11566 = "" A11567 = "" A11568 = "" A11569 = "" A11570 = "" 
-A11571 = "" A11572 = "" A11573 = "" A11574 = "" A11575 = "" A11576 = "" A11577 = "" A11578 = "" A11579 = "" A11580 = "" 
-A11581 = "" A11582 = "" A11583 = "" A11584 = "" A11585 = "" A11586 = "" A11587 = "" A11588 = "" A11589 = "" A11590 = "" 
-A11591 = "" A11592 = "" A11593 = "" A11594 = "" A11595 = "" A11596 = "" A11597 = "" A11598 = "" A11599 = "" A11600 = "" 
-A11601 = "" A11602 = "" A11603 = "" A11604 = "" A11605 = "" A11606 = "" A11607 = "" A11608 = "" A11609 = "" A11610 = "" 
-A11611 = "" A11612 = "" A11613 = "" A11614 = "" A11615 = "" A11616 = "" A11617 = "" A11618 = "" A11619 = "" A11620 = "" 
-A11621 = "" A11622 = "" A11623 = "" A11624 = "" A11625 = "" A11626 = "" A11627 = "" A11628 = "" A11629 = "" A11630 = "" 
-A11631 = "" A11632 = "" A11633 = "" A11634 = "" A11635 = "" A11636 = "" A11637 = "" A11638 = "" A11639 = "" A11640 = "" 
-A11641 = "" A11642 = "" A11643 = "" A11644 = "" A11645 = "" A11646 = "" A11647 = "" A11648 = "" A11649 = "" A11650 = "" 
-A11651 = "" A11652 = "" A11653 = "" A11654 = "" A11655 = "" A11656 = "" A11657 = "" A11658 = "" A11659 = "" A11660 = "" 
-A11661 = "" A11662 = "" A11663 = "" A11664 = "" A11665 = "" A11666 = "" A11667 = "" A11668 = "" A11669 = "" A11670 = "" 
-A11671 = "" A11672 = "" A11673 = "" A11674 = "" A11675 = "" A11676 = "" A11677 = "" A11678 = "" A11679 = "" A11680 = "" 
-A11681 = "" A11682 = "" A11683 = "" A11684 = "" A11685 = "" A11686 = "" A11687 = "" A11688 = "" A11689 = "" A11690 = "" 
-A11691 = "" A11692 = "" A11693 = "" A11694 = "" A11695 = "" A11696 = "" A11697 = "" A11698 = "" A11699 = "" A11700 = "" 
-A11701 = "" A11702 = "" A11703 = "" A11704 = "" A11705 = "" A11706 = "" A11707 = "" A11708 = "" A11709 = "" A11710 = "" 
-A11711 = "" A11712 = "" A11713 = "" A11714 = "" A11715 = "" A11716 = "" A11717 = "" A11718 = "" A11719 = "" A11720 = "" 
-A11721 = "" A11722 = "" A11723 = "" A11724 = "" A11725 = "" A11726 = "" A11727 = "" A11728 = "" A11729 = "" A11730 = "" 
-A11731 = "" A11732 = "" A11733 = "" A11734 = "" A11735 = "" A11736 = "" A11737 = "" A11738 = "" A11739 = "" A11740 = "" 
-A11741 = "" A11742 = "" A11743 = "" A11744 = "" A11745 = "" A11746 = "" A11747 = "" A11748 = "" A11749 = "" A11750 = "" 
-A11751 = "" A11752 = "" A11753 = "" A11754 = "" A11755 = "" A11756 = "" A11757 = "" A11758 = "" A11759 = "" A11760 = "" 
-A11761 = "" A11762 = "" A11763 = "" A11764 = "" A11765 = "" A11766 = "" A11767 = "" A11768 = "" A11769 = "" A11770 = "" 
-A11771 = "" A11772 = "" A11773 = "" A11774 = "" A11775 = "" A11776 = "" A11777 = "" A11778 = "" A11779 = "" A11780 = "" 
-A11781 = "" A11782 = "" A11783 = "" A11784 = "" A11785 = "" A11786 = "" A11787 = "" A11788 = "" A11789 = "" A11790 = "" 
-A11791 = "" A11792 = "" A11793 = "" A11794 = "" A11795 = "" A11796 = "" A11797 = "" A11798 = "" A11799 = "" A11800 = "" 
-A11801 = "" A11802 = "" A11803 = "" A11804 = "" A11805 = "" A11806 = "" A11807 = "" A11808 = "" A11809 = "" A11810 = "" 
-A11811 = "" A11812 = "" A11813 = "" A11814 = "" A11815 = "" A11816 = "" A11817 = "" A11818 = "" A11819 = "" A11820 = "" 
-A11821 = "" A11822 = "" A11823 = "" A11824 = "" A11825 = "" A11826 = "" A11827 = "" A11828 = "" A11829 = "" A11830 = "" 
-A11831 = "" A11832 = "" A11833 = "" A11834 = "" A11835 = "" A11836 = "" A11837 = "" A11838 = "" A11839 = "" A11840 = "" 
-A11841 = "" A11842 = "" A11843 = "" A11844 = "" A11845 = "" A11846 = "" A11847 = "" A11848 = "" A11849 = "" A11850 = "" 
-A11851 = "" A11852 = "" A11853 = "" A11854 = "" A11855 = "" A11856 = "" A11857 = "" A11858 = "" A11859 = "" A11860 = "" 
-A11861 = "" A11862 = "" A11863 = "" A11864 = "" A11865 = "" A11866 = "" A11867 = "" A11868 = "" A11869 = "" A11870 = "" 
-A11871 = "" A11872 = "" A11873 = "" A11874 = "" A11875 = "" A11876 = "" A11877 = "" A11878 = "" A11879 = "" A11880 = "" 
-A11881 = "" A11882 = "" A11883 = "" A11884 = "" A11885 = "" A11886 = "" A11887 = "" A11888 = "" A11889 = "" A11890 = "" 
-A11891 = "" A11892 = "" A11893 = "" A11894 = "" A11895 = "" A11896 = "" A11897 = "" A11898 = "" A11899 = "" A11900 = "" 
-A11901 = "" A11902 = "" A11903 = "" A11904 = "" A11905 = "" A11906 = "" A11907 = "" A11908 = "" A11909 = "" A11910 = "" 
-A11911 = "" A11912 = "" A11913 = "" A11914 = "" A11915 = "" A11916 = "" A11917 = "" A11918 = "" A11919 = "" A11920 = "" 
-A11921 = "" A11922 = "" A11923 = "" A11924 = "" A11925 = "" A11926 = "" A11927 = "" A11928 = "" A11929 = "" A11930 = "" 
-A11931 = "" A11932 = "" A11933 = "" A11934 = "" A11935 = "" A11936 = "" A11937 = "" A11938 = "" A11939 = "" A11940 = "" 
-A11941 = "" A11942 = "" A11943 = "" A11944 = "" A11945 = "" A11946 = "" A11947 = "" A11948 = "" A11949 = "" A11950 = "" 
-A11951 = "" A11952 = "" A11953 = "" A11954 = "" A11955 = "" A11956 = "" A11957 = "" A11958 = "" A11959 = "" A11960 = "" 
-A11961 = "" A11962 = "" A11963 = "" A11964 = "" A11965 = "" A11966 = "" A11967 = "" A11968 = "" A11969 = "" A11970 = "" 
-A11971 = "" A11972 = "" A11973 = "" A11974 = "" A11975 = "" A11976 = "" A11977 = "" A11978 = "" A11979 = "" A11980 = "" 
-A11981 = "" A11982 = "" A11983 = "" A11984 = "" A11985 = "" A11986 = "" A11987 = "" A11988 = "" A11989 = "" A11990 = "" 
-A11991 = "" A11992 = "" A11993 = "" A11994 = "" A11995 = "" A11996 = "" A11997 = "" A11998 = "" A11999 = "" A12000 = "" 
-A12001 = "" A12002 = "" A12003 = "" A12004 = "" A12005 = "" A12006 = "" A12007 = "" A12008 = "" A12009 = "" A12010 = "" 
-A12011 = "" A12012 = "" A12013 = "" A12014 = "" A12015 = "" A12016 = "" A12017 = "" A12018 = "" A12019 = "" A12020 = "" 
-A12021 = "" A12022 = "" A12023 = "" A12024 = "" A12025 = "" A12026 = "" A12027 = "" A12028 = "" A12029 = "" A12030 = "" 
-A12031 = "" A12032 = "" A12033 = "" A12034 = "" A12035 = "" A12036 = "" A12037 = "" A12038 = "" A12039 = "" A12040 = "" 
-A12041 = "" A12042 = "" A12043 = "" A12044 = "" A12045 = "" A12046 = "" A12047 = "" A12048 = "" A12049 = "" A12050 = "" 
-A12051 = "" A12052 = "" A12053 = "" A12054 = "" A12055 = "" A12056 = "" A12057 = "" A12058 = "" A12059 = "" A12060 = "" 
-A12061 = "" A12062 = "" A12063 = "" A12064 = "" A12065 = "" A12066 = "" A12067 = "" A12068 = "" A12069 = "" A12070 = "" 
-A12071 = "" A12072 = "" A12073 = "" A12074 = "" A12075 = "" A12076 = "" A12077 = "" A12078 = "" A12079 = "" A12080 = "" 
-A12081 = "" A12082 = "" A12083 = "" A12084 = "" A12085 = "" A12086 = "" A12087 = "" A12088 = "" A12089 = "" A12090 = "" 
-A12091 = "" A12092 = "" A12093 = "" A12094 = "" A12095 = "" A12096 = "" A12097 = "" A12098 = "" A12099 = "" A12100 = "" 
-A12101 = "" A12102 = "" A12103 = "" A12104 = "" A12105 = "" A12106 = "" A12107 = "" A12108 = "" A12109 = "" A12110 = "" 
-A12111 = "" A12112 = "" A12113 = "" A12114 = "" A12115 = "" A12116 = "" A12117 = "" A12118 = "" A12119 = "" A12120 = "" 
-A12121 = "" A12122 = "" A12123 = "" A12124 = "" A12125 = "" A12126 = "" A12127 = "" A12128 = "" A12129 = "" A12130 = "" 
-A12131 = "" A12132 = "" A12133 = "" A12134 = "" A12135 = "" A12136 = "" A12137 = "" A12138 = "" A12139 = "" A12140 = "" 
-A12141 = "" A12142 = "" A12143 = "" A12144 = "" A12145 = "" A12146 = "" A12147 = "" A12148 = "" A12149 = "" A12150 = "" 
-A12151 = "" A12152 = "" A12153 = "" A12154 = "" A12155 = "" A12156 = "" A12157 = "" A12158 = "" A12159 = "" A12160 = "" 
-A12161 = "" A12162 = "" A12163 = "" A12164 = "" A12165 = "" A12166 = "" A12167 = "" A12168 = "" A12169 = "" A12170 = "" 
-A12171 = "" A12172 = "" A12173 = "" A12174 = "" A12175 = "" A12176 = "" A12177 = "" A12178 = "" A12179 = "" A12180 = "" 
-A12181 = "" A12182 = "" A12183 = "" A12184 = "" A12185 = "" A12186 = "" A12187 = "" A12188 = "" A12189 = "" A12190 = "" 
-A12191 = "" A12192 = "" A12193 = "" A12194 = "" A12195 = "" A12196 = "" A12197 = "" A12198 = "" A12199 = "" A12200 = "" 
-A12201 = "" A12202 = "" A12203 = "" A12204 = "" A12205 = "" A12206 = "" A12207 = "" A12208 = "" A12209 = "" A12210 = "" 
-A12211 = "" A12212 = "" A12213 = "" A12214 = "" A12215 = "" A12216 = "" A12217 = "" A12218 = "" A12219 = "" A12220 = "" 
-A12221 = "" A12222 = "" A12223 = "" A12224 = "" A12225 = "" A12226 = "" A12227 = "" A12228 = "" A12229 = "" A12230 = "" 
-A12231 = "" A12232 = "" A12233 = "" A12234 = "" A12235 = "" A12236 = "" A12237 = "" A12238 = "" A12239 = "" A12240 = "" 
-A12241 = "" A12242 = "" A12243 = "" A12244 = "" A12245 = "" A12246 = "" A12247 = "" A12248 = "" A12249 = "" A12250 = "" 
-A12251 = "" A12252 = "" A12253 = "" A12254 = "" A12255 = "" A12256 = "" A12257 = "" A12258 = "" A12259 = "" A12260 = "" 
-A12261 = "" A12262 = "" A12263 = "" A12264 = "" A12265 = "" A12266 = "" A12267 = "" A12268 = "" A12269 = "" A12270 = "" 
-A12271 = "" A12272 = "" A12273 = "" A12274 = "" A12275 = "" A12276 = "" A12277 = "" A12278 = "" A12279 = "" A12280 = "" 
-A12281 = "" A12282 = "" A12283 = "" A12284 = "" A12285 = "" A12286 = "" A12287 = "" A12288 = "" A12289 = "" A12290 = "" 
-A12291 = "" A12292 = "" A12293 = "" A12294 = "" A12295 = "" A12296 = "" A12297 = "" A12298 = "" A12299 = "" A12300 = "" 
-A12301 = "" A12302 = "" A12303 = "" A12304 = "" A12305 = "" A12306 = "" A12307 = "" A12308 = "" A12309 = "" A12310 = "" 
-A12311 = "" A12312 = "" A12313 = "" A12314 = "" A12315 = "" A12316 = "" A12317 = "" A12318 = "" A12319 = "" A12320 = "" 
-A12321 = "" A12322 = "" A12323 = "" A12324 = "" A12325 = "" A12326 = "" A12327 = "" A12328 = "" A12329 = "" A12330 = "" 
-A12331 = "" A12332 = "" A12333 = "" A12334 = "" A12335 = "" A12336 = "" A12337 = "" A12338 = "" A12339 = "" A12340 = "" 
-A12341 = "" A12342 = "" A12343 = "" A12344 = "" A12345 = "" A12346 = "" A12347 = "" A12348 = "" A12349 = "" A12350 = "" 
-A12351 = "" A12352 = "" A12353 = "" A12354 = "" A12355 = "" A12356 = "" A12357 = "" A12358 = "" A12359 = "" A12360 = "" 
-A12361 = "" A12362 = "" A12363 = "" A12364 = "" A12365 = "" A12366 = "" A12367 = "" A12368 = "" A12369 = "" A12370 = "" 
-A12371 = "" A12372 = "" A12373 = "" A12374 = "" A12375 = "" A12376 = "" A12377 = "" A12378 = "" A12379 = "" A12380 = "" 
-A12381 = "" A12382 = "" A12383 = "" A12384 = "" A12385 = "" A12386 = "" A12387 = "" A12388 = "" A12389 = "" A12390 = "" 
-A12391 = "" A12392 = "" A12393 = "" A12394 = "" A12395 = "" A12396 = "" A12397 = "" A12398 = "" A12399 = "" A12400 = "" 
-A12401 = "" A12402 = "" A12403 = "" A12404 = "" A12405 = "" A12406 = "" A12407 = "" A12408 = "" A12409 = "" A12410 = "" 
-A12411 = "" A12412 = "" A12413 = "" A12414 = "" A12415 = "" A12416 = "" A12417 = "" A12418 = "" A12419 = "" A12420 = "" 
-A12421 = "" A12422 = "" A12423 = "" A12424 = "" A12425 = "" A12426 = "" A12427 = "" A12428 = "" A12429 = "" A12430 = "" 
-A12431 = "" A12432 = "" A12433 = "" A12434 = "" A12435 = "" A12436 = "" A12437 = "" A12438 = "" A12439 = "" A12440 = "" 
-A12441 = "" A12442 = "" A12443 = "" A12444 = "" A12445 = "" A12446 = "" A12447 = "" A12448 = "" A12449 = "" A12450 = "" 
-A12451 = "" A12452 = "" A12453 = "" A12454 = "" A12455 = "" A12456 = "" A12457 = "" A12458 = "" A12459 = "" A12460 = "" 
-A12461 = "" A12462 = "" A12463 = "" A12464 = "" A12465 = "" A12466 = "" A12467 = "" A12468 = "" A12469 = "" A12470 = "" 
-A12471 = "" A12472 = "" A12473 = "" A12474 = "" A12475 = "" A12476 = "" A12477 = "" A12478 = "" A12479 = "" A12480 = "" 
-A12481 = "" A12482 = "" A12483 = "" A12484 = "" A12485 = "" A12486 = "" A12487 = "" A12488 = "" A12489 = "" A12490 = "" 
-A12491 = "" A12492 = "" A12493 = "" A12494 = "" A12495 = "" A12496 = "" A12497 = "" A12498 = "" A12499 = "" A12500 = "" 
-A12501 = "" A12502 = "" A12503 = "" A12504 = "" A12505 = "" A12506 = "" A12507 = "" A12508 = "" A12509 = "" A12510 = "" 
-A12511 = "" A12512 = "" A12513 = "" A12514 = "" A12515 = "" A12516 = "" A12517 = "" A12518 = "" A12519 = "" A12520 = "" 
-A12521 = "" A12522 = "" A12523 = "" A12524 = "" A12525 = "" A12526 = "" A12527 = "" A12528 = "" A12529 = "" A12530 = "" 
-A12531 = "" A12532 = "" A12533 = "" A12534 = "" A12535 = "" A12536 = "" A12537 = "" A12538 = "" A12539 = "" A12540 = "" 
-A12541 = "" A12542 = "" A12543 = "" A12544 = "" A12545 = "" A12546 = "" A12547 = "" A12548 = "" A12549 = "" A12550 = "" 
-A12551 = "" A12552 = "" A12553 = "" A12554 = "" A12555 = "" A12556 = "" A12557 = "" A12558 = "" A12559 = "" A12560 = "" 
-A12561 = "" A12562 = "" A12563 = "" A12564 = "" A12565 = "" A12566 = "" A12567 = "" A12568 = "" A12569 = "" A12570 = "" 
-A12571 = "" A12572 = "" A12573 = "" A12574 = "" A12575 = "" A12576 = "" A12577 = "" A12578 = "" A12579 = "" A12580 = "" 
-A12581 = "" A12582 = "" A12583 = "" A12584 = "" A12585 = "" A12586 = "" A12587 = "" A12588 = "" A12589 = "" A12590 = "" 
-A12591 = "" A12592 = "" A12593 = "" A12594 = "" A12595 = "" A12596 = "" A12597 = "" A12598 = "" A12599 = "" A12600 = "" 
-A12601 = "" A12602 = "" A12603 = "" A12604 = "" A12605 = "" A12606 = "" A12607 = "" A12608 = "" A12609 = "" A12610 = "" 
-A12611 = "" A12612 = "" A12613 = "" A12614 = "" A12615 = "" A12616 = "" A12617 = "" A12618 = "" A12619 = "" A12620 = "" 
-A12621 = "" A12622 = "" A12623 = "" A12624 = "" A12625 = "" A12626 = "" A12627 = "" A12628 = "" A12629 = "" A12630 = "" 
-A12631 = "" A12632 = "" A12633 = "" A12634 = "" A12635 = "" A12636 = "" A12637 = "" A12638 = "" A12639 = "" A12640 = "" 
-A12641 = "" A12642 = "" A12643 = "" A12644 = "" A12645 = "" A12646 = "" A12647 = "" A12648 = "" A12649 = "" A12650 = "" 
-A12651 = "" A12652 = "" A12653 = "" A12654 = "" A12655 = "" A12656 = "" A12657 = "" A12658 = "" A12659 = "" A12660 = "" 
-A12661 = "" A12662 = "" A12663 = "" A12664 = "" A12665 = "" A12666 = "" A12667 = "" A12668 = "" A12669 = "" A12670 = "" 
-A12671 = "" A12672 = "" A12673 = "" A12674 = "" A12675 = "" A12676 = "" A12677 = "" A12678 = "" A12679 = "" A12680 = "" 
-A12681 = "" A12682 = "" A12683 = "" A12684 = "" A12685 = "" A12686 = "" A12687 = "" A12688 = "" A12689 = "" A12690 = "" 
-A12691 = "" A12692 = "" A12693 = "" A12694 = "" A12695 = "" A12696 = "" A12697 = "" A12698 = "" A12699 = "" A12700 = "" 
-A12701 = "" A12702 = "" A12703 = "" A12704 = "" A12705 = "" A12706 = "" A12707 = "" A12708 = "" A12709 = "" A12710 = "" 
-A12711 = "" A12712 = "" A12713 = "" A12714 = "" A12715 = "" A12716 = "" A12717 = "" A12718 = "" A12719 = "" A12720 = "" 
-A12721 = "" A12722 = "" A12723 = "" A12724 = "" A12725 = "" A12726 = "" A12727 = "" A12728 = "" A12729 = "" A12730 = "" 
-A12731 = "" A12732 = "" A12733 = "" A12734 = "" A12735 = "" A12736 = "" A12737 = "" A12738 = "" A12739 = "" A12740 = "" 
-A12741 = "" A12742 = "" A12743 = "" A12744 = "" A12745 = "" A12746 = "" A12747 = "" A12748 = "" A12749 = "" A12750 = "" 
-A12751 = "" A12752 = "" A12753 = "" A12754 = "" A12755 = "" A12756 = "" A12757 = "" A12758 = "" A12759 = "" A12760 = "" 
-A12761 = "" A12762 = "" A12763 = "" A12764 = "" A12765 = "" A12766 = "" A12767 = "" A12768 = "" A12769 = "" A12770 = "" 
-A12771 = "" A12772 = "" A12773 = "" A12774 = "" A12775 = "" A12776 = "" A12777 = "" A12778 = "" A12779 = "" A12780 = "" 
-A12781 = "" A12782 = "" A12783 = "" A12784 = "" A12785 = "" A12786 = "" A12787 = "" A12788 = "" A12789 = "" A12790 = "" 
-A12791 = "" A12792 = "" A12793 = "" A12794 = "" A12795 = "" A12796 = "" A12797 = "" A12798 = "" A12799 = "" A12800 = "" 
-A12801 = "" A12802 = "" A12803 = "" A12804 = "" A12805 = "" A12806 = "" A12807 = "" A12808 = "" A12809 = "" A12810 = "" 
-A12811 = "" A12812 = "" A12813 = "" A12814 = "" A12815 = "" A12816 = "" A12817 = "" A12818 = "" A12819 = "" A12820 = "" 
-A12821 = "" A12822 = "" A12823 = "" A12824 = "" A12825 = "" A12826 = "" A12827 = "" A12828 = "" A12829 = "" A12830 = "" 
-A12831 = "" A12832 = "" A12833 = "" A12834 = "" A12835 = "" A12836 = "" A12837 = "" A12838 = "" A12839 = "" A12840 = "" 
-A12841 = "" A12842 = "" A12843 = "" A12844 = "" A12845 = "" A12846 = "" A12847 = "" A12848 = "" A12849 = "" A12850 = "" 
-A12851 = "" A12852 = "" A12853 = "" A12854 = "" A12855 = "" A12856 = "" A12857 = "" A12858 = "" A12859 = "" A12860 = "" 
-A12861 = "" A12862 = "" A12863 = "" A12864 = "" A12865 = "" A12866 = "" A12867 = "" A12868 = "" A12869 = "" A12870 = "" 
-A12871 = "" A12872 = "" A12873 = "" A12874 = "" A12875 = "" A12876 = "" A12877 = "" A12878 = "" A12879 = "" A12880 = "" 
-A12881 = "" A12882 = "" A12883 = "" A12884 = "" A12885 = "" A12886 = "" A12887 = "" A12888 = "" A12889 = "" A12890 = "" 
-A12891 = "" A12892 = "" A12893 = "" A12894 = "" A12895 = "" A12896 = "" A12897 = "" A12898 = "" A12899 = "" A12900 = "" 
-A12901 = "" A12902 = "" A12903 = "" A12904 = "" A12905 = "" A12906 = "" A12907 = "" A12908 = "" A12909 = "" A12910 = "" 
-A12911 = "" A12912 = "" A12913 = "" A12914 = "" A12915 = "" A12916 = "" A12917 = "" A12918 = "" A12919 = "" A12920 = "" 
-A12921 = "" A12922 = "" A12923 = "" A12924 = "" A12925 = "" A12926 = "" A12927 = "" A12928 = "" A12929 = "" A12930 = "" 
-A12931 = "" A12932 = "" A12933 = "" A12934 = "" A12935 = "" A12936 = "" A12937 = "" A12938 = "" A12939 = "" A12940 = "" 
-A12941 = "" A12942 = "" A12943 = "" A12944 = "" A12945 = "" A12946 = "" A12947 = "" A12948 = "" A12949 = "" A12950 = "" 
-A12951 = "" A12952 = "" A12953 = "" A12954 = "" A12955 = "" A12956 = "" A12957 = "" A12958 = "" A12959 = "" A12960 = "" 
-A12961 = "" A12962 = "" A12963 = "" A12964 = "" A12965 = "" A12966 = "" A12967 = "" A12968 = "" A12969 = "" A12970 = "" 
-A12971 = "" A12972 = "" A12973 = "" A12974 = "" A12975 = "" A12976 = "" A12977 = "" A12978 = "" A12979 = "" A12980 = "" 
-A12981 = "" A12982 = "" A12983 = "" A12984 = "" A12985 = "" A12986 = "" A12987 = "" A12988 = "" A12989 = "" A12990 = "" 
-A12991 = "" A12992 = "" A12993 = "" A12994 = "" A12995 = "" A12996 = "" A12997 = "" A12998 = "" A12999 = "" A13000 = "" 
-A13001 = "" A13002 = "" A13003 = "" A13004 = "" A13005 = "" A13006 = "" A13007 = "" A13008 = "" A13009 = "" A13010 = "" 
-A13011 = "" A13012 = "" A13013 = "" A13014 = "" A13015 = "" A13016 = "" A13017 = "" A13018 = "" A13019 = "" A13020 = "" 
-A13021 = "" A13022 = "" A13023 = "" A13024 = "" A13025 = "" A13026 = "" A13027 = "" A13028 = "" A13029 = "" A13030 = "" 
-A13031 = "" A13032 = "" A13033 = "" A13034 = "" A13035 = "" A13036 = "" A13037 = "" A13038 = "" A13039 = "" A13040 = "" 
-A13041 = "" A13042 = "" A13043 = "" A13044 = "" A13045 = "" A13046 = "" A13047 = "" A13048 = "" A13049 = "" A13050 = "" 
-A13051 = "" A13052 = "" A13053 = "" A13054 = "" A13055 = "" A13056 = "" A13057 = "" A13058 = "" A13059 = "" A13060 = "" 
-A13061 = "" A13062 = "" A13063 = "" A13064 = "" A13065 = "" A13066 = "" A13067 = "" A13068 = "" A13069 = "" A13070 = "" 
-A13071 = "" A13072 = "" A13073 = "" A13074 = "" A13075 = "" A13076 = "" A13077 = "" A13078 = "" A13079 = "" A13080 = "" 
-A13081 = "" A13082 = "" A13083 = "" A13084 = "" A13085 = "" A13086 = "" A13087 = "" A13088 = "" A13089 = "" A13090 = "" 
-A13091 = "" A13092 = "" A13093 = "" A13094 = "" A13095 = "" A13096 = "" A13097 = "" A13098 = "" A13099 = "" A13100 = "" 
-A13101 = "" A13102 = "" A13103 = "" A13104 = "" A13105 = "" A13106 = "" A13107 = "" A13108 = "" A13109 = "" A13110 = "" 
-A13111 = "" A13112 = "" A13113 = "" A13114 = "" A13115 = "" A13116 = "" A13117 = "" A13118 = "" A13119 = "" A13120 = "" 
-A13121 = "" A13122 = "" A13123 = "" A13124 = "" A13125 = "" A13126 = "" A13127 = "" A13128 = "" A13129 = "" A13130 = "" 
-A13131 = "" A13132 = "" A13133 = "" A13134 = "" A13135 = "" A13136 = "" A13137 = "" A13138 = "" A13139 = "" A13140 = "" 
-A13141 = "" A13142 = "" A13143 = "" A13144 = "" A13145 = "" A13146 = "" A13147 = "" A13148 = "" A13149 = "" A13150 = "" 
-A13151 = "" A13152 = "" A13153 = "" A13154 = "" A13155 = "" A13156 = "" A13157 = "" A13158 = "" A13159 = "" A13160 = "" 
-A13161 = "" A13162 = "" A13163 = "" A13164 = "" A13165 = "" A13166 = "" A13167 = "" A13168 = "" A13169 = "" A13170 = "" 
-A13171 = "" A13172 = "" A13173 = "" A13174 = "" A13175 = "" A13176 = "" A13177 = "" A13178 = "" A13179 = "" A13180 = "" 
-A13181 = "" A13182 = "" A13183 = "" A13184 = "" A13185 = "" A13186 = "" A13187 = "" A13188 = "" A13189 = "" A13190 = "" 
-A13191 = "" A13192 = "" A13193 = "" A13194 = "" A13195 = "" A13196 = "" A13197 = "" A13198 = "" A13199 = "" A13200 = "" 
-A13201 = "" A13202 = "" A13203 = "" A13204 = "" A13205 = "" A13206 = "" A13207 = "" A13208 = "" A13209 = "" A13210 = "" 
-A13211 = "" A13212 = "" A13213 = "" A13214 = "" A13215 = "" A13216 = "" A13217 = "" A13218 = "" A13219 = "" A13220 = "" 
-A13221 = "" A13222 = "" A13223 = "" A13224 = "" A13225 = "" A13226 = "" A13227 = "" A13228 = "" A13229 = "" A13230 = "" 
-A13231 = "" A13232 = "" A13233 = "" A13234 = "" A13235 = "" A13236 = "" A13237 = "" A13238 = "" A13239 = "" A13240 = "" 
-A13241 = "" A13242 = "" A13243 = "" A13244 = "" A13245 = "" A13246 = "" A13247 = "" A13248 = "" A13249 = "" A13250 = "" 
-A13251 = "" A13252 = "" A13253 = "" A13254 = "" A13255 = "" A13256 = "" A13257 = "" A13258 = "" A13259 = "" A13260 = "" 
-A13261 = "" A13262 = "" A13263 = "" A13264 = "" A13265 = "" A13266 = "" A13267 = "" A13268 = "" A13269 = "" A13270 = "" 
-A13271 = "" A13272 = "" A13273 = "" A13274 = "" A13275 = "" A13276 = "" A13277 = "" A13278 = "" A13279 = "" A13280 = "" 
-A13281 = "" A13282 = "" A13283 = "" A13284 = "" A13285 = "" A13286 = "" A13287 = "" A13288 = "" A13289 = "" A13290 = "" 
-A13291 = "" A13292 = "" A13293 = "" A13294 = "" A13295 = "" A13296 = "" A13297 = "" A13298 = "" A13299 = "" A13300 = "" 
-A13301 = "" A13302 = "" A13303 = "" A13304 = "" A13305 = "" A13306 = "" A13307 = "" A13308 = "" A13309 = "" A13310 = "" 
-A13311 = "" A13312 = "" A13313 = "" A13314 = "" A13315 = "" A13316 = "" A13317 = "" A13318 = "" A13319 = "" A13320 = "" 
-A13321 = "" A13322 = "" A13323 = "" A13324 = "" A13325 = "" A13326 = "" A13327 = "" A13328 = "" A13329 = "" A13330 = "" 
-A13331 = "" A13332 = "" A13333 = "" A13334 = "" A13335 = "" A13336 = "" A13337 = "" A13338 = "" A13339 = "" A13340 = "" 
-A13341 = "" A13342 = "" A13343 = "" A13344 = "" A13345 = "" A13346 = "" A13347 = "" A13348 = "" A13349 = "" A13350 = "" 
-A13351 = "" A13352 = "" A13353 = "" A13354 = "" A13355 = "" A13356 = "" A13357 = "" A13358 = "" A13359 = "" A13360 = "" 
-A13361 = "" A13362 = "" A13363 = "" A13364 = "" A13365 = "" A13366 = "" A13367 = "" A13368 = "" A13369 = "" A13370 = "" 
-A13371 = "" A13372 = "" A13373 = "" A13374 = "" A13375 = "" A13376 = "" A13377 = "" A13378 = "" A13379 = "" A13380 = "" 
-A13381 = "" A13382 = "" A13383 = "" A13384 = "" A13385 = "" A13386 = "" A13387 = "" A13388 = "" A13389 = "" A13390 = "" 
-A13391 = "" A13392 = "" A13393 = "" A13394 = "" A13395 = "" A13396 = "" A13397 = "" A13398 = "" A13399 = "" A13400 = "" 
-A13401 = "" A13402 = "" A13403 = "" A13404 = "" A13405 = "" A13406 = "" A13407 = "" A13408 = "" A13409 = "" A13410 = "" 
-A13411 = "" A13412 = "" A13413 = "" A13414 = "" A13415 = "" A13416 = "" A13417 = "" A13418 = "" A13419 = "" A13420 = "" 
-A13421 = "" A13422 = "" A13423 = "" A13424 = "" A13425 = "" A13426 = "" A13427 = "" A13428 = "" A13429 = "" A13430 = "" 
-A13431 = "" A13432 = "" A13433 = "" A13434 = "" A13435 = "" A13436 = "" A13437 = "" A13438 = "" A13439 = "" A13440 = "" 
-A13441 = "" A13442 = "" A13443 = "" A13444 = "" A13445 = "" A13446 = "" A13447 = "" A13448 = "" A13449 = "" A13450 = "" 
-A13451 = "" A13452 = "" A13453 = "" A13454 = "" A13455 = "" A13456 = "" A13457 = "" A13458 = "" A13459 = "" A13460 = "" 
-A13461 = "" A13462 = "" A13463 = "" A13464 = "" A13465 = "" A13466 = "" A13467 = "" A13468 = "" A13469 = "" A13470 = "" 
-A13471 = "" A13472 = "" A13473 = "" A13474 = "" A13475 = "" A13476 = "" A13477 = "" A13478 = "" A13479 = "" A13480 = "" 
-A13481 = "" A13482 = "" A13483 = "" A13484 = "" A13485 = "" A13486 = "" A13487 = "" A13488 = "" A13489 = "" A13490 = "" 
-A13491 = "" A13492 = "" A13493 = "" A13494 = "" A13495 = "" A13496 = "" A13497 = "" A13498 = "" A13499 = "" A13500 = "" 
-A13501 = "" A13502 = "" A13503 = "" A13504 = "" A13505 = "" A13506 = "" A13507 = "" A13508 = "" A13509 = "" A13510 = "" 
-A13511 = "" A13512 = "" A13513 = "" A13514 = "" A13515 = "" A13516 = "" A13517 = "" A13518 = "" A13519 = "" A13520 = "" 
-A13521 = "" A13522 = "" A13523 = "" A13524 = "" A13525 = "" A13526 = "" A13527 = "" A13528 = "" A13529 = "" A13530 = "" 
-A13531 = "" A13532 = "" A13533 = "" A13534 = "" A13535 = "" A13536 = "" A13537 = "" A13538 = "" A13539 = "" A13540 = "" 
-A13541 = "" A13542 = "" A13543 = "" A13544 = "" A13545 = "" A13546 = "" A13547 = "" A13548 = "" A13549 = "" A13550 = "" 
-A13551 = "" A13552 = "" A13553 = "" A13554 = "" A13555 = "" A13556 = "" A13557 = "" A13558 = "" A13559 = "" A13560 = "" 
-A13561 = "" A13562 = "" A13563 = "" A13564 = "" A13565 = "" A13566 = "" A13567 = "" A13568 = "" A13569 = "" A13570 = "" 
-A13571 = "" A13572 = "" A13573 = "" A13574 = "" A13575 = "" A13576 = "" A13577 = "" A13578 = "" A13579 = "" A13580 = "" 
-A13581 = "" A13582 = "" A13583 = "" A13584 = "" A13585 = "" A13586 = "" A13587 = "" A13588 = "" A13589 = "" A13590 = "" 
-A13591 = "" A13592 = "" A13593 = "" A13594 = "" A13595 = "" A13596 = "" A13597 = "" A13598 = "" A13599 = "" A13600 = "" 
-A13601 = "" A13602 = "" A13603 = "" A13604 = "" A13605 = "" A13606 = "" A13607 = "" A13608 = "" A13609 = "" A13610 = "" 
-A13611 = "" A13612 = "" A13613 = "" A13614 = "" A13615 = "" A13616 = "" A13617 = "" A13618 = "" A13619 = "" A13620 = "" 
-A13621 = "" A13622 = "" A13623 = "" A13624 = "" A13625 = "" A13626 = "" A13627 = "" A13628 = "" A13629 = "" A13630 = "" 
-A13631 = "" A13632 = "" A13633 = "" A13634 = "" A13635 = "" A13636 = "" A13637 = "" A13638 = "" A13639 = "" A13640 = "" 
-A13641 = "" A13642 = "" A13643 = "" A13644 = "" A13645 = "" A13646 = "" A13647 = "" A13648 = "" A13649 = "" A13650 = "" 
-A13651 = "" A13652 = "" A13653 = "" A13654 = "" A13655 = "" A13656 = "" A13657 = "" A13658 = "" A13659 = "" A13660 = "" 
-A13661 = "" A13662 = "" A13663 = "" A13664 = "" A13665 = "" A13666 = "" A13667 = "" A13668 = "" A13669 = "" A13670 = "" 
-A13671 = "" A13672 = "" A13673 = "" A13674 = "" A13675 = "" A13676 = "" A13677 = "" A13678 = "" A13679 = "" A13680 = "" 
-A13681 = "" A13682 = "" A13683 = "" A13684 = "" A13685 = "" A13686 = "" A13687 = "" A13688 = "" A13689 = "" A13690 = "" 
-A13691 = "" A13692 = "" A13693 = "" A13694 = "" A13695 = "" A13696 = "" A13697 = "" A13698 = "" A13699 = "" A13700 = "" 
-A13701 = "" A13702 = "" A13703 = "" A13704 = "" A13705 = "" A13706 = "" A13707 = "" A13708 = "" A13709 = "" A13710 = "" 
-A13711 = "" A13712 = "" A13713 = "" A13714 = "" A13715 = "" A13716 = "" A13717 = "" A13718 = "" A13719 = "" A13720 = "" 
-A13721 = "" A13722 = "" A13723 = "" A13724 = "" A13725 = "" A13726 = "" A13727 = "" A13728 = "" A13729 = "" A13730 = "" 
-A13731 = "" A13732 = "" A13733 = "" A13734 = "" A13735 = "" A13736 = "" A13737 = "" A13738 = "" A13739 = "" A13740 = "" 
-A13741 = "" A13742 = "" A13743 = "" A13744 = "" A13745 = "" A13746 = "" A13747 = "" A13748 = "" A13749 = "" A13750 = "" 
-A13751 = "" A13752 = "" A13753 = "" A13754 = "" A13755 = "" A13756 = "" A13757 = "" A13758 = "" A13759 = "" A13760 = "" 
-A13761 = "" A13762 = "" A13763 = "" A13764 = "" A13765 = "" A13766 = "" A13767 = "" A13768 = "" A13769 = "" A13770 = "" 
-A13771 = "" A13772 = "" A13773 = "" A13774 = "" A13775 = "" A13776 = "" A13777 = "" A13778 = "" A13779 = "" A13780 = "" 
-A13781 = "" A13782 = "" A13783 = "" A13784 = "" A13785 = "" A13786 = "" A13787 = "" A13788 = "" A13789 = "" A13790 = "" 
-A13791 = "" A13792 = "" A13793 = "" A13794 = "" A13795 = "" A13796 = "" A13797 = "" A13798 = "" A13799 = "" A13800 = "" 
-A13801 = "" A13802 = "" A13803 = "" A13804 = "" A13805 = "" A13806 = "" A13807 = "" A13808 = "" A13809 = "" A13810 = "" 
-A13811 = "" A13812 = "" A13813 = "" A13814 = "" A13815 = "" A13816 = "" A13817 = "" A13818 = "" A13819 = "" A13820 = "" 
-A13821 = "" A13822 = "" A13823 = "" A13824 = "" A13825 = "" A13826 = "" A13827 = "" A13828 = "" A13829 = "" A13830 = "" 
-A13831 = "" A13832 = "" A13833 = "" A13834 = "" A13835 = "" A13836 = "" A13837 = "" A13838 = "" A13839 = "" A13840 = "" 
-A13841 = "" A13842 = "" A13843 = "" A13844 = "" A13845 = "" A13846 = "" A13847 = "" A13848 = "" A13849 = "" A13850 = "" 
-A13851 = "" A13852 = "" A13853 = "" A13854 = "" A13855 = "" A13856 = "" A13857 = "" A13858 = "" A13859 = "" A13860 = "" 
-A13861 = "" A13862 = "" A13863 = "" A13864 = "" A13865 = "" A13866 = "" A13867 = "" A13868 = "" A13869 = "" A13870 = "" 
-A13871 = "" A13872 = "" A13873 = "" A13874 = "" A13875 = "" A13876 = "" A13877 = "" A13878 = "" A13879 = "" A13880 = "" 
-A13881 = "" A13882 = "" A13883 = "" A13884 = "" A13885 = "" A13886 = "" A13887 = "" A13888 = "" A13889 = "" A13890 = "" 
-A13891 = "" A13892 = "" A13893 = "" A13894 = "" A13895 = "" A13896 = "" A13897 = "" A13898 = "" A13899 = "" A13900 = "" 
-A13901 = "" A13902 = "" A13903 = "" A13904 = "" A13905 = "" A13906 = "" A13907 = "" A13908 = "" A13909 = "" A13910 = "" 
-A13911 = "" A13912 = "" A13913 = "" A13914 = "" A13915 = "" A13916 = "" A13917 = "" A13918 = "" A13919 = "" A13920 = "" 
-A13921 = "" A13922 = "" A13923 = "" A13924 = "" A13925 = "" A13926 = "" A13927 = "" A13928 = "" A13929 = "" A13930 = "" 
-A13931 = "" A13932 = "" A13933 = "" A13934 = "" A13935 = "" A13936 = "" A13937 = "" A13938 = "" A13939 = "" A13940 = "" 
-A13941 = "" A13942 = "" A13943 = "" A13944 = "" A13945 = "" A13946 = "" A13947 = "" A13948 = "" A13949 = "" A13950 = "" 
-A13951 = "" A13952 = "" A13953 = "" A13954 = "" A13955 = "" A13956 = "" A13957 = "" A13958 = "" A13959 = "" A13960 = "" 
-A13961 = "" A13962 = "" A13963 = "" A13964 = "" A13965 = "" A13966 = "" A13967 = "" A13968 = "" A13969 = "" A13970 = "" 
-A13971 = "" A13972 = "" A13973 = "" A13974 = "" A13975 = "" A13976 = "" A13977 = "" A13978 = "" A13979 = "" A13980 = "" 
-A13981 = "" A13982 = "" A13983 = "" A13984 = "" A13985 = "" A13986 = "" A13987 = "" A13988 = "" A13989 = "" A13990 = "" 
-A13991 = "" A13992 = "" A13993 = "" A13994 = "" A13995 = "" A13996 = "" A13997 = "" A13998 = "" A13999 = "" A14000 = "" 
-A14001 = "" A14002 = "" A14003 = "" A14004 = "" A14005 = "" A14006 = "" A14007 = "" A14008 = "" A14009 = "" A14010 = "" 
-A14011 = "" A14012 = "" A14013 = "" A14014 = "" A14015 = "" A14016 = "" A14017 = "" A14018 = "" A14019 = "" A14020 = "" 
-A14021 = "" A14022 = "" A14023 = "" A14024 = "" A14025 = "" A14026 = "" A14027 = "" A14028 = "" A14029 = "" A14030 = "" 
-A14031 = "" A14032 = "" A14033 = "" A14034 = "" A14035 = "" A14036 = "" A14037 = "" A14038 = "" A14039 = "" A14040 = "" 
-A14041 = "" A14042 = "" A14043 = "" A14044 = "" A14045 = "" A14046 = "" A14047 = "" A14048 = "" A14049 = "" A14050 = "" 
-A14051 = "" A14052 = "" A14053 = "" A14054 = "" A14055 = "" A14056 = "" A14057 = "" A14058 = "" A14059 = "" A14060 = "" 
-A14061 = "" A14062 = "" A14063 = "" A14064 = "" A14065 = "" A14066 = "" A14067 = "" A14068 = "" A14069 = "" A14070 = "" 
-A14071 = "" A14072 = "" A14073 = "" A14074 = "" A14075 = "" A14076 = "" A14077 = "" A14078 = "" A14079 = "" A14080 = "" 
-A14081 = "" A14082 = "" A14083 = "" A14084 = "" A14085 = "" A14086 = "" A14087 = "" A14088 = "" A14089 = "" A14090 = "" 
-A14091 = "" A14092 = "" A14093 = "" A14094 = "" A14095 = "" A14096 = "" A14097 = "" A14098 = "" A14099 = "" A14100 = "" 
-A14101 = "" A14102 = "" A14103 = "" A14104 = "" A14105 = "" A14106 = "" A14107 = "" A14108 = "" A14109 = "" A14110 = "" 
-A14111 = "" A14112 = "" A14113 = "" A14114 = "" A14115 = "" A14116 = "" A14117 = "" A14118 = "" A14119 = "" A14120 = "" 
-A14121 = "" A14122 = "" A14123 = "" A14124 = "" A14125 = "" A14126 = "" A14127 = "" A14128 = "" A14129 = "" A14130 = "" 
-A14131 = "" A14132 = "" A14133 = "" A14134 = "" A14135 = "" A14136 = "" A14137 = "" A14138 = "" A14139 = "" A14140 = "" 
-A14141 = "" A14142 = "" A14143 = "" A14144 = "" A14145 = "" A14146 = "" A14147 = "" A14148 = "" A14149 = "" A14150 = "" 
-A14151 = "" A14152 = "" A14153 = "" A14154 = "" A14155 = "" A14156 = "" A14157 = "" A14158 = "" A14159 = "" A14160 = "" 
-A14161 = "" A14162 = "" A14163 = "" A14164 = "" A14165 = "" A14166 = "" A14167 = "" A14168 = "" A14169 = "" A14170 = "" 
-A14171 = "" A14172 = "" A14173 = "" A14174 = "" A14175 = "" A14176 = "" A14177 = "" A14178 = "" A14179 = "" A14180 = "" 
-A14181 = "" A14182 = "" A14183 = "" A14184 = "" A14185 = "" A14186 = "" A14187 = "" A14188 = "" A14189 = "" A14190 = "" 
-A14191 = "" A14192 = "" A14193 = "" A14194 = "" A14195 = "" A14196 = "" A14197 = "" A14198 = "" A14199 = "" A14200 = "" 
-A14201 = "" A14202 = "" A14203 = "" A14204 = "" A14205 = "" A14206 = "" A14207 = "" A14208 = "" A14209 = "" A14210 = "" 
-A14211 = "" A14212 = "" A14213 = "" A14214 = "" A14215 = "" A14216 = "" A14217 = "" A14218 = "" A14219 = "" A14220 = "" 
-A14221 = "" A14222 = "" A14223 = "" A14224 = "" A14225 = "" A14226 = "" A14227 = "" A14228 = "" A14229 = "" A14230 = "" 
-A14231 = "" A14232 = "" A14233 = "" A14234 = "" A14235 = "" A14236 = "" A14237 = "" A14238 = "" A14239 = "" A14240 = "" 
-A14241 = "" A14242 = "" A14243 = "" A14244 = "" A14245 = "" A14246 = "" A14247 = "" A14248 = "" A14249 = "" A14250 = "" 
-A14251 = "" A14252 = "" A14253 = "" A14254 = "" A14255 = "" A14256 = "" A14257 = "" A14258 = "" A14259 = "" A14260 = "" 
-A14261 = "" A14262 = "" A14263 = "" A14264 = "" A14265 = "" A14266 = "" A14267 = "" A14268 = "" A14269 = "" A14270 = "" 
-A14271 = "" A14272 = "" A14273 = "" A14274 = "" A14275 = "" A14276 = "" A14277 = "" A14278 = "" A14279 = "" A14280 = "" 
-A14281 = "" A14282 = "" A14283 = "" A14284 = "" A14285 = "" A14286 = "" A14287 = "" A14288 = "" A14289 = "" A14290 = "" 
-A14291 = "" A14292 = "" A14293 = "" A14294 = "" A14295 = "" A14296 = "" A14297 = "" A14298 = "" A14299 = "" A14300 = "" 
-A14301 = "" A14302 = "" A14303 = "" A14304 = "" A14305 = "" A14306 = "" A14307 = "" A14308 = "" A14309 = "" A14310 = "" 
-A14311 = "" A14312 = "" A14313 = "" A14314 = "" A14315 = "" A14316 = "" A14317 = "" A14318 = "" A14319 = "" A14320 = "" 
-A14321 = "" A14322 = "" A14323 = "" A14324 = "" A14325 = "" A14326 = "" A14327 = "" A14328 = "" A14329 = "" A14330 = "" 
-A14331 = "" A14332 = "" A14333 = "" A14334 = "" A14335 = "" A14336 = "" A14337 = "" A14338 = "" A14339 = "" A14340 = "" 
-A14341 = "" A14342 = "" A14343 = "" A14344 = "" A14345 = "" A14346 = "" A14347 = "" A14348 = "" A14349 = "" A14350 = "" 
-A14351 = "" A14352 = "" A14353 = "" A14354 = "" A14355 = "" A14356 = "" A14357 = "" A14358 = "" A14359 = "" A14360 = "" 
-A14361 = "" A14362 = "" A14363 = "" A14364 = "" A14365 = "" A14366 = "" A14367 = "" A14368 = "" A14369 = "" A14370 = "" 
-A14371 = "" A14372 = "" A14373 = "" A14374 = "" A14375 = "" A14376 = "" A14377 = "" A14378 = "" A14379 = "" A14380 = "" 
-A14381 = "" A14382 = "" A14383 = "" A14384 = "" A14385 = "" A14386 = "" A14387 = "" A14388 = "" A14389 = "" A14390 = "" 
-A14391 = "" A14392 = "" A14393 = "" A14394 = "" A14395 = "" A14396 = "" A14397 = "" A14398 = "" A14399 = "" A14400 = "" 
-A14401 = "" A14402 = "" A14403 = "" A14404 = "" A14405 = "" A14406 = "" A14407 = "" A14408 = "" A14409 = "" A14410 = "" 
-A14411 = "" A14412 = "" A14413 = "" A14414 = "" A14415 = "" A14416 = "" A14417 = "" A14418 = "" A14419 = "" A14420 = "" 
-A14421 = "" A14422 = "" A14423 = "" A14424 = "" A14425 = "" A14426 = "" A14427 = "" A14428 = "" A14429 = "" A14430 = "" 
-A14431 = "" A14432 = "" A14433 = "" A14434 = "" A14435 = "" A14436 = "" A14437 = "" A14438 = "" A14439 = "" A14440 = "" 
-A14441 = "" A14442 = "" A14443 = "" A14444 = "" A14445 = "" A14446 = "" A14447 = "" A14448 = "" A14449 = "" A14450 = "" 
-A14451 = "" A14452 = "" A14453 = "" A14454 = "" A14455 = "" A14456 = "" A14457 = "" A14458 = "" A14459 = "" A14460 = "" 
-A14461 = "" A14462 = "" A14463 = "" A14464 = "" A14465 = "" A14466 = "" A14467 = "" A14468 = "" A14469 = "" A14470 = "" 
-A14471 = "" A14472 = "" A14473 = "" A14474 = "" A14475 = "" A14476 = "" A14477 = "" A14478 = "" A14479 = "" A14480 = "" 
-A14481 = "" A14482 = "" A14483 = "" A14484 = "" A14485 = "" A14486 = "" A14487 = "" A14488 = "" A14489 = "" A14490 = "" 
-A14491 = "" A14492 = "" A14493 = "" A14494 = "" A14495 = "" A14496 = "" A14497 = "" A14498 = "" A14499 = "" A14500 = "" 
-A14501 = "" A14502 = "" A14503 = "" A14504 = "" A14505 = "" A14506 = "" A14507 = "" A14508 = "" A14509 = "" A14510 = "" 
-A14511 = "" A14512 = "" A14513 = "" A14514 = "" A14515 = "" A14516 = "" A14517 = "" A14518 = "" A14519 = "" A14520 = "" 
-A14521 = "" A14522 = "" A14523 = "" A14524 = "" A14525 = "" A14526 = "" A14527 = "" A14528 = "" A14529 = "" A14530 = "" 
-A14531 = "" A14532 = "" A14533 = "" A14534 = "" A14535 = "" A14536 = "" A14537 = "" A14538 = "" A14539 = "" A14540 = "" 
-A14541 = "" A14542 = "" A14543 = "" A14544 = "" A14545 = "" A14546 = "" A14547 = "" A14548 = "" A14549 = "" A14550 = "" 
-A14551 = "" A14552 = "" A14553 = "" A14554 = "" A14555 = "" A14556 = "" A14557 = "" A14558 = "" A14559 = "" A14560 = "" 
-A14561 = "" A14562 = "" A14563 = "" A14564 = "" A14565 = "" A14566 = "" A14567 = "" A14568 = "" A14569 = "" A14570 = "" 
-A14571 = "" A14572 = "" A14573 = "" A14574 = "" A14575 = "" A14576 = "" A14577 = "" A14578 = "" A14579 = "" A14580 = "" 
-A14581 = "" A14582 = "" A14583 = "" A14584 = "" A14585 = "" A14586 = "" A14587 = "" A14588 = "" A14589 = "" A14590 = "" 
-A14591 = "" A14592 = "" A14593 = "" A14594 = "" A14595 = "" A14596 = "" A14597 = "" A14598 = "" A14599 = "" A14600 = "" 
-A14601 = "" A14602 = "" A14603 = "" A14604 = "" A14605 = "" A14606 = "" A14607 = "" A14608 = "" A14609 = "" A14610 = "" 
-A14611 = "" A14612 = "" A14613 = "" A14614 = "" A14615 = "" A14616 = "" A14617 = "" A14618 = "" A14619 = "" A14620 = "" 
-A14621 = "" A14622 = "" A14623 = "" A14624 = "" A14625 = "" A14626 = "" A14627 = "" A14628 = "" A14629 = "" A14630 = "" 
-A14631 = "" A14632 = "" A14633 = "" A14634 = "" A14635 = "" A14636 = "" A14637 = "" A14638 = "" A14639 = "" A14640 = "" 
-A14641 = "" A14642 = "" A14643 = "" A14644 = "" A14645 = "" A14646 = "" A14647 = "" A14648 = "" A14649 = "" A14650 = "" 
-A14651 = "" A14652 = "" A14653 = "" A14654 = "" A14655 = "" A14656 = "" A14657 = "" A14658 = "" A14659 = "" A14660 = "" 
-A14661 = "" A14662 = "" A14663 = "" A14664 = "" A14665 = "" A14666 = "" A14667 = "" A14668 = "" A14669 = "" A14670 = "" 
-A14671 = "" A14672 = "" A14673 = "" A14674 = "" A14675 = "" A14676 = "" A14677 = "" A14678 = "" A14679 = "" A14680 = "" 
-A14681 = "" A14682 = "" A14683 = "" A14684 = "" A14685 = "" A14686 = "" A14687 = "" A14688 = "" A14689 = "" A14690 = "" 
-A14691 = "" A14692 = "" A14693 = "" A14694 = "" A14695 = "" A14696 = "" A14697 = "" A14698 = "" A14699 = "" A14700 = "" 
-A14701 = "" A14702 = "" A14703 = "" A14704 = "" A14705 = "" A14706 = "" A14707 = "" A14708 = "" A14709 = "" A14710 = "" 
-A14711 = "" A14712 = "" A14713 = "" A14714 = "" A14715 = "" A14716 = "" A14717 = "" A14718 = "" A14719 = "" A14720 = "" 
-A14721 = "" A14722 = "" A14723 = "" A14724 = "" A14725 = "" A14726 = "" A14727 = "" A14728 = "" A14729 = "" A14730 = "" 
-A14731 = "" A14732 = "" A14733 = "" A14734 = "" A14735 = "" A14736 = "" A14737 = "" A14738 = "" A14739 = "" A14740 = "" 
-A14741 = "" A14742 = "" A14743 = "" A14744 = "" A14745 = "" A14746 = "" A14747 = "" A14748 = "" A14749 = "" A14750 = "" 
-A14751 = "" A14752 = "" A14753 = "" A14754 = "" A14755 = "" A14756 = "" A14757 = "" A14758 = "" A14759 = "" A14760 = "" 
-A14761 = "" A14762 = "" A14763 = "" A14764 = "" A14765 = "" A14766 = "" A14767 = "" A14768 = "" A14769 = "" A14770 = "" 
-A14771 = "" A14772 = "" A14773 = "" A14774 = "" A14775 = "" A14776 = "" A14777 = "" A14778 = "" A14779 = "" A14780 = "" 
-A14781 = "" A14782 = "" A14783 = "" A14784 = "" A14785 = "" A14786 = "" A14787 = "" A14788 = "" A14789 = "" A14790 = "" 
-A14791 = "" A14792 = "" A14793 = "" A14794 = "" A14795 = "" A14796 = "" A14797 = "" A14798 = "" A14799 = "" A14800 = "" 
-A14801 = "" A14802 = "" A14803 = "" A14804 = "" A14805 = "" A14806 = "" A14807 = "" A14808 = "" A14809 = "" A14810 = "" 
-A14811 = "" A14812 = "" A14813 = "" A14814 = "" A14815 = "" A14816 = "" A14817 = "" A14818 = "" A14819 = "" A14820 = "" 
-A14821 = "" A14822 = "" A14823 = "" A14824 = "" A14825 = "" A14826 = "" A14827 = "" A14828 = "" A14829 = "" A14830 = "" 
-A14831 = "" A14832 = "" A14833 = "" A14834 = "" A14835 = "" A14836 = "" A14837 = "" A14838 = "" A14839 = "" A14840 = "" 
-A14841 = "" A14842 = "" A14843 = "" A14844 = "" A14845 = "" A14846 = "" A14847 = "" A14848 = "" A14849 = "" A14850 = "" 
-A14851 = "" A14852 = "" A14853 = "" A14854 = "" A14855 = "" A14856 = "" A14857 = "" A14858 = "" A14859 = "" A14860 = "" 
-A14861 = "" A14862 = "" A14863 = "" A14864 = "" A14865 = "" A14866 = "" A14867 = "" A14868 = "" A14869 = "" A14870 = "" 
-A14871 = "" A14872 = "" A14873 = "" A14874 = "" A14875 = "" A14876 = "" A14877 = "" A14878 = "" A14879 = "" A14880 = "" 
-A14881 = "" A14882 = "" A14883 = "" A14884 = "" A14885 = "" A14886 = "" A14887 = "" A14888 = "" A14889 = "" A14890 = "" 
-A14891 = "" A14892 = "" A14893 = "" A14894 = "" A14895 = "" A14896 = "" A14897 = "" A14898 = "" A14899 = "" A14900 = "" 
-A14901 = "" A14902 = "" A14903 = "" A14904 = "" A14905 = "" A14906 = "" A14907 = "" A14908 = "" A14909 = "" A14910 = "" 
-A14911 = "" A14912 = "" A14913 = "" A14914 = "" A14915 = "" A14916 = "" A14917 = "" A14918 = "" A14919 = "" A14920 = "" 
-A14921 = "" A14922 = "" A14923 = "" A14924 = "" A14925 = "" A14926 = "" A14927 = "" A14928 = "" A14929 = "" A14930 = "" 
-A14931 = "" A14932 = "" A14933 = "" A14934 = "" A14935 = "" A14936 = "" A14937 = "" A14938 = "" A14939 = "" A14940 = "" 
-A14941 = "" A14942 = "" A14943 = "" A14944 = "" A14945 = "" A14946 = "" A14947 = "" A14948 = "" A14949 = "" A14950 = "" 
-A14951 = "" A14952 = "" A14953 = "" A14954 = "" A14955 = "" A14956 = "" A14957 = "" A14958 = "" A14959 = "" A14960 = "" 
-A14961 = "" A14962 = "" A14963 = "" A14964 = "" A14965 = "" A14966 = "" A14967 = "" A14968 = "" A14969 = "" A14970 = "" 
-A14971 = "" A14972 = "" A14973 = "" A14974 = "" A14975 = "" A14976 = "" A14977 = "" A14978 = "" A14979 = "" A14980 = "" 
-A14981 = "" A14982 = "" A14983 = "" A14984 = "" A14985 = "" A14986 = "" A14987 = "" A14988 = "" A14989 = "" A14990 = "" 
-A14991 = "" A14992 = "" A14993 = "" A14994 = "" A14995 = "" A14996 = "" A14997 = "" A14998 = "" A14999 = "" A15000 = "" 
-A15001 = "" A15002 = "" A15003 = "" A15004 = "" A15005 = "" A15006 = "" A15007 = "" A15008 = "" A15009 = "" A15010 = "" 
-A15011 = "" A15012 = "" A15013 = "" A15014 = "" A15015 = "" A15016 = "" A15017 = "" A15018 = "" A15019 = "" A15020 = "" 
-A15021 = "" A15022 = "" A15023 = "" A15024 = "" A15025 = "" A15026 = "" A15027 = "" A15028 = "" A15029 = "" A15030 = "" 
-A15031 = "" A15032 = "" A15033 = "" A15034 = "" A15035 = "" A15036 = "" A15037 = "" A15038 = "" A15039 = "" A15040 = "" 
-A15041 = "" A15042 = "" A15043 = "" A15044 = "" A15045 = "" A15046 = "" A15047 = "" A15048 = "" A15049 = "" A15050 = "" 
-A15051 = "" A15052 = "" A15053 = "" A15054 = "" A15055 = "" A15056 = "" A15057 = "" A15058 = "" A15059 = "" A15060 = "" 
-A15061 = "" A15062 = "" A15063 = "" A15064 = "" A15065 = "" A15066 = "" A15067 = "" A15068 = "" A15069 = "" A15070 = "" 
-A15071 = "" A15072 = "" A15073 = "" A15074 = "" A15075 = "" A15076 = "" A15077 = "" A15078 = "" A15079 = "" A15080 = "" 
-A15081 = "" A15082 = "" A15083 = "" A15084 = "" A15085 = "" A15086 = "" A15087 = "" A15088 = "" A15089 = "" A15090 = "" 
-A15091 = "" A15092 = "" A15093 = "" A15094 = "" A15095 = "" A15096 = "" A15097 = "" A15098 = "" A15099 = "" A15100 = "" 
-A15101 = "" A15102 = "" A15103 = "" A15104 = "" A15105 = "" A15106 = "" A15107 = "" A15108 = "" A15109 = "" A15110 = "" 
-A15111 = "" A15112 = "" A15113 = "" A15114 = "" A15115 = "" A15116 = "" A15117 = "" A15118 = "" A15119 = "" A15120 = "" 
-A15121 = "" A15122 = "" A15123 = "" A15124 = "" A15125 = "" A15126 = "" A15127 = "" A15128 = "" A15129 = "" A15130 = "" 
-A15131 = "" A15132 = "" A15133 = "" A15134 = "" A15135 = "" A15136 = "" A15137 = "" A15138 = "" A15139 = "" A15140 = "" 
-A15141 = "" A15142 = "" A15143 = "" A15144 = "" A15145 = "" A15146 = "" A15147 = "" A15148 = "" A15149 = "" A15150 = "" 
-A15151 = "" A15152 = "" A15153 = "" A15154 = "" A15155 = "" A15156 = "" A15157 = "" A15158 = "" A15159 = "" A15160 = "" 
-A15161 = "" A15162 = "" A15163 = "" A15164 = "" A15165 = "" A15166 = "" A15167 = "" A15168 = "" A15169 = "" A15170 = "" 
-A15171 = "" A15172 = "" A15173 = "" A15174 = "" A15175 = "" A15176 = "" A15177 = "" A15178 = "" A15179 = "" A15180 = "" 
-A15181 = "" A15182 = "" A15183 = "" A15184 = "" A15185 = "" A15186 = "" A15187 = "" A15188 = "" A15189 = "" A15190 = "" 
-A15191 = "" A15192 = "" A15193 = "" A15194 = "" A15195 = "" A15196 = "" A15197 = "" A15198 = "" A15199 = "" A15200 = "" 
-A15201 = "" A15202 = "" A15203 = "" A15204 = "" A15205 = "" A15206 = "" A15207 = "" A15208 = "" A15209 = "" A15210 = "" 
-A15211 = "" A15212 = "" A15213 = "" A15214 = "" A15215 = "" A15216 = "" A15217 = "" A15218 = "" A15219 = "" A15220 = "" 
-A15221 = "" A15222 = "" A15223 = "" A15224 = "" A15225 = "" A15226 = "" A15227 = "" A15228 = "" A15229 = "" A15230 = "" 
-A15231 = "" A15232 = "" A15233 = "" A15234 = "" A15235 = "" A15236 = "" A15237 = "" A15238 = "" A15239 = "" A15240 = "" 
-A15241 = "" A15242 = "" A15243 = "" A15244 = "" A15245 = "" A15246 = "" A15247 = "" A15248 = "" A15249 = "" A15250 = "" 
-A15251 = "" A15252 = "" A15253 = "" A15254 = "" A15255 = "" A15256 = "" A15257 = "" A15258 = "" A15259 = "" A15260 = "" 
-A15261 = "" A15262 = "" A15263 = "" A15264 = "" A15265 = "" A15266 = "" A15267 = "" A15268 = "" A15269 = "" A15270 = "" 
-A15271 = "" A15272 = "" A15273 = "" A15274 = "" A15275 = "" A15276 = "" A15277 = "" A15278 = "" A15279 = "" A15280 = "" 
-A15281 = "" A15282 = "" A15283 = "" A15284 = "" A15285 = "" A15286 = "" A15287 = "" A15288 = "" A15289 = "" A15290 = "" 
-A15291 = "" A15292 = "" A15293 = "" A15294 = "" A15295 = "" A15296 = "" A15297 = "" A15298 = "" A15299 = "" A15300 = "" 
-A15301 = "" A15302 = "" A15303 = "" A15304 = "" A15305 = "" A15306 = "" A15307 = "" A15308 = "" A15309 = "" A15310 = "" 
-A15311 = "" A15312 = "" A15313 = "" A15314 = "" A15315 = "" A15316 = "" A15317 = "" A15318 = "" A15319 = "" A15320 = "" 
-A15321 = "" A15322 = "" A15323 = "" A15324 = "" A15325 = "" A15326 = "" A15327 = "" A15328 = "" A15329 = "" A15330 = "" 
-A15331 = "" A15332 = "" A15333 = "" A15334 = "" A15335 = "" A15336 = "" A15337 = "" A15338 = "" A15339 = "" A15340 = "" 
-A15341 = "" A15342 = "" A15343 = "" A15344 = "" A15345 = "" A15346 = "" A15347 = "" A15348 = "" A15349 = "" A15350 = "" 
-A15351 = "" A15352 = "" A15353 = "" A15354 = "" A15355 = "" A15356 = "" A15357 = "" A15358 = "" A15359 = "" A15360 = "" 
-A15361 = "" A15362 = "" A15363 = "" A15364 = "" A15365 = "" A15366 = "" A15367 = "" A15368 = "" A15369 = "" A15370 = "" 
-A15371 = "" A15372 = "" A15373 = "" A15374 = "" A15375 = "" A15376 = "" A15377 = "" A15378 = "" A15379 = "" A15380 = "" 
-A15381 = "" A15382 = "" A15383 = "" A15384 = "" A15385 = "" A15386 = "" A15387 = "" A15388 = "" A15389 = "" A15390 = "" 
-A15391 = "" A15392 = "" A15393 = "" A15394 = "" A15395 = "" A15396 = "" A15397 = "" A15398 = "" A15399 = "" A15400 = "" 
-A15401 = "" A15402 = "" A15403 = "" A15404 = "" A15405 = "" A15406 = "" A15407 = "" A15408 = "" A15409 = "" A15410 = "" 
-A15411 = "" A15412 = "" A15413 = "" A15414 = "" A15415 = "" A15416 = "" A15417 = "" A15418 = "" A15419 = "" A15420 = "" 
-A15421 = "" A15422 = "" A15423 = "" A15424 = "" A15425 = "" A15426 = "" A15427 = "" A15428 = "" A15429 = "" A15430 = "" 
-A15431 = "" A15432 = "" A15433 = "" A15434 = "" A15435 = "" A15436 = "" A15437 = "" A15438 = "" A15439 = "" A15440 = "" 
-A15441 = "" A15442 = "" A15443 = "" A15444 = "" A15445 = "" A15446 = "" A15447 = "" A15448 = "" A15449 = "" A15450 = "" 
-A15451 = "" A15452 = "" A15453 = "" A15454 = "" A15455 = "" A15456 = "" A15457 = "" A15458 = "" A15459 = "" A15460 = "" 
-A15461 = "" A15462 = "" A15463 = "" A15464 = "" A15465 = "" A15466 = "" A15467 = "" A15468 = "" A15469 = "" A15470 = "" 
-A15471 = "" A15472 = "" A15473 = "" A15474 = "" A15475 = "" A15476 = "" A15477 = "" A15478 = "" A15479 = "" A15480 = "" 
-A15481 = "" A15482 = "" A15483 = "" A15484 = "" A15485 = "" A15486 = "" A15487 = "" A15488 = "" A15489 = "" A15490 = "" 
-A15491 = "" A15492 = "" A15493 = "" A15494 = "" A15495 = "" A15496 = "" A15497 = "" A15498 = "" A15499 = "" A15500 = "" 
-A15501 = "" A15502 = "" A15503 = "" A15504 = "" A15505 = "" A15506 = "" A15507 = "" A15508 = "" A15509 = "" A15510 = "" 
-A15511 = "" A15512 = "" A15513 = "" A15514 = "" A15515 = "" A15516 = "" A15517 = "" A15518 = "" A15519 = "" A15520 = "" 
-A15521 = "" A15522 = "" A15523 = "" A15524 = "" A15525 = "" A15526 = "" A15527 = "" A15528 = "" A15529 = "" A15530 = "" 
-A15531 = "" A15532 = "" A15533 = "" A15534 = "" A15535 = "" A15536 = "" A15537 = "" A15538 = "" A15539 = "" A15540 = "" 
-A15541 = "" A15542 = "" A15543 = "" A15544 = "" A15545 = "" A15546 = "" A15547 = "" A15548 = "" A15549 = "" A15550 = "" 
-A15551 = "" A15552 = "" A15553 = "" A15554 = "" A15555 = "" A15556 = "" A15557 = "" A15558 = "" A15559 = "" A15560 = "" 
-A15561 = "" A15562 = "" A15563 = "" A15564 = "" A15565 = "" A15566 = "" A15567 = "" A15568 = "" A15569 = "" A15570 = "" 
-A15571 = "" A15572 = "" A15573 = "" A15574 = "" A15575 = "" A15576 = "" A15577 = "" A15578 = "" A15579 = "" A15580 = "" 
-A15581 = "" A15582 = "" A15583 = "" A15584 = "" A15585 = "" A15586 = "" A15587 = "" A15588 = "" A15589 = "" A15590 = "" 
-A15591 = "" A15592 = "" A15593 = "" A15594 = "" A15595 = "" A15596 = "" A15597 = "" A15598 = "" A15599 = "" A15600 = "" 
-A15601 = "" A15602 = "" A15603 = "" A15604 = "" A15605 = "" A15606 = "" A15607 = "" A15608 = "" A15609 = "" A15610 = "" 
-A15611 = "" A15612 = "" A15613 = "" A15614 = "" A15615 = "" A15616 = "" A15617 = "" A15618 = "" A15619 = "" A15620 = "" 
-A15621 = "" A15622 = "" A15623 = "" A15624 = "" A15625 = "" A15626 = "" A15627 = "" A15628 = "" A15629 = "" A15630 = "" 
-A15631 = "" A15632 = "" A15633 = "" A15634 = "" A15635 = "" A15636 = "" A15637 = "" A15638 = "" A15639 = "" A15640 = "" 
-A15641 = "" A15642 = "" A15643 = "" A15644 = "" A15645 = "" A15646 = "" A15647 = "" A15648 = "" A15649 = "" A15650 = "" 
-A15651 = "" A15652 = "" A15653 = "" A15654 = "" A15655 = "" A15656 = "" A15657 = "" A15658 = "" A15659 = "" A15660 = "" 
-A15661 = "" A15662 = "" A15663 = "" A15664 = "" A15665 = "" A15666 = "" A15667 = "" A15668 = "" A15669 = "" A15670 = "" 
-A15671 = "" A15672 = "" A15673 = "" A15674 = "" A15675 = "" A15676 = "" A15677 = "" A15678 = "" A15679 = "" A15680 = "" 
-A15681 = "" A15682 = "" A15683 = "" A15684 = "" A15685 = "" A15686 = "" A15687 = "" A15688 = "" A15689 = "" A15690 = "" 
-A15691 = "" A15692 = "" A15693 = "" A15694 = "" A15695 = "" A15696 = "" A15697 = "" A15698 = "" A15699 = "" A15700 = "" 
-A15701 = "" A15702 = "" A15703 = "" A15704 = "" A15705 = "" A15706 = "" A15707 = "" A15708 = "" A15709 = "" A15710 = "" 
-A15711 = "" A15712 = "" A15713 = "" A15714 = "" A15715 = "" A15716 = "" A15717 = "" A15718 = "" A15719 = "" A15720 = "" 
-A15721 = "" A15722 = "" A15723 = "" A15724 = "" A15725 = "" A15726 = "" A15727 = "" A15728 = "" A15729 = "" A15730 = "" 
-A15731 = "" A15732 = "" A15733 = "" A15734 = "" A15735 = "" A15736 = "" A15737 = "" A15738 = "" A15739 = "" A15740 = "" 
-A15741 = "" A15742 = "" A15743 = "" A15744 = "" A15745 = "" A15746 = "" A15747 = "" A15748 = "" A15749 = "" A15750 = "" 
-A15751 = "" A15752 = "" A15753 = "" A15754 = "" A15755 = "" A15756 = "" A15757 = "" A15758 = "" A15759 = "" A15760 = "" 
-A15761 = "" A15762 = "" A15763 = "" A15764 = "" A15765 = "" A15766 = "" A15767 = "" A15768 = "" A15769 = "" A15770 = "" 
-A15771 = "" A15772 = "" A15773 = "" A15774 = "" A15775 = "" A15776 = "" A15777 = "" A15778 = "" A15779 = "" A15780 = "" 
-A15781 = "" A15782 = "" A15783 = "" A15784 = "" A15785 = "" A15786 = "" A15787 = "" A15788 = "" A15789 = "" A15790 = "" 
-A15791 = "" A15792 = "" A15793 = "" A15794 = "" A15795 = "" A15796 = "" A15797 = "" A15798 = "" A15799 = "" A15800 = "" 
-A15801 = "" A15802 = "" A15803 = "" A15804 = "" A15805 = "" A15806 = "" A15807 = "" A15808 = "" A15809 = "" A15810 = "" 
-A15811 = "" A15812 = "" A15813 = "" A15814 = "" A15815 = "" A15816 = "" A15817 = "" A15818 = "" A15819 = "" A15820 = "" 
-A15821 = "" A15822 = "" A15823 = "" A15824 = "" A15825 = "" A15826 = "" A15827 = "" A15828 = "" A15829 = "" A15830 = "" 
-A15831 = "" A15832 = "" A15833 = "" A15834 = "" A15835 = "" A15836 = "" A15837 = "" A15838 = "" A15839 = "" A15840 = "" 
-A15841 = "" A15842 = "" A15843 = "" A15844 = "" A15845 = "" A15846 = "" A15847 = "" A15848 = "" A15849 = "" A15850 = "" 
-A15851 = "" A15852 = "" A15853 = "" A15854 = "" A15855 = "" A15856 = "" A15857 = "" A15858 = "" A15859 = "" A15860 = "" 
-A15861 = "" A15862 = "" A15863 = "" A15864 = "" A15865 = "" A15866 = "" A15867 = "" A15868 = "" A15869 = "" A15870 = "" 
-A15871 = "" A15872 = "" A15873 = "" A15874 = "" A15875 = "" A15876 = "" A15877 = "" A15878 = "" A15879 = "" A15880 = "" 
-A15881 = "" A15882 = "" A15883 = "" A15884 = "" A15885 = "" A15886 = "" A15887 = "" A15888 = "" A15889 = "" A15890 = "" 
-A15891 = "" A15892 = "" A15893 = "" A15894 = "" A15895 = "" A15896 = "" A15897 = "" A15898 = "" A15899 = "" A15900 = "" 
-A15901 = "" A15902 = "" A15903 = "" A15904 = "" A15905 = "" A15906 = "" A15907 = "" A15908 = "" A15909 = "" A15910 = "" 
-A15911 = "" A15912 = "" A15913 = "" A15914 = "" A15915 = "" A15916 = "" A15917 = "" A15918 = "" A15919 = "" A15920 = "" 
-A15921 = "" A15922 = "" A15923 = "" A15924 = "" A15925 = "" A15926 = "" A15927 = "" A15928 = "" A15929 = "" A15930 = "" 
-A15931 = "" A15932 = "" A15933 = "" A15934 = "" A15935 = "" A15936 = "" A15937 = "" A15938 = "" A15939 = "" A15940 = "" 
-A15941 = "" A15942 = "" A15943 = "" A15944 = "" A15945 = "" A15946 = "" A15947 = "" A15948 = "" A15949 = "" A15950 = "" 
-A15951 = "" A15952 = "" A15953 = "" A15954 = "" A15955 = "" A15956 = "" A15957 = "" A15958 = "" A15959 = "" A15960 = "" 
-A15961 = "" A15962 = "" A15963 = "" A15964 = "" A15965 = "" A15966 = "" A15967 = "" A15968 = "" A15969 = "" A15970 = "" 
-A15971 = "" A15972 = "" A15973 = "" A15974 = "" A15975 = "" A15976 = "" A15977 = "" A15978 = "" A15979 = "" A15980 = "" 
-A15981 = "" A15982 = "" A15983 = "" A15984 = "" A15985 = "" A15986 = "" A15987 = "" A15988 = "" A15989 = "" A15990 = "" 
-A15991 = "" A15992 = "" A15993 = "" A15994 = "" A15995 = "" A15996 = "" A15997 = "" A15998 = "" A15999 = "" A16000 = "" 
-A16001 = "" A16002 = "" A16003 = "" A16004 = "" A16005 = "" A16006 = "" A16007 = "" A16008 = "" A16009 = "" A16010 = "" 
-A16011 = "" A16012 = "" A16013 = "" A16014 = "" A16015 = "" A16016 = "" A16017 = "" A16018 = "" A16019 = "" A16020 = "" 
-A16021 = "" A16022 = "" A16023 = "" A16024 = "" A16025 = "" A16026 = "" A16027 = "" A16028 = "" A16029 = "" A16030 = "" 
-A16031 = "" A16032 = "" A16033 = "" A16034 = "" A16035 = "" A16036 = "" A16037 = "" A16038 = "" A16039 = "" A16040 = "" 
-A16041 = "" A16042 = "" A16043 = "" A16044 = "" A16045 = "" A16046 = "" A16047 = "" A16048 = "" A16049 = "" A16050 = "" 
-A16051 = "" A16052 = "" A16053 = "" A16054 = "" A16055 = "" A16056 = "" A16057 = "" A16058 = "" A16059 = "" A16060 = "" 
-A16061 = "" A16062 = "" A16063 = "" A16064 = "" A16065 = "" A16066 = "" A16067 = "" A16068 = "" A16069 = "" A16070 = "" 
-A16071 = "" A16072 = "" A16073 = "" A16074 = "" A16075 = "" A16076 = "" A16077 = "" A16078 = "" A16079 = "" A16080 = "" 
-A16081 = "" A16082 = "" A16083 = "" A16084 = "" A16085 = "" A16086 = "" A16087 = "" A16088 = "" A16089 = "" A16090 = "" 
-A16091 = "" A16092 = "" A16093 = "" A16094 = "" A16095 = "" A16096 = "" A16097 = "" A16098 = "" A16099 = "" A16100 = "" 
-A16101 = "" A16102 = "" A16103 = "" A16104 = "" A16105 = "" A16106 = "" A16107 = "" A16108 = "" A16109 = "" A16110 = "" 
-A16111 = "" A16112 = "" A16113 = "" A16114 = "" A16115 = "" A16116 = "" A16117 = "" A16118 = "" A16119 = "" A16120 = "" 
-A16121 = "" A16122 = "" A16123 = "" A16124 = "" A16125 = "" A16126 = "" A16127 = "" A16128 = "" A16129 = "" A16130 = "" 
-A16131 = "" A16132 = "" A16133 = "" A16134 = "" A16135 = "" A16136 = "" A16137 = "" A16138 = "" A16139 = "" A16140 = "" 
-A16141 = "" A16142 = "" A16143 = "" A16144 = "" A16145 = "" A16146 = "" A16147 = "" A16148 = "" A16149 = "" A16150 = "" 
-A16151 = "" A16152 = "" A16153 = "" A16154 = "" A16155 = "" A16156 = "" A16157 = "" A16158 = "" A16159 = "" A16160 = "" 
-A16161 = "" A16162 = "" A16163 = "" A16164 = "" A16165 = "" A16166 = "" A16167 = "" A16168 = "" A16169 = "" A16170 = "" 
-A16171 = "" A16172 = "" A16173 = "" A16174 = "" A16175 = "" A16176 = "" A16177 = "" A16178 = "" A16179 = "" A16180 = "" 
-A16181 = "" A16182 = "" A16183 = "" A16184 = "" A16185 = "" A16186 = "" A16187 = "" A16188 = "" A16189 = "" A16190 = "" 
-A16191 = "" A16192 = "" A16193 = "" A16194 = "" A16195 = "" A16196 = "" A16197 = "" A16198 = "" A16199 = "" A16200 = "" 
-A16201 = "" A16202 = "" A16203 = "" A16204 = "" A16205 = "" A16206 = "" A16207 = "" A16208 = "" A16209 = "" A16210 = "" 
-A16211 = "" A16212 = "" A16213 = "" A16214 = "" A16215 = "" A16216 = "" A16217 = "" A16218 = "" A16219 = "" A16220 = "" 
-A16221 = "" A16222 = "" A16223 = "" A16224 = "" A16225 = "" A16226 = "" A16227 = "" A16228 = "" A16229 = "" A16230 = "" 
-A16231 = "" A16232 = "" A16233 = "" A16234 = "" A16235 = "" A16236 = "" A16237 = "" A16238 = "" A16239 = "" A16240 = "" 
-A16241 = "" A16242 = "" A16243 = "" A16244 = "" A16245 = "" A16246 = "" A16247 = "" A16248 = "" A16249 = "" A16250 = "" 
-A16251 = "" A16252 = "" A16253 = "" A16254 = "" A16255 = "" A16256 = "" A16257 = "" A16258 = "" A16259 = "" A16260 = "" 
-A16261 = "" A16262 = "" A16263 = "" A16264 = "" A16265 = "" A16266 = "" A16267 = "" A16268 = "" A16269 = "" A16270 = "" 
-A16271 = "" A16272 = "" A16273 = "" A16274 = "" A16275 = "" A16276 = "" A16277 = "" A16278 = "" A16279 = "" A16280 = "" 
-A16281 = "" A16282 = "" A16283 = "" A16284 = "" A16285 = "" A16286 = "" A16287 = "" A16288 = "" A16289 = "" A16290 = "" 
-A16291 = "" A16292 = "" A16293 = "" A16294 = "" A16295 = "" A16296 = "" A16297 = "" A16298 = "" A16299 = "" A16300 = "" 
-A16301 = "" A16302 = "" A16303 = "" A16304 = "" A16305 = "" A16306 = "" A16307 = "" A16308 = "" A16309 = "" A16310 = "" 
-A16311 = "" A16312 = "" A16313 = "" A16314 = "" A16315 = "" A16316 = "" A16317 = "" A16318 = "" A16319 = "" A16320 = "" 
-A16321 = "" A16322 = "" A16323 = "" A16324 = "" A16325 = "" A16326 = "" A16327 = "" A16328 = "" A16329 = "" A16330 = "" 
-A16331 = "" A16332 = "" A16333 = "" A16334 = "" A16335 = "" A16336 = "" A16337 = "" A16338 = "" A16339 = "" A16340 = "" 
-A16341 = "" A16342 = "" A16343 = "" A16344 = "" A16345 = "" A16346 = "" A16347 = "" A16348 = "" A16349 = "" A16350 = "" 
-A16351 = "" A16352 = "" A16353 = "" A16354 = "" A16355 = "" A16356 = "" A16357 = "" A16358 = "" A16359 = "" A16360 = "" 
-A16361 = "" A16362 = "" A16363 = "" A16364 = "" A16365 = "" A16366 = "" A16367 = "" A16368 = "" A16369 = "" A16370 = "" 
-A16371 = "" A16372 = "" A16373 = "" A16374 = "" A16375 = "" A16376 = "" A16377 = "" A16378 = "" A16379 = "" A16380 = "" 
-A16381 = "" A16382 = "" A16383 = "" A16384 = "" A16385 = "" A16386 = "" A16387 = "" A16388 = "" A16389 = "" A16390 = "" 
-A16391 = "" A16392 = "" A16393 = "" A16394 = "" A16395 = "" A16396 = "" A16397 = "" A16398 = "" A16399 = "" A16400 = "" 
-A16401 = "" A16402 = "" A16403 = "" A16404 = "" A16405 = "" A16406 = "" A16407 = "" A16408 = "" A16409 = "" A16410 = "" 
-A16411 = "" A16412 = "" A16413 = "" A16414 = "" A16415 = "" A16416 = "" A16417 = "" A16418 = "" A16419 = "" A16420 = "" 
-A16421 = "" A16422 = "" A16423 = "" A16424 = "" A16425 = "" A16426 = "" A16427 = "" A16428 = "" A16429 = "" A16430 = "" 
-A16431 = "" A16432 = "" A16433 = "" A16434 = "" A16435 = "" A16436 = "" A16437 = "" A16438 = "" A16439 = "" A16440 = "" 
-A16441 = "" A16442 = "" A16443 = "" A16444 = "" A16445 = "" A16446 = "" A16447 = "" A16448 = "" A16449 = "" A16450 = "" 
-A16451 = "" A16452 = "" A16453 = "" A16454 = "" A16455 = "" A16456 = "" A16457 = "" A16458 = "" A16459 = "" A16460 = "" 
-A16461 = "" A16462 = "" A16463 = "" A16464 = "" A16465 = "" A16466 = "" A16467 = "" A16468 = "" A16469 = "" A16470 = "" 
-A16471 = "" A16472 = "" A16473 = "" A16474 = "" A16475 = "" A16476 = "" A16477 = "" A16478 = "" A16479 = "" A16480 = "" 
-A16481 = "" A16482 = "" A16483 = "" A16484 = "" A16485 = "" A16486 = "" A16487 = "" A16488 = "" A16489 = "" A16490 = "" 
-A16491 = "" A16492 = "" A16493 = "" A16494 = "" A16495 = "" A16496 = "" A16497 = "" A16498 = "" A16499 = "" A16500 = "" 
-A16501 = "" A16502 = "" A16503 = "" A16504 = "" A16505 = "" A16506 = "" A16507 = "" A16508 = "" A16509 = "" A16510 = "" 
-A16511 = "" A16512 = "" A16513 = "" A16514 = "" A16515 = "" A16516 = "" A16517 = "" A16518 = "" A16519 = "" A16520 = "" 
-A16521 = "" A16522 = "" A16523 = "" A16524 = "" A16525 = "" A16526 = "" A16527 = "" A16528 = "" A16529 = "" A16530 = "" 
-A16531 = "" A16532 = "" A16533 = "" A16534 = "" A16535 = "" A16536 = "" A16537 = "" A16538 = "" A16539 = "" A16540 = "" 
-A16541 = "" A16542 = "" A16543 = "" A16544 = "" A16545 = "" A16546 = "" A16547 = "" A16548 = "" A16549 = "" A16550 = "" 
-A16551 = "" A16552 = "" A16553 = "" A16554 = "" A16555 = "" A16556 = "" A16557 = "" A16558 = "" A16559 = "" A16560 = "" 
-A16561 = "" A16562 = "" A16563 = "" A16564 = "" A16565 = "" A16566 = "" A16567 = "" A16568 = "" A16569 = "" A16570 = "" 
-A16571 = "" A16572 = "" A16573 = "" A16574 = "" A16575 = "" A16576 = "" A16577 = "" A16578 = "" A16579 = "" A16580 = "" 
-A16581 = "" A16582 = "" A16583 = "" A16584 = "" A16585 = "" A16586 = "" A16587 = "" A16588 = "" A16589 = "" A16590 = "" 
-A16591 = "" A16592 = "" A16593 = "" A16594 = "" A16595 = "" A16596 = "" A16597 = "" A16598 = "" A16599 = "" A16600 = "" 
-A16601 = "" A16602 = "" A16603 = "" A16604 = "" A16605 = "" A16606 = "" A16607 = "" A16608 = "" A16609 = "" A16610 = "" 
-A16611 = "" A16612 = "" A16613 = "" A16614 = "" A16615 = "" A16616 = "" A16617 = "" A16618 = "" A16619 = "" A16620 = "" 
-A16621 = "" A16622 = "" A16623 = "" A16624 = "" A16625 = "" A16626 = "" A16627 = "" A16628 = "" A16629 = "" A16630 = "" 
-A16631 = "" A16632 = "" A16633 = "" A16634 = "" A16635 = "" A16636 = "" A16637 = "" A16638 = "" A16639 = "" A16640 = "" 
-A16641 = "" A16642 = "" A16643 = "" A16644 = "" A16645 = "" A16646 = "" A16647 = "" A16648 = "" A16649 = "" A16650 = "" 
-A16651 = "" A16652 = "" A16653 = "" A16654 = "" A16655 = "" A16656 = "" A16657 = "" A16658 = "" A16659 = "" A16660 = "" 
-A16661 = "" A16662 = "" A16663 = "" A16664 = "" A16665 = "" A16666 = "" A16667 = "" A16668 = "" A16669 = "" A16670 = "" 
-A16671 = "" A16672 = "" A16673 = "" A16674 = "" A16675 = "" A16676 = "" A16677 = "" A16678 = "" A16679 = "" A16680 = "" 
-A16681 = "" A16682 = "" A16683 = "" A16684 = "" A16685 = "" A16686 = "" A16687 = "" A16688 = "" A16689 = "" A16690 = "" 
-A16691 = "" A16692 = "" A16693 = "" A16694 = "" A16695 = "" A16696 = "" A16697 = "" A16698 = "" A16699 = "" A16700 = "" 
-A16701 = "" A16702 = "" A16703 = "" A16704 = "" A16705 = "" A16706 = "" A16707 = "" A16708 = "" A16709 = "" A16710 = "" 
-A16711 = "" A16712 = "" A16713 = "" A16714 = "" A16715 = "" A16716 = "" A16717 = "" A16718 = "" A16719 = "" A16720 = "" 
-A16721 = "" A16722 = "" A16723 = "" A16724 = "" A16725 = "" A16726 = "" A16727 = "" A16728 = "" A16729 = "" A16730 = "" 
-A16731 = "" A16732 = "" A16733 = "" A16734 = "" A16735 = "" A16736 = "" A16737 = "" A16738 = "" A16739 = "" A16740 = "" 
-A16741 = "" A16742 = "" A16743 = "" A16744 = "" A16745 = "" A16746 = "" A16747 = "" A16748 = "" A16749 = "" A16750 = "" 
-A16751 = "" A16752 = "" A16753 = "" A16754 = "" A16755 = "" A16756 = "" A16757 = "" A16758 = "" A16759 = "" A16760 = "" 
-A16761 = "" A16762 = "" A16763 = "" A16764 = "" A16765 = "" A16766 = "" A16767 = "" A16768 = "" A16769 = "" A16770 = "" 
-A16771 = "" A16772 = "" A16773 = "" A16774 = "" A16775 = "" A16776 = "" A16777 = "" A16778 = "" A16779 = "" A16780 = "" 
-A16781 = "" A16782 = "" A16783 = "" A16784 = "" A16785 = "" A16786 = "" A16787 = "" A16788 = "" A16789 = "" A16790 = "" 
-A16791 = "" A16792 = "" A16793 = "" A16794 = "" A16795 = "" A16796 = "" A16797 = "" A16798 = "" A16799 = "" A16800 = "" 
-A16801 = "" A16802 = "" A16803 = "" A16804 = "" A16805 = "" A16806 = "" A16807 = "" A16808 = "" A16809 = "" A16810 = "" 
-A16811 = "" A16812 = "" A16813 = "" A16814 = "" A16815 = "" A16816 = "" A16817 = "" A16818 = "" A16819 = "" A16820 = "" 
-A16821 = "" A16822 = "" A16823 = "" A16824 = "" A16825 = "" A16826 = "" A16827 = "" A16828 = "" A16829 = "" A16830 = "" 
-A16831 = "" A16832 = "" A16833 = "" A16834 = "" A16835 = "" A16836 = "" A16837 = "" A16838 = "" A16839 = "" A16840 = "" 
-A16841 = "" A16842 = "" A16843 = "" A16844 = "" A16845 = "" A16846 = "" A16847 = "" A16848 = "" A16849 = "" A16850 = "" 
-A16851 = "" A16852 = "" A16853 = "" A16854 = "" A16855 = "" A16856 = "" A16857 = "" A16858 = "" A16859 = "" A16860 = "" 
-A16861 = "" A16862 = "" A16863 = "" A16864 = "" A16865 = "" A16866 = "" A16867 = "" A16868 = "" A16869 = "" A16870 = "" 
-A16871 = "" A16872 = "" A16873 = "" A16874 = "" A16875 = "" A16876 = "" A16877 = "" A16878 = "" A16879 = "" A16880 = "" 
-A16881 = "" A16882 = "" A16883 = "" A16884 = "" A16885 = "" A16886 = "" A16887 = "" A16888 = "" A16889 = "" A16890 = "" 
-A16891 = "" A16892 = "" A16893 = "" A16894 = "" A16895 = "" A16896 = "" A16897 = "" A16898 = "" A16899 = "" A16900 = "" 
-A16901 = "" A16902 = "" A16903 = "" A16904 = "" A16905 = "" A16906 = "" A16907 = "" A16908 = "" A16909 = "" A16910 = "" 
-A16911 = "" A16912 = "" A16913 = "" A16914 = "" A16915 = "" A16916 = "" A16917 = "" A16918 = "" A16919 = "" A16920 = "" 
-A16921 = "" A16922 = "" A16923 = "" A16924 = "" A16925 = "" A16926 = "" A16927 = "" A16928 = "" A16929 = "" A16930 = "" 
-A16931 = "" A16932 = "" A16933 = "" A16934 = "" A16935 = "" A16936 = "" A16937 = "" A16938 = "" A16939 = "" A16940 = "" 
-A16941 = "" A16942 = "" A16943 = "" A16944 = "" A16945 = "" A16946 = "" A16947 = "" A16948 = "" A16949 = "" A16950 = "" 
-A16951 = "" A16952 = "" A16953 = "" A16954 = "" A16955 = "" A16956 = "" A16957 = "" A16958 = "" A16959 = "" A16960 = "" 
-A16961 = "" A16962 = "" A16963 = "" A16964 = "" A16965 = "" A16966 = "" A16967 = "" A16968 = "" A16969 = "" A16970 = "" 
-A16971 = "" A16972 = "" A16973 = "" A16974 = "" A16975 = "" A16976 = "" A16977 = "" A16978 = "" A16979 = "" A16980 = "" 
-A16981 = "" A16982 = "" A16983 = "" A16984 = "" A16985 = "" A16986 = "" A16987 = "" A16988 = "" A16989 = "" A16990 = "" 
-A16991 = "" A16992 = "" A16993 = "" A16994 = "" A16995 = "" A16996 = "" A16997 = "" A16998 = "" A16999 = "" A17000 = "" 
-A17001 = "" A17002 = "" A17003 = "" A17004 = "" A17005 = "" A17006 = "" A17007 = "" A17008 = "" A17009 = "" A17010 = "" 
-A17011 = "" A17012 = "" A17013 = "" A17014 = "" A17015 = "" A17016 = "" A17017 = "" A17018 = "" A17019 = "" A17020 = "" 
-A17021 = "" A17022 = "" A17023 = "" A17024 = "" A17025 = "" A17026 = "" A17027 = "" A17028 = "" A17029 = "" A17030 = "" 
-A17031 = "" A17032 = "" A17033 = "" A17034 = "" A17035 = "" A17036 = "" A17037 = "" A17038 = "" A17039 = "" A17040 = "" 
-A17041 = "" A17042 = "" A17043 = "" A17044 = "" A17045 = "" A17046 = "" A17047 = "" A17048 = "" A17049 = "" A17050 = "" 
-A17051 = "" A17052 = "" A17053 = "" A17054 = "" A17055 = "" A17056 = "" A17057 = "" A17058 = "" A17059 = "" A17060 = "" 
-A17061 = "" A17062 = "" A17063 = "" A17064 = "" A17065 = "" A17066 = "" A17067 = "" A17068 = "" A17069 = "" A17070 = "" 
-A17071 = "" A17072 = "" A17073 = "" A17074 = "" A17075 = "" A17076 = "" A17077 = "" A17078 = "" A17079 = "" A17080 = "" 
-A17081 = "" A17082 = "" A17083 = "" A17084 = "" A17085 = "" A17086 = "" A17087 = "" A17088 = "" A17089 = "" A17090 = "" 
-A17091 = "" A17092 = "" A17093 = "" A17094 = "" A17095 = "" A17096 = "" A17097 = "" A17098 = "" A17099 = "" A17100 = "" 
-A17101 = "" A17102 = "" A17103 = "" A17104 = "" A17105 = "" A17106 = "" A17107 = "" A17108 = "" A17109 = "" A17110 = "" 
-A17111 = "" A17112 = "" A17113 = "" A17114 = "" A17115 = "" A17116 = "" A17117 = "" A17118 = "" A17119 = "" A17120 = "" 
-A17121 = "" A17122 = "" A17123 = "" A17124 = "" A17125 = "" A17126 = "" A17127 = "" A17128 = "" A17129 = "" A17130 = "" 
-A17131 = "" A17132 = "" A17133 = "" A17134 = "" A17135 = "" A17136 = "" A17137 = "" A17138 = "" A17139 = "" A17140 = "" 
-A17141 = "" A17142 = "" A17143 = "" A17144 = "" A17145 = "" A17146 = "" A17147 = "" A17148 = "" A17149 = "" A17150 = "" 
-A17151 = "" A17152 = "" A17153 = "" A17154 = "" A17155 = "" A17156 = "" A17157 = "" A17158 = "" A17159 = "" A17160 = "" 
-A17161 = "" A17162 = "" A17163 = "" A17164 = "" A17165 = "" A17166 = "" A17167 = "" A17168 = "" A17169 = "" A17170 = "" 
-A17171 = "" A17172 = "" A17173 = "" A17174 = "" A17175 = "" A17176 = "" A17177 = "" A17178 = "" A17179 = "" A17180 = "" 
-A17181 = "" A17182 = "" A17183 = "" A17184 = "" A17185 = "" A17186 = "" A17187 = "" A17188 = "" A17189 = "" A17190 = "" 
-A17191 = "" A17192 = "" A17193 = "" A17194 = "" A17195 = "" A17196 = "" A17197 = "" A17198 = "" A17199 = "" A17200 = "" 
-A17201 = "" A17202 = "" A17203 = "" A17204 = "" A17205 = "" A17206 = "" A17207 = "" A17208 = "" A17209 = "" A17210 = "" 
-A17211 = "" A17212 = "" A17213 = "" A17214 = "" A17215 = "" A17216 = "" A17217 = "" A17218 = "" A17219 = "" A17220 = "" 
-A17221 = "" A17222 = "" A17223 = "" A17224 = "" A17225 = "" A17226 = "" A17227 = "" A17228 = "" A17229 = "" A17230 = "" 
-A17231 = "" A17232 = "" A17233 = "" A17234 = "" A17235 = "" A17236 = "" A17237 = "" A17238 = "" A17239 = "" A17240 = "" 
-A17241 = "" A17242 = "" A17243 = "" A17244 = "" A17245 = "" A17246 = "" A17247 = "" A17248 = "" A17249 = "" A17250 = "" 
-A17251 = "" A17252 = "" A17253 = "" A17254 = "" A17255 = "" A17256 = "" A17257 = "" A17258 = "" A17259 = "" A17260 = "" 
-A17261 = "" A17262 = "" A17263 = "" A17264 = "" A17265 = "" A17266 = "" A17267 = "" A17268 = "" A17269 = "" A17270 = "" 
-A17271 = "" A17272 = "" A17273 = "" A17274 = "" A17275 = "" A17276 = "" A17277 = "" A17278 = "" A17279 = "" A17280 = "" 
-A17281 = "" A17282 = "" A17283 = "" A17284 = "" A17285 = "" A17286 = "" A17287 = "" A17288 = "" A17289 = "" A17290 = "" 
-A17291 = "" A17292 = "" A17293 = "" A17294 = "" A17295 = "" A17296 = "" A17297 = "" A17298 = "" A17299 = "" A17300 = "" 
-A17301 = "" A17302 = "" A17303 = "" A17304 = "" A17305 = "" A17306 = "" A17307 = "" A17308 = "" A17309 = "" A17310 = "" 
-A17311 = "" A17312 = "" A17313 = "" A17314 = "" A17315 = "" A17316 = "" A17317 = "" A17318 = "" A17319 = "" A17320 = "" 
-A17321 = "" A17322 = "" A17323 = "" A17324 = "" A17325 = "" A17326 = "" A17327 = "" A17328 = "" A17329 = "" A17330 = "" 
-A17331 = "" A17332 = "" A17333 = "" A17334 = "" A17335 = "" A17336 = "" A17337 = "" A17338 = "" A17339 = "" A17340 = "" 
-A17341 = "" A17342 = "" A17343 = "" A17344 = "" A17345 = "" A17346 = "" A17347 = "" A17348 = "" A17349 = "" A17350 = "" 
-A17351 = "" A17352 = "" A17353 = "" A17354 = "" A17355 = "" A17356 = "" A17357 = "" A17358 = "" A17359 = "" A17360 = "" 
-A17361 = "" A17362 = "" A17363 = "" A17364 = "" A17365 = "" A17366 = "" A17367 = "" A17368 = "" A17369 = "" A17370 = "" 
-A17371 = "" A17372 = "" A17373 = "" A17374 = "" A17375 = "" A17376 = "" A17377 = "" A17378 = "" A17379 = "" A17380 = "" 
-A17381 = "" A17382 = "" A17383 = "" A17384 = "" A17385 = "" A17386 = "" A17387 = "" A17388 = "" A17389 = "" A17390 = "" 
-A17391 = "" A17392 = "" A17393 = "" A17394 = "" A17395 = "" A17396 = "" A17397 = "" A17398 = "" A17399 = "" A17400 = "" 
-A17401 = "" A17402 = "" A17403 = "" A17404 = "" A17405 = "" A17406 = "" A17407 = "" A17408 = "" A17409 = "" A17410 = "" 
-A17411 = "" A17412 = "" A17413 = "" A17414 = "" A17415 = "" A17416 = "" A17417 = "" A17418 = "" A17419 = "" A17420 = "" 
-A17421 = "" A17422 = "" A17423 = "" A17424 = "" A17425 = "" A17426 = "" A17427 = "" A17428 = "" A17429 = "" A17430 = "" 
-A17431 = "" A17432 = "" A17433 = "" A17434 = "" A17435 = "" A17436 = "" A17437 = "" A17438 = "" A17439 = "" A17440 = "" 
-A17441 = "" A17442 = "" A17443 = "" A17444 = "" A17445 = "" A17446 = "" A17447 = "" A17448 = "" A17449 = "" A17450 = "" 
-A17451 = "" A17452 = "" A17453 = "" A17454 = "" A17455 = "" A17456 = "" A17457 = "" A17458 = "" A17459 = "" A17460 = "" 
-A17461 = "" A17462 = "" A17463 = "" A17464 = "" A17465 = "" A17466 = "" A17467 = "" A17468 = "" A17469 = "" A17470 = "" 
-A17471 = "" A17472 = "" A17473 = "" A17474 = "" A17475 = "" A17476 = "" A17477 = "" A17478 = "" A17479 = "" A17480 = "" 
-A17481 = "" A17482 = "" A17483 = "" A17484 = "" A17485 = "" A17486 = "" A17487 = "" A17488 = "" A17489 = "" A17490 = "" 
-A17491 = "" A17492 = "" A17493 = "" A17494 = "" A17495 = "" A17496 = "" A17497 = "" A17498 = "" A17499 = "" A17500 = "" 
-A17501 = "" A17502 = "" A17503 = "" A17504 = "" A17505 = "" A17506 = "" A17507 = "" A17508 = "" A17509 = "" A17510 = "" 
-A17511 = "" A17512 = "" A17513 = "" A17514 = "" A17515 = "" A17516 = "" A17517 = "" A17518 = "" A17519 = "" A17520 = "" 
-A17521 = "" A17522 = "" A17523 = "" A17524 = "" A17525 = "" A17526 = "" A17527 = "" A17528 = "" A17529 = "" A17530 = "" 
-A17531 = "" A17532 = "" A17533 = "" A17534 = "" A17535 = "" A17536 = "" A17537 = "" A17538 = "" A17539 = "" A17540 = "" 
-A17541 = "" A17542 = "" A17543 = "" A17544 = "" A17545 = "" A17546 = "" A17547 = "" A17548 = "" A17549 = "" A17550 = "" 
-A17551 = "" A17552 = "" A17553 = "" A17554 = "" A17555 = "" A17556 = "" A17557 = "" A17558 = "" A17559 = "" A17560 = "" 
-A17561 = "" A17562 = "" A17563 = "" A17564 = "" A17565 = "" A17566 = "" A17567 = "" A17568 = "" A17569 = "" A17570 = "" 
-A17571 = "" A17572 = "" A17573 = "" A17574 = "" A17575 = "" A17576 = "" A17577 = "" A17578 = "" A17579 = "" A17580 = "" 
-A17581 = "" A17582 = "" A17583 = "" A17584 = "" A17585 = "" A17586 = "" A17587 = "" A17588 = "" A17589 = "" A17590 = "" 
-A17591 = "" A17592 = "" A17593 = "" A17594 = "" A17595 = "" A17596 = "" A17597 = "" A17598 = "" A17599 = "" A17600 = "" 
-A17601 = "" A17602 = "" A17603 = "" A17604 = "" A17605 = "" A17606 = "" A17607 = "" A17608 = "" A17609 = "" A17610 = "" 
-A17611 = "" A17612 = "" A17613 = "" A17614 = "" A17615 = "" A17616 = "" A17617 = "" A17618 = "" A17619 = "" A17620 = "" 
-A17621 = "" A17622 = "" A17623 = "" A17624 = "" A17625 = "" A17626 = "" A17627 = "" A17628 = "" A17629 = "" A17630 = "" 
-A17631 = "" A17632 = "" A17633 = "" A17634 = "" A17635 = "" A17636 = "" A17637 = "" A17638 = "" A17639 = "" A17640 = "" 
-A17641 = "" A17642 = "" A17643 = "" A17644 = "" A17645 = "" A17646 = "" A17647 = "" A17648 = "" A17649 = "" A17650 = "" 
-A17651 = "" A17652 = "" A17653 = "" A17654 = "" A17655 = "" A17656 = "" A17657 = "" A17658 = "" A17659 = "" A17660 = "" 
-A17661 = "" A17662 = "" A17663 = "" A17664 = "" A17665 = "" A17666 = "" A17667 = "" A17668 = "" A17669 = "" A17670 = "" 
-A17671 = "" A17672 = "" A17673 = "" A17674 = "" A17675 = "" A17676 = "" A17677 = "" A17678 = "" A17679 = "" A17680 = "" 
-A17681 = "" A17682 = "" A17683 = "" A17684 = "" A17685 = "" A17686 = "" A17687 = "" A17688 = "" A17689 = "" A17690 = "" 
-A17691 = "" A17692 = "" A17693 = "" A17694 = "" A17695 = "" A17696 = "" A17697 = "" A17698 = "" A17699 = "" A17700 = "" 
-A17701 = "" A17702 = "" A17703 = "" A17704 = "" A17705 = "" A17706 = "" A17707 = "" A17708 = "" A17709 = "" A17710 = "" 
-A17711 = "" A17712 = "" A17713 = "" A17714 = "" A17715 = "" A17716 = "" A17717 = "" A17718 = "" A17719 = "" A17720 = "" 
-A17721 = "" A17722 = "" A17723 = "" A17724 = "" A17725 = "" A17726 = "" A17727 = "" A17728 = "" A17729 = "" A17730 = "" 
-A17731 = "" A17732 = "" A17733 = "" A17734 = "" A17735 = "" A17736 = "" A17737 = "" A17738 = "" A17739 = "" A17740 = "" 
-A17741 = "" A17742 = "" A17743 = "" A17744 = "" A17745 = "" A17746 = "" A17747 = "" A17748 = "" A17749 = "" A17750 = "" 
-A17751 = "" A17752 = "" A17753 = "" A17754 = "" A17755 = "" A17756 = "" A17757 = "" A17758 = "" A17759 = "" A17760 = "" 
-A17761 = "" A17762 = "" A17763 = "" A17764 = "" A17765 = "" A17766 = "" A17767 = "" A17768 = "" A17769 = "" A17770 = "" 
-A17771 = "" A17772 = "" A17773 = "" A17774 = "" A17775 = "" A17776 = "" A17777 = "" A17778 = "" A17779 = "" A17780 = "" 
-A17781 = "" A17782 = "" A17783 = "" A17784 = "" A17785 = "" A17786 = "" A17787 = "" A17788 = "" A17789 = "" A17790 = "" 
-A17791 = "" A17792 = "" A17793 = "" A17794 = "" A17795 = "" A17796 = "" A17797 = "" A17798 = "" A17799 = "" A17800 = "" 
-A17801 = "" A17802 = "" A17803 = "" A17804 = "" A17805 = "" A17806 = "" A17807 = "" A17808 = "" A17809 = "" A17810 = "" 
-A17811 = "" A17812 = "" A17813 = "" A17814 = "" A17815 = "" A17816 = "" A17817 = "" A17818 = "" A17819 = "" A17820 = "" 
-A17821 = "" A17822 = "" A17823 = "" A17824 = "" A17825 = "" A17826 = "" A17827 = "" A17828 = "" A17829 = "" A17830 = "" 
-A17831 = "" A17832 = "" A17833 = "" A17834 = "" A17835 = "" A17836 = "" A17837 = "" A17838 = "" A17839 = "" A17840 = "" 
-A17841 = "" A17842 = "" A17843 = "" A17844 = "" A17845 = "" A17846 = "" A17847 = "" A17848 = "" A17849 = "" A17850 = "" 
-A17851 = "" A17852 = "" A17853 = "" A17854 = "" A17855 = "" A17856 = "" A17857 = "" A17858 = "" A17859 = "" A17860 = "" 
-A17861 = "" A17862 = "" A17863 = "" A17864 = "" A17865 = "" A17866 = "" A17867 = "" A17868 = "" A17869 = "" A17870 = "" 
-A17871 = "" A17872 = "" A17873 = "" A17874 = "" A17875 = "" A17876 = "" A17877 = "" A17878 = "" A17879 = "" A17880 = "" 
-A17881 = "" A17882 = "" A17883 = "" A17884 = "" A17885 = "" A17886 = "" A17887 = "" A17888 = "" A17889 = "" A17890 = "" 
-A17891 = "" A17892 = "" A17893 = "" A17894 = "" A17895 = "" A17896 = "" A17897 = "" A17898 = "" A17899 = "" A17900 = "" 
-A17901 = "" A17902 = "" A17903 = "" A17904 = "" A17905 = "" A17906 = "" A17907 = "" A17908 = "" A17909 = "" A17910 = "" 
-A17911 = "" A17912 = "" A17913 = "" A17914 = "" A17915 = "" A17916 = "" A17917 = "" A17918 = "" A17919 = "" A17920 = "" 
-A17921 = "" A17922 = "" A17923 = "" A17924 = "" A17925 = "" A17926 = "" A17927 = "" A17928 = "" A17929 = "" A17930 = "" 
-A17931 = "" A17932 = "" A17933 = "" A17934 = "" A17935 = "" A17936 = "" A17937 = "" A17938 = "" A17939 = "" A17940 = "" 
-A17941 = "" A17942 = "" A17943 = "" A17944 = "" A17945 = "" A17946 = "" A17947 = "" A17948 = "" A17949 = "" A17950 = "" 
-A17951 = "" A17952 = "" A17953 = "" A17954 = "" A17955 = "" A17956 = "" A17957 = "" A17958 = "" A17959 = "" A17960 = "" 
-A17961 = "" A17962 = "" A17963 = "" A17964 = "" A17965 = "" A17966 = "" A17967 = "" A17968 = "" A17969 = "" A17970 = "" 
-A17971 = "" A17972 = "" A17973 = "" A17974 = "" A17975 = "" A17976 = "" A17977 = "" A17978 = "" A17979 = "" A17980 = "" 
-A17981 = "" A17982 = "" A17983 = "" A17984 = "" A17985 = "" A17986 = "" A17987 = "" A17988 = "" A17989 = "" A17990 = "" 
-A17991 = "" A17992 = "" A17993 = "" A17994 = "" A17995 = "" A17996 = "" A17997 = "" A17998 = "" A17999 = "" A18000 = "" 
-A18001 = "" A18002 = "" A18003 = "" A18004 = "" A18005 = "" A18006 = "" A18007 = "" A18008 = "" A18009 = "" A18010 = "" 
-A18011 = "" A18012 = "" A18013 = "" A18014 = "" A18015 = "" A18016 = "" A18017 = "" A18018 = "" A18019 = "" A18020 = "" 
-A18021 = "" A18022 = "" A18023 = "" A18024 = "" A18025 = "" A18026 = "" A18027 = "" A18028 = "" A18029 = "" A18030 = "" 
-A18031 = "" A18032 = "" A18033 = "" A18034 = "" A18035 = "" A18036 = "" A18037 = "" A18038 = "" A18039 = "" A18040 = "" 
-A18041 = "" A18042 = "" A18043 = "" A18044 = "" A18045 = "" A18046 = "" A18047 = "" A18048 = "" A18049 = "" A18050 = "" 
-A18051 = "" A18052 = "" A18053 = "" A18054 = "" A18055 = "" A18056 = "" A18057 = "" A18058 = "" A18059 = "" A18060 = "" 
-A18061 = "" A18062 = "" A18063 = "" A18064 = "" A18065 = "" A18066 = "" A18067 = "" A18068 = "" A18069 = "" A18070 = "" 
-A18071 = "" A18072 = "" A18073 = "" A18074 = "" A18075 = "" A18076 = "" A18077 = "" A18078 = "" A18079 = "" A18080 = "" 
-A18081 = "" A18082 = "" A18083 = "" A18084 = "" A18085 = "" A18086 = "" A18087 = "" A18088 = "" A18089 = "" A18090 = "" 
-A18091 = "" A18092 = "" A18093 = "" A18094 = "" A18095 = "" A18096 = "" A18097 = "" A18098 = "" A18099 = "" A18100 = "" 
-A18101 = "" A18102 = "" A18103 = "" A18104 = "" A18105 = "" A18106 = "" A18107 = "" A18108 = "" A18109 = "" A18110 = "" 
-A18111 = "" A18112 = "" A18113 = "" A18114 = "" A18115 = "" A18116 = "" A18117 = "" A18118 = "" A18119 = "" A18120 = "" 
-A18121 = "" A18122 = "" A18123 = "" A18124 = "" A18125 = "" A18126 = "" A18127 = "" A18128 = "" A18129 = "" A18130 = "" 
-A18131 = "" A18132 = "" A18133 = "" A18134 = "" A18135 = "" A18136 = "" A18137 = "" A18138 = "" A18139 = "" A18140 = "" 
-A18141 = "" A18142 = "" A18143 = "" A18144 = "" A18145 = "" A18146 = "" A18147 = "" A18148 = "" A18149 = "" A18150 = "" 
-A18151 = "" A18152 = "" A18153 = "" A18154 = "" A18155 = "" A18156 = "" A18157 = "" A18158 = "" A18159 = "" A18160 = "" 
-A18161 = "" A18162 = "" A18163 = "" A18164 = "" A18165 = "" A18166 = "" A18167 = "" A18168 = "" A18169 = "" A18170 = "" 
-A18171 = "" A18172 = "" A18173 = "" A18174 = "" A18175 = "" A18176 = "" A18177 = "" A18178 = "" A18179 = "" A18180 = "" 
-A18181 = "" A18182 = "" A18183 = "" A18184 = "" A18185 = "" A18186 = "" A18187 = "" A18188 = "" A18189 = "" A18190 = "" 
-A18191 = "" A18192 = "" A18193 = "" A18194 = "" A18195 = "" A18196 = "" A18197 = "" A18198 = "" A18199 = "" A18200 = "" 
-A18201 = "" A18202 = "" A18203 = "" A18204 = "" A18205 = "" A18206 = "" A18207 = "" A18208 = "" A18209 = "" A18210 = "" 
-A18211 = "" A18212 = "" A18213 = "" A18214 = "" A18215 = "" A18216 = "" A18217 = "" A18218 = "" A18219 = "" A18220 = "" 
-A18221 = "" A18222 = "" A18223 = "" A18224 = "" A18225 = "" A18226 = "" A18227 = "" A18228 = "" A18229 = "" A18230 = "" 
-A18231 = "" A18232 = "" A18233 = "" A18234 = "" A18235 = "" A18236 = "" A18237 = "" A18238 = "" A18239 = "" A18240 = "" 
-A18241 = "" A18242 = "" A18243 = "" A18244 = "" A18245 = "" A18246 = "" A18247 = "" A18248 = "" A18249 = "" A18250 = "" 
-A18251 = "" A18252 = "" A18253 = "" A18254 = "" A18255 = "" A18256 = "" A18257 = "" A18258 = "" A18259 = "" A18260 = "" 
-A18261 = "" A18262 = "" A18263 = "" A18264 = "" A18265 = "" A18266 = "" A18267 = "" A18268 = "" A18269 = "" A18270 = "" 
-A18271 = "" A18272 = "" A18273 = "" A18274 = "" A18275 = "" A18276 = "" A18277 = "" A18278 = "" A18279 = "" A18280 = "" 
-A18281 = "" A18282 = "" A18283 = "" A18284 = "" A18285 = "" A18286 = "" A18287 = "" A18288 = "" A18289 = "" A18290 = "" 
-A18291 = "" A18292 = "" A18293 = "" A18294 = "" A18295 = "" A18296 = "" A18297 = "" A18298 = "" A18299 = "" A18300 = "" 
-A18301 = "" A18302 = "" A18303 = "" A18304 = "" A18305 = "" A18306 = "" A18307 = "" A18308 = "" A18309 = "" A18310 = "" 
-A18311 = "" A18312 = "" A18313 = "" A18314 = "" A18315 = "" A18316 = "" A18317 = "" A18318 = "" A18319 = "" A18320 = "" 
-A18321 = "" A18322 = "" A18323 = "" A18324 = "" A18325 = "" A18326 = "" A18327 = "" A18328 = "" A18329 = "" A18330 = "" 
-A18331 = "" A18332 = "" A18333 = "" A18334 = "" A18335 = "" A18336 = "" A18337 = "" A18338 = "" A18339 = "" A18340 = "" 
-A18341 = "" A18342 = "" A18343 = "" A18344 = "" A18345 = "" A18346 = "" A18347 = "" A18348 = "" A18349 = "" A18350 = "" 
-A18351 = "" A18352 = "" A18353 = "" A18354 = "" A18355 = "" A18356 = "" A18357 = "" A18358 = "" A18359 = "" A18360 = "" 
-A18361 = "" A18362 = "" A18363 = "" A18364 = "" A18365 = "" A18366 = "" A18367 = "" A18368 = "" A18369 = "" A18370 = "" 
-A18371 = "" A18372 = "" A18373 = "" A18374 = "" A18375 = "" A18376 = "" A18377 = "" A18378 = "" A18379 = "" A18380 = "" 
-A18381 = "" A18382 = "" A18383 = "" A18384 = "" A18385 = "" A18386 = "" A18387 = "" A18388 = "" A18389 = "" A18390 = "" 
-A18391 = "" A18392 = "" A18393 = "" A18394 = "" A18395 = "" A18396 = "" A18397 = "" A18398 = "" A18399 = "" A18400 = "" 
-A18401 = "" A18402 = "" A18403 = "" A18404 = "" A18405 = "" A18406 = "" A18407 = "" A18408 = "" A18409 = "" A18410 = "" 
-A18411 = "" A18412 = "" A18413 = "" A18414 = "" A18415 = "" A18416 = "" A18417 = "" A18418 = "" A18419 = "" A18420 = "" 
-A18421 = "" A18422 = "" A18423 = "" A18424 = "" A18425 = "" A18426 = "" A18427 = "" A18428 = "" A18429 = "" A18430 = "" 
-A18431 = "" A18432 = "" A18433 = "" A18434 = "" A18435 = "" A18436 = "" A18437 = "" A18438 = "" A18439 = "" A18440 = "" 
-A18441 = "" A18442 = "" A18443 = "" A18444 = "" A18445 = "" A18446 = "" A18447 = "" A18448 = "" A18449 = "" A18450 = "" 
-A18451 = "" A18452 = "" A18453 = "" A18454 = "" A18455 = "" A18456 = "" A18457 = "" A18458 = "" A18459 = "" A18460 = "" 
-A18461 = "" A18462 = "" A18463 = "" A18464 = "" A18465 = "" A18466 = "" A18467 = "" A18468 = "" A18469 = "" A18470 = "" 
-A18471 = "" A18472 = "" A18473 = "" A18474 = "" A18475 = "" A18476 = "" A18477 = "" A18478 = "" A18479 = "" A18480 = "" 
-A18481 = "" A18482 = "" A18483 = "" A18484 = "" A18485 = "" A18486 = "" A18487 = "" A18488 = "" A18489 = "" A18490 = "" 
-A18491 = "" A18492 = "" A18493 = "" A18494 = "" A18495 = "" A18496 = "" A18497 = "" A18498 = "" A18499 = "" A18500 = "" 
-A18501 = "" A18502 = "" A18503 = "" A18504 = "" A18505 = "" A18506 = "" A18507 = "" A18508 = "" A18509 = "" A18510 = "" 
-A18511 = "" A18512 = "" A18513 = "" A18514 = "" A18515 = "" A18516 = "" A18517 = "" A18518 = "" A18519 = "" A18520 = "" 
-A18521 = "" A18522 = "" A18523 = "" A18524 = "" A18525 = "" A18526 = "" A18527 = "" A18528 = "" A18529 = "" A18530 = "" 
-A18531 = "" A18532 = "" A18533 = "" A18534 = "" A18535 = "" A18536 = "" A18537 = "" A18538 = "" A18539 = "" A18540 = "" 
-A18541 = "" A18542 = "" A18543 = "" A18544 = "" A18545 = "" A18546 = "" A18547 = "" A18548 = "" A18549 = "" A18550 = "" 
-A18551 = "" A18552 = "" A18553 = "" A18554 = "" A18555 = "" A18556 = "" A18557 = "" A18558 = "" A18559 = "" A18560 = "" 
-A18561 = "" A18562 = "" A18563 = "" A18564 = "" A18565 = "" A18566 = "" A18567 = "" A18568 = "" A18569 = "" A18570 = "" 
-A18571 = "" A18572 = "" A18573 = "" A18574 = "" A18575 = "" A18576 = "" A18577 = "" A18578 = "" A18579 = "" A18580 = "" 
-A18581 = "" A18582 = "" A18583 = "" A18584 = "" A18585 = "" A18586 = "" A18587 = "" A18588 = "" A18589 = "" A18590 = "" 
-A18591 = "" A18592 = "" A18593 = "" A18594 = "" A18595 = "" A18596 = "" A18597 = "" A18598 = "" A18599 = "" A18600 = "" 
-A18601 = "" A18602 = "" A18603 = "" A18604 = "" A18605 = "" A18606 = "" A18607 = "" A18608 = "" A18609 = "" A18610 = "" 
-A18611 = "" A18612 = "" A18613 = "" A18614 = "" A18615 = "" A18616 = "" A18617 = "" A18618 = "" A18619 = "" A18620 = "" 
-A18621 = "" A18622 = "" A18623 = "" A18624 = "" A18625 = "" A18626 = "" A18627 = "" A18628 = "" A18629 = "" A18630 = "" 
-A18631 = "" A18632 = "" A18633 = "" A18634 = "" A18635 = "" A18636 = "" A18637 = "" A18638 = "" A18639 = "" A18640 = "" 
-A18641 = "" A18642 = "" A18643 = "" A18644 = "" A18645 = "" A18646 = "" A18647 = "" A18648 = "" A18649 = "" A18650 = "" 
-A18651 = "" A18652 = "" A18653 = "" A18654 = "" A18655 = "" A18656 = "" A18657 = "" A18658 = "" A18659 = "" A18660 = "" 
-A18661 = "" A18662 = "" A18663 = "" A18664 = "" A18665 = "" A18666 = "" A18667 = "" A18668 = "" A18669 = "" A18670 = "" 
-A18671 = "" A18672 = "" A18673 = "" A18674 = "" A18675 = "" A18676 = "" A18677 = "" A18678 = "" A18679 = "" A18680 = "" 
-A18681 = "" A18682 = "" A18683 = "" A18684 = "" A18685 = "" A18686 = "" A18687 = "" A18688 = "" A18689 = "" A18690 = "" 
-A18691 = "" A18692 = "" A18693 = "" A18694 = "" A18695 = "" A18696 = "" A18697 = "" A18698 = "" A18699 = "" A18700 = "" 
-A18701 = "" A18702 = "" A18703 = "" A18704 = "" A18705 = "" A18706 = "" A18707 = "" A18708 = "" A18709 = "" A18710 = "" 
-A18711 = "" A18712 = "" A18713 = "" A18714 = "" A18715 = "" A18716 = "" A18717 = "" A18718 = "" A18719 = "" A18720 = "" 
-A18721 = "" A18722 = "" A18723 = "" A18724 = "" A18725 = "" A18726 = "" A18727 = "" A18728 = "" A18729 = "" A18730 = "" 
-A18731 = "" A18732 = "" A18733 = "" A18734 = "" A18735 = "" A18736 = "" A18737 = "" A18738 = "" A18739 = "" A18740 = "" 
-A18741 = "" A18742 = "" A18743 = "" A18744 = "" A18745 = "" A18746 = "" A18747 = "" A18748 = "" A18749 = "" A18750 = "" 
-A18751 = "" A18752 = "" A18753 = "" A18754 = "" A18755 = "" A18756 = "" A18757 = "" A18758 = "" A18759 = "" A18760 = "" 
-A18761 = "" A18762 = "" A18763 = "" A18764 = "" A18765 = "" A18766 = "" A18767 = "" A18768 = "" A18769 = "" A18770 = "" 
-A18771 = "" A18772 = "" A18773 = "" A18774 = "" A18775 = "" A18776 = "" A18777 = "" A18778 = "" A18779 = "" A18780 = "" 
-A18781 = "" A18782 = "" A18783 = "" A18784 = "" A18785 = "" A18786 = "" A18787 = "" A18788 = "" A18789 = "" A18790 = "" 
-A18791 = "" A18792 = "" A18793 = "" A18794 = "" A18795 = "" A18796 = "" A18797 = "" A18798 = "" A18799 = "" A18800 = "" 
-A18801 = "" A18802 = "" A18803 = "" A18804 = "" A18805 = "" A18806 = "" A18807 = "" A18808 = "" A18809 = "" A18810 = "" 
-A18811 = "" A18812 = "" A18813 = "" A18814 = "" A18815 = "" A18816 = "" A18817 = "" A18818 = "" A18819 = "" A18820 = "" 
-A18821 = "" A18822 = "" A18823 = "" A18824 = "" A18825 = "" A18826 = "" A18827 = "" A18828 = "" A18829 = "" A18830 = "" 
-A18831 = "" A18832 = "" A18833 = "" A18834 = "" A18835 = "" A18836 = "" A18837 = "" A18838 = "" A18839 = "" A18840 = "" 
-A18841 = "" A18842 = "" A18843 = "" A18844 = "" A18845 = "" A18846 = "" A18847 = "" A18848 = "" A18849 = "" A18850 = "" 
-A18851 = "" A18852 = "" A18853 = "" A18854 = "" A18855 = "" A18856 = "" A18857 = "" A18858 = "" A18859 = "" A18860 = "" 
-A18861 = "" A18862 = "" A18863 = "" A18864 = "" A18865 = "" A18866 = "" A18867 = "" A18868 = "" A18869 = "" A18870 = "" 
-A18871 = "" A18872 = "" A18873 = "" A18874 = "" A18875 = "" A18876 = "" A18877 = "" A18878 = "" A18879 = "" A18880 = "" 
-A18881 = "" A18882 = "" A18883 = "" A18884 = "" A18885 = "" A18886 = "" A18887 = "" A18888 = "" A18889 = "" A18890 = "" 
-A18891 = "" A18892 = "" A18893 = "" A18894 = "" A18895 = "" A18896 = "" A18897 = "" A18898 = "" A18899 = "" A18900 = "" 
-A18901 = "" A18902 = "" A18903 = "" A18904 = "" A18905 = "" A18906 = "" A18907 = "" A18908 = "" A18909 = "" A18910 = "" 
-A18911 = "" A18912 = "" A18913 = "" A18914 = "" A18915 = "" A18916 = "" A18917 = "" A18918 = "" A18919 = "" A18920 = "" 
-A18921 = "" A18922 = "" A18923 = "" A18924 = "" A18925 = "" A18926 = "" A18927 = "" A18928 = "" A18929 = "" A18930 = "" 
-A18931 = "" A18932 = "" A18933 = "" A18934 = "" A18935 = "" A18936 = "" A18937 = "" A18938 = "" A18939 = "" A18940 = "" 
-A18941 = "" A18942 = "" A18943 = "" A18944 = "" A18945 = "" A18946 = "" A18947 = "" A18948 = "" A18949 = "" A18950 = "" 
-A18951 = "" A18952 = "" A18953 = "" A18954 = "" A18955 = "" A18956 = "" A18957 = "" A18958 = "" A18959 = "" A18960 = "" 
-A18961 = "" A18962 = "" A18963 = "" A18964 = "" A18965 = "" A18966 = "" A18967 = "" A18968 = "" A18969 = "" A18970 = "" 
-A18971 = "" A18972 = "" A18973 = "" A18974 = "" A18975 = "" A18976 = "" A18977 = "" A18978 = "" A18979 = "" A18980 = "" 
-A18981 = "" A18982 = "" A18983 = "" A18984 = "" A18985 = "" A18986 = "" A18987 = "" A18988 = "" A18989 = "" A18990 = "" 
-A18991 = "" A18992 = "" A18993 = "" A18994 = "" A18995 = "" A18996 = "" A18997 = "" A18998 = "" A18999 = "" A19000 = "" 
-A19001 = "" A19002 = "" A19003 = "" A19004 = "" A19005 = "" A19006 = "" A19007 = "" A19008 = "" A19009 = "" A19010 = "" 
-A19011 = "" A19012 = "" A19013 = "" A19014 = "" A19015 = "" A19016 = "" A19017 = "" A19018 = "" A19019 = "" A19020 = "" 
-A19021 = "" A19022 = "" A19023 = "" A19024 = "" A19025 = "" A19026 = "" A19027 = "" A19028 = "" A19029 = "" A19030 = "" 
-A19031 = "" A19032 = "" A19033 = "" A19034 = "" A19035 = "" A19036 = "" A19037 = "" A19038 = "" A19039 = "" A19040 = "" 
-A19041 = "" A19042 = "" A19043 = "" A19044 = "" A19045 = "" A19046 = "" A19047 = "" A19048 = "" A19049 = "" A19050 = "" 
-A19051 = "" A19052 = "" A19053 = "" A19054 = "" A19055 = "" A19056 = "" A19057 = "" A19058 = "" A19059 = "" A19060 = "" 
-A19061 = "" A19062 = "" A19063 = "" A19064 = "" A19065 = "" A19066 = "" A19067 = "" A19068 = "" A19069 = "" A19070 = "" 
-A19071 = "" A19072 = "" A19073 = "" A19074 = "" A19075 = "" A19076 = "" A19077 = "" A19078 = "" A19079 = "" A19080 = "" 
-A19081 = "" A19082 = "" A19083 = "" A19084 = "" A19085 = "" A19086 = "" A19087 = "" A19088 = "" A19089 = "" A19090 = "" 
-A19091 = "" A19092 = "" A19093 = "" A19094 = "" A19095 = "" A19096 = "" A19097 = "" A19098 = "" A19099 = "" A19100 = "" 
-A19101 = "" A19102 = "" A19103 = "" A19104 = "" A19105 = "" A19106 = "" A19107 = "" A19108 = "" A19109 = "" A19110 = "" 
-A19111 = "" A19112 = "" A19113 = "" A19114 = "" A19115 = "" A19116 = "" A19117 = "" A19118 = "" A19119 = "" A19120 = "" 
-A19121 = "" A19122 = "" A19123 = "" A19124 = "" A19125 = "" A19126 = "" A19127 = "" A19128 = "" A19129 = "" A19130 = "" 
-A19131 = "" A19132 = "" A19133 = "" A19134 = "" A19135 = "" A19136 = "" A19137 = "" A19138 = "" A19139 = "" A19140 = "" 
-A19141 = "" A19142 = "" A19143 = "" A19144 = "" A19145 = "" A19146 = "" A19147 = "" A19148 = "" A19149 = "" A19150 = "" 
-A19151 = "" A19152 = "" A19153 = "" A19154 = "" A19155 = "" A19156 = "" A19157 = "" A19158 = "" A19159 = "" A19160 = "" 
-A19161 = "" A19162 = "" A19163 = "" A19164 = "" A19165 = "" A19166 = "" A19167 = "" A19168 = "" A19169 = "" A19170 = "" 
-A19171 = "" A19172 = "" A19173 = "" A19174 = "" A19175 = "" A19176 = "" A19177 = "" A19178 = "" A19179 = "" A19180 = "" 
-A19181 = "" A19182 = "" A19183 = "" A19184 = "" A19185 = "" A19186 = "" A19187 = "" A19188 = "" A19189 = "" A19190 = "" 
-A19191 = "" A19192 = "" A19193 = "" A19194 = "" A19195 = "" A19196 = "" A19197 = "" A19198 = "" A19199 = "" A19200 = "" 
-A19201 = "" A19202 = "" A19203 = "" A19204 = "" A19205 = "" A19206 = "" A19207 = "" A19208 = "" A19209 = "" A19210 = "" 
-A19211 = "" A19212 = "" A19213 = "" A19214 = "" A19215 = "" A19216 = "" A19217 = "" A19218 = "" A19219 = "" A19220 = "" 
-A19221 = "" A19222 = "" A19223 = "" A19224 = "" A19225 = "" A19226 = "" A19227 = "" A19228 = "" A19229 = "" A19230 = "" 
-A19231 = "" A19232 = "" A19233 = "" A19234 = "" A19235 = "" A19236 = "" A19237 = "" A19238 = "" A19239 = "" A19240 = "" 
-A19241 = "" A19242 = "" A19243 = "" A19244 = "" A19245 = "" A19246 = "" A19247 = "" A19248 = "" A19249 = "" A19250 = "" 
-A19251 = "" A19252 = "" A19253 = "" A19254 = "" A19255 = "" A19256 = "" A19257 = "" A19258 = "" A19259 = "" A19260 = "" 
-A19261 = "" A19262 = "" A19263 = "" A19264 = "" A19265 = "" A19266 = "" A19267 = "" A19268 = "" A19269 = "" A19270 = "" 
-A19271 = "" A19272 = "" A19273 = "" A19274 = "" A19275 = "" A19276 = "" A19277 = "" A19278 = "" A19279 = "" A19280 = "" 
-A19281 = "" A19282 = "" A19283 = "" A19284 = "" A19285 = "" A19286 = "" A19287 = "" A19288 = "" A19289 = "" A19290 = "" 
-A19291 = "" A19292 = "" A19293 = "" A19294 = "" A19295 = "" A19296 = "" A19297 = "" A19298 = "" A19299 = "" A19300 = "" 
-A19301 = "" A19302 = "" A19303 = "" A19304 = "" A19305 = "" A19306 = "" A19307 = "" A19308 = "" A19309 = "" A19310 = "" 
-A19311 = "" A19312 = "" A19313 = "" A19314 = "" A19315 = "" A19316 = "" A19317 = "" A19318 = "" A19319 = "" A19320 = "" 
-A19321 = "" A19322 = "" A19323 = "" A19324 = "" A19325 = "" A19326 = "" A19327 = "" A19328 = "" A19329 = "" A19330 = "" 
-A19331 = "" A19332 = "" A19333 = "" A19334 = "" A19335 = "" A19336 = "" A19337 = "" A19338 = "" A19339 = "" A19340 = "" 
-A19341 = "" A19342 = "" A19343 = "" A19344 = "" A19345 = "" A19346 = "" A19347 = "" A19348 = "" A19349 = "" A19350 = "" 
-A19351 = "" A19352 = "" A19353 = "" A19354 = "" A19355 = "" A19356 = "" A19357 = "" A19358 = "" A19359 = "" A19360 = "" 
-A19361 = "" A19362 = "" A19363 = "" A19364 = "" A19365 = "" A19366 = "" A19367 = "" A19368 = "" A19369 = "" A19370 = "" 
-A19371 = "" A19372 = "" A19373 = "" A19374 = "" A19375 = "" A19376 = "" A19377 = "" A19378 = "" A19379 = "" A19380 = "" 
-A19381 = "" A19382 = "" A19383 = "" A19384 = "" A19385 = "" A19386 = "" A19387 = "" A19388 = "" A19389 = "" A19390 = "" 
-A19391 = "" A19392 = "" A19393 = "" A19394 = "" A19395 = "" A19396 = "" A19397 = "" A19398 = "" A19399 = "" A19400 = "" 
-A19401 = "" A19402 = "" A19403 = "" A19404 = "" A19405 = "" A19406 = "" A19407 = "" A19408 = "" A19409 = "" A19410 = "" 
-A19411 = "" A19412 = "" A19413 = "" A19414 = "" A19415 = "" A19416 = "" A19417 = "" A19418 = "" A19419 = "" A19420 = "" 
-A19421 = "" A19422 = "" A19423 = "" A19424 = "" A19425 = "" A19426 = "" A19427 = "" A19428 = "" A19429 = "" A19430 = "" 
-A19431 = "" A19432 = "" A19433 = "" A19434 = "" A19435 = "" A19436 = "" A19437 = "" A19438 = "" A19439 = "" A19440 = "" 
-A19441 = "" A19442 = "" A19443 = "" A19444 = "" A19445 = "" A19446 = "" A19447 = "" A19448 = "" A19449 = "" A19450 = "" 
-A19451 = "" A19452 = "" A19453 = "" A19454 = "" A19455 = "" A19456 = "" A19457 = "" A19458 = "" A19459 = "" A19460 = "" 
-A19461 = "" A19462 = "" A19463 = "" A19464 = "" A19465 = "" A19466 = "" A19467 = "" A19468 = "" A19469 = "" A19470 = "" 
-A19471 = "" A19472 = "" A19473 = "" A19474 = "" A19475 = "" A19476 = "" A19477 = "" A19478 = "" A19479 = "" A19480 = "" 
-A19481 = "" A19482 = "" A19483 = "" A19484 = "" A19485 = "" A19486 = "" A19487 = "" A19488 = "" A19489 = "" A19490 = "" 
-A19491 = "" A19492 = "" A19493 = "" A19494 = "" A19495 = "" A19496 = "" A19497 = "" A19498 = "" A19499 = "" A19500 = "" 
-A19501 = "" A19502 = "" A19503 = "" A19504 = "" A19505 = "" A19506 = "" A19507 = "" A19508 = "" A19509 = "" A19510 = "" 
-A19511 = "" A19512 = "" A19513 = "" A19514 = "" A19515 = "" A19516 = "" A19517 = "" A19518 = "" A19519 = "" A19520 = "" 
-A19521 = "" A19522 = "" A19523 = "" A19524 = "" A19525 = "" A19526 = "" A19527 = "" A19528 = "" A19529 = "" A19530 = "" 
-A19531 = "" A19532 = "" A19533 = "" A19534 = "" A19535 = "" A19536 = "" A19537 = "" A19538 = "" A19539 = "" A19540 = "" 
-A19541 = "" A19542 = "" A19543 = "" A19544 = "" A19545 = "" A19546 = "" A19547 = "" A19548 = "" A19549 = "" A19550 = "" 
-A19551 = "" A19552 = "" A19553 = "" A19554 = "" A19555 = "" A19556 = "" A19557 = "" A19558 = "" A19559 = "" A19560 = "" 
-A19561 = "" A19562 = "" A19563 = "" A19564 = "" A19565 = "" A19566 = "" A19567 = "" A19568 = "" A19569 = "" A19570 = "" 
-A19571 = "" A19572 = "" A19573 = "" A19574 = "" A19575 = "" A19576 = "" A19577 = "" A19578 = "" A19579 = "" A19580 = "" 
-A19581 = "" A19582 = "" A19583 = "" A19584 = "" A19585 = "" A19586 = "" A19587 = "" A19588 = "" A19589 = "" A19590 = "" 
-A19591 = "" A19592 = "" A19593 = "" A19594 = "" A19595 = "" A19596 = "" A19597 = "" A19598 = "" A19599 = "" A19600 = "" 
-A19601 = "" A19602 = "" A19603 = "" A19604 = "" A19605 = "" A19606 = "" A19607 = "" A19608 = "" A19609 = "" A19610 = "" 
-A19611 = "" A19612 = "" A19613 = "" A19614 = "" A19615 = "" A19616 = "" A19617 = "" A19618 = "" A19619 = "" A19620 = "" 
-A19621 = "" A19622 = "" A19623 = "" A19624 = "" A19625 = "" A19626 = "" A19627 = "" A19628 = "" A19629 = "" A19630 = "" 
-A19631 = "" A19632 = "" A19633 = "" A19634 = "" A19635 = "" A19636 = "" A19637 = "" A19638 = "" A19639 = "" A19640 = "" 
-A19641 = "" A19642 = "" A19643 = "" A19644 = "" A19645 = "" A19646 = "" A19647 = "" A19648 = "" A19649 = "" A19650 = "" 
-A19651 = "" A19652 = "" A19653 = "" A19654 = "" A19655 = "" A19656 = "" A19657 = "" A19658 = "" A19659 = "" A19660 = "" 
-A19661 = "" A19662 = "" A19663 = "" A19664 = "" A19665 = "" A19666 = "" A19667 = "" A19668 = "" A19669 = "" A19670 = "" 
-A19671 = "" A19672 = "" A19673 = "" A19674 = "" A19675 = "" A19676 = "" A19677 = "" A19678 = "" A19679 = "" A19680 = "" 
-A19681 = "" A19682 = "" A19683 = "" A19684 = "" A19685 = "" A19686 = "" A19687 = "" A19688 = "" A19689 = "" A19690 = "" 
-A19691 = "" A19692 = "" A19693 = "" A19694 = "" A19695 = "" A19696 = "" A19697 = "" A19698 = "" A19699 = "" A19700 = "" 
-A19701 = "" A19702 = "" A19703 = "" A19704 = "" A19705 = "" A19706 = "" A19707 = "" A19708 = "" A19709 = "" A19710 = "" 
-A19711 = "" A19712 = "" A19713 = "" A19714 = "" A19715 = "" A19716 = "" A19717 = "" A19718 = "" A19719 = "" A19720 = "" 
-A19721 = "" A19722 = "" A19723 = "" A19724 = "" A19725 = "" A19726 = "" A19727 = "" A19728 = "" A19729 = "" A19730 = "" 
-A19731 = "" A19732 = "" A19733 = "" A19734 = "" A19735 = "" A19736 = "" A19737 = "" A19738 = "" A19739 = "" A19740 = "" 
-A19741 = "" A19742 = "" A19743 = "" A19744 = "" A19745 = "" A19746 = "" A19747 = "" A19748 = "" A19749 = "" A19750 = "" 
-A19751 = "" A19752 = "" A19753 = "" A19754 = "" A19755 = "" A19756 = "" A19757 = "" A19758 = "" A19759 = "" A19760 = "" 
-A19761 = "" A19762 = "" A19763 = "" A19764 = "" A19765 = "" A19766 = "" A19767 = "" A19768 = "" A19769 = "" A19770 = "" 
-A19771 = "" A19772 = "" A19773 = "" A19774 = "" A19775 = "" A19776 = "" A19777 = "" A19778 = "" A19779 = "" A19780 = "" 
-A19781 = "" A19782 = "" A19783 = "" A19784 = "" A19785 = "" A19786 = "" A19787 = "" A19788 = "" A19789 = "" A19790 = "" 
-A19791 = "" A19792 = "" A19793 = "" A19794 = "" A19795 = "" A19796 = "" A19797 = "" A19798 = "" A19799 = "" A19800 = "" 
-A19801 = "" A19802 = "" A19803 = "" A19804 = "" A19805 = "" A19806 = "" A19807 = "" A19808 = "" A19809 = "" A19810 = "" 
-A19811 = "" A19812 = "" A19813 = "" A19814 = "" A19815 = "" A19816 = "" A19817 = "" A19818 = "" A19819 = "" A19820 = "" 
-A19821 = "" A19822 = "" A19823 = "" A19824 = "" A19825 = "" A19826 = "" A19827 = "" A19828 = "" A19829 = "" A19830 = "" 
-A19831 = "" A19832 = "" A19833 = "" A19834 = "" A19835 = "" A19836 = "" A19837 = "" A19838 = "" A19839 = "" A19840 = "" 
-A19841 = "" A19842 = "" A19843 = "" A19844 = "" A19845 = "" A19846 = "" A19847 = "" A19848 = "" A19849 = "" A19850 = "" 
-A19851 = "" A19852 = "" A19853 = "" A19854 = "" A19855 = "" A19856 = "" A19857 = "" A19858 = "" A19859 = "" A19860 = "" 
-A19861 = "" A19862 = "" A19863 = "" A19864 = "" A19865 = "" A19866 = "" A19867 = "" A19868 = "" A19869 = "" A19870 = "" 
-A19871 = "" A19872 = "" A19873 = "" A19874 = "" A19875 = "" A19876 = "" A19877 = "" A19878 = "" A19879 = "" A19880 = "" 
-A19881 = "" A19882 = "" A19883 = "" A19884 = "" A19885 = "" A19886 = "" A19887 = "" A19888 = "" A19889 = "" A19890 = "" 
-A19891 = "" A19892 = "" A19893 = "" A19894 = "" A19895 = "" A19896 = "" A19897 = "" A19898 = "" A19899 = "" A19900 = "" 
-A19901 = "" A19902 = "" A19903 = "" A19904 = "" A19905 = "" A19906 = "" A19907 = "" A19908 = "" A19909 = "" A19910 = "" 
-A19911 = "" A19912 = "" A19913 = "" A19914 = "" A19915 = "" A19916 = "" A19917 = "" A19918 = "" A19919 = "" A19920 = "" 
-A19921 = "" A19922 = "" A19923 = "" A19924 = "" A19925 = "" A19926 = "" A19927 = "" A19928 = "" A19929 = "" A19930 = "" 
-A19931 = "" A19932 = "" A19933 = "" A19934 = "" A19935 = "" A19936 = "" A19937 = "" A19938 = "" A19939 = "" A19940 = "" 
-A19941 = "" A19942 = "" A19943 = "" A19944 = "" A19945 = "" A19946 = "" A19947 = "" A19948 = "" A19949 = "" A19950 = "" 
-A19951 = "" A19952 = "" A19953 = "" A19954 = "" A19955 = "" A19956 = "" A19957 = "" A19958 = "" A19959 = "" A19960 = "" 
-A19961 = "" A19962 = "" A19963 = "" A19964 = "" A19965 = "" A19966 = "" A19967 = "" A19968 = "" A19969 = "" A19970 = "" 
-A19971 = "" A19972 = "" A19973 = "" A19974 = "" A19975 = "" A19976 = "" A19977 = "" A19978 = "" A19979 = "" A19980 = "" 
-A19981 = "" A19982 = "" A19983 = "" A19984 = "" A19985 = "" A19986 = "" A19987 = "" A19988 = "" A19989 = "" A19990 = "" 
-A19991 = "" A19992 = "" A19993 = "" A19994 = "" A19995 = "" A19996 = "" A19997 = "" A19998 = "" A19999 = "" 
->
-    <name><family>Boss</family> <given>Big</given></name>
-    <email>chief@foo.com</email>
-    <link subordinates="one.worker two.worker three.worker four.worker five.worker"/>
-  </person>
-
-  <person id="one.worker">
-    <name><family>Worker</family> <given>One</given></name>
-    <email>one@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-  <person id="two.worker">
-    <name><family>Worker</family> <given>Two</given></name>
-    <email>two@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-  <person id="three.worker">
-    <name><family>Worker</family> <given>Three</given></name>
-    <email>three@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-  <person id="four.worker">
-    <name><family>Worker</family> <given>Four</given></name>
-    <email>four@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-  <person id="five.worker">
-    <name><family>Worker</family> <given>Five</given></name>
-    <email>five@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-</personnel>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/DosTest3.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<personnel>
-
-<person id="Big.Boss"  A100 = "" 
-A101 = "" A102 = "" A103 = ""
->
-    <name><family>Boss</family> <given>Big</given></name>
-    <email>chief@foo.com</email>
-    <link subordinates="one.worker two.worker three.worker four.worker five.worker"/>
-  </person>
-
-  <person id="one.worker">
-    <name><family>Worker</family> <given>One</given></name>
-    <email>one@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-  <person id="two.worker">
-    <name><family>Worker</family> <given>Two</given></name>
-    <email>two@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-  <person id="three.worker">
-    <name><family>Worker</family> <given>Three</given></name>
-    <email>three@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-  <person id="four.worker">
-    <name><family>Worker</family> <given>Four</given></name>
-    <email>four@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-  <person id="five.worker">
-    <name><family>Worker</family> <given>Five</given></name>
-    <email>five@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-</personnel>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/FactoryFindTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.net.URL;
-import java.net.URLClassLoader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test Classloader for SAXParserFactory.
- */
-public class FactoryFindTest {
-
-    boolean myClassLoaderUsed = false;
-
-    @Test
-    public void testFactoryFind() {
-        try {
-            // System.setProperty("jaxp.debug", "true");
-
-            SAXParserFactory factory = SAXParserFactory.newInstance();
-            Assert.assertTrue(factory.getClass().getClassLoader() == null);
-
-            Thread.currentThread().setContextClassLoader(null);
-            factory = SAXParserFactory.newInstance();
-            Assert.assertTrue(factory.getClass().getClassLoader() == null);
-
-            Thread.currentThread().setContextClassLoader(new MyClassLoader());
-            factory = SAXParserFactory.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);
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/MyDefaultHandler.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import org.xml.sax.Attributes;
-import org.xml.sax.Locator;
-import org.xml.sax.ext.Locator2;
-import org.xml.sax.helpers.DefaultHandler;
-
-public class MyDefaultHandler extends DefaultHandler {
-
-    private Locator myLocator = null;
-    String xmlVersion = "";
-
-    public void setDocumentLocator(Locator locator) {
-        myLocator = locator;
-    }
-
-    public void startElement(String uri, String localName, String qName, Attributes attributes) {
-        try {
-            xmlVersion = ((Locator2) myLocator).getXMLVersion();
-        } catch (Exception e) {
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/MyErrorHandler.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.helpers.DefaultHandler;
-
-public class MyErrorHandler extends DefaultHandler {
-
-    public boolean errorOccured = false;
-
-    public void error(SAXParseException e) throws SAXException {
-
-        System.err.println("Error: " + "[[" + e.getPublicId() + "]" + "[" + e.getSystemId() + "]]" + "[[" + e.getLineNumber() + "]" + "[" + e.getColumnNumber()
-                + "]] " + e);
-
-        errorOccured = true;
-    }
-
-    public void fatalError(SAXParseException e) throws SAXException {
-
-        System.err.println("Fatal Error: " + e);
-
-        errorOccured = true;
-    }
-
-    public void warning(SAXParseException e) throws SAXException {
-
-        System.err.println("Warning: " + e);
-
-        errorOccured = true;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/ParseEmptyStream.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,85 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.parsers;
-
-import java.io.StringReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @summary Test SAXParser doesn't accept empty stream.
- */
-public class ParseEmptyStream {
-
-    SAXParserFactory factory = null;
-
-    public ParseEmptyStream(String name) {
-        try {
-            factory = SAXParserFactory.newInstance();
-            factory.setNamespaceAware(true);
-        } catch (Exception ex) {
-            Assert.fail(ex.getMessage());
-        }
-    }
-
-    @Test
-    public void testEmptyStream() {
-        try {
-            SAXParser parser = factory.newSAXParser();
-            InputSource source = new InputSource(new StringReader(""));
-            parser.parse(source, new MyHandler());
-            Assert.fail("Inputstream without document element accepted");
-        } catch (Exception ex) {
-            System.out.println("Exception thrown: " + ex.getMessage());
-            // Premature end of file exception expected
-        }
-    }
-
-    @Test
-    public void testXmlDeclOnly() {
-        try {
-            SAXParser parser = factory.newSAXParser();
-            InputSource source = new InputSource(new StringReader("<?xml version='1.0' encoding='utf-8'?>"));
-            parser.parse(source, new MyHandler());
-            Assert.fail("Inputstream without document element accepted");
-        } catch (Exception ex) {
-            System.out.println("Exception thrown: " + ex.getMessage());
-            // Premature end of file exception expected
-        }
-    }
-
-    static class MyHandler extends DefaultHandler {
-        public void startDocument() {
-            System.out.println("Start document called");
-        }
-
-        public void endDocument() {
-            System.out.println("End document called");
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/bug6690015.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<block>
-<lang>
-<text dna="8233" ro="hello, and i'll type some normal characters in (&gt;=1.5 mm) ro" it="here to make sure international characters don't play a part(&gt;=1.5mm) it" tr="make sure international characters don't play a part (&gt;=1.5 mm) tr" pt_br="make sure international characters don't play a part (&gt;=1,5 mm) pt_br" de="make sure international characters don't play a part (&gt;=1,5 mm) de" el="make sure international characters don't play a part (&gt;= 1.5 mm) el" zh_cn="make sure international characters don't play a part¿&gt;= 1.5 mm¿ zh_cn" pt="make sure international characters don't play a part (&gt;=1,5 mm) pt" bg="make sure international characters don't play a part (&gt;= 1.5 mm) bg" fr="make sure international characters don't play a part (&gt;= 1,5 mm) fr" en="make sure international characters don't play a part (&gt;= 1.5 mm) en" ru="make sure international characters don't play a part (&gt;=1.5 ¿¿) ru" es="make sure international characters don't play a part (&gt;=1.5 mm) es" ja="make sure international characters don't play a part¿&gt;=1.5mm¿ ja" nl="make sure international characters don't play a part (&gt;= 1,5 mm) nl" />
-</lang>
-</block>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/bug6760982.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<Test>
-  <mytest  a= '[]'
-           b= '[]'
-           c= '[]'
-           d= '[]'
-           e= '[]'
-           f= '[]'
-           Y= '[]'
-           Z= 'ZZ[]'
-  />
-</Test>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/catalog.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.1" encoding="UTF-8"?>
-<stardb xmlns="http://www.astro.com/astro" xmlns:astro="http://www.astro.com/astro" xsi:schemaLocation="http://www.astro.com/astro catalog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><_test01></_test01><test-02 xmlns:xsi=""></test-02><test.03></test.03><_test-04>T%e!s#t$</_test-04><star><hr>1</hr><constellation/><fullname/><ra><h>00</h><m>05</m><s>09.9</s><dv>0.08608333333333333</dv></ra><dec><sgn/><d>45</d><m>13</m><s>45</s><dv>45.22916666666667</dv></dec><glng>114.44</glng><glat>-16.88</glat><vmag>6.70</vmag><spec>A1Vn</spec></star><star><hr>2</hr><constellation/><fullname/><ra><h>00</h><m>05</m><s>03.8</s><dv>0.08438888888888889</dv></ra><dec><sgn>-</sgn><d>00</d><m>30</m><s>11</s><dv>-0.5030555555555556</dv></dec><glng>98.33</glng><glat>-61.14</glat><vmag>6.29</vmag><spec>gG9</spec></star><star><hr>3</hr><constellation>Psc</constellation><fullname>33    Psc</fullname><ra><h>00</h><m>05</m><s>20.1</s><dv>0.08891666666666666</dv></ra><dec><sgn>-</sgn><d>05</d><m>42</m><s>27</s><dv>-5.7075000000000005</dv></dec><glng>93.75</glng><glat>-65.93</glat><vmag>4.61</vmag><spec>K0IIIbCN-0.5</spec></star><star><hr>4</hr><constellation>Peg</constellation><fullname>86    Peg</fullname><ra><h>00</h><m>05</m><s>42.0</s><dv>0.095</dv></ra><dec><sgn/><d>13</d><m>23</m><s>46</s><dv>13.39611111111111</dv></dec><glng>106.19</glng><glat>-47.98</glat><vmag>5.51</vmag><spec>G5III</spec></star><star><hr>5</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>16.0</s><dv>0.10444444444444445</dv></ra><dec><sgn/><d>58</d><m>26</m><s>12</s><dv>58.43666666666666</dv></dec><glng>117.03</glng><glat>-03.92</glat><vmag>5.96</vmag><spec>G5V</spec></star><star><hr>6</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>19.0</s><dv>0.10527777777777779</dv></ra><dec><sgn>-</sgn><d>49</d><m>04</m><s>30</s><dv>-49.075</dv></dec><glng>321.61</glng><glat>-66.38</glat><vmag>5.70</vmag><spec>G1IV</spec></star><star><hr>7</hr><constellation>Cas</constellation><fullname>10    Cas</fullname><ra><h>00</h><m>06</m><s>26.5</s><dv>0.10736111111111112</dv></ra><dec><sgn/><d>64</d><m>11</m><s>46</s><dv>64.19611111111111</dv></dec><glng>118.06</glng><glat>1.75</glat><vmag>5.59</vmag><spec>B9III</spec></star><star><hr>8</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>36.8</s><dv>0.11022222222222222</dv></ra><dec><sgn/><d>29</d><m>01</m><s>17</s><dv>29.02138888888889</dv></dec><glng>111.26</glng><glat>-32.83</glat><vmag>6.13</vmag><spec>K0V</spec></star><star><hr>9</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>50.1</s><dv>0.11391666666666667</dv></ra><dec><sgn>-</sgn><d>23</d><m>06</m><s>27</s><dv>-23.1075</dv></dec><glng>52.21</glng><glat>-79.14</glat><vmag>6.18</vmag><spec>A7V</spec></star><star><hr>10</hr><constellation/><fullname/><ra><h>00</h><m>07</m><s>18.2</s><dv>0.12172222222222222</dv></ra><dec><sgn>-</sgn><d>17</d><m>23</m><s>11</s><dv>-17.386388888888888</dv></dec><glng>74.36</glng><glat>-75.90</glat><vmag>6.19</vmag><spec>A6Vn</spec></star></stardb>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/catalog.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,122 +0,0 @@
-<xs:schema 
-    xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    targetNamespace="http://www.astro.com/astro" 
-    xmlns:astro="http://www.astro.com/astro"
-    elementFormDefault="qualified"
-    attributeFormDefault="qualified"
->
-    <!-- Star Identification String Type  -->
-    <xs:simpleType name="staridType">
-	<xs:restriction base="xs:string">
-	    <xs:maxLength value="4"/>
-	</xs:restriction>
-    </xs:simpleType>
-
-    <!-- Hour Type -->
-    <xs:simpleType name="hourType">
-	<xs:restriction base="xs:decimal">
-	    <xs:minInclusive value="0.0"/>
-	    <xs:maxInclusive value="24.0"/>
-	</xs:restriction>
-    </xs:simpleType>
-
-    <!-- Minute Type -->
-    <xs:simpleType name="minuteType">
-	<xs:restriction base="xs:decimal">
-	    <xs:minInclusive value="0.0"/>
-	    <xs:maxInclusive value="60.0"/>
-	</xs:restriction>
-    </xs:simpleType>
-
-    <!-- Second Type -->
-    <xs:simpleType name="secondType">
-	<xs:restriction base="xs:decimal">
-	    <xs:minInclusive value="0.0"/>
-	    <xs:maxInclusive value="60.0"/>
-	</xs:restriction>
-    </xs:simpleType>
-
-    <xs:simpleType name="decimalValueType">
-	<xs:restriction base="xs:decimal">
-	</xs:restriction>
-    </xs:simpleType> 
-
-    <xs:simpleType name="degType">
-	<xs:restriction base="xs:decimal">
-	    <xs:minInclusive value="-90.0"/>
-	    <xs:maxInclusive value="90.0"/>
-	</xs:restriction>
-    </xs:simpleType> 
-
-    <xs:simpleType name="vmagType">
-	<xs:restriction base="xs:decimal">
-	    <xs:minInclusive value="-3.0"/>
-	    <xs:maxInclusive value="12.0"/>
-	</xs:restriction>
-    </xs:simpleType> 
-
-
-    <xs:simpleType name="signType">
-	<xs:restriction base="xs:string">
-	    <xs:enumeration value="+"/>
-	    <xs:enumeration value="-"/>
-	    <xs:enumeration value=""/>
-	</xs:restriction>
-    </xs:simpleType> 
-
-    <xs:complexType name="raType">
-	<xs:sequence>
-	    <xs:element name="h"  type="astro:hourType"/>
-	    <xs:element name="m"  type="astro:minuteType"/>
-	    <xs:element name="s"  type="astro:secondType"/>
-	    <xs:element name="dv" type="astro:decimalValueType"/>
-	</xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="decType">
-	<xs:sequence>
-	    <xs:element name="sgn" type="astro:signType"/>
-	    <xs:element name="d"   type="astro:degType"/>
-	    <xs:element name="m"   type="astro:minuteType"/>
-	    <xs:element name="s"   type="astro:secondType"/>
-	    <xs:element name="dv"  type="astro:decimalValueType"/>
-	</xs:sequence>
-    </xs:complexType>
-
-
-    <xs:complexType name="starType">
-	<xs:sequence>
-	    <xs:element name="hr"            type="astro:staridType"/>
-	    <xs:element name="constellation" type="xs:string"/>
-	    <xs:element name="fullname"      type="xs:string"/>
-	    <xs:element name="ra"            type="astro:raType"/>
-	    <xs:element name="dec"           type="astro:decType"/>
-	    <xs:element name="glng"          type="xs:decimal"/>
-	    <xs:element name="glat"          type="xs:decimal"/>
-	    <xs:element name="vmag"          type="astro:vmagType"/>
-	    <xs:element name="spec"          type="xs:string"/>
-	</xs:sequence>
-    </xs:complexType>
-
-
-    <!-- The real part of the catalog starts here -->
-    <xs:element name="stardb">
-       <xs:complexType>
-          <xs:sequence>
-
-	     <!-- for testing purposes -->
-	     <xs:element name="_test01" type="xs:string"
-		minOccurs="0" maxOccurs="1"/>
-	     <xs:element name="test-02" type="xs:string"/>
-	     <xs:element name="test.03" type="xs:string"/>
-	     <xs:element name="_test-04" type="xs:string"/>
-
-	     <!-- astro data elements -->
-             <xs:element name="star" type="astro:starType"
-	        minOccurs="0" maxOccurs="unbounded"/>
-          </xs:sequence>
-       </xs:complexType>
-    </xs:element>
-    <!-- The real part of the catalog ends here -->
-
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/entity.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding='UTF-8'?>
-<!DOCTYPE author [ 
-<!ELEMENT author ANY>
-<!ENTITY writer "Jan Egil Refsnes.">
-<!ENTITY copyright "Copyright XML101.">
-<!ENTITY something "ABC">
-]> 
-<author>&writer;&copyright;&something;&something;</author>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/entity64K.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-<!DOCTYPE author [
-<!ELEMENT author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;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;</author>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/test.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-           xmlns:tn="foo"
-           targetNamespace="foo" elementFormDefault="qualified">
-    <xs:element name="root">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="a">
-                    <xs:complexType>
-                        <xs:sequence>
-                            <xs:element ref="tn:b"/>
-                        </xs:sequence>
-                    </xs:complexType>
-                </xs:element>
-                <xs:element name="ref" maxOccurs="unbounded" minOccurs="0" type="xs:string" />
-            </xs:sequence>
-        </xs:complexType>
-                                        
-        <!-- identity constraint -->
-        <xs:key name="key">
-            <xs:selector xpath=".//tn:a/tn:b|.//tn:a/tn:b/tn:c"/>
-            <xs:field xpath="@id"/>
-        </xs:key>
-        <xs:keyref name="keyref" refer="tn:key">
-            <xs:selector xpath=".//tn:ref"/>
-            <xs:field xpath="."/>
-        </xs:keyref>
-    </xs:element>
-    
-    <xs:element name="c">
-        <xs:complexType>
-            <xs:attribute name="id" type="xs:string"/>
-        </xs:complexType>
-    </xs:element>
-                
-    <xs:element name="b">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element ref="tn:c" minOccurs="0" />
-            </xs:sequence>
-            <xs:attribute name="id" type="xs:string"/>
-        </xs:complexType>
-    </xs:element>
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/test1.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root xmlns="foo">
-    <a>
-       <b id="id1">
-         <c id="id2"/>
-       </b>
-    </a>
-
-    <ref>id2</ref>
-</root>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/test2.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root xmlns="foo">
-  <undefined />
-</root>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/toys.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-    Document   : toys.xml
-    Created on : August 11, 2003, 6:42 PM
-    Author     : Prasad Subramanian
-    Description:
--->
-
-<toys>
-    <toy>
-        <name>Lego-Model01</name>
-        <price>65.99</price>
-    </toy>
-    <toy>
-        <name>Lego-Model2</name>
-        <price>69.99</price>
-    </toy>
-    <toy>
-        <name>Lego-Model3</name>
-        <price>14.99</price>
-    </toy>
-    <toy>
-        <name>Barbie-Pink</name>
-        <price>12.99</price>
-    </toy>
-    <toy>
-        <name>Barbie-Blue</name>
-        <price>13.99</price>
-    </toy>        
-    <toy>
-        <name>Barbie-White</name>
-        <price>13.99</price>
-    </toy>   
-    <toy>
-        <name>Barbie-Plain</name>
-        <price>13.99</price>
-    </toy>           
-</toys>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/toys.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
-  <xs:element name="toys">
-     <xs:complexType>
-       <xs:sequence>
-         <xs:element name="toy" maxOccurs="200">
-           <xs:complexType>
-             <xs:sequence>
-               <xs:element name="name" type="xs:string" minOccurs="0"/>
-               <xs:element name="price" type="xs:string" minOccurs="0"/>
-             </xs:sequence>
-          </xs:complexType>  
-        </xs:element>
-      </xs:sequence>
-    </xs:complexType>  
-  </xs:element>
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/toys3002.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
-  <xs:element name="toys">
-     <xs:complexType>
-       <xs:sequence>
-         <xs:element name="toy" maxOccurs="3002">
-           <xs:complexType>
-             <xs:sequence>
-               <xs:element name="name" type="xs:string" minOccurs="0"/>
-               <xs:element name="price" type="xs:string" minOccurs="0"/>
-             </xs:sequence>
-          </xs:complexType>  
-        </xs:element>
-      </xs:sequence>
-    </xs:complexType>  
-  </xs:element>
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/xinclude/Bug6794483Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,103 +0,0 @@
-/*
- * 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 javax.xml.parsers.xinclude;
-
-import static java.lang.System.lineSeparator;
-import static org.testng.Assert.assertEquals;
-
-import java.io.File;
-import java.io.StringWriter;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.transform.OutputKeys;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.w3c.dom.NodeList;
-
-/*
- * @bug 6794483 8080908
- * @summary Test JAXP parser can resolve the included content properly if the
- * included xml contains an empty tag that ends with "/>", refer to XERCESJ-1134.
- */
-public class Bug6794483Test {
-
-    @Test
-    public final void test() throws Exception {
-        Document doc = parseXmlFile(getClass().getResource("test1.xml").getPath());
-
-        // check node4
-        NodeList nodeList = doc.getElementsByTagName("node4");
-        assertEquals(nodeList.getLength(), 1);
-        assertEquals(nodeList.item(0).getTextContent(), "Node4 Value", "The data of node4 is missed in parsing: " + lineSeparator() + printXmlDoc(doc));
-
-        // check node6
-        nodeList = doc.getElementsByTagName("node6");
-        assertEquals(nodeList.getLength(), 1);
-        assertEquals(nodeList.item(0).getTextContent(), "Node6 Value", "The data of node6 is missed in parsing: " + lineSeparator() + printXmlDoc(doc));
-    }
-
-    public String printXmlDoc(Document doc) throws Exception {
-        StringWriter sw = new StringWriter();
-        StreamResult result = new StreamResult(sw);
-
-        TransformerFactory transformerFact = TransformerFactory.newInstance();
-        transformerFact.setAttribute("indent-number", new Integer(4));
-        Transformer transformer;
-
-        transformer = transformerFact.newTransformer();
-        transformer.setOutputProperty(OutputKeys.INDENT, "yes");
-        transformer.setOutputProperty(OutputKeys.METHOD, "xml");
-        transformer.setOutputProperty(OutputKeys.MEDIA_TYPE, "text/xml");
-
-        transformer.transform(new DOMSource(doc), result);
-        return sw.toString();
-    }
-
-    public Document parseXmlFile(String fileName) throws Exception {
-        System.out.println("Parsing XML file... " + fileName);
-        DocumentBuilder docBuilder = null;
-        Document doc = null;
-        DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
-        docBuilderFactory.setCoalescing(true);
-        docBuilderFactory.setXIncludeAware(true);
-        System.out.println("Include: " + docBuilderFactory.isXIncludeAware());
-        docBuilderFactory.setNamespaceAware(true);
-        docBuilderFactory.setExpandEntityReferences(true);
-
-        docBuilder = docBuilderFactory.newDocumentBuilder();
-
-        File sourceFile = new File(fileName);
-        doc = docBuilder.parse(sourceFile);
-
-        System.out.println("XML file parsed");
-        return doc;
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/xinclude/test1.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<scenario xsi:noNamespaceSchemaLocation="..\xsd\Scenario.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xi="http://www.w3.org/2001/XInclude">
-
-<!-- Configuration data for Device-->
-<Device>
-<xi:include href="test2.xml" xpointer="element(/1/1)" parse="xml"/>
-</Device>
-
-</scenario>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/parsers/xinclude/test2.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-<test2>
-<N1>
-<node1>Node1 Value</node1>
-<node2>Node2 Value</node2>
-<node3/>
-<node4>Node4 Value</node4>
-<node5>
-<node6>Node6 Value</node6>
-</node5>
-</N1>
-</test2>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/AttributeLocalNameTest/AttributeLocalNameTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.AttributeLocalNameTest;
-
-import java.io.StringReader;
-
-import javax.xml.stream.StreamFilter;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XMLStreamReader.getAttributeLocalName().
- */
-public class AttributeLocalNameTest {
-
-    static final String XML = "<?xml version=\"1.0\"?>" + "<S:Envelope foo=\"bar\" xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\"></S:Envelope>";
-
-    @Test
-    public void testOne() {
-        try {
-            XMLInputFactory factory = XMLInputFactory.newInstance();
-            XMLStreamReader reader = factory.createFilteredReader(factory.createXMLStreamReader(new StringReader(XML)), new Filter());
-            reader.next();
-            reader.hasNext(); // force filter to cache
-            Assert.assertTrue(reader.getAttributeLocalName(0) != null);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Unexpected Exception: " + e.getMessage());
-        }
-    }
-
-    class Filter implements StreamFilter {
-
-        public boolean accept(XMLStreamReader reader) {
-            return true;
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6370703.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6370703
- * @summary Test StAX parser can parse attribute default value when START_ELEMENT.
- */
-public class Bug6370703 {
-
-    private static String INPUT_FILE = "sgml.xml";
-
-    @Test
-    public void testStartElement() {
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-            XMLStreamReader xsr = xif.createXMLStreamReader(this.getClass().getResource(INPUT_FILE).toExternalForm(),
-                    this.getClass().getResourceAsStream(INPUT_FILE));
-
-            while (xsr.hasNext()) {
-                int event = xsr.next();
-                if (event == XMLStreamReader.START_ELEMENT) {
-                    String localName = xsr.getLocalName();
-                    boolean print = "para".equals(localName);
-                    int nrOfAttr = xsr.getAttributeCount();
-                    if (print) {
-                        Assert.assertTrue(nrOfAttr > 0, "Default attribute declared in DTD is missing");
-                    }
-
-                }
-            }
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6378422.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream;
-
-import javax.xml.stream.XMLInputFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6378422
- * @summary Test setting reuse-instance property on StAX factory.
- */
-public class Bug6378422 {
-
-    @Test
-    public void testReuseInstanceProp() {
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-            xif.setProperty("reuse-instance", Boolean.valueOf(true));
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6380870.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6380870
- * @summary Test StAX parser can parse VoiceXML DTD.
- */
-public class Bug6380870 {
-
-    private static String INPUT_FILE = "basic-form.vxml";
-
-    @Test
-    public void testStreamReader() {
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-            XMLStreamReader reader = xif.createXMLStreamReader(this.getClass().getResource(INPUT_FILE).toExternalForm(),
-                    this.getClass().getResourceAsStream(INPUT_FILE));
-            while (reader.hasNext())
-                reader.next();
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6489502.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-/*
- * Copyright (c) 2013, 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 javax.xml.stream;
-
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6489502
- * @summary Test XMLInputFactory works correctly in case it repeats to create reader.
- */
-public class Bug6489502 {
-
-    public java.io.File input;
-    public final String filesDir = "./";
-    protected XMLInputFactory inputFactory = XMLInputFactory.newInstance();
-    protected XMLOutputFactory outputFactory = XMLOutputFactory.newInstance();
-
-    private static String xml = "<?xml version=\"1.0\"?><PLAY><TITLE>The Tragedy of Hamlet, Prince of Denmark</TITLE></PLAY>";
-
-    @Test
-    public void testEventReader1() {
-        try {
-            // Check if event reader returns the correct event
-            XMLEventReader e1 = inputFactory.createXMLEventReader(inputFactory.createXMLStreamReader(new java.io.StringReader(xml)));
-            Assert.assertEquals(e1.peek().getEventType(), XMLStreamConstants.START_DOCUMENT);
-
-            // Repeat same steps to test factory state
-            XMLEventReader e2 = inputFactory.createXMLEventReader(inputFactory.createXMLStreamReader(new java.io.StringReader(xml)));
-            Assert.assertEquals(e2.peek().getEventType(), XMLStreamConstants.START_DOCUMENT);
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    @Test
-    public void testEventReader2() {
-        try {
-            // Now advance underlying reader and then call peek on event reader
-            XMLStreamReader s1 = inputFactory.createXMLStreamReader(new java.io.StringReader(xml));
-            Assert.assertEquals(s1.getEventType(), XMLStreamConstants.START_DOCUMENT);
-            s1.next();
-            s1.next(); // advance to <TITLE>
-            Assert.assertTrue(s1.getLocalName().equals("TITLE"));
-
-            XMLEventReader e3 = inputFactory.createXMLEventReader(s1);
-            Assert.assertEquals(e3.peek().getEventType(), XMLStreamConstants.START_ELEMENT);
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6509774.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,170 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6509774
- * @summary Test Property javax.xml.stream.supportDTD, DTD events are now returned even if supportDTD=false.
- */
-public class Bug6509774 {
-
-    @Test
-    public void test0() {
-
-        try {
-
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-
-            xif.setProperty("javax.xml.stream.supportDTD", Boolean.TRUE);
-
-            XMLStreamReader xsr = xif.createXMLStreamReader(
-
-            getClass().getResource("sgml_Bug6509774.xml").toString(),
-
-            getClass().getResourceAsStream("sgml_Bug6509774.xml"));
-
-            Assert.assertTrue(xsr.getEventType() == XMLStreamConstants.START_DOCUMENT);
-
-            int event = xsr.next();
-
-            // Must be a DTD event since DTDs are supported
-
-            Assert.assertTrue(event == XMLStreamConstants.DTD);
-
-            while (xsr.hasNext()) {
-
-                event = xsr.next();
-
-            }
-
-            Assert.assertTrue(event == XMLStreamConstants.END_DOCUMENT);
-
-            xsr.close();
-
-        }
-
-        catch (Exception e) {
-
-            Assert.fail(e.getMessage());
-
-        }
-
-    }
-
-    @Test
-    public void test1() {
-
-        try {
-
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-
-            xif.setProperty("javax.xml.stream.supportDTD", Boolean.FALSE);
-
-            XMLStreamReader xsr = xif.createXMLStreamReader(
-
-            getClass().getResource("sgml_Bug6509774.xml").toString(),
-
-            getClass().getResourceAsStream("sgml_Bug6509774.xml"));
-
-            Assert.assertTrue(xsr.getEventType() == XMLStreamConstants.START_DOCUMENT);
-
-            int event = xsr.next();
-
-            // Should not be a DTD event since they are ignored
-
-            Assert.assertTrue(event == XMLStreamConstants.DTD);
-
-            while (xsr.hasNext()) {
-
-                event = xsr.next();
-
-            }
-
-            Assert.assertTrue(event == XMLStreamConstants.END_DOCUMENT);
-
-            xsr.close();
-
-        }
-
-        catch (Exception e) {
-
-            Assert.fail(e.getMessage());
-
-        }
-
-    }
-
-    @Test
-    public void test2() {
-
-        try {
-
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-
-            xif.setProperty("javax.xml.stream.supportDTD", Boolean.FALSE);
-
-            XMLStreamReader xsr = xif.createXMLStreamReader(
-
-            getClass().getResource("sgml-bad-systemId.xml").toString(),
-
-            getClass().getResourceAsStream("sgml-bad-systemId.xml"));
-
-            Assert.assertTrue(xsr.getEventType() == XMLStreamConstants.START_DOCUMENT);
-
-            int event = xsr.next();
-
-            // Should not be a DTD event since they are ignored
-
-            Assert.assertTrue(event == XMLStreamConstants.DTD);
-
-            while (xsr.hasNext()) {
-
-                event = xsr.next();
-
-            }
-
-            Assert.assertTrue(event == XMLStreamConstants.END_DOCUMENT);
-
-            xsr.close();
-
-        }
-
-        catch (Exception e) {
-
-            // Bogus systemId in XML document should not result in exception
-
-            Assert.fail(e.getMessage());
-
-        }
-
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6688002Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,104 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream;
-
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.InputStream;
-import java.io.OutputStream;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6688002
- * @summary Test single instance of XMLOutputFactory/XMLInputFactory create multiple Writer/Readers in parallel.
- */
-public class Bug6688002Test {
-
-    private static final XMLOutputFactory outputFactory = XMLOutputFactory.newInstance();
-    private static final XMLInputFactory inputFactory = XMLInputFactory.newInstance();
-    private static final int NO_THREADS = 3;
-
-    @Test
-    public void testMultiThread() throws Exception {
-        Thread[] threads = new Thread[NO_THREADS];
-        for (int i = 0; i < NO_THREADS; i++) {
-            threads[i] = new Thread(new MyRunnable(i));
-        }
-        for (int i = 0; i < NO_THREADS; i++) {
-            threads[i].start();
-        }
-        for (int i = 0; i < NO_THREADS; i++) {
-            threads[i].join();
-        }
-    }
-
-    public class MyRunnable implements Runnable {
-        final int no;
-
-        MyRunnable(int no) {
-            this.no = no;
-        }
-
-        public void run() {
-            try {
-                FileOutputStream fos = new FileOutputStream("" + no);
-                XMLStreamWriter w = getWriter(fos);
-                // System.out.println("Writer="+w+" Thread="+Thread.currentThread());
-                w.writeStartDocument();
-                w.writeStartElement("hello");
-                for (int j = 0; j < 50; j++) {
-                    w.writeStartElement("a" + j);
-                    w.writeEndElement();
-                }
-                w.writeEndElement();
-                w.writeEndDocument();
-                w.close();
-                fos.close();
-
-                FileInputStream fis = new FileInputStream("" + no);
-                XMLStreamReader r = getReader(fis);
-                while (r.hasNext()) {
-                    r.next();
-                }
-                r.close();
-                fis.close();
-            } catch (Exception e) {
-                Assert.fail(e.getMessage());
-            }
-        }
-    }
-
-    public static/* synchronized */XMLStreamReader getReader(InputStream is) throws Exception {
-        return inputFactory.createXMLStreamReader(is);
-        // return XMLStreamReaderFactory.create(null, is, true);
-    }
-
-    public static/* synchronized */XMLStreamWriter getWriter(OutputStream os) throws Exception {
-        return outputFactory.createXMLStreamWriter(os);
-        // return XMLStreamWriterFactory.createXMLStreamWriter(os);
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6976938.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1810 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<vf:root xmlns:vf="http://www.xxx.com/oss/xml/TroubleTicket">
-      <vf:troubleDescription>
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-&lt;a111111111a&gt;
-  &lt;b111111111b&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-    &lt;c111111111c&gt;
-  &lt;b111111111b&gt;
-&lt;a111111111a&gt;
-
-      </vf:troubleDescription>
-</vf:root>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Bug6976938Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,92 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.events.XMLEvent;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6976938
- * @summary Test StAX parser won't throw StackOverflowError while reading valid XML file, in case the text content of an XML element contains many lines like "&lt; ... &gt;".
- */
-public class Bug6976938Test {
-
-    private static final String INPUT_FILE = "Bug6976938.xml";
-
-    public static final String VF_GENERIC_TT_NAMESPACE = "http://www.vodafone.com/oss/xml/TroubleTicket";
-
-    public static final QName ATTACHMENT_NAME = new QName(VF_GENERIC_TT_NAMESPACE, "attachment");
-
-    @Test
-    public void testEventReader() {
-        XMLInputFactory xif = XMLInputFactory.newInstance();
-        xif.setProperty(XMLInputFactory.IS_COALESCING, Boolean.TRUE);
-        eventReaderTest(xif);
-    }
-
-    @Test
-    public void testEventReader1() {
-        XMLInputFactory xif = XMLInputFactory.newInstance();
-        eventReaderTest(xif);
-    }
-
-    public void eventReaderTest(XMLInputFactory xif) {
-        XMLEventReader eventReader = null;
-        try {
-            eventReader = xif.createXMLEventReader(this.getClass().getResourceAsStream(INPUT_FILE));
-            XMLEventReader filteredEventReader = xif.createFilteredReader(eventReader, new EventFilter() {
-                public boolean accept(XMLEvent event) {
-                    if (!event.isStartElement()) {
-                        return false;
-                    }
-                    QName elementQName = event.asStartElement().getName();
-                    if ((elementQName.getLocalPart().equals(ATTACHMENT_NAME.getLocalPart()) || elementQName.getLocalPart().equals("Attachment"))
-                            && elementQName.getNamespaceURI().equals(VF_GENERIC_TT_NAMESPACE)) {
-                        return true;
-                    }
-                    return false;
-                }
-            });
-            if (filteredEventReader.hasNext()) {
-                System.out.println("containsAttachments() returns true");
-            }
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-
-        } finally {
-            if (eventReader != null) {
-                try {
-                    eventReader.close();
-                } catch (XMLStreamException xse) {
-                    // Ignored by intention
-                }
-            }
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/CoalesceTest/CoalesceTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,106 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.CoalesceTest;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.InputStream;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test Coalesce property works.
- */
-public class CoalesceTest {
-
-    String countryElementContent = "START India  CS}}}}}} India END";
-    String descriptionElementContent = "a&b";
-    String fooElementContent = "&< cdatastart<><>>><>><<<<cdataend entitystart insert entityend";
-
-    @Test
-    public void testCoalesceProperty() {
-        try {
-            XMLInputFactory xifactory = XMLInputFactory.newInstance();
-            xifactory.setProperty(XMLInputFactory.IS_COALESCING, new Boolean(true));
-            InputStream xml = this.getClass().getResourceAsStream("coalesce.xml");
-            XMLStreamReader streamReader = xifactory.createXMLStreamReader(xml);
-            while (streamReader.hasNext()) {
-                int eventType = streamReader.next();
-                if (eventType == XMLStreamConstants.START_ELEMENT && streamReader.getLocalName().equals("country")) {
-                    eventType = streamReader.next();
-                    if (eventType == XMLStreamConstants.CHARACTERS) {
-                        String text = streamReader.getText();
-                        if (!text.equals(countryElementContent)) {
-                            System.out.println("String dont match");
-                            System.out.println("text = " + text);
-                            System.out.println("countryElementContent = " + countryElementContent);
-                        }
-                        // assertTrue(text.equals(countryElementContent));
-                    }
-                }
-                if (eventType == XMLStreamConstants.START_ELEMENT && streamReader.getLocalName().equals("description")) {
-                    eventType = streamReader.next();
-                    if (eventType == XMLStreamConstants.CHARACTERS) {
-                        String text = streamReader.getText();
-                        if (!text.equals(descriptionElementContent)) {
-                            System.out.println("String dont match");
-                            System.out.println("text = " + text);
-                            System.out.println("descriptionElementContent = " + descriptionElementContent);
-                        }
-                        Assert.assertTrue(text.equals(descriptionElementContent));
-                    }
-                }
-                if (eventType == XMLStreamConstants.START_ELEMENT && streamReader.getLocalName().equals("foo")) {
-                    eventType = streamReader.next();
-                    if (eventType == XMLStreamConstants.CHARACTERS) {
-                        String text = streamReader.getText();
-                        if (!text.equals(fooElementContent)) {
-                            System.out.println("String dont match");
-                            System.out.println("text = " + text);
-                            System.out.println("fooElementContent = " + fooElementContent);
-                        }
-
-                        Assert.assertTrue(text.equals(fooElementContent));
-                    }
-                }
-
-            }
-        } catch (XMLStreamException ex) {
-
-            if (ex.getNestedException() != null) {
-                ex.getNestedException().printStackTrace();
-            }
-            // ex.printStackTrace() ;
-        } catch (Exception ex) {
-            ex.printStackTrace();
-        }
-
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/CoalesceTest/coalesce.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE city [
-<!ENTITY a "insert">
-<!ENTITY b "<element1>subtree</element1>">
-
-]>
-<city name = "Bangalore" population = "100000">
-
-	<country state = "Karnatka">START India  <![CDATA[CS}}}}}}]]> India END</country>
-        <foo>&amp;&lt; <![CDATA[cdatastart<><>>><>><<<<cdataend]]> entitystart &a; entityend</foo>
-        &b;
-	<description>a&amp;b</description>
-         <?CityHotels Information about the hotels is passed to different appications for processing. ?>	
-
-</city>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/EntitiesTest/EntityTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,175 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.EntitiesTest;
-
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.io.LineNumberReader;
-import java.io.Reader;
-import java.io.StringReader;
-import java.net.URL;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.events.XMLEvent;
-
-import org.testng.Assert;
-import org.testng.annotations.AfterMethod;
-import org.testng.annotations.BeforeMethod;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test StAX parses entity.
- */
-public class EntityTest {
-
-    XMLInputFactory factory = null;
-    String output = "";
-
-    @BeforeMethod
-    protected void setUp() {
-        try {
-            factory = XMLInputFactory.newInstance();
-        } catch (Exception ex) {
-            Assert.fail("Could not create XMLInputFactory");
-        }
-    }
-
-    @AfterMethod
-    protected void tearDown() {
-        factory = null;
-    }
-
-    @Test
-    public void testProperties() {
-        Assert.assertTrue(factory.isPropertySupported("javax.xml.stream.isReplacingEntityReferences"));
-    }
-
-    @Test
-    public void testCharacterReferences() {
-        try {
-            URL fileName = EntityTest.class.getResource("testCharRef.xml");
-            URL outputFileName = EntityTest.class.getResource("testCharRef.xml.output");
-            XMLStreamReader xmlr = factory.createXMLStreamReader(new InputStreamReader(fileName.openStream()));
-            int eventType = 0;
-            while (xmlr.hasNext()) {
-                eventType = xmlr.next();
-                handleEvent(xmlr, eventType);
-            }
-            System.out.println("Output:");
-            System.out.println(output);
-            Assert.assertTrue(compareOutput(new InputStreamReader(outputFileName.openStream()), new StringReader(output)));
-        } catch (Exception ex) {
-            ex.printStackTrace();
-            Assert.fail(ex.getMessage());
-        }
-    }
-
-    private void handleEvent(XMLStreamReader xmlr, int eventType) {
-        switch (eventType) {
-            case XMLEvent.START_ELEMENT:
-                handleStartElement(xmlr);
-                break;
-            case XMLEvent.END_ELEMENT:
-                handleEndElement(xmlr);
-                break;
-            case XMLEvent.CHARACTERS:
-                handleCharacters(xmlr);
-                break;
-            case XMLEvent.COMMENT:
-                handleComment(xmlr);
-                break;
-            case XMLEvent.ENTITY_REFERENCE:
-                break;
-            case XMLEvent.ATTRIBUTE:
-                break;
-            case XMLEvent.DTD:
-                break;
-            case XMLEvent.CDATA:
-                break;
-            default:
-                break;
-        }
-    }
-
-    private void handleStartElement(XMLStreamReader xmlr) {
-        output += "<";
-        output += xmlr.getLocalName();
-        if (xmlr.hasText())
-            output += xmlr.getText();
-        printAttributes(xmlr);
-        output += ">";
-    }
-
-    private void handleEndElement(XMLStreamReader xmlr) {
-        output += "</";
-        output += xmlr.getLocalName();
-        output += ">";
-    }
-
-    private void handleComment(XMLStreamReader xmlr) {
-        if (xmlr.hasText())
-            output += xmlr.getText();
-    }
-
-    private void handleCharacters(XMLStreamReader xmlr) {
-        if (xmlr.hasText())
-            output += xmlr.getText();
-    }
-
-    private void printAttributes(XMLStreamReader xmlr) {
-        if (xmlr.getAttributeCount() > 0) {
-            int count = xmlr.getAttributeCount();
-            for (int i = 0; i < count; i++) {
-                output += xmlr.getAttributeName(i);
-                output += "=";
-                output += xmlr.getAttributeValue(i);
-                /*
-                 * String name = xmlr.getAttributeName(i) ; String value =
-                 * xmlr.getAttributeValue(i) ;
-                 * System.out.println(name+"="+value);
-                 */
-            }
-        }
-    }
-
-    protected boolean compareOutput(Reader expected, Reader actual) throws IOException {
-        LineNumberReader expectedOutput = new LineNumberReader(expected);
-        LineNumberReader actualOutput = new LineNumberReader(actual);
-
-        while (expectedOutput.ready() && actualOutput.ready()) {
-            String expectedLine = expectedOutput.readLine();
-            String actualLine = actualOutput.readLine();
-            if (!expectedLine.equals(actualLine)) {
-                System.out.println("Entityreference expansion failed, line no: " + expectedOutput.getLineNumber());
-                System.out.println("Expected: " + expectedLine);
-                System.out.println("Actual  : " + actualLine);
-                return false;
-            }
-        }
-        expectedOutput.close();
-        actualOutput.close();
-        return true;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/EntitiesTest/testCharRef.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding='UTF-8'?>
-<!DOCTYPE juicers [
-<!ENTITY ch1 "T">
-]>
-<juicers>
-
-<reftest>TES&ch1;CHARREF</reftest>
-
-</juicers>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/EntitiesTest/testCharRef.xml.output	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<juicers>
-
-<reftest>TESTCHARREF</reftest>
-
-</juicers>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/EventReaderDelegateTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,221 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream;
-
-import org.testng.annotations.Test;
-import org.testng.Assert;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-
-import javax.xml.stream.events.XMLEvent;
-import javax.xml.stream.util.EventReaderDelegate;
-
-/*
- * @summary Test EventReaderDelegate.
- */
-public class EventReaderDelegateTest {
-
-    public EventReaderDelegateTest(String name) {
-    }
-
-    @Test
-    public void testGetElementText() {
-        try {
-            XMLInputFactory ifac = XMLInputFactory.newFactory();
-            XMLEventReader reader = ifac.createXMLEventReader(new FileInputStream(new File(getClass().getResource("toys.xml").getFile())));
-            EventReaderDelegate delegate = new EventReaderDelegate(reader);
-            while (delegate.hasNext()) {
-                XMLEvent event = (XMLEvent) delegate.next();
-                switch (event.getEventType()) {
-                    case XMLStreamConstants.START_ELEMENT: {
-                        String name = event.asStartElement().getName().toString();
-                        if (name.equals("name") || name.equals("price")) {
-                            System.out.println(delegate.getElementText());
-                        } else {
-                            try {
-                                delegate.getElementText();
-                            } catch (XMLStreamException e) {
-                                System.out.println("Expected XMLStreamException in getElementText()");
-                            }
-                        }
-
-                    }
-                }
-            }
-            delegate.close();
-        } catch (FileNotFoundException e) {
-            e.printStackTrace();
-            Assert.fail("FileNotFoundException in testGetElementText()");
-        } catch (XMLStreamException e) {
-            e.printStackTrace();
-            Assert.fail("XMLStreamException in testGetElementText()");
-        } catch (FactoryConfigurationError e) {
-            e.printStackTrace();
-            Assert.fail("FactoryConfigurationError in testGetElementText()");
-        }
-
-    }
-
-    @Test
-    public void testRemove() {
-        try {
-            XMLInputFactory ifac = XMLInputFactory.newFactory();
-            XMLEventReader reader = ifac.createXMLEventReader(new FileInputStream(new File(getClass().getResource("toys.xml").getFile())));
-            EventReaderDelegate delegate = new EventReaderDelegate(reader);
-            delegate.remove();
-        } catch (FileNotFoundException e) {
-            e.printStackTrace();
-            Assert.fail("FileNotFoundException in testRemove()");
-        } catch (XMLStreamException e) {
-            e.printStackTrace();
-            Assert.fail("XMLStreamException in testRemove()");
-        } catch (FactoryConfigurationError e) {
-            e.printStackTrace();
-            Assert.fail("FactoryConfigurationError in testRemove()");
-        } catch (UnsupportedOperationException e) {
-            System.out.println("Expected exception in remove()");
-        }
-
-    }
-
-    @Test
-    public void testPeek() {
-        try {
-            XMLInputFactory ifac = XMLInputFactory.newFactory();
-            XMLEventReader reader = ifac.createXMLEventReader(new FileInputStream(new File(getClass().getResource("toys.xml").getFile())));
-            EventReaderDelegate delegate = new EventReaderDelegate();
-            delegate.setParent(reader);
-            while (delegate.hasNext()) {
-                XMLEvent peekevent = delegate.peek();
-                XMLEvent event = (XMLEvent) delegate.next();
-                if (peekevent != event) {
-                    Assert.fail("peek() does not return same XMLEvent with next()");
-                }
-            }
-            delegate.close();
-        } catch (FileNotFoundException e) {
-            e.printStackTrace();
-            Assert.fail("FileNotFoundException in testPeek()");
-        } catch (XMLStreamException e) {
-            e.printStackTrace();
-            Assert.fail("XMLStreamException in testPeek()");
-        } catch (FactoryConfigurationError e) {
-            e.printStackTrace();
-            Assert.fail("FactoryConfigurationError in testPeek()");
-        }
-    }
-
-    @Test
-    public void testNextTag() {
-        try {
-            XMLInputFactory ifac = XMLInputFactory.newFactory();
-            ifac.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, Boolean.FALSE);
-            XMLEventReader reader = ifac.createXMLEventReader(new FileInputStream(new File(getClass().getResource("toys.xml").getFile())));
-            EventReaderDelegate delegate = new EventReaderDelegate(reader);
-            if ((Boolean) (delegate.getProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES)) != Boolean.FALSE) {
-                Assert.fail("getProperty() does not return correct value");
-            }
-            while (delegate.hasNext()) {
-                XMLEvent event = delegate.peek();
-                if (event.isEndElement() || event.isStartElement()) {
-                    XMLEvent nextevent = delegate.nextTag();
-                    if (!(nextevent.getEventType() == XMLStreamConstants.START_ELEMENT || nextevent.getEventType() == XMLStreamConstants.END_ELEMENT)) {
-                        Assert.fail("nextTag() does not return correct event type");
-                    }
-                } else {
-                    delegate.next();
-                }
-            }
-            delegate.close();
-        } catch (FileNotFoundException e) {
-            e.printStackTrace();
-            Assert.fail("FileNotFoundException in testNextTag()");
-        } catch (XMLStreamException e) {
-            e.printStackTrace();
-            Assert.fail("XMLStreamException in testNextTag()");
-        } catch (FactoryConfigurationError e) {
-            e.printStackTrace();
-            Assert.fail("FactoryConfigurationError in testNextTag()");
-        }
-    }
-
-    @Test
-    public void testNextEvent() {
-        try {
-            XMLInputFactory ifac = XMLInputFactory.newFactory();
-            ifac.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, Boolean.FALSE);
-            XMLEventReader reader = ifac.createXMLEventReader(new FileInputStream(new File(getClass().getResource("toys.xml").getFile())));
-            EventReaderDelegate delegate = new EventReaderDelegate();
-            delegate.setParent(reader);
-            if ((Boolean) (delegate.getParent().getProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES)) != Boolean.FALSE) {
-                Assert.fail("XMLEventReader.getProperty() does not return correct value");
-            }
-            if ((Boolean) (delegate.getProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES)) != Boolean.FALSE) {
-                Assert.fail("EventReaderDelegate.getProperty() does not return correct value");
-            }
-            while (delegate.hasNext()) {
-                XMLEvent event = delegate.nextEvent();
-                switch (event.getEventType()) {
-                    case XMLStreamConstants.START_ELEMENT: {
-                        System.out.println(event.asStartElement().getName());
-                        break;
-                    }
-                    case XMLStreamConstants.END_ELEMENT: {
-                        System.out.println(event.asEndElement().getName());
-                        break;
-                    }
-                    case XMLStreamConstants.END_DOCUMENT: {
-                        System.out.println(event.isEndDocument());
-                        break;
-                    }
-                    case XMLStreamConstants.START_DOCUMENT: {
-                        System.out.println(event.isStartDocument());
-                        break;
-                    }
-                    case XMLStreamConstants.CHARACTERS: {
-                        System.out.println(event.asCharacters().getData());
-                        break;
-                    }
-                    case XMLStreamConstants.COMMENT: {
-                        System.out.println(event.toString());
-                        break;
-                    }
-                }
-
-            }
-            delegate.close();
-        } catch (FileNotFoundException e) {
-            e.printStackTrace();
-            Assert.fail("FileNotFoundException in testNextEvent()");
-        } catch (XMLStreamException e) {
-            e.printStackTrace();
-            Assert.fail("XMLStreamException in testNextEvent()");
-        } catch (FactoryConfigurationError e) {
-            e.printStackTrace();
-            Assert.fail("FactoryConfigurationError in testNextEvent()");
-        }
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Events/Issue41Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,174 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.Events;
-
-import java.io.StringReader;
-import java.io.StringWriter;
-import java.util.Iterator;
-import java.util.List;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLEventFactory;
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.events.Attribute;
-import javax.xml.stream.events.Characters;
-import javax.xml.stream.events.Comment;
-import javax.xml.stream.events.DTD;
-import javax.xml.stream.events.EndDocument;
-import javax.xml.stream.events.EndElement;
-import javax.xml.stream.events.Namespace;
-import javax.xml.stream.events.ProcessingInstruction;
-import javax.xml.stream.events.StartDocument;
-import javax.xml.stream.events.StartElement;
-import javax.xml.stream.events.XMLEvent;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6631268
- * @summary Test XMLEvent.writeAsEncodedUnicode can output the event content.
- */
-public class Issue41Test {
-
-    public java.io.File input;
-    public final String filesDir = "./";
-    protected XMLInputFactory inputFactory;
-    protected XMLOutputFactory outputFactory;
-
-    @Test
-    public void testEvents() {
-        XMLEventFactory f = XMLEventFactory.newInstance();
-        final String contents = "test <some> text & more! [[]] --";
-        final String prefix = "prefix";
-        final String uri = "http://foo";
-        final String localName = "elem";
-
-        try {
-            StartDocument sd = f.createStartDocument();
-            writeAsEncodedUnicode(sd);
-
-            Comment c = f.createComment("some comments");
-            writeAsEncodedUnicode(c);
-
-            StartElement se = f.createStartElement(prefix, uri, localName);
-
-            ProcessingInstruction pi = f.createProcessingInstruction("target", "data");
-            writeAsEncodedUnicode(pi);
-
-            Namespace ns = f.createNamespace(prefix, uri);
-            writeAsEncodedUnicode(ns);
-
-            Characters characters = f.createCharacters(contents);
-            writeAsEncodedUnicode(characters);
-            // CData
-            Characters cdata = f.createCData(contents);
-            writeAsEncodedUnicode(cdata);
-
-            // Attribute
-            QName attrName = new QName("http://test.com", "attr", "ns");
-            Attribute attr = f.createAttribute(attrName, "value");
-            writeAsEncodedUnicode(attr);
-
-            // prefix, uri, localName
-            EndElement ee = f.createEndElement(prefix, uri, localName);
-            writeAsEncodedUnicode(ee);
-
-            EndDocument ed = f.createEndDocument();
-            writeAsEncodedUnicode(ed);
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-
-    }
-
-    /**
-     * DTDEvent instances constructed via event reader are missing the notation
-     * and entity declaration information
-     */
-    @Test
-    public void testDTDEvent() {
-        String XML = "<?xml version='1.0' ?>" + "<!DOCTYPE root [\n" + "<!ENTITY intEnt 'internal'>\n" + "<!ENTITY extParsedEnt SYSTEM 'url:dummy'>\n"
-                + "<!NOTATION notation PUBLIC 'notation-public-id'>\n" + "<!NOTATION notation2 SYSTEM 'url:dummy'>\n"
-                + "<!ENTITY extUnparsedEnt SYSTEM 'url:dummy2' NDATA notation>\n" + "]>" + "<root />";
-
-        try {
-            XMLEventReader er = getReader(XML);
-            XMLEvent evt = er.nextEvent(); // StartDocument
-            evt = er.nextEvent(); // DTD
-            if (evt.getEventType() != XMLStreamConstants.DTD) {
-                Assert.fail("Expected DTD event");
-            }
-            DTD dtd = (DTD) evt;
-            writeAsEncodedUnicode(dtd);
-            List entities = dtd.getEntities();
-            if (entities == null) {
-                Assert.fail("No entity found. Expected 3.");
-            } else {
-                writeAsEncodedUnicode((XMLEvent) entities.get(0));
-                writeAsEncodedUnicode((XMLEvent) entities.get(1));
-                writeAsEncodedUnicode((XMLEvent) entities.get(2));
-            }
-
-            List notations = dtd.getNotations();
-            if (notations == null) {
-                Assert.fail("No notation found. Expected 2.");
-            } else {
-                writeAsEncodedUnicode((XMLEvent) notations.get(0));
-                writeAsEncodedUnicode((XMLEvent) notations.get(1));
-            }
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    private XMLEventReader getReader(String XML) throws Exception {
-        inputFactory = XMLInputFactory.newInstance();
-
-        // Check if event reader returns the correct event
-        XMLEventReader er = inputFactory.createXMLEventReader(new StringReader(XML));
-        return er;
-    }
-
-
-
-    /**
-     * The return of XMLEvent writeAsEncodedUnicode method is not defined This
-     * method merely tests that the output exists
-     */
-    public void writeAsEncodedUnicode(XMLEvent evt) throws XMLStreamException {
-        if (evt.getEventType() == XMLStreamConstants.END_DOCUMENT) {
-            return;
-        }
-        StringWriter sw = new StringWriter();
-        evt.writeAsEncodedUnicode(sw);
-
-        Assert.assertTrue(sw.toString().length() > 0);
-        System.out.println(sw.toString());
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Events/Issue48Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,111 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.Events;
-
-import java.io.StringReader;
-import java.util.Iterator;
-import java.util.List;
-
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.events.DTD;
-import javax.xml.stream.events.EntityDeclaration;
-import javax.xml.stream.events.NotationDeclaration;
-import javax.xml.stream.events.XMLEvent;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6620632
- * @summary Test XMLEventReader can parse notation and entity information from DTD Event.
- */
-public class Issue48Test {
-
-    public java.io.File input;
-    public final String filesDir = "./";
-    protected XMLInputFactory inputFactory;
-    protected XMLOutputFactory outputFactory;
-
-    /**
-     * DTDEvent instances constructed via event reader are missing the notation
-     * and entity declaration information
-     */
-    @Test
-    public void testDTDEvent() {
-        String XML = "<?xml version='1.0' ?>" + "<!DOCTYPE root [\n" + "<!ENTITY intEnt 'internal'>\n" + "<!ENTITY extParsedEnt SYSTEM 'url:dummy'>\n"
-                + "<!NOTATION notation PUBLIC 'notation-public-id'>\n" + "<!NOTATION notation2 SYSTEM 'url:dummy'>\n"
-                + "<!ENTITY extUnparsedEnt SYSTEM 'url:dummy2' NDATA notation>\n" + "]>" + "<root />";
-
-        try {
-            XMLEventReader er = getReader(XML);
-            XMLEvent evt = er.nextEvent(); // StartDocument
-            evt = er.nextEvent(); // DTD
-            if (evt.getEventType() != XMLStreamConstants.DTD) {
-                Assert.fail("Expected DTD event");
-            }
-            DTD dtd = (DTD) evt;
-            List entities = dtd.getEntities();
-            if (entities == null) {
-                Assert.fail("No entity found. Expected 3.");
-            } else {
-                Assert.assertEquals(entities.size(), 3);
-            }
-            // Let's also verify they are all of right type...
-            testListElems(entities, EntityDeclaration.class);
-
-            List notations = dtd.getNotations();
-            if (notations == null) {
-                Assert.fail("No notation found. Expected 2.");
-            } else {
-                Assert.assertEquals(notations.size(), 2);
-            }
-            // Let's also verify they are all of right type...
-            testListElems(notations, NotationDeclaration.class);
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    private XMLEventReader getReader(String XML) throws Exception {
-        inputFactory = XMLInputFactory.newInstance();
-
-        // Check if event reader returns the correct event
-        XMLEventReader er = inputFactory.createXMLEventReader(new StringReader(XML));
-        return er;
-    }
-
-
-    private void testListElems(List l, Class expType) {
-        Iterator it = l.iterator();
-        while (it.hasNext()) {
-            Object o = it.next();
-            Assert.assertNotNull(o);
-            Assert.assertTrue(expType.isAssignableFrom(o.getClass()));
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Events/Issue53Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.Events;
-
-import javax.xml.stream.XMLEventFactory;
-import javax.xml.stream.events.StartDocument;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test encodingSet/standaloneSet returns correct result in case encoding/standalone is set when constructing StartDocument.
- */
-public class Issue53Test {
-
-    @Test
-    public void testEncodingSet() {
-        XMLEventFactory f = XMLEventFactory.newInstance();
-
-        try {
-            StartDocument sd = f.createStartDocument("UTF-8");
-            System.out.println("Encoding: " + sd.getCharacterEncodingScheme());
-            System.out.println("Encoding set: " + sd.encodingSet());
-            Assert.assertTrue(sd.encodingSet(), "encoding is set, should return true.");
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-
-    }
-
-    @Test
-    public void testStandaloneSet() {
-        XMLEventFactory f = XMLEventFactory.newInstance();
-
-        try {
-            StartDocument sd = f.createStartDocument("UTF-8", "1.0", true);
-            System.out.println(sd.isStandalone());
-            System.out.println(sd.standaloneSet());
-            Assert.assertTrue(sd.standaloneSet(), "standalone is set, should return true.");
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/Events/Issue58Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,80 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.Events;
-
-import java.io.StringReader;
-
-import javax.xml.stream.Location;
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.events.XMLEvent;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XMLEvent.getLocation() returns a non-volatile Location.
- */
-public class Issue58Test {
-
-    public java.io.File input;
-    public final String filesDir = "./";
-    protected XMLInputFactory inputFactory;
-    protected XMLOutputFactory outputFactory;
-
-    @Test
-    public void testLocation() {
-        String XML = "<?xml version='1.0' ?>" + "<!DOCTYPE root [\n" + "<!ENTITY intEnt 'internal'>\n" + "<!ENTITY extParsedEnt SYSTEM 'url:dummy'>\n"
-                + "<!NOTATION notation PUBLIC 'notation-public-id'>\n" + "<!NOTATION notation2 SYSTEM 'url:dummy'>\n"
-                + "<!ENTITY extUnparsedEnt SYSTEM 'url:dummy2' NDATA notation>\n" + "]>\n" + "<root />";
-
-        try {
-            XMLEventReader er = getReader(XML);
-            XMLEvent evt = er.nextEvent(); // StartDocument
-            Location loc1 = evt.getLocation();
-            System.out.println("Location 1: " + loc1.getLineNumber() + "," + loc1.getColumnNumber());
-            evt = er.nextEvent(); // DTD
-            // loc1 should not change so its line number should still be 1
-            Assert.assertTrue(loc1.getLineNumber() == 1);
-            Location loc2 = evt.getLocation();
-            System.out.println("Location 2: " + loc2.getLineNumber() + "," + loc2.getColumnNumber());
-            evt = er.nextEvent(); // root
-            System.out.println("Location 1: " + loc1.getLineNumber() + "," + loc1.getColumnNumber());
-            Assert.assertTrue(loc1.getLineNumber() == 1);
-            Assert.assertTrue(loc2.getLineNumber() == 7);
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    private XMLEventReader getReader(String XML) throws Exception {
-        inputFactory = XMLInputFactory.newInstance();
-
-        // Check if event reader returns the correct event
-        XMLEventReader er = inputFactory.createXMLEventReader(new StringReader(XML));
-        return er;
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/FactoryFindTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,141 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.net.URL;
-import java.net.URLClassLoader;
-import java.util.Properties;
-
-import org.testng.Assert;
-import org.testng.annotations.BeforeClass;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test SaTX factory using factory property and using ContextClassLoader.
- */
-public class FactoryFindTest {
-
-    boolean myClassLoaderUsed = false;
-
-    final static String FACTORY_KEY = "javax.xml.stream.XMLInputFactory";
-
-    @BeforeClass
-    public void setup(){
-        policy.PolicyUtil.changePolicy(getClass().getResource("FactoryFindTest.policy").getFile());
-    }
-
-    @Test
-    public void testFactoryFindUsingStaxProperties() {
-        // If property is defined, will take precendence so this test
-        // is ignored :(
-        if (System.getProperty(FACTORY_KEY) != null) {
-            return;
-        }
-
-        Properties props = new Properties();
-        String configFile = System.getProperty("java.home") + File.separator + "lib" + File.separator + "stax.properties";
-
-        File f = new File(configFile);
-        if (f.exists()) {
-            try {
-                FileInputStream fis = new FileInputStream(f);
-                props.load(fis);
-                fis.close();
-            } catch (FileNotFoundException e) {
-                return;
-            } catch (IOException e) {
-                return;
-            }
-        } else {
-            props.setProperty(FACTORY_KEY, "com.sun.xml.internal.stream.XMLInputFactoryImpl");
-            try {
-                FileOutputStream fos = new FileOutputStream(f);
-                props.store(fos, null);
-                fos.close();
-                f.deleteOnExit();
-            } catch (FileNotFoundException e) {
-                return;
-            } catch (IOException e) {
-                return;
-            }
-        }
-
-        XMLInputFactory factory = XMLInputFactory.newInstance();
-        Assert.assertTrue(factory.getClass().getName().equals(props.getProperty(FACTORY_KEY)));
-    }
-
-    @Test
-    public void testFactoryFind() {
-        try {
-            // System.setProperty("jaxp.debug", "true");
-
-            XMLInputFactory factory = XMLInputFactory.newInstance();
-            Assert.assertTrue(factory.getClass().getClassLoader() == null);
-
-            Thread.currentThread().setContextClassLoader(null);
-            factory = XMLInputFactory.newInstance();
-            Assert.assertTrue(factory.getClass().getClassLoader() == null);
-
-            Thread.currentThread().setContextClassLoader(new MyClassLoader());
-            factory = XMLInputFactory.newInstance();
-            if (System.getSecurityManager() == null)
-                Assert.assertTrue(myClassLoaderUsed);
-            else
-                Assert.assertFalse(myClassLoaderUsed);
-
-            XMLOutputFactory ofactory = XMLOutputFactory.newInstance();
-            Assert.assertTrue(ofactory.getClass().getClassLoader() == null);
-
-            Thread.currentThread().setContextClassLoader(null);
-            ofactory = XMLOutputFactory.newInstance();
-            Assert.assertTrue(ofactory.getClass().getClassLoader() == null);
-
-            Thread.currentThread().setContextClassLoader(new MyClassLoader());
-            ofactory = XMLOutputFactory.newInstance();
-            if (System.getSecurityManager() == null)
-                Assert.assertTrue(myClassLoaderUsed);
-            else
-                Assert.assertFalse(myClassLoaderUsed);
-        } catch (Exception ex) {
-            throw new RuntimeException(ex);
-        }
-    }
-
-    class MyClassLoader extends URLClassLoader {
-
-        public MyClassLoader() {
-            super(new URL[0]);
-        }
-
-        public Class loadClass(String name) throws ClassNotFoundException {
-            myClassLoaderUsed = true;
-            return super.loadClass(name);
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/FactoryFindTest.policy	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-grant {
-	permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
-	permission java.lang.RuntimePermission "accessDeclaredMembers";
-	
-	permission java.io.FilePermission "${test.classes}/../../-", "read, write, delete";
-	permission java.io.FilePermission ".", "read, write, delete";
-	permission java.util.PropertyPermission "*", "read, write";
-	
-    permission java.lang.RuntimePermission "setSecurityManager";
-    permission java.lang.RuntimePermission "createSecurityManager";
-    permission java.lang.RuntimePermission "createClassLoader";
-    permission java.lang.RuntimePermission "setIO";
-	permission java.lang.RuntimePermission "setContextClassLoader"; 
-	permission java.security.SecurityPermission "getPolicy";
-    
-    permission java.io.FilePermission "${test.src}/-", "read, write, delete";
-    permission java.io.FilePermission "${user.dir}/-", "read, write, delete";
-    permission java.io.FilePermission "${java.io.tmpdir}/-", "read, write, delete";
-    
-    
-    permission java.io.FilePermission "${java.home}/lib/stax.properties", "read, write, delete";
-
-};
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/IgnoreExternalDTDTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream;
-
-import java.io.StringReader;
-
-import org.testng.annotations.Test;
-
-/*
- * @summary Test feature ignore-external-dtd.
- */
-public class IgnoreExternalDTDTest {
-
-    final static String FACTORY_KEY = "javax.xml.stream.XMLInputFactory";
-    static final String IGNORE_EXTERNAL_DTD = "ignore-external-dtd";
-    static final String ZEPHYR_PROPERTY_PREFIX = "http://java.sun.com/xml/stream/properties/";
-
-    @Test
-    public void testFeaturePositive() throws Exception {
-        XMLInputFactory xif = XMLInputFactory.newInstance();
-        xif.setProperty(ZEPHYR_PROPERTY_PREFIX + IGNORE_EXTERNAL_DTD, Boolean.TRUE);
-        parse(xif);
-    }
-
-    @Test
-    public void testFeatureNegative() throws Exception {
-        XMLInputFactory xif = XMLInputFactory.newInstance();
-        xif.setProperty(ZEPHYR_PROPERTY_PREFIX + IGNORE_EXTERNAL_DTD, Boolean.FALSE);
-        try {
-            parse(xif);
-            // refer to 6440324, absent of that change, an exception would be
-            // thrown;
-            // due to the change made for 6440324, parsing will continue without
-            // exception
-            // fail();
-        } catch (XMLStreamException e) {
-            // the error is expected that no DTD was found
-        }
-    }
-
-    private void parse(XMLInputFactory xif) throws XMLStreamException {
-        XMLStreamReader xsr = xif.createXMLStreamReader(new StringReader("<?xml version='1.0'?><!DOCTYPE root PUBLIC 'abc' 'def'><abc />"));
-        while (xsr.next() != XMLStreamConstants.END_DOCUMENT)
-            ;
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/ProcessingInstruction/ProcessingInstructionTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.ProcessingInstruction;
-
-import java.io.InputStream;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XMLStreamReader parses Processing Instruction.
- */
-public class ProcessingInstructionTest {
-
-    @Test
-    public void testPITargetAndData() {
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-            String PITarget = "soffice";
-            String PIData = "WebservicesArchitecture";
-            String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + "<?" + PITarget + " " + PIData + "?>" + "<foo></foo>";
-            // System.out.println("XML = " + xml) ;
-            InputStream is = new java.io.ByteArrayInputStream(xml.getBytes());
-            XMLStreamReader sr = xif.createXMLStreamReader(is);
-            while (sr.hasNext()) {
-                int eventType = sr.next();
-                if (eventType == XMLStreamConstants.PROCESSING_INSTRUCTION) {
-                    String target = sr.getPITarget();
-                    String data = sr.getPIData();
-                    Assert.assertTrue(target.equals(PITarget) && data.equals(PIData));
-                }
-            }
-        } catch (Exception ex) {
-            ex.printStackTrace();
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/StreamReaderDelegateTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,374 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.InputStream;
-import java.util.Iterator;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.stream.util.StreamReaderDelegate;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test StreamReaderDelegate.
- */
-public class StreamReaderDelegateTest {
-
-    /**
-     * Tested xml file looks as below: <?xml version="1.0" standalone="no" ?>
-     * <ns1:foo attr1="defaultAttr1" ns1:attr1="ns1Attr1" ns2:attr1="ns2Attr1"
-     * attr2="defaultAttr2" attr3="defaultAttr3" xmlns:ns1="http://ns1.java.com"
-     * xmlns:ns2="http://ns2.java.com"> <!--description--> content text
-     * <![CDATA[<greeting>Hello</greeting>]]> other content </ns1:foo>
-     **/
-    @Test
-    public void testAttribute() {
-        StreamReaderDelegate delegate = null;
-        try {
-            System.out.println("===in testAttribute()===");
-            XMLInputFactory ifac = XMLInputFactory.newFactory();
-            XMLStreamReader reader = ifac.createXMLStreamReader(new FileInputStream(new File(getClass().getResource("testfile1.xml").getFile())));
-            delegate = new StreamReaderDelegate(reader);
-
-            Assert.assertTrue(delegate.standaloneSet());
-            Assert.assertFalse(delegate.isStandalone());
-            while (delegate.hasNext()) {
-                delegate.next();
-                if (delegate.getEventType() == XMLStreamConstants.START_ELEMENT || delegate.getEventType() == XMLStreamConstants.ATTRIBUTE) {
-                    if (delegate.getLocalName().equals("foo")) {
-                        Assert.assertTrue(delegate.getAttributeCount() == 5);
-                        Assert.assertTrue(delegate.getAttributeType(1) == "CDATA");
-
-                        Assert.assertTrue(delegate.getAttributeValue(0).equals("defaultAttr1"));
-                        Assert.assertTrue(delegate.getAttributeValue(delegate.getAttributeCount() - 2).equals("defaultAttr2"));
-                        Assert.assertTrue(delegate.getAttributeValue(delegate.getAttributeCount() - 1).equals("defaultAttr3"));
-
-                        Assert.assertTrue(delegate.getAttributeValue("http://ns1.java.com", "attr1").equals("ns1Attr1"));
-                        Assert.assertTrue(delegate.getAttributeValue("http://ns2.java.com", "attr1").equals("ns2Attr1"));
-
-                        Assert.assertTrue(delegate.getAttributeValue(null, "attr2").equals("defaultAttr2"));
-                        Assert.assertTrue(delegate.getAttributeValue(null, "attr3").equals("defaultAttr3"));
-
-                        Assert.assertTrue(delegate.getAttributeNamespace(0) == null);
-                        Assert.assertTrue(delegate.getAttributeNamespace(1).equals("http://ns1.java.com"));
-                        Assert.assertTrue(delegate.getAttributePrefix(1).equals("ns1"));
-                        Assert.assertTrue(delegate.getAttributeName(1).toString()
-                                .equals("{" + delegate.getAttributeNamespace(1) + "}" + delegate.getAttributeLocalName(1)));
-                        Assert.assertTrue(delegate.getAttributeLocalName(1).equals("attr1"));
-
-                        // negative test. Should return null for out of
-                        // attribute array index
-                        Assert.assertTrue(delegate.getAttributeNamespace(delegate.getAttributeCount()) == null);
-                        Assert.assertTrue(delegate.getAttributePrefix(delegate.getAttributeCount()) == null);
-                        Assert.assertTrue(delegate.getAttributeName(delegate.getAttributeCount()) == null);
-                        Assert.assertTrue(delegate.getAttributeLocalName(delegate.getAttributeCount()) == null);
-                        Assert.assertTrue(delegate.getAttributeType(delegate.getAttributeCount()) == null);
-                    }
-                } else {
-                    try {
-                        delegate.getAttributeCount();
-                    } catch (IllegalStateException e) {
-                        System.out.println("expected exception for incorrect event type");
-                    }
-                }
-
-            }
-        } catch (FileNotFoundException e) {
-            e.printStackTrace();
-            Assert.fail("FileNotFoundException in testAttribute()");
-        } catch (XMLStreamException e) {
-            e.printStackTrace();
-            System.out.println(delegate.getLocation());
-            Assert.fail("XMLStreamException in testAttribute()");
-        } catch (FactoryConfigurationError e) {
-            e.printStackTrace();
-            Assert.fail("FactoryConfigurationError in testAttribute()");
-        } finally {
-            try {
-                delegate.close();
-            } catch (XMLStreamException e) {
-                e.printStackTrace();
-                Assert.fail("XMLStreamException in testAttribute()");
-            }
-        }
-    }
-
-    /**
-     * Tested xml file looks as below: <?xml version="1.0" encoding="UTF-8"?>
-     * <ns1:foo xmlns:ns="http://ns1.java.com" xmlns:ns1="http://ns1.java.com"
-     * xmlns:ns2="http://ns2.java.com" > <!--description-->content text
-     * <![CDATA[<greeting>Hello</greeting>]]> other content </ns1:foo>
-     **/
-    @Test
-    public void testNamespace() {
-        StreamReaderDelegate delegate = null;
-        try {
-            System.out.println("===in testNamespace()===");
-            XMLStreamReader reader = XMLInputFactory.newFactory().createXMLStreamReader(
-                    new FileInputStream(new File(getClass().getResource("testfile2.xml").getFile())));
-            delegate = new StreamReaderDelegate();
-            delegate.setParent(reader);
-            while (delegate.hasNext()) {
-                delegate.next();
-                if (delegate.getEventType() == XMLStreamConstants.START_ELEMENT || delegate.getEventType() == XMLStreamConstants.ATTRIBUTE) {
-
-                    if (delegate.getName().getLocalPart().equals("foo")) {
-                        Assert.assertTrue(("{" + delegate.getNamespaceURI(delegate.getPrefix()) + "}" + delegate.getLocalName()).equals(delegate.getName()
-                                .toString()));
-                        System.out.println(delegate.getLocation());
-
-                        Assert.assertTrue(delegate.getNamespaceCount() == 3);
-                        Assert.assertTrue(delegate.getNamespaceURI().equals("http://ns1.java.com"));
-                        Assert.assertTrue(delegate.getNamespaceURI(2).equals("http://ns2.java.com"));
-                        Assert.assertTrue(delegate.getNamespaceURI("ns").equals("http://ns1.java.com"));
-
-                        Assert.assertTrue(delegate.getNamespacePrefix(1).equals("ns1"));
-
-                        NamespaceContext nsCtx = delegate.getNamespaceContext();
-                        nsCtx.getNamespaceURI("ns");
-                        Iterator prefixes = nsCtx.getPrefixes("http://ns1.java.com");
-                        boolean hasns = false;
-                        boolean hasns1 = false;
-                        while (prefixes.hasNext()) {
-                            String prefix = (String) prefixes.next();
-                            if (prefix.equals("ns")) {
-                                hasns = true;
-                            } else if (prefix.equals("ns1")) {
-                                hasns1 = true;
-                            }
-                        }
-                        Assert.assertTrue(hasns && hasns1);
-                    }
-                }
-            }
-        } catch (FileNotFoundException e) {
-            e.printStackTrace();
-            Assert.fail("FileNotFoundException in testNamespace()");
-        } catch (XMLStreamException e) {
-            e.printStackTrace();
-            System.out.println(delegate.getLocation());
-            Assert.fail("XMLStreamException in testNamespace()");
-        } catch (FactoryConfigurationError e) {
-            e.printStackTrace();
-            Assert.fail("FactoryConfigurationError in testNamespace()");
-        } finally {
-            try {
-                delegate.close();
-            } catch (XMLStreamException e) {
-                e.printStackTrace();
-                Assert.fail("XMLStreamException in testNamespace()");
-            }
-        }
-    }
-
-    /**
-     * <?xml version="1.0" encoding="utf-8" ?> <ns1:foo
-     * xmlns:ns1="http://ns1.java.com" xmlns:ns2="http://ns2.java.com">
-     * <!--description--> content text <![CDATA[<greeting>Hello</greeting>]]>
-     * other content </ns1:foo>
-     **/
-    @Test
-    public void testText() {
-        String property = "javax.xml.stream.isCoalescing";
-        System.out.println("===in testText()====");
-        StreamReaderDelegate delegate = null;
-        try {
-            XMLInputFactory ifac = XMLInputFactory.newFactory();
-            ifac.setProperty(property, Boolean.TRUE);
-            XMLStreamReader reader = ifac.createXMLStreamReader(new FileInputStream(new File(getClass().getResource("testfile3.xml").getFile())), "iso8859-1");
-            delegate = new StreamReaderDelegate();
-            delegate.setParent(reader);
-
-            Assert.assertTrue(delegate.getParent().equals(reader));
-            Assert.assertTrue(delegate.getProperty(property).equals(Boolean.TRUE));
-            Assert.assertTrue(delegate.getCharacterEncodingScheme().equalsIgnoreCase("utf-8"));
-            Assert.assertTrue(delegate.getEncoding().equalsIgnoreCase("iso8859-1"));
-            Assert.assertTrue(delegate.getVersion().equals("1.0"));
-            while (delegate.hasNext()) {
-                delegate.next();
-                if (delegate.getEventType() == XMLStreamConstants.CHARACTERS) {
-                    char[] target1 = new char[delegate.getTextLength()];
-                    delegate.getTextCharacters(delegate.getTextStart(), target1, 0, target1.length);
-                    char[] target2 = delegate.getTextCharacters();
-
-                    Assert.assertTrue(delegate.getText().trim().equals(new String(target1).trim()));
-                    Assert.assertTrue(delegate.getText().trim().equals(new String(target2).trim()));
-                }
-            }
-
-        } catch (FileNotFoundException e) {
-            e.printStackTrace();
-            Assert.fail("FileNotFoundException in testText()");
-        } catch (XMLStreamException e) {
-            e.printStackTrace();
-            System.out.println(delegate.getLocation());
-            Assert.fail("XMLStreamException in testText()");
-        } catch (FactoryConfigurationError e) {
-            e.printStackTrace();
-            Assert.fail("FactoryConfigurationError in testText()");
-        } finally {
-            try {
-                delegate.close();
-            } catch (XMLStreamException e) {
-                e.printStackTrace();
-                Assert.fail("XMLStreamException in testText()");
-            }
-        }
-    }
-
-    @Test
-    public void testWhiteSpace() {
-        System.out.println("===in testWhiteSpace()===");
-        StreamReaderDelegate delegate = null;
-        try {
-            XMLInputFactory ifac = XMLInputFactory.newFactory();
-            ifac.setProperty("javax.xml.stream.isCoalescing", Boolean.TRUE);
-            XMLStreamReader reader = ifac.createXMLStreamReader(new FileInputStream(new File(getClass().getResource("testfile4.xml").getFile())));
-
-            delegate = new StreamReaderDelegate();
-            delegate.setParent(reader);
-            while (delegate.hasNext()) {
-                int i = delegate.next();
-                switch (i) {
-                    case XMLStreamConstants.CHARACTERS: {
-                        Assert.assertTrue(delegate.isCharacters());
-                        Assert.assertTrue(delegate.hasText());
-                        Assert.assertTrue(delegate.isWhiteSpace());
-                        break;
-                    }
-                    case XMLStreamConstants.START_ELEMENT: {
-                        Assert.assertTrue(delegate.isStartElement());
-                        Assert.assertTrue(delegate.isAttributeSpecified(0));
-                        Assert.assertTrue(delegate.hasName());
-                        delegate.require(XMLStreamConstants.START_ELEMENT, delegate.getNamespaceURI(), delegate.getLocalName());
-                        break;
-                    }
-                    case XMLStreamConstants.END_ELEMENT: {
-                        Assert.assertTrue(delegate.isEndElement());
-                        Assert.assertTrue(delegate.hasName());
-                        delegate.require(XMLStreamConstants.END_ELEMENT, delegate.getNamespaceURI(), delegate.getLocalName());
-                        break;
-                    }
-                }
-            }
-        } catch (FileNotFoundException e) {
-            e.printStackTrace();
-            Assert.fail("FileNotFoundException in testWhiteSpace()");
-        } catch (XMLStreamException e) {
-            e.printStackTrace();
-            System.out.println(delegate.getLocation());
-            Assert.fail("XMLStreamException in testWhiteSpace()");
-        } catch (FactoryConfigurationError e) {
-            e.printStackTrace();
-            Assert.fail("FactoryConfigurationError in testWhiteSpace()");
-        } finally {
-            try {
-                delegate.close();
-            } catch (XMLStreamException e) {
-                e.printStackTrace();
-                Assert.fail("XMLStreamException in testWhitespace()");
-            }
-        }
-
-    }
-
-    @Test
-    public void testElementText() {
-        System.out.println("===in testElementText()===");
-        StreamReaderDelegate delegate = null;
-        try {
-            XMLInputFactory ifac = XMLInputFactory.newFactory();
-            XMLStreamReader reader = ifac.createXMLStreamReader(new FileInputStream(new File(getClass().getResource("toys.xml").getFile())));
-
-            delegate = new StreamReaderDelegate();
-            delegate.setParent(reader);
-            while (delegate.hasNext()) {
-                if (delegate.getEventType() == XMLStreamConstants.START_ELEMENT) {
-                    if (delegate.getLocalName().equals("name") || delegate.getLocalName().equals("price")) {
-                        System.out.println(delegate.getElementText());
-                    }
-                    delegate.nextTag();
-                } else {
-                    delegate.next();
-                }
-            }
-        } catch (FileNotFoundException e) {
-            e.printStackTrace();
-            Assert.fail("FileNotFoundException in testElementText()");
-        } catch (XMLStreamException e) {
-            e.printStackTrace();
-            System.out.println(delegate.getLocation());
-            Assert.fail("XMLStreamException in testElementText()");
-        } catch (FactoryConfigurationError e) {
-            e.printStackTrace();
-            Assert.fail("FactoryConfigurationError in testElementText()");
-        } finally {
-            try {
-                delegate.close();
-            } catch (XMLStreamException e) {
-                e.printStackTrace();
-                Assert.fail("XMLStreamException in testElementText()");
-            }
-        }
-    }
-
-    @Test
-    public void testPITargetAndData() {
-        System.out.println("===in testPITargetAndData()===");
-        StreamReaderDelegate delegate = null;
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-            String PITarget = "soffice";
-            String PIData = "WebservicesArchitecture";
-            String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + "<?" + PITarget + " " + PIData + "?>" + "<foo></foo>";
-            InputStream is = new java.io.ByteArrayInputStream(xml.getBytes());
-            XMLStreamReader sr = xif.createXMLStreamReader(is);
-            delegate = new StreamReaderDelegate(sr);
-            while (delegate.hasNext()) {
-                int eventType = delegate.next();
-                if (eventType == XMLStreamConstants.PROCESSING_INSTRUCTION) {
-                    String target = delegate.getPITarget();
-                    String data = delegate.getPIData();
-                    Assert.assertTrue(target.equals(PITarget));
-                    Assert.assertTrue(data.equals(PIData));
-                }
-            }
-        } catch (Exception ex) {
-            ex.printStackTrace();
-            Assert.fail("Exception in testPITargetAndData()");
-        } finally {
-            try {
-                delegate.close();
-            } catch (XMLStreamException e) {
-                e.printStackTrace();
-                Assert.fail("XMLStreamException in testPITargetAndData()");
-            }
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventLocationTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,76 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream;
-
-import javax.xml.stream.events.XMLEvent;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XMLEvent Location.
- */
-public class XMLEventLocationTest {
-
-    @Test
-    public void testNonNullLocation() {
-        XMLEventFactory factory = XMLEventFactory.newInstance();
-        XMLEvent event = factory.createComment("some comment");
-        Assert.assertNotNull(event.getLocation());
-    }
-
-    @Test
-    public void testSetLocation() {
-        XMLEventFactory factory = XMLEventFactory.newInstance();
-        Location loc = new MyLocation();
-        factory.setLocation(loc);
-        XMLEvent event = factory.createComment("some comment");
-        Assert.assertEquals(event.getLocation().getLineNumber(), 15);
-    }
-
-    class MyLocation implements Location {
-        public MyLocation() {
-        }
-
-        public int getCharacterOffset() {
-            return 5;
-        }
-
-        public int getColumnNumber() {
-            return 10;
-        }
-
-        public int getLineNumber() {
-            return 15;
-        }
-
-        public String getPublicId() {
-            return "-//My//DTD Public Id//EN";
-        }
-
-        public String getSystemId() {
-            return "http://example.org/system/id";
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6489890.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLEventReaderTest;
-
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.events.XMLEvent;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6489890
- * @summary Test XMLEventReader's initial state is an undefined state, and nextEvent() is START_DOCUMENT.
- */
-public class Bug6489890 {
-
-    @Test
-    public void test0() {
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-
-            XMLStreamReader xsr = xif.createXMLStreamReader(getClass().getResource("sgml.xml").toString(), getClass().getResourceAsStream("sgml.xml"));
-
-            XMLEventReader xer = xif.createXMLEventReader(xsr);
-
-            Assert.assertTrue(xer.peek().getEventType() == XMLEvent.START_DOCUMENT);
-            Assert.assertTrue(xer.peek() == xer.nextEvent());
-            xsr.close();
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    @Test
-    public void test1() {
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-
-            XMLStreamReader xsr = xif.createXMLStreamReader(getClass().getResource("sgml.xml").toString(), getClass().getResourceAsStream("sgml.xml"));
-
-            XMLEventReader xer = xif.createXMLEventReader(xsr);
-
-            Assert.assertTrue(xer.nextEvent().getEventType() == XMLEvent.START_DOCUMENT);
-            xsr.close();
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6555001.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,104 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLEventReaderTest;
-
-import java.io.StringReader;
-
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.events.EntityReference;
-import javax.xml.stream.events.XMLEvent;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6555001
- * @summary Test StAX parser replaces the entity reference as setting.
- */
-public class Bug6555001 {
-    private static final String XML = "" + "<!DOCTYPE doc SYSTEM 'file:///tmp/this/does/not/exist/but/that/is/ok' [" + "<!ENTITY def '<para/>'>" + "]>"
-            + "<doc>&def;&undef;</doc>";
-
-    @Test
-    public void testReplacing() throws Exception {
-        XMLInputFactory factory = XMLInputFactory.newInstance();
-        factory.setProperty("javax.xml.stream.isReplacingEntityReferences", true);
-
-        StringReader sr = new StringReader(XML);
-        XMLEventReader reader = factory.createXMLEventReader(sr);
-
-        boolean sawUndef = false;
-        boolean sawDef = false;
-
-        while (reader.hasNext()) {
-            XMLEvent event = reader.nextEvent();
-            // System.out.println("Event: " + event);
-            if (event.isEntityReference()) {
-                EntityReference ref = (EntityReference) event;
-                if ("def".equals(ref.getName())) {
-                    sawDef = true;
-                } else if ("undef".equals(ref.getName())) {
-                    sawUndef = true;
-                } else {
-                    throw new IllegalArgumentException("Unexpected entity name");
-                }
-            }
-        }
-
-        Assert.assertEquals(false, sawDef);
-        Assert.assertEquals(true, sawUndef);
-        reader.close();
-    }
-
-    @Test
-    public void testNotReplacing() throws Exception {
-        XMLInputFactory factory = XMLInputFactory.newInstance();
-        factory.setProperty("javax.xml.stream.isReplacingEntityReferences", false);
-
-        StringReader sr = new StringReader(XML);
-        XMLEventReader reader = factory.createXMLEventReader(sr);
-
-        boolean sawUndef = false;
-        boolean sawDef = false;
-
-        while (reader.hasNext()) {
-            XMLEvent event = reader.nextEvent();
-            // System.out.println("Event: " + event);
-            if (event.isEntityReference()) {
-                EntityReference ref = (EntityReference) event;
-                if ("def".equals(ref.getName())) {
-                    sawDef = true;
-                } else if ("undef".equals(ref.getName())) {
-                    sawUndef = true;
-                } else {
-                    throw new IllegalArgumentException("Unexpected entity name");
-                }
-            }
-        }
-
-        Assert.assertEquals(true, sawDef);
-        Assert.assertEquals(true, sawUndef);
-        reader.close();
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6586466Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLEventReaderTest;
-
-import org.testng.annotations.Test;
-import org.testng.Assert;
-import java.io.ByteArrayInputStream;
-
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.events.XMLEvent;
-
-/*
- * @bug 6586466
- * @summary Test XMLEventReader.nextTag() shall update internal event state.
- */
-public class Bug6586466Test {
-
-    @Test
-    public void test() {
-        String xmlData = "<?xml version=\"1.0\"?><Test>Hello</Test>";
-        try {
-            XMLEventReader xmlReader = XMLInputFactory.newInstance().createXMLEventReader(new ByteArrayInputStream(xmlData.getBytes()));
-
-            XMLEvent event = xmlReader.nextEvent();
-            System.out.println(event.getClass());
-
-            // xmlReader.peek(); // error in both cases with/without peek()
-            event = xmlReader.nextTag(); // nextEvent() would work fine
-            // nextTag() forgets to set fLastEvent
-            System.out.println(event.getClass());
-
-            String text = xmlReader.getElementText();
-            System.out.println(text);
-        } catch (XMLStreamException e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6613059Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,85 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLEventReaderTest;
-
-import org.testng.annotations.Test;
-import org.testng.Assert;
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.events.XMLEvent;
-
-/*
- * @bug 6613059
- * @summary Test XMLEventReader.nextTag() shall update internal event state, same as 6586466.
- */
-public class Bug6613059Test {
-
-    @Test
-    public void test() {
-        String xmlFile = "bug6613059.xml";
-        XMLEventReader xer = null;
-        XMLInputFactory xif = XMLInputFactory.newInstance();
-        try {
-            xer = xif.createXMLEventReader(xif.createXMLStreamReader(getClass().getResource(xmlFile).getFile(), getClass().getResourceAsStream(xmlFile)));
-        } catch (XMLStreamException e) {
-            System.out.println("Error while reading XML: " + e.getClass().getName() + " " + e.getMessage());
-        }
-
-        try {
-            while (xer.hasNext()) {
-                XMLEvent event = xer.nextTag();
-                if (event.isEndElement() && event.asEndElement().getName().equals(new QName("menubar"))) {
-                    break;
-                }
-
-                if (event.asStartElement().getName().equals(new QName("menu"))) {
-                    // nextTag should be used when processing element-only
-                    // content, assuming "addMenu" in
-                    // the user's code handles the menu part properly
-                    addMenu(xer, event);
-                }
-
-            }
-        } catch (XMLStreamException e) {
-            Assert.fail("Exception while reading " + xmlFile + ": " + e.getClass().getName() + " " + e.getMessage());
-        }
-    }
-
-    void addMenu(XMLEventReader xer, XMLEvent event) throws XMLStreamException {
-        // user did not submit this part of code, just jump to the end of menu
-        // element
-        int eventType = 0;
-        while (true) {
-            event = xer.nextEvent();
-            // System.out.println("event: " + event);
-            eventType = event.getEventType();
-            if (eventType == XMLStreamConstants.END_ELEMENT && event.asEndElement().getName().equals(new QName("menu"))) {
-                break;
-            }
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6668115Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,97 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLEventReaderTest;
-
-import java.io.File;
-
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.events.XMLEvent;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6668115
- * @summary Test XMLEventReader.getElementText() shall update last event even if no peek.
- */
-public class Bug6668115Test {
-
-    public java.io.File input;
-    public final String filesDir = "./";
-    protected XMLInputFactory inputFactory;
-    protected XMLOutputFactory outputFactory;
-
-    /**
-     * The reason the following call sequence is a problem is that with a
-     * peekevent, getElementText calls nextEvent which does properly update the
-     * lastEvent
-     */
-    @Test
-    public void testNextTag() {
-        try {
-            XMLEventReader er = getReader();
-            er.nextTag();
-            er.nextTag();
-
-            System.out.println(er.getElementText());
-            er.nextTag();
-            System.out.println(er.getElementText());
-
-        } catch (Exception e) {
-            System.out.println(e.getMessage());
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    @Test
-    public void testNextTagWPeek() {
-        try {
-            XMLEventReader er = getReader();
-            er.nextTag();
-            er.nextTag();
-
-            XMLEvent event = er.peek();
-            System.out.println(er.getElementText());
-            er.nextTag();
-            System.out.println(er.getElementText());
-
-        } catch (Exception e) {
-            System.out.println(e.getMessage());
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    private XMLEventReader getReader() throws Exception {
-        inputFactory = XMLInputFactory.newInstance();
-        input = new File(getClass().getResource("play2.xml").getFile());
-        // Check if event reader returns the correct event
-        XMLEventReader er = inputFactory.createXMLEventReader(inputFactory.createXMLStreamReader(new java.io.FileInputStream(input), "UTF-8"));
-        return er;
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Bug6846133Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLEventReaderTest;
-
-import javax.xml.stream.XMLStreamException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6846133
- * @summary Test method getDocumentTypeDeclaration() of DTD Event returns a valid value.
- */
-public class Bug6846133Test {
-    private static final String xml = "<!DOCTYPE html PUBLIC \"-//W3C//DTDXHTML 1.0 Transitional//EN\" "
-            + "\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">" + "<html><body><p>I am some simple html</p></body> </html>";
-
-    @Test
-    public void test() {
-        try {
-            javax.xml.stream.XMLInputFactory factory = javax.xml.stream.XMLInputFactory.newInstance();
-            factory.setXMLResolver(new DTDResolver());
-            factory.setProperty(javax.xml.stream.XMLInputFactory.SUPPORT_DTD, true);
-            factory.setProperty(javax.xml.stream.XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, true);
-            java.io.ByteArrayInputStream is = new java.io.ByteArrayInputStream(xml.getBytes("UTF-8"));
-
-            // createXMLEventReader (source) not supported
-            // javax.xml.transform.stream.StreamSource source = new
-            // javax.xml.transform.stream.StreamSource (is);
-            // javax.xml.stream.XMLEventReader reader =
-            // factory.createXMLEventReader (source);
-
-            javax.xml.stream.XMLEventReader reader = factory.createXMLEventReader(is);
-            while (reader.hasNext()) {
-                javax.xml.stream.events.XMLEvent event = reader.nextEvent();
-                if (event.getEventType() == javax.xml.stream.XMLStreamConstants.DTD) {
-                    String temp = ((javax.xml.stream.events.DTD) event).getDocumentTypeDeclaration();
-                    if (temp.length() < 120) {
-                        Assert.fail("DTD truncated");
-                    }
-                    System.out.println(temp);
-                }
-            }
-        } catch (XMLStreamException xe) {
-            Assert.fail(xe.getMessage());
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
-    }
-
-    class DTDResolver implements javax.xml.stream.XMLResolver {
-        public Object resolveEntity(String arg0, String arg1, String arg2, String arg3) throws XMLStreamException {
-            System.out.println("DTD is parsed");
-            return new java.io.ByteArrayInputStream(new byte[0]);
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/Issue40Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,96 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLEventReaderTest;
-
-import java.io.File;
-
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.events.XMLEvent;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XMLEventReader.getElementText() works after calling peek().
- */
-public class Issue40Test {
-
-    public java.io.File input;
-    public final String filesDir = "./";
-    protected XMLInputFactory inputFactory;
-    protected XMLOutputFactory outputFactory;
-
-    /**
-     * test without peek
-     */
-    @Test
-    public void testWOPeek() {
-        try {
-            XMLEventReader er = getReader();
-            XMLEvent e = er.nextEvent();
-            Assert.assertEquals(e.getEventType(), XMLStreamConstants.START_DOCUMENT);
-            // we have two start elements in this file
-            Assert.assertEquals(er.nextEvent().getEventType(), XMLStreamConstants.START_ELEMENT);
-            Assert.assertEquals(er.nextEvent().getEventType(), XMLStreamConstants.START_ELEMENT);
-            System.out.println(er.getElementText());
-
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    /**
-     * test with peek
-     */
-    @Test
-    public void testWPeek() {
-        try {
-            XMLEventReader er = getReader();
-            XMLEvent e = er.nextEvent();
-            Assert.assertEquals(e.getEventType(), XMLStreamConstants.START_DOCUMENT);
-            // we have two start elements in this file
-            while (er.peek().getEventType() == XMLStreamConstants.START_ELEMENT) {
-                e = er.nextEvent();
-            }
-            Assert.assertEquals(e.getEventType(), XMLStreamConstants.START_ELEMENT);
-            System.out.println(er.getElementText());
-
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    private XMLEventReader getReader() throws Exception {
-        inputFactory = XMLInputFactory.newInstance();
-        input = new File(getClass().getResource("play.xml").getFile());
-
-        // Check if event reader returns the correct event
-        XMLEventReader er = inputFactory.createXMLEventReader(inputFactory.createXMLStreamReader(new java.io.FileInputStream(input), "UTF-8"));
-        return er;
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/bug6613059.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<menubar>
-	<menu>
-		<id>file</id>
-		<item>
-			<id>exit</id>
-			<method>doExit 0</method>
-			<type>all</type>
-		</item>
-	</menu>
-	<menu>
-		<id>edit</id>
-		<item>
-			<id>prefs</id>
-			<method>showPrefsWindow 0</method>
-			<type>all</type>
-		</item>
-	</menu>
-</menubar>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/play.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-<?xml version="1.0"?><PLAY><TITLE>
-    The Tragedy of Hamlet
-    Prince of Denmark</TITLE></PLAY>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/play2.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<?xml version="1.0"?><PLAY><TITLE>
-         The Tragedy of Hamlet
-         Prince of Denmark
-</TITLE>
-<AUTHOR>
-         William Shakespeare
-</AUTHOR>
-</PLAY>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventReaderTest/sgml.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,100 +0,0 @@
-<report>
-<title>Getting started with SGML</title>
-<chapter>
-<title>The business challenge</title>
-<intro>
-<para>With the ever-changing and growing global market, companies and
- large organizations are searching for ways to become more viable and
- competitive. Downsizing and other cost-cutting measures demand more
- efficient use of corporate resources. One very important resource is
- an organization's information.</para>
-<para>As part of the move toward integrated information management,
-whole industries are developing and implementing standards for
-exchanging technical information. This report describes how one such
-standard, the Standard Generalized Markup Language (SGML), works as
-part of an overall information management strategy.</para>
-<graphic graphname="infoflow"/></intro></chapter>
-<chapter>
-<title>Getting to know SGML</title>
-<intro>
-<para>While SGML is a fairly recent technology, the use of
-<emph>markup</emph> in computer-generated documents has existed for a
-while.</para></intro>
-<section shorttitle="What is markup?">
-<title>What is markup, or everything you always wanted to know about
-document preparation but were afraid to ask?</title>
-<intro>
-<para>Markup is everything in a document that is not content. The
-traditional meaning of markup is the manual <emph>marking</emph> up
-of typewritten text to give instructions for a typesetter or
-compositor about how to fit the text on a page and what typefaces to
-use. This kind of markup is known as <emph>procedural markup</emph>.</para></intro>
-<topic topicid="top1">
-<title>Procedural markup</title>
-<para>Most electronic publishing systems today use some form of
-procedural markup. Procedural markup codes are good for one
-presentation of the information.</para></topic>
-<topic topicid="top2">
-<title>Generic markup</title>
-<para>Generic markup (also known as descriptive markup) describes the
-<emph>purpose</emph> of the text in a document. A basic concept of
-generic markup is that the content of a document must be separate from
-the style. Generic markup allows for multiple presentations of the
-information.</para></topic>
-<topic topicid="top3">
-<title>Drawbacks of procedural markup</title>
-<para>Industries involved in technical documentation increasingly
-prefer generic over procedural markup schemes. When a company changes
-software or hardware systems, enormous data translation tasks arise,
-often resulting in errors.</para></topic></section>
-<section shorttitle="What is SGML?">
-<title>What <emph>is</emph> SGML in the grand scheme of the universe, anyway?</title>
-<intro>
-<para>SGML defines a strict markup scheme with a syntax for defining
-document data elements and an overall framework for marking up
-documents.</para>
-<para>SGML can describe and create documents that are not dependent on
-any hardware, software, formatter, or operating system. Since SGML documents
-conform to an international standard, they are portable.</para></intro></section>
-<section shorttitle="How does SGML work?">
-<title>How is SGML and would you recommend it to your grandmother?</title>
-<intro>
-<para>You can break a typical document into three layers: structure,
-content, and style. SGML works by separating these three aspects and
-deals mainly with the relationship between structure and content.</para></intro>
-<topic topicid="top4">
-<title>Structure</title>
-<para>At the heart of an SGML application is a file called the DTD, or
-Document Type Definition. The DTD sets up the structure of a document,
-much like a database schema describes the types of information it
-handles.</para>
-<para>A database schema also defines the relationships between the
-various types of data. Similarly, a DTD specifies <emph>rules</emph>
-to help ensure documents have a consistent, logical structure.</para></topic>
-<topic topicid="top5">
-<title>Content</title>
-<para>Content is the information itself. The method for identifying
-the information and its meaning within this framework is called
-<emph>tagging</emph>. Tagging must
-conform to the rules established in the DTD (see <xref xrefid="top4"/>).</para>
-<graphic graphname="tagexamp"/></topic>
-<topic topicid="top6">
-<title>Style</title>
-<para>SGML does not standardize style or other processing methods for
-information stored in SGML.</para></topic></section></chapter>
-<chapter>
-<title>Resources</title>
-<section>
-<title>Conferences, tutorials, and training</title>
-<intro>
-<para>The Graphic Communications Association has been
-instrumental in the development of SGML. GCA provides conferences,
-tutorials, newsletters, and publication sales for both members and
-non-members.</para>
-<para security="c">Exiled members of the former Soviet Union's secret
-police, the KGB, have infiltrated the upper ranks of the GCA and are
-planning the Final Revolution as soon as DSSSL is completed.</para>
-</intro>
-</section>
-</chapter>
-</report>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/ReaderToWriterTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,210 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLEventWriterTest;
-
-import java.io.ByteArrayOutputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.FileOutputStream;
-import java.io.InputStream;
-import java.io.OutputStream;
-
-import javax.xml.stream.XMLEventFactory;
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLEventWriter;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.events.XMLEvent;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XMLEventWriter.
- */
-public class ReaderToWriterTest {
-
-    private static final XMLEventFactory XML_EVENT_FACTORY = XMLEventFactory.newInstance();
-    private static final XMLInputFactory XML_INPUT_FACTORY = XMLInputFactory.newInstance();
-    private static final XMLOutputFactory XML_OUTPUT_FACTORY = XMLOutputFactory.newInstance();
-
-    private static final String INPUT_FILE = "W2JDLR4002TestService.wsdl.data";
-    private static final String OUTPUT_FILE = "Encoded.wsdl";
-
-    /**
-     * Unit test for writing namespaces when namespaceURI == null.
-     */
-    @Test
-    public void testWriteNamespace() {
-
-        /** Platform default encoding. */
-        final String DEFAULT_CHARSET = java.nio.charset.Charset.defaultCharset().name();
-        System.out.println("DEFAULT_CHARSET = " + DEFAULT_CHARSET);
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" encoding=\"" + DEFAULT_CHARSET + "\"?><prefix:root xmlns=\"\" xmlns:null=\"\"></prefix:root>";
-        final String EXPECTED_OUTPUT_NO_ENCODING = "<?xml version=\"1.0\"?><prefix:root xmlns=\"\" xmlns:null=\"\"></prefix:root>";
-
-        // new Writer
-        XMLEventWriter xmlEventWriter = null;
-        ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
-        try {
-            xmlEventWriter = XML_OUTPUT_FACTORY.createXMLEventWriter(byteArrayOutputStream);
-        } catch (XMLStreamException xmlStreamException) {
-            xmlStreamException.printStackTrace();
-            Assert.fail(xmlStreamException.toString());
-        }
-
-        try {
-            // start a valid event stream
-            XMLEvent startDocumentEvent = XML_EVENT_FACTORY.createStartDocument(DEFAULT_CHARSET);
-            XMLEvent startElementEvent = XML_EVENT_FACTORY.createStartElement("prefix", "http://example.com", "root");
-            xmlEventWriter.add(startDocumentEvent);
-            xmlEventWriter.add(startElementEvent);
-
-            // try using a null default namespaceURI
-            XMLEvent namespaceEvent = XML_EVENT_FACTORY.createNamespace(null);
-            xmlEventWriter.add(namespaceEvent);
-
-            // try using a null prefix'd namespaceURI
-            XMLEvent namespacePrefixEvent = XML_EVENT_FACTORY.createNamespace("null", null);
-            xmlEventWriter.add(namespacePrefixEvent);
-
-            // close event stream
-            XMLEvent endElementEvent = XML_EVENT_FACTORY.createEndElement("prefix", "http://example.com", "root");
-            XMLEvent endDocumentEvent = XML_EVENT_FACTORY.createEndDocument();
-            xmlEventWriter.add(endElementEvent);
-            xmlEventWriter.add(endDocumentEvent);
-            xmlEventWriter.flush();
-        } catch (XMLStreamException xmlStreamException) {
-            xmlStreamException.printStackTrace();
-            Assert.fail(xmlStreamException.toString());
-        }
-
-        // get XML document as String
-        String actualOutput = byteArrayOutputStream.toString();
-
-        // is output as expected?
-        if (!actualOutput.equals(EXPECTED_OUTPUT) && !actualOutput.equals(EXPECTED_OUTPUT_NO_ENCODING)) {
-            Assert.fail("Expected: " + EXPECTED_OUTPUT + ", actual: " + actualOutput);
-        }
-    }
-
-    /**
-     * Test: 6419687 NPE in XMLEventWriterImpl.
-     */
-    @Test
-    public void testCR6419687() {
-
-        try {
-            InputStream in = getClass().getResourceAsStream("ReaderToWriterTest.wsdl");
-            OutputStream out = new FileOutputStream("ReaderToWriterTest-out.xml");
-
-            XMLEventReader reader = XML_INPUT_FACTORY.createXMLEventReader(in);
-            XMLEventWriter writer = XML_OUTPUT_FACTORY.createXMLEventWriter(out, "UTF-8");
-            while (reader.hasNext()) {
-                XMLEvent event = reader.nextEvent();
-                writer.add(event);
-            }
-            reader.close();
-            writer.close();
-        } catch (XMLStreamException xmlStreamException) {
-            xmlStreamException.printStackTrace();
-            Assert.fail(xmlStreamException.toString());
-        } catch (FileNotFoundException fileNotFoundException) {
-            fileNotFoundException.printStackTrace();
-            Assert.fail(fileNotFoundException.toString());
-        }
-    }
-
-    /*
-     * Reads UTF-16 encoding file and writes it to UTF-8 encoded format.
-     */
-    @Test
-    public void testUTF8Encoding() {
-        try {
-            InputStream in = util.BOMInputStream.createStream("UTF-16BE", this.getClass().getResourceAsStream(INPUT_FILE));
-            OutputStream out = new FileOutputStream(OUTPUT_FILE);
-
-            XMLEventReader reader = XML_INPUT_FACTORY.createXMLEventReader(in);
-            XMLEventWriter writer = XML_OUTPUT_FACTORY.createXMLEventWriter(out, "UTF-8");
-
-            writeEvents(reader, writer);
-            checkOutput(OUTPUT_FILE);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        } finally {
-            File file = new File(OUTPUT_FILE);
-            if (file.exists())
-                file.delete();
-        }
-    }
-
-    private void writeEvents(XMLEventReader reader, XMLEventWriter writer) throws XMLStreamException {
-        while (reader.hasNext()) {
-            XMLEvent event = reader.nextEvent();
-            writer.add(event);
-        }
-        reader.close();
-        writer.close();
-    }
-
-    private void checkOutput(String output) throws Exception {
-        InputStream in = new FileInputStream(output);
-        XMLEventReader reader = XML_INPUT_FACTORY.createXMLEventReader(in);
-        while (reader.hasNext()) {
-            reader.next();
-        }
-        reader.close();
-    }
-
-    /*
-     * Reads UTF-16 encoding file and writes it with default encoding.
-     */
-    @Test
-    public void testNoEncoding() {
-        try {
-            InputStream in = util.BOMInputStream.createStream("UTF-16BE", this.getClass().getResourceAsStream(INPUT_FILE));
-            OutputStream out = new FileOutputStream(OUTPUT_FILE);
-
-            XMLEventReader reader = XML_INPUT_FACTORY.createXMLEventReader(in);
-            XMLEventWriter writer = XML_OUTPUT_FACTORY.createXMLEventWriter(out);
-
-            writeEvents(reader, writer);
-            checkOutput(OUTPUT_FILE);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        } finally {
-            File file = new File(OUTPUT_FILE);
-            if (file.exists())
-                file.delete();
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/ReaderToWriterTest.wsdl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,523 +0,0 @@
-<?xml version = "1.0" encoding = "UTF-8"?>
-
-<wsdl:definitions name = "Untitled" targetNamespace = "http://web.services.galileo.someCompany.com/checkAddressImpl" xmlns:ns0 = "http://someCompany.com/fss/services/Portal_checkAddress_request" xmlns:ns1 = "http://someCompany.com/fss/services/Portal_checkAddress_result" xmlns:soap = "http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns = "http://web.services.galileo.someCompany.com/checkAddressImpl" xmlns:tnsi = "http://web.services.galileo.someCompany.com/internal/checkAddress" xmlns:wsdl = "http://schemas.xmlsoap.org/wsdl/" xmlns:xs = "http://www.w3.org/2001/XMLSchema">
-	<wsdl:types>
-		<xsd:schema attributeFormDefault = "unqualified" elementFormDefault = "qualified" targetNamespace = "http://someCompany.com/fss/services/Portal_checkAddress_result" xml:lang = "de" xmlns = "http://someCompany.com/fss/services/Portal_checkAddress_result" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
-			<!-- commonMessageHeaderResult-->
-			<xsd:element name = "commonMessageHeaderResult">
-				<xsd:annotation xmlns = "">
-					<xsd:documentation>Comment describing your root element</xsd:documentation>
-				</xsd:annotation>
-				<xsd:complexType>
-					<xsd:sequence>
-						<xsd:element name = "sourceSystem" type = "xsd:string"/>
-						<xsd:element name = "eventID">
-							<xsd:simpleType>
-								<xsd:restriction base = "xsd:string">
-									<xsd:minLength value = "1"/>
-									<xsd:maxLength value = "30"/>
-								</xsd:restriction>
-							</xsd:simpleType>
-						</xsd:element>
-						<xsd:element name = "timeStamp" type = "xsd:dateTime"/>
-						<xsd:element minOccurs = "0" name = "eaiErrorID" type = "xsd:string"/>
-						<xsd:element name = "serviceName" type = "xsd:string"/>
-					</xsd:sequence>
-				</xsd:complexType>
-			</xsd:element>
-			<xsd:annotation>
-				<xsd:documentation>Canonical Data Model for service checkAddress (result)</xsd:documentation>
-				<xsd:documentation>Generation Date: 20.12.2005</xsd:documentation>
-				<xsd:documentation>naming convention for prefixes:
-       CDM  - object type
-       DOM  - reference data type
-				</xsd:documentation>
-			</xsd:annotation>
-			<xsd:complexType name = "CDM_Address_Check_Response_Result">
-				<xsd:annotation>
-					<xsd:documentation/>
-				</xsd:annotation>
-				<xsd:sequence>
-					<xsd:element name = "overallResult" type = "xsd:integer"/>
-					<xsd:element name = "overallRemark">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "1000"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element maxOccurs = "unbounded" minOccurs = "0" name = "Single_Checked_Address" type = "ns1:CDM_Single_Checked_Address_Result"/>
-				</xsd:sequence>
-			</xsd:complexType>
-			<xsd:complexType name = "CDM_Location_Address_Result">
-				<xsd:annotation>
-					<xsd:documentation>physical existing postal address</xsd:documentation>
-				</xsd:annotation>
-				<xsd:sequence>
-					<xsd:element minOccurs = "0" name = "zipCode">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "12"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "city">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "30"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "street">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "55"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "houseNumber">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "6"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "POBox">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "10"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "additionalInformation1">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "55"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "additionalInformation2">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "55"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "branch">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "80"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "site">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "50"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "department">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "100"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "validTo" type = "xsd:date"/>
-					<xsd:element minOccurs = "0" name = "checked" type = "xsd:boolean"/>
-					<xsd:element minOccurs = "0" name = "validFrom" type = "xsd:date"/>
-					<xsd:element minOccurs = "0" name = "active" type = "xsd:boolean"/>
-					<xsd:element minOccurs = "0" name = "Country_Code" type = "ns1:DOM_Country_Code_Result"/>
-					<xsd:element minOccurs = "0" name = "Address_Type" type = "ns1:DOM_Address_Type_Result"/>
-					<xsd:element minOccurs = "0" name = "zoneInformation" type = "ns1:CDM_Zone_Information_Result"/>
-					<xsd:element minOccurs = "0" name = "addressee_ref" type = "ns1:foreign_key"/>
-					<xsd:element minOccurs = "0" name = "contactAddressee_ref" type = "ns1:foreign_key"/>
-				</xsd:sequence>
-			</xsd:complexType>
-			<xsd:complexType name = "CDM_Single_Checked_Address_Result">
-				<xsd:annotation>
-					<xsd:documentation/>
-				</xsd:annotation>
-				<xsd:sequence>
-					<xsd:element name = "result" type = "xsd:integer"/>
-					<xsd:element name = "remark">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "1000"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element maxOccurs = "unbounded" minOccurs = "0" name = "Location_Address" type = "ns1:CDM_Location_Address_Result"/>
-				</xsd:sequence>
-			</xsd:complexType>
-			<xsd:complexType name = "CDM_Zone_Information_Result">
-				<xsd:annotation>
-					<xsd:documentation>Address with special geographical information (GIS)</xsd:documentation>
-				</xsd:annotation>
-				<xsd:sequence>
-					<xsd:element minOccurs = "0" name = "intersection1">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "200"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "intersection2">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "200"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "xCoordinate" type = "xsd:integer"/>
-					<xsd:element minOccurs = "0" name = "yCoordinate" type = "xsd:integer"/>
-					<xsd:element minOccurs = "0" name = "radius" type = "xsd:double"/>
-					<xsd:element minOccurs = "0" name = "cells" type = "xsd:integer"/>
-					<xsd:element minOccurs = "0" name = "homezoneCheckPerformed" type = "xsd:boolean"/>
-					<xsd:element minOccurs = "0" name = "highSpeed" type = "xsd:boolean"/>
-					<xsd:element minOccurs = "0" name = "localAreaCode">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "10"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "forecastDate" type = "xsd:date"/>
-					<xsd:element minOccurs = "0" name = "Zone_Type" type = "ns1:DOM_Zone_Type_Result"/>
-					<xsd:element minOccurs = "0" name = "referredLocation_ref" type = "ns1:foreign_key"/>
-				</xsd:sequence>
-			</xsd:complexType>
-			<xsd:simpleType name = "DOM_Address_Type_Result">
-				<xsd:restriction base = "xsd:string">
-					<xsd:enumeration value = "main_address"/>
-					<xsd:enumeration value = "shipping_address"/>
-					<xsd:enumeration value = "billing_address"/>
-					<xsd:enumeration value = "previous_address"/>
-					<xsd:enumeration value = "customer_reward_program"/>
-					<xsd:enumeration value = "Packstation"/>
-				</xsd:restriction>
-			</xsd:simpleType>
-			<xsd:simpleType name = "DOM_Country_Code_Result">
-				<xsd:restriction base = "xsd:string">
-					<xsd:enumeration value = "DEU">
-						<xsd:annotation>
-							<xsd:documentation>Deutschland</xsd:documentation>
-						</xsd:annotation>
-					</xsd:enumeration>
-				</xsd:restriction>
-			</xsd:simpleType>
-			<xsd:simpleType name = "DOM_Zone_Type_Result">
-				<xsd:restriction base = "xsd:string">
-					<xsd:enumeration value = "PWI"/>
-					<xsd:enumeration value = "GEN"/>
-				</xsd:restriction>
-			</xsd:simpleType>
-			<xsd:simpleType name = "NOT_AVAILABLE_YET">
-				<xsd:restriction base = "xsd:string"/>
-			</xsd:simpleType>
-			<xsd:complexType name = "Portal_message_checkAddress_result_type">
-				<xsd:sequence>
-					<xsd:element minOccurs = "0" name = "Address_Check_Response" type = "ns1:CDM_Address_Check_Response_Result"/>
-				</xsd:sequence>
-			</xsd:complexType>
-			<xsd:simpleType name = "foreign_key">
-				<xsd:restriction base = "xsd:string"/>
-			</xsd:simpleType>
-			<xsd:element name = "Portal_message_checkAddress_result" type = "ns1:Portal_message_checkAddress_result_type"/>
-			<!-- Portal_checkAddressResult-->
-			<xsd:complexType name = "Portal_checkAddress_result">
-				<xsd:sequence>
-					<xsd:element ref = "ns1:commonMessageHeaderResult">
-						<xsd:annotation xmlns = "">
-							<xsd:documentation>Comment describing your root element</xsd:documentation>
-						</xsd:annotation>
-					</xsd:element>
-					<xsd:element ref = "ns1:Portal_message_checkAddress_result"/>
-				</xsd:sequence>
-			</xsd:complexType>
-		</xsd:schema>
-		<xsd:schema attributeFormDefault = "unqualified" elementFormDefault = "qualified" targetNamespace = "http://someCompany.com/fss/services/Portal_checkAddress_request" xml:lang = "de" xmlns = "http://someCompany.com/fss/services/Portal_checkAddress_request" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
-			<!-- commonMessageHeader-->
-			<xsd:element name = "commonMessageHeader">
-				<xsd:annotation xmlns = "">
-					<xsd:documentation>Comment describing your root element</xsd:documentation>
-				</xsd:annotation>
-				<xsd:complexType>
-					<xsd:sequence>
-						<xsd:element name = "sourceSystem" type = "xsd:string"/>
-						<xsd:element name = "eventID">
-							<xsd:simpleType>
-								<xsd:restriction base = "xsd:string">
-									<xsd:minLength value = "1"/>
-									<xsd:maxLength value = "30"/>
-								</xsd:restriction>
-							</xsd:simpleType>
-						</xsd:element>
-						<xsd:element name = "timeStamp" type = "xsd:dateTime"/>
-						<xsd:element minOccurs = "0" name = "eaiErrorID" type = "xsd:string"/>
-						<xsd:element name = "serviceName" type = "xsd:string"/>
-					</xsd:sequence>
-				</xsd:complexType>
-			</xsd:element>
-			<xsd:annotation>
-				<xsd:documentation>Canonical Data Model for service checkAddress</xsd:documentation>
-				<xsd:documentation>Generation Date: 20.12.2005</xsd:documentation>
-				<xsd:documentation>naming convention for prefixes:
-       CDM  - object type
-       DOM  - reference data type
-    
-				</xsd:documentation>
-			</xsd:annotation>
-			<xsd:complexType name = "CDM_Location_Address">
-				<xsd:annotation>
-					<xsd:documentation>physical existing postal address</xsd:documentation>
-				</xsd:annotation>
-				<xsd:sequence>
-					<xsd:element name = "zipCode">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "12"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element name = "city">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "30"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "street">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "55"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "houseNumber">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "6"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "POBox">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "10"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "additionalInformation1">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "55"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "additionalInformation2">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "55"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "branch">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "80"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "site">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "50"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "department">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "100"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "validTo" type = "xsd:date"/>
-					<xsd:element minOccurs = "0" name = "checked" type = "xsd:boolean"/>
-					<xsd:element minOccurs = "0" name = "validFrom" type = "xsd:date"/>
-					<xsd:element minOccurs = "0" name = "active" type = "xsd:boolean"/>
-					<xsd:element name = "Country_Code" type = "ns0:DOM_Country_Code"/>
-					<xsd:element minOccurs = "0" name = "Address_Type" type = "ns0:DOM_Address_Type"/>
-					<xsd:element minOccurs = "0" name = "zoneInformation" type = "ns0:CDM_Zone_Information"/>
-					<xsd:element minOccurs = "0" name = "addressee_ref" type = "ns0:foreign_key"/>
-					<xsd:element minOccurs = "0" name = "contactAddressee_ref" type = "ns0:foreign_key"/>
-				</xsd:sequence>
-			</xsd:complexType>
-			<xsd:complexType name = "CDM_Zone_Information">
-				<xsd:annotation>
-					<xsd:documentation>Address with special geographical information (GIS)</xsd:documentation>
-				</xsd:annotation>
-				<xsd:sequence>
-					<xsd:element minOccurs = "0" name = "intersection1">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "200"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "intersection2">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "200"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "xCoordinate" type = "xsd:integer"/>
-					<xsd:element minOccurs = "0" name = "yCoordinate" type = "xsd:integer"/>
-					<xsd:element minOccurs = "0" name = "radius" type = "xsd:double"/>
-					<xsd:element minOccurs = "0" name = "cells" type = "xsd:integer"/>
-					<xsd:element minOccurs = "0" name = "homezoneCheckPerformed" type = "xsd:boolean"/>
-					<xsd:element minOccurs = "0" name = "highSpeed" type = "xsd:boolean"/>
-					<xsd:element minOccurs = "0" name = "localAreaCode">
-						<xsd:simpleType>
-							<xsd:restriction base = "xsd:string">
-								<xsd:maxLength value = "10"/>
-								<xsd:minLength value = "0"/>
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:element>
-					<xsd:element minOccurs = "0" name = "forecastDate" type = "xsd:date"/>
-					<xsd:element minOccurs = "0" name = "Zone_Type" type = "ns0:DOM_Zone_Type"/>
-					<xsd:element minOccurs = "0" name = "referredLocation_ref" type = "ns0:foreign_key"/>
-				</xsd:sequence>
-			</xsd:complexType>
-			<xsd:simpleType name = "DOM_Address_Type">
-				<xsd:restriction base = "xsd:string">
-					<xsd:enumeration value = "main_address"/>
-					<xsd:enumeration value = "shipping_address"/>
-					<xsd:enumeration value = "billing_address"/>
-					<xsd:enumeration value = "previous_address"/>
-					<xsd:enumeration value = "customer_reward_program"/>
-					<xsd:enumeration value = "Packstation"/>
-				</xsd:restriction>
-			</xsd:simpleType>
-			<xsd:simpleType name = "DOM_Country_Code">
-				<xsd:restriction base = "xsd:string">
-					<xsd:enumeration value = "DEU">
-						<xsd:annotation>
-							<xsd:documentation>Deutschland</xsd:documentation>
-						</xsd:annotation>
-					</xsd:enumeration>
-				</xsd:restriction>
-			</xsd:simpleType>
-			<xsd:simpleType name = "DOM_Zone_Type">
-				<xsd:restriction base = "xsd:string">
-					<xsd:enumeration value = "PWI"/>
-					<xsd:enumeration value = "GEN"/>
-				</xsd:restriction>
-			</xsd:simpleType>
-			<xsd:simpleType name = "NOT_AVAILABLE_YET">
-				<xsd:restriction base = "xsd:string"/>
-			</xsd:simpleType>
-			<xsd:complexType name = "Portal_message_checkAddress_type">
-				<xsd:sequence>
-					<xsd:element minOccurs = "0" name = "Location_Address" type = "ns0:CDM_Location_Address"/>
-				</xsd:sequence>
-			</xsd:complexType>
-			<xsd:simpleType name = "foreign_key">
-				<xsd:restriction base = "xsd:string"/>
-			</xsd:simpleType>
-			<xsd:element name = "Portal_message_checkAddress" type = "ns0:Portal_message_checkAddress_type"/>
-			<!-- Portal_checkAddress-->
-			<xsd:complexType name = "Portal_checkAddress">
-				<xsd:sequence>
-					<xsd:element ref = "ns0:commonMessageHeader">
-						<xsd:annotation xmlns = "">
-							<xsd:documentation>Comment describing your root element</xsd:documentation>
-						</xsd:annotation>
-					</xsd:element>
-					<xsd:element ref = "ns0:Portal_message_checkAddress"/>
-				</xsd:sequence>
-			</xsd:complexType>
-		</xsd:schema>
-		<xsd:schema attributeFormDefault = "unqualified" elementFormDefault = "qualified" targetNamespace = "http://web.services.galileo.someCompany.com/internal/checkAddress" xml:lang = "de" xmlns = "http://someCompany.com/fss/services/Portal_internal" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
-			<xsd:element name = "HeaderMsg" type = "xsd:string"/>
-			<xsd:element name = "ErrorMsg" type = "xsd:string"/>
-		</xsd:schema>
-	</wsdl:types>
-	<wsdl:message name = "checkAddress">
-		<wsdl:part name = "checkAddress" type = "ns0:Portal_checkAddress"/>
-	</wsdl:message>
-	<wsdl:message name = "checkAddressResult">
-		<wsdl:part name = "checkAddressResult" type = "ns1:Portal_checkAddress_result"/>
-	</wsdl:message>
-	<wsdl:message name = "GenericException">
-		<wsdl:part element = "tnsi:ErrorMsg" name = "error"/>
-	</wsdl:message>
-	<wsdl:message name = "Header">
-		<wsdl:part element = "tnsi:HeaderMsg" name = "HeaderPart"/>
-	</wsdl:message>
-	<wsdl:message name = "HeaderFault">
-		<wsdl:part element = "tnsi:ErrorMsg" name = "HeaderFaultPart"/>
-	</wsdl:message>
-	<wsdl:portType name = "PortType">
-		<wsdl:operation name = "checkAddress">
-			<wsdl:input message = "tns:checkAddress"/>
-			<wsdl:output message = "tns:checkAddressResult"/>
-			<wsdl:fault message = "tns:GenericException" name = "GenericException"/>
-		</wsdl:operation>
-	</wsdl:portType>
-	<wsdl:binding name = "Portal__Portal2BPM__checkAddressBinding" type = "tns:PortType">
-		<soap:binding style = "rpc" transport = "http://schemas.xmlsoap.org/soap/http"/>
-		<wsdl:operation name = "checkAddress">
-			<wsdl:documentation>The operation has no documentation</wsdl:documentation>
-			<soap:operation soapAction = "Portal_Portal2BPM_checkAddress" style = "rpc"/>
-			<wsdl:input>
-				<soap:body namespace = "http://InputMessageNamespace" use = "literal"/>
-				<soap:header message = "tns:Header" part = "HeaderPart" use = "literal">
-					<soap:headerfault message = "tns:HeaderFault" part = "HeaderFaultPart" use = "literal"/>
-				</soap:header>
-			</wsdl:input>
-			<wsdl:output>
-				<soap:body namespace = "http://OutputMessageNamespace" use = "literal"/>
-			</wsdl:output>
-			<wsdl:fault name = "GenericException">
-				<soap:fault name = "GenericException" use = "literal"/>
-			</wsdl:fault>
-		</wsdl:operation>
-	</wsdl:binding>
-	<wsdl:service name = "Portal__Portal2BPM__checkAddress">
-		<wsdl:port binding = "tns:Portal__Portal2BPM__checkAddressBinding" name = "Portal__Portal2BPM__checkAddressHttpPort">
-			<soap:address location = "http://tibco13413008:2020/Business__Processes/Adapter__Services/Portal/Inbound__Processes/Portal__Portal2BPM__checkAddress"/>
-		</wsdl:port>
-	</wsdl:service>
-</wsdl:definitions>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/ReaderToWriterTest.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<root xmlns="" />
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/W2JDLR4002TestService.wsdl.data	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-16"?>
-<definitions
-    xmlns="http://schemas.xmlsoap.org/wsdl/"
-    name="W2JDLR4002TestService"
-    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-    targetNamespace="http://w2jdlr4002testservice.org/W2JDLR4002TestService.wsdl"
-    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-    xmlns:tns="http://w2jdlr4002testservice.org/W2JDLR4002TestService.wsdl"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:xsd1="http://w2jdlr4002testservice.org/xsd">
-
-    <types>
-        <schema targetNamespace="http://w2jdlr4002testservice.org/xsd"
-            xmlns="http://www.w3.org/2001/XMLSchema"
-            xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-            elementFormDefault="qualified">
-
-            <element name="echoStringParam" type="xsd:string"/>
-
-            <element name="echoStringReturn" type="xsd:string"/>
-            
-        </schema>
-    </types>
-
-    <message name="echoString">
-        <part element="xsd1:echoStringParam" name="str"/>
-    </message>
-    <message name="echoStringResponse">
-        <part element="xsd1:echoStringReturn" name="result"/>
-    </message>
-
-    <portType name="W2JDLR4002Test">
-    	<operation name="echoString">
-            <input message="tns:echoString"/>
-            <output message="tns:echoStringResponse"/>
-    	</operation>
-    </portType>
-    
-    <binding name="W2JDLR4002TestBinding" type="tns:W2JDLR4002Test">
-    	<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-    	<operation name="echoString">
-    		<soap:operation/>
-            <input>
-                <soap:body use="literal"/>
-            </input>
-            <output>
-                <soap:body use="literal"/>
-            </output>
-    	</operation>
-    </binding>
-
-    <service name="W2JDLR4002TestService">
-        <port binding="tns:W2JDLR4002TestBinding"
-            name="W2JDLR4002TestPort">
-            <soap:address
-                location="http://w2jdlr4002testservice.org/W2JDLR4002TestService.wsdl"/>
-        </port>
-    </service>
-    
-</definitions>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/XMLEventWriterTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,152 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLEventWriterTest;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.InputStream;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLEventWriter;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.events.XMLEvent;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XMLEventWriter.
- */
-public class XMLEventWriterTest {
-
-    /**
-     * Test XMLStreamWriter parsing a file with an external entity reference.
-     */
-    @Test
-    public void testXMLStreamWriter() {
-
-        try {
-            XMLOutputFactory outputFactory = XMLOutputFactory.newInstance();
-            XMLEventWriter eventWriter = outputFactory.createXMLEventWriter(System.out);
-            XMLInputFactory inputFactory = XMLInputFactory.newInstance();
-            String file = getClass().getResource("XMLEventWriterTest.xml").getPath();
-            XMLEventReader eventReader = inputFactory.createXMLEventReader(new StreamSource(new File(file)));
-
-            // adds the event to the consumer.
-            eventWriter.add(eventReader);
-            eventWriter.flush();
-            eventWriter.close();
-
-            // expected success
-        } catch (Exception exception) {
-            exception.printStackTrace();
-            Assert.fail(exception.toString());
-        }
-    }
-
-    /**
-     * Inspired by CR 6245284 Sun Stax /sjsxp.jar does not behave properly
-     * during merge of xml files.
-     */
-    @Test
-    public void testMerge() {
-
-        try {
-            // Create the XML input factory
-            XMLInputFactory factory = XMLInputFactory.newInstance();
-
-            // Create XML event reader 1
-            InputStream inputStream1 = new FileInputStream(new File(XMLEventWriterTest.class.getResource("merge-1.xml").toURI()));
-            XMLEventReader r1 = factory.createXMLEventReader(inputStream1);
-
-            // Create XML event reader 2
-            InputStream inputStream2 = new FileInputStream(new File(XMLEventWriterTest.class.getResource("merge-2.xml").toURI()));
-            XMLEventReader r2 = factory.createXMLEventReader(inputStream2);
-
-            // Create the output factory
-            XMLOutputFactory xmlof = XMLOutputFactory.newInstance();
-
-            // Create XML event writer
-            XMLEventWriter xmlw = xmlof.createXMLEventWriter(System.out);
-
-            // Read to first <product> element in document 1
-            // and output to result document
-            QName bName = new QName("b");
-
-            while (r1.hasNext()) {
-                // Read event to be written to result document
-                XMLEvent event = r1.nextEvent();
-
-                if (event.getEventType() == XMLEvent.END_ELEMENT) {
-
-                    // Start element - stop at <product> element
-                    QName name = event.asEndElement().getName();
-                    if (name.equals(bName)) {
-
-                        QName zName = new QName("z");
-
-                        boolean isZr = false;
-
-                        while (r2.hasNext()) {
-                            // Read event to be written to result document
-                            XMLEvent event2 = r2.nextEvent();
-                            // Output event
-                            if (event2.getEventType() == XMLEvent.START_ELEMENT && event2.asStartElement().getName().equals(zName)) {
-                                isZr = true;
-                            }
-
-                            if (xmlw != null && isZr) {
-                                xmlw.add(event2);
-                            }
-
-                            // stop adding events after </z>
-                            // i.e. do not write END_DOCUMENT :)
-                            if (isZr && event2.getEventType() == XMLEvent.END_ELEMENT && event2.asEndElement().getName().equals(zName)) {
-                                isZr = false;
-                            }
-                        }
-                        xmlw.flush();
-                    }
-                }
-
-                // Output event
-                if (xmlw != null) {
-                    xmlw.add(event);
-                }
-            }
-
-            // Read to first <product> element in document 1
-            // without writing to result document
-            xmlw.close();
-
-            // expected success
-        } catch (Exception ex) {
-            ex.printStackTrace();
-            Assert.fail(ex.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/XMLEventWriterTest.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-/*
- * Copyright (c) 2014, 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.
- */
--->
-<!DOCTYPE root [
-    <!ENTITY replace SYSTEM 'replace1.txt'>
-]>
-<root>&replace;</root>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/merge-1.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-/*
- * Copyright (c) 2014, 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.
- */
--->
-<a>
-    <b>
-        <d></d>
-        <e></e>
-    </b>
-    <c>ccccccc</c>
-</a>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/merge-2.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-/*
- * Copyright (c) 2014, 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.
- */
--->
-<z>zzzzzzzzz</z>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLEventWriterTest/replace1.txt	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-replace1
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLInputFactoryTest/Bug6756677Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,151 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLInputFactoryTest;
-
-import javax.xml.stream.XMLInputFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6756677
- * @summary Test XMLInputFactory.newFactory(String factoryId, ClassLoader classLoader).
- */
-public class Bug6756677Test {
-
-    @Test
-    public void testNewInstance() {
-        String myFactory = "javax.xml.stream.XMLInputFactoryTest.MyInputFactory";
-        try {
-            System.setProperty("MyInputFactory", myFactory);
-            XMLInputFactory xif = XMLInputFactory.newInstance("MyInputFactory", null);
-            System.out.println(xif.getClass().getName());
-            Assert.assertTrue(xif.getClass().getName().equals(myFactory));
-
-        } catch (UnsupportedOperationException oe) {
-            Assert.fail(oe.getMessage());
-        }
-
-    }
-
-    // newFactory was added in StAX 1.2
-    @Test
-    public void testNewFactory() {
-        String myFactory = "javax.xml.stream.XMLInputFactoryTest.MyInputFactory";
-        ClassLoader cl = null;
-        try {
-            System.setProperty("MyInputFactory", myFactory);
-            XMLInputFactory xif = XMLInputFactory.newFactory("MyInputFactory", cl);
-            System.out.println(xif.getClass().getName());
-            Assert.assertTrue(xif.getClass().getName().equals(myFactory));
-
-        } catch (UnsupportedOperationException oe) {
-            Assert.fail(oe.getMessage());
-        }
-
-    }
-
-    String Temp_Result = "";
-    boolean PASSED = true;
-    boolean FAILED = false;
-
-    String XMLInputFactoryClassName = "com.sun.xml.internal.stream.XMLInputFactoryImpl";
-    String XMLInputFactoryID = "javax.xml.stream.XMLInputFactory";
-    ClassLoader CL = null;
-
-    // jaxp-test jaxp-product-tests javax.xml.jaxp14.ptests.FactoryTest
-    @Test
-    public void test() {
-        if (!test29()) {
-            Assert.fail(Temp_Result);
-        }
-        if (!test31()) {
-            Assert.fail(Temp_Result);
-        }
-    }
-
-    /*
-     * test for XMLInputFactory.newInstance(java.lang.String factoryClassName,
-     * java.lang.ClassLoader classLoader) classloader is null and
-     * factoryClassName points to correct implementation of
-     * javax.xml.stream.XMLInputFactory , should return newInstance of
-     * XMLInputFactory
-     */
-    @Test
-    public boolean test29() {
-        try {
-            System.setProperty(XMLInputFactoryID, XMLInputFactoryClassName);
-            XMLInputFactory xif = XMLInputFactory.newInstance(XMLInputFactoryID, CL);
-            if (xif instanceof XMLInputFactory) {
-                System.out.println(" test29() passed");
-                return PASSED;
-            } else {
-                System.out.println(" test29() failed");
-                Temp_Result = "test29() failed: xif not an instance of XMLInputFactory ";
-                return FAILED;
-            }
-        } catch (javax.xml.stream.FactoryConfigurationError fce) {
-            System.out.println("Failed : FactoryConfigurationError in test29 " + fce);
-            Temp_Result = "test29() failed ";
-            return FAILED;
-        } catch (Exception e) {
-            System.out.println("Failed : Exception in test29 " + e);
-            Temp_Result = "test29() failed ";
-            return FAILED;
-        }
-    }
-
-    /*
-     * test for XMLInputFactory.newInstance(java.lang.String factoryClassName,
-     * java.lang.ClassLoader classLoader) classloader is
-     * default(Class.getClassLoader()) and factoryClassName points to correct
-     * implementation of javax.xml.stream.XMLInputFactory , should return
-     * newInstance of XMLInputFactory
-     */
-    @Test
-    public boolean test31() {
-        try {
-            Bug6756677Test test3 = new Bug6756677Test();
-            ClassLoader cl = (test3.getClass()).getClassLoader();
-            System.setProperty(XMLInputFactoryID, XMLInputFactoryClassName);
-            XMLInputFactory xif = XMLInputFactory.newInstance(XMLInputFactoryID, cl);
-            if (xif instanceof XMLInputFactory) {
-                System.out.println(" test31() passed");
-                return PASSED;
-            } else {
-                System.out.println(" test31() failed");
-                Temp_Result = "test31() failed: xif not an instance of XMLInputFactory ";
-                return FAILED;
-            }
-        } catch (javax.xml.stream.FactoryConfigurationError fce) {
-            System.out.println("Failed : FactoryConfigurationError in test31 " + fce);
-            Temp_Result = "test31() failed ";
-            return FAILED;
-        } catch (Exception e) {
-            System.out.println("Failed : Exception in test31 " + e);
-            Temp_Result = "test31() failed ";
-            return FAILED;
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLInputFactoryTest/Bug6909759Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLInputFactoryTest;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6909759
- * @summary Test createXMLStreamReader with StreamSource.
- */
-public class Bug6909759Test {
-
-
-    @Test
-    public void testCreateXMLStreamReader() {
-
-        try {
-            StreamSource ss = new StreamSource(getClass().getResourceAsStream("play.xml"));
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-            // File file = new File("./tests/XMLStreamReader/sgml.xml");
-            // FileInputStream inputStream = new FileInputStream(file);
-            XMLStreamReader xsr;
-            xsr = xif.createXMLStreamReader(ss);
-
-            while (xsr.hasNext()) {
-                int eventType = xsr.next();
-            }
-
-        } catch (UnsupportedOperationException oe) {
-            Assert.fail("StreamSource should be supported");
-        } catch (XMLStreamException ex) {
-            Assert.fail("fix the test");
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLInputFactoryTest/IssueTracker38.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,88 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLInputFactoryTest;
-
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.transform.Source;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.sax.SAXSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test createXMLEventReader from DOM or SAX source is unsupported.
- */
-public class IssueTracker38 {
-
-    @Test
-    public void testXMLEventReaderFromDOMSource() throws Exception {
-        try {
-                createEventReaderFromSource(new DOMSource());
-            Assert.fail("Expected UnsupportedOperationException not thrown");
-        } catch (UnsupportedOperationException e) {
-        }
-    }
-
-    @Test
-    public void testXMLStreamReaderFromDOMSource() throws Exception {
-        try {
-                createStreamReaderFromSource(new DOMSource());
-            Assert.fail("Expected UnsupportedOperationException not thrown");
-        } catch (UnsupportedOperationException oe) {
-        }
-    }
-
-    @Test
-    public void testXMLEventReaderFromSAXSource() throws Exception {
-        try {
-                createEventReaderFromSource(new SAXSource());
-            Assert.fail("Expected UnsupportedOperationException not thrown");
-        } catch (UnsupportedOperationException e) {
-        }
-    }
-
-    @Test
-    public void testXMLStreamReaderFromSAXSource() throws Exception {
-        try {
-                createStreamReaderFromSource(new SAXSource());
-            Assert.fail("Expected UnsupportedOperationException not thrown");
-        } catch (UnsupportedOperationException oe) {
-        }
-    }
-
-    private void createEventReaderFromSource(Source source) throws Exception {
-        XMLInputFactory xIF = XMLInputFactory.newInstance();
-        xIF.createXMLEventReader(source);
-    }
-
-    private void createStreamReaderFromSource(Source source) throws Exception {
-        XMLInputFactory xIF = XMLInputFactory.newInstance();
-        xIF.createXMLStreamReader(source);
-    }
-
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLInputFactoryTest/MyInputFactory.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,160 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLInputFactoryTest;
-
-import java.io.InputStream;
-import java.io.Reader;
-
-import javax.xml.stream.EventFilter;
-import javax.xml.stream.StreamFilter;
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLReporter;
-import javax.xml.stream.XMLResolver;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.util.XMLEventAllocator;
-import javax.xml.transform.Source;
-
-public class MyInputFactory extends javax.xml.stream.XMLInputFactory {
-
-    @Override
-    public XMLStreamReader createXMLStreamReader(Reader reader) throws XMLStreamException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLStreamReader createXMLStreamReader(Source source) throws XMLStreamException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLStreamReader createXMLStreamReader(InputStream stream) throws XMLStreamException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLStreamReader createXMLStreamReader(InputStream stream, String encoding) throws XMLStreamException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLStreamReader createXMLStreamReader(String systemId, InputStream stream) throws XMLStreamException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLStreamReader createXMLStreamReader(String systemId, Reader reader) throws XMLStreamException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLEventReader createXMLEventReader(Reader reader) throws XMLStreamException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLEventReader createXMLEventReader(String systemId, Reader reader) throws XMLStreamException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLEventReader createXMLEventReader(XMLStreamReader reader) throws XMLStreamException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLEventReader createXMLEventReader(Source source) throws XMLStreamException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLEventReader createXMLEventReader(InputStream stream) throws XMLStreamException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLEventReader createXMLEventReader(InputStream stream, String encoding) throws XMLStreamException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLEventReader createXMLEventReader(String systemId, InputStream stream) throws XMLStreamException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLStreamReader createFilteredReader(XMLStreamReader reader, StreamFilter filter) throws XMLStreamException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLEventReader createFilteredReader(XMLEventReader reader, EventFilter filter) throws XMLStreamException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLResolver getXMLResolver() {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public void setXMLResolver(XMLResolver resolver) {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLReporter getXMLReporter() {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public void setXMLReporter(XMLReporter reporter) {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public void setProperty(String name, Object value) throws IllegalArgumentException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public Object getProperty(String name) throws IllegalArgumentException {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public boolean isPropertySupported(String name) {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public void setEventAllocator(XMLEventAllocator allocator) {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-
-    @Override
-    public XMLEventAllocator getEventAllocator() {
-        throw new UnsupportedOperationException("Not supported yet.");
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLInputFactoryTest/play.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0"?><PLAY><TITLE>
-         The Tragedy of Hamlet
-           Prince of Denmark
-</TITLE>
-</PLAY>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLOutputFactoryTest/Bug6846132Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,85 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLOutputFactoryTest;
-
-import javax.xml.stream.XMLEventWriter;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamWriter;
-import javax.xml.transform.sax.SAXResult;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 6846132
- * @summary Test createXMLStreamWriter with SAXResult won't throw a NullPointerException.
- */
-public class Bug6846132Test {
-
-    @Test
-    public void testSAXResult() {
-        DefaultHandler handler = new DefaultHandler();
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\"?><root></root>";
-        try {
-            SAXResult saxResult = new SAXResult(handler);
-            // saxResult.setSystemId("jaxp-ri/unit-test/javax/xml/stream/XMLOutputFactoryTest/cr6846132.xml");
-            XMLOutputFactory ofac = XMLOutputFactory.newInstance();
-            XMLStreamWriter writer = ofac.createXMLStreamWriter(saxResult);
-            writer.writeStartDocument("1.0");
-            writer.writeStartElement("root");
-            writer.writeEndElement();
-            writer.writeEndDocument();
-            writer.flush();
-            writer.close();
-        } catch (Exception e) {
-            if (e instanceof UnsupportedOperationException) {
-                // expected
-            } else {
-                e.printStackTrace();
-                Assert.fail(e.toString());
-            }
-        }
-    }
-
-    @Test
-    public void testSAXResult1() {
-        DefaultHandler handler = new DefaultHandler();
-
-        try {
-            SAXResult saxResult = new SAXResult(handler);
-            XMLOutputFactory ofac = XMLOutputFactory.newInstance();
-            XMLEventWriter writer = ofac.createXMLEventWriter(saxResult);
-        } catch (Exception e) {
-            if (e instanceof UnsupportedOperationException) {
-                // expected
-            } else {
-                e.printStackTrace();
-                Assert.fail(e.toString());
-            }
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLOutputFactoryTest/DuplicateNSDeclarationTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLOutputFactoryTest;
-
-import java.io.ByteArrayOutputStream;
-
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamWriter;
-import javax.xml.transform.stream.StreamResult;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test the writing of duplicate namespace declarations when IS_REPAIRING_NAMESPACES is ture.
- */
-public class DuplicateNSDeclarationTest {
-
-    @Test
-    public void testDuplicateNSDeclaration() {
-
-        // expect only 1 Namespace Declaration
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<ns1:foo" + " xmlns:ns1=\"http://example.com/\">" + "</ns1:foo>";
-
-        // have XMLOutputFactory repair Namespaces
-        XMLOutputFactory ofac = XMLOutputFactory.newInstance();
-        ofac.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
-
-        // send output to a Stream
-        ByteArrayOutputStream buffer = new ByteArrayOutputStream();
-        StreamResult sr = new StreamResult(buffer);
-        XMLStreamWriter w = null;
-
-        // write a duplicate Namespace Declaration
-        try {
-            w = ofac.createXMLStreamWriter(sr);
-            w.writeStartDocument();
-            w.writeStartElement("ns1", "foo", "http://example.com/");
-            w.writeNamespace("ns1", "http://example.com/");
-            w.writeNamespace("ns1", "http://example.com/");
-            w.writeEndElement();
-            w.writeEndDocument();
-            w.close();
-        } catch (XMLStreamException xmlStreamException) {
-            xmlStreamException.printStackTrace();
-            Assert.fail(xmlStreamException.toString());
-        }
-
-        // debugging output for humans
-        System.out.println();
-        System.out.println("actual:   \"" + buffer.toString() + "\"");
-        System.out.println("expected: \"" + EXPECTED_OUTPUT + "\"");
-
-        // are results as expected?
-        Assert.assertEquals(EXPECTED_OUTPUT, buffer.toString());
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLOutputFactoryTest/StreamResultTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,156 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLOutputFactoryTest;
-
-import java.io.ByteArrayOutputStream;
-
-import javax.xml.stream.XMLEventFactory;
-import javax.xml.stream.XMLEventWriter;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamWriter;
-import javax.xml.transform.stax.StAXResult;
-import javax.xml.transform.stream.StreamResult;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test create XMLWriter with variant Result.
- */
-public class StreamResultTest {
-
-    @Test
-    public void testStreamResult() {
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\"?><root></root>";
-        try {
-            XMLOutputFactory ofac = XMLOutputFactory.newInstance();
-            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
-            StreamResult sr = new StreamResult(buffer);
-            XMLStreamWriter writer = ofac.createXMLStreamWriter(sr);
-            writer.writeStartDocument("1.0");
-            writer.writeStartElement("root");
-            writer.writeEndElement();
-            writer.writeEndDocument();
-            writer.close();
-            Assert.assertEquals(buffer.toString(), EXPECTED_OUTPUT);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-
-    @Test
-    public void testStreamWriterWithStAXResultNStreamWriter() {
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\"?><root></root>";
-
-        try {
-            XMLOutputFactory ofac = XMLOutputFactory.newInstance();
-            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
-            XMLStreamWriter writer = ofac.createXMLStreamWriter(buffer);
-            StAXResult res = new StAXResult(writer);
-            writer = ofac.createXMLStreamWriter(res);
-            writer.writeStartDocument("1.0");
-            writer.writeStartElement("root");
-            writer.writeEndElement();
-            writer.writeEndDocument();
-            writer.close();
-            Assert.assertEquals(buffer.toString(), EXPECTED_OUTPUT);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-
-    @Test
-    public void testEventWriterWithStAXResultNStreamWriter() {
-        String encoding = "";
-        if (System.getProperty("file.encoding").equals("UTF-8")) {
-            encoding = " encoding=\"UTF-8\"";
-        }
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\"" + encoding + "?><root></root>";
-
-        try {
-            XMLOutputFactory ofac = XMLOutputFactory.newInstance();
-            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
-            XMLStreamWriter swriter = ofac.createXMLStreamWriter(buffer);
-            StAXResult res = new StAXResult(swriter);
-            XMLEventWriter writer = ofac.createXMLEventWriter(res);
-
-            XMLEventFactory efac = XMLEventFactory.newInstance();
-            writer.add(efac.createStartDocument(null, "1.0"));
-            writer.add(efac.createStartElement("", "", "root"));
-            writer.add(efac.createEndElement("", "", "root"));
-            writer.add(efac.createEndDocument());
-            writer.close();
-
-            Assert.assertEquals(buffer.toString(), EXPECTED_OUTPUT);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-
-    @Test
-    public void testEventWriterWithStAXResultNEventWriter() {
-        String encoding = "";
-        if (System.getProperty("file.encoding").equals("UTF-8")) {
-            encoding = " encoding=\"UTF-8\"";
-        }
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\"" + encoding + "?><root></root>";
-
-        try {
-            XMLOutputFactory ofac = XMLOutputFactory.newInstance();
-            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
-            XMLEventWriter writer = ofac.createXMLEventWriter(buffer);
-            StAXResult res = new StAXResult(writer);
-            writer = ofac.createXMLEventWriter(res);
-
-            XMLEventFactory efac = XMLEventFactory.newInstance();
-            writer.add(efac.createStartDocument(null, "1.0"));
-            writer.add(efac.createStartElement("", "", "root"));
-            writer.add(efac.createEndElement("", "", "root"));
-            writer.add(efac.createEndDocument());
-            writer.close();
-
-            Assert.assertEquals(buffer.toString(), EXPECTED_OUTPUT);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-
-    @Test
-    public void testStreamWriterWithStAXResultNEventWriter() throws Exception {
-        try {
-            XMLOutputFactory ofac = XMLOutputFactory.newInstance();
-            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
-            XMLEventWriter writer = ofac.createXMLEventWriter(buffer);
-            StAXResult res = new StAXResult(writer);
-            XMLStreamWriter swriter = ofac.createXMLStreamWriter(res);
-            Assert.fail("Expected an Exception as XMLStreamWriter can't be created " + "with a StAXResult which has EventWriter.");
-        } catch (Exception e) {
-            System.out.println(e.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLResolverTest/XMLResolverTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,92 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLResolverTest;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.InputStream;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLResolver;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XMLResolver.
- */
-public class XMLResolverTest {
-
-    @Test
-    public void testXMLResolver() {
-        try {
-            XMLInputFactory xifactory = XMLInputFactory.newInstance();
-            xifactory.setProperty(XMLInputFactory.RESOLVER, new MyStaxResolver());
-            File file = new File(getClass().getResource("XMLResolverTest.xml").getFile());
-            String systemId = file.toURI().toString();
-            InputStream entityxml = new FileInputStream(file);
-            XMLStreamReader streamReader = xifactory.createXMLStreamReader(systemId, entityxml);
-            while (streamReader.hasNext()) {
-                int eventType = streamReader.next();
-                if (eventType == XMLStreamConstants.START_ELEMENT) {
-                    eventType = streamReader.next();
-                    if (eventType == XMLStreamConstants.CHARACTERS) {
-                        String text = streamReader.getText();
-                        Assert.assertTrue(text.contains("replace2"));
-                    }
-                }
-            }
-        } catch (XMLStreamException ex) {
-
-            if (ex.getNestedException() != null) {
-                ex.getNestedException().printStackTrace();
-            }
-            // ex.printStackTrace() ;
-        } catch (Exception io) {
-            io.printStackTrace();
-        }
-    }
-
-    class MyStaxResolver implements XMLResolver {
-
-        public MyStaxResolver() {
-
-        }
-
-        public Object resolveEntity(String publicId, String systemId, String baseURI, String namespace) throws javax.xml.stream.XMLStreamException {
-
-            Object object = null;
-            try {
-                object = new FileInputStream(getClass().getResource("replace2.txt").getFile());
-            } catch (Exception ex) {
-                ex.printStackTrace();
-            }
-            return object;
-        }
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLResolverTest/XMLResolverTest.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-    Document   : XMLResolverTest.xml
-    Created on : April 6, 2004, 3:41 PM
-    Author     : neeraj
-    Description:
-        Purpose of the document follows.
--->
-<!DOCTYPE root [
-    <!ENTITY replace SYSTEM 'replace1.txt'>
-]>
-<root>&replace;</root>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLResolverTest/replace1.txt	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-replace1
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLResolverTest/replace2.txt	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-replace2
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamExceptionTest/ExceptionTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamExceptionTest;
-
-import java.io.IOException;
-
-import javax.xml.stream.XMLStreamException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XMLStreamException contains the message of the wrapped exception.
- */
-public class ExceptionTest {
-
-    @Test
-    public void testException() {
-
-        final String EXPECTED_OUTPUT = "Test XMLStreamException";
-        try {
-            Exception ex = new IOException("Test XMLStreamException");
-            throw new XMLStreamException(ex);
-        } catch (XMLStreamException e) {
-            Assert.assertTrue(e.getMessage().contains(EXPECTED_OUTPUT), "XMLStreamException does not contain the message " + "of the wrapped exception");
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamFilterTest/Bug6481615.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamFilterTest;
-
-import java.io.StringReader;
-
-import javax.xml.stream.StreamFilter;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6481615
- * @summary Test Filtered XMLStreamReader can return the event type if current state is START_ELEMENT.
- */
-public class Bug6481615 {
-
-    static final String XML = "<?xml version=\"1.0\"?>" + "<S:Envelope foo=\"bar\" xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\"></S:Envelope>";
-
-    private XMLInputFactory factory = XMLInputFactory.newInstance();
-
-    @Test
-    public void test() {
-        try {
-            XMLStreamReader reader = factory.createXMLStreamReader(new StringReader(XML));
-            reader.next(); // advance to START_ELEMENT
-            XMLStreamReader filter = factory.createFilteredReader(reader, new Filter());
-            Assert.assertTrue(filter.getEventType() != -1);
-        } catch (Exception e) {
-            e.printStackTrace();
-            // Assert.fail("Unexpected Exception: " + e.getMessage());
-        }
-    }
-
-    class Filter implements StreamFilter {
-
-        public boolean accept(XMLStreamReader reader) {
-            return true;
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamFilterTest/Bug6481678.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,221 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamFilterTest;
-
-import java.io.InputStream;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-import javax.xml.stream.EventFilter;
-import javax.xml.stream.StreamFilter;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.events.XMLEvent;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6481678
- * @summary Test Filtered XMLStreamReader parses namespace correctly.
- */
-public class Bug6481678 {
-
-    String rootElement = "fruits";
-    String childElement = "varieties";
-    String prefixApple = "a";
-    String namespaceURIApple = "apple.fruit";
-    String prefixOrange = "o";
-    String namespaceURIOrange = "orange.fruit";
-    String namespaceURIBanana = "banana.fruit";
-
-    TypeFilter filter;
-    XMLInputFactory factory;
-    InputStream is;
-
-    /** Creates a new instance of NamespaceTest */
-    public Bug6481678(java.lang.String testName) {
-        init();
-    }
-
-    private void init() {
-        factory = XMLInputFactory.newInstance();
-        factory.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
-        filter = createFilter();
-    }
-
-    String getXML() {
-        StringBuffer sbuffer = new StringBuffer();
-        sbuffer.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
-        sbuffer.append("<" + rootElement + " state=\"WA\"");
-        sbuffer.append(" xmlns:" + prefixApple + "=\"" + namespaceURIApple + "\"");
-        sbuffer.append(" xmlns:" + prefixOrange + "=\"" + namespaceURIOrange + "\"");
-        sbuffer.append(" xmlns=\"" + namespaceURIBanana + "\">");
-        sbuffer.append("<" + prefixApple + ":" + childElement + ">");
-        sbuffer.append("<" + prefixApple + ":fuji/>");
-        sbuffer.append("<" + prefixApple + ":gala/>");
-        sbuffer.append("</" + prefixApple + ":" + childElement + ">");
-        sbuffer.append("</" + rootElement + ">");
-        // System.out.println("XML = " + sbuffer.toString()) ;
-        return sbuffer.toString();
-    }
-
-    public TypeFilter createFilter() {
-
-        TypeFilter f = new TypeFilter();
-
-        f.addType(XMLEvent.START_ELEMENT);
-        f.addType(XMLEvent.END_ELEMENT);
-        f.addType(XMLEvent.PROCESSING_INSTRUCTION);
-        f.addType(XMLEvent.CHARACTERS);
-        f.addType(XMLEvent.COMMENT);
-        f.addType(XMLEvent.SPACE);
-        f.addType(XMLEvent.START_DOCUMENT);
-        f.addType(XMLEvent.END_DOCUMENT);
-        return f;
-    }
-
-    /*
-     * testcase for cr6481678 in our current impl (using cache), the reader
-     * would read from cache when getters are called before next() is. refter to
-     * testRootElementNamespace.
-     */
-    @Test
-    public void testReadingNamespace() {
-        is = new java.io.ByteArrayInputStream(getXML().getBytes());
-        try {
-            XMLStreamReader sr = factory.createFilteredReader(factory.createXMLStreamReader(is), (StreamFilter) filter);
-
-            while (sr.hasNext()) {
-                int eventType = sr.getEventType();
-                if (eventType == XMLStreamConstants.START_ELEMENT) {
-                    if (sr.getLocalName().equals(rootElement)) {
-                        Assert.assertTrue(sr.getNamespacePrefix(0).equals(prefixApple) && sr.getNamespaceURI(0).equals(namespaceURIApple));
-                    }
-                }
-                eventType = sr.next();
-            }
-        } catch (Exception ex) {
-            Assert.fail("Exception: " + ex.getMessage());
-        }
-    }
-
-    @Test
-    public void testRootElementNamespace() {
-        is = new java.io.ByteArrayInputStream(getXML().getBytes());
-        try {
-            XMLStreamReader sr = factory.createFilteredReader(factory.createXMLStreamReader(is), (StreamFilter) filter);
-
-            while (sr.hasNext()) {
-                int eventType = sr.next();
-                if (eventType == XMLStreamConstants.START_ELEMENT) {
-                    if (sr.getLocalName().equals(rootElement)) {
-                        Assert.assertTrue(sr.getNamespacePrefix(0).equals(prefixApple) && sr.getNamespaceURI(0).equals(namespaceURIApple));
-                    }
-                }
-            }
-        } catch (Exception ex) {
-            Assert.fail("Exception: " + ex.getMessage());
-        }
-    }
-
-    @Test
-    public void testChildElementNamespace() {
-        is = new java.io.ByteArrayInputStream(getXML().getBytes());
-        try {
-            XMLStreamReader sr = factory.createFilteredReader(factory.createXMLStreamReader(is), (StreamFilter) filter);
-            while (sr.hasNext()) {
-                int eventType = sr.next();
-                if (eventType == XMLStreamConstants.START_ELEMENT) {
-                    if (sr.getLocalName().equals(childElement)) {
-                        QName qname = sr.getName();
-                        Assert.assertTrue(qname.getPrefix().equals(prefixApple) && qname.getNamespaceURI().equals(namespaceURIApple)
-                                && qname.getLocalPart().equals(childElement));
-                    }
-                }
-            }
-        } catch (Exception ex) {
-            Assert.fail("Exception: " + ex.getMessage());
-        }
-    }
-
-    @Test
-    public void testNamespaceContext() {
-        is = new java.io.ByteArrayInputStream(getXML().getBytes());
-        try {
-            XMLStreamReader sr = factory.createFilteredReader(factory.createXMLStreamReader(is), (StreamFilter) filter);
-            while (sr.hasNext()) {
-                int eventType = sr.next();
-                if (eventType == XMLStreamConstants.START_ELEMENT) {
-                    if (sr.getLocalName().equals(childElement)) {
-                        NamespaceContext context = sr.getNamespaceContext();
-                        Assert.assertTrue(context.getPrefix(namespaceURIApple).equals(prefixApple));
-                    }
-                }
-            }
-        } catch (Exception ex) {
-            Assert.fail("Exception: " + ex.getMessage());
-        }
-    }
-
-    @Test
-    public void testNamespaceCount() {
-        is = new java.io.ByteArrayInputStream(getXML().getBytes());
-        try {
-            XMLStreamReader sr = factory.createFilteredReader(factory.createXMLStreamReader(is), (StreamFilter) filter);
-            while (sr.hasNext()) {
-                int eventType = sr.next();
-                if (eventType == XMLStreamConstants.START_ELEMENT) {
-                    if (sr.getLocalName().equals(rootElement)) {
-                        int count = sr.getNamespaceCount();
-                        Assert.assertTrue(count == 3);
-                    }
-                }
-            }
-        } catch (Exception ex) {
-            Assert.fail("Exception: " + ex.getMessage());
-        }
-    }
-
-    class TypeFilter implements EventFilter, StreamFilter {
-
-        protected boolean[] types = new boolean[20];
-
-        public TypeFilter() {
-        }
-
-        public void addType(int type) {
-            types[type] = true;
-        }
-
-        public boolean accept(XMLEvent e) {
-            return types[e.getEventType()];
-        }
-
-        public boolean accept(XMLStreamReader r) {
-            return types[r.getEventType()];
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamFilterTest/HasNextTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,141 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamFilterTest;
-
-import javax.xml.stream.StreamFilter;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.events.XMLEvent;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test Filtered XMLStreamReader hasNext() always return the correct value if repeat to call it.
- */
-public class HasNextTest {
-
-    private static String INPUT_FILE = "HasNextTest.xml";
-
-    private HasNextTypeFilter createFilter() {
-
-        HasNextTypeFilter f = new HasNextTypeFilter();
-
-        f.addType(XMLEvent.START_ELEMENT);
-        f.addType(XMLEvent.END_ELEMENT);
-        f.addType(XMLEvent.PROCESSING_INSTRUCTION);
-        f.addType(XMLEvent.CHARACTERS);
-        f.addType(XMLEvent.COMMENT);
-        f.addType(XMLEvent.SPACE);
-        f.addType(XMLEvent.START_DOCUMENT);
-        f.addType(XMLEvent.END_DOCUMENT);
-        return f;
-    }
-
-    private XMLStreamReader createStreamReader(HasNextTypeFilter f) {
-
-        try {
-            XMLInputFactory factory = XMLInputFactory.newInstance();
-            factory = XMLInputFactory.newInstance();
-            return factory.createFilteredReader(factory.createXMLStreamReader(this.getClass().getResourceAsStream(INPUT_FILE)), (StreamFilter) f);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Unexpected Exception: " + e.getMessage());
-            return null;
-        }
-    }
-
-    private void checkHasNext(XMLStreamReader r1) throws XMLStreamException {
-
-        // try asking 3 times, insure all results are the same
-        boolean hasNext_1 = r1.hasNext();
-        boolean hasNext_2 = r1.hasNext();
-        boolean hasNext_3 = r1.hasNext();
-
-        System.out.println("XMLStreamReader.hasNext() (1): " + hasNext_1);
-        System.out.println("XMLStreamReader.hasNext() (2): " + hasNext_2);
-        System.out.println("XMLStreamReader.hasNext() (3): " + hasNext_3);
-
-        Assert.assertTrue((hasNext_1 == hasNext_2) && (hasNext_1 == hasNext_3),
-                "XMLStreamReader.hasNext() returns inconsistent values for each subsequent call: " + hasNext_1 + ", " + hasNext_2 + ", " + hasNext_3);
-    }
-
-    @Test
-    public void testFilterUsingNextTag() {
-
-        try {
-            HasNextTypeFilter f = createFilter();
-            XMLStreamReader r1 = createStreamReader(f);
-
-            while (r1.hasNext()) {
-                try {
-                    r1.nextTag();
-                } catch (Exception e) {
-                    System.err.println("Expected Exception: " + e.getMessage());
-                    e.printStackTrace();
-                }
-
-                checkHasNext(r1);
-            }
-
-        } catch (XMLStreamException e) {
-            System.err.println("Unexpected Exception: " + e.getMessage());
-            e.printStackTrace();
-            Assert.fail("Unexpected Exception: " + e.toString());
-        } catch (Exception e) {
-            // if this is END_DOCUMENT, it is expected
-            if (e.toString().indexOf("END_DOCUMENT") != -1) {
-                // expected
-                System.err.println("Expected Exception:");
-                e.printStackTrace();
-            } else {
-                // unexpected
-                System.err.println("Unexpected Exception: " + e.getMessage());
-                e.printStackTrace();
-                Assert.fail("Unexpected Exception: " + e.toString());
-            }
-        }
-    }
-
-    @Test
-    public void testFilterUsingNext() {
-
-        try {
-            HasNextTypeFilter f = createFilter();
-            XMLStreamReader r1 = createStreamReader(f);
-
-            while (r1.hasNext()) {
-                r1.next();
-                checkHasNext(r1);
-            }
-
-        } catch (Exception e) {
-            // unexpected
-            System.err.println("Unexpected Exception: " + e.getMessage());
-            e.printStackTrace();
-            Assert.fail("Unexpected Exception: " + e.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamFilterTest/HasNextTest.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?><!-- DTD for a "product information". --><mytext>
-this is some text
-</mytext><!--
-<product
-    name="BEA Weblogic Server 6.0"
-    date="Date of Release 12/18/2000"
-    copyrite="2000-2001 BEA Systems, Inc." />
---><?process me?>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamFilterTest/HasNextTypeFilter.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamFilterTest;
-
-import javax.xml.stream.EventFilter;
-import javax.xml.stream.StreamFilter;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.events.XMLEvent;
-
-public class HasNextTypeFilter implements EventFilter, StreamFilter {
-
-    protected boolean[] types = new boolean[20];
-
-    public HasNextTypeFilter() {
-    }
-
-    public void addType(int type) {
-        types[type] = true;
-    }
-
-    public boolean accept(XMLEvent e) {
-        return types[e.getEventType()];
-    }
-
-    public boolean accept(XMLStreamReader r) {
-        return types[r.getEventType()];
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/BOMTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6218794
- * @summary Test XMLStreamReader parses BOM UTF-8 and BOM UTF-16 big endian stream.
- */
-public class BOMTest {
-    // UTF-8 BOM test file
-    private static final String INPUT_FILE1 = "UTF8-BOM.xml.data";
-    // UTF-16 Big Endian test file
-    private static final String INPUT_FILE2 = "UTF16-BE.wsdl.data";
-
-    @Test
-    public void testBOM() {
-        XMLInputFactory ifac = XMLInputFactory.newInstance();
-        try {
-            XMLStreamReader re = ifac.createXMLStreamReader(this.getClass().getResource(INPUT_FILE1).toExternalForm(),
-                        util.BOMInputStream.createStream("UTF-8", this.getClass().getResourceAsStream(INPUT_FILE1)));
-            while (re.hasNext()) {
-                int event = re.next();
-            }
-            XMLStreamReader re2 = ifac.createXMLStreamReader(this.getClass().getResource(INPUT_FILE2).toExternalForm(),
-                        util.BOMInputStream.createStream("UTF-16BE", this.getClass().getResourceAsStream(INPUT_FILE2)));
-            while (re2.hasNext()) {
-
-                int event = re2.next();
-
-            }
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Bug6388460.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,72 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.transform.Source;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-
-/*
- * @bug 6388460
- * @summary Test StAX parser can parse UTF-16 wsdl.
- */
-public class Bug6388460 {
-
-    @Test
-    public void test() {
-        try {
-
-            Source source = new StreamSource(util.BOMInputStream.createStream("UTF-16BE", this.getClass().getResourceAsStream("Hello.wsdl.data")),
-                        this.getClass().getResource("Hello.wsdl.data").toExternalForm());
-            ByteArrayOutputStream baos = new ByteArrayOutputStream();
-            TransformerFactory factory = TransformerFactory.newInstance();
-            Transformer transformer = factory.newTransformer();
-            transformer.transform(source, new StreamResult(baos));
-            System.out.println(new String(baos.toByteArray()));
-            ByteArrayInputStream bis = new ByteArrayInputStream(baos.toByteArray());
-            InputSource inSource = new InputSource(bis);
-
-            XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance();
-            xmlInputFactory.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
-            XMLStreamReader reader = xmlInputFactory.createXMLStreamReader(inSource.getSystemId(), inSource.getByteStream());
-            while (reader.hasNext()) {
-                reader.next();
-            }
-        } catch (Exception ex) {
-            ex.printStackTrace(System.err);
-            Assert.fail("Exception occured: " + ex.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Bug6472982Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import java.io.InputStream;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6472982
- * @summary Test XMLStreamReader.getNamespaceContext().getPrefix("") won't throw IllegalArgumentException.
- */
-public class Bug6472982Test {
-    String namespaceURI = "foobar.com";
-    String rootElement = "foo";
-    String childElement = "foochild";
-    String prefix = "a";
-
-    @Test
-    public void testNamespaceContext() {
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-            xif.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
-            InputStream is = new java.io.ByteArrayInputStream(getXML().getBytes());
-            XMLStreamReader sr = xif.createXMLStreamReader(is);
-            NamespaceContext context = sr.getNamespaceContext();
-            Assert.assertTrue(context.getPrefix("") == null);
-
-        } catch (IllegalArgumentException iae) {
-            Assert.fail("NamespacePrefix#getPrefix() should not throw an IllegalArgumentException for empty uri. ");
-        } catch (Exception ex) {
-            ex.printStackTrace();
-        }
-    }
-
-    String getXML() {
-        StringBuffer sbuffer = new StringBuffer();
-        sbuffer.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
-        sbuffer.append("<" + rootElement + " xmlns:");
-        sbuffer.append(prefix);
-        sbuffer.append("=\"" + namespaceURI + "\">");
-        sbuffer.append("<" + prefix + ":" + childElement + ">");
-        sbuffer.append("blahblah");
-        sbuffer.append("</" + prefix + ":" + childElement + ">");
-        sbuffer.append("</" + rootElement + ">");
-        // System.out.println("XML = " + sbuffer.toString()) ;
-        return sbuffer.toString();
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Bug6767322.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<IsValidating>
-    Hello World!
-</IsValidating>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Bug6767322Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,72 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import java.io.ByteArrayInputStream;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6767322
- * @summary Test XMLStreamReader.getVersion() returns null if a version isn't declared.
- */
-public class Bug6767322Test {
-    private static final String INPUT_FILE = "Bug6767322.xml";
-
-    @Test
-    public void testVersionSet() {
-        try {
-            XMLStreamReader r = XMLInputFactory.newInstance().createXMLStreamReader(this.getClass().getResource(INPUT_FILE).toExternalForm(),
-                    this.getClass().getResourceAsStream(INPUT_FILE));
-
-            String version = r.getVersion();
-            System.out.println("Bug6767322.xml: " + version);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testVersionNotSet() {
-        try {
-            String xmlText = "Version not declared";
-            XMLStreamReader r = XMLInputFactory.newInstance().createXMLStreamReader(new ByteArrayInputStream(xmlText.getBytes()));
-            String version = r.getVersion();
-            System.out.println("Version for text \"" + xmlText + "\": " + version);
-            if (version != null) {
-                Assert.fail("getVersion should return null");
-            }
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Bug6847819Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import org.testng.annotations.Test;
-import org.testng.Assert;
-import java.io.StringReader;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamException;
-
-/*
- * @bug 6847819
- * @summary Test StAX parser shall throw XMLStreamException for illegal xml declaration.
- */
-public class Bug6847819Test {
-
-    @Test
-    public void testIllegalDecl() throws XMLStreamException {
-        String xml = "<?xml ?><root>abc]]>xyz</root>";
-        String msg = "illegal declaration";
-        try {
-            XMLInputFactory inputFactory = XMLInputFactory.newInstance();
-            inputFactory.createXMLStreamReader(new StringReader(xml));
-            Assert.fail("Expected an exception for " + msg);
-        } catch (XMLStreamException ex) { // good
-            System.out.println("Expected failure: '" + ex.getMessage() + "' " + "(matching message: '" + msg + "')");
-        } catch (Exception ex2) { // ok; iff links to XMLStreamException
-            Throwable t = ex2;
-            while (t.getCause() != null && !(t instanceof XMLStreamException)) {
-                t = t.getCause();
-            }
-            if (t instanceof XMLStreamException) {
-                System.out.println("Expected failure: '" + ex2.getMessage() + "' " + "(matching message: '" + msg + "')");
-            }
-            if (t == ex2) {
-                Assert.fail("Expected an XMLStreamException (either direct, or getCause() of a primary exception) for " + msg + ", got: " + ex2);
-            }
-            Assert.fail("Expected an XMLStreamException (either direct, or getCause() of a primary exception) for " + msg + ", got: " + ex2 + " (root: " + t + ")");
-        }
-
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/BugTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import java.io.StringReader;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test StAX parser can parse xml without declaration.
- */
-public class BugTest {
-
-    @Test
-    public static void test1() throws Exception {
-        XMLInputFactory xif = XMLInputFactory.newInstance(); // new
-                                                             // com.sun.xml.stream.ZephyrParserFactory();
-        XMLStreamReader r = xif.createXMLStreamReader(new StringReader("<foo/>"));
-        Assert.assertEquals(XMLStreamConstants.START_DOCUMENT, r.getEventType());
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/DefaultAttributeTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,104 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import java.util.Iterator;
-
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.events.StartElement;
-import javax.xml.stream.events.XMLEvent;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test StAX parses namespace and attribute.
- */
-public class DefaultAttributeTest {
-
-    private static final String INPUT_FILE = "ExternalDTD.xml";
-
-    @Test
-    public void testStreamReader() {
-        XMLInputFactory ifac = XMLInputFactory.newInstance();
-        XMLOutputFactory ofac = XMLOutputFactory.newInstance();
-
-        try {
-            ifac.setProperty(ifac.IS_REPLACING_ENTITY_REFERENCES, new Boolean(false));
-
-            XMLStreamReader re = ifac.createXMLStreamReader(this.getClass().getResource(INPUT_FILE).toExternalForm(),
-                    this.getClass().getResourceAsStream(INPUT_FILE));
-
-            while (re.hasNext()) {
-                int event = re.next();
-                if (event == XMLStreamConstants.START_ELEMENT && re.getLocalName().equals("bookurn")) {
-                    Assert.assertTrue(re.getAttributeCount() == 0, "No attributes are expected for <bookurn> ");
-                    Assert.assertTrue(re.getNamespaceCount() == 2, "Two namespaces are expected for <bookurn> ");
-                }
-            }
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testEventReader() {
-        try {
-            XMLInputFactory ifac = XMLInputFactory.newInstance();
-            XMLEventReader read = ifac.createXMLEventReader(this.getClass().getResource(INPUT_FILE).toExternalForm(),
-                    this.getClass().getResourceAsStream(INPUT_FILE));
-            while (read.hasNext()) {
-                XMLEvent event = read.nextEvent();
-                if (event.isStartElement()) {
-                    StartElement startElement = event.asStartElement();
-                    if (startElement.getName().getLocalPart().equals("bookurn")) {
-                        Iterator iterator = startElement.getNamespaces();
-                        int count = 0;
-                        while (iterator.hasNext()) {
-                            iterator.next();
-                            count++;
-                        }
-                        Assert.assertTrue(count == 2, "Two namespaces are expected for <bookurn> ");
-
-                        Iterator attributes = startElement.getAttributes();
-                        count = 0;
-                        while (attributes.hasNext()) {
-                            iterator.next();
-                            count++;
-                        }
-                        Assert.assertTrue(count == 0, "Zero attributes are expected for <bookurn> ");
-                    }
-                }
-            }
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/DoubleXmlnsTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,114 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import java.io.StringReader;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test double namespaces and nested namespaces.
- */
-public class DoubleXmlnsTest {
-
-    @Test
-    public void testDoubleNS() throws Exception {
-
-        final String INVALID_XML = "<foo xmlns:xmli='http://www.w3.org/XML/1998/namespacei' xmlns:xmli='http://www.w3.org/XML/1998/namespacei' />";
-
-        try {
-            XMLStreamReader xsr = XMLInputFactory.newInstance().createXMLStreamReader(new StringReader(INVALID_XML));
-
-            while (xsr.hasNext()) {
-                xsr.next();
-            }
-
-            Assert.fail("Wellformedness error expected: " + INVALID_XML);
-        } catch (XMLStreamException e) {
-            ; // this is expected
-        }
-    }
-
-    @Test
-    public void testNestedNS() throws Exception {
-
-        final String VALID_XML = "<foo xmlns:xmli='http://www.w3.org/XML/1998/namespacei'><bar xmlns:xmli='http://www.w3.org/XML/1998/namespaceii'></bar></foo>";
-
-        try {
-            XMLStreamReader xsr = XMLInputFactory.newInstance().createXMLStreamReader(new StringReader(VALID_XML));
-
-            while (xsr.hasNext()) {
-                xsr.next();
-            }
-
-            // expected success
-        } catch (XMLStreamException e) {
-            e.printStackTrace();
-
-            Assert.fail("Wellformedness error is not expected: " + VALID_XML + ", " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testDoubleXmlns() throws Exception {
-
-        final String INVALID_XML = "<foo xmlns:xml='http://www.w3.org/XML/1998/namespace' xmlns:xml='http://www.w3.org/XML/1998/namespace' ></foo>";
-
-        try {
-            XMLStreamReader xsr = XMLInputFactory.newInstance().createXMLStreamReader(new StringReader(INVALID_XML));
-
-            while (xsr.hasNext()) {
-                xsr.next();
-            }
-
-            Assert.fail("Wellformedness error expected :" + INVALID_XML);
-        } catch (XMLStreamException e) {
-            ; // this is expected
-        }
-    }
-
-    @Test
-    public void testNestedXmlns() throws Exception {
-
-        final String VALID_XML = "<foo xmlns:xml='http://www.w3.org/XML/1998/namespace'><bar xmlns:xml='http://www.w3.org/XML/1998/namespace'></bar></foo>";
-
-        try {
-            XMLStreamReader xsr = XMLInputFactory.newInstance().createXMLStreamReader(new StringReader(VALID_XML));
-
-            while (xsr.hasNext()) {
-                xsr.next();
-            }
-
-            // expected success
-        } catch (XMLStreamException e) {
-            e.printStackTrace();
-            Assert.fail("Wellformedness error is not expected: " + VALID_XML + ", " + e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/ExternalDTD.dtd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-<!ELEMENT document ANY>
-<!ELEMENT title (#PCDATA)>
-<!ELEMENT publisher (#PCDATA)>
-<!ELEMENT book (#PCDATA)>
-<!ELEMENT bookurn (#PCDATA)>
-<!ELEMENT xmlns:pages (#PCDATA)>
-<!ATTLIST book price CDATA "$100">
-<!ATTLIST book author CDATA "Herold">
-<!ATTLIST book number ID #REQUIRED>
-<!ATTLIST bookurn xmlns CDATA "10">
-<!ATTLIST bookurn xmlns:isbn CDATA "10">
-<!ENTITY mkm "I am Krishna">
-<!ENTITY km "I am KrishnaMohan">
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/ExternalDTD.dtd.bak	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-<!ELEMENT document ANY>
-<!ELEMENT title (#PCDATA)>
-<!ELEMENT publisher (#PCDATA)>
-<!ELEMENT book (#PCDATA)>
-<!ELEMENT bookurn (#PCDATA)>
-<!ELEMENT xmlns:pages (#PCDATA)>
-<!ATTLIST book price CDATA "$100">
-<!ATTLIST book author CDATA "Herold">
-<!ATTLIST book number ID #REQUIRED>
-<!ATTLIST bookurn xmlns CDATA "10">
-<!ATTLIST bookurn xmlns:isbn CDATA "10">
-<!ENTITY mkm "I am Krishna">
-<!ENTITY km "I am KrishnaMohan">
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/ExternalDTD.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding ="utf-8"?>
-<!DOCTYPE document SYSTEM "ExternalDTD.dtd" [
-<!ENTITY max "Substituted text">
-]>
-<!-- ExternalDTD throws a Negative array size Exception when 
-trying to parse with the above DTD reference AND an entity declaration-->
-<document>
-	<title>The Publishers </title>
-	<publisher>        
-	Alfred Publishing
-	15535 Morrison
-	South Oaks CA 91403
-        &max;
-	</publisher>
-	<book price="$100" author = "Herold" number = "no_11">eXtensible Markup Language</book>
-  	<bookurn xmlns='urn:loc.gov:books' xmlns:isbn='urn:ISBN:0-395-36341-6'/> 
-        <pb/>
-	<pages />
-</document>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/ExternalDTD.xml.bak	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding ="utf-8"?>
-<!DOCTYPE document SYSTEM "ExternalDTD.dtd" [
-<!ENTITY max "Substituted text">
-]>
-<!-- ExternalDTD throws a Negative array size Exception when 
-trying to parse with the above DTD reference AND an entity declaration-->
-<document>
-	<title>The Publishers </title>
-	<publisher>        
-	Alfred Publishing
-	15535 Morrison
-	South Oaks CA 91403
-        &max;
-	</publisher>
-	<book price="$100" author = "Herold" number = "no_11">eXtensible Markup Language</book>
-  	<bookurn xmlns='urn:loc.gov:books' xmlns:isbn='urn:ISBN:0-395-36341-6'/> 
-        <pb/>
-	<pages />
-</document>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Hello.wsdl.data	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-16"?>
-<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-	xmlns:tns="http://www.example.org/Hello/"
-	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-	xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Hello"
-	targetNamespace="http://www.example.org/Hello/">
-	
-	<wsdl:message name="SayHelloResponse">
-		<wsdl:part name="SayHelloResponse" type="xsd:string" />
-	</wsdl:message>
-	<wsdl:message name="SayHelloRequest">
-		<wsdl:part name="SayHelloRequest" type="xsd:string" />
-	</wsdl:message>
-	<wsdl:portType name="Hello">
-		<wsdl:operation name="SayHello">
-			<wsdl:input message="tns:SayHelloRequest" />
-			<wsdl:output message="tns:SayHelloResponse" />
-		</wsdl:operation>
-	</wsdl:portType>
-	
-	<wsdl:binding name="HelloSOAP" type="tns:Hello">
-		<soap:binding style="rpc"
-			transport="http://schemas.xmlsoap.org/soap/http" />
-		<wsdl:operation name="SayHello">
-			<soap:operation
-				soapAction="http://www.example.org/Hello/SayHello" />
-			<wsdl:input>
-				<soap:body namespace="http://www.example.org/Hello/"
-					parts="SayHelloRequest" use="literal" />
-			</wsdl:input>
-			<wsdl:output>
-				<soap:body namespace="http://www.example.org/Hello/"
-					parts="SayHelloResponse" use="literal" />
-			</wsdl:output>
-		</wsdl:operation>
-	</wsdl:binding>
-	<wsdl:service name="Hello">
-		<wsdl:port binding="tns:HelloSOAP" name="HelloSOAP">
-			<soap:address location="http://www.example.org/" />
-		</wsdl:port>
-	</wsdl:service>
-</wsdl:definitions>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IsValidatingTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,161 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.events.XMLEvent;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6440324
- * @summary Test StAX can accept non-existent DTD if IS_VALIDATING if false.
- */
-public class IsValidatingTest {
-
-    /**
-     * File with non-existent DTD.
-     */
-    private static final String INPUT_FILE = "IsValidatingTest.xml";
-    /**
-     * File with internal subset and non-existent DTD.
-     */
-    private static final String INPUT_FILE_INTERNAL_SUBSET = "IsValidatingTestInternalSubset.xml";
-
-    /**
-     * Test StAX with IS_VALIDATING = false and a non-existent DTD.
-     * Test should pass.
-     *
-     * Try to parse an XML file that references a a non-existent DTD.
-     * Desired behavior:
-     *     If IS_VALIDATING == false, then continue processing.
-     *
-     * Note that an attempt is made to read the DTD even if IS_VALIDATING == false.
-     * This is not required for DTD validation, but for entity resolution.
-     * The XML specification allows the optional reading of an external DTD
-     * even for non-validating processors.
-     *
-     */
-    @Test
-    public void testStAXIsValidatingFalse() {
-
-        XMLStreamReader reader = null;
-        Boolean isValidating = null;
-        String propertyValues = null;
-        boolean dtdEventOccured = false;
-
-        XMLInputFactory xif = XMLInputFactory.newInstance();
-        xif.setProperty(XMLInputFactory.IS_VALIDATING, Boolean.FALSE);
-
-        try {
-            reader = xif.createXMLStreamReader(this.getClass().getResource(INPUT_FILE).toExternalForm(), this.getClass().getResourceAsStream(INPUT_FILE));
-
-            isValidating = (Boolean) reader.getProperty(XMLInputFactory.IS_VALIDATING);
-            propertyValues = "IS_VALIDATING=" + isValidating;
-
-            while (reader.hasNext()) {
-                int e = reader.next();
-                if (e == XMLEvent.DTD) {
-                    dtdEventOccured = true;
-                    System.out.println("testStAXIsValidatingFalse(): " + "reader.getText() with Event == DTD: " + reader.getText());
-                }
-            }
-
-            // expected success
-
-            // should have see DTD Event
-            if (!dtdEventOccured) {
-                Assert.fail("Unexpected failure: did not see DTD event");
-            }
-        } catch (Exception e) {
-            // unexpected failure
-            System.err.println("Exception with reader.getEventType(): " + reader.getEventType());
-            e.printStackTrace();
-            Assert.fail("Unexpected failure with " + propertyValues + ", " + e.toString());
-        }
-    }
-
-    /**
-     * Test StAX with IS_VALIDATING = false, an internal subset and a
-     * non-existent DTD.
-     *
-     * Test should pass.
-     */
-    @Test
-    public void testStAXIsValidatingFalseInternalSubset() {
-
-        XMLStreamReader reader = null;
-        Boolean isValidating = null;
-        String propertyValues = null;
-        boolean dtdEventOccured = false;
-        boolean entityReferenceEventOccured = false;
-
-        XMLInputFactory xif = XMLInputFactory.newInstance();
-        xif.setProperty(XMLInputFactory.IS_VALIDATING, Boolean.FALSE);
-        xif.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, Boolean.FALSE);
-
-        try {
-            reader = xif.createXMLStreamReader(this.getClass().getResource(INPUT_FILE).toExternalForm(),
-                    this.getClass().getResourceAsStream(INPUT_FILE_INTERNAL_SUBSET));
-
-            isValidating = (Boolean) reader.getProperty(XMLInputFactory.IS_VALIDATING);
-            propertyValues = "IS_VALIDATING=" + isValidating;
-
-            while (reader.hasNext()) {
-                int e = reader.next();
-                if (e == XMLEvent.DTD) {
-                    dtdEventOccured = true;
-                    System.out.println("testStAXIsValidatingFalseInternalSubset(): " + "reader.getText() with Event == DTD: " + reader.getText());
-                } else if (e == XMLEvent.ENTITY_REFERENCE) {
-                    // expected ENTITY_REFERENCE values?
-                    if (reader.getLocalName().equals("foo") && reader.getText().equals("bar")) {
-                        entityReferenceEventOccured = true;
-                    }
-
-                    System.out.println("testStAXIsValidatingFalseInternalSubset(): " + "reader.get(LocalName, Text)() with Event " + " == ENTITY_REFERENCE: "
-                            + reader.getLocalName() + " = " + reader.getText());
-                }
-            }
-
-            // expected success
-
-            // should have see DTD Event
-            if (!dtdEventOccured) {
-                Assert.fail("Unexpected failure: did not see DTD event");
-            }
-
-            // should have seen an ENITY_REFERENCE Event
-            if (!entityReferenceEventOccured) {
-                Assert.fail("Unexpected failure: did not see ENTITY_REFERENCE event");
-            }
-        } catch (Exception e) {
-            // unexpected failure
-            System.err.println("Exception with reader.getEventType(): " + reader.getEventType());
-            e.printStackTrace();
-            Assert.fail("Unexpected failure with " + propertyValues + ", " + e.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IsValidatingTest.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-/*
- * Copyright (c) 2014, 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.
- */
--->
-
-<!DOCTYPE IsValidating SYSTEM 'IsValidating.dtd'>
-<IsValidating>
-    Hello World!
-</IsValidating>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IsValidatingTestInternalSubset.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-/*
- * Copyright (c) 2014, 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.
- */
--->
-
-<!DOCTYPE IsValidating SYSTEM 'IsValidating.dtd' [
-    <!ENTITY foo "bar">
-]>
-<IsValidating>
-    Hello &foo; World!
-</IsValidating>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Issue44Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6631262
- * @summary Test XMLStreamReader.getName() shall throw IllegalStateException if current event is not start/end element.
- */
-public class Issue44Test {
-
-    @Test
-    public void testStartElement() {
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-            // File file = new File("./tests/XMLStreamReader/sgml.xml");
-            // FileInputStream inputStream = new FileInputStream(file);
-            XMLStreamReader xsr = xif.createXMLStreamReader(this.getClass().getResourceAsStream("sgml.xml"));
-
-            xsr.getName();
-        } catch (IllegalStateException ise) {
-            // expected
-            System.out.println(ise.getMessage());
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Issue47Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,85 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import java.io.StringReader;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.AssertJUnit;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6631265
- * @summary Test XMLStreamReader.standaloneSet() presents if input document has a value for "standalone" attribute in xml declaration.
- */
-public class Issue47Test {
-
-    @Test
-    public void testStandaloneSet() {
-        final String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><prefix:root xmlns=\"\" xmlns:null=\"\"></prefix:root>";
-
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-            XMLStreamReader r = xif.createXMLStreamReader(new StringReader(xml));
-            Assert.assertTrue(!r.standaloneSet() && !r.isStandalone());
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testStandaloneSet1() {
-        final String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><prefix:root xmlns=\"\" xmlns:null=\"\"></prefix:root>";
-
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-            XMLStreamReader r = xif.createXMLStreamReader(new StringReader(xml));
-            Assert.assertTrue(r.standaloneSet() && !r.isStandalone());
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testStandaloneSet2() {
-        final String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><prefix:root xmlns=\"\" xmlns:null=\"\"></prefix:root>";
-
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-            XMLStreamReader r = xif.createXMLStreamReader(new StringReader(xml));
-            AssertJUnit.assertTrue(r.standaloneSet() && r.isStandalone());
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IssueTracker24.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import java.io.StringReader;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test no prefix is represented by "", not null.
- */
-public class IssueTracker24 {
-
-    @Test
-    public void testInconsistentGetPrefixBehaviorWhenNoPrefix() throws Exception {
-        String xml = "<root><child xmlns='foo'/><anotherchild/></root>";
-
-        XMLInputFactory factory = XMLInputFactory.newInstance();
-        XMLStreamReader r = factory.createXMLStreamReader(new StringReader(xml));
-        r.require(XMLStreamReader.START_DOCUMENT, null, null);
-        r.next();
-        r.require(XMLStreamReader.START_ELEMENT, null, "root");
-        Assert.assertEquals(r.getPrefix(), "", "prefix should be empty string");
-        r.next();
-        r.require(XMLStreamReader.START_ELEMENT, null, "child");
-        r.next();
-        r.next();
-        r.require(XMLStreamReader.START_ELEMENT, null, "anotherchild");
-        Assert.assertEquals(r.getPrefix(), "", "prefix should be empty string");
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IssueTracker35.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import java.io.InputStream;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test StAX parse xsd document including external DTD.
- */
-public class IssueTracker35 {
-
-    @Test
-    public void testSkippingExternalDTD() throws Exception {
-        XMLInputFactory xif = XMLInputFactory.newInstance();
-        try(
-                InputStream is= getClass().getResourceAsStream("XMLSchema.xsd");
-        ) {
-                XMLStreamReader reader = xif.createXMLStreamReader(getClass().getResource("XMLSchema.xsd").getFile(), is);
-                int e;
-                while ((e = reader.next()) == XMLStreamConstants.COMMENT);
-
-                Assert.assertEquals(e, XMLStreamConstants.DTD, "should be DTD");
-                reader.nextTag();
-                Assert.assertEquals(reader.getLocalName(), "schema", "next tag should be schema");
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IssueTracker70.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,72 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.util.function.Consumer;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test it can retrieve attribute with null or empty name space.
- */
-public class IssueTracker70 {
-
-    static private final File testFile = new File(IssueTracker70.class.getResource("IssueTracker70.xml").getFile());
-
-    @Test
-    public void testGetAttributeValueWithNullNs() throws Exception {
-        testGetAttributeValueWithNs(null, "attribute2", this::checkNull);
-    }
-
-    @Test
-    public void testGetAttributeValueWithEmptyNs() throws Exception {
-        testGetAttributeValueWithNs("", "attribute1", this::checkNull);
-    }
-
-
-    private void testGetAttributeValueWithNs(String nameSpace, String attrName, Consumer<String> checker) throws Exception {
-        XMLInputFactory xif = XMLInputFactory.newInstance();
-        XMLStreamReader xsr = xif.createXMLStreamReader(new FileInputStream(testFile));
-
-        while (xsr.hasNext()) {
-            xsr.next();
-            if (xsr.isStartElement()) {
-                String v;
-                v = xsr.getAttributeValue(nameSpace, attrName);
-                checker.accept(v);
-            }
-        }
-    }
-
-    private void checkNull(String value)
-    {
-        Assert.assertNotNull(value, "should have attribute value");
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/IssueTracker70.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<element xmlns:space="foo" 
-    attribute1="value1" space:attribute2="value2" attribute3="value3"/>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Jsr173MR1Req5.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding ="utf-8"?>
-<foo attr1="bar" xmlns="foo.com" xmlns:pre="somefix"/>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Jsr173MR1Req5Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,87 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XMLStreamReader parses namespace declaration within element when NamespaceAware turns off and on.
- */
-public class Jsr173MR1Req5Test {
-
-    private static final String INPUT_FILE1 = "Jsr173MR1Req5.xml";
-
-    @Test
-    public void testAttributeCountNoNS() {
-        XMLInputFactory ifac = XMLInputFactory.newInstance();
-
-        try {
-            // Turn off NS awareness to count xmlns as attributes
-            ifac.setProperty("javax.xml.stream.isNamespaceAware", Boolean.FALSE);
-
-            XMLStreamReader re = ifac.createXMLStreamReader(getClass().getResource(INPUT_FILE1).toExternalForm(),
-                    this.getClass().getResourceAsStream(INPUT_FILE1));
-            while (re.hasNext()) {
-                int event = re.next();
-                if (event == XMLStreamConstants.START_ELEMENT) {
-                    // System.out.println("#attrs = " + re.getAttributeCount());
-                    Assert.assertTrue(re.getAttributeCount() == 3);
-                }
-            }
-            re.close();
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testAttributeCountNS() {
-        XMLInputFactory ifac = XMLInputFactory.newInstance();
-
-        try {
-            // Turn on NS awareness to not count xmlns as attributes
-            ifac.setProperty("javax.xml.stream.isNamespaceAware", Boolean.TRUE);
-
-            XMLStreamReader re = ifac.createXMLStreamReader(getClass().getResource(INPUT_FILE1).toExternalForm(),
-                    this.getClass().getResourceAsStream(INPUT_FILE1));
-            while (re.hasNext()) {
-                int event = re.next();
-                if (event == XMLStreamConstants.START_ELEMENT) {
-                    // System.out.println("#attrs = " + re.getAttributeCount());
-                    Assert.assertTrue(re.getAttributeCount() == 1);
-                }
-            }
-            re.close();
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Jsr173MR1Req8.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding ="utf-8"?>
-<foo attr1="pass" pre:attr1="fail" xmlns="foo.com" xmlns:pre="somefix"/>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/Jsr173MR1Req8Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XMLStreamReader parses attribute with namespace aware.
- */
-public class Jsr173MR1Req8Test {
-
-    private static final String INPUT_FILE1 = "Jsr173MR1Req8.xml";
-
-    @Test
-    public void testDefaultAttrNS() {
-        XMLInputFactory ifac = XMLInputFactory.newInstance();
-
-        try {
-            XMLStreamReader re = ifac.createXMLStreamReader(getClass().getResource(INPUT_FILE1).toExternalForm(),
-                    this.getClass().getResourceAsStream(INPUT_FILE1));
-            while (re.hasNext()) {
-                int event = re.next();
-                if (event == XMLStreamConstants.START_ELEMENT) {
-                    // System.out.println("#attrs = " + re.getAttributeCount());
-                    Assert.assertTrue(re.getAttributeCount() == 2);
-                    // This works if "" is replaced by null too
-                    // System.out.println("attr1 = " + re.getAttributeValue("",
-                    // "attr1"));
-                    Assert.assertTrue(re.getAttributeValue("", "attr1").equals("pass"));
-                }
-            }
-            re.close();
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/NamespaceTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,149 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import java.io.InputStream;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test StAX parser processes namespace.
- */
-public class NamespaceTest {
-
-    String namespaceURI = "foobar.com";
-    String rootElement = "foo";
-    String childElement = "foochild";
-    String prefix = "a";
-
-    // Add test methods here, they have to start with 'test' name.
-    // for example:
-    // public void testHello() {}
-
-    String getXML() {
-        StringBuffer sbuffer = new StringBuffer();
-        sbuffer.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
-        sbuffer.append("<" + rootElement + " xmlns:");
-        sbuffer.append(prefix);
-        sbuffer.append("=\"" + namespaceURI + "\">");
-        sbuffer.append("<" + prefix + ":" + childElement + ">");
-        sbuffer.append("blahblah");
-        sbuffer.append("</" + prefix + ":" + childElement + ">");
-        sbuffer.append("</" + rootElement + ">");
-        // System.out.println("XML = " + sbuffer.toString()) ;
-        return sbuffer.toString();
-    }
-
-    @Test
-    public void testRootElementNamespace() {
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-            xif.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
-            InputStream is = new java.io.ByteArrayInputStream(getXML().getBytes());
-            XMLStreamReader sr = xif.createXMLStreamReader(is);
-            while (sr.hasNext()) {
-                int eventType = sr.next();
-                if (eventType == XMLStreamConstants.START_ELEMENT) {
-                    if (sr.getLocalName().equals(rootElement)) {
-                        Assert.assertTrue(sr.getNamespacePrefix(0).equals(prefix) && sr.getNamespaceURI(0).equals(namespaceURI));
-                    }
-                }
-            }
-        } catch (Exception ex) {
-            ex.printStackTrace();
-        }
-    }
-
-    @Test
-    public void testChildElementNamespace() {
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-            xif.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
-            InputStream is = new java.io.ByteArrayInputStream(getXML().getBytes());
-            XMLStreamReader sr = xif.createXMLStreamReader(is);
-            while (sr.hasNext()) {
-                int eventType = sr.next();
-                if (eventType == XMLStreamConstants.START_ELEMENT) {
-                    if (sr.getLocalName().equals(childElement)) {
-                        QName qname = sr.getName();
-                        Assert.assertTrue(qname.getPrefix().equals(prefix) && qname.getNamespaceURI().equals(namespaceURI)
-                                && qname.getLocalPart().equals(childElement));
-                    }
-                }
-            }
-        } catch (Exception ex) {
-            ex.printStackTrace();
-        }
-    }
-
-    @Test
-    public void testNamespaceContext() {
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-            xif.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
-            InputStream is = new java.io.ByteArrayInputStream(getXML().getBytes());
-            XMLStreamReader sr = xif.createXMLStreamReader(is);
-            while (sr.hasNext()) {
-                int eventType = sr.next();
-                if (eventType == XMLStreamConstants.START_ELEMENT) {
-                    if (sr.getLocalName().equals(childElement)) {
-                        NamespaceContext context = sr.getNamespaceContext();
-                        Assert.assertTrue(context.getPrefix(namespaceURI).equals(prefix));
-                    }
-                }
-            }
-        } catch (Exception ex) {
-            ex.printStackTrace();
-        }
-    }
-
-    @Test
-    public void testNamespaceCount() {
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-            xif.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
-            InputStream is = new java.io.ByteArrayInputStream(getXML().getBytes());
-            XMLStreamReader sr = xif.createXMLStreamReader(is);
-            while (sr.hasNext()) {
-                int eventType = sr.next();
-                if (eventType == XMLStreamConstants.START_ELEMENT) {
-                    if (sr.getLocalName().equals(rootElement)) {
-                        int count = sr.getNamespaceCount();
-                        Assert.assertTrue(count == 1);
-                    }
-                }
-            }
-        } catch (Exception ex) {
-            ex.printStackTrace();
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/StreamReaderTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XMLStreamReader.hasName() returns false for ENTITY_REFERENCE.
- */
-public class StreamReaderTest {
-
-    /**
-     * CR 6631264 / sjsxp Issue 45:
-     * https://sjsxp.dev.java.net/issues/show_bug.cgi?id=45
-     * XMLStreamReader.hasName() should return false for ENTITY_REFERENCE
-     */
-    @Test
-    public void testHasNameOnEntityEvent() throws Exception {
-        XMLInputFactory xif = XMLInputFactory.newInstance();
-        xif.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, false);
-        XMLStreamReader r = xif.createXMLStreamReader(this.getClass().getResourceAsStream("ExternalDTD.xml"));
-        while (r.next() != XMLStreamConstants.ENTITY_REFERENCE) {
-            System.out.println("event type: " + r.getEventType());
-            continue;
-        }
-        if (r.hasName()) {
-            System.out.println("hasName returned true on ENTITY_REFERENCE event.");
-        }
-        Assert.assertFalse(r.hasName()); // fails
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/SupportDTDTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,284 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.StringReader;
-import java.util.List;
-
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.events.Characters;
-import javax.xml.stream.events.DTD;
-import javax.xml.stream.events.EntityDeclaration;
-import javax.xml.stream.events.EntityReference;
-import javax.xml.stream.events.XMLEvent;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test SUPPORT_DTD and IS_REPLACING_ENTITY_REFERENCES.
- */
-
-/**
-*
-* SUPPORT_DTD behavior:
-* Regardless of supportDTD, always report a DTD event () and throw an
-* exception if an entity reference is found when supportDTD is false
-*
-* The behavior is related to property IS_REPLACING_ENTITY_REFERENCES.
-*
-* SUPPORT_DTD      Replace Entity   DTD                    ENTITY_REFERENCE
-* true (default)   true (default)   yes, has entities      no, return Characters
-* true (default)   false            yes, has entities      yes, can print entity name
-* false            true (default)   yes, but no entity     Exception: Undeclared general entity
-* false            false            yes, but no entity     yes, can print entity name
-*
-* Two patches related:
-* sjsxp issue 9: XMLDocumentScannerImpl.java rev 1.6
-* If the supportDTD property is set to FALSE, external and internal subsets
-* are now ignored, rather than an error being reported. In particular, with
-* this property set to FALSE, no error is reported if an external subset cannot
-* be found. Note that the internal subset is still parsed (and errors could be
-* reported here) but no events are returned by the parser. This fixes SJSXP
-* issue 9 from Java.net.
-* Note: SAX and DOM report fatal errors:
-*       If either SAX or DOM is used, turning on http://apache.org/xml/features/disallow-doctype-decl [1] effectively disables DTD,
-*       according to the spec: A fatal error is thrown if the incoming document contains a DOCTYPE declaration.
-*       The current jaxp implementation actually throws a nullpointexception. A better error message could be used.
-*
-*/
-public class SupportDTDTest {
-    final boolean DEBUG = false;
-    final String _file = "ExternalDTD.xml";
-    final String XML = "<?xml version='1.0' ?>" + "<!DOCTYPE root [\n" + "<!ENTITY intEnt 'internal entity'>\n" + "<!ENTITY extParsedEnt SYSTEM 'url:dummy'>\n"
-            + "<!NOTATION notation PUBLIC 'notation-public-id'>\n" + "<!NOTATION notation2 SYSTEM 'url:dummy'>\n"
-            + "<!ENTITY extUnparsedEnt SYSTEM 'url:dummy2' NDATA notation>\n" + "]>" + "<root>&intEnt;</root>";
-
-    final String XML1 = "<?xml version='1.0' encoding ='utf-8'?>" + "<!DOCTYPE document SYSTEM \"" + this.getClass().getResource("ExternalDTD.dtd").getFile()
-            + "\">" + "<document>" + "<name>&mkm;</name>" + "</document>";
-
-   // final String XML1 = "<?xml version='1.0' encoding ='utf-8'?>" + "<!DOCTYPE document SYSTEM \"/home/oracle/repo/xmlwork/dev/jdk/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/ExternalDTD.dtd\">" + "<document>"
-   //         + "<name>&mkm;</name>" + "</document>";
-
-    final int ENTITY_INTERNAL_ONLY = 1;
-    final int ENTITY_EXTERNAL_ONLY = 2;
-    final int ENTITY_BOTH = 3;
-
-    boolean _DTDReturned = false;
-    boolean _EntityEventReturned = false;
-    boolean _hasEntityDelaration = false;
-    boolean _exceptionThrown = false;
-
-    /** Creates a new instance of StreamReader */
-    public SupportDTDTest(String name) {
-    }
-
-    void reset() {
-        _DTDReturned = false;
-        _EntityEventReturned = false;
-        _hasEntityDelaration = false;
-        _exceptionThrown = false;
-    }
-
-    // tests 1-4 test internal entities only
-    @Test
-    public void test1() {
-        supportDTD(true, true, ENTITY_INTERNAL_ONLY);
-        Assert.assertEquals(true, _DTDReturned);
-        Assert.assertEquals(true, _hasEntityDelaration);
-        Assert.assertEquals(false, _EntityEventReturned);
-    }
-
-    @Test
-    public void test2() {
-        supportDTD(true, false, ENTITY_INTERNAL_ONLY);
-        Assert.assertEquals(true, _DTDReturned);
-        Assert.assertEquals(true, _hasEntityDelaration);
-        Assert.assertEquals(true, _EntityEventReturned);
-    }
-
-    @Test
-    public void test3() {
-        supportDTD(false, true, ENTITY_INTERNAL_ONLY);
-        Assert.assertEquals(true, _DTDReturned);
-        Assert.assertEquals(false, _hasEntityDelaration);
-        Assert.assertEquals(true, _exceptionThrown);
-    }
-
-    @Test
-    public void test4() {
-        supportDTD(false, false, ENTITY_INTERNAL_ONLY);
-        Assert.assertEquals(true, _DTDReturned);
-        Assert.assertEquals(false, _hasEntityDelaration);
-        Assert.assertEquals(true, _EntityEventReturned);
-    }
-
-    // tests 5-8 test external entities only
-    @Test
-    public void test5() {
-        supportDTD(true, true, ENTITY_EXTERNAL_ONLY);
-        Assert.assertEquals(true, _DTDReturned);
-        Assert.assertEquals(true, _hasEntityDelaration);
-        Assert.assertEquals(false, _EntityEventReturned);
-    }
-
-    @Test
-    public void test6() {
-        supportDTD(true, false, ENTITY_EXTERNAL_ONLY);
-        Assert.assertEquals(true, _DTDReturned);
-        Assert.assertEquals(true, _hasEntityDelaration);
-        Assert.assertEquals(true, _EntityEventReturned);
-    }
-
-    @Test
-    public void test7() {
-        supportDTD(false, true, ENTITY_EXTERNAL_ONLY);
-        Assert.assertEquals(true, _DTDReturned);
-        Assert.assertEquals(false, _hasEntityDelaration);
-        Assert.assertEquals(true, _exceptionThrown);
-    }
-
-    @Test
-    public void test8() {
-        supportDTD(false, false, ENTITY_EXTERNAL_ONLY);
-        Assert.assertEquals(true, _DTDReturned);
-        Assert.assertEquals(false, _hasEntityDelaration);
-        Assert.assertEquals(true, _EntityEventReturned);
-    }
-
-    // tests 9-12 test both internal and external entities
-    @Test
-    public void test9() {
-        supportDTD(true, true, ENTITY_BOTH);
-        Assert.assertEquals(true, _DTDReturned);
-        Assert.assertEquals(true, _hasEntityDelaration);
-        Assert.assertEquals(false, _EntityEventReturned);
-    }
-
-    @Test
-    public void test10() {
-        supportDTD(true, false, ENTITY_BOTH);
-        Assert.assertEquals(true, _DTDReturned);
-        Assert.assertEquals(true, _hasEntityDelaration);
-        Assert.assertEquals(true, _EntityEventReturned);
-    }
-
-    @Test
-    public void test11() {
-        supportDTD(false, true, ENTITY_BOTH);
-        Assert.assertEquals(true, _DTDReturned);
-        Assert.assertEquals(false, _hasEntityDelaration);
-        Assert.assertEquals(true, _exceptionThrown);
-    }
-
-    @Test
-    public void test12() {
-        supportDTD(false, false, ENTITY_BOTH);
-        Assert.assertEquals(true, _DTDReturned);
-        Assert.assertEquals(false, _hasEntityDelaration);
-        Assert.assertEquals(true, _EntityEventReturned);
-    }
-
-    public void supportDTD(boolean supportDTD, boolean replaceEntity, int inputType) {
-        reset();
-        print("\n");
-        print((supportDTD ? "SupportDTD=true" : "SupportDTD=false") + ", " + (replaceEntity ? "replaceEntity=true" : "replaceEntity=false"));
-        try {
-            XMLInputFactory xif = getFactory(supportDTD, replaceEntity);
-            XMLEventReader r = getEventReader(xif, inputType);
-            int eventType = 0;
-            int count = 0;
-            while (r.hasNext()) {
-                XMLEvent event = r.nextEvent();
-                eventType = event.getEventType();
-                print("Event " + ++count + ": " + eventType);
-                switch (eventType) {
-                    case XMLStreamConstants.DTD:
-                        DisplayEntities((DTD) event);
-                        _DTDReturned = true;
-                        break;
-                    case XMLStreamConstants.ENTITY_REFERENCE:
-                        print("Entity Name: " + ((EntityReference) event).getName());
-                        _EntityEventReturned = true;
-                        break;
-                    case XMLStreamConstants.CHARACTERS:
-                        print("Text: " + ((Characters) event).getData());
-                }
-            }
-
-        } catch (Exception e) {
-            _exceptionThrown = true;
-            if (DEBUG)
-                e.printStackTrace();
-        }
-    }
-
-    XMLInputFactory getFactory(boolean supportDTD, boolean replaceEntity) {
-        XMLInputFactory xif = XMLInputFactory.newInstance();
-        xif.setProperty(XMLInputFactory.SUPPORT_DTD, (supportDTD) ? Boolean.TRUE : Boolean.FALSE);
-        xif.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, (replaceEntity) ? Boolean.TRUE : Boolean.FALSE);
-        // xif.setProperty(XMLInputFactory.IS_VALIDATING, Boolean.TRUE);
-        return xif;
-    }
-
-    private XMLEventReader getEventReader(XMLInputFactory inputFactory, int input) throws Exception {
-        XMLEventReader er = null;
-        if (input == ENTITY_INTERNAL_ONLY) {
-            er = inputFactory.createXMLEventReader(new StringReader(XML));
-        } else if (input == ENTITY_EXTERNAL_ONLY) {
-            er = inputFactory.createXMLEventReader(new StringReader(XML1));
-        } else {
-            File file = new File(this.getClass().getResource(_file).getFile());
-            FileInputStream inputStream = new FileInputStream(file);
-            // XMLStreamReader r = xif.createXMLStreamReader(inputStream);
-            er = inputFactory.createXMLEventReader(inputStream);
-        }
-        return er;
-    }
-
-    void DisplayEntities(DTD event) {
-        List entities = event.getEntities();
-        if (entities == null) {
-            _hasEntityDelaration = false;
-            print("No entity found.");
-        } else {
-            _hasEntityDelaration = true;
-            for (int i = 0; i < entities.size(); i++) {
-                EntityDeclaration entity = (EntityDeclaration) entities.get(i);
-                print(entity.getName());
-            }
-        }
-
-    }
-
-    void print(String s) {
-        if (DEBUG)
-            System.out.println(s);
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/UTF16-BE.wsdl.data	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-16"?>
-<definitions
-    xmlns="http://schemas.xmlsoap.org/wsdl/"
-    name="W2JDLR4002TestService"
-    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-    targetNamespace="http://w2jdlr4002testservice.org/W2JDLR4002TestService.wsdl"
-    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-    xmlns:tns="http://w2jdlr4002testservice.org/W2JDLR4002TestService.wsdl"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:xsd1="http://w2jdlr4002testservice.org/xsd">
-
-    <types>
-        <schema targetNamespace="http://w2jdlr4002testservice.org/xsd"
-            xmlns="http://www.w3.org/2001/XMLSchema"
-            xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-            elementFormDefault="qualified">
-
-            <element name="echoStringParam" type="xsd:string"/>
-
-            <element name="echoStringReturn" type="xsd:string"/>
-            
-        </schema>
-    </types>
-
-    <message name="echoString">
-        <part element="xsd1:echoStringParam" name="str"/>
-    </message>
-    <message name="echoStringResponse">
-        <part element="xsd1:echoStringReturn" name="result"/>
-    </message>
-
-    <portType name="W2JDLR4002Test">
-    	<operation name="echoString">
-            <input message="tns:echoString"/>
-            <output message="tns:echoStringResponse"/>
-    	</operation>
-    </portType>
-    
-    <binding name="W2JDLR4002TestBinding" type="tns:W2JDLR4002Test">
-    	<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-    	<operation name="echoString">
-    		<soap:operation/>
-            <input>
-                <soap:body use="literal"/>
-            </input>
-            <output>
-                <soap:body use="literal"/>
-            </output>
-    	</operation>
-    </binding>
-
-    <service name="W2JDLR4002TestService">
-        <port binding="tns:W2JDLR4002TestBinding"
-            name="W2JDLR4002TestPort">
-            <soap:address
-                location="http://w2jdlr4002testservice.org/W2JDLR4002TestService.wsdl"/>
-        </port>
-    </service>
-    
-</definitions>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/UTF8-BOM.xml.data	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<ns0:Envelope xmlns:nasp="urn:hl7-org:v3" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/"><ns0:Header><nasp:naspHeader type="Message"><nasp:id root="aa910964-898e-4802-8f6e-d1be452639cd"></nasp:id><nasp:interactionId root="2.16.840.1.113883.2.1.3.2.4.12" extension="QUPA_IN010000UK01"></nasp:interactionId><nasp:communicationFunctionRcv type="CommunicationFunction" typeCode="RCV"><nasp:device type="Device" classCode="DEV" determinerCode="INSTANCE"><nasp:id root="2.16.840.1.113883.2.1.4.11" extension="NASPTestEndpoint"></nasp:id></nasp:device></nasp:communicationFunctionRcv><nasp:communicationFunctionSnd type="CommunicationFunction" typeCode="SND"><nasp:device type="Device" classCode="DEV" determinerCode="INSTANCE"><nasp:id root="2.16.840.1.113883.2.1.4.11" extension="F81079-00093"></nasp:id></nasp:device></nasp:communicationFunctionSnd><nasp:ControlActProcess type="ControlAct" classCode="CACT" moodCode="RQO"><nasp:author type="Participation" typeCode="AUT"><nasp:assignedEntity type="RoleHeir" classCode="ASSIGNED"><nasp:representedOrganization type="Organization" classCode="ORG" determinerCode="INSTANCE"></nasp:representedOrganization></nasp:assignedEntity></nasp:author></nasp:ControlActProcess></nasp:naspHeader></ns0:Header><ns0:Body><m:QUPA_IN010000UK01 xsi:schemaLocation="urn:hl7-org:v3 ../Schemas/QUPA_IN010000UK01.xsd" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="urn:hl7-org:v3"><m:id root="11111112-65D4-EC43-BC31-62522532BC6E" /><m:creationTime value="200405051115" /><m:versionCode code="V3NPfIT2.0" /><m:interactionId root="2.16.840.1.113883.2.1.3.2.4.12" extension="QUPA_IN010000UK01" /><m:processingCode code="P" /><m:processingModeCode code="T" /><m:acceptAckCode code="NE" /><m:communicationFunctionRcv><m:device><m:id root="2.16.840.1.113883.2.1.4.11" extension="NASP" /><m:id root="2.16.840.1.113883.2.1.4.10" extension="100000000900001" /></m:device></m:communicationFunctionRcv><m:communicationFunctionSnd><m:device><m:id root="2.16.840.1.113883.2.1.4.11" extension="ISOFT_001_001" /><m:id root="2.16.840.1.113883.2.1.4.10" extension="100000000800001" /></m:device></m:communicationFunctionSnd><m:ControlActProcess xsi:schemaLocation="urn:hl7-org:v3 ../Schemas/QUPA_MT010101UK02.xsd" classCode="CACT" moodCode="RQO" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:msg="urn:hl7-org:v3/mif" xmlns:voc="urn:hl7-org:v3/voc"><m:author typeCode="AUT"><m:assignedEntity classCode="ASSIGNED"><m:id root="2.16.840.1.113883.2.1.4.4" extension="G0000017" /><m:code code="011" /><m:representedOrganization classCode="ORG" determinerCode="INSTANCE"><m:id root="2.16.840.1.113883.2.1.4.3" extension="Z99993" /><m:code code="001" /></m:representedOrganization></m:assignedEntity></m:author><m:pdsTraceQuery><m:queryId root="BBBBQ01B-A9D1-A411-F824-9F7A00A33757" /><m:person.address><m:value use="H"><m:addressKey> 12345678 </m:addressKey></m:value><m:semanticsText>person.address</m:semanticsText></m:person.address><m:person.administrativeGenderCode><m:value code="2" /><m:semanticsText>person.administrativeGenderCode</m:semanticsText></m:person.administrativeGenderCode><m:person.birthTime><m:value value="19810303" /><m:semanticsText>person.birthTime</m:semanticsText></m:person.birthTime><m:person.name><m:value use="L"><m:given>Matthew</m:given><m:family>Barrow</m:family></m:value><m:semanticsText>person.name</m:semanticsText></m:person.name></m:pdsTraceQuery></m:ControlActProcess></m:QUPA_IN010000UK01></ns0:Body></ns0:Envelope>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/VoiceXMLDTDTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test parsing Voice XML DTD.
- */
-public class VoiceXMLDTDTest {
-
-    private static final String INPUT_FILE1 = "voicexml.xml";
-
-    @Test
-    public void test() {
-        XMLInputFactory ifac = XMLInputFactory.newInstance();
-
-        try {
-            XMLStreamReader re = ifac.createXMLStreamReader(getClass().getResource(INPUT_FILE1).toExternalForm(),
-                    this.getClass().getResourceAsStream(INPUT_FILE1));
-            while (re.hasNext()) {
-                int event = re.next();
-            }
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/XML11Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamReaderTest;
-
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLInputFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test parsing xml 1.1.
- */
-public class XML11Test {
-
-    @Test
-    public void test() {
-        try {
-            XMLInputFactory xif = XMLInputFactory.newInstance();
-            XMLEventReader reader = xif.createXMLEventReader(this.getClass().getResourceAsStream("xml11.xml.data"));
-            while (reader.hasNext())
-                reader.next();
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/XMLSchema.dtd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,402 +0,0 @@
-<!-- DTD for XML Schemas: Part 1: Structures
-     Public Identifier: "-//W3C//DTD XMLSCHEMA 200102//EN"
-     Official Location: http://www.w3.org/2001/XMLSchema.dtd -->
-<!-- $Id: XMLSchema.dtd,v 1.3 2007-07-19 21:56:49 ofung Exp $ -->
-<!-- Note this DTD is NOT normative, or even definitive. -->           <!--d-->
-<!-- prose copy in the structures REC is the definitive version -->    <!--d-->
-<!-- (which shouldn't differ from this one except for this -->         <!--d-->
-<!-- comment and entity expansions, but just in case) -->              <!--d-->
-<!-- With the exception of cases with multiple namespace
-     prefixes for the XML Schema namespace, any XML document which is
-     not valid per this DTD given redefinitions in its internal subset of the
-     'p' and 's' parameter entities below appropriate to its namespace
-     declaration of the XML Schema namespace is almost certainly not
-     a valid schema. -->
-
-<!-- The simpleType element and its constituent parts
-     are defined in XML Schema: Part 2: Datatypes -->
-<!ENTITY % xs-datatypes PUBLIC 'datatypes' 'datatypes.dtd' >
-
-<!ENTITY % p 'xs:'> <!-- can be overriden in the internal subset of a
-                         schema document to establish a different
-                         namespace prefix -->
-<!ENTITY % s ':xs'> <!-- if %p is defined (e.g. as foo:) then you must
-                         also define %s as the suffix for the appropriate
-                         namespace declaration (e.g. :foo) -->
-<!ENTITY % nds 'xmlns%s;'>
-
-<!-- Define all the element names, with optional prefix -->
-<!ENTITY % schema "%p;schema">
-<!ENTITY % complexType "%p;complexType">
-<!ENTITY % complexContent "%p;complexContent">
-<!ENTITY % simpleContent "%p;simpleContent">
-<!ENTITY % extension "%p;extension">
-<!ENTITY % element "%p;element">
-<!ENTITY % unique "%p;unique">
-<!ENTITY % key "%p;key">
-<!ENTITY % keyref "%p;keyref">
-<!ENTITY % selector "%p;selector">
-<!ENTITY % field "%p;field">
-<!ENTITY % group "%p;group">
-<!ENTITY % all "%p;all">
-<!ENTITY % choice "%p;choice">
-<!ENTITY % sequence "%p;sequence">
-<!ENTITY % any "%p;any">
-<!ENTITY % anyAttribute "%p;anyAttribute">
-<!ENTITY % attribute "%p;attribute">
-<!ENTITY % attributeGroup "%p;attributeGroup">
-<!ENTITY % include "%p;include">
-<!ENTITY % import "%p;import">
-<!ENTITY % redefine "%p;redefine">
-<!ENTITY % notation "%p;notation">
-
-<!-- annotation elements -->
-<!ENTITY % annotation "%p;annotation">
-<!ENTITY % appinfo "%p;appinfo">
-<!ENTITY % documentation "%p;documentation">
-
-<!-- Customisation entities for the ATTLIST of each element type.
-     Define one of these if your schema takes advantage of the
-     anyAttribute='##other' in the schema for schemas -->
-
-<!ENTITY % schemaAttrs ''>
-<!ENTITY % complexTypeAttrs ''>
-<!ENTITY % complexContentAttrs ''>
-<!ENTITY % simpleContentAttrs ''>
-<!ENTITY % extensionAttrs ''>
-<!ENTITY % elementAttrs ''>
-<!ENTITY % groupAttrs ''>
-<!ENTITY % allAttrs ''>
-<!ENTITY % choiceAttrs ''>
-<!ENTITY % sequenceAttrs ''>
-<!ENTITY % anyAttrs ''>
-<!ENTITY % anyAttributeAttrs ''>
-<!ENTITY % attributeAttrs ''>
-<!ENTITY % attributeGroupAttrs ''>
-<!ENTITY % uniqueAttrs ''>
-<!ENTITY % keyAttrs ''>
-<!ENTITY % keyrefAttrs ''>
-<!ENTITY % selectorAttrs ''>
-<!ENTITY % fieldAttrs ''>
-<!ENTITY % includeAttrs ''>
-<!ENTITY % importAttrs ''>
-<!ENTITY % redefineAttrs ''>
-<!ENTITY % notationAttrs ''>
-<!ENTITY % annotationAttrs ''>
-<!ENTITY % appinfoAttrs ''>
-<!ENTITY % documentationAttrs ''>
-
-<!ENTITY % complexDerivationSet "CDATA">
-      <!-- #all or space-separated list drawn from derivationChoice -->
-<!ENTITY % blockSet "CDATA">
-      <!-- #all or space-separated list drawn from
-                      derivationChoice + 'substitution' -->
-
-<!ENTITY % mgs '%all; | %choice; | %sequence;'>
-<!ENTITY % cs '%choice; | %sequence;'>
-<!ENTITY % formValues '(qualified|unqualified)'>
-
-
-<!ENTITY % attrDecls    '((%attribute;| %attributeGroup;)*,(%anyAttribute;)?)'>
-
-<!ENTITY % particleAndAttrs '((%mgs; | %group;)?, %attrDecls;)'>
-
-<!-- This is used in part2 -->
-<!ENTITY % restriction1 '((%mgs; | %group;)?)'>
-
-%xs-datatypes;
-
-<!-- the duplication below is to produce an unambiguous content model
-     which allows annotation everywhere -->
-<!ELEMENT %schema; ((%include; | %import; | %redefine; | %annotation;)*,
-                    ((%simpleType; | %complexType;
-                      | %element; | %attribute;
-                      | %attributeGroup; | %group;
-                      | %notation; ),
-                     (%annotation;)*)* )>
-<!ATTLIST %schema;
-   targetNamespace      %URIref;               #IMPLIED
-   version              CDATA                  #IMPLIED
-   %nds;                %URIref;               #FIXED 'http://www.w3.org/2001/XMLSchema'
-   xmlns                CDATA                  #IMPLIED
-   finalDefault         %complexDerivationSet; ''
-   blockDefault         %blockSet;             ''
-   id                   ID                     #IMPLIED
-   elementFormDefault   %formValues;           'unqualified'
-   attributeFormDefault %formValues;           'unqualified'
-   xml:lang             CDATA                  #IMPLIED
-   %schemaAttrs;>
-<!-- Note the xmlns declaration is NOT in the Schema for Schemas,
-     because at the Infoset level where schemas operate,
-     xmlns(:prefix) is NOT an attribute! -->
-<!-- The declaration of xmlns is a convenience for schema authors -->
- 
-<!-- The id attribute here and below is for use in external references
-     from non-schemas using simple fragment identifiers.
-     It is NOT used for schema-to-schema reference, internal or
-     external. -->
-
-<!-- a type is a named content type specification which allows attribute
-     declarations-->
-<!-- -->
-
-<!ELEMENT %complexType; ((%annotation;)?,
-                         (%simpleContent;|%complexContent;|
-                          %particleAndAttrs;))>
-
-<!ATTLIST %complexType;
-          name      %NCName;                        #IMPLIED
-          id        ID                              #IMPLIED
-          abstract  %boolean;                       #IMPLIED
-          final     %complexDerivationSet;          #IMPLIED
-          block     %complexDerivationSet;          #IMPLIED
-          mixed (true|false) 'false'
-          %complexTypeAttrs;>
-
-<!-- particleAndAttrs is shorthand for a root type -->
-<!-- mixed is disallowed if simpleContent, overriden if complexContent
-     has one too. -->
-
-<!-- If anyAttribute appears in one or more referenced attributeGroups
-     and/or explicitly, the intersection of the permissions is used -->
-
-<!ELEMENT %complexContent; ((%annotation;)?, (%restriction;|%extension;))>
-<!ATTLIST %complexContent;
-          mixed (true|false) #IMPLIED
-          id    ID           #IMPLIED
-          %complexContentAttrs;>
-
-<!-- restriction should use the branch defined above, not the simple
-     one from part2; extension should use the full model  -->
-
-<!ELEMENT %simpleContent; ((%annotation;)?, (%restriction;|%extension;))>
-<!ATTLIST %simpleContent;
-          id    ID           #IMPLIED
-          %simpleContentAttrs;>
-
-<!-- restriction should use the simple branch from part2, not the 
-     one defined above; extension should have no particle  -->
-
-<!ELEMENT %extension; ((%annotation;)?, (%particleAndAttrs;))>
-<!ATTLIST %extension;
-          base  %QName;      #REQUIRED
-          id    ID           #IMPLIED
-          %extensionAttrs;>
-
-<!-- an element is declared by either:
- a name and a type (either nested or referenced via the type attribute)
- or a ref to an existing element declaration -->
-
-<!ELEMENT %element; ((%annotation;)?, (%complexType;| %simpleType;)?,
-                     (%unique; | %key; | %keyref;)*)>
-<!-- simpleType or complexType only if no type|ref attribute -->
-<!-- ref not allowed at top level -->
-<!ATTLIST %element;
-            name               %NCName;               #IMPLIED
-            id                 ID                     #IMPLIED
-            ref                %QName;                #IMPLIED
-            type               %QName;                #IMPLIED
-            minOccurs          %nonNegativeInteger;   #IMPLIED
-            maxOccurs          CDATA                  #IMPLIED
-            nillable           %boolean;              #IMPLIED
-            substitutionGroup  %QName;                #IMPLIED
-            abstract           %boolean;              #IMPLIED
-            final              %complexDerivationSet; #IMPLIED
-            block              %blockSet;             #IMPLIED
-            default            CDATA                  #IMPLIED
-            fixed              CDATA                  #IMPLIED
-            form               %formValues;           #IMPLIED
-            %elementAttrs;>
-<!-- type and ref are mutually exclusive.
-     name and ref are mutually exclusive, one is required -->
-<!-- In the absence of type AND ref, type defaults to type of
-     substitutionGroup, if any, else the ur-type, i.e. unconstrained -->
-<!-- default and fixed are mutually exclusive -->
-
-<!ELEMENT %group; ((%annotation;)?,(%mgs;)?)>
-<!ATTLIST %group; 
-          name        %NCName;               #IMPLIED
-          ref         %QName;                #IMPLIED
-          minOccurs   %nonNegativeInteger;   #IMPLIED
-          maxOccurs   CDATA                  #IMPLIED
-          id          ID                     #IMPLIED
-          %groupAttrs;>
-
-<!ELEMENT %all; ((%annotation;)?, (%element;)*)>
-<!ATTLIST %all;
-          minOccurs   (1)                    #IMPLIED
-          maxOccurs   (1)                    #IMPLIED
-          id          ID                     #IMPLIED
-          %allAttrs;>
-
-<!ELEMENT %choice; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
-<!ATTLIST %choice;
-          minOccurs   %nonNegativeInteger;   #IMPLIED
-          maxOccurs   CDATA                  #IMPLIED
-          id          ID                     #IMPLIED
-          %choiceAttrs;>
-
-<!ELEMENT %sequence; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
-<!ATTLIST %sequence;
-          minOccurs   %nonNegativeInteger;   #IMPLIED
-          maxOccurs   CDATA                  #IMPLIED
-          id          ID                     #IMPLIED
-          %sequenceAttrs;>
-
-<!-- an anonymous grouping in a model, or
-     a top-level named group definition, or a reference to same -->
-
-<!-- Note that if order is 'all', group is not allowed inside.
-     If order is 'all' THIS group must be alone (or referenced alone) at
-     the top level of a content model -->
-<!-- If order is 'all', minOccurs==maxOccurs==1 on element/any inside -->
-<!-- Should allow minOccurs=0 inside order='all' . . . -->
-
-<!ELEMENT %any; (%annotation;)?>
-<!ATTLIST %any;
-            namespace       CDATA                  '##any'
-            processContents (skip|lax|strict)      'strict'
-            minOccurs       %nonNegativeInteger;   '1'
-            maxOccurs       CDATA                  '1'
-            id              ID                     #IMPLIED
-            %anyAttrs;>
-
-<!-- namespace is interpreted as follows:
-                  ##any      - - any non-conflicting WFXML at all
-
-                  ##other    - - any non-conflicting WFXML from namespace other
-                                  than targetNamespace
-
-                  ##local    - - any unqualified non-conflicting WFXML/attribute
-                  one or     - - any non-conflicting WFXML from
-                  more URI        the listed namespaces
-                  references
-
-                  ##targetNamespace ##local may appear in the above list,
-                    with the obvious meaning -->
-
-<!ELEMENT %anyAttribute; (%annotation;)?>
-<!ATTLIST %anyAttribute;
-            namespace       CDATA              '##any'
-            processContents (skip|lax|strict)  'strict'
-            id              ID                 #IMPLIED
-            %anyAttributeAttrs;>
-<!-- namespace is interpreted as for 'any' above -->
-
-<!-- simpleType only if no type|ref attribute -->
-<!-- ref not allowed at top level, name iff at top level -->
-<!ELEMENT %attribute; ((%annotation;)?, (%simpleType;)?)>
-<!ATTLIST %attribute;
-          name      %NCName;      #IMPLIED
-          id        ID            #IMPLIED
-          ref       %QName;       #IMPLIED
-          type      %QName;       #IMPLIED
-          use       (prohibited|optional|required) #IMPLIED
-          default   CDATA         #IMPLIED
-          fixed     CDATA         #IMPLIED
-          form      %formValues;  #IMPLIED
-          %attributeAttrs;>
-<!-- type and ref are mutually exclusive.
-     name and ref are mutually exclusive, one is required -->
-<!-- default for use is optional when nested, none otherwise -->
-<!-- default and fixed are mutually exclusive -->
-<!-- type attr and simpleType content are mutually exclusive -->
-
-<!-- an attributeGroup is a named collection of attribute decls, or a
-     reference thereto -->
-<!ELEMENT %attributeGroup; ((%annotation;)?,
-                       (%attribute; | %attributeGroup;)*,
-                       (%anyAttribute;)?) >
-<!ATTLIST %attributeGroup;
-                 name       %NCName;       #IMPLIED
-                 id         ID             #IMPLIED
-                 ref        %QName;        #IMPLIED
-                 %attributeGroupAttrs;>
-
-<!-- ref iff no content, no name.  ref iff not top level -->
-
-<!-- better reference mechanisms -->
-<!ELEMENT %unique; ((%annotation;)?, %selector;, (%field;)+)>
-<!ATTLIST %unique;
-          name     %NCName;       #REQUIRED
-	  id       ID             #IMPLIED
-	  %uniqueAttrs;>
-
-<!ELEMENT %key;    ((%annotation;)?, %selector;, (%field;)+)>
-<!ATTLIST %key;
-          name     %NCName;       #REQUIRED
-	  id       ID             #IMPLIED
-	  %keyAttrs;>
-
-<!ELEMENT %keyref; ((%annotation;)?, %selector;, (%field;)+)>
-<!ATTLIST %keyref;
-          name     %NCName;       #REQUIRED
-	  refer    %QName;        #REQUIRED
-	  id       ID             #IMPLIED
-	  %keyrefAttrs;>
-
-<!ELEMENT %selector; ((%annotation;)?)>
-<!ATTLIST %selector;
-          xpath %XPathExpr; #REQUIRED
-          id    ID          #IMPLIED
-          %selectorAttrs;>
-<!ELEMENT %field; ((%annotation;)?)>
-<!ATTLIST %field;
-          xpath %XPathExpr; #REQUIRED
-          id    ID          #IMPLIED
-          %fieldAttrs;>
-
-<!-- Schema combination mechanisms -->
-<!ELEMENT %include; (%annotation;)?>
-<!ATTLIST %include;
-          schemaLocation %URIref; #REQUIRED
-          id             ID       #IMPLIED
-          %includeAttrs;>
-
-<!ELEMENT %import; (%annotation;)?>
-<!ATTLIST %import;
-          namespace      %URIref; #IMPLIED
-          schemaLocation %URIref; #IMPLIED
-          id             ID       #IMPLIED
-          %importAttrs;>
-
-<!ELEMENT %redefine; (%annotation; | %simpleType; | %complexType; |
-                      %attributeGroup; | %group;)*>
-<!ATTLIST %redefine;
-          schemaLocation %URIref; #REQUIRED
-          id             ID       #IMPLIED
-          %redefineAttrs;>
-
-<!ELEMENT %notation; (%annotation;)?>
-<!ATTLIST %notation;
-	  name        %NCName;    #REQUIRED
-	  id          ID          #IMPLIED
-	  public      CDATA       #REQUIRED
-	  system      %URIref;    #IMPLIED
-	  %notationAttrs;>
-
-<!-- Annotation is either application information or documentation -->
-<!-- By having these here they are available for datatypes as well
-     as all the structures elements -->
-
-<!ELEMENT %annotation; (%appinfo; | %documentation;)*>
-<!ATTLIST %annotation; %annotationAttrs;>
-
-<!-- User must define annotation elements in internal subset for this
-     to work -->
-<!ELEMENT %appinfo; ANY>   <!-- too restrictive -->
-<!ATTLIST %appinfo;
-          source     %URIref;      #IMPLIED
-          id         ID         #IMPLIED
-          %appinfoAttrs;>
-<!ELEMENT %documentation; ANY>   <!-- too restrictive -->
-<!ATTLIST %documentation;
-          source     %URIref;   #IMPLIED
-          id         ID         #IMPLIED
-          xml:lang   CDATA      #IMPLIED
-          %documentationAttrs;>
-
-<!NOTATION XMLSchemaStructures PUBLIC
-           'structures' 'http://www.w3.org/2001/XMLSchema.xsd' >
-<!NOTATION XML PUBLIC
-           'REC-xml-1998-0210' 'http://www.w3.org/TR/1998/REC-xml-19980210' >
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/XMLSchema.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2534 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- XML Schema schema for XML Schemas: Part 1: Structures -->
-<!-- Note this schema is NOT the normative structures schema. -->
-<!-- The prose copy in the structures REC is the normative -->
-<!-- version (which shouldn't differ from this one except for -->
-<!-- this comment and entity expansions, but just in case -->
-<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" [
-
-<!-- provide ID type information even for parsers which only read the
-     internal subset -->
-<!ATTLIST xs:schema          id  ID  #IMPLIED>
-<!ATTLIST xs:complexType     id  ID  #IMPLIED>
-<!ATTLIST xs:complexContent  id  ID  #IMPLIED>
-<!ATTLIST xs:simpleContent   id  ID  #IMPLIED>
-<!ATTLIST xs:extension       id  ID  #IMPLIED>
-<!ATTLIST xs:element         id  ID  #IMPLIED>
-<!ATTLIST xs:group           id  ID  #IMPLIED> 
-<!ATTLIST xs:all             id  ID  #IMPLIED>
-<!ATTLIST xs:choice          id  ID  #IMPLIED>
-<!ATTLIST xs:sequence        id  ID  #IMPLIED>
-<!ATTLIST xs:any             id  ID  #IMPLIED>
-<!ATTLIST xs:anyAttribute    id  ID  #IMPLIED>
-<!ATTLIST xs:attribute       id  ID  #IMPLIED>
-<!ATTLIST xs:attributeGroup  id  ID  #IMPLIED>
-<!ATTLIST xs:unique          id  ID  #IMPLIED>
-<!ATTLIST xs:key             id  ID  #IMPLIED>
-<!ATTLIST xs:keyref          id  ID  #IMPLIED>
-<!ATTLIST xs:selector        id  ID  #IMPLIED>
-<!ATTLIST xs:field           id  ID  #IMPLIED>
-<!ATTLIST xs:include         id  ID  #IMPLIED>
-<!ATTLIST xs:import          id  ID  #IMPLIED>
-<!ATTLIST xs:redefine        id  ID  #IMPLIED>
-<!ATTLIST xs:notation        id  ID  #IMPLIED>
-<!--
-     keep this schema XML1.0 DTD valid
-  -->
-        <!ENTITY % schemaAttrs 'xmlns:hfp CDATA #IMPLIED'>
-
-        <!ELEMENT hfp:hasFacet EMPTY>
-        <!ATTLIST hfp:hasFacet
-                name NMTOKEN #REQUIRED>
-
-        <!ELEMENT hfp:hasProperty EMPTY>
-        <!ATTLIST hfp:hasProperty
-                name NMTOKEN #REQUIRED
-                value CDATA #REQUIRED>
-<!--
-        Make sure that processors that do not read the external
-        subset will know about the various IDs we declare
-  -->
-        <!ATTLIST xs:simpleType id ID #IMPLIED>
-        <!ATTLIST xs:maxExclusive id ID #IMPLIED>
-        <!ATTLIST xs:minExclusive id ID #IMPLIED>
-        <!ATTLIST xs:maxInclusive id ID #IMPLIED>
-        <!ATTLIST xs:minInclusive id ID #IMPLIED>
-        <!ATTLIST xs:totalDigits id ID #IMPLIED>
-        <!ATTLIST xs:fractionDigits id ID #IMPLIED>
-        <!ATTLIST xs:length id ID #IMPLIED>
-        <!ATTLIST xs:minLength id ID #IMPLIED>
-        <!ATTLIST xs:maxLength id ID #IMPLIED>
-        <!ATTLIST xs:enumeration id ID #IMPLIED>
-        <!ATTLIST xs:pattern id ID #IMPLIED>
-        <!ATTLIST xs:appinfo id ID #IMPLIED>
-        <!ATTLIST xs:documentation id ID #IMPLIED>
-        <!ATTLIST xs:list id ID #IMPLIED>
-        <!ATTLIST xs:union id ID #IMPLIED>
-        ]>
-<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" blockDefault="#all" elementFormDefault="qualified" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="EN" xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty">
- <xs:annotation>
-  <xs:documentation>
-    Part 1 version: Id: structures.xsd,v 1.2 2004/01/15 11:34:25 ht Exp 
-    Part 2 version: Id: datatypes.xsd,v 1.3 2004/01/23 18:11:13 ht Exp 
-  </xs:documentation>
- </xs:annotation>
-
- <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/2004/PER-xmlschema-1-20040318/structures.html">
-   The schema corresponding to this document is normative,
-   with respect to the syntactic constraints it expresses in the
-   XML Schema language.  The documentation (within &lt;documentation> elements)
-   below, is not normative, but rather highlights important aspects of
-   the W3C Recommendation of which this is a part</xs:documentation>
- </xs:annotation>
-
- <xs:annotation>
-   <xs:documentation>
-   The simpleType element and all of its members are defined
-      towards the end of this schema document</xs:documentation>
- </xs:annotation>
-
- <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">
-   <xs:annotation>
-     <xs:documentation>
-       Get access to the xml: attribute groups for xml:lang
-       as declared on 'schema' and 'documentation' below
-     </xs:documentation>
-   </xs:annotation>
- </xs:import>
-
- <xs:complexType name="openAttrs">
-   <xs:annotation>
-     <xs:documentation>
-       This type is extended by almost all schema types
-       to allow attributes from other namespaces to be
-       added to user schemas.
-     </xs:documentation>
-   </xs:annotation>
-   <xs:complexContent>
-     <xs:restriction base="xs:anyType">
-       <xs:anyAttribute namespace="##other" processContents="lax"/>
-     </xs:restriction>
-   </xs:complexContent>
- </xs:complexType>
-
- <xs:complexType name="annotated">
-   <xs:annotation>
-     <xs:documentation>
-       This type is extended by all types which allow annotation
-       other than &lt;schema&gt; itself
-     </xs:documentation>
-   </xs:annotation>
-   <xs:complexContent>
-     <xs:extension base="xs:openAttrs">
-       <xs:sequence>
-         <xs:element ref="xs:annotation" minOccurs="0"/>
-       </xs:sequence>
-       <xs:attribute name="id" type="xs:ID"/>
-     </xs:extension>
-   </xs:complexContent>
- </xs:complexType>
-
- <xs:group name="schemaTop">
-  <xs:annotation>
-   <xs:documentation>
-   This group is for the
-   elements which occur freely at the top level of schemas.
-   All of their types are based on the "annotated" type by extension.</xs:documentation>
-  </xs:annotation>
-  <xs:choice>
-   <xs:group ref="xs:redefinable"/>
-   <xs:element ref="xs:element"/>
-   <xs:element ref="xs:attribute"/>
-   <xs:element ref="xs:notation"/>
-  </xs:choice>
- </xs:group>
- 
- <xs:group name="redefinable">
-  <xs:annotation>
-   <xs:documentation>
-   This group is for the
-   elements which can self-redefine (see &lt;redefine> below).</xs:documentation>
-  </xs:annotation>
-  <xs:choice>
-   <xs:element ref="xs:simpleType"/>
-   <xs:element ref="xs:complexType"/>
-   <xs:element ref="xs:group"/>
-   <xs:element ref="xs:attributeGroup"/>
-  </xs:choice>
- </xs:group>
-
- <xs:simpleType name="formChoice">
-  <xs:annotation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-  </xs:annotation>
-  <xs:restriction base="xs:NMTOKEN">
-   <xs:enumeration value="qualified"/>
-   <xs:enumeration value="unqualified"/>
-  </xs:restriction>
- </xs:simpleType>
-
- <xs:simpleType name="reducedDerivationControl">
-  <xs:annotation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-  </xs:annotation>
-  <xs:restriction base="xs:derivationControl">
-   <xs:enumeration value="extension"/>
-   <xs:enumeration value="restriction"/>
-  </xs:restriction>
- </xs:simpleType>
-
- <xs:simpleType name="derivationSet">
-  <xs:annotation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-   <xs:documentation>
-   #all or (possibly empty) subset of {extension, restriction}</xs:documentation>
-  </xs:annotation>
-  <xs:union>
-   <xs:simpleType>    
-    <xs:restriction base="xs:token">
-     <xs:enumeration value="#all"/>
-    </xs:restriction>
-   </xs:simpleType>
-   <xs:simpleType>
-    <xs:list itemType="xs:reducedDerivationControl"/>
-   </xs:simpleType>
-  </xs:union>
- </xs:simpleType>
-
- <xs:simpleType name="typeDerivationControl">
-  <xs:annotation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-  </xs:annotation>
-  <xs:restriction base="xs:derivationControl">
-   <xs:enumeration value="extension"/>
-   <xs:enumeration value="restriction"/>
-   <xs:enumeration value="list"/>
-   <xs:enumeration value="union"/>
-  </xs:restriction>
- </xs:simpleType>
-
-  <xs:simpleType name="fullDerivationSet">
-  <xs:annotation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-   <xs:documentation>
-   #all or (possibly empty) subset of {extension, restriction, list, union}</xs:documentation>
-  </xs:annotation>
-  <xs:union>
-   <xs:simpleType>    
-    <xs:restriction base="xs:token">
-     <xs:enumeration value="#all"/>
-    </xs:restriction>
-   </xs:simpleType>
-   <xs:simpleType>
-    <xs:list itemType="xs:typeDerivationControl"/>
-   </xs:simpleType>
-  </xs:union>
- </xs:simpleType>
-
- <xs:element name="schema" id="schema">
-  <xs:annotation>
-    <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-schema"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:openAttrs">
-     <xs:sequence>
-      <xs:choice minOccurs="0" maxOccurs="unbounded">
-       <xs:element ref="xs:include"/>
-       <xs:element ref="xs:import"/>
-       <xs:element ref="xs:redefine"/>
-       <xs:element ref="xs:annotation"/>
-      </xs:choice>
-      <xs:sequence minOccurs="0" maxOccurs="unbounded">
-       <xs:group ref="xs:schemaTop"/>
-       <xs:element ref="xs:annotation" minOccurs="0" maxOccurs="unbounded"/>
-      </xs:sequence>
-     </xs:sequence>
-     <xs:attribute name="targetNamespace" type="xs:anyURI"/>
-     <xs:attribute name="version" type="xs:token"/>
-     <xs:attribute name="finalDefault" type="xs:fullDerivationSet" use="optional" default=""/>
-     <xs:attribute name="blockDefault" type="xs:blockSet" use="optional" default=""/>
-     <xs:attribute name="attributeFormDefault" type="xs:formChoice" use="optional" default="unqualified"/>
-     <xs:attribute name="elementFormDefault" type="xs:formChoice" use="optional" default="unqualified"/>
-     <xs:attribute name="id" type="xs:ID"/>
-     <xs:attribute ref="xml:lang"/>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
-
-  <xs:key name="element">
-   <xs:selector xpath="xs:element"/>
-   <xs:field xpath="@name"/>
-  </xs:key>
-
-  <xs:key name="attribute">
-   <xs:selector xpath="xs:attribute"/>
-   <xs:field xpath="@name"/>
-  </xs:key>
-
-  <xs:key name="type">
-   <xs:selector xpath="xs:complexType|xs:simpleType"/>
-   <xs:field xpath="@name"/>
-  </xs:key>
- 
-  <xs:key name="group">
-   <xs:selector xpath="xs:group"/>
-   <xs:field xpath="@name"/>
-  </xs:key>
- 
-  <xs:key name="attributeGroup">
-   <xs:selector xpath="xs:attributeGroup"/>
-   <xs:field xpath="@name"/>
-  </xs:key>
- 
-  <xs:key name="notation">
-   <xs:selector xpath="xs:notation"/>
-   <xs:field xpath="@name"/>
-  </xs:key>
-
-  <xs:key name="identityConstraint">
-   <xs:selector xpath=".//xs:key|.//xs:unique|.//xs:keyref"/>
-   <xs:field xpath="@name"/>
-  </xs:key>
-
- </xs:element>
-
- <xs:simpleType name="allNNI">
-  <xs:annotation><xs:documentation>
-   for maxOccurs</xs:documentation></xs:annotation>
-  <xs:union memberTypes="xs:nonNegativeInteger">
-   <xs:simpleType>
-    <xs:restriction base="xs:NMTOKEN">
-     <xs:enumeration value="unbounded"/>
-    </xs:restriction>
-   </xs:simpleType>
-  </xs:union>
- </xs:simpleType>
-
- <xs:attributeGroup name="occurs">
-  <xs:annotation><xs:documentation>
-   for all particles</xs:documentation></xs:annotation>
-  <xs:attribute name="minOccurs" type="xs:nonNegativeInteger" use="optional" default="1"/>
-  <xs:attribute name="maxOccurs" type="xs:allNNI" use="optional" default="1"/>
- </xs:attributeGroup>
-
- <xs:attributeGroup name="defRef">
-  <xs:annotation><xs:documentation>
-   for element, group and attributeGroup,
-   which both define and reference</xs:documentation></xs:annotation>
-  <xs:attribute name="name" type="xs:NCName"/>
-  <xs:attribute name="ref" type="xs:QName"/>
- </xs:attributeGroup>
-
- <xs:group name="typeDefParticle">
-  <xs:annotation>
-    <xs:documentation>
-   'complexType' uses this</xs:documentation></xs:annotation>
-  <xs:choice>
-   <xs:element name="group" type="xs:groupRef"/>
-   <xs:element ref="xs:all"/>
-   <xs:element ref="xs:choice"/>
-   <xs:element ref="xs:sequence"/>
-  </xs:choice>
- </xs:group>
- 
- 
-
- <xs:group name="nestedParticle">
-  <xs:choice>
-   <xs:element name="element" type="xs:localElement"/>
-   <xs:element name="group" type="xs:groupRef"/>
-   <xs:element ref="xs:choice"/>
-   <xs:element ref="xs:sequence"/>
-   <xs:element ref="xs:any"/>
-  </xs:choice>
- </xs:group>
- 
- <xs:group name="particle">
-  <xs:choice>
-   <xs:element name="element" type="xs:localElement"/>
-   <xs:element name="group" type="xs:groupRef"/>
-   <xs:element ref="xs:all"/>
-   <xs:element ref="xs:choice"/>
-   <xs:element ref="xs:sequence"/>
-   <xs:element ref="xs:any"/>
-  </xs:choice>
- </xs:group>
- 
- <xs:complexType name="attribute">
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:sequence>
-     <xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType"/>
-    </xs:sequence>
-    <xs:attributeGroup ref="xs:defRef"/>
-    <xs:attribute name="type" type="xs:QName"/>
-    <xs:attribute name="use" use="optional" default="optional">
-     <xs:simpleType>
-      <xs:restriction base="xs:NMTOKEN">
-       <xs:enumeration value="prohibited"/>
-       <xs:enumeration value="optional"/>
-       <xs:enumeration value="required"/>
-      </xs:restriction>
-     </xs:simpleType>
-    </xs:attribute>
-    <xs:attribute name="default" type="xs:string"/>
-    <xs:attribute name="fixed" type="xs:string"/>
-    <xs:attribute name="form" type="xs:formChoice"/>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="topLevelAttribute">
-  <xs:complexContent>
-   <xs:restriction base="xs:attribute">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType"/>
-    </xs:sequence>
-    <xs:attribute name="ref" use="prohibited"/>
-    <xs:attribute name="form" use="prohibited"/>
-    <xs:attribute name="use" use="prohibited"/>
-    <xs:attribute name="name" use="required" type="xs:NCName"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:group name="attrDecls">
-  <xs:sequence>
-   <xs:choice minOccurs="0" maxOccurs="unbounded">
-    <xs:element name="attribute" type="xs:attribute"/>
-    <xs:element name="attributeGroup" type="xs:attributeGroupRef"/>
-   </xs:choice>
-   <xs:element ref="xs:anyAttribute" minOccurs="0"/>
-  </xs:sequence>
- </xs:group>
-
- <xs:element name="anyAttribute" type="xs:wildcard" id="anyAttribute">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-anyAttribute"/>
-  </xs:annotation>
- </xs:element>
-
- <xs:group name="complexTypeModel">
-  <xs:choice>
-      <xs:element ref="xs:simpleContent"/>
-      <xs:element ref="xs:complexContent"/>
-      <xs:sequence>
-       <xs:annotation>
-        <xs:documentation>
-   This branch is short for
-   &lt;complexContent>
-   &lt;restriction base="xs:anyType">
-   ...
-   &lt;/restriction>
-   &lt;/complexContent></xs:documentation>
-       </xs:annotation>
-       <xs:group ref="xs:typeDefParticle" minOccurs="0"/>
-       <xs:group ref="xs:attrDecls"/>
-      </xs:sequence>
-  </xs:choice>
- </xs:group>
-
- <xs:complexType name="complexType" abstract="true">
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:group ref="xs:complexTypeModel"/>
-    <xs:attribute name="name" type="xs:NCName">
-     <xs:annotation>
-      <xs:documentation>
-      Will be restricted to required or forbidden</xs:documentation>
-     </xs:annotation>
-    </xs:attribute>
-    <xs:attribute name="mixed" type="xs:boolean" use="optional" default="false">
-     <xs:annotation>
-      <xs:documentation>
-      Not allowed if simpleContent child is chosen.
-      May be overriden by setting on complexContent child.</xs:documentation>
-    </xs:annotation>
-    </xs:attribute>
-    <xs:attribute name="abstract" type="xs:boolean" use="optional" default="false"/>
-    <xs:attribute name="final" type="xs:derivationSet"/>
-    <xs:attribute name="block" type="xs:derivationSet"/>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="topLevelComplexType">
-  <xs:complexContent>
-   <xs:restriction base="xs:complexType">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:group ref="xs:complexTypeModel"/>
-    </xs:sequence>
-    <xs:attribute name="name" type="xs:NCName" use="required"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="localComplexType">
-  <xs:complexContent>
-   <xs:restriction base="xs:complexType">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:group ref="xs:complexTypeModel"/>
-    </xs:sequence>
-    <xs:attribute name="name" use="prohibited"/>
-    <xs:attribute name="abstract" use="prohibited"/>
-    <xs:attribute name="final" use="prohibited"/>
-    <xs:attribute name="block" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="restrictionType">
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:sequence>
-     <xs:choice minOccurs="0">
-      <xs:group ref="xs:typeDefParticle"/>
-      <xs:group ref="xs:simpleRestrictionModel"/>
-     </xs:choice>
-     <xs:group ref="xs:attrDecls"/>
-    </xs:sequence>
-    <xs:attribute name="base" type="xs:QName" use="required"/>
-   </xs:extension>
-  </xs:complexContent>       
- </xs:complexType>
-
- <xs:complexType name="complexRestrictionType">
-  <xs:complexContent>
-   <xs:restriction base="xs:restrictionType">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:choice minOccurs="0">
-      <xs:annotation>
-       <xs:documentation>This choice is added simply to
-                   make this a valid restriction per the REC</xs:documentation>
-      </xs:annotation>
-      <xs:group ref="xs:typeDefParticle"/>
-     </xs:choice>
-     <xs:group ref="xs:attrDecls"/>
-    </xs:sequence>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>       
- </xs:complexType>
-
- <xs:complexType name="extensionType">
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:sequence>
-     <xs:group ref="xs:typeDefParticle" minOccurs="0"/>
-     <xs:group ref="xs:attrDecls"/>
-    </xs:sequence>
-    <xs:attribute name="base" type="xs:QName" use="required"/>
-   </xs:extension>
-  </xs:complexContent>       
- </xs:complexType>
-
- <xs:element name="complexContent" id="complexContent">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-complexContent"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:annotated">
-     <xs:choice>
-      <xs:element name="restriction" type="xs:complexRestrictionType"/>
-      <xs:element name="extension" type="xs:extensionType"/>
-     </xs:choice>     
-     <xs:attribute name="mixed" type="xs:boolean">
-      <xs:annotation>
-       <xs:documentation>
-       Overrides any setting on complexType parent.</xs:documentation>
-      </xs:annotation>
-    </xs:attribute>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
- </xs:element>
-
- <xs:complexType name="simpleRestrictionType">
-  <xs:complexContent>
-   <xs:restriction base="xs:restrictionType">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:choice minOccurs="0">
-      <xs:annotation>
-       <xs:documentation>This choice is added simply to
-                   make this a valid restriction per the REC</xs:documentation>
-      </xs:annotation>
-      <xs:group ref="xs:simpleRestrictionModel"/>
-     </xs:choice>
-     <xs:group ref="xs:attrDecls"/>
-    </xs:sequence>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:complexType name="simpleExtensionType">
-  <xs:complexContent>
-   <xs:restriction base="xs:extensionType">
-    <xs:sequence>
-     <xs:annotation>
-      <xs:documentation>
-      No typeDefParticle group reference</xs:documentation>
-     </xs:annotation>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:group ref="xs:attrDecls"/>
-    </xs:sequence>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:element name="simpleContent" id="simpleContent">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-simpleContent"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:annotated">
-     <xs:choice>
-      <xs:element name="restriction" type="xs:simpleRestrictionType"/>
-      <xs:element name="extension" type="xs:simpleExtensionType"/>
-     </xs:choice>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
- </xs:element>
- 
- <xs:element name="complexType" type="xs:topLevelComplexType" id="complexType">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-complexType"/>
-  </xs:annotation>
- </xs:element>
-
-
-  <xs:simpleType name="blockSet">
-   <xs:annotation>
-    <xs:documentation>
-    A utility type, not for public use</xs:documentation>
-    <xs:documentation>
-    #all or (possibly empty) subset of {substitution, extension,
-    restriction}</xs:documentation>
-   </xs:annotation>
-   <xs:union>
-    <xs:simpleType>    
-     <xs:restriction base="xs:token">
-      <xs:enumeration value="#all"/>
-     </xs:restriction>
-    </xs:simpleType>
-    <xs:simpleType>
-     <xs:list>
-      <xs:simpleType>
-       <xs:restriction base="xs:derivationControl">
-        <xs:enumeration value="extension"/>
-        <xs:enumeration value="restriction"/>
-        <xs:enumeration value="substitution"/>
-       </xs:restriction>
-      </xs:simpleType>
-     </xs:list>
-    </xs:simpleType>
-   </xs:union>  
-  </xs:simpleType>
-
- <xs:complexType name="element" abstract="true">
-  <xs:annotation>
-   <xs:documentation>
-   The element element can be used either
-   at the top level to define an element-type binding globally,
-   or within a content model to either reference a globally-defined
-   element or type or declare an element-type binding locally.
-   The ref form is not allowed at the top level.</xs:documentation>
-  </xs:annotation>
-
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:sequence>
-     <xs:choice minOccurs="0">
-      <xs:element name="simpleType" type="xs:localSimpleType"/>
-      <xs:element name="complexType" type="xs:localComplexType"/>
-     </xs:choice>
-     <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attributeGroup ref="xs:defRef"/>
-    <xs:attribute name="type" type="xs:QName"/>
-    <xs:attribute name="substitutionGroup" type="xs:QName"/>
-    <xs:attributeGroup ref="xs:occurs"/>
-    <xs:attribute name="default" type="xs:string"/>
-    <xs:attribute name="fixed" type="xs:string"/>
-    <xs:attribute name="nillable" type="xs:boolean" use="optional" default="false"/>
-    <xs:attribute name="abstract" type="xs:boolean" use="optional" default="false"/>
-    <xs:attribute name="final" type="xs:derivationSet"/>
-    <xs:attribute name="block" type="xs:blockSet"/>
-    <xs:attribute name="form" type="xs:formChoice"/>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="topLevelElement">
-  <xs:complexContent>
-   <xs:restriction base="xs:element">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:choice minOccurs="0">
-      <xs:element name="simpleType" type="xs:localSimpleType"/>
-      <xs:element name="complexType" type="xs:localComplexType"/>
-     </xs:choice>
-     <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attribute name="ref" use="prohibited"/>
-    <xs:attribute name="form" use="prohibited"/>
-    <xs:attribute name="minOccurs" use="prohibited"/>
-    <xs:attribute name="maxOccurs" use="prohibited"/>
-    <xs:attribute name="name" use="required" type="xs:NCName"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="localElement">
-  <xs:complexContent>
-   <xs:restriction base="xs:element">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:choice minOccurs="0">
-      <xs:element name="simpleType" type="xs:localSimpleType"/>
-      <xs:element name="complexType" type="xs:localComplexType"/>
-     </xs:choice>
-     <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attribute name="substitutionGroup" use="prohibited"/>
-    <xs:attribute name="final" use="prohibited"/>
-    <xs:attribute name="abstract" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:element name="element" type="xs:topLevelElement" id="element">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-element"/>
-  </xs:annotation>
- </xs:element>
-
- <xs:complexType name="group" abstract="true">
-  <xs:annotation>
-   <xs:documentation>
-   group type for explicit groups, named top-level groups and
-   group references</xs:documentation>
-  </xs:annotation>
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:group ref="xs:particle" minOccurs="0" maxOccurs="unbounded"/>
-    <xs:attributeGroup ref="xs:defRef"/>
-    <xs:attributeGroup ref="xs:occurs"/>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="realGroup">
-  <xs:complexContent>
-   <xs:restriction base="xs:group">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:choice minOccurs="0" maxOccurs="1">
-      <xs:element ref="xs:all"/>
-      <xs:element ref="xs:choice"/>
-      <xs:element ref="xs:sequence"/>
-     </xs:choice>
-    </xs:sequence>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:complexType name="namedGroup">
-  <xs:complexContent>
-   <xs:restriction base="xs:realGroup">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:choice minOccurs="1" maxOccurs="1">
-      <xs:element name="all">
-       <xs:complexType>
-        <xs:complexContent>
-         <xs:restriction base="xs:all">
-          <xs:group ref="xs:allModel"/>
-          <xs:attribute name="minOccurs" use="prohibited"/>
-          <xs:attribute name="maxOccurs" use="prohibited"/>
-          <xs:anyAttribute namespace="##other" processContents="lax"/>
-         </xs:restriction>
-        </xs:complexContent>
-       </xs:complexType>
-      </xs:element>
-      <xs:element name="choice" type="xs:simpleExplicitGroup"/>
-      <xs:element name="sequence" type="xs:simpleExplicitGroup"/>
-     </xs:choice>
-    </xs:sequence>
-    <xs:attribute name="name" use="required" type="xs:NCName"/>
-    <xs:attribute name="ref" use="prohibited"/>
-    <xs:attribute name="minOccurs" use="prohibited"/>
-    <xs:attribute name="maxOccurs" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:complexType name="groupRef">
-  <xs:complexContent>
-   <xs:restriction base="xs:realGroup">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-    </xs:sequence>
-    <xs:attribute name="ref" use="required" type="xs:QName"/>
-    <xs:attribute name="name" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:complexType name="explicitGroup">
-  <xs:annotation>
-   <xs:documentation>
-   group type for the three kinds of group</xs:documentation>
-  </xs:annotation>
-  <xs:complexContent>
-   <xs:restriction base="xs:group">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:group ref="xs:nestedParticle" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attribute name="name" type="xs:NCName" use="prohibited"/>
-    <xs:attribute name="ref" type="xs:QName" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="simpleExplicitGroup">
-  <xs:complexContent>
-   <xs:restriction base="xs:explicitGroup">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:group ref="xs:nestedParticle" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attribute name="minOccurs" use="prohibited"/>
-    <xs:attribute name="maxOccurs" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:group name="allModel">
-  <xs:sequence>
-      <xs:element ref="xs:annotation" minOccurs="0"/>
-      <xs:choice minOccurs="0" maxOccurs="unbounded">
-       <xs:annotation>
-        <xs:documentation>This choice with min/max is here to
-                          avoid a pblm with the Elt:All/Choice/Seq
-                          Particle derivation constraint</xs:documentation>
-       </xs:annotation>
-       <xs:element name="element" type="xs:narrowMaxMin"/>
-      </xs:choice>
-     </xs:sequence>
- </xs:group>
- 
- 
- <xs:complexType name="narrowMaxMin">
-  <xs:annotation>
-   <xs:documentation>restricted max/min</xs:documentation>
-  </xs:annotation>
-  <xs:complexContent>
-   <xs:restriction base="xs:localElement">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:choice minOccurs="0">
-      <xs:element name="simpleType" type="xs:localSimpleType"/>
-      <xs:element name="complexType" type="xs:localComplexType"/>
-     </xs:choice>
-     <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attribute name="minOccurs" use="optional" default="1">
-     <xs:simpleType>
-      <xs:restriction base="xs:nonNegativeInteger">
-       <xs:enumeration value="0"/>
-       <xs:enumeration value="1"/>
-      </xs:restriction>
-     </xs:simpleType>
-    </xs:attribute>
-    <xs:attribute name="maxOccurs" use="optional" default="1">
-     <xs:simpleType>
-      <xs:restriction base="xs:allNNI">
-       <xs:enumeration value="0"/>
-       <xs:enumeration value="1"/>
-      </xs:restriction>
-     </xs:simpleType>
-    </xs:attribute>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
-  <xs:complexType name="all">
-   <xs:annotation>
-    <xs:documentation>
-   Only elements allowed inside</xs:documentation>
-   </xs:annotation>
-   <xs:complexContent>
-    <xs:restriction base="xs:explicitGroup">
-     <xs:group ref="xs:allModel"/>
-     <xs:attribute name="minOccurs" use="optional" default="1">
-      <xs:simpleType>
-       <xs:restriction base="xs:nonNegativeInteger">
-        <xs:enumeration value="0"/>
-        <xs:enumeration value="1"/>
-       </xs:restriction>
-      </xs:simpleType>
-     </xs:attribute>
-     <xs:attribute name="maxOccurs" use="optional" default="1">
-      <xs:simpleType>
-       <xs:restriction base="xs:allNNI">
-        <xs:enumeration value="1"/>
-       </xs:restriction>
-      </xs:simpleType>
-     </xs:attribute>
-     <xs:anyAttribute namespace="##other" processContents="lax"/>
-    </xs:restriction>
-   </xs:complexContent>
-  </xs:complexType>
-
- <xs:element name="all" id="all" type="xs:all">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-all"/>
-  </xs:annotation>
- </xs:element>
-
- <xs:element name="choice" type="xs:explicitGroup" id="choice">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-choice"/>
-  </xs:annotation>
- </xs:element>
-
- <xs:element name="sequence" type="xs:explicitGroup" id="sequence">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-sequence"/>
-  </xs:annotation>
- </xs:element>
-
- <xs:element name="group" type="xs:namedGroup" id="group">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-group"/>
-  </xs:annotation>
- </xs:element>
-
- <xs:complexType name="wildcard">
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:attribute name="namespace" type="xs:namespaceList" use="optional" default="##any"/>
-    <xs:attribute name="processContents" use="optional" default="strict">
-     <xs:simpleType>
-      <xs:restriction base="xs:NMTOKEN">
-       <xs:enumeration value="skip"/>
-       <xs:enumeration value="lax"/>
-       <xs:enumeration value="strict"/>
-      </xs:restriction>
-     </xs:simpleType>
-    </xs:attribute>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:element name="any" id="any">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-any"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:wildcard">
-     <xs:attributeGroup ref="xs:occurs"/>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
- </xs:element>
-
-  <xs:annotation>
-   <xs:documentation>
-   simple type for the value of the 'namespace' attr of
-   'any' and 'anyAttribute'</xs:documentation>
-  </xs:annotation>
-  <xs:annotation>
-   <xs:documentation>
-   Value is
-              ##any      - - any non-conflicting WFXML/attribute at all
-
-              ##other    - - any non-conflicting WFXML/attribute from
-                              namespace other than targetNS
-
-              ##local    - - any unqualified non-conflicting WFXML/attribute 
-
-              one or     - - any non-conflicting WFXML/attribute from
-              more URI        the listed namespaces
-              references
-              (space separated)
-
-    ##targetNamespace or ##local may appear in the above list, to
-        refer to the targetNamespace of the enclosing
-        schema or an absent targetNamespace respectively</xs:documentation>
-  </xs:annotation>
-
- <xs:simpleType name="namespaceList">
-  <xs:annotation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-  </xs:annotation>
-  <xs:union>
-   <xs:simpleType>
-    <xs:restriction base="xs:token">
-     <xs:enumeration value="##any"/>
-     <xs:enumeration value="##other"/>
-    </xs:restriction>
-   </xs:simpleType>
-   <xs:simpleType>
-    <xs:list>
-     <xs:simpleType>
-      <xs:union memberTypes="xs:anyURI">
-       <xs:simpleType>
-        <xs:restriction base="xs:token">
-         <xs:enumeration value="##targetNamespace"/>
-         <xs:enumeration value="##local"/>
-        </xs:restriction>
-       </xs:simpleType>
-      </xs:union>
-     </xs:simpleType>
-    </xs:list>
-   </xs:simpleType>
-  </xs:union>
- </xs:simpleType>
-
- <xs:element name="attribute" type="xs:topLevelAttribute" id="attribute">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-attribute"/>
-  </xs:annotation>
- </xs:element>
-
- <xs:complexType name="attributeGroup" abstract="true">
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:group ref="xs:attrDecls"/>
-    <xs:attributeGroup ref="xs:defRef"/>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="namedAttributeGroup">
-  <xs:complexContent>
-   <xs:restriction base="xs:attributeGroup">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:group ref="xs:attrDecls"/>
-    </xs:sequence>
-    <xs:attribute name="name" use="required" type="xs:NCName"/>
-    <xs:attribute name="ref" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:complexType name="attributeGroupRef">
-  <xs:complexContent>
-   <xs:restriction base="xs:attributeGroup">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-    </xs:sequence>
-    <xs:attribute name="ref" use="required" type="xs:QName"/>
-    <xs:attribute name="name" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:element name="attributeGroup" type="xs:namedAttributeGroup" id="attributeGroup">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-attributeGroup"/>
-  </xs:annotation>
- </xs:element>
-
- <xs:element name="include" id="include">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-include"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:annotated">
-     <xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
- </xs:element>
-
- <xs:element name="redefine" id="redefine">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-redefine"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:openAttrs">
-     <xs:choice minOccurs="0" maxOccurs="unbounded">
-      <xs:element ref="xs:annotation"/>
-      <xs:group ref="xs:redefinable"/>
-     </xs:choice>
-     <xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/>
-     <xs:attribute name="id" type="xs:ID"/>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
- </xs:element>
-
- <xs:element name="import" id="import">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-import"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:annotated">
-     <xs:attribute name="namespace" type="xs:anyURI"/>
-     <xs:attribute name="schemaLocation" type="xs:anyURI"/>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
- </xs:element>
-
- <xs:element name="selector" id="selector">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-selector"/>
-  </xs:annotation>
-  <xs:complexType>
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-     <xs:attribute name="xpath" use="required">
-      <xs:simpleType>
-       <xs:annotation>
-        <xs:documentation>A subset of XPath expressions for use
-in selectors</xs:documentation>
-        <xs:documentation>A utility type, not for public
-use</xs:documentation>
-       </xs:annotation>
-       <xs:restriction base="xs:token">
-        <xs:annotation>
-         <xs:documentation>The following pattern is intended to allow XPath
-                           expressions per the following EBNF:
-          Selector    ::=    Path ( '|' Path )*  
-          Path    ::=    ('.//')? Step ( '/' Step )*  
-          Step    ::=    '.' | NameTest  
-          NameTest    ::=    QName | '*' | NCName ':' '*'  
-                           child:: is also allowed
-         </xs:documentation>
-        </xs:annotation>
-        <xs:pattern value="(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*(\|(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*)*">
-        </xs:pattern>
-       </xs:restriction>
-      </xs:simpleType>
-     </xs:attribute>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="field" id="field">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-field"/>
-  </xs:annotation>
-  <xs:complexType>
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-     <xs:attribute name="xpath" use="required">
-      <xs:simpleType>
-       <xs:annotation>
-        <xs:documentation>A subset of XPath expressions for use
-in fields</xs:documentation>
-        <xs:documentation>A utility type, not for public
-use</xs:documentation>
-       </xs:annotation>
-       <xs:restriction base="xs:token">
-        <xs:annotation>
-         <xs:documentation>The following pattern is intended to allow XPath
-                           expressions per the same EBNF as for selector,
-                           with the following change:
-          Path    ::=    ('.//')? ( Step '/' )* ( Step | '@' NameTest ) 
-         </xs:documentation>
-        </xs:annotation>
-        <xs:pattern value="(\.//)?((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)/)*((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)|((attribute::|@)((\i\c*:)?(\i\c*|\*))))(\|(\.//)?((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)/)*((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)|((attribute::|@)((\i\c*:)?(\i\c*|\*)))))*">
-        </xs:pattern>
-       </xs:restriction>
-      </xs:simpleType>
-     </xs:attribute>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
- </xs:element>
-
- <xs:complexType name="keybase">
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:sequence>
-     <xs:element ref="xs:selector"/>
-     <xs:element ref="xs:field" minOccurs="1" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attribute name="name" type="xs:NCName" use="required"/>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:group name="identityConstraint">
-  <xs:annotation>
-   <xs:documentation>The three kinds of identity constraints, all with
-                     type of or derived from 'keybase'.
-   </xs:documentation>
-  </xs:annotation>
-  <xs:choice>
-   <xs:element ref="xs:unique"/>
-   <xs:element ref="xs:key"/>
-   <xs:element ref="xs:keyref"/>
-  </xs:choice>
- </xs:group>
-
- <xs:element name="unique" type="xs:keybase" id="unique">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-unique"/>
-  </xs:annotation>
- </xs:element>
- <xs:element name="key" type="xs:keybase" id="key">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-key"/>
-  </xs:annotation>
- </xs:element>
- <xs:element name="keyref" id="keyref">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-keyref"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:keybase">
-     <xs:attribute name="refer" type="xs:QName" use="required"/>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
- </xs:element>
-
- <xs:element name="notation" id="notation">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-notation"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:annotated">
-     <xs:attribute name="name" type="xs:NCName" use="required"/>
-     <xs:attribute name="public" type="xs:public"/>
-     <xs:attribute name="system" type="xs:anyURI"/>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
- </xs:element>
-
- <xs:simpleType name="public">
-  <xs:annotation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-   <xs:documentation>
-   A public identifier, per ISO 8879</xs:documentation>
-  </xs:annotation>
-  <xs:restriction base="xs:token"/>
- </xs:simpleType>
-
- <xs:element name="appinfo" id="appinfo">
-   <xs:annotation>
-     <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-appinfo"/>
-   </xs:annotation>
-   <xs:complexType mixed="true">
-    <xs:sequence minOccurs="0" maxOccurs="unbounded">
-     <xs:any processContents="lax"/>
-    </xs:sequence>
-    <xs:attribute name="source" type="xs:anyURI"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:complexType>
- </xs:element>
-
- <xs:element name="documentation" id="documentation">
-   <xs:annotation>
-     <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-documentation"/>
-   </xs:annotation>
-   <xs:complexType mixed="true">
-    <xs:sequence minOccurs="0" maxOccurs="unbounded">
-     <xs:any processContents="lax"/>
-    </xs:sequence>
-    <xs:attribute name="source" type="xs:anyURI"/>
-    <xs:attribute ref="xml:lang"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:complexType>
- </xs:element>
-
- <xs:element name="annotation" id="annotation">
-   <xs:annotation>
-     <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-annotation"/>
-   </xs:annotation>
-   <xs:complexType>
-    <xs:complexContent>
-     <xs:extension base="xs:openAttrs">
-      <xs:choice minOccurs="0" maxOccurs="unbounded">
-       <xs:element ref="xs:appinfo"/>
-       <xs:element ref="xs:documentation"/>
-      </xs:choice>
-      <xs:attribute name="id" type="xs:ID"/>
-     </xs:extension>
-    </xs:complexContent>
-   </xs:complexType>
- </xs:element>
-
- <xs:annotation>
-  <xs:documentation>
-   notations for use within XML Schema schemas</xs:documentation>
- </xs:annotation>
-
- <xs:notation name="XMLSchemaStructures" public="structures" system="http://www.w3.org/2000/08/XMLSchema.xsd"/>
- <xs:notation name="XML" public="REC-xml-19980210" system="http://www.w3.org/TR/1998/REC-xml-19980210"/>
-  
- <xs:complexType name="anyType" mixed="true">
-  <xs:annotation>
-   <xs:documentation>
-   Not the real urType, but as close an approximation as we can
-   get in the XML representation</xs:documentation>
-  </xs:annotation>
-  <xs:sequence>
-   <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
-  </xs:sequence>
-  <xs:anyAttribute processContents="lax"/>
- </xs:complexType>
-
-  <xs:annotation>
-    <xs:documentation>
-      First the built-in primitive datatypes.  These definitions are for
-      information only, the real built-in definitions are magic.
-    </xs:documentation>
-
-    <xs:documentation>
-      For each built-in datatype in this schema (both primitive and
-      derived) can be uniquely addressed via a URI constructed
-      as follows:
-        1) the base URI is the URI of the XML Schema namespace
-        2) the fragment identifier is the name of the datatype
-
-      For example, to address the int datatype, the URI is:
-
-        http://www.w3.org/2001/XMLSchema#int
-
-      Additionally, each facet definition element can be uniquely
-      addressed via a URI constructed as follows:
-        1) the base URI is the URI of the XML Schema namespace
-        2) the fragment identifier is the name of the facet
-
-      For example, to address the maxInclusive facet, the URI is:
-
-        http://www.w3.org/2001/XMLSchema#maxInclusive
-
-      Additionally, each facet usage in a built-in datatype definition
-      can be uniquely addressed via a URI constructed as follows:
-        1) the base URI is the URI of the XML Schema namespace
-        2) the fragment identifier is the name of the datatype, followed
-           by a period (".") followed by the name of the facet
-
-      For example, to address the usage of the maxInclusive facet in
-      the definition of int, the URI is:
-
-        http://www.w3.org/2001/XMLSchema#int.maxInclusive
-
-    </xs:documentation>
-  </xs:annotation>
-
-  <xs:simpleType name="string" id="string">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality" value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-                source="http://www.w3.org/TR/xmlschema-2/#string"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="preserve" id="string.preserve"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="boolean" id="boolean">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality" value="finite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#boolean"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse" fixed="true"
-        id="boolean.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="float" id="float">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="total"/>
-        <hfp:hasProperty name="bounded" value="true"/>
-        <hfp:hasProperty name="cardinality" value="finite"/>
-        <hfp:hasProperty name="numeric" value="true"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#float"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse" fixed="true"
-        id="float.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="double" id="double">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="total"/>
-        <hfp:hasProperty name="bounded" value="true"/>
-        <hfp:hasProperty name="cardinality" value="finite"/>
-        <hfp:hasProperty name="numeric" value="true"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#double"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="double.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="decimal" id="decimal">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="totalDigits"/>
-        <hfp:hasFacet name="fractionDigits"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="total"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="true"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#decimal"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="decimal.whiteSpace"/>
-    </xs:restriction>
-   </xs:simpleType>
-
-   <xs:simpleType name="duration" id="duration">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#duration"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="duration.whiteSpace"/>
-    </xs:restriction>
-   </xs:simpleType>
-
- <xs:simpleType name="dateTime" id="dateTime">
-    <xs:annotation>
-    <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#dateTime"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="dateTime.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="time" id="time">
-    <xs:annotation>
-    <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#time"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="time.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="date" id="date">
-   <xs:annotation>
-    <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#date"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="date.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="gYearMonth" id="gYearMonth">
-   <xs:annotation>
-    <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#gYearMonth"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="gYearMonth.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="gYear" id="gYear">
-    <xs:annotation>
-    <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#gYear"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="gYear.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
- <xs:simpleType name="gMonthDay" id="gMonthDay">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-       <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#gMonthDay"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-         <xs:whiteSpace value="collapse" fixed="true"
-                id="gMonthDay.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="gDay" id="gDay">
-    <xs:annotation>
-  <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#gDay"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-         <xs:whiteSpace value="collapse"  fixed="true"
-                id="gDay.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
- <xs:simpleType name="gMonth" id="gMonth">
-    <xs:annotation>
-  <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#gMonth"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-         <xs:whiteSpace value="collapse"  fixed="true"
-                id="gMonth.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-   <xs:simpleType name="hexBinary" id="hexBinary">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#binary"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse" fixed="true"
-        id="hexBinary.whiteSpace"/>
-    </xs:restriction>
-   </xs:simpleType>
-
- <xs:simpleType name="base64Binary" id="base64Binary">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-                source="http://www.w3.org/TR/xmlschema-2/#base64Binary"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse" fixed="true"
-        id="base64Binary.whiteSpace"/>
-    </xs:restriction>
-   </xs:simpleType>
-
-   <xs:simpleType name="anyURI" id="anyURI">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#anyURI"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="anyURI.whiteSpace"/>
-    </xs:restriction>
-   </xs:simpleType>
-
-  <xs:simpleType name="QName" id="QName">
-    <xs:annotation>
-        <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#QName"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="QName.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-   <xs:simpleType name="NOTATION" id="NOTATION">
-    <xs:annotation>
-        <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#NOTATION"/>
-      <xs:documentation>
-        NOTATION cannot be used directly in a schema; rather a type
-        must be derived from it by specifying at least one enumeration
-        facet whose value is the name of a NOTATION declared in the
-        schema.
-      </xs:documentation>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="NOTATION.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:annotation>
-    <xs:documentation>
-      Now the derived primitive types
-    </xs:documentation>
-  </xs:annotation>
-
-  <xs:simpleType name="normalizedString" id="normalizedString">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#normalizedString"/>
-    </xs:annotation>
-    <xs:restriction base="xs:string">
-      <xs:whiteSpace value="replace"
-        id="normalizedString.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="token" id="token">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#token"/>
-    </xs:annotation>
-    <xs:restriction base="xs:normalizedString">
-      <xs:whiteSpace value="collapse" id="token.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="language" id="language">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#language"/>
-    </xs:annotation>
-    <xs:restriction base="xs:token">
-      <xs:pattern
-        value="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"
-                id="language.pattern">
-        <xs:annotation>
-          <xs:documentation
-                source="http://www.ietf.org/rfc/rfc3066.txt">
-            pattern specifies the content of section 2.12 of XML 1.0e2
-            and RFC 3066 (Revised version of RFC 1766).
-          </xs:documentation>
-        </xs:annotation>
-      </xs:pattern>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="IDREFS" id="IDREFS">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#IDREFS"/>
-    </xs:annotation>
-    <xs:restriction>
-      <xs:simpleType>
-        <xs:list itemType="xs:IDREF"/>
-      </xs:simpleType>
-        <xs:minLength value="1" id="IDREFS.minLength"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="ENTITIES" id="ENTITIES">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#ENTITIES"/>
-    </xs:annotation>
-    <xs:restriction>
-      <xs:simpleType>
-        <xs:list itemType="xs:ENTITY"/>
-      </xs:simpleType>
-        <xs:minLength value="1" id="ENTITIES.minLength"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="NMTOKEN" id="NMTOKEN">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#NMTOKEN"/>
-    </xs:annotation>
-    <xs:restriction base="xs:token">
-      <xs:pattern value="\c+" id="NMTOKEN.pattern">
-        <xs:annotation>
-          <xs:documentation
-                source="http://www.w3.org/TR/REC-xml#NT-Nmtoken">
-            pattern matches production 7 from the XML spec
-          </xs:documentation>
-        </xs:annotation>
-      </xs:pattern>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="NMTOKENS" id="NMTOKENS">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#NMTOKENS"/>
-    </xs:annotation>
-    <xs:restriction>
-      <xs:simpleType>
-        <xs:list itemType="xs:NMTOKEN"/>
-      </xs:simpleType>
-        <xs:minLength value="1" id="NMTOKENS.minLength"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="Name" id="Name">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#Name"/>
-    </xs:annotation>
-    <xs:restriction base="xs:token">
-      <xs:pattern value="\i\c*" id="Name.pattern">
-        <xs:annotation>
-          <xs:documentation
-                        source="http://www.w3.org/TR/REC-xml#NT-Name">
-            pattern matches production 5 from the XML spec
-          </xs:documentation>
-        </xs:annotation>
-      </xs:pattern>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="NCName" id="NCName">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#NCName"/>
-    </xs:annotation>
-    <xs:restriction base="xs:Name">
-      <xs:pattern value="[\i-[:]][\c-[:]]*" id="NCName.pattern">
-        <xs:annotation>
-          <xs:documentation
-                source="http://www.w3.org/TR/REC-xml-names/#NT-NCName">
-            pattern matches production 4 from the Namespaces in XML spec
-          </xs:documentation>
-        </xs:annotation>
-      </xs:pattern>
-    </xs:restriction>
-  </xs:simpleType>
-
-   <xs:simpleType name="ID" id="ID">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#ID"/>
-    </xs:annotation>
-    <xs:restriction base="xs:NCName"/>
-   </xs:simpleType>
-
-   <xs:simpleType name="IDREF" id="IDREF">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#IDREF"/>
-    </xs:annotation>
-    <xs:restriction base="xs:NCName"/>
-   </xs:simpleType>
-
-   <xs:simpleType name="ENTITY" id="ENTITY">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#ENTITY"/>
-    </xs:annotation>
-    <xs:restriction base="xs:NCName"/>
-   </xs:simpleType>
-
-  <xs:simpleType name="integer" id="integer">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#integer"/>
-    </xs:annotation>
-    <xs:restriction base="xs:decimal">
-      <xs:fractionDigits value="0" fixed="true" id="integer.fractionDigits"/>
-      <xs:pattern value="[\-+]?[0-9]+"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="nonPositiveInteger" id="nonPositiveInteger">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger"/>
-    </xs:annotation>
-    <xs:restriction base="xs:integer">
-      <xs:maxInclusive value="0" id="nonPositiveInteger.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="negativeInteger" id="negativeInteger">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#negativeInteger"/>
-    </xs:annotation>
-    <xs:restriction base="xs:nonPositiveInteger">
-      <xs:maxInclusive value="-1" id="negativeInteger.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="long" id="long">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasProperty name="bounded" value="true"/>
-        <hfp:hasProperty name="cardinality" value="finite"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#long"/>
-    </xs:annotation>
-    <xs:restriction base="xs:integer">
-      <xs:minInclusive value="-9223372036854775808" id="long.minInclusive"/>
-      <xs:maxInclusive value="9223372036854775807" id="long.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="int" id="int">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#int"/>
-    </xs:annotation>
-    <xs:restriction base="xs:long">
-      <xs:minInclusive value="-2147483648" id="int.minInclusive"/>
-      <xs:maxInclusive value="2147483647" id="int.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="short" id="short">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#short"/>
-    </xs:annotation>
-    <xs:restriction base="xs:int">
-      <xs:minInclusive value="-32768" id="short.minInclusive"/>
-      <xs:maxInclusive value="32767" id="short.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="byte" id="byte">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#byte"/>
-    </xs:annotation>
-    <xs:restriction base="xs:short">
-      <xs:minInclusive value="-128" id="byte.minInclusive"/>
-      <xs:maxInclusive value="127" id="byte.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="nonNegativeInteger" id="nonNegativeInteger">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger"/>
-    </xs:annotation>
-    <xs:restriction base="xs:integer">
-      <xs:minInclusive value="0" id="nonNegativeInteger.minInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="unsignedLong" id="unsignedLong">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasProperty name="bounded" value="true"/>
-        <hfp:hasProperty name="cardinality" value="finite"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#unsignedLong"/>
-    </xs:annotation>
-    <xs:restriction base="xs:nonNegativeInteger">
-      <xs:maxInclusive value="18446744073709551615"
-        id="unsignedLong.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="unsignedInt" id="unsignedInt">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#unsignedInt"/>
-    </xs:annotation>
-    <xs:restriction base="xs:unsignedLong">
-      <xs:maxInclusive value="4294967295"
-        id="unsignedInt.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="unsignedShort" id="unsignedShort">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#unsignedShort"/>
-    </xs:annotation>
-    <xs:restriction base="xs:unsignedInt">
-      <xs:maxInclusive value="65535"
-        id="unsignedShort.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="unsignedByte" id="unsignedByte">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#unsignedByte"/>
-    </xs:annotation>
-    <xs:restriction base="xs:unsignedShort">
-      <xs:maxInclusive value="255" id="unsignedByte.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="positiveInteger" id="positiveInteger">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#positiveInteger"/>
-    </xs:annotation>
-    <xs:restriction base="xs:nonNegativeInteger">
-      <xs:minInclusive value="1" id="positiveInteger.minInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
- <xs:simpleType name="derivationControl">
-  <xs:annotation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-  </xs:annotation>
-  <xs:restriction base="xs:NMTOKEN">
-   <xs:enumeration value="substitution"/>
-   <xs:enumeration value="extension"/>
-   <xs:enumeration value="restriction"/>
-   <xs:enumeration value="list"/>
-   <xs:enumeration value="union"/>
-  </xs:restriction>
- </xs:simpleType>
-
- <xs:group name="simpleDerivation">
-  <xs:choice>
-    <xs:element ref="xs:restriction"/>
-    <xs:element ref="xs:list"/>
-    <xs:element ref="xs:union"/>
-  </xs:choice>
- </xs:group>
-
- <xs:simpleType name="simpleDerivationSet">
-  <xs:annotation>
-   <xs:documentation>
-   #all or (possibly empty) subset of {restriction, union, list}
-   </xs:documentation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-  </xs:annotation>
-  <xs:union>
-   <xs:simpleType>
-    <xs:restriction base="xs:token">
-     <xs:enumeration value="#all"/>
-    </xs:restriction>
-   </xs:simpleType>
-   <xs:simpleType>
-    <xs:list>
-     <xs:simpleType>
-      <xs:restriction base="xs:derivationControl">
-       <xs:enumeration value="list"/>
-       <xs:enumeration value="union"/>
-       <xs:enumeration value="restriction"/>
-      </xs:restriction>
-     </xs:simpleType>
-    </xs:list>
-   </xs:simpleType>
-  </xs:union>
- </xs:simpleType>
-
-  <xs:complexType name="simpleType" abstract="true">
-    <xs:complexContent>
-      <xs:extension base="xs:annotated">
-        <xs:group ref="xs:simpleDerivation"/>
-        <xs:attribute name="final" type="xs:simpleDerivationSet"/>
-        <xs:attribute name="name" type="xs:NCName">
-          <xs:annotation>
-            <xs:documentation>
-              Can be restricted to required or forbidden
-            </xs:documentation>
-          </xs:annotation>
-        </xs:attribute>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="topLevelSimpleType">
-    <xs:complexContent>
-      <xs:restriction base="xs:simpleType">
-        <xs:sequence>
-          <xs:element ref="xs:annotation" minOccurs="0"/>
-          <xs:group ref="xs:simpleDerivation"/>
-        </xs:sequence>
-        <xs:attribute name="name" use="required"
-             type="xs:NCName">
-          <xs:annotation>
-            <xs:documentation>
-              Required at the top level
-            </xs:documentation>
-          </xs:annotation>
-        </xs:attribute>
-       <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="localSimpleType">
-    <xs:complexContent>
-      <xs:restriction base="xs:simpleType">
-        <xs:sequence>
-          <xs:element ref="xs:annotation" minOccurs="0"/>
-          <xs:group ref="xs:simpleDerivation"/>
-        </xs:sequence>
-        <xs:attribute name="name" use="prohibited">
-          <xs:annotation>
-            <xs:documentation>
-              Forbidden when nested
-            </xs:documentation>
-          </xs:annotation>
-        </xs:attribute>
-        <xs:attribute name="final" use="prohibited"/>
-       <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:element name="simpleType" type="xs:topLevelSimpleType" id="simpleType">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-simpleType"/>
-    </xs:annotation>
-  </xs:element>
-
-  <xs:group name="facets">
-   <xs:annotation>
-    <xs:documentation>
-       We should use a substitution group for facets, but
-       that's ruled out because it would allow users to
-       add their own, which we're not ready for yet.
-    </xs:documentation>
-   </xs:annotation>
-   <xs:choice>
-    <xs:element ref="xs:minExclusive"/>
-    <xs:element ref="xs:minInclusive"/>
-    <xs:element ref="xs:maxExclusive"/>
-    <xs:element ref="xs:maxInclusive"/>
-    <xs:element ref="xs:totalDigits"/>
-    <xs:element ref="xs:fractionDigits"/>
-    <xs:element ref="xs:length"/>
-    <xs:element ref="xs:minLength"/>
-    <xs:element ref="xs:maxLength"/>
-    <xs:element ref="xs:enumeration"/>
-    <xs:element ref="xs:whiteSpace"/>
-    <xs:element ref="xs:pattern"/>
-   </xs:choice>
-  </xs:group>
-
-  <xs:group name="simpleRestrictionModel">
-   <xs:sequence>
-    <xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"/>
-    <xs:group ref="xs:facets" minOccurs="0" maxOccurs="unbounded"/>
-   </xs:sequence>
-  </xs:group>
-
-  <xs:element name="restriction" id="restriction">
-   <xs:complexType>
-    <xs:annotation>
-      <xs:documentation
-                source="http://www.w3.org/TR/xmlschema-2/#element-restriction">
-          base attribute and simpleType child are mutually
-          exclusive, but one or other is required
-        </xs:documentation>
-      </xs:annotation>
-      <xs:complexContent>
-        <xs:extension base="xs:annotated">
-         <xs:group ref="xs:simpleRestrictionModel"/>
-         <xs:attribute name="base" type="xs:QName" use="optional"/>
-        </xs:extension>
-      </xs:complexContent>
-    </xs:complexType>
-  </xs:element>
-
-  <xs:element name="list" id="list">
-   <xs:complexType>
-    <xs:annotation>
-      <xs:documentation
-                source="http://www.w3.org/TR/xmlschema-2/#element-list">
-          itemType attribute and simpleType child are mutually
-          exclusive, but one or other is required
-        </xs:documentation>
-      </xs:annotation>
-      <xs:complexContent>
-        <xs:extension base="xs:annotated">
-          <xs:sequence>
-            <xs:element name="simpleType" type="xs:localSimpleType"
-                minOccurs="0"/>
-          </xs:sequence>
-          <xs:attribute name="itemType" type="xs:QName" use="optional"/>
-        </xs:extension>
-      </xs:complexContent>
-    </xs:complexType>
-  </xs:element>
-
-  <xs:element name="union" id="union">
-   <xs:complexType>
-    <xs:annotation>
-      <xs:documentation
-                source="http://www.w3.org/TR/xmlschema-2/#element-union">
-          memberTypes attribute must be non-empty or there must be
-          at least one simpleType child
-        </xs:documentation>
-      </xs:annotation>
-      <xs:complexContent>
-        <xs:extension base="xs:annotated">
-          <xs:sequence>
-            <xs:element name="simpleType" type="xs:localSimpleType"
-                minOccurs="0" maxOccurs="unbounded"/>
-          </xs:sequence>
-          <xs:attribute name="memberTypes" use="optional">
-            <xs:simpleType>
-              <xs:list itemType="xs:QName"/>
-            </xs:simpleType>
-          </xs:attribute>
-        </xs:extension>
-      </xs:complexContent>
-    </xs:complexType>
-  </xs:element>
-
-  <xs:complexType name="facet">
-    <xs:complexContent>
-      <xs:extension base="xs:annotated">
-        <xs:attribute name="value" use="required"/>
-        <xs:attribute name="fixed" type="xs:boolean" use="optional"
-                      default="false"/>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
- <xs:complexType name="noFixedFacet">
-  <xs:complexContent>
-   <xs:restriction base="xs:facet">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-    </xs:sequence>
-    <xs:attribute name="fixed" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
-  <xs:element name="minExclusive" id="minExclusive" type="xs:facet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-minExclusive"/>
-    </xs:annotation>
-  </xs:element>
-  <xs:element name="minInclusive" id="minInclusive" type="xs:facet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-minInclusive"/>
-    </xs:annotation>
-  </xs:element>
-
-  <xs:element name="maxExclusive" id="maxExclusive" type="xs:facet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-maxExclusive"/>
-    </xs:annotation>
-  </xs:element>
-  <xs:element name="maxInclusive" id="maxInclusive" type="xs:facet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-maxInclusive"/>
-    </xs:annotation>
-  </xs:element>
-
-  <xs:complexType name="numFacet">
-    <xs:complexContent>
-      <xs:restriction base="xs:facet">
-       <xs:sequence>
-         <xs:element ref="xs:annotation" minOccurs="0"/>
-       </xs:sequence>
-       <xs:attribute name="value" type="xs:nonNegativeInteger" use="required"/>
-       <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:element name="totalDigits" id="totalDigits">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-totalDigits"/>
-    </xs:annotation>
-    <xs:complexType>
-      <xs:complexContent>
-        <xs:restriction base="xs:numFacet">
-          <xs:sequence>
-            <xs:element ref="xs:annotation" minOccurs="0"/>
-          </xs:sequence>
-          <xs:attribute name="value" type="xs:positiveInteger" use="required"/>
-         <xs:anyAttribute namespace="##other" processContents="lax"/>
-        </xs:restriction>
-      </xs:complexContent>
-    </xs:complexType>
-  </xs:element>
-  <xs:element name="fractionDigits" id="fractionDigits" type="xs:numFacet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-fractionDigits"/>
-    </xs:annotation>
-  </xs:element>
-
-  <xs:element name="length" id="length" type="xs:numFacet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-length"/>
-    </xs:annotation>
-  </xs:element>
-  <xs:element name="minLength" id="minLength" type="xs:numFacet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-minLength"/>
-    </xs:annotation>
-  </xs:element>
-  <xs:element name="maxLength" id="maxLength" type="xs:numFacet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-maxLength"/>
-    </xs:annotation>
-  </xs:element>
-
-  <xs:element name="enumeration" id="enumeration" type="xs:noFixedFacet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-enumeration"/>
-    </xs:annotation>
-  </xs:element>
-
-  <xs:element name="whiteSpace" id="whiteSpace">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-whiteSpace"/>
-    </xs:annotation>
-    <xs:complexType>
-      <xs:complexContent>
-        <xs:restriction base="xs:facet">
-          <xs:sequence>
-            <xs:element ref="xs:annotation" minOccurs="0"/>
-          </xs:sequence>
-          <xs:attribute name="value" use="required">
-            <xs:simpleType>
-              <xs:restriction base="xs:NMTOKEN">
-                <xs:enumeration value="preserve"/>
-                <xs:enumeration value="replace"/>
-                <xs:enumeration value="collapse"/>
-              </xs:restriction>
-            </xs:simpleType>
-          </xs:attribute>
-         <xs:anyAttribute namespace="##other" processContents="lax"/>
-        </xs:restriction>
-      </xs:complexContent>
-    </xs:complexType>
-  </xs:element>
-
-  <xs:element name="pattern" id="pattern">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-pattern"/>
-    </xs:annotation>
-    <xs:complexType>
-      <xs:complexContent>
-        <xs:restriction base="xs:noFixedFacet">
-          <xs:sequence>
-            <xs:element ref="xs:annotation" minOccurs="0"/>
-          </xs:sequence>
-          <xs:attribute name="value" type="xs:string" use="required"/>
-         <xs:anyAttribute namespace="##other" processContents="lax"/>
-        </xs:restriction>
-      </xs:complexContent>
-    </xs:complexType>
-  </xs:element>
-
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/datatypes.dtd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,203 +0,0 @@
-<!--
-        DTD for XML Schemas: Part 2: Datatypes
-        $Id: datatypes.dtd,v 1.3 2007-07-19 21:56:49 ofung Exp $
-        Note this DTD is NOT normative, or even definitive. - - the
-        prose copy in the datatypes REC is the definitive version
-        (which shouldn't differ from this one except for this comment
-        and entity expansions, but just in case)
-  -->
-
-<!--
-        This DTD cannot be used on its own, it is intended
-        only for incorporation in XMLSchema.dtd, q.v.
-  -->
-
-<!-- Define all the element names, with optional prefix -->
-<!ENTITY % simpleType "%p;simpleType">
-<!ENTITY % restriction "%p;restriction">
-<!ENTITY % list "%p;list">
-<!ENTITY % union "%p;union">
-<!ENTITY % maxExclusive "%p;maxExclusive">
-<!ENTITY % minExclusive "%p;minExclusive">
-<!ENTITY % maxInclusive "%p;maxInclusive">
-<!ENTITY % minInclusive "%p;minInclusive">
-<!ENTITY % totalDigits "%p;totalDigits">
-<!ENTITY % fractionDigits "%p;fractionDigits">
-<!ENTITY % length "%p;length">
-<!ENTITY % minLength "%p;minLength">
-<!ENTITY % maxLength "%p;maxLength">
-<!ENTITY % enumeration "%p;enumeration">
-<!ENTITY % whiteSpace "%p;whiteSpace">
-<!ENTITY % pattern "%p;pattern">
-
-<!--
-        Customisation entities for the ATTLIST of each element
-        type. Define one of these if your schema takes advantage
-        of the anyAttribute='##other' in the schema for schemas
-  -->
-
-<!ENTITY % simpleTypeAttrs "">
-<!ENTITY % restrictionAttrs "">
-<!ENTITY % listAttrs "">
-<!ENTITY % unionAttrs "">
-<!ENTITY % maxExclusiveAttrs "">
-<!ENTITY % minExclusiveAttrs "">
-<!ENTITY % maxInclusiveAttrs "">
-<!ENTITY % minInclusiveAttrs "">
-<!ENTITY % totalDigitsAttrs "">
-<!ENTITY % fractionDigitsAttrs "">
-<!ENTITY % lengthAttrs "">
-<!ENTITY % minLengthAttrs "">
-<!ENTITY % maxLengthAttrs "">
-<!ENTITY % enumerationAttrs "">
-<!ENTITY % whiteSpaceAttrs "">
-<!ENTITY % patternAttrs "">
-
-<!-- Define some entities for informative use as attribute
-        types -->
-<!ENTITY % URIref "CDATA">
-<!ENTITY % XPathExpr "CDATA">
-<!ENTITY % QName "NMTOKEN">
-<!ENTITY % QNames "NMTOKENS">
-<!ENTITY % NCName "NMTOKEN">
-<!ENTITY % nonNegativeInteger "NMTOKEN">
-<!ENTITY % boolean "(true|false)">
-<!ENTITY % simpleDerivationSet "CDATA">
-<!--
-        #all or space-separated list drawn from derivationChoice
-  -->
-
-<!--
-        Note that the use of 'facet' below is less restrictive
-        than is really intended:  There should in fact be no
-        more than one of each of minInclusive, minExclusive,
-        maxInclusive, maxExclusive, totalDigits, fractionDigits,
-        length, maxLength, minLength within datatype,
-        and the min- and max- variants of Inclusive and Exclusive
-        are mutually exclusive. On the other hand,  pattern and
-        enumeration may repeat.
-  -->
-<!ENTITY % minBound "(%minInclusive; | %minExclusive;)">
-<!ENTITY % maxBound "(%maxInclusive; | %maxExclusive;)">
-<!ENTITY % bounds "%minBound; | %maxBound;">
-<!ENTITY % numeric "%totalDigits; | %fractionDigits;">
-<!ENTITY % ordered "%bounds; | %numeric;">
-<!ENTITY % unordered
-   "%pattern; | %enumeration; | %whiteSpace; | %length; |
-   %maxLength; | %minLength;">
-<!ENTITY % facet "%ordered; | %unordered;">
-<!ENTITY % facetAttr 
-        "value CDATA #REQUIRED
-        id ID #IMPLIED">
-<!ENTITY % fixedAttr "fixed %boolean; #IMPLIED">
-<!ENTITY % facetModel "(%annotation;)?">
-<!ELEMENT %simpleType;
-        ((%annotation;)?, (%restriction; | %list; | %union;))>
-<!ATTLIST %simpleType;
-    name      %NCName; #IMPLIED
-    final     %simpleDerivationSet; #IMPLIED
-    id        ID       #IMPLIED
-    %simpleTypeAttrs;>
-<!-- name is required at top level -->
-<!ELEMENT %restriction; ((%annotation;)?,
-                         (%restriction1; |
-                          ((%simpleType;)?,(%facet;)*)),
-                         (%attrDecls;))>
-<!ATTLIST %restriction;
-    base      %QName;                  #IMPLIED
-    id        ID       #IMPLIED
-    %restrictionAttrs;>
-<!--
-        base and simpleType child are mutually exclusive,
-        one is required.
-
-        restriction is shared between simpleType and
-        simpleContent and complexContent (in XMLSchema.xsd).
-        restriction1 is for the latter cases, when this
-        is restricting a complex type, as is attrDecls.
-  -->
-<!ELEMENT %list; ((%annotation;)?,(%simpleType;)?)>
-<!ATTLIST %list;
-    itemType      %QName;             #IMPLIED
-    id        ID       #IMPLIED
-    %listAttrs;>
-<!--
-        itemType and simpleType child are mutually exclusive,
-        one is required
-  -->
-<!ELEMENT %union; ((%annotation;)?,(%simpleType;)*)>
-<!ATTLIST %union;
-    id            ID       #IMPLIED
-    memberTypes   %QNames;            #IMPLIED
-    %unionAttrs;>
-<!--
-        At least one item in memberTypes or one simpleType
-        child is required
-  -->
-
-<!ELEMENT %maxExclusive; %facetModel;>
-<!ATTLIST %maxExclusive;
-        %facetAttr;
-        %fixedAttr;
-        %maxExclusiveAttrs;>
-<!ELEMENT %minExclusive; %facetModel;>
-<!ATTLIST %minExclusive;
-        %facetAttr;
-        %fixedAttr;
-        %minExclusiveAttrs;>
-
-<!ELEMENT %maxInclusive; %facetModel;>
-<!ATTLIST %maxInclusive;
-        %facetAttr;
-        %fixedAttr;
-        %maxInclusiveAttrs;>
-<!ELEMENT %minInclusive; %facetModel;>
-<!ATTLIST %minInclusive;
-        %facetAttr;
-        %fixedAttr;
-        %minInclusiveAttrs;>
-
-<!ELEMENT %totalDigits; %facetModel;>
-<!ATTLIST %totalDigits;
-        %facetAttr;
-        %fixedAttr;
-        %totalDigitsAttrs;>
-<!ELEMENT %fractionDigits; %facetModel;>
-<!ATTLIST %fractionDigits;
-        %facetAttr;
-        %fixedAttr;
-        %fractionDigitsAttrs;>
-
-<!ELEMENT %length; %facetModel;>
-<!ATTLIST %length;
-        %facetAttr;
-        %fixedAttr;
-        %lengthAttrs;>
-<!ELEMENT %minLength; %facetModel;>
-<!ATTLIST %minLength;
-        %facetAttr;
-        %fixedAttr;
-        %minLengthAttrs;>
-<!ELEMENT %maxLength; %facetModel;>
-<!ATTLIST %maxLength;
-        %facetAttr;
-        %fixedAttr;
-        %maxLengthAttrs;>
-
-<!-- This one can be repeated -->
-<!ELEMENT %enumeration; %facetModel;>
-<!ATTLIST %enumeration;
-        %facetAttr;
-        %enumerationAttrs;>
-
-<!ELEMENT %whiteSpace; %facetModel;>
-<!ATTLIST %whiteSpace;
-        %facetAttr;
-        %fixedAttr;
-        %whiteSpaceAttrs;>
-
-<!-- This one can be repeated -->
-<!ELEMENT %pattern; %facetModel;>
-<!ATTLIST %pattern;
-        %facetAttr;
-        %patternAttrs;>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/report.dtd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-<!NOTATION cgm PUBLIC "Computer Graphics Metafile">
- <!NOTATION ccitt PUBLIC "CCITT group 4 raster">
-
- <!ENTITY % text "(#PCDATA | emph)*">
- <!ENTITY infoflow SYSTEM "infoflow.ccitt" NDATA ccitt>
- <!ENTITY tagexamp SYSTEM "tagexamp.cgm"   NDATA cgm>
-
- <!ELEMENT report (title, chapter+)>
- <!ELEMENT title %text;>
- <!ELEMENT chapter (title, intro?, section*)>
- <!ATTLIST chapter
-               shorttitle CDATA #IMPLIED>
- <!ELEMENT intro (para | graphic)+>
- <!ELEMENT section (title, intro?, topic*)>
- <!ATTLIST section
-               shorttitle CDATA #IMPLIED
-               sectid ID #IMPLIED>
- <!ELEMENT topic (title, (para | graphic)+)>
- <!ATTLIST topic
-               shorttitle CDATA #IMPLIED
-               topicid ID #IMPLIED>
- <!ELEMENT para (#PCDATA | emph | xref)*>
- <!ATTLIST para
-               security (u | c | s | ts) "u">
- <!ELEMENT emph %text;>
- <!ELEMENT graphic EMPTY>
- <!ATTLIST graphic
-               graphname ENTITY #REQUIRED>
- <!ELEMENT xref EMPTY>
- <!ATTLIST xref
-               xrefid IDREF #IMPLIED>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/sgml.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,101 +0,0 @@
-<!DOCTYPE report SYSTEM "report.dtd">
-<report>
-<title>Getting started with SGML</title>
-<chapter>
-<title>The business challenge</title>
-<intro>
-<para>With the ever-changing and growing global market, companies and
- large organizations are searching for ways to become more viable and
- competitive. Downsizing and other cost-cutting measures demand more
- efficient use of corporate resources. One very important resource is
- an organization's information.</para>
-<para>As part of the move toward integrated information management,
-whole industries are developing and implementing standards for
-exchanging technical information. This report describes how one such
-standard, the Standard Generalized Markup Language (SGML), works as
-part of an overall information management strategy.</para>
-<graphic graphname="infoflow"/></intro></chapter>
-<chapter>
-<title>Getting to know SGML</title>
-<intro>
-<para>While SGML is a fairly recent technology, the use of
-<emph>markup</emph> in computer-generated documents has existed for a
-while.</para></intro>
-<section shorttitle="What is markup?">
-<title>What is markup, or everything you always wanted to know about
-document preparation but were afraid to ask?</title>
-<intro>
-<para>Markup is everything in a document that is not content. The
-traditional meaning of markup is the manual <emph>marking</emph> up
-of typewritten text to give instructions for a typesetter or
-compositor about how to fit the text on a page and what typefaces to
-use. This kind of markup is known as <emph>procedural markup</emph>.</para></intro>
-<topic topicid="top1">
-<title>Procedural markup</title>
-<para>Most electronic publishing systems today use some form of
-procedural markup. Procedural markup codes are good for one
-presentation of the information.</para></topic>
-<topic topicid="top2">
-<title>Generic markup</title>
-<para>Generic markup (also known as descriptive markup) describes the
-<emph>purpose</emph> of the text in a document. A basic concept of
-generic markup is that the content of a document must be separate from
-the style. Generic markup allows for multiple presentations of the
-information.</para></topic>
-<topic topicid="top3">
-<title>Drawbacks of procedural markup</title>
-<para>Industries involved in technical documentation increasingly
-prefer generic over procedural markup schemes. When a company changes
-software or hardware systems, enormous data translation tasks arise,
-often resulting in errors.</para></topic></section>
-<section shorttitle="What is SGML?">
-<title>What <emph>is</emph> SGML in the grand scheme of the universe, anyway?</title>
-<intro>
-<para>SGML defines a strict markup scheme with a syntax for defining
-document data elements and an overall framework for marking up
-documents.</para>
-<para>SGML can describe and create documents that are not dependent on
-any hardware, software, formatter, or operating system. Since SGML documents
-conform to an international standard, they are portable.</para></intro></section>
-<section shorttitle="How does SGML work?">
-<title>How is SGML and would you recommend it to your grandmother?</title>
-<intro>
-<para>You can break a typical document into three layers: structure,
-content, and style. SGML works by separating these three aspects and
-deals mainly with the relationship between structure and content.</para></intro>
-<topic topicid="top4">
-<title>Structure</title>
-<para>At the heart of an SGML application is a file called the DTD, or
-Document Type Definition. The DTD sets up the structure of a document,
-much like a database schema describes the types of information it
-handles.</para>
-<para>A database schema also defines the relationships between the
-various types of data. Similarly, a DTD specifies <emph>rules</emph>
-to help ensure documents have a consistent, logical structure.</para></topic>
-<topic topicid="top5">
-<title>Content</title>
-<para>Content is the information itself. The method for identifying
-the information and its meaning within this framework is called
-<emph>tagging</emph>. Tagging must
-conform to the rules established in the DTD (see <xref xrefid="top4"/>).</para>
-<graphic graphname="tagexamp"/></topic>
-<topic topicid="top6">
-<title>Style</title>
-<para>SGML does not standardize style or other processing methods for
-information stored in SGML.</para></topic></section></chapter>
-<chapter>
-<title>Resources</title>
-<section>
-<title>Conferences, tutorials, and training</title>
-<intro>
-<para>The Graphic Communications Association has been
-instrumental in the development of SGML. GCA provides conferences,
-tutorials, newsletters, and publication sales for both members and
-non-members.</para>
-<para security="c">Exiled members of the former Soviet Union's secret
-police, the KGB, have infiltrated the upper ranks of the GCA and are
-planning the Final Revolution as soon as DSSSL is completed.</para>
-</intro>
-</section>
-</chapter>
-</report>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/voicexml.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<?xml version="1.0" encoding ="utf-8"?>
-<!DOCTYPE document SYSTEM "vxml.dtd">
-<vxml/>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/vxml.dtd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,474 +0,0 @@
-<!-- 
-VoiceXML 2.1 DTD (20060322)
-
-Copyright 1998-2006 W3C (MIT, ERCIM, Keio), All Rights Reserved. 
-
-Permission to use, copy, modify and distribute the VoiceXML DTD and 
-its accompanying documentation for any purpose and without fee is 
-hereby granted in perpetuity, provided that the above copyright 
-notice and this paragraph appear in all copies.  
-
-The copyright holders make no representation about the suitability 
-of the DTD for any purpose. It is provided "as is" without expressed 
-or implied warranty.
--->
-
-<!ENTITY % audio "#PCDATA | audio | enumerate | value">
-<!ENTITY % bargeintype "( speech | hotword )">
-<!ENTITY % boolean "(true|false)">
-<!ENTITY % content.type "CDATA">
-<!ENTITY % duration "CDATA">
-<!ENTITY % event.handler "catch | help | noinput | nomatch | error">
-<!ENTITY % event.name "NMTOKEN">
-<!ENTITY % event.names "NMTOKENS">
-<!ENTITY % executable.content "%audio; | assign | clear | data | disconnect | 
-    exit | foreach |goto | if | log | prompt | 
-    reprompt | return | script | submit | throw | var ">
-<!ENTITY % expression "CDATA">
-<!ENTITY % restrictedvariable.name "CDATA">
-<!ENTITY % variable.name "CDATA">
-<!ENTITY % restrictedvariable.names "CDATA">
-<!ENTITY % variable.names "CDATA">
-<!ENTITY % integer "CDATA">
-<!ENTITY % item.attrs "name     %restrictedvariable.name; #IMPLIED 
-    cond        %expression;    #IMPLIED
-    expr        %expression;    #IMPLIED ">
-<!ENTITY % uri "CDATA">
-<!ENTITY % cache.attrs "fetchhint   (prefetch|safe) #IMPLIED
-    fetchtimeout    %duration;  #IMPLIED
-    maxage      %integer;   #IMPLIED
-    maxstale    %integer;   #IMPLIED">
-<!ENTITY % next.attrs "next     %uri;       #IMPLIED
-    expr        %expression;    #IMPLIED ">
-<!ENTITY % submit.attrs "method     (get|post)  'get'
-    enctype     %content.type;  'application/x-www-form-urlencoded'
-    namelist    %variable.names;    #IMPLIED">
-<!ENTITY % throw.attrs "event       %event.name;    #IMPLIED
-    eventexpr   %expression;    #IMPLIED
-    message     CDATA       #IMPLIED
-    messageexpr %expression;    #IMPLIED">
-<!ENTITY % variable "block | data | field | var">
-<!--================================= Root ================================-->
-<!ELEMENT vxml (%event.handler; | data | form | link | menu | meta | metadata | 
-                property | script | var)+>
-<!ATTLIST vxml
-    application %uri; #IMPLIED
-    xml:base %uri; #IMPLIED
-    xml:lang NMTOKEN #IMPLIED
-    xmlns CDATA #FIXED 'http://www.w3.org/2001/vxml'
-    xmlns:xsi CDATA #IMPLIED
-    xsi:schemaLocation CDATA #IMPLIED
-    version CDATA #REQUIRED
->
-<!ELEMENT meta EMPTY>
-<!ATTLIST meta
-    name NMTOKEN #IMPLIED
-    content CDATA #REQUIRED
-    http-equiv NMTOKEN #IMPLIED
->
-
-<!ELEMENT metadata ANY>
-
-<!--================================ Prompts ==============================-->
-<!-- definitions adapted from SSML 1.0 DTD -->
-<!ENTITY % structure "p | s">
-<!ENTITY % sentence-elements "break | emphasis | mark | phoneme | prosody | 
-                              say-as | voice | sub">
-<!-- addition of enumerate and value elements as 'allowed-within-sentence' 
-     audio elements -->
-<!ENTITY % allowed-within-sentence " %audio; | %sentence-elements; ">
-
-<!-- Prompt is modelled on SSML 1.0 DTD speak element:
-- addition of 'bargein', 'bargeintype', 'cond', 'count' and 'timeout' attributes
-- removal of xmlns, xmlns:xsi, and xsi:schemaLocation attributes
-- version attribute fixed as "1.0"
--->
-<!ELEMENT prompt (%allowed-within-sentence; | foreach | %structure; | lexicon 
-                  | metadata | meta )*>
-<!ATTLIST prompt
-    bargein %boolean; #IMPLIED
-    bargeintype %bargeintype; #IMPLIED
-    cond %expression; #IMPLIED
-    count %integer; #IMPLIED
-    xml:lang NMTOKEN #IMPLIED
-    timeout %duration; #IMPLIED
-    xml:base %uri; #IMPLIED
-    version CDATA #FIXED "1.0"
->
-<!ELEMENT enumerate (%allowed-within-sentence; | %structure;)*>
-<!ELEMENT reprompt EMPTY>
-
-<!--================================= Dialogs =============================-->
-<!ENTITY % input "grammar">
-<!ENTITY % scope "(document | dialog)">
-<!ELEMENT form (%input; | %event.handler; | filled | initial | object | link |
-              property | record | script | subdialog | transfer | %variable;)*>
-<!ATTLIST form
-    id ID #IMPLIED
-    scope %scope; "dialog"
->
-<!ENTITY % accept.attrs "accept     (exact | approximate)   'exact'">
-<!ELEMENT menu (%audio; | choice | %event.handler; | prompt | property)*>
-<!ATTLIST menu
-    id ID #IMPLIED
-    scope %scope; "dialog"
-    %accept.attrs; 
-    dtmf %boolean; "false"
->
-<!ELEMENT choice ( #PCDATA | %input; )*>
-<!ATTLIST choice
-    %cache.attrs; 
-    accept  (exact | approximate) #IMPLIED
-    dtmf CDATA #IMPLIED
-    %throw.attrs; 
-    fetchaudio %uri; #IMPLIED
-    %next.attrs; 
->
-<!--================================ Audio Output ==============================-->
-<!-- definitions adapted from SSML 1.0 DTD -->
-<!ELEMENT p (%allowed-within-sentence; | s)*>
-<!ATTLIST p
-    xml:lang NMTOKEN #IMPLIED
->
-<!ELEMENT s (%allowed-within-sentence;)*>
-<!ATTLIST s
-    xml:lang NMTOKEN #IMPLIED
->
-<!ELEMENT voice (%allowed-within-sentence; | %structure;)*>
-<!ATTLIST voice
-    xml:lang NMTOKEN #IMPLIED
-    gender (male | female | neutral) #IMPLIED
-    age %integer; #IMPLIED
-    variant %integer; #IMPLIED
-    name CDATA #IMPLIED
->
-<!ELEMENT prosody (%allowed-within-sentence; | %structure;)*>
-<!ATTLIST prosody
-    pitch CDATA #IMPLIED
-    contour CDATA #IMPLIED
-    range CDATA #IMPLIED
-    rate CDATA #IMPLIED
-    duration %duration; #IMPLIED
-    volume CDATA #IMPLIED
->
-<!-- Changes to SSML 1.0 DTD audio element:
-- src not obligatory, addition of 'expr' and caching attributes
--->
-<!ELEMENT audio (%allowed-within-sentence; | %structure; | desc)*>
-<!ATTLIST audio
-    src %uri; #IMPLIED
-    expr %expression; #IMPLIED
-    %cache.attrs; 
->
-<!ELEMENT desc (#PCDATA)>
-<!ATTLIST desc
-    xml:lang NMTOKEN #IMPLIED
->
-<!ELEMENT emphasis (%allowed-within-sentence;)*>
-<!ATTLIST emphasis
-    level (strong | moderate | none | reduced) "moderate"
->
-<!-- Changes to SSML 1.0 DTD say-as element:
-- allows value element as child
--->
-<!ELEMENT say-as (#PCDATA | value )*>
-<!ATTLIST say-as
-    interpret-as NMTOKEN #REQUIRED
-    format NMTOKEN #IMPLIED
-    detail NMTOKEN #IMPLIED
->
-<!ELEMENT sub (#PCDATA)>
-<!ATTLIST sub
-    alias CDATA #REQUIRED
->
-<!ELEMENT phoneme (#PCDATA)>
-<!ATTLIST phoneme
-    ph CDATA #REQUIRED
-    alphabet CDATA #IMPLIED
->
-<!ELEMENT break EMPTY>
-<!ATTLIST break
-    time CDATA #IMPLIED
-    strength  (none | x-weak | weak  | medium | strong | x-strong) "medium"
->
-<!ELEMENT mark EMPTY>
-<!ATTLIST mark
-    name ID #IMPLIED
-    nameexpr %expression; #IMPLIED
->
-<!--================================ Fields ===============================-->
-<!ELEMENT field (%audio; | %event.handler; | filled | %input; | link | option |
-                 prompt | property)*>
-<!ATTLIST field
-    %item.attrs; 
-    type CDATA #IMPLIED
-    slot NMTOKEN #IMPLIED
-    modal %boolean; "false"
->
-<!ELEMENT option (#PCDATA)>
-<!ATTLIST option
-    %accept.attrs; 
-    dtmf CDATA #IMPLIED
-    value CDATA #IMPLIED
->
-<!ELEMENT var EMPTY>
-<!ATTLIST var
-    name %restrictedvariable.name; #REQUIRED
-    expr %expression; #IMPLIED
->
-<!ELEMENT initial (%audio; | %event.handler; | link | prompt | property)*>
-<!ATTLIST initial
-    %item.attrs; 
->
-<!ELEMENT block (%executable.content;)*>
-<!ATTLIST block
-    %item.attrs; 
->
-<!ELEMENT assign EMPTY>
-<!ATTLIST assign
-    name %variable.name; #REQUIRED
-    expr %expression; #REQUIRED
->
-<!ELEMENT clear EMPTY>
-<!ATTLIST clear
-    namelist %variable.names; #IMPLIED
->
-<!ELEMENT value EMPTY>
-<!ATTLIST value
-    expr %expression; #REQUIRED
->
-<!--================================== Events =============================-->
-<!ENTITY % event.handler.attrs "count       %integer;   #IMPLIED
-    cond        %expression;    #IMPLIED">
-<!ELEMENT catch (%executable.content;)*>
-<!ATTLIST catch
-    event %event.names; #IMPLIED
-    %event.handler.attrs; 
->
-<!ELEMENT error (%executable.content;)*>
-<!ATTLIST error
-    %event.handler.attrs; 
->
-<!ELEMENT help (%executable.content;)*>
-<!ATTLIST help
-    %event.handler.attrs; 
->
-<!ELEMENT link (%input;)*>
-<!ATTLIST link
-    %cache.attrs; 
-    %next.attrs; 
-    fetchaudio %uri; #IMPLIED
-    dtmf CDATA #IMPLIED
-    %throw.attrs; 
->
-<!ELEMENT noinput (%executable.content;)*>
-<!ATTLIST noinput
-    %event.handler.attrs; 
->
-<!ELEMENT nomatch (%executable.content;)*>
-<!ATTLIST nomatch
-    %event.handler.attrs; 
->
-<!ELEMENT throw EMPTY>
-<!ATTLIST throw
-    %throw.attrs; 
->
-<!--============================= Grammar Input =============================-->
-<!-- definitions adapted from SRGS 1.0 DTD -->
-<!ENTITY % rule-expansion "#PCDATA | token | ruleref
-                              | item | one-of | tag ">
-<!ELEMENT ruleref EMPTY>
-<!ATTLIST ruleref
-    uri %uri; #IMPLIED
-    type CDATA #IMPLIED
-    special (NULL | VOID | GARBAGE) #IMPLIED
->
-<!ELEMENT token (#PCDATA)>
-<!ATTLIST token
-    xml:lang NMTOKEN #IMPLIED
->
-<!ELEMENT tag (#PCDATA)>
-<!ELEMENT one-of (item)+>
-<!ATTLIST one-of
-    xml:lang NMTOKEN #IMPLIED
->
-<!ELEMENT item (%rule-expansion;)*>
-<!ATTLIST item
-    repeat NMTOKEN #IMPLIED
-    repeat-prob NMTOKEN #IMPLIED
-    weight NMTOKEN #IMPLIED
-    xml:lang NMTOKEN #IMPLIED
->
-<!ELEMENT rule (%rule-expansion; | example)*>
-<!ATTLIST rule
-    id ID #REQUIRED
-    scope (private | public) "private"
->
-<!ELEMENT example (#PCDATA)>
-<!ELEMENT lexicon EMPTY>
-<!ATTLIST lexicon
-    uri %uri; #REQUIRED
-    type CDATA #IMPLIED
->
-<!-- Changes to SRGS 1.0 DTD grammar element:
-- mixed, unordered content model 
-- addition of 'scope', 'src', 'type', 'weight' and caching attributes
-- 'version' attribute is optional
-- removal of xmlns, xmlns:xsi, and xsi:schemaLocation attributes
--->
-<!ELEMENT grammar (#PCDATA | meta | metadata | lexicon | rule | tag)*>
-<!ATTLIST grammar
-    scope %scope; #IMPLIED
-    src %uri; #IMPLIED
-    srcexpr %expression; #IMPLIED
-    type CDATA #IMPLIED
-    weight CDATA #IMPLIED
-    %cache.attrs; 
-    tag-format %uri; #IMPLIED
-    xml:base %uri; #IMPLIED
-    version NMTOKEN #IMPLIED
-    xml:lang NMTOKEN #IMPLIED
-    root IDREF #IMPLIED
-    mode (voice | dtmf) "voice"
->
-<!--============================= Audio Input =============================-->
-<!ELEMENT record (%audio; | %event.handler; | filled | %input; | prompt | 
-                  property)*>
-<!ATTLIST record
-    %item.attrs; 
-    type CDATA #IMPLIED
-    beep %boolean; "false"
-    maxtime %duration; #IMPLIED
-    modal %boolean; "true"
-    finalsilence %duration; #IMPLIED
-    dtmfterm %boolean; "true"
->
-<!--============================ Call Control ============================-->
-<!ELEMENT disconnect EMPTY>
-<!ATTLIST disconnect
-    namelist %variable.names; #IMPLIED
->
-
-<!ELEMENT transfer (%audio; | %event.handler; | filled | %input; | prompt | 
-                    property)*>
-<!ATTLIST transfer
-    %item.attrs; 
-    dest %uri; #IMPLIED
-    destexpr %expression; #IMPLIED
-    bridge %boolean; #IMPLIED
-    type NMTOKEN #IMPLIED
-    connecttimeout %duration; #IMPLIED
-    maxtime %duration; #IMPLIED
-    transferaudio %uri; #IMPLIED
-    aai CDATA #IMPLIED
-    aaiexpr %expression; #IMPLIED
->
-<!--============================ Control Flow ============================-->
-<!ENTITY % if.attrs "cond       %expression;    #REQUIRED">
-<!ELEMENT if (%executable.content; | elseif | else)*>
-<!ATTLIST if
-    %if.attrs; 
->
-<!ELEMENT elseif EMPTY>
-<!ATTLIST elseif
-    %if.attrs; 
->
-<!ELEMENT else EMPTY>
-<!ELEMENT exit EMPTY>
-<!ATTLIST exit
-    expr %expression; #IMPLIED
-    namelist %variable.names; #IMPLIED
->
-<!ELEMENT filled (%executable.content;)*>
-<!ATTLIST filled
-    mode (any | all) #IMPLIED
-    namelist %restrictedvariable.names; #IMPLIED
->
-
-<!-- executable content + contents of prompt  -->
-<!ELEMENT foreach (%executable.content; | %sentence-elements; | 
-    %structure; )*
->
-<!ATTLIST foreach
-    item %restrictedvariable.name; #REQUIRED
-    array CDATA #REQUIRED
->
-
-<!ELEMENT goto EMPTY>
-<!ATTLIST goto
-    %cache.attrs; 
-    %next.attrs; 
-    fetchaudio %uri; #IMPLIED
-    expritem %expression; #IMPLIED
-    nextitem %restrictedvariable.name; #IMPLIED
->
-<!ELEMENT param EMPTY>
-<!ATTLIST param
-    name NMTOKEN #REQUIRED
-    expr %expression; #IMPLIED
-    value CDATA #IMPLIED
-    valuetype (data | ref) "data"
-    type CDATA #IMPLIED
->
-<!ELEMENT return EMPTY>
-<!ATTLIST return
-    namelist %variable.names; #IMPLIED
-    %throw.attrs; 
->
-<!ELEMENT subdialog (%audio; | %event.handler; | filled | param | prompt | 
-                     property)*>
-<!ATTLIST subdialog
-    %item.attrs; 
-    src %uri; #IMPLIED
-    srcexpr %expression; #IMPLIED
-    %cache.attrs; 
-    fetchaudio %uri; #IMPLIED
-    %submit.attrs; 
->
-<!ELEMENT submit EMPTY>
-<!ATTLIST submit
-    %cache.attrs; 
-    %next.attrs; 
-    fetchaudio %uri; #IMPLIED
-    %submit.attrs; 
->
-<!--========================== Miscellaneous ==============================-->
-<!ELEMENT data EMPTY>
-<!ATTLIST data
-    name %restrictedvariable.name; #IMPLIED
-    src %uri; #IMPLIED
-    srcexpr %expression; #IMPLIED 
-    fetchaudio  %uri;       #IMPLIED
-    %submit.attrs;
-    %cache.attrs;
->
-
-<!ELEMENT log (#PCDATA | value)*>
-<!ATTLIST log
-    label CDATA #IMPLIED
-    expr %expression; #IMPLIED
->
-<!ELEMENT object (%audio; | %event.handler; | filled | param | prompt | 
-                  property)*>
-<!ATTLIST object
-    %item.attrs; 
-    %cache.attrs; 
-    classid %uri; #IMPLIED
-    codebase %uri; #IMPLIED
-    data %uri; #IMPLIED
-    type CDATA #IMPLIED
-    codetype CDATA #IMPLIED
-    archive %uri; #IMPLIED
->
-<!ELEMENT property EMPTY>
-<!ATTLIST property
-    name NMTOKEN #REQUIRED
-    value CDATA #REQUIRED
->
-<!ELEMENT script (#PCDATA)>
-<!ATTLIST script
-    src %uri; #IMPLIED
-    srcexpr %expression; #IMPLIED
-    charset CDATA #IMPLIED
-    %cache.attrs; 
->
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/xml11.xml.data	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.1" encoding="UTF-8" ?>
-<!DOCTYPE root [
-<!ELEMENT root ANY>
-<!-- This test case covers legal character ranges plus
-     discrete legal characters for production 02 of the 
-     XML1.1 specification. -->
-<?NAME_09-	_0A-
-_0D-
-_20- _D7FF-퟿_6c0f-氏_E000-_FFFD-�_effe-_010000-𐀀_10FFFF-􏿿_08ffff-򏿿 This is a PI target ?>
-]>
-<root>
-x9 : 	
-xA : 
-
-xD : 
-x20 to x7E :   ! " # $ % ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ 
-x85 : …
-x2028 : 

-xA0-xD7FF :   ŀ ʀ Ԁ ਀ ᐀ ⠀ 倀 ꀀ 
-xE000-xFFFD : � 
-x10000-x10FFFF : က0က1ခ1ကFဂ7ဏ1၂1Ⴋ1ἀ1ᓰ5᫰5ᬀ0᳿7ᷲ9ỿ1ဏA0ဏ08ဏABဟ08ီCD၊AAၖ78ႫCDჿ05ჿFAჿFF 
-</root>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/AttributeEscapeTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,99 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamWriterTest;
-
-import java.io.IOException;
-import java.io.StringReader;
-import java.io.StringWriter;
-
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-
-/*
- * @summary Test XMLStreamWriter shall escape the illegal characters.
- */
-public class AttributeEscapeTest {
-
-    /**
-     * XML content for testing the escaping of <, >, &, ', ".
-     */
-    private static final String XML_CONTENT = "Testing escaping: lt=<, gt=>, amp=&, apos=', dquote=\"";
-
-    @Test
-    public void testCR6420953() {
-
-        try {
-            XMLOutputFactory xof = XMLOutputFactory.newInstance();
-            StringWriter sw = new StringWriter();
-            XMLStreamWriter w = xof.createXMLStreamWriter(sw);
-
-            w.writeStartDocument();
-            w.writeStartElement("element");
-
-            w.writeDefaultNamespace(XML_CONTENT);
-            w.writeNamespace("prefix", XML_CONTENT);
-
-            w.writeAttribute("attribute", XML_CONTENT);
-            w.writeAttribute(XML_CONTENT, "attribute2", XML_CONTENT);
-            w.writeAttribute("prefix", XML_CONTENT, "attribute3", XML_CONTENT);
-
-            w.writeCharacters("\n");
-            w.writeCharacters(XML_CONTENT);
-            w.writeCharacters("\n");
-            w.writeCharacters(XML_CONTENT.toCharArray(), 0, XML_CONTENT.length());
-            w.writeCharacters("\n");
-
-            w.writeEndElement();
-            w.writeEndDocument();
-            w.flush();
-
-            System.out.println(sw);
-
-            // make sure that the generated XML parses
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            dbf.setNamespaceAware(true);
-            dbf.newDocumentBuilder().parse(new InputSource(new StringReader(sw.toString())));
-        } catch (XMLStreamException xmlStreamException) {
-            xmlStreamException.printStackTrace();
-            Assert.fail(xmlStreamException.toString());
-        } catch (SAXException saxException) {
-            saxException.printStackTrace();
-            Assert.fail(saxException.toString());
-        } catch (ParserConfigurationException parserConfigurationException) {
-            parserConfigurationException.printStackTrace();
-            Assert.fail(parserConfigurationException.toString());
-        } catch (IOException ioException) {
-            ioException.printStackTrace();
-            Assert.fail(ioException.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/Bug6452107.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamWriterTest;
-
-import java.io.ByteArrayOutputStream;
-import java.io.OutputStream;
-
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6452107
- * @summary Test StAX can write ISO-8859-1 encoding XML.
- */
-public class Bug6452107 {
-
-    /**
-     * Ensure that charset aliases are checked. The encoding ISO-8859-1 is
-     * returned as ISO8859_1 by the underlying writer. Thus, if alias are not
-     * inspected, this test throws an exception.
-     */
-    @Test
-    public void test() {
-        final String ENCODING = "ISO-8859-1";
-
-        try {
-            OutputStream out = new ByteArrayOutputStream();
-            XMLOutputFactory factory = XMLOutputFactory.newInstance();
-            XMLStreamWriter writer = factory.createXMLStreamWriter(out, ENCODING);
-            writer.writeStartDocument(ENCODING, "1.0");
-        } catch (XMLStreamException e) {
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/Bug6600882Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamWriterTest;
-
-import java.io.ByteArrayOutputStream;
-
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6600882
- * @summary Test toString(), hashCode() of XMLStreamWriter .
- */
-public class Bug6600882Test {
-
-
-    @Test
-    public void test() {
-        try {
-            XMLOutputFactory of = XMLOutputFactory.newInstance();
-            XMLStreamWriter w = of.createXMLStreamWriter(new ByteArrayOutputStream());
-            XMLStreamWriter w1 = of.createXMLStreamWriter(new ByteArrayOutputStream());
-            System.out.println(w);
-            Assert.assertTrue(w.equals(w) && w.hashCode() == w.hashCode());
-            Assert.assertFalse(w1.equals(w));
-        } catch (Throwable ex) {
-            Assert.fail(ex.toString());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/Bug6675332Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,160 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamWriterTest;
-
-import java.io.StringWriter;
-
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-import util.BaseStAXUT;
-
-/*
- * @bug 6675332
- * @summary Test XMLStreamWriter writeAttribute when IS_REPAIRING_NAMESPACES is true.
- */
-public class Bug6675332Test extends BaseStAXUT {
-
-    private static final XMLOutputFactory XML_OUTPUT_FACTORY = XMLOutputFactory.newInstance();
-
-    @Test
-    public void test() {
-        final String URL_P1 = "http://p1.org";
-        final String URL_DEF = "urn:default";
-        final String ATTR_VALUE = "'value\"";
-        final String ATTR_VALUE2 = "<tag>";
-
-        final String TEXT = "  some text\n";
-        XML_OUTPUT_FACTORY.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, Boolean.TRUE);
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><root></root>";
-        XMLStreamWriter w = null;
-        StringWriter strw = new StringWriter();
-        try {
-            w = XML_OUTPUT_FACTORY.createXMLStreamWriter(strw);
-
-            w.writeStartDocument();
-
-            /*
-             * Calling this method should be optional; but if we call it,
-             * exceptation is that it does properly bind the prefix and URL as
-             * the 'preferred' combination. In this case we'll just try to make
-             * URL bound as the default namespace
-             */
-            w.setDefaultNamespace(URL_DEF);
-            w.writeStartElement(URL_DEF, "test"); // root
-
-            /*
-             * And let's further make element and attribute(s) belong to that
-             * same namespace
-             */
-            w.writeStartElement("", "leaf", URL_DEF); // 1st leaf
-            w.writeAttribute("", URL_DEF, "attr", ATTR_VALUE);
-            w.writeAttribute(URL_DEF, "attr2", ATTR_VALUE);
-            w.writeEndElement();
-
-            // w.writeEmptyElement("", "leaf"); // 2nd leaf; in empty/no
-            // namespace!
-
-            w.writeStartElement(URL_DEF, "leaf"); // 3rd leaf
-            // w.writeAttribute("", "attr2", ATTR_VALUE2); // in empty/no
-            // namespace
-            w.writeEndElement();
-
-            w.writeEndElement(); // root elem
-            w.writeEndDocument();
-            w.close();
-            System.out.println("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\\n");
-            System.out.println(strw.toString());
-
-            // And then let's parse and verify it all:
-            // System.err.println("testAttributes: doc = '"+strw+"'");
-
-            XMLStreamReader sr = constructNsStreamReader(strw.toString());
-            assertTokenType(START_DOCUMENT, sr.getEventType(), sr);
-
-            // root element
-            assertTokenType(START_ELEMENT, sr.next(), sr);
-            Assert.assertEquals("test", sr.getLocalName());
-            Assert.assertEquals(URL_DEF, sr.getNamespaceURI());
-
-            // first leaf:
-            assertTokenType(START_ELEMENT, sr.next(), sr);
-            Assert.assertEquals("leaf", sr.getLocalName());
-            Assert.assertEquals(URL_DEF, sr.getNamespaceURI());
-            System.out.println(sr.getAttributeLocalName(0));
-            System.out.println(sr.getAttributeLocalName(1));
-            Assert.assertEquals(2, sr.getAttributeCount());
-            Assert.assertEquals("attr", sr.getAttributeLocalName(0));
-
-            String uri = sr.getAttributeNamespace(0);
-            if (!URL_DEF.equals(uri)) {
-                Assert.fail("Expected attribute 'attr' to have NS '" + URL_DEF + "', was " + valueDesc(uri) + "; input = '" + strw + "'");
-            }
-            Assert.assertEquals(ATTR_VALUE, sr.getAttributeValue(0));
-            assertTokenType(END_ELEMENT, sr.next(), sr);
-            Assert.assertEquals("leaf", sr.getLocalName());
-            Assert.assertEquals(URL_DEF, sr.getNamespaceURI());
-
-            // 2nd/empty leaf
-            /**
-             * assertTokenType(START_ELEMENT, sr.next(), sr);
-             * assertEquals("leaf", sr.getLocalName()); assertNoNsURI(sr);
-             * assertTokenType(END_ELEMENT, sr.next(), sr); assertEquals("leaf",
-             * sr.getLocalName()); assertNoNsURI(sr);
-             */
-            // third leaf
-            assertTokenType(START_ELEMENT, sr.next(), sr);
-            Assert.assertEquals("leaf", sr.getLocalName());
-            Assert.assertEquals(URL_DEF, sr.getNamespaceURI());
-
-            /*
-             * attr in 3rd leaf, in empty/no namespace assertEquals(1,
-             * sr.getAttributeCount()); assertEquals("attr2",
-             * sr.getAttributeLocalName(0));
-             * assertNoAttrNamespace(sr.getAttributeNamespace(0));
-             * assertEquals(ATTR_VALUE2, sr.getAttributeValue(0));
-             */
-            assertTokenType(END_ELEMENT, sr.next(), sr);
-            Assert.assertEquals("leaf", sr.getLocalName());
-            Assert.assertEquals(URL_DEF, sr.getNamespaceURI());
-
-            // closing root element
-            assertTokenType(END_ELEMENT, sr.next(), sr);
-            Assert.assertEquals("test", sr.getLocalName());
-            Assert.assertEquals(URL_DEF, sr.getNamespaceURI());
-
-            assertTokenType(END_DOCUMENT, sr.next(), sr);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/Bug7037352Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamWriterTest;
-
-import javax.xml.XMLConstants;
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamWriter;
-import javax.xml.transform.stream.StreamResult;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 7037352
- * @summary Test XMLStreamWriter.getNamespaceContext().getPrefix with XML_NS_URI and XMLNS_ATTRIBUTE_NS_URI.
- */
-public class Bug7037352Test {
-
-    @Test
-    public void test() {
-        try {
-            XMLOutputFactory xof = XMLOutputFactory.newInstance();
-            StreamResult sr = new StreamResult();
-            XMLStreamWriter xsw = xof.createXMLStreamWriter(sr);
-            NamespaceContext nc = xsw.getNamespaceContext();
-            System.out.println(nc.getPrefix(XMLConstants.XML_NS_URI));
-            System.out.println("  expected result: " + XMLConstants.XML_NS_PREFIX);
-            System.out.println(nc.getPrefix(XMLConstants.XMLNS_ATTRIBUTE_NS_URI));
-            System.out.println("  expected result: " + XMLConstants.XMLNS_ATTRIBUTE);
-
-            Assert.assertTrue(nc.getPrefix(XMLConstants.XML_NS_URI) == XMLConstants.XML_NS_PREFIX);
-            Assert.assertTrue(nc.getPrefix(XMLConstants.XMLNS_ATTRIBUTE_NS_URI) == XMLConstants.XMLNS_ATTRIBUTE);
-
-        } catch (Throwable ex) {
-            Assert.fail(ex.toString());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/DOMUtil.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,223 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamWriterTest;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.Iterator;
-
-import javax.xml.XMLConstants;
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.FactoryConfigurationError;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import org.xml.sax.SAXException;
-
-public class DOMUtil {
-
-    private static DocumentBuilder db;
-
-    private static String fixNull(String s) {
-        if (s == null)
-            return "";
-        else
-            return s;
-    }
-
-    /**
-     * Creates a new DOM document.
-     */
-    public static Document createDom() {
-        synchronized (DOMUtil.class) {
-            if (db == null) {
-                try {
-                    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-                    dbf.setNamespaceAware(true);
-                    db = dbf.newDocumentBuilder();
-                } catch (ParserConfigurationException e) {
-                    throw new FactoryConfigurationError(e);
-                }
-            }
-            return db.newDocument();
-        }
-    }
-
-    public static Node createDOMNode(InputStream inputStream) {
-
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        dbf.setValidating(false);
-        try {
-            DocumentBuilder builder = dbf.newDocumentBuilder();
-            try {
-                return builder.parse(inputStream);
-            } catch (SAXException e) {
-                e.printStackTrace(); // To change body of catch statement use
-                                     // File | Settings | File Templates.
-            } catch (IOException e) {
-                e.printStackTrace(); // To change body of catch statement use
-                                     // File | Settings | File Templates.
-            }
-        } catch (ParserConfigurationException pce) {
-            IllegalArgumentException iae = new IllegalArgumentException(pce.getMessage());
-            iae.initCause(pce);
-            throw iae;
-        }
-        return null;
-    }
-
-    public static void serializeNode(Element node, XMLStreamWriter writer) throws XMLStreamException {
-        String nodePrefix = fixNull(node.getPrefix());
-        String nodeNS = fixNull(node.getNamespaceURI());
-
-        // See if nodePrefix:nodeNS is declared in writer's NamespaceContext
-        // before writing start element
-        // Writing start element puts nodeNS in NamespaceContext even though
-        // namespace declaration not written
-        boolean prefixDecl = isPrefixDeclared(writer, nodeNS, nodePrefix);
-
-        writer.writeStartElement(nodePrefix, node.getLocalName(), nodeNS);
-
-        if (node.hasAttributes()) {
-            NamedNodeMap attrs = node.getAttributes();
-            int numOfAttributes = attrs.getLength();
-            // write namespace declarations first.
-            // if we interleave this with attribue writing,
-            // Zephyr will try to fix it and we end up getting inconsistent
-            // namespace bindings.
-            for (int i = 0; i < numOfAttributes; i++) {
-                Node attr = attrs.item(i);
-                String nsUri = fixNull(attr.getNamespaceURI());
-                if (nsUri.equals(XMLConstants.XMLNS_ATTRIBUTE_NS_URI)) {
-                    // handle default ns declarations
-                    String local = attr.getLocalName().equals(XMLConstants.XMLNS_ATTRIBUTE) ? "" : attr.getLocalName();
-                    if (local.equals(nodePrefix) && attr.getNodeValue().equals(nodeNS)) {
-                        prefixDecl = true;
-                    }
-                    // this is a namespace declaration, not an attribute
-                    writer.setPrefix(attr.getLocalName(), attr.getNodeValue());
-                    writer.writeNamespace(attr.getLocalName(), attr.getNodeValue());
-                }
-            }
-        }
-        // node's namespace is not declared as attribute, but declared on
-        // ancestor
-        if (!prefixDecl) {
-            writer.writeNamespace(nodePrefix, nodeNS);
-        }
-
-        // Write all other attributes which are not namespace decl.
-        if (node.hasAttributes()) {
-            NamedNodeMap attrs = node.getAttributes();
-            int numOfAttributes = attrs.getLength();
-
-            for (int i = 0; i < numOfAttributes; i++) {
-                Node attr = attrs.item(i);
-                String attrPrefix = fixNull(attr.getPrefix());
-                String attrNS = fixNull(attr.getNamespaceURI());
-                if (!attrNS.equals(XMLConstants.XMLNS_ATTRIBUTE_NS_URI)) {
-                    String localName = attr.getLocalName();
-                    if (localName == null) {
-                        // TODO: this is really a bug in the caller for not
-                        // creating proper DOM tree.
-                        // will remove this workaround after plugfest
-                        localName = attr.getNodeName();
-                    }
-                    boolean attrPrefixDecl = isPrefixDeclared(writer, attrNS, attrPrefix);
-                    if (!attrPrefix.equals("") && !attrPrefixDecl) {
-                        // attr has namespace but namespace decl is there in
-                        // ancestor node
-                        // So write the namespace decl before writing the attr
-                        writer.setPrefix(attr.getLocalName(), attr.getNodeValue());
-                        writer.writeNamespace(attrPrefix, attrNS);
-                    }
-                    writer.writeAttribute(attrPrefix, attrNS, localName, attr.getNodeValue());
-                }
-            }
-        }
-
-        if (node.hasChildNodes()) {
-            NodeList children = node.getChildNodes();
-            for (int i = 0; i < children.getLength(); i++) {
-                Node child = children.item(i);
-                switch (child.getNodeType()) {
-                    case Node.PROCESSING_INSTRUCTION_NODE:
-                        writer.writeProcessingInstruction(child.getNodeValue());
-                    case Node.DOCUMENT_TYPE_NODE:
-                        break;
-                    case Node.CDATA_SECTION_NODE:
-                        writer.writeCData(child.getNodeValue());
-                        break;
-                    case Node.COMMENT_NODE:
-                        writer.writeComment(child.getNodeValue());
-                        break;
-                    case Node.TEXT_NODE:
-                        writer.writeCharacters(child.getNodeValue());
-                        break;
-                    case Node.ELEMENT_NODE:
-                        serializeNode((Element) child, writer);
-                        break;
-                }
-            }
-        }
-        writer.writeEndElement();
-    }
-
-    private static boolean isPrefixDeclared(XMLStreamWriter writer, String nsUri, String prefix) {
-        boolean prefixDecl = false;
-        NamespaceContext nscontext = writer.getNamespaceContext();
-        Iterator prefixItr = nscontext.getPrefixes(nsUri);
-        while (prefixItr.hasNext()) {
-            if (prefix.equals(prefixItr.next())) {
-                prefixDecl = true;
-                break;
-            }
-        }
-        return prefixDecl;
-    }
-
-    /**
-     * Gets the first child of the given name, or null.
-     */
-    public static Element getFirstChild(Element e, String nsUri, String local) {
-        for (Node n = e.getFirstChild(); n != null; n = n.getNextSibling()) {
-            if (n.getNodeType() == Node.ELEMENT_NODE) {
-                Element c = (Element) n;
-                if (c.getLocalName().equals(local) && c.getNamespaceURI().equals(nsUri))
-                    return c;
-            }
-        }
-        return null;
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/DomUtilTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,121 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamWriterTest;
-
-import java.io.ByteArrayOutputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.PrintStream;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamWriter;
-import javax.xml.transform.Result;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-
-import org.testng.annotations.Test;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.xml.sax.SAXException;
-
-/*
- * @summary Test XMLStreamWriter writes a soap message.
- */
-public class DomUtilTest {
-
-    private XMLOutputFactory staxOut;
-    final File folder = new File(System.getProperty("tempdir") + "/classes/soapmessages");
-    private static final String INPUT_FILE1 = "message_12.xml";
-
-    public void setup() {
-        this.staxOut = XMLOutputFactory.newInstance();
-        staxOut.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, true);
-    }
-
-    @Test
-    public void testSOAPEnvelope1() throws Exception {
-        setup();
-
-        File f = new File(this.getClass().getResource(INPUT_FILE1).getFile());
-        System.out.println("***********" + f.getName() + "***********");
-        DOMSource src = makeDomSource(f);
-        Node node = src.getNode();
-        XMLStreamWriter writer = staxOut.createXMLStreamWriter(new PrintStream(System.out));
-        DOMUtil.serializeNode((Element) node.getFirstChild(), writer);
-        writer.close();
-        assert (true);
-        System.out.println("*****************************************");
-
-    }
-
-    public static DOMSource makeDomSource(File f) throws Exception {
-        InputStream is = new FileInputStream(f);
-        DOMSource domSource = new DOMSource(createDOMNode(is));
-        return domSource;
-    }
-
-    public static void printNode(Node node) {
-        DOMSource source = new DOMSource(node);
-        String msgString = null;
-        try {
-            Transformer xFormer = TransformerFactory.newInstance().newTransformer();
-            xFormer.setOutputProperty("omit-xml-declaration", "yes");
-            ByteArrayOutputStream outStream = new ByteArrayOutputStream();
-            Result result = new StreamResult(outStream);
-            xFormer.transform(source, result);
-            outStream.writeTo(System.out);
-        } catch (Exception ex) {
-            ex.printStackTrace();
-        }
-    }
-
-    public static Node createDOMNode(InputStream inputStream) {
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        dbf.setValidating(false);
-        try {
-            DocumentBuilder builder = dbf.newDocumentBuilder();
-            try {
-                return builder.parse(inputStream);
-            } catch (SAXException e) {
-                e.printStackTrace();
-            } catch (IOException e) {
-                e.printStackTrace();
-            }
-        } catch (ParserConfigurationException pce) {
-            IllegalArgumentException iae = new IllegalArgumentException(pce.getMessage());
-            iae.initCause(pce);
-            throw iae;
-        }
-        return null;
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/EmptyElementTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,81 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamWriterTest;
-
-import java.io.ByteArrayOutputStream;
-
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XMLStreamWriter writes namespace and attribute after writeEmptyElement.
- */
-public class EmptyElementTest {
-
-    // expected output
-    private static final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<hello xmlns=\"http://hello\">"
-            + "<world xmlns=\"http://world\" prefixes=\"foo bar\"/>" + "</hello>";
-
-    XMLStreamWriter xmlStreamWriter;
-    ByteArrayOutputStream byteArrayOutputStream;
-    XMLOutputFactory xmlOutputFactory;
-
-    @Test
-    public void testWriterOnLinux() throws Exception {
-
-        // setup XMLStreamWriter
-        try {
-            byteArrayOutputStream = new ByteArrayOutputStream();
-            xmlOutputFactory = XMLOutputFactory.newInstance();
-            xmlOutputFactory.setProperty(xmlOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
-            xmlStreamWriter = xmlOutputFactory.createXMLStreamWriter(byteArrayOutputStream);
-        } catch (Exception e) {
-            System.err.println("Unexpected Exception: " + e.toString());
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-
-        // create & write a document
-        try {
-            xmlStreamWriter.writeStartDocument();
-            xmlStreamWriter.writeStartElement("hello");
-            xmlStreamWriter.writeDefaultNamespace("http://hello");
-            xmlStreamWriter.writeEmptyElement("world");
-            xmlStreamWriter.writeDefaultNamespace("http://world");
-            xmlStreamWriter.writeAttribute("prefixes", "foo bar");
-            xmlStreamWriter.writeEndElement();
-            xmlStreamWriter.writeEndDocument();
-            xmlStreamWriter.flush();
-            String actualOutput = byteArrayOutputStream.toString();
-            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-        } catch (Exception e) {
-            System.err.println("Unexpected Exception: " + e.toString());
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/EncodingTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,106 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamWriterTest;
-
-import java.io.ByteArrayOutputStream;
-
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XMLStreamWriter writes a document with encoding setting.
- */
-public class EncodingTest {
-
-    private static final XMLOutputFactory XML_OUTPUT_FACTORY = XMLOutputFactory.newInstance();
-
-    /*
-     * Tests writing a document with UTF-8 encoding, by setting UTF-8 on writer.
-     */
-    @Test
-    public void testWriteStartDocumentUTF8() {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><root></root>";
-        XMLStreamWriter writer = null;
-        ByteArrayOutputStream byteArrayOutputStream = null;
-
-        try {
-            byteArrayOutputStream = new ByteArrayOutputStream();
-            writer = XML_OUTPUT_FACTORY.createXMLStreamWriter(byteArrayOutputStream, "UTF-8");
-
-            writer.writeStartDocument("UTF-8", "1.0");
-            writer.writeStartElement("root");
-            writer.writeEndElement();
-            writer.writeEndDocument();
-            writer.flush();
-
-            String actualOutput = byteArrayOutputStream.toString();
-            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-
-    }
-
-    /*
-     * Tests writing a document with UTF-8 encoding on default enocding writer.
-     * This scenario should result in an exception as default encoding is ASCII.
-     */
-    @Test
-    public void testWriteStartDocumentUTF8Fail() {
-
-        XMLStreamWriter writer = null;
-        ByteArrayOutputStream byteArrayOutputStream = null;
-
-        // pick a different encoding to use v. default encoding
-        String defaultCharset = java.nio.charset.Charset.defaultCharset().name();
-        String useCharset = "UTF-8";
-        if (useCharset.equals(defaultCharset)) {
-            useCharset = "US-ASCII";
-        }
-
-        System.out.println("defaultCharset = " + defaultCharset + ", useCharset = " + useCharset);
-
-        try {
-            byteArrayOutputStream = new ByteArrayOutputStream();
-            writer = XML_OUTPUT_FACTORY.createXMLStreamWriter(byteArrayOutputStream);
-
-            writer.writeStartDocument(useCharset, "1.0");
-            writer.writeStartElement("root");
-            writer.writeEndElement();
-            writer.writeEndDocument();
-            writer.flush();
-
-            Assert.fail("Expected XMLStreamException as default underlying stream encoding of " + defaultCharset
-                    + " differs from explicitly specified encoding of " + useCharset);
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/NamespaceTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1430 +0,0 @@
-/*
- * 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 javax.xml.stream.XMLStreamWriterTest;
-
-import java.io.ByteArrayOutputStream;
-
-import javax.xml.XMLConstants;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.testng.Assert;
-import org.testng.annotations.BeforeMethod;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test the writing of Namespaces.
- */
-public class NamespaceTest {
-
-    /** debug output? */
-    private static final boolean DEBUG = true;
-
-    /** Factory to reuse. */
-    XMLOutputFactory xmlOutputFactory = null;
-
-    /** Writer to reuse. */
-    XMLStreamWriter xmlStreamWriter = null;
-
-    /** OutputStream to reuse. */
-    ByteArrayOutputStream byteArrayOutputStream = null;
-
-    @BeforeMethod
-    public void setUp() {
-
-        // want a Factory that repairs Namespaces
-        xmlOutputFactory = XMLOutputFactory.newInstance();
-        xmlOutputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, Boolean.TRUE);
-
-        // new OutputStream
-        byteArrayOutputStream = new ByteArrayOutputStream();
-
-        // new Writer
-        try {
-            xmlStreamWriter = xmlOutputFactory.createXMLStreamWriter(byteArrayOutputStream, "utf-8");
-
-        } catch (XMLStreamException xmlStreamException) {
-            Assert.fail(xmlStreamException.toString());
-        }
-    }
-
-    /**
-     * Reset Writer for reuse.
-     */
-    private void resetWriter() {
-        // reset the Writer
-        try {
-            byteArrayOutputStream.reset();
-            xmlStreamWriter = xmlOutputFactory.createXMLStreamWriter(byteArrayOutputStream, "utf-8");
-        } catch (XMLStreamException xmlStreamException) {
-            Assert.fail(xmlStreamException.toString());
-        }
-    }
-
-    @Test
-    public void testDoubleXmlNs() {
-        try {
-
-            xmlStreamWriter.writeStartDocument();
-            xmlStreamWriter.writeStartElement("foo");
-            xmlStreamWriter.writeNamespace("xml", XMLConstants.XML_NS_URI);
-            xmlStreamWriter.writeAttribute("xml", XMLConstants.XML_NS_URI, "lang", "ja_JP");
-            xmlStreamWriter.writeCharacters("Hello");
-            xmlStreamWriter.writeEndElement();
-            xmlStreamWriter.writeEndDocument();
-
-            xmlStreamWriter.flush();
-            String actualOutput = byteArrayOutputStream.toString();
-
-            if (DEBUG) {
-                System.out.println("testDoubleXmlNs(): actualOutput: " + actualOutput);
-            }
-
-            // there should be no xmlns:xml
-            Assert.assertTrue(actualOutput.split("xmlns:xml").length == 1, "Expected 0 xmlns:xml, actual output: " + actualOutput);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    @Test
-    public void testDuplicateNamespaceURI() throws Exception {
-
-        xmlStreamWriter.writeStartDocument();
-        xmlStreamWriter.writeStartElement(new String(""), "localName", new String("nsUri"));
-        xmlStreamWriter.writeNamespace(new String(""), new String("nsUri"));
-        xmlStreamWriter.writeEndElement();
-        xmlStreamWriter.writeEndDocument();
-
-        xmlStreamWriter.flush();
-        String actualOutput = byteArrayOutputStream.toString();
-
-        if (DEBUG) {
-            System.out.println("testDuplicateNamespaceURI(): actualOutput: " + actualOutput);
-        }
-
-        // there must be only 1 xmlns=...
-        Assert.assertTrue(actualOutput.split("xmlns").length == 2, "Expected 1 xmlns=, actual output: " + actualOutput);
-    }
-
-    // TODO: test with both "" & null
-    // NDW: There's no distinction in XML between a "null" namespace URI and one
-    // with a URI of "" (the empty string) so I haven't tried to call out any
-    // such distinctions.
-
-    // ---------------- Current default namespace is "" ----------------
-
-    private void startDocumentEmptyDefaultNamespace(XMLStreamWriter xmlStreamWriter) throws XMLStreamException {
-
-        xmlStreamWriter.writeStartDocument();
-        xmlStreamWriter.writeStartElement("root");
-        xmlStreamWriter.writeDefaultNamespace("");
-    }
-
-    private String endDocumentEmptyDefaultNamespace(XMLStreamWriter xmlStreamWriter) throws XMLStreamException {
-
-        xmlStreamWriter.writeEndDocument();
-
-        xmlStreamWriter.flush();
-
-        return byteArrayOutputStream.toString();
-    }
-
-    /**
-     * Current default namespace is "".
-     * writeStartElement("", "localName"", "")
-     * requires no fixup
-     */
-    @Test
-    public void testEmptyDefaultEmptyPrefix() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\">" + "<localName>" + "requires no fixup" + "</localName>" + "</root>";
-
-        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeStartElement("", "localName", "");
-        xmlStreamWriter.writeCharacters("requires no fixup");
-
-        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testEmptyDefaultEmptyPrefix(): actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    /**
-     * Current default namespace is "".
-     *
-     * writeStartElement("prefix", "localName", "http://example.org/myURI")
-     *
-     * requires no fixup, but should generate a declaration for "prefix":
-     * xmlns:prefix="http://example.org/myURI" if necessary
-     *
-     * necessary to generate a declaration in this test case.
-     */
-    @Test
-    public void testEmptyDefaultSpecifiedPrefix() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\">" + "<prefix:localName xmlns:prefix=\"http://example.org/myURI\">"
-                + "generate xmlns:prefix" + "</prefix:localName>" + "</root>";
-
-        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeStartElement("prefix", "localName", "http://example.org/myURI");
-        xmlStreamWriter.writeCharacters("generate xmlns:prefix");
-
-        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testEmptyDefaultSpecifiedPrefix(): actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    /**
-     * Current default namespace is "".
-     *
-     * writeStartElement("prefix", "localName", "http://example.org/myURI")
-     *
-     * requires no fixup, but should generate a declaration for "prefix":
-     * xmlns:prefix="http://example.org/myURI" if necessary
-     *
-     * not necessary to generate a declaration in this test case.
-     */
-    @Test
-    public void testEmptyDefaultSpecifiedPrefixNoDeclarationGeneration() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\"" + " xmlns:prefix=\"http://example.org/myURI\">" + "<prefix:localName>"
-                + "not necessary to generate a declaration" + "</prefix:localName>" + "</root>";
-
-        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeNamespace("prefix", "http://example.org/myURI");
-
-        xmlStreamWriter.writeStartElement("prefix", "localName", "http://example.org/myURI");
-        xmlStreamWriter.writeCharacters("not necessary to generate a declaration");
-
-        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testEmptyDefaultSpecifiedPrefixNoDeclarationGeneration(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testEmptyDefaultSpecifiedPrefixNoDeclarationGeneration():   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    /**
-     * Current default namespace is "".
-     *
-     * writeStartElement("", "localName", "http://example.org/myURI")
-     *
-     * should "fixup" the declaration for the default namespace:
-     * xmlns="http://example.org/myURI"
-     */
-    @Test
-    public void testEmptyDefaultSpecifiedDefault() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\">" + "<localName xmlns=\"http://example.org/myURI\">" + "generate xmlns"
-                + "</localName>" + "</root>";
-
-        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeStartElement("", "localName", "http://example.org/myURI");
-        xmlStreamWriter.writeCharacters("generate xmlns");
-
-        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testEmptyDefaultSpecifiedDefault(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testEmptyDefaultSpecifiedDefault():   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    /**
-     * Current default namespace is "".
-     *
-     * writeAttribute("", "", "attrName", "value")
-     *
-     * requires no fixup
-     */
-    @Test
-    public void testEmptyDefaultEmptyPrefixWriteAttribute() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\" attrName=\"value\">" + "requires no fixup" + "</root>";
-
-        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeAttribute("", "", "attrName", "value");
-        xmlStreamWriter.writeCharacters("requires no fixup");
-
-        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testEmptyDefaultEmptyPrefixWriteAttribute(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testEmptyDefaultEmptyPrefixWriteAttribute():   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    /**
-     * Current default namespace is "".
-     *
-     * writeAttribute("p", "http://example.org/myURI", "attrName", "value")
-     *
-     * requires no fixup, but should generate a declaration for "p":
-     * xmlns:p="http://example.org/myURI" if necessary
-     *
-     * necessary to generate a declaration in this test case.
-     */
-    @Test
-    public void testEmptyDefaultSpecifiedPrefixWriteAttribute() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\" xmlns:p=\"http://example.org/myURI\" p:attrName=\"value\">"
-                + "generate xmlns:p=\"http://example.org/myURI\"" + "</root>";
-
-        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeAttribute("p", "http://example.org/myURI", "attrName", "value");
-        xmlStreamWriter.writeCharacters("generate xmlns:p=\"http://example.org/myURI\"");
-
-        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testEmptyDefaultSpecifiedPrefixWriteAttribute(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testEmptyDefaultSpecifiedPrefixWriteAttribute():   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    /**
-     * Current default namespace is "".
-     *
-     * writeAttribute("p", "http://example.org/myURI", "attrName", "value")
-     *
-     * requires no fixup, but should generate a declaration for "p":
-     * xmlns:p="http://example.org/myURI" if necessary
-     *
-     * not necessary to generate a declaration in this test case.
-     */
-    @Test
-    public void testEmptyDefaultSpecifiedPrefixWriteAttributeNoDeclarationGeneration() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\" xmlns:p=\"http://example.org/myURI\" p:attrName=\"value\">"
-                + "not necessary to generate a declaration" + "</root>";
-
-        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
-
-        xmlStreamWriter.writeAttribute("p", "http://example.org/myURI", "attrName", "value");
-        xmlStreamWriter.writeCharacters("not necessary to generate a declaration");
-
-        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testEmptyDefaultSpecifiedPrefixWriteAttributeNoDeclarationGeneration(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testEmptyDefaultSpecifiedPrefixWriteAttributeNoDeclarationGeneration():   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    /**
-     * Current default namespace is "".
-     *
-     * writeAttribute("", "http://example.org/myURI", "attrName", "value")
-     *
-     * XMLOutputFactory (Javadoc) : "If a writer isRepairingNamespaces it will
-     * create a namespace declaration on the current StartElement for any
-     * attribute that does not currently have a namespace declaration in scope.
-     * If the StartElement has a uri but no prefix specified a prefix will be
-     * assigned, if the prefix has not been declared in a parent of the current
-     * StartElement it will be declared on the current StartElement. If the
-     * defaultNamespace is bound and in scope and the default namespace matches
-     * the URI of the attribute or StartElement QName no prefix will be
-     * assigned."
-     *
-     * prefix needs to be assigned for this test case.
-     */
-    @Test
-    public void testEmptyDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttribute() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>"
-                + "<root xmlns=\"\" xmlns:{generated prefix}=\"http://example.org/myURI\" {generated prefix}:attrName=\"value\">"
-                + "generate xmlns declaration {generated prefix}=\"http://example.org/myURI\"" + "</root>";
-
-        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeAttribute("", "http://example.org/myURI", "attrName", "value");
-        xmlStreamWriter.writeCharacters("generate xmlns declaration {generated prefix}=\"http://example.org/myURI\"");
-
-        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testEmptyDefaultUnspecifiedPrefixWriteAttribute(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testEmptyDefaultUnspecifiedPrefixWriteAttribute():   actualOutput: " + actualOutput);
-        }
-
-        // there must be one xmlns=
-        Assert.assertTrue(actualOutput.split("xmlns=").length == 2, "Expected 1 xmlns=, actual output: " + actualOutput);
-
-        // there must be one xmlns:{generated prefix}="..."
-        Assert.assertTrue(actualOutput.split("xmlns:").length == 2, "Expected 1 xmlns:{generated prefix}=\"\", actual output: " + actualOutput);
-
-        // there must be one {generated prefix}:attrName="value"
-        Assert.assertTrue(actualOutput.split(":attrName=\"value\"").length == 2, "Expected 1 {generated prefix}:attrName=\"value\", actual output: "
-                + actualOutput);
-    }
-
-    /**
-     * Current default namespace is "".
-     *
-     * writeAttribute("", "http://example.org/myURI", "attrName", "value")
-     *
-     * XMLOutputFactory (Javadoc) : "If a writer isRepairingNamespaces it will
-     * create a namespace declaration on the current StartElement for any
-     * attribute that does not currently have a namespace declaration in scope.
-     * If the StartElement has a uri but no prefix specified a prefix will be
-     * assigned, if the prefix has not been declared in a parent of the current
-     * StartElement it will be declared on the current StartElement. If the
-     * defaultNamespace is bound and in scope and the default namespace matches
-     * the URI of the attribute or StartElement QName no prefix will be
-     * assigned."
-     *
-     * no prefix needs to be assigned for this test case
-     */
-    @Test
-    public void testEmptyDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttributeNoPrefixGeneration() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\" xmlns:p=\"http://example.org/myURI\" p:attrName=\"value\">"
-                + "no prefix generation" + "</root>";
-
-        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
-
-        xmlStreamWriter.writeAttribute("", "http://example.org/myURI", "attrName", "value");
-        xmlStreamWriter.writeCharacters("no prefix generation");
-
-        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testEmptyDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttributeNoPrefixGeneration(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testEmptyDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttributeNoPrefixGeneration():   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    // ---------------- Current default namespace is
-    // "http://example.org/uniqueURI" ----------------
-
-    private void startDocumentSpecifiedDefaultNamespace(XMLStreamWriter xmlStreamWriter) throws XMLStreamException {
-
-        xmlStreamWriter.writeStartDocument();
-        xmlStreamWriter.writeStartElement("root");
-        xmlStreamWriter.writeDefaultNamespace("http://example.org/uniqueURI");
-    }
-
-    private String endDocumentSpecifiedDefaultNamespace(XMLStreamWriter xmlStreamWriter) throws XMLStreamException {
-
-        xmlStreamWriter.writeEndDocument();
-
-        xmlStreamWriter.flush();
-
-        return byteArrayOutputStream.toString();
-    }
-
-    /**
-     * Current default namespace is "http://example.org/uniqueURI".
-     *
-     * writeElement("", "localName", "")
-     *
-     * should "fixup" the declaration for the default namespace: xmlns=""
-     */
-    @Test
-    public void testSpecifiedDefaultEmptyPrefix() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"http://example.org/uniqueURI\">" + "<localName xmlns=\"\">"
-                + "generate xmlns=\"\"" + "</localName>" + "</root>";
-
-        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeStartElement("", "localName", "");
-        xmlStreamWriter.writeCharacters("generate xmlns=\"\"");
-
-        String actualOutput = endDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testSpecifiedDefaultEmptyPrefix(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testSpecifiedDefaultEmptyPrefix():   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    /**
-     * Current default namespace is "http://example.org/uniqueURI".
-     *
-     * writeStartElement("p", "localName", "http://example.org/myURI")
-     *
-     * requires no fixup, but should generate a declaration for "p":
-     * xmlns:p="http://example.org/myURI" if necessary
-     *
-     * test case where it is necessary to generate a declaration.
-     */
-    @Test
-    public void testSpecifiedDefaultSpecifiedPrefix() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"http://example.org/uniqueURI\">"
-                + "<p:localName xmlns:p=\"http://example.org/myURI\">" + "generate xmlns:p=\"http://example.org/myURI\"" + "</p:localName>" + "</root>";
-
-        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/myURI");
-        xmlStreamWriter.writeCharacters("generate xmlns:p=\"http://example.org/myURI\"");
-
-        String actualOutput = endDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testSpecifiedDefaultSpecifiedPrefix(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testSpecifiedDefaultSpecifiedPrefix():   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    /**
-     * Current default namespace is "http://example.org/uniqueURI".
-     *
-     * writeStartElement("p", "localName", "http://example.org/myURI")
-     *
-     * requires no fixup, but should generate a declaration for "p":
-     * xmlns:p="http://example.org/myURI" if necessary
-     *
-     * test case where it is not necessary to generate a declaration.
-     */
-    @Test
-    public void testSpecifiedDefaultSpecifiedPrefixNoPrefixGeneration() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root" + " xmlns=\"http://example.org/uniqueURI\""
-                + " xmlns:p=\"http://example.org/myURI\">" + "<p:localName>" + "not necessary to generate a declaration" + "</p:localName>" + "</root>";
-
-        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
-
-        xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/myURI");
-        xmlStreamWriter.writeCharacters("not necessary to generate a declaration");
-
-        String actualOutput = endDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testSpecifiedDefaultSpecifiedPrefixNoPrefixGeneration(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testSpecifiedDefaultSpecifiedPrefixNoPrefixGeneration():   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    /**
-     * Current default namespace is "http://example.org/uniqueURI".
-     *
-     * writeStartElement("", "localName", "http://example.org/myURI")
-     *
-     * should "fixup" the declaration for the default namespace:
-     * xmlns="http://example.org/myURI"
-     */
-    @Test
-    public void testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURI() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"http://example.org/uniqueURI\">"
-                + "<localName xmlns=\"http://example.org/myURI\">" + "generate xmlns=\"http://example.org/myURI\"" + "</localName>" + "</root>";
-
-        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeStartElement("", "localName", "http://example.org/myURI");
-        xmlStreamWriter.writeCharacters("generate xmlns=\"http://example.org/myURI\"");
-
-        String actualOutput = endDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURI(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURI():   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    /**
-     * Current default namespace is "http://example.org/uniqueURI".
-     *
-     * writeAttribute("", "", "attrName", "value")
-     *
-     * requires no fixup
-     */
-    @Test
-    public void testSpecifiedDefaultEmptyPrefixWriteAttribute() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"http://example.org/uniqueURI\" attrName=\"value\">" + "requires no fixup"
-                + "</root>";
-
-        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeAttribute("", "", "attrName", "value");
-        xmlStreamWriter.writeCharacters("requires no fixup");
-
-        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testSpecifiedDefaultEmptyPrefixWriteAttribute(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testSpecifiedDefaultEmptyPrefixWriteAttribute():   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    /**
-     * Current default namespace is "http://example.org/uniqueURI".
-     *
-     * writeAttribute("p", "http://example.org/myURI", "attrName", "value")
-     *
-     * requires no fixup, but should generate a declaration for "p":
-     * xmlns:p="http://example.org/myURI" if necessary
-     *
-     * test case where it is necessary to generate a declaration.
-     */
-    @Test
-    public void testSpecifiedDefaultSpecifiedPrefixWriteAttribute() throws Exception { // want
-                                                                                       // to
-                                                                                       // test
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>"
-                + "<root xmlns=\"http://example.org/uniqueURI\" xmlns:p=\"http://example.org/myURI\" p:attrName=\"value\">"
-                + "generate xmlns:p=\"http://example.org/myURI\"" + "</root>";
-
-        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeAttribute("p", "http://example.org/myURI", "attrName", "value");
-        xmlStreamWriter.writeCharacters("generate xmlns:p=\"http://example.org/myURI\"");
-
-        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testSpecifiedDefaultSpecifiedPrefixWriteAttribute(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testSpecifiedDefaultSpecifiedPrefixWriteAttribute():   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    /**
-     * Current default namespace is "http://example.org/uniqueURI".
-     *
-     * writeAttribute("p", "http://example.org/myURI", "attrName", "value")
-     *
-     * requires no fixup, but should generate a declaration for "p":
-     * xmlns:p="http://example.org/myURI" if necessary
-     *
-     * test case where it is not necessary to generate a declaration.
-     */
-    @Test
-    public void testSpecifiedDefaultSpecifiedPrefixWriteAttributeNoDeclarationGeneration() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>"
-                + "<root xmlns=\"http://example.org/uniqueURI\" xmlns:p=\"http://example.org/myURI\" p:attrName=\"value\">"
-                + "not necessary to generate a declaration" + "</root>";
-
-        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
-
-        xmlStreamWriter.writeAttribute("p", "http://example.org/myURI", "attrName", "value");
-        xmlStreamWriter.writeCharacters("not necessary to generate a declaration");
-
-        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testSpecifiedDefaultSpecifiedPrefixWriteAttributeNoDeclarationGeneration(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testSpecifiedDefaultSpecifiedPrefixWriteAttributeNoDeclarationGeneration():   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    /**
-     * Current default namespace is "http://example.org/uniqueURI".
-     *
-     * writeAttribute("p", "http://example.org/uniqueURI", "attrName", "value")
-     *
-     * requires no fixup, but should generate a declaration for "p":
-     * xmlns:p="http://example.org/uniqueURI" if necessary. (Note that this will
-     * potentially produce two namespace bindings with the same URI, xmlns="xxx"
-     * and xmlns:p="xxx", but that's perfectly legal.)
-     */
-    @Test
-    public void testSpecifiedDefaultSpecifiedPrefixSpecifiedNamespaceURIWriteAttribute() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"http://example.org/uniqueURI\" attrName=\"value\">" + "requires no fixup"
-                + "</root>";
-        final String EXPECTED_OUTPUT_2 = "<?xml version=\"1.0\" ?>"
-                + "<root xmlns=\"http://example.org/uniqueURI\" xmlns:p=\"http://example.org/uniqueURI\" p:attrName=\"value\">" + "requires no fixup"
-                + "</root>";
-
-        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeAttribute("p", "http://example.org/uniqueURI", "attrName", "value");
-        xmlStreamWriter.writeCharacters("requires no fixup");
-
-        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testSpecifiedDefaultSpecifiedPrefixSpecifiedNamespaceURIWriteAttribute: expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testSpecifiedDefaultSpecifiedPrefixSpecifiedNamespaceURIWriteAttribute: expectedOutput: " + EXPECTED_OUTPUT_2);
-            System.out.println("testSpecifiedDefaultSpecifiedPrefixSpecifiedNamespaceURIWriteAttribute:   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertTrue(actualOutput.equals(EXPECTED_OUTPUT) || actualOutput.equals(EXPECTED_OUTPUT_2), "Expected: " + EXPECTED_OUTPUT + "\n" + "Actual: "
-                + actualOutput);
-    }
-
-    /**
-     * Current default namespace is "http://example.org/uniqueURI".
-     *
-     * writeAttribute("", "http://example.org/myURI", "attrName", "value")
-     *
-     * XMLOutputFactory (Javadoc) : "If a writer isRepairingNamespaces it will
-     * create a namespace declaration on the current StartElement for any
-     * attribute that does not currently have a namespace declaration in scope.
-     * If the StartElement has a uri but no prefix specified a prefix will be
-     * assigned, if the prefix has not been declared in a parent of the current
-     * StartElement it will be declared on the current StartElement. If the
-     * defaultNamespace is bound and in scope and the default namespace matches
-     * the URI of the attribute or StartElement QName no prefix will be
-     * assigned."
-     *
-     * test case where prefix needs to be assigned.
-     */
-    @Test
-    public void testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttribute() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root" + " xmlns=\"http://example.org/uniqueURI\""
-                + " xmlns:{generated prefix}=\"http://example.org/myURI\"" + " {generated prefix}:attrName=\"value\">"
-                + "generate xmlns declaration {generated prefix}=\"http://example.org/myURI\"" + "</root>";
-
-        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeAttribute("", "http://example.org/myURI", "attrName", "value");
-        xmlStreamWriter.writeCharacters("generate xmlns declaration {generated prefix}=\"http://example.org/myURI\"");
-
-        String actualOutput = endDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttribute(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttribute():   actualOutput: " + actualOutput);
-        }
-
-        // there must be one xmlns=
-        Assert.assertTrue(actualOutput.split("xmlns=").length == 2, "Expected 1 xmlns=, actual output: " + actualOutput);
-
-        // there must be one xmlns:{generated prefix}="..."
-        Assert.assertTrue(actualOutput.split("xmlns:").length == 2, "Expected 1 xmlns:{generated prefix}=\"\", actual output: " + actualOutput);
-
-        // there must be one {generated prefix}:attrName="value"
-        Assert.assertTrue(actualOutput.split(":attrName=\"value\"").length == 2, "Expected 1 {generated prefix}:attrName=\"value\", actual output: "
-                + actualOutput);
-    }
-
-    /**
-     * Current default namespace is "http://example.org/uniqueURI".
-     *
-     * writeAttribute("", "http://example.org/myURI", "attrName", "value")
-     *
-     * XMLOutputFactory (Javadoc) : "If a writer isRepairingNamespaces it will
-     * create a namespace declaration on the current StartElement for any
-     * attribute that does not currently have a namespace declaration in scope.
-     * If the StartElement has a uri but no prefix specified a prefix will be
-     * assigned, if the prefix has not been declared in a parent of the current
-     * StartElement it will be declared on the current StartElement. If the
-     * defaultNamespace is bound and in scope and the default namespace matches
-     * the URI of the attribute or StartElement QName no prefix will be
-     * assigned."
-     *
-     * test case where no prefix needs to be assigned.
-     */
-    @Test
-    public void testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttributeNoPrefixGeneration() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root" + " xmlns=\"http://example.org/uniqueURI\""
-                + " xmlns:p=\"http://example.org/myURI\"" + " p:attrName=\"value\">" + "no prefix needs to be assigned" + "</root>";
-
-        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
-
-        xmlStreamWriter.writeAttribute("", "http://example.org/myURI", "attrName", "value");
-        xmlStreamWriter.writeCharacters("no prefix needs to be assigned");
-
-        String actualOutput = endDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttributeNoPrefixGeneration(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttributeNoPrefixGeneration():   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    // --------------- Serializations, sequences ---------------
-
-    // Unfortunately, the nature of the StAX API makes it possible for the
-    // programmer to generate events that cannot be serialized in XML.
-
-    /**
-     * Current default namespace is "".
-     *
-     * write*("p", "myuri", ...); write*("p", "otheruri", ...);
-     *
-     * XMLOutputFactory (Javadoc) (If repairing of namespaces is enabled): "If
-     * element and/or attribute names in the same start or empty-element tag are
-     * bound to different namespace URIs and are using the same prefix then the
-     * element or the first occurring attribute retains the original prefix and
-     * the following attributes have their prefixes replaced with a new prefix
-     * that is bound to the namespace URIs of those attributes."
-     */
-    @Test
-    public void testSamePrefixDifferentURI() throws Exception {
-
-        /**
-         * writeAttribute("p", "http://example.org/URI-ONE", "attr1", "value");
-         * writeAttribute("p", "http://example.org/URI-TWO", "attr2", "value");
-         */
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root" + " xmlns=\"\"" + " xmlns:p=\"http://example.org/URI-ONE\"" + " p:attr1=\"value\">"
-                + " xmlns:{generated prefix}=\"http://example.org/URI-TWO\"" + " {generated prefix}:attr2=\"value\">"
-                + "remap xmlns declaration {generated prefix}=\"http://example.org/URI-TWO\"" + "</root>";
-
-        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeAttribute("p", "http://example.org/URI-ONE", "attr1", "value");
-        xmlStreamWriter.writeAttribute("p", "http://example.org/URI-TWO", "attr2", "value");
-        xmlStreamWriter.writeCharacters("remap xmlns declaration {generated prefix}=\"http://example.org/URI-TWO\"");
-
-        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testSamePrefixDifferentURI(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testSamePrefixDifferentURI():   actualOutput: " + actualOutput);
-        }
-
-        // there must be 1 xmlns=
-        Assert.assertTrue(actualOutput.split("xmlns=").length == 2, "Expected 1 xmlns=, actual output: " + actualOutput);
-
-        // there must be 2 xmlns:
-        Assert.assertTrue(actualOutput.split("xmlns:").length == 3, "Expected 2 xmlns:, actual output: " + actualOutput);
-
-        // there must be 2 :attr
-        Assert.assertTrue(actualOutput.split(":attr").length == 3, "Expected 2 :attr, actual output: " + actualOutput);
-
-        /**
-         * writeStartElement("p", "localName", "http://example.org/URI-ONE");
-         * writeAttribute("p", "http://example.org/URI-TWO", "attrName",
-         * "value");
-         */
-        final String EXPECTED_OUTPUT_2 = "<?xml version=\"1.0\" ?>" + "<root" + " xmlns=\"\">" + "<p:localName" + " xmlns:p=\"http://example.org/URI-ONE\""
-                + " xmlns:{generated prefix}=\"http://example.org/URI-TWO\"" + " {generated prefix}:attrName=\"value\">" + "</p:localName>" + "</root>";
-
-        // reset to known state
-        resetWriter();
-        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/URI-ONE");
-        xmlStreamWriter.writeAttribute("p", "http://example.org/URI-TWO", "attrName", "value");
-
-        actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testSamePrefixDifferentURI(): expectedOutput: " + EXPECTED_OUTPUT_2);
-            System.out.println("testSamePrefixDifferentURI():   actualOutput: " + actualOutput);
-        }
-
-        // there must be 1 xmlns=
-        Assert.assertTrue(actualOutput.split("xmlns=").length == 2, "Expected 1 xmlns=, actual output: " + actualOutput);
-
-        // there must be 2 xmlns:
-        Assert.assertTrue(actualOutput.split("xmlns:").length == 3, "Expected 2 xmlns:, actual output: " + actualOutput);
-
-        // there must be 2 p:localName
-        Assert.assertTrue(actualOutput.split("p:localName").length == 3, "Expected 2 p:localName, actual output: " + actualOutput);
-
-        // there must be 1 :attrName
-        Assert.assertTrue(actualOutput.split(":attrName").length == 2, "Expected 1 :attrName, actual output: " + actualOutput);
-
-        /**
-         * writeNamespace("p", "http://example.org/URI-ONE");
-         * writeAttribute("p", "http://example.org/URI-TWO", "attrName",
-         * "value");
-         */
-        final String EXPECTED_OUTPUT_3 = "<?xml version=\"1.0\" ?>" + "<root" + " xmlns=\"\"" + " xmlns:p=\"http://example.org/URI-ONE\""
-                + " xmlns:{generated prefix}=\"http://example.org/URI-TWO\"" + " {generated prefix}:attrName=\"value\">" + "</root>";
-
-        // reset to known state
-        resetWriter();
-        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeNamespace("p", "http://example.org/URI-ONE");
-        xmlStreamWriter.writeAttribute("p", "http://example.org/URI-TWO", "attrName", "value");
-
-        actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testSamePrefixDifferentURI(): expectedOutput: " + EXPECTED_OUTPUT_3);
-            System.out.println("testSamePrefixDifferentURI():   actualOutput: " + actualOutput);
-        }
-
-        // there must be 1 xmlns=
-        Assert.assertTrue(actualOutput.split("xmlns=").length == 2, "Expected 1 xmlns=, actual output: " + actualOutput);
-
-        // there must be 2 xmlns:
-        Assert.assertTrue(actualOutput.split("xmlns:").length == 3, "Expected 2 xmlns:, actual output: " + actualOutput);
-
-        // there must be 1 :attrName
-        Assert.assertTrue(actualOutput.split(":attrName").length == 2, "Expected a :attrName, actual output: " + actualOutput);
-
-        /**
-         * writeNamespace("xmlns", ""); writeStartElement("", "localName",
-         * "http://example.org/URI-TWO");
-         */
-        final String EXPECTED_OUTPUT_4 = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\">" + "<localName xmlns=\"http://example.org/URI-TWO\">"
-                + "xmlns declaration =\"http://example.org/URI-TWO\"" + "</localName" + "</root>";
-
-        // reset to known state
-        resetWriter();
-        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        // writeNamespace("xmlns", ""); already done by
-        // startDocumentEmptyDefaultNamespace above
-        xmlStreamWriter.writeStartElement("", "localName", "http://example.org/URI-TWO");
-        xmlStreamWriter.writeCharacters("remap xmlns declaration {generated prefix}=\"http://example.org/URI-TWO\"");
-
-        actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testSamePrefixDifferentURI(): expectedOutput: " + EXPECTED_OUTPUT_4);
-            System.out.println("testSamePrefixDifferentURI():   actualOutput: " + actualOutput);
-        }
-
-        // there must be 2 xmlns=
-        Assert.assertTrue(actualOutput.split("xmlns=").length == 3, "Expected 2 xmlns=, actual output: " + actualOutput);
-
-        // there must be 0 xmlns:
-        Assert.assertTrue(actualOutput.split("xmlns:").length == 1, "Expected 0 xmlns:, actual output: " + actualOutput);
-
-        // there must be 0 :localName
-        Assert.assertTrue(actualOutput.split(":localName").length == 1, "Expected 0 :localName, actual output: " + actualOutput);
-    }
-
-    // ---------------- Misc ----------------
-
-    /**
-     * The one case where you don't have to worry about fixup is on attributes
-     * that do not have a prefix. Irrespective of the current namespace
-     * bindings,
-     *
-     * writeAttribute("", "", "attrName", "value")
-     *
-     * is always correct and never requires fixup.
-     */
-    @Test
-    public void testEmptyDefaultEmptyPrefixEmptyNamespaceURIWriteAttribute() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\" attrName=\"value\">" + "never requires fixup" + "</root>";
-
-        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeAttribute("", "", "attrName", "value");
-        xmlStreamWriter.writeCharacters("never requires fixup");
-
-        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testEmptyDefaultEmptyPrefixEmptyNamespaceURIWriteAttribute(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testEmptyDefaultEmptyPrefixEmptyNamespaceURIWriteAttribute():   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    @Test
-    public void testSpecifiedDefaultEmptyPrefixEmptyNamespaceURIWriteAttribute() throws Exception {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"http://example.org/uniqueURI\" attrName=\"value\">" + "never requires fixup"
-                + "</root>";
-
-        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        xmlStreamWriter.writeAttribute("", "", "attrName", "value");
-        xmlStreamWriter.writeCharacters("never requires fixup");
-
-        String actualOutput = endDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-
-        if (DEBUG) {
-            System.out.println("testSpecifiedDefaultEmptyPrefixEmptyNamespaceURIWriteAttribute(): expectedOutput: " + EXPECTED_OUTPUT);
-            System.out.println("testSpecifiedDefaultEmptyPrefixEmptyNamespaceURIWriteAttribute():   actualOutput: " + actualOutput);
-        }
-
-        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-    }
-
-    /*--------------- Negative tests with isRepairingNamespaces as FALSE ---------------------- */
-
-    private void setUpForNoRepair() {
-
-        xmlOutputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, Boolean.FALSE);
-
-        // new Writer
-        try {
-            xmlStreamWriter = xmlOutputFactory.createXMLStreamWriter(byteArrayOutputStream);
-
-        } catch (XMLStreamException xmlStreamException) {
-            xmlStreamException.printStackTrace();
-            Assert.fail(xmlStreamException.toString());
-        }
-    }
-
-    /*
-     * Tries to assign default namespace to empty URI and again to a different
-     * uri in element and attribute. Expects XMLStreamException .
-     * writeNamespace("",""); writeAttribute("", "http://example.org/myURI",
-     * "attrName", "value");
-     */
-    @Test
-    public void testEmptyDefaultEmptyPrefixSpecifiedURIWriteAttributeNoRepair() {
-        try {
-            setUpForNoRepair();
-            startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            xmlStreamWriter.writeAttribute("", "http://example.org/myURI", "attrName", "value");
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            Assert.fail("XMLStreamException is expected, actualOutput: " + actualOutput);
-        } catch (Exception e) {
-            System.out.println("PASS: caught an expected exception" + e.getMessage());
-            e.printStackTrace();
-        }
-    }
-
-    /*
-     * Tries to assign default namespace to different uris in element and
-     * attribute and expects XMLStreamException.
-     * writeNamespace("","http://example.org/uniqueURI"); writeAttribute("",
-     * "http://example.org/myURI", "attrName", "value");
-     */
-    @Test
-    public void testSpecifiedDefaultEmptyPrefixSpecifiedURIWriteAttributeNoRepair() {
-        try {
-            setUpForNoRepair();
-            startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-            xmlStreamWriter.writeAttribute("", "http://example.org/uniqueURI", "attrName", "value");
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            Assert.fail("XMLStreamException is expected, actualOutput: " + actualOutput);
-        } catch (Exception e) {
-            System.out.println("PASS: caught an expected exception" + e.getMessage());
-            e.printStackTrace();
-        }
-    }
-
-    /*
-     * Tries to assign default namespace to same uri twice in element and
-     * attribute and expects XMLStreamException.
-     * writeNamespace("","http://example.org/uniqueURI"); writeAttribute("",
-     * "http://example.org/uniqueURI", "attrName", "value");
-     */
-    @Test
-    public void testSpecifiedDefaultEmptyPrefixSpecifiedDifferentURIWriteAttributeNoRepair() {
-        try {
-            setUpForNoRepair();
-            startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-            xmlStreamWriter.writeAttribute("", "http://example.org/myURI", "attrName", "value");
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            Assert.fail("XMLStreamException is expected, actualOutput: " + actualOutput);
-        } catch (Exception e) {
-            System.out.println("PASS: caught an expected exception" + e.getMessage());
-            e.printStackTrace();
-        }
-    }
-
-    /*
-     * Tries to assign prefix 'p' to different uris to attributes of the same
-     * element and expects XMLStreamException. writeAttribute("p",
-     * "http://example.org/URI-ONE", "attr1", "value"); writeAttribute("p",
-     * "http://example.org/URI-TWO", "attr2", "value");
-     */
-    @Test
-    public void testSamePrefixDiffrentURIWriteAttributeNoRepair() {
-        try {
-            setUpForNoRepair();
-            startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            xmlStreamWriter.writeAttribute("p", "http://example.org/URI-ONE", "attr1", "value");
-            xmlStreamWriter.writeAttribute("p", "http://example.org/URI-TWO", "attr2", "value");
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            Assert.fail("XMLStreamException is expected, actualOutput: " + actualOutput);
-        } catch (Exception e) {
-            System.out.println("PASS: caught an expected exception" + e.getMessage());
-            e.printStackTrace();
-        }
-    }
-
-    /*
-     * Tries to assign prefix 'p' to different uris in element and attribute and
-     * expects XMLStreamException.
-     * writeStartElement("p","localName","http://example.org/URI-ONE")
-     * writeAttribute("p", "http://example.org/URI-TWO", "attrName", "value")
-     */
-    @Test
-    public void testSamePrefixDiffrentURIWriteElemAndWriteAttributeNoRepair() {
-        try {
-            setUpForNoRepair();
-            startDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/URI-ONE");
-            xmlStreamWriter.writeAttribute("p", "http://example.org/URI-TWO", "attrName", "value");
-            xmlStreamWriter.writeEndElement();
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            Assert.fail("XMLStreamException is expected, actualOutput: " + actualOutput);
-        } catch (Exception e) {
-            System.out.println("PASS: caught an expected exception" + e.getMessage());
-            e.printStackTrace();
-        }
-    }
-
-    /*
-     * Tries to write following and expects a StreamException. <root
-     * xmlns=""http://example.org/uniqueURI"" xmlns=""http://example.org/myURI""
-     * />
-     */
-    @Test
-    public void testDefaultNamespaceDiffrentURIWriteElementNoRepair() {
-        try {
-            System.out.println("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
-            setUpForNoRepair();
-            startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
-            xmlStreamWriter.writeNamespace("", "http://example.org/myURI");
-            xmlStreamWriter.writeEndElement();
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            System.out.println("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
-            Assert.fail("XMLStreamException is expected, actualOutput: " + actualOutput);
-        } catch (Exception e) {
-            System.out.println("PASS: caught an expected exception" + e.getMessage());
-            e.printStackTrace();
-        }
-    }
-
-    /*--------------------------------------------------------------------------
-     Miscelleneous tests for writeStartElement() & writeAttribute() methods
-     in case of NOREPAIR
-     --------------------------------------------------------------------------*/
-
-    private void startDocument(XMLStreamWriter xmlStreamWriter) throws XMLStreamException {
-        xmlStreamWriter.writeStartDocument();
-        xmlStreamWriter.writeStartElement("root");
-    }
-
-    @Test
-    public void testSpecifiedPrefixSpecifiedURIWriteElementNoRepair() {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root>" + "<p:localName></p:localName>" + "</root>";
-        try {
-            setUpForNoRepair();
-            startDocument(xmlStreamWriter);
-            xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/myURI");
-            xmlStreamWriter.writeEndElement();
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            System.out.println("actualOutput: " + actualOutput);
-            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Caught an unexpected exception" + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testSpecifiedPrefixSpecifiedURIWriteAttributeNoRepair() {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root p:attrName=\"value\">" + "</root>";
-        try {
-            setUpForNoRepair();
-            startDocument(xmlStreamWriter);
-            xmlStreamWriter.writeAttribute("p", "http://example.org/myURI", "attrName", "value");
-            xmlStreamWriter.writeEndElement();
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            System.out.println("actualOutput: " + actualOutput);
-            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Caught an unexpected exception" + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testSpecifiedPrefixSpecifiedURISpecifiedNamespcaeWriteElementNoRepair() {
-
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root>" + "<p:localName xmlns:p=\"http://example.org/myURI\"></p:localName>" + "</root>";
-        try {
-            setUpForNoRepair();
-            startDocument(xmlStreamWriter);
-
-            xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/myURI");
-            xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
-            xmlStreamWriter.writeEndElement();
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            System.out.println("actualOutput: " + actualOutput);
-            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Caught an unexpected exception" + e.getMessage());
-        }
-    }
-
-    /*
-     * writeStartElement("p","localName", "http://example.org/myURI")
-     * writeNamespace("p","http://example.org/uniqueURI") This sequence of calls
-     * should generate an error as prefix 'p' is binded to different namespace
-     * URIs in same namespace context and repairing is disabled.
-     */
-
-    @Test
-    public void testSpecifiedPrefixSpecifiedURISpecifiedDifferentNamespcaeWriteElementNoRepair() {
-
-        try {
-            setUpForNoRepair();
-            startDocument(xmlStreamWriter);
-            xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/myURI");
-            xmlStreamWriter.writeNamespace("p", "http://example.org/uniqueURI");
-            xmlStreamWriter.writeEndElement();
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            System.out.println("actualOutput: " + actualOutput);
-            Assert.fail("XMLStreamException is expected as 'p' is rebinded to a different URI in same namespace context");
-        } catch (Exception e) {
-            System.out.println("Caught an expected exception" + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testEmptyPrefixEmptyURIWriteAttributeNoRepair() {
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root>" + "<localName attrName=\"value\"></localName>" + "</root>";
-        try {
-            setUpForNoRepair();
-            startDocument(xmlStreamWriter);
-            xmlStreamWriter.writeStartElement("localName");
-            xmlStreamWriter.writeAttribute("", "", "attrName", "value");
-            xmlStreamWriter.writeEndElement();
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            System.out.println("actualOutput: " + actualOutput);
-            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Caught an unexpected exception" + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testEmptyPrefixNullURIWriteAttributeNoRepair() {
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root>" + "<localName attrName=\"value\"></localName>" + "</root>";
-        try {
-            setUpForNoRepair();
-            startDocument(xmlStreamWriter);
-            xmlStreamWriter.writeStartElement("localName");
-            xmlStreamWriter.writeAttribute(null, null, "attrName", "value");
-            xmlStreamWriter.writeEndElement();
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            System.out.println("actualOutput: " + actualOutput);
-            Assert.fail("XMLStreamException is expected, actualOutput: " + actualOutput);
-        } catch (Exception e) {
-            System.out.println("PASS: caught an expected exception" + e.getMessage());
-            e.printStackTrace();
-        }
-    }
-
-    @Test
-    public void testDoubleXmlNsNoRepair() {
-        try {
-            // reset to known state
-            setUpForNoRepair();
-
-            xmlStreamWriter.writeStartDocument();
-            xmlStreamWriter.writeStartElement("foo");
-            xmlStreamWriter.writeNamespace("xml", XMLConstants.XML_NS_URI);
-            xmlStreamWriter.writeAttribute("xml", XMLConstants.XML_NS_URI, "lang", "ja_JP");
-            xmlStreamWriter.writeCharacters("Hello");
-            xmlStreamWriter.writeEndElement();
-            xmlStreamWriter.writeEndDocument();
-
-            xmlStreamWriter.flush();
-            String actualOutput = byteArrayOutputStream.toString();
-
-            if (DEBUG) {
-                System.out.println("testDoubleXmlNsNoRepair(): actualOutput: " + actualOutput);
-            }
-
-            // there should be no xmlns:xml
-            Assert.assertTrue(actualOutput.split("xmlns:xml").length == 1, "Expected 0 xmlns:xml, actual output: " + actualOutput);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    @Test
-    public void testSpecifiedURIWriteAttributeNoRepair() {
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root>" + "<p:localName p:attrName=\"value\"></p:localName>" + "</root>";
-        try {
-            setUpForNoRepair();
-            startDocument(xmlStreamWriter);
-            xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/myURI");
-            xmlStreamWriter.writeAttribute("http://example.org/myURI", "attrName", "value");
-            xmlStreamWriter.writeEndElement();
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            System.out.println("actualOutput: " + actualOutput);
-            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-        } catch (Exception e) {
-            System.out.println("Caught an expected exception" + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testSpecifiedURIWriteAttributeWithRepair() {
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root>"
-                + "<p:localName xmlns:p=\"http://example.org/myURI\" p:attrName=\"value\"></p:localName>" + "</root>";
-        try {
-            startDocument(xmlStreamWriter);
-            xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/myURI");
-            xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
-            xmlStreamWriter.writeAttribute("http://example.org/myURI", "attrName", "value");
-            xmlStreamWriter.writeEndElement();
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            System.out.println("actualOutput: " + actualOutput);
-            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testSpecifiedDefaultInDifferentElementsNoRepair() {
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root>" + "<localName xmlns=\"http://example.org/myURI\">"
-                + "<child xmlns=\"http://example.org/uniqueURI\"></child>" + "</localName>" + "</root>";
-        try {
-            setUpForNoRepair();
-            startDocument(xmlStreamWriter);
-            xmlStreamWriter.writeStartElement("localName");
-            xmlStreamWriter.writeDefaultNamespace("http://example.org/myURI");
-            xmlStreamWriter.writeStartElement("child");
-            xmlStreamWriter.writeDefaultNamespace("http://example.org/uniqueURI");
-            xmlStreamWriter.writeEndElement();
-            xmlStreamWriter.writeEndElement();
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            System.out.println("actualOutput: " + actualOutput);
-            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    /*------------- Tests for setPrefix() and setDefaultNamespace() methods --------------------*/
-
-    @Test
-    public void testSetPrefixWriteNamespaceNoRepair() {
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns:p=\"http://example.org/myURI\">" + "</root>";
-        try {
-            setUpForNoRepair();
-            startDocument(xmlStreamWriter);
-            xmlStreamWriter.setPrefix("p", "http://example.org/myURI");
-            xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
-            xmlStreamWriter.writeEndElement();
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            System.out.println("actualOutput: " + actualOutput);
-            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-        } catch (Exception e) {
-            System.out.println("Caught an expected exception" + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testSetPrefixWriteNamespaceWithRepair() {
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns:p=\"http://example.org/myURI\">" + "</root>";
-        try {
-            startDocument(xmlStreamWriter);
-            xmlStreamWriter.setPrefix("p", "http://example.org/myURI");
-            xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
-            xmlStreamWriter.writeEndElement();
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            System.out.println("actualOutput: " + actualOutput);
-            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-        } catch (Exception e) {
-            System.out.println("Caught an expected exception" + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testSetDefaultNamespaceWriteNamespaceNoRepair() {
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"http://example.org/myURI\">" + "</root>";
-        try {
-            setUpForNoRepair();
-            startDocument(xmlStreamWriter);
-            xmlStreamWriter.setDefaultNamespace("http://example.org/myURI");
-            xmlStreamWriter.writeNamespace("", "http://example.org/myURI");
-            xmlStreamWriter.writeEndElement();
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            System.out.println("actualOutput: " + actualOutput);
-            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-        } catch (Exception e) {
-            System.out.println("Caught an expected exception" + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testSetDefaultNamespaceWriteNamespaceWithRepair() {
-        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"http://example.org/myURI\">" + "</root>";
-        try {
-            startDocument(xmlStreamWriter);
-            xmlStreamWriter.setDefaultNamespace("http://example.org/myURI");
-            xmlStreamWriter.writeNamespace("", "http://example.org/myURI");
-            xmlStreamWriter.writeEndElement();
-            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
-            System.out.println("actualOutput: " + actualOutput);
-            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
-        } catch (Exception e) {
-            System.out.println("Caught an expected exception" + e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/NullUriDetectionTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamWriterTest;
-
-import java.io.StringWriter;
-
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.testng.annotations.Test;
-
-/*
- * @bug 6391922
- * @summary Test XMLStreamWriter can writeDefaultNamespace(null).
- */
-public class NullUriDetectionTest {
-    @Test
-    public void test1() throws Exception {
-        XMLOutputFactory xof = XMLOutputFactory.newInstance();
-        xof.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, Boolean.TRUE);
-
-        StringWriter sw = new StringWriter();
-        XMLStreamWriter w = xof.createXMLStreamWriter(sw);
-        w.writeStartDocument();
-        w.writeStartElement("foo", "bar", "zot");
-        w.writeDefaultNamespace(null);
-        w.writeCharacters("---");
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/SqeLinuxTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamWriterTest;
-
-import java.io.ByteArrayOutputStream;
-
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XMLStreamWriter can output multiple declarations if IS_REPAIRING_NAMESPACES is false.
- */
-public class SqeLinuxTest {
-
-    // note that expected output will have multiple declarations,
-    // StAX does not do well formedness checking
-    private static final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<?xml version=\"wStDoc_ver\"?>"
-            + "<?xml version=\"wStDoc_ver2\" encoding=\"ASCII\"?>" + "<?xml version=\"1.0\" ?>";
-
-    XMLStreamWriter xmlStreamWriter;
-    ByteArrayOutputStream byteArrayOutputStream;
-    XMLOutputFactory xmlOutputFactory;
-
-    @Test
-    public void testWriterOnLinux() throws Exception {
-
-        // setup XMLStreamWriter
-        try {
-            byteArrayOutputStream = new ByteArrayOutputStream();
-            xmlOutputFactory = XMLOutputFactory.newInstance();
-            xmlOutputFactory.setProperty(xmlOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(false));
-            xmlStreamWriter = xmlOutputFactory.createXMLStreamWriter(byteArrayOutputStream, "ASCII");
-        } catch (Exception e) {
-            System.err.println("Unexpected Exception: " + e.toString());
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-
-        // create & write a document
-        try {
-            xmlStreamWriter.writeStartDocument();
-            xmlStreamWriter.writeStartDocument("wStDoc_ver");
-            xmlStreamWriter.writeStartDocument("ASCII", "wStDoc_ver2");
-            xmlStreamWriter.writeStartDocument(null, null);
-
-            // orignal SQE test used reset() before flush()
-            // believe this is false as reset() throws away output before
-            // flush() writes any cached output
-            // it is valid for a XMLStreamWriter to write its output at any
-            // time, flush() just garuntees it
-            // byteArrayOutputStream.reset();
-            xmlStreamWriter.flush();
-            Assert.assertEquals(EXPECTED_OUTPUT, byteArrayOutputStream.toString());
-        } catch (Exception e) {
-            System.err.println("Unexpected Exception: " + e.toString());
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/UnprefixedNameTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,121 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamWriterTest;
-
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6394074
- * @summary Test XMLStreamWriter namespace prefix with writeDefaultNamespace.
- */
-public class UnprefixedNameTest {
-
-    @Test
-    public void testUnboundPrefix() throws Exception {
-
-        try {
-            XMLOutputFactory xof = XMLOutputFactory.newInstance();
-            XMLStreamWriter w = xof.createXMLStreamWriter(System.out);
-            // here I'm trying to write
-            // <bar xmlns="foo" />
-            w.writeStartDocument();
-            w.writeStartElement("foo", "bar");
-            w.writeDefaultNamespace("foo");
-            w.writeCharacters("---");
-            w.writeEndElement();
-            w.writeEndDocument();
-            w.close();
-
-            // Unexpected success
-            String FAIL_MSG = "Unexpected success.  Expected: " + "XMLStreamException - " + "if the namespace URI has not been bound to a prefix "
-                    + "and javax.xml.stream.isPrefixDefaulting has not been " + "set to true";
-            System.err.println(FAIL_MSG);
-            Assert.fail(FAIL_MSG);
-        } catch (XMLStreamException xmlStreamException) {
-            // Expected Exception
-            System.out.println("Expected XMLStreamException: " + xmlStreamException.toString());
-        }
-    }
-
-    @Test
-    public void testBoundPrefix() throws Exception {
-
-        try {
-            XMLOutputFactory xof = XMLOutputFactory.newInstance();
-            XMLStreamWriter w = xof.createXMLStreamWriter(System.out);
-            // here I'm trying to write
-            // <bar xmlns="foo" />
-            w.writeStartDocument();
-            w.writeStartElement("foo", "bar", "http://namespace");
-            w.writeCharacters("---");
-            w.writeEndElement();
-            w.writeEndDocument();
-            w.close();
-
-            // Expected success
-            System.out.println("Expected success.");
-        } catch (Exception exception) {
-            // Unexpected Exception
-            String FAIL_MSG = "Unexpected Exception: " + exception.toString();
-            System.err.println(FAIL_MSG);
-            Assert.fail(FAIL_MSG);
-        }
-    }
-
-    @Test
-    public void testRepairingPrefix() throws Exception {
-
-        try {
-
-            // repair namespaces
-            // use new XMLOutputFactory as changing its property settings
-            XMLOutputFactory xof = XMLOutputFactory.newInstance();
-            xof.setProperty(xof.IS_REPAIRING_NAMESPACES, new Boolean(true));
-            XMLStreamWriter w = xof.createXMLStreamWriter(System.out);
-
-            // here I'm trying to write
-            // <bar xmlns="foo" />
-            w.writeStartDocument();
-            w.writeStartElement("foo", "bar");
-            w.writeDefaultNamespace("foo");
-            w.writeCharacters("---");
-            w.writeEndElement();
-            w.writeEndDocument();
-            w.close();
-
-            // Expected success
-            System.out.println("Expected success.");
-        } catch (Exception exception) {
-            // Unexpected Exception
-            String FAIL_MSG = "Unexpected Exception: " + exception.toString();
-            System.err.println(FAIL_MSG);
-            Assert.fail(FAIL_MSG);
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/WriterTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,780 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamWriterTest;
-
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.io.LineNumberReader;
-import java.io.Reader;
-import java.net.URL;
-import java.util.Iterator;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.testng.Assert;
-import org.testng.annotations.AfterMethod;
-import org.testng.annotations.BeforeMethod;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XMLStreamWriter functionality.
- */
-public class WriterTest {
-
-    final String ENCODING = "UTF-8";
-    XMLOutputFactory outputFactory = null;
-    XMLInputFactory inputFactory = null;
-    XMLStreamWriter xtw = null;
-    String[] files = new String[] { "testOne.xml", "testTwo.xml", "testThree.xml", "testFour.xml", "testFive.xml", "testSix.xml", "testSeven.xml",
-            "testEight.xml", "testNine.xml", "testTen.xml", "testEleven.xml", "testTwelve.xml", "testDefaultNS.xml", null, "testFixAttr.xml" };
-
-    String output = "";
-
-    @BeforeMethod
-    protected void setUp() {
-        try {
-            outputFactory = XMLOutputFactory.newInstance();
-            inputFactory = XMLInputFactory.newInstance();
-        } catch (Exception ex) {
-            Assert.fail("Could not create XMLInputFactory");
-        }
-    }
-
-    @AfterMethod
-    protected void tearDown() {
-        outputFactory = null;
-        inputFactory = null;
-    }
-
-    @Test
-    public void testOne() {
-
-        System.out.println("Test StreamWriter with out any namespace functionality");
-
-        try {
-            String outputFile = files[0] + ".out";
-            System.out.println("Writing output to " + outputFile);
-
-            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
-            xtw.writeStartDocument("utf-8", "1.0");
-            xtw.writeStartElement("elmeOne");
-            xtw.writeStartElement("elemTwo");
-            xtw.writeStartElement("elemThree");
-            xtw.writeStartElement("elemFour");
-            xtw.writeStartElement("elemFive");
-            xtw.writeEndDocument();
-            xtw.flush();
-            xtw.close();
-
-            Assert.assertTrue(checkResults(files[0] + ".out", files[0] + ".org"));
-
-        } catch (Exception ex) {
-            Assert.fail("testOne Failed " + ex);
-            ex.printStackTrace();
-        }
-
-    }
-
-    @Test
-    public void testTwo() {
-
-        System.out.println("Test StreamWriter's Namespace Context");
-
-        try {
-            String outputFile = files[1] + ".out";
-            System.out.println("Writing output to " + outputFile);
-
-            xtw = outputFactory.createXMLStreamWriter(System.out);
-            xtw.writeStartDocument();
-            xtw.writeStartElement("elemTwo");
-            xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
-            xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
-            xtw.writeEndDocument();
-            NamespaceContext nc = xtw.getNamespaceContext();
-            // Got a Namespace Context.class
-
-            XMLStreamWriter xtw1 = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
-
-            xtw1.writeComment("all elements here are explicitly in the HTML namespace");
-            xtw1.setNamespaceContext(nc);
-            xtw1.writeStartDocument("utf-8", "1.0");
-            xtw1.setPrefix("htmlOne", "http://www.w3.org/TR/REC-html40");
-            NamespaceContext nc1 = xtw1.getNamespaceContext();
-            xtw1.close();
-            Iterator it = nc1.getPrefixes("http://www.w3.org/TR/REC-html40");
-
-            // FileWriter fw = new FileWriter(outputFile);
-            while (it.hasNext()) {
-                System.out.println("Prefixes :" + it.next());
-                // fw.write((String)it.next());
-                // fw.write(";");
-            }
-            // fw.close();
-            // assertTrue(checkResults(testTwo+".out", testTwo+".org"));
-            System.out.println("Done");
-        } catch (Exception ex) {
-            Assert.fail("testTwo Failed " + ex);
-            ex.printStackTrace();
-        }
-
-    }
-
-    @Test
-    public void testThree() {
-
-        System.out.println("Test StreamWriter for proper element sequence.");
-
-        try {
-            String outputFile = files[2] + ".out";
-            System.out.println("Writing output to " + outputFile);
-
-            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
-            xtw.writeStartDocument("utf-8", "1.0");
-            xtw.writeStartElement("elmeOne");
-            xtw.writeStartElement("elemTwo");
-            xtw.writeEmptyElement("emptyElem");
-            xtw.writeStartElement("elemThree");
-            xtw.writeStartElement("elemFour");
-            xtw.writeStartElement("elemFive");
-            xtw.writeEndDocument();
-            xtw.flush();
-            xtw.close();
-
-            Assert.assertTrue(checkResults(files[2] + ".out", files[2] + ".org"));
-
-        } catch (Exception ex) {
-            Assert.fail("testThree Failed " + ex);
-            ex.printStackTrace();
-        }
-
-    }
-
-    @Test
-    public void testFour() {
-
-        System.out.println("Test StreamWriter with elements,attribute and element content.");
-
-        try {
-
-            String outputFile = files[3] + ".out";
-            System.out.println("Writing output to " + outputFile);
-
-            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
-            xtw.writeStartDocument("utf-8", "1.0");
-            xtw.writeStartElement("elmeOne");
-            xtw.writeStartElement("elemTwo");
-            xtw.writeEmptyElement("emptyElem");
-            xtw.writeAttribute("testAttr", "testValue");
-            xtw.writeStartElement("elemThree");
-            xtw.writeStartElement("elemFour");
-            xtw.writeCharacters("TestCharacterData");
-            xtw.writeStartElement("elemFive");
-            xtw.writeEndDocument();
-            xtw.flush();
-            xtw.close();
-
-            Assert.assertTrue(checkResults(files[3] + ".out", files[3] + ".org"));
-
-        } catch (Exception ex) {
-            Assert.fail("testFour Failed " + ex);
-            ex.printStackTrace();
-        }
-
-    }
-
-    @Test
-    public void testFive() {
-
-        System.out.println("Test StreamWriter's Namespace Context.");
-
-        try {
-
-            String outputFile = files[4] + ".out";
-            System.out.println("Writing output to " + outputFile);
-
-            xtw = outputFactory.createXMLStreamWriter(System.out);
-            xtw.writeStartDocument();
-            xtw.writeStartElement("elemTwo");
-            xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
-            xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
-            // xtw.writeEndDocument();
-            NamespaceContext nc = xtw.getNamespaceContext();
-            // Got a Namespace Context.class
-
-            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
-
-            xtw.writeComment("all elements here are explicitly in the HTML namespace");
-            xtw.setNamespaceContext(nc);
-            xtw.writeStartDocument("utf-8", "1.0");
-            // xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "html");
-            // xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
-
-            xtw.writeCharacters("Frobnostication");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
-            xtw.writeCharacters("Moved to");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
-            xtw.writeAttribute("href", "http://frob.com");
-
-            xtw.writeCharacters("here");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeEndElement();
-
-            xtw.writeEndDocument();
-            xtw.flush();
-            xtw.close();
-            Assert.assertTrue(checkResults(files[4] + ".out", files[4] + ".org"));
-            System.out.println("Done");
-        } catch (Exception ex) {
-            Assert.fail("testFive Failed " + ex);
-            ex.printStackTrace();
-        }
-
-    }
-
-    @Test
-    public void testSix() {
-
-        System.out.println("Test StreamWriter, uses the Namespace Context set by the user to resolve namespaces.");
-
-        try {
-
-            String outputFile = files[5] + ".out";
-            System.out.println("Writing output to " + outputFile);
-
-            xtw = outputFactory.createXMLStreamWriter(System.out);
-            xtw.writeStartDocument();
-            xtw.writeStartElement("elemTwo");
-            xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
-            xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
-            xtw.writeEndDocument();
-            NamespaceContext nc = xtw.getNamespaceContext();
-            // Got a Namespace Context information.
-
-            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
-
-            xtw.writeComment("all elements here are explicitly in the HTML namespace");
-            xtw.setNamespaceContext(nc);
-            xtw.writeStartDocument("utf-8", "1.0");
-            xtw.setPrefix("htmlNewPrefix", "http://www.w3.org/TR/REC-html40");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "html");
-            // xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
-
-            xtw.writeCharacters("Frobnostication");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
-            xtw.writeCharacters("Moved to");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
-            xtw.writeAttribute("href", "http://frob.com");
-
-            xtw.writeCharacters("here");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeEndElement();
-
-            xtw.writeEndDocument();
-            xtw.flush();
-            xtw.close();
-            Assert.assertTrue(checkResults(files[5] + ".out", files[5] + ".org"));
-            System.out.println("Done");
-        } catch (Exception ex) {
-            Assert.fail("testSix Failed " + ex);
-            ex.printStackTrace();
-        }
-
-    }
-
-    @Test
-    public void testSeven() {
-
-        System.out.println("Test StreamWriter supplied with correct namespace information");
-
-        try {
-
-            String outputFile = files[6] + ".out";
-            System.out.println("Writing output to " + outputFile);
-
-            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
-            xtw.writeComment("all elements here are explicitly in the HTML namespace");
-            xtw.writeStartDocument("utf-8", "1.0");
-            xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "html");
-            xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
-
-            xtw.writeCharacters("Frobnostication");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
-            xtw.writeCharacters("Moved to");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
-            xtw.writeAttribute("href", "http://frob.com");
-
-            xtw.writeCharacters("here");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeEndElement();
-
-            xtw.writeEndDocument();
-            xtw.flush();
-            xtw.close();
-            Assert.assertTrue(checkResults(files[6] + ".out", files[6] + ".org"));
-            System.out.println("Done");
-        } catch (Exception ex) {
-            Assert.fail("testSeven Failed " + ex);
-            ex.printStackTrace();
-        }
-
-    }
-
-    @Test
-    public void testEight() {
-
-        System.out.println("Test StreamWriter supplied with correct namespace information and" + "isRepairingNamespace is set to true.");
-
-        try {
-
-            String outputFile = files[7] + ".out";
-            System.out.println("Writing output to " + outputFile);
-            outputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
-            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
-            xtw.writeComment("all elements here are explicitly in the HTML namespace");
-            xtw.writeStartDocument("utf-8", "1.0");
-            xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "html");
-            xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
-
-            xtw.writeCharacters("Frobnostication");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
-            xtw.writeCharacters("Moved to");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
-            xtw.writeAttribute("href", "http://frob.com");
-
-            xtw.writeCharacters("here");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeEndElement();
-
-            xtw.writeEndDocument();
-            xtw.flush();
-            xtw.close();
-            // check against testSeven.xml.org
-            Assert.assertTrue(checkResults(files[7] + ".out", files[7] + ".org"));
-            System.out.println("Done");
-        } catch (Exception ex) {
-            ex.printStackTrace();
-            Assert.fail("testEight Failed " + ex);
-
-        }
-
-    }
-
-    @Test
-    public void testNine() {
-
-        System.out.println("Test StreamWriter supplied with correct namespace information and" + "isRepairingNamespace is set to true."
-                + "pass namespace information using" + "writenamespace function");
-
-        try {
-
-            String outputFile = files[8] + ".out";
-            System.out.println("Writing output to " + outputFile);
-            outputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
-            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
-            xtw.writeComment("all elements here are explicitly in the HTML namespace");
-            xtw.writeStartDocument("utf-8", "1.0");
-            // xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "html");
-            xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
-
-            xtw.writeCharacters("Frobnostication");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
-            xtw.writeCharacters("Moved to");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
-            xtw.writeAttribute("href", "http://frob.com");
-
-            xtw.writeCharacters("here");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeEndElement();
-
-            xtw.writeEndDocument();
-            xtw.flush();
-            xtw.close();
-            // check against testSeven.xml.org
-            Assert.assertTrue(checkResults(files[8] + ".out", files[7] + ".org"));
-            System.out.println("Done");
-        } catch (Exception ex) {
-            Assert.fail("testNine Failed " + ex);
-            ex.printStackTrace();
-        }
-
-    }
-
-    @Test
-    public void testTen() {
-
-        System.out.println("Test StreamWriter supplied with no namespace information and" + "isRepairingNamespace is set to true.");
-        try {
-
-            String outputFile = files[9] + ".out";
-            System.out.println("Writing output to " + outputFile);
-            outputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
-            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
-            xtw.writeComment("all elements here are explicitly in the HTML namespace");
-            xtw.writeStartDocument("utf-8", "1.0");
-            // xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "html");
-            // xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
-
-            xtw.writeCharacters("Frobnostication");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
-            xtw.writeCharacters("Moved to");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
-            xtw.writeAttribute("href", "http://frob.com");
-
-            xtw.writeCharacters("here");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeEndElement();
-
-            xtw.writeEndDocument();
-            xtw.flush();
-            xtw.close();
-            // check against testSeven.xml.org
-            // prefix is generated while it was defined in the 'org' file, the
-            // following comparison method needs a rewrite.
-            // assertTrue(checkResults(files[9]+".out",files[7]+".org"));
-            System.out.println("Done");
-        } catch (Exception ex) {
-            Assert.fail("testTen Failed " + ex);
-            ex.printStackTrace();
-        }
-
-    }
-
-    @Test
-    public void testEleven() {
-
-        System.out.println("Test StreamWriter supplied with  namespace information passed through startElement and" + "isRepairingNamespace is set to true.");
-        try {
-
-            String outputFile = files[10] + ".out";
-            System.out.println("Writing output to " + outputFile);
-            outputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
-            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
-            xtw.writeComment("all elements here are explicitly in the HTML namespace");
-            xtw.writeStartDocument("utf-8", "1.0");
-            // xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
-            xtw.writeStartElement("html", "html", "http://www.w3.org/TR/REC-html40");
-            // xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
-
-            xtw.writeCharacters("Frobnostication");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
-            xtw.writeCharacters("Moved to");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
-            xtw.writeAttribute("href", "http://frob.com");
-
-            xtw.writeCharacters("here");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeEndElement();
-
-            xtw.writeEndDocument();
-            xtw.flush();
-            xtw.close();
-            // check against testSeven.xml.org
-            Assert.assertTrue(checkResults(files[10] + ".out", files[7] + ".org"));
-            System.out.println("Done");
-        } catch (Exception ex) {
-            Assert.fail("testEleven Failed " + ex);
-            ex.printStackTrace();
-        }
-
-    }
-
-    @Test
-    public void testTwelve() {
-
-        System.out.println("Test StreamWriter supplied with  namespace information set at few places");
-
-        try {
-
-            String outputFile = files[11] + ".out";
-            System.out.println("Writing output to " + outputFile);
-            outputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
-            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
-            xtw.writeComment("all elements here are explicitly in the HTML namespace");
-            xtw.writeStartDocument("utf-8", "1.0");
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "html");
-            // xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
-            xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
-
-            xtw.writeCharacters("Frobnostication");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
-            xtw.writeCharacters("Moved to");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
-            xtw.writeAttribute("href", "http://frob.com");
-
-            xtw.writeCharacters("here");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeEndElement();
-
-            xtw.writeEndDocument();
-            xtw.flush();
-            xtw.close();
-            // check against testSeven.xml.org
-            // assertTrue(checkResults(files[10]+".out",files[7]+".org"));
-            System.out.println("Done");
-        } catch (Exception ex) {
-            Assert.fail("testtwelve Failed " + ex);
-            ex.printStackTrace();
-        }
-
-    }
-
-    @Test
-    public void testDefaultNamespace() {
-
-        System.out.println("Test StreamWriter supplied with  namespace information set at few places");
-
-        try {
-
-            String outputFile = files[12] + ".out";
-            System.out.println("Writing output to " + outputFile);
-            outputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
-            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
-            xtw.writeComment("all elements here are explicitly in the HTML namespace");
-            xtw.writeStartDocument("utf-8", "1.0");
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "html");
-            xtw.writeDefaultNamespace("http://www.w3.org/TR/REC-html40");
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
-            // xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
-
-            xtw.writeCharacters("Frobnostication");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
-            xtw.writeCharacters("Moved to");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
-            xtw.writeAttribute("href", "http://frob.com");
-
-            xtw.writeCharacters("here");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeEndElement();
-
-            xtw.writeEndDocument();
-            xtw.flush();
-            xtw.close();
-            // check against testSeven.xml.org
-            // assertTrue(checkResults(files[10]+".out",files[7]+".org"));
-            System.out.println("Done");
-        } catch (Exception ex) {
-            ex.printStackTrace();
-            Assert.fail("testDefaultNamespace Failed " + ex);
-
-        }
-
-    }
-
-    @Test
-    public void testRepairNamespace() {
-
-        System.out.println("Test StreamWriter supplied with  namespace information set at few places");
-
-        try {
-
-            String outputFile = files[14] + ".out";
-            System.out.println("Writing output to " + outputFile);
-            outputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
-            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
-            xtw.writeComment("all elements here are explicitly in the HTML namespace");
-            xtw.writeStartDocument("utf-8", "1.0");
-            xtw.writeStartElement("html", "html", "http://www.w3.org/TR/REC-html40");
-            // xtw.writeStartElement("http://www.w3.org/TR/REC-html40","html");
-            // xtw.writeDefaultNamespace("http://www.w3.org/TR/REC-html40");
-            xtw.writeAttribute("html", "testPrefix", "attr1", "http://frob.com");
-            xtw.writeAttribute("html", "testPrefix", "attr2", "http://frob2.com");
-            xtw.writeAttribute("html", "http://www.w3.org/TR/REC-html40", "attr4", "http://frob4.com");
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
-            xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
-
-            xtw.writeCharacters("Frobnostication");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
-            xtw.writeCharacters("Moved to");
-            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
-            xtw.writeAttribute("href", "http://frob.com");
-
-            xtw.writeCharacters("here");
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-            xtw.writeEndElement();
-
-            xtw.writeEndElement();
-
-            xtw.writeEndDocument();
-            xtw.flush();
-            xtw.close();
-            // check against testSeven.xml.org
-            // assertTrue(checkResults(files[10]+".out",files[7]+".org"));
-            System.out.println("Done");
-        } catch (Exception ex) {
-            ex.printStackTrace();
-            Assert.fail("testDefaultNamespace Failed " + ex);
-
-        }
-
-    }
-
-    protected boolean checkResults(String checkFile, String orgFile) {
-        try {
-            URL fileName = WriterTest.class.getResource(orgFile);
-            // URL outputFileName = WriterTest.class.getResource(checkFile);
-            return compareOutput(new InputStreamReader(fileName.openStream()), new InputStreamReader(new FileInputStream(checkFile)));
-
-        } catch (Exception ex) {
-            ex.printStackTrace();
-            Assert.fail(ex.getMessage());
-        }
-        return false;
-    }
-
-    protected boolean compareOutput(Reader expected, Reader actual) throws IOException {
-        LineNumberReader expectedOutput = null;
-        LineNumberReader actualOutput = null;
-        try {
-            expectedOutput = new LineNumberReader(expected);
-            actualOutput = new LineNumberReader(actual);
-
-            while (expectedOutput.ready() && actualOutput.ready()) {
-                String expectedLine = expectedOutput.readLine();
-                String actualLine = actualOutput.readLine();
-                if (!expectedLine.equals(actualLine)) {
-                    System.out.println("Entityreference expansion failed, line no: " + expectedOutput.getLineNumber());
-                    System.out.println("Expected: " + expectedLine);
-                    System.out.println("Actual  : " + actualLine);
-                    return false;
-                }
-            }
-            return true;
-        } catch (IOException ex) {
-            System.err.println("Error  occured while comparing results.");
-            throw ex;
-        } finally {
-            expectedOutput.close();
-            actualOutput.close();
-
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/XMLStreamWriterTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.stream.XMLStreamWriterTest;
-
-import java.io.StringWriter;
-
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.testng.Assert;
-import org.testng.annotations.AfterMethod;
-import org.testng.annotations.BeforeMethod;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6347190
- * @summary Test StAX Writer won't insert comment into element inside.
- */
-public class XMLStreamWriterTest {
-
-    @BeforeMethod
-    protected void setUp() throws Exception {
-    }
-
-    @AfterMethod
-    protected void tearDown() throws Exception {
-    }
-
-    /**
-     * Test of main method, of class TestXMLStreamWriter.
-     */
-    @Test
-    public void testWriteComment() {
-        try {
-            String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><a:html href=\"http://java.sun.com\"><!--This is comment-->java.sun.com</a:html>";
-            XMLOutputFactory f = XMLOutputFactory.newInstance();
-            // f.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES,
-            // Boolean.TRUE);
-            StringWriter sw = new StringWriter();
-            XMLStreamWriter writer = f.createXMLStreamWriter(sw);
-            writer.writeStartDocument("UTF-8", "1.0");
-            writer.writeStartElement("a", "html", "http://www.w3.org/TR/REC-html40");
-            writer.writeAttribute("href", "http://java.sun.com");
-            writer.writeComment("This is comment");
-            writer.writeCharacters("java.sun.com");
-            writer.writeEndElement();
-            writer.writeEndDocument();
-            writer.flush();
-            sw.flush();
-            StringBuffer sb = sw.getBuffer();
-            System.out.println("sb:" + sb.toString());
-            Assert.assertTrue(sb.toString().equals(xml));
-        } catch (Exception ex) {
-            Assert.fail("Exception: " + ex.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/message_12.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,287 +0,0 @@
-      <S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope">
-      <S:Header>
-      <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" S:mustUnderstand="1">
-      <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="3">
-      <wsu:Created>2006-07-20T22:57:12Z</wsu:Created>
-      <wsu:Expires>2006-07-20T23:02:12Z</wsu:Expires>
-      </wsu:Timestamp>
-      <Assertion xmlns="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:ns2="http://www.w3.org/20
-00/09/xmldsig#" xmlns:ns3="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext
--1.0.xsd" xmlns:ns4="http://www.w3.org/2005/08/addressing" xmlns:ns5="http://schemas.xmlsoap.org/ws/
-2005/02/sc" xmlns:ns6="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-op
-en.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xs="http://www.w3.org/2001/XML
-Schema" AssertionID="uuid-96df98ce-5d8e-4855-a4ab-3232ca88e6df" IssueInstant="2006-07-20T15:57:09.99
-6-07:00" Issuer="TestSTS" MajorVersion="1" MinorVersion="1">
-      <Conditions NotBefore="2006-07-20T15:57:09.996-07:00" NotOnOrAfter="2006-07-20T15:57:45.
-996-07:00"></Conditions>
-      <Advice></Advice>
-      <AttributeStatement>
-      <Subject>
-      <NameIdentifier>principal</NameIdentifier>
-      <SubjectConfirmation>
-      <ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:holder-of-key</ConfirmationMethod>
-      <ns2:KeyInfo>
-      <xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
-      <xenc:EncryptionMethod xmlns="" xmlns:ns4="urn:oasis:names:tc:SAML:1.0:assertion" Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"></xenc:EncryptionMethod>
-      <ns2:KeyInfo>
-      <ns3:SecurityTokenReference xmlns:ns5="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:ns6="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns8
-="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:ns9="http://schemas.xmlsoap.org/ws/2004/09/policy">
-      <ns3:KeyIdentifier xmlns="" xmlns:ns10="urn:oasis:names:tc:SAML:1.0:assertion" ValueType
-="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier">Xeg55vRyK3ZhAEhEf+YT0z986L0=</ns3:KeyIdentifier></ns3:SecurityTokenReference>
-      </ns2:KeyInfo>
-      <xenc:CipherData>
-      <xenc:CipherValue>sPVCOcRVBGYDmnBAjnxoe5LfqAumazmxygPnFbSxGL35e90e1KurbODwNj5fmHxz9CkwAf8VQL8U
-      ESF3jDRbew4EbdE726uRFKGhK8Xt5G3Mzwo8PCxIcLKmxwwJYc3tpXaE94x937YLzv+Rp6i+sfPe
-      7aNcDTMuQUmmDMujQcM=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></ns2:KeyInfo></SubjectConfirmation></Subject>
-      <Attribute AttributeName="name" AttributeNamespace="http://sun.com">
-      <AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">value</AttributeValue></Attribute></AttributeStatement>
-      <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
-      <ds:SignedInfo>
-      <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
-      <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
-      <ds:Reference URI="#uuid-96df98ce-5d8e-4855-a4ab-3232ca88e6df">
-      <ds:Transforms>
-      <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform>
-      <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform></ds:Transforms>
-      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
-      <ds:DigestValue>+6+meGLSaVyDUa0jzlDJaRTyuCI=</ds:DigestValue></ds:Reference></ds:SignedInfo>
-      <ds:SignatureValue>X0kmFj+HnmVgC71G69wsfSHS7bQ2E+bFl0lLg7McFAcQW8GVFv/ekHpctySndRPLVFiu1AnRcPM5
-      t/uRwQmbov6T0lJwP09rcgxwPVKPVycFHM8HLNOFA5L2MNpqGuKDSOyOXLDqba32BTxLGFyaJzCx
-      M/mH3WaZgiRDkWaeYUw=</ds:SignatureValue>
-      <ds:KeyInfo>
-      <wsse:SecurityTokenReference>
-      <wsse:KeyIdentifier EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-20
-0401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier">G9QGBPj/Lnv/Km4FCTiqMg1xamk=</wsse:KeyIdentifier>
-      </wsse:SecurityTokenReference></ds:KeyInfo></ds:Signature></Assertion>
-      <wsc:DerivedKeyToken xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-115
-3436232269143755810">
-      <ns3:SecurityTokenReference xmlns:ns3="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:ns2="htt
-p://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns4="http://www.w3.org/2005/08/addressing" xmlns:ns5="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:ns6="http:/
-/schemas.xmlsoap.org/ws/2004/09/policy">
-      <ns3:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.0#SAMLAssertionID">uuid-96df98ce-5d8e-4855-a4ab-3232ca88e6df</ns3:KeyIdentifier>
-      </ns3:SecurityTokenReference>
-      <wsc:Offset>0</wsc:Offset>
-      <wsc:Length>24</wsc:Length>
-      <wsc:Nonce>1NJRlYY/gA54WTvInE3VuJ13</wsc:Nonce>
-      </wsc:DerivedKeyToken>
-      <xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Id="XWSSGID-1153436232
-219-1223114149">
-      <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"/>
-      <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
-      <wsse:SecurityTokenReference>
-      <wsse:KeyIdentifier EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
-s-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/oasis-wss-soap-m
-essage-security-1.1#ThumbprintSHA1">NQM0IBvuplAtETQvk+6gn8C13wE=</wsse:KeyIdentifier>
-      </wsse:SecurityTokenReference>
-      </ds:KeyInfo>
-      <xenc:CipherData>
-      <xenc:CipherValue>NHjIM/BMwNP+XSrgyCE1MKYxwNoqSMX5WEVxABsyUzveDJr8kEmYdlXE4GiWsnJpuxHrYm
-437yIq
-      Qjn/xR9TZI/iOvrM+f1JkeLBRtvl83ZrB6tfEIhH+hXUeOddx+LX0uQAIsamJL+chNS4V4inojsE
-      00uFjPnq8JoJ9lI5nmA=</xenc:CipherValue>
-      </xenc:CipherData>
-      </xenc:EncryptedKey>
-      <wsc:DerivedKeyToken xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:wsu="htt
-p://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-115
-3436232279-1717841759">
-      <wsse:SecurityTokenReference>
-      <wsse:Reference URI="#XWSSGID-1153436232219-1223114149" ValueType="http://docs.oasis-ope
-n.org/wss/oasis-wss-soap-message-security-1.1#EncryptedKey"/>
-      </wsse:SecurityTokenReference>
-      <wsc:Offset>0</wsc:Offset>
-      <wsc:Length>32</wsc:Length>
-      <wsc:Nonce>FXNiOAEmn2Ndwvy3y5+/RJDM</wsc:Nonce>
-      </wsc:DerivedKeyToken>
-      <xenc:ReferenceList xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
-      <xenc:DataReference URI="#XWSSGID-11534362322891411385080"/>
-      <xenc:DataReference URI="#XWSSGID-11534362322791556489723"/>
-      </xenc:ReferenceList>
-      <wsc:DerivedKeyToken xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:wsu="htt
-p://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-115
-3436232209273494521">
-      <wsse:SecurityTokenReference>
-      <wsse:Reference URI="#XWSSGID-1153436232219-1223114149" ValueType="http://docs.oasis-ope
-n.org/wss/oasis-wss-soap-message-security-1.1#EncryptedKey"/>
-      </wsse:SecurityTokenReference>
-      <wsc:Offset>0</wsc:Offset>
-      <wsc:Length>24</wsc:Length>
-      <wsc:Nonce>cEhhCfrmBzyXdkkBxxHNp+0b</wsc:Nonce>
-      </wsc:DerivedKeyToken>
-      <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Id="XWSSGID-115343623
-22891411385080" Type="http://www.w3.org/2001/04/xmlenc#Element">
-          <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/>
-          <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
-      <wsse:SecurityTokenReference>
-      <wsse:Reference URI="#XWSSGID-1153436232279-1717841759"/>
-      </wsse:SecurityTokenReference>
-      </ds:KeyInfo>
-          <xenc:CipherData>
-      <xenc:CipherValue>6WZAPXqUx+Lx4T3o13a4DaZtf6iPmNEKNO997ZSfw9JafTnn/3L5VOU3tpAm/BfYODiR1C
-TSt/7V
-      JHVIMauBz/KE3ZjDKED33XR0jVWAMifNXMtcd4+tTYr8JWfT0aHGFuKXZlK1WdOI+4o7O5zHVcEP
-      b0O117p10DROF9tdQHQsmUJBiUcyMwCvY7LsFECRN6Ur9EKkkv8GR6ux4zuYcEFmLGWHVwywINAj
-      RFeLrtNtaV3ScB/eb1tnkvjEsqXJ+/H2o0saYgRShwQLR2+/3w0vCz4Hxd2PsU9yLi3AeeNApIzV
-      7/GFrFRIFA1PMwFn+CUID96wqb1GgZ+E+kwi/5VnTxQp+Frr+GWMGhBNqiEfy5m1GkeRXZyiWENl
-      3XUwChS59D/PB2ey6ioPOqyl7m2DuMfFLzJkYBPHiFpvyRYMxBafm3NMl+W9C+hIfVfCym7PpMAH
-      nlUz7oEKKtjjxgNBM+UWtr5DqQC3WKXDhOhZqomDRflshKkrjA+Xkxz+D4S44CK4nxGuHbesy4Tn
-      FutOWmfOvP5C3K9athS44nwm2kY7h+TrM4gs35RBMDrPFcrJGclA9umT2Ph2XvqDO/pQSQqV4r0X
-      pqwikAajgTKty3SJmHAhF2+ONB3ufdrlyJwM7fGIf2bGCCXbB4s6QrO6+8EvOZo/wk6uWnVj7t5F
-      meWNHCmhsnzPhlqnD6/OPxxWpG4UROfS6XbcHAnAbzSNpLPuxtdGILzBNSHB1r/Va3dGsae72ZtV
-      ULiJ+jVClNpxWhBsGUM1s9CXJN7uH5HIp/0cHh2X4OK80sReyqTMTiV+4/BYBZU6rJAIdI1GJLqB
-      p1mwaKzNR/IkwtCuMsua1IVJScGsGACppEa4g0fZhWr8D88Kc5UbqCgFuSddtONqFhDLYaSxjmgA
-      sT2CT+JLCPnPgb2KY6cqaNoceP3D6HyuvHU8B1/vJksjYmrZdeDCW5HZlIg3udK/OWY6xMgU6WP3
-      R7ZoENrmS7RyCRhdVpGMjFvNmxfTSWKyZ/Yf+xhXBWwG0k4K7cp5HL/kBTVNhLRACHk9aNGJf/V0
-      KK5eR61vLUE/bja5LwjKpmoFU5Y1S5sBxkaY623VlpHDBo8DRfNVcEYX3LRvf+Lxt7NX3Lvc3qxg
-      qrr1zWUznjOM81dcF1CxQWj4sPKIHFON7vVRkiUxA2V/py7yTKPlYofSr4KYF4Jye5GlROLVBucf
-      5eswQH8t7iHvJmnX+PF7blil0L5N8igi1uS7kzTeJsbcfxYh08elNUCZTb6x5/X9CjQ4zxsAaRFB
-      4ZaCog3Hj+jyh8pZl3iCmTm9qFwLF3CtA69VVtFZRtLBz6qsK+UwzG6u8RRDlvXSO2Bt5TcCG+mD
-      dfXCPILtPSaJvQykZFT+qirs2Fq1b9xTBjWtMZTCHJkuKFr+F61RZZiQRpw7mVyO+90yVA2i+bfk
-      ELMCPyL8Dg5MGUCDytPelRNziWAXkW1C7NK+iMv+tunkg/M/tSMlDM7a0GOZodwn0ls8Fa3Jx3Xm
-      aNLXDKZai9waq1LF/Waka9mo15y2y858Swb7/HdGOcXeLh1Ym1HFLEzjjYxSiaDYPHZMxPcC8OY9
-      Yva5ufMt09jBsOiOuiKS8I570A5jTV32xAFjEMQ8oSt4L/6J9Pb8ov6kjUCJxZGAkiMkg3o37BQl
-      fSTqq5vVAq72dFSa0jWroHLOmM0pfrqJ8uI6Y/5w6WD1WfMh11YFxJQJF6c92mPQVijPHZHQlVC0
-      7+9EaOC2KAc1fOCoeRS7QBCM6wWWVznFrkbhLi/p3c8QUzRuocL4vYv/aJWLeRBSjQbX/QtIliEx
-      fITDI0qt1cwjVxqfonvG5tNhelK8KijEH3x7bJ4GCYd4vl3p0+5u+rr3A0i7kEOxsrprOFJieSQ7
-      QBvv+hJeF/px+7vhjLYbYwfKq0Hi5R9rMYiXAHWB7JUJUAubYeKy+i/urkfuhaZJilgX20eLspGA
-      LO39AvHOc2ZXXO+HiH0qgUjMF/RS3GVXmiZg+r3LRviwuhcS5AUI1ZfXaoCNBi7Gyg/adUy9PQKJ
-      qjpbzdklY7PCVlt8bnXyrSpRuUwWbHyLVY1r4A/Qor2d2vXKkAZsYsLrKYieAMbgXSUcpiJmOfFn
-      jhELCkAONNyA86yLCi4gLElFkqkrEYowBLo3scQ+/x/718Gj49RCseebBbZtOc6Gr43ibhfjv1ph
-      QjMZv3fZaybxIULGum7tUQBZ/r67C3C6QYuW/KV/t/kV5oTk5N21BaMEBHYLBJIQFBgA3xpFpKfs
-      Tcaw8bW2UdHK4aC7Wo28K8RckCmcqX3KMStxzmVUWrOyLOrWLsL4Ul0AewFXy3mRTY0RIFy3WVgr
-      /BTIg+h5BePTzLMCwkScpGVrqQ8sdljbrD+PO40Hq+YQzkX7RVUvUUFK2+eQunscRPGHWk3PT1J5
-      JaDH5u8dvbx5lOqiMHYRof4GHgKS/PI+AalvWQ8ZwS9p6ptoJpoRD0JS+Wl1DFrstWPDgo3OfO9i
-      qMK4qfsJQtBBV40lXJz5OmmlcGqbVS0r6HhkCLh1wd3sAwnNGIf6veGj/x8k8gwEBLwfF8dpva4u
-      CvT3N6i0hWjlN8DCHKrMgE/s6TVIQJ5ZmVUzlwMR4IBFE0iC89YbThm3o63GETVRr+oTQXgNQrhG
-      heJNrfITdG8S6bA1x/JXsGK8J0uGnmyLRQjU9QjF3zJ9ktro7SeNb7OE5MvTaa0wWNqjn8BnmoEF
-      gFtCrBa7nXafGgWY+YIK5t6uJRORbUeRiXVAqSsHD/ETM3bs3waSKYDJqzgN/6vEoQ2MhOHw40tY
-      /szX/IIXt1LrTxiNrIFh9EoocIq8taKcn4Pe0Kv45rImUgOQqRHhx2NWJFpkkdTPiBKPVoGnqJvc
-      xQ4rqMm9BNVewRBoGNZdbqZOcx+RbsPR0ImF42dpo45ExovgbC3Qx28B3abBI8+PUNxe3XT1nMMt
-      A8+zqmWMsTY13j+FL2etx4kZgQ1OTrFLgyGL17+N394SDdLp/aWuXrDVIUVtgV1oBw8h+AEFT51A
-      AXadUu3TnOSpDjAVUooE3dAwmgnGxN+gzjmrdU80i9/xYddDfhtuMSYgHy1hjZ17H8aOUUl4U3p1
-      7QYNdW0OLPQcnWeiiICU93ctovgdwkkssOfcVbmuaEDbCTLF275VURSwSYHcWHaRPOcsur+9WROK
-      5AAIIQ18ac+G5e1eah4s/SCGbVL/3FJi92L1zbL0ycOIiJIDsIjGrz/PP/ITxNBBM7incG5RIfdD
-      vOR/Id4yJd/4VY8jqrNTKp3QEJ+BbSg5f7MpiFy5J4Usv7IpJNs8HM4/JO9J40YGQQ9v4jooOxPK
-      rED8zWonQppM/6VdVf07WCV7BquTurQLv9nixpL6gxreOjjdwBz4OL4SkALXTqrDGB+wgRN2NjmM
-      NTHah6SsekhNknrWx8bESZfnb0ZeVGvnw/cIssoLtDUOPHgE1f7lGTDsxDsjJ+LConImhFXOAVzv
-      77RWjV/UWkhwX6RkTe3p7cbXDfKk16ExJznYWkRUtoU8Ez3yfe5BKliDIbdDfZQr5ozFR+nHkDX9
-      kvwtI49JMGBHMaYW2wk53Mkv3T7siXt/XuNKciiCrsrBIraL6Ms+slb1Y5Eirnw0/sEwAX78uVwa
-      1hjWNRHADL4jnNDGB3wSAFWS3JklMht8kQDJX0k1po9Qypb1/B/2EPKrLRZ0QC2T2ced0/7H9/iT
-      s3Xp8qx8YYFQwSXRO3QozUEnHUlV+CC6YOxU8tzi9n6SYrxlMjezZWlxYybw6JArNY8pU8Nzjmv6
-      4R5mzLbyg99mv0tappIQd3UnZwBmpuHNZnqYoAgXaTtXdbkcWwFXMi98E4BSZkPzYmdiD+kfhf1y
-      swZxjZIb+L/ft9AKBOWMMeq7IrUaPMAlMQeEBW94/IDiI57LokiTqQO8ZLsAp4K978qLlz5f3vuj
-      wvU+v5PUtZOEuCSPzv8lMk2mswk8RF9FR5ATHsHfl7wG7mm6UczQRlDkKiRZi7stznLLy5OOcL6m
-      bBq21ZULx7fkTZssDTafxas/0JOvw38LBjS3wztxQzU4xnrdHAULWe+PRm9AGCvHyWugJrzu09AI
-      FG9M+EqqZYw/NqaKd1k+ucAfUExqUryC4JdnNI5WvQ7DgzgganJtmls/Sc7Yyed/xKGulyJcwnh3
-      3FdpL6ZBFTrAATSnvpmAOBexndu/GjRCvfj70OTdf8rqk2k/48KJlGp3mm5EI8SbemqU+3Ufxc4P
-      Z9pyRo0IhcuyPojZK2KU4B+rfZA29RjA87/Ru/4HNS3MQzkV0Rip3Q6qG7vXnIvcWdtva70EAba/
-      JrKPZcvNI2/ef2K4OIKwiHcck479YERscZ8zEcuC7gQEHnRaefGLDNC6bdUIZXpDha9ZEHhtJU8j
-      L+pwkMruIDnNbm4xIvoQPM34jtrbvsmZCf14RsG0gMwINR7zQnOH42+EpYgysvw0X7heD/EJvov/
-      81n8LaRg54LKgQ6O13mpCeW/lycyJKhm0hegIifWH8sS8EkESRB0SwP/eKqTWurvZKsVgYo6y5Bv
-      IC7DlIIWmpCD0WWbuqops/c6p2qcMPQJm65lU/4rIcez6bgUbcIQXjVjohu/hMTmGuII5nYCR+0a
-      9nWIqorlAQ/eMPejDZw8wNOdvkq1zPKbkgJke6Rg7qmQe4+p8HCMHahL0HKQyiW4vV2CztgoYp0H
-      KDIRGYZvaP3STR2iNVXu+8R4VoSiCroiMlz74qbEhAjg/XKPd/OYUM2rZK61Cmh5db8d7DYw00i0
-      XxmB0OWa920UndlK5uewuK+m8jvfyxYwEflUQEnkiahBFKZik7hqMFdkmh4oyGbSIUda6CA/V33C
-      xpJpZjO27pLI3jukOx4TtmU8MH/l7d0sqvRPRuHFjmsQvCOLIm3NTa4ZOM/4pj3uW53NJkBNx8eE
-      XIBvYY+CxrMblIvLSvGmpUds+8quW46iu/4LFyO2Jp2qK/oYVizcgYSik58mxrdM+sLKZs5FHP4J
-      O6QSV+ySwGKabaWLhB7+1B/oOOl/8lRfvIGGBXUXidextmXCq2r8P5lPgsYgd5Aq0RAalOsQCQhB
-      1UPSsSrZvP4hbHrv4EwKWvRWlOwZUzioag7lijoPUN82sB2aYMB7Mr1dwC3KR8fAydkaMuG+UVEO
-      6JPs23Sp69u8oNizkktrh8rG9J6P8V9Opl0vN1ajvM0jHQHxDHEO8YqBTamMg4UmCfEmsDK4wqmM
-      IrTg0WxwOSNVhHR7FcN5Uk7Hmt3PLeFW4sx6tYFv01LvzoclyWdUS8fxvtC5OCj70A110zdlpb+3
-      2mQ6vL7tphvUB1pBEI/AzsS4REBUZNYM1htlhsn0y3WJg8xyleSNK6lAEzN3DtgozTrgUKxO/d3T
-      xFoXap6D+jK9SILLcab7vLcxOI2k9xdbPbrnWC9BS6OLSm+JVO0mfUuE46qnICREZoUxf9WjnLQ1
-      D7IZ46dQyPYcvwkDuF8gOY+yk7VjiqijFqEDXjQ8qBpzEanzMCMbiv1MEFJNcahtkT7lqTooWokT
-      2SP+TmmcWWfI8PeOkGPC6LbsJu/sKicQAbn11OgYhL3JIob51YD09XH6IxQMfIdlyd4dsQZCQw1y
-      4nOnGjJBzwRwytYloQqOT+mqe0QInb2UyiG1gXPaAFw94/pt1lO2o0bhc5GgYUz+RmxdFiWkZlta
-      071rKmaQYvEfGaLhBXppx+imxfOcvinaTF7GGKdFkhv7AzCEr5ZxtccIZgU07XSkd43zWDO5s2M2
-      MwzOczzt+ZRxcbigUwAULbA2DyNNU9CczfkFqf2At426dEJJWaLwwDb4mieJfh5O6ZL8blORDry6
-      AuWULCrHWj2Uy6o/995P/FvJwu95djJLfTkk6UaCL4pgBYH9wVipbOE1pCHy5/B60OC28uqpo7+t
-      anBmIrxyrb92W8SjfPxIIRB7voSHYoUVvK5nmAr1q1Q+uY1ueCUtBtUB01XKleNe+plvRR19MTEa
-      6jFNo0C/qZBX0F82uQcNerda/rQnXhJULnTbDWr9Rft1GNT3ZRpTxqIP5+DwMD3mneiJjgFM3+Vg
-      +Mrj3trDBTQhQyTk0p+i0Ugz8K+Es8q1wMgbH9PNHuhop3rDFEMM3VfJ7NNtEaTLhSq0Sx30Se4A
-      pT+m/TMTny1g/WEQdMv49A+wslatBjnWXO4cKUHpB2RNtLq4Ms9xlCe1Puy8HySXcGlaJM69Rqmu
-      /sEGUaxwfEq0w6xIyyTFV2a89+M4OC12furqHlSwA439fCEeuxXZggWDq4NNKRQnwB0kSOm3kER0
-      X2xepHxXzahbjTcAVmH9phDW/1Epq8hN6dssslrz3jqRrQO8PmQ6AvxHkPfXjpwHbZf8KjQSeck6
-      x8+a8m09AmN79baCisysWT2M6NVJyTrfo1jqfFzSW8azHaMSACMO0bLu0Oco471xmA048KF+gFzg
-      bAyDKWHpvYm4wS2Qi+ciH1cgMyxXklkiL4pQySmOWLRKs3K7FAyF+5k8mqsrYSLiHtdqFhd1wj+v
-      axcD5vCWEPpy/fD336A27jZKs7hlKrScIxbGEPecVcuzzXYgQOFHV9GMUkNeTUOpvZs0ybVeNGky
-      vrlA3/groJS8Dc2uEv1LJQ1Z+r1dvh57qHMAHVeozL1sEQtVMp7kjT00BHmd56mcvF4PFc1wGR9T
-      Og0X31UzSGI2+LrnJNyM9llLaCdP3hbP8BokcsWKBuIppOGbs5JtfN0745txQ/ULPMH5izc6z6Tf
-      f7W2Q7RW9mbXI+dQ0hTwYWZBEgoqeLFlkR3IzBcr53Ci4eoxYPMZhgDnwjV6DPs=</xenc:CipherValue>
-      </xenc:CipherData>
-          </xenc:EncryptedData>
-      <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="4">
-      <ds:SignedInfo>
-      <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
-      <InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="wsse S"/>
-      </ds:CanonicalizationMethod>
-      <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/>
-      <ds:Reference URI="#1">
-      <ds:Transforms>
-      <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
-      <InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="ds wsse S"/>
-      </ds:Transform>
-      </ds:Transforms>
-      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
-      <ds:DigestValue>cHmTDN6hwJkJ7ZQ4K5jfDBX2EAg=</ds:DigestValue>
-      </ds:Reference>
-      </ds:SignedInfo>
-      <ds:SignatureValue>eUX07YDVpq71fQ43a+dqq3Te+V0=</ds:SignatureValue>
-      <ds:KeyInfo>
-      <wsse:SecurityTokenReference>
-      <wsse:Reference URI="#XWSSGID-1153436232269143755810"/>
-      </wsse:SecurityTokenReference>
-      </ds:KeyInfo>
-      </ds:Signature>
-      </wsse:Security>
-      <To xmlns="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/w
-ss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-1153436232219296575118">http
-://131.107.72.15/Security_Federation_FederatedService_Indigo/Symmetric.svc/Scenario_6_IssuedTokenFor
-CertificateSecureConversation_MutualCertificate11</To>
-      <MessageID xmlns="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-ope
-n.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-1153436232219-1738014
-962">uuid:85e2ee55-ad08-4f23-9146-de477243f284</MessageID>
-      <ReplyTo xmlns="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.
-org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-11534362322191988867143
-">
-      <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
-      </ReplyTo>
-      <Action xmlns="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.o
-rg/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-1153436232219414195439">
-http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT</Action>
-      </S:Header>
-      <S:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-ut
-ility-1.0.xsd" wsu:Id="XWSSGID-11534362322191212975073">
-      <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Id="XWSSGID-115343623
-22791556489723" Type="http://www.w3.org/2001/04/xmlenc#Content">
-          <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/>
-          <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
-      <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-20
-0401-wss-wssecurity-secext-1.0.xsd">
-      <wsse:Reference URI="#XWSSGID-1153436232279-1717841759"/>
-      </wsse:SecurityTokenReference>
-      </ds:KeyInfo>
-          <xenc:CipherData>
-      <xenc:CipherValue>nLnBkO5jNjQx7cnO4/ven6FmZ6THe73S/V6/tsZdfYuUI7saLrNf/dj/AFBRQhgr949gJ1
-GMuj04
-      +ZJ6ES891qroekDApSF4Bby38Nu5hL6vGLunEMofwyhcReqhTqlvpc4WqzVSQXC4FLudRjBrPGzY
-      2ezbPWSxn68QhsDo1vE9hAoWlPpuyi0TRmSlnn/P1Z0RPzXY4GcYXvwUOohx8TmwmDOeXTbReKXd
-      klpWOdOwjVxprK5UxOPne2K0qvZX9ciRsXJyv7Yt4FAtuT32R2b8aajEsmSB6EdzXCxNVZZw5knw
-      el6rHdJ3dG6lxcT6+IVuk2iHg+jk53I382z2x+hfHv3l7+dJyulfIp2k9XXIcBhyvkWP+1ZWtfeD
-      MzHoPj1JmZG7/NHd20BwNVNKxZwuv/qK09Ok6AoHwOfCwssx3rXKlkBJ+9mvG5SIGnOZ8u1TGfP6
-      7+Dq8cbdOVxbIvvw2N8Pm7/9Jr9oWLvCdmo0QuwLEH7PHzg0NZsPcdkX1Z7zpyZKixFQaXCczF2W
-      yq7hWP12nUw3hTBhA3CYL/Y05Ter/+D6wyBG6KLF0xFksg9Dm7GioGBhgpzY1exu7vbAKohwUJ+H
-      mQlr6cvi6RWcxB6VIMGEnZUKLJK2+F7ym60/gAEbBXQrVp8UndTV/Ut3wJcIisEs7uHZKI7WZUK9
-      Z8sZO4Lcl0ngnTXV5CYGfStw+uVWttJV1kjRkmzLNmYSDYuZ59bLgrKU5duA1OkGX+Q2Kejdc/Sg
-      GU5/wlufV+y2Qamwot0DSPNWAHUWZZSciLSbPSKSkk4FExj1o+ohDfvIRdvt4vXPzTHyEt0gvYh6
-      9vPzgVWsBjeETMTH88VPJoUeC0zfOROqYFHB51hRo7+VzRCsd3Q/ghFY5ai1xr5c5fKjuhcWMFDq
-      Caught Exception: javax.xml.stream.XMLStreamException: xmlns has been already bound to u
-rn:oasis:names:tc:SAML:1.0:assertion. Rebinding it to  is an error
-      fnHGPO5z4Ffv+10rd353oB9d+TVRFItlnDImYY/1Hd5bfKfFeaImxgdE3SfhusDet6edXnnPswHt
-      4h0rpMUHAB1hvGjQFv/YJv/Bxjr0fzNTrY69UUXO9Oqge26+xYGzgM2JBYDTs2Pee48RhkXa8Ee7
-      94WNNKweAtWm3IEoZWrnIyvxTbT3e9Hq07VVNLbak/pDzp1053UE71vv4poGd1eE3ZFZ88+X90tG
-      0F5l9Fi8X3iovnLt4+OeE5XV4FxeLxU8Je/SVb9adEKeRHJS4w6jtepNBrrQQBKLCQaZ3e4NglfL
-      61uf7m+wW+ASpL9a5MfeSw==</xenc:CipherValue>
-      </xenc:CipherData>
-          </xenc:EncryptedData>
-      </S:Body>
-          </S:Envelope>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testEight.xml.org	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<!--all elements here are explicitly in the HTML namespace--><?xml version="1.0" encoding="utf-8"?><html:html xmlns:html="http://www.w3.org/TR/REC-html40"><html:head><html:title>Frobnostication</html:title></html:head><html:body><html:p>Moved to<html:a href="http://frob.com">here</html:a></html:p></html:body></html:html>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testFive.xml.org	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<!--all elements here are explicitly in the HTML namespace--><?xml version="1.0" encoding="utf-8"?><html:html><html:head><html:title>Frobnostication</html:title></html:head><html:body><html:p>Moved to<html:a href="http://frob.com">here</html:a></html:p></html:body></html:html>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testFour.xml.org	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?><elmeOne><elemTwo><emptyElem testAttr="testValue"/><elemThree><elemFour>TestCharacterData<elemFive></elemFive></elemFour></elemThree></elemTwo></elmeOne>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testOne.xml.org	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?><elmeOne><elemTwo><elemThree><elemFour><elemFive></elemFive></elemFour></elemThree></elemTwo></elmeOne>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testSeven.xml.org	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<!--all elements here are explicitly in the HTML namespace--><?xml version="1.0" encoding="utf-8"?><html:html xmlns:html="http://www.w3.org/TR/REC-html40"><html:head><html:title>Frobnostication</html:title></html:head><html:body><html:p>Moved to<html:a href="http://frob.com">here</html:a></html:p></html:body></html:html>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testSix.xml.org	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<!--all elements here are explicitly in the HTML namespace--><?xml version="1.0" encoding="utf-8"?><htmlNewPrefix:html><htmlNewPrefix:head><htmlNewPrefix:title>Frobnostication</htmlNewPrefix:title></htmlNewPrefix:head><htmlNewPrefix:body><htmlNewPrefix:p>Moved to<htmlNewPrefix:a href="http://frob.com">here</htmlNewPrefix:a></htmlNewPrefix:p></htmlNewPrefix:body></htmlNewPrefix:html>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamWriterTest/testThree.xml.org	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?><elmeOne><elemTwo><emptyElem/><elemThree><elemFour><elemFive></elemFive></elemFour></elemThree></elemTwo></elmeOne>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/basic-form.vxml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE vxml PUBLIC "-//W3C//DTD VOICEXML 2.0//EN" "vxml.dtd">
-
-<vxml version="2.0"
-	xmlns="http://www.w3.org/2001/vxml"
-	xml:lang="en-US">
-
-	<form>
-		<field name="selection">
-			<prompt>
-				Please choose News, Weather, or Sports.
-			</prompt>
-			
-			<grammar type="application/x-nuance-gsl">
-				[ news weather sports ]
-			</grammar>
-		</field>
-
-		<block>
-			<submit next="select.jsp"/>
-			<prompt>Form is being submited.</prompt>
-		</block>
-	</form>
-
-</vxml>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/report.dtd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-<!NOTATION cgm PUBLIC "Computer Graphics Metafile">
- <!NOTATION ccitt PUBLIC "CCITT group 4 raster">
-
- <!ENTITY % text "(#PCDATA | emph)*">
- <!ENTITY infoflow SYSTEM "infoflow.ccitt" NDATA ccitt>
- <!ENTITY tagexamp SYSTEM "tagexamp.cgm"   NDATA cgm>
-
- <!ELEMENT report (title, chapter+)>
- <!ELEMENT title %text;>
- <!ELEMENT chapter (title, intro?, section*)>
- <!ATTLIST chapter
-               shorttitle CDATA #IMPLIED>
- <!ELEMENT intro (para | graphic)+>
- <!ELEMENT section (title, intro?, topic*)>
- <!ATTLIST section
-               shorttitle CDATA #IMPLIED
-               sectid ID #IMPLIED>
- <!ELEMENT topic (title, (para | graphic)+)>
- <!ATTLIST topic
-               shorttitle CDATA #IMPLIED
-               topicid ID #IMPLIED>
- <!ELEMENT para (#PCDATA | emph | xref)*>
- <!ATTLIST para
-               security (u | c | s | ts) "u">
- <!ELEMENT emph %text;>
- <!ELEMENT graphic EMPTY>
- <!ATTLIST graphic
-               graphname ENTITY #REQUIRED>
- <!ELEMENT xref EMPTY>
- <!ATTLIST xref
-               xrefid IDREF #IMPLIED>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/sgml-bad-systemId.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,103 +0,0 @@
-<!DOCTYPE report SYSTEM "report-does-not-exist.dtd" [
-    <!ENTITY foo "bar">
-]>
-<report>
-<title>Getting started with SGML</title>
-<chapter>
-<title>The business challenge</title>
-<intro>
-<para>With the ever-changing and growing global market, companies and
- large organizations are searching for ways to become more viable and
- competitive. Downsizing and other cost-cutting measures demand more
- efficient use of corporate resources. One very important resource is
- an organization's information.</para>
-<para>As part of the move toward integrated information management,
-whole industries are developing and implementing standards for
-exchanging technical information. This report describes how one such
-standard, the Standard Generalized Markup Language (SGML), works as
-part of an overall information management strategy.</para>
-<graphic graphname="infoflow"/></intro></chapter>
-<chapter>
-<title>Getting to know SGML</title>
-<intro>
-<para>While SGML is a fairly recent technology, the use of
-<emph>markup</emph> in computer-generated documents has existed for a
-while.</para></intro>
-<section shorttitle="What is markup?">
-<title>What is markup, or everything you always wanted to know about
-document preparation but were afraid to ask?</title>
-<intro>
-<para>Markup is everything in a document that is not content. The
-traditional meaning of markup is the manual <emph>marking</emph> up
-of typewritten text to give instructions for a typesetter or
-compositor about how to fit the text on a page and what typefaces to
-use. This kind of markup is known as <emph>procedural markup</emph>.</para></intro>
-<topic topicid="top1">
-<title>Procedural markup</title>
-<para>Most electronic publishing systems today use some form of
-procedural markup. Procedural markup codes are good for one
-presentation of the information.</para></topic>
-<topic topicid="top2">
-<title>Generic markup</title>
-<para>Generic markup (also known as descriptive markup) describes the
-<emph>purpose</emph> of the text in a document. A basic concept of
-generic markup is that the content of a document must be separate from
-the style. Generic markup allows for multiple presentations of the
-information.</para></topic>
-<topic topicid="top3">
-<title>Drawbacks of procedural markup</title>
-<para>Industries involved in technical documentation increasingly
-prefer generic over procedural markup schemes. When a company changes
-software or hardware systems, enormous data translation tasks arise,
-often resulting in errors.</para></topic></section>
-<section shorttitle="What is SGML?">
-<title>What <emph>is</emph> SGML in the grand scheme of the universe, anyway?</title>
-<intro>
-<para>SGML defines a strict markup scheme with a syntax for defining
-document data elements and an overall framework for marking up
-documents.</para>
-<para>SGML can describe and create documents that are not dependent on
-any hardware, software, formatter, or operating system. Since SGML documents
-conform to an international standard, they are portable.</para></intro></section>
-<section shorttitle="How does SGML work?">
-<title>How is SGML and would you recommend it to your grandmother?</title>
-<intro>
-<para>You can break a typical document into three layers: structure,
-content, and style. SGML works by separating these three aspects and
-deals mainly with the relationship between structure and content.</para></intro>
-<topic topicid="top4">
-<title>Structure</title>
-<para>At the heart of an SGML application is a file called the DTD, or
-Document Type Definition. The DTD sets up the structure of a document,
-much like a database schema describes the types of information it
-handles.</para>
-<para>A database schema also defines the relationships between the
-various types of data. Similarly, a DTD specifies <emph>rules</emph>
-to help ensure documents have a consistent, logical structure.</para></topic>
-<topic topicid="top5">
-<title>Content</title>
-<para>Content is the information itself. The method for identifying
-the information and its meaning within this framework is called
-<emph>tagging</emph>. Tagging must
-conform to the rules established in the DTD (see <xref xrefid="top4"/>).</para>
-<graphic graphname="tagexamp"/></topic>
-<topic topicid="top6">
-<title>Style</title>
-<para>SGML does not standardize style or other processing methods for
-information stored in SGML.</para></topic></section></chapter>
-<chapter>
-<title>Resources</title>
-<section>
-<title>Conferences, tutorials, and training</title>
-<intro>
-<para>The Graphic Communications Association has been
-instrumental in the development of SGML. GCA provides conferences,
-tutorials, newsletters, and publication sales for both members and
-non-members.</para>
-<para security="c">Exiled members of the former Soviet Union's secret
-police, the KGB, have infiltrated the upper ranks of the GCA and are
-planning the Final Revolution as soon as DSSSL is completed.</para>
-</intro>
-</section>
-</chapter>
-</report>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/sgml.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,101 +0,0 @@
-<!DOCTYPE report SYSTEM "report.dtd">
-<report>
-<title>Getting started with SGML</title>
-<chapter>
-<title>The business challenge</title>
-<intro>
-<para>With the ever-changing and growing global market, companies and
- large organizations are searching for ways to become more viable and
- competitive. Downsizing and other cost-cutting measures demand more
- efficient use of corporate resources. One very important resource is
- an organization's information.</para>
-<para>As part of the move toward integrated information management,
-whole industries are developing and implementing standards for
-exchanging technical information. This report describes how one such
-standard, the Standard Generalized Markup Language (SGML), works as
-part of an overall information management strategy.</para>
-<graphic graphname="infoflow"/></intro></chapter>
-<chapter>
-<title>Getting to know SGML</title>
-<intro>
-<para>While SGML is a fairly recent technology, the use of
-<emph>markup</emph> in computer-generated documents has existed for a
-while.</para></intro>
-<section shorttitle="What is markup?">
-<title>What is markup, or everything you always wanted to know about
-document preparation but were afraid to ask?</title>
-<intro>
-<para>Markup is everything in a document that is not content. The
-traditional meaning of markup is the manual <emph>marking</emph> up
-of typewritten text to give instructions for a typesetter or
-compositor about how to fit the text on a page and what typefaces to
-use. This kind of markup is known as <emph>procedural markup</emph>.</para></intro>
-<topic topicid="top1">
-<title>Procedural markup</title>
-<para>Most electronic publishing systems today use some form of
-procedural markup. Procedural markup codes are good for one
-presentation of the information.</para></topic>
-<topic topicid="top2">
-<title>Generic markup</title>
-<para>Generic markup (also known as descriptive markup) describes the
-<emph>purpose</emph> of the text in a document. A basic concept of
-generic markup is that the content of a document must be separate from
-the style. Generic markup allows for multiple presentations of the
-information.</para></topic>
-<topic topicid="top3">
-<title>Drawbacks of procedural markup</title>
-<para>Industries involved in technical documentation increasingly
-prefer generic over procedural markup schemes. When a company changes
-software or hardware systems, enormous data translation tasks arise,
-often resulting in errors.</para></topic></section>
-<section shorttitle="What is SGML?">
-<title>What <emph>is</emph> SGML in the grand scheme of the universe, anyway?</title>
-<intro>
-<para>SGML defines a strict markup scheme with a syntax for defining
-document data elements and an overall framework for marking up
-documents.</para>
-<para>SGML can describe and create documents that are not dependent on
-any hardware, software, formatter, or operating system. Since SGML documents
-conform to an international standard, they are portable.</para></intro></section>
-<section shorttitle="How does SGML work?">
-<title>How is SGML and would you recommend it to your grandmother?</title>
-<intro>
-<para>You can break a typical document into three layers: structure,
-content, and style. SGML works by separating these three aspects and
-deals mainly with the relationship between structure and content.</para></intro>
-<topic topicid="top4">
-<title>Structure</title>
-<para>At the heart of an SGML application is a file called the DTD, or
-Document Type Definition. The DTD sets up the structure of a document,
-much like a database schema describes the types of information it
-handles.</para>
-<para>A database schema also defines the relationships between the
-various types of data. Similarly, a DTD specifies <emph>rules</emph>
-to help ensure documents have a consistent, logical structure.</para></topic>
-<topic topicid="top5">
-<title>Content</title>
-<para>Content is the information itself. The method for identifying
-the information and its meaning within this framework is called
-<emph>tagging</emph>. Tagging must
-conform to the rules established in the DTD (see <xref xrefid="top4"/>).</para>
-<graphic graphname="tagexamp"/></topic>
-<topic topicid="top6">
-<title>Style</title>
-<para>SGML does not standardize style or other processing methods for
-information stored in SGML.</para></topic></section></chapter>
-<chapter>
-<title>Resources</title>
-<section>
-<title>Conferences, tutorials, and training</title>
-<intro>
-<para>The Graphic Communications Association has been
-instrumental in the development of SGML. GCA provides conferences,
-tutorials, newsletters, and publication sales for both members and
-non-members.</para>
-<para security="c">Exiled members of the former Soviet Union's secret
-police, the KGB, have infiltrated the upper ranks of the GCA and are
-planning the Final Revolution as soon as DSSSL is completed.</para>
-</intro>
-</section>
-</chapter>
-</report>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/sgml_Bug6509774.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,103 +0,0 @@
-<!DOCTYPE report SYSTEM "report.dtd" [
-    <!ENTITY foo "bar">
-]>
-<report>
-<title>Getting started with SGML</title>
-<chapter>
-<title>The business challenge</title>
-<intro>
-<para>With the ever-changing and growing global market, companies and
- large organizations are searching for ways to become more viable and
- competitive. Downsizing and other cost-cutting measures demand more
- efficient use of corporate resources. One very important resource is
- an organization's information.</para>
-<para>As part of the move toward integrated information management,
-whole industries are developing and implementing standards for
-exchanging technical information. This report describes how one such
-standard, the Standard Generalized Markup Language (SGML), works as
-part of an overall information management strategy.</para>
-<graphic graphname="infoflow"/></intro></chapter>
-<chapter>
-<title>Getting to know SGML</title>
-<intro>
-<para>While SGML is a fairly recent technology, the use of
-<emph>markup</emph> in computer-generated documents has existed for a
-while.</para></intro>
-<section shorttitle="What is markup?">
-<title>What is markup, or everything you always wanted to know about
-document preparation but were afraid to ask?</title>
-<intro>
-<para>Markup is everything in a document that is not content. The
-traditional meaning of markup is the manual <emph>marking</emph> up
-of typewritten text to give instructions for a typesetter or
-compositor about how to fit the text on a page and what typefaces to
-use. This kind of markup is known as <emph>procedural markup</emph>.</para></intro>
-<topic topicid="top1">
-<title>Procedural markup</title>
-<para>Most electronic publishing systems today use some form of
-procedural markup. Procedural markup codes are good for one
-presentation of the information.</para></topic>
-<topic topicid="top2">
-<title>Generic markup</title>
-<para>Generic markup (also known as descriptive markup) describes the
-<emph>purpose</emph> of the text in a document. A basic concept of
-generic markup is that the content of a document must be separate from
-the style. Generic markup allows for multiple presentations of the
-information.</para></topic>
-<topic topicid="top3">
-<title>Drawbacks of procedural markup</title>
-<para>Industries involved in technical documentation increasingly
-prefer generic over procedural markup schemes. When a company changes
-software or hardware systems, enormous data translation tasks arise,
-often resulting in errors.</para></topic></section>
-<section shorttitle="What is SGML?">
-<title>What <emph>is</emph> SGML in the grand scheme of the universe, anyway?</title>
-<intro>
-<para>SGML defines a strict markup scheme with a syntax for defining
-document data elements and an overall framework for marking up
-documents.</para>
-<para>SGML can describe and create documents that are not dependent on
-any hardware, software, formatter, or operating system. Since SGML documents
-conform to an international standard, they are portable.</para></intro></section>
-<section shorttitle="How does SGML work?">
-<title>How is SGML and would you recommend it to your grandmother?</title>
-<intro>
-<para>You can break a typical document into three layers: structure,
-content, and style. SGML works by separating these three aspects and
-deals mainly with the relationship between structure and content.</para></intro>
-<topic topicid="top4">
-<title>Structure</title>
-<para>At the heart of an SGML application is a file called the DTD, or
-Document Type Definition. The DTD sets up the structure of a document,
-much like a database schema describes the types of information it
-handles.</para>
-<para>A database schema also defines the relationships between the
-various types of data. Similarly, a DTD specifies <emph>rules</emph>
-to help ensure documents have a consistent, logical structure.</para></topic>
-<topic topicid="top5">
-<title>Content</title>
-<para>Content is the information itself. The method for identifying
-the information and its meaning within this framework is called
-<emph>tagging</emph>. Tagging must
-conform to the rules established in the DTD (see <xref xrefid="top4"/>).</para>
-<graphic graphname="tagexamp"/></topic>
-<topic topicid="top6">
-<title>Style</title>
-<para>SGML does not standardize style or other processing methods for
-information stored in SGML.</para></topic></section></chapter>
-<chapter>
-<title>Resources</title>
-<section>
-<title>Conferences, tutorials, and training</title>
-<intro>
-<para>The Graphic Communications Association has been
-instrumental in the development of SGML. GCA provides conferences,
-tutorials, newsletters, and publication sales for both members and
-non-members.</para>
-<para security="c">Exiled members of the former Soviet Union's secret
-police, the KGB, have infiltrated the upper ranks of the GCA and are
-planning the Final Revolution as soon as DSSSL is completed.</para>
-</intro>
-</section>
-</chapter>
-</report>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/testfile1.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" standalone="no" ?>
-<ns1:foo  attr1="defaultAttr1" ns1:attr1="ns1Attr1" ns2:attr1="ns2Attr1" attr2="defaultAttr2" attr3="defaultAttr3" xmlns:ns1="http://ns1.java.com"  xmlns:ns2="http://ns2.java.com">
-<!--description-->
-    content text
-    <![CDATA[<greeting>Hello</greeting>]]>
-    other content
-</ns1:foo>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/testfile2.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ns1:foo xmlns:ns="http://ns1.java.com" xmlns:ns1="http://ns1.java.com"  xmlns:ns2="http://ns2.java.com" >
- <!--description-->content text
-    <![CDATA[<greeting>Hello</greeting>]]>
-    other content
-</ns1:foo>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/testfile3.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0"  encoding="utf-8" ?>
-<ns1:foo  xmlns:ns1="http://ns1.java.com"  xmlns:ns2="http://ns2.java.com">                  
-<!--description-->
-content text
-    <![CDATA[<greeting>Hello</greeting>]]>
-    other content
-</ns1:foo>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/testfile4.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-<?xml version="1.0"  encoding="utf-8" ?>
-<ns1:foo  attr1="defaultAttr1" xmlns:ns1="http://ns1.java.com"  xmlns:ns2="http://ns2.java.com">
-</ns1:foo>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/toys.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-    Document   : toys.xml
-    Created on : August 11, 2003, 6:42 PM
-    Author     : Prasad Subramanian
-    Description:
--->
-
-<toys>
-    <toy>
-        <name>Lego-Model01</name>
-        <price>65.99</price>
-    </toy>
-    <toy>
-        <name>Lego-Model2</name>
-        <price>69.99</price>
-    </toy>
-    <toy>
-        <name>Lego-Model3</name>
-        <price>14.99</price>
-    </toy>
-    <toy>
-        <name>Barbie-Pink</name>
-        <price>12.99</price>
-    </toy>
-    <toy>
-        <name>Barbie-Blue</name>
-        <price>13.99</price>
-    </toy>        
-    <toy>
-        <name>Barbie-White</name>
-        <price>13.99</price>
-    </toy>   
-    <toy>
-        <name>Barbie-Plain</name>
-        <price>13.99</price>
-    </toy>           
-</toys>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/stream/vxml.dtd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,479 +0,0 @@
-<!-- 
-VoiceXML 2.1 DTD (20031228)
-
-Copyright 1998-2003 W3C (MIT, ERCIM, Keio), All Rights Reserved. 
-
-Permission to use, copy, modify and distribute the VoiceXML DTD and 
-its accompanying documentation for any purpose and without fee is 
-hereby granted in perpetuity, provided that the above copyright 
-notice and this paragraph appear in all copies.  
-
-The copyright holders make no representation about the suitability 
-of the DTD for any purpose. It is provided "as is" without expressed 
-or implied warranty.
--->
-
-<!ENTITY % audio "#PCDATA | audio | enumerate | value">
-<!ENTITY % bargeintype "( speech | hotword )">
-<!ENTITY % boolean "(true|false)">
-<!ENTITY % content.type "CDATA">
-<!ENTITY % duration "CDATA">
-<!ENTITY % event.handler "catch | help | noinput | nomatch | error">
-<!ENTITY % event.name "NMTOKEN">
-<!ENTITY % event.names "NMTOKENS">
-<!ENTITY % executable.content "%audio; | assign | clear | data | disconnect | 
-    exit | foreach |goto | if | log | prompt | 
-	reprompt | return | script | submit | throw | var ">
-<!ENTITY % expression "CDATA">
-<!ENTITY % restrictedvariable.name "NMTOKEN">
-<!ENTITY % variable.name "CDATA">
-<!ENTITY % restrictedvariable.names "NMTOKENS">
-<!ENTITY % variable.names "CDATA">
-<!ENTITY % integer "CDATA">
-<!ENTITY % item.attrs "name		%restrictedvariable.name; #IMPLIED 
-	cond		%expression;	#IMPLIED
-	expr		%expression;	#IMPLIED ">
-<!ENTITY % uri "CDATA">
-<!ENTITY % cache.attrs "fetchhint	(prefetch|safe)	#IMPLIED
-	fetchtimeout	%duration;	#IMPLIED
-	maxage		%integer;	#IMPLIED
-	maxstale	%integer;	#IMPLIED">
-<!ENTITY % next.attrs "next		%uri;		#IMPLIED
-	expr		%expression;	#IMPLIED ">
-<!ENTITY % submit.attrs "method		(get|post)	'get'
-	enctype		%content.type;	'application/x-www-form-urlencoded'
-	namelist	%variable.names;	#IMPLIED">
-<!ENTITY % throw.attrs "event		%event.name;	#IMPLIED
-	eventexpr	%expression;	#IMPLIED
-	message		CDATA		#IMPLIED
-	messageexpr	%expression;	#IMPLIED">
-<!ENTITY % variable "block | data | field | var">
-<!--================================= Root ================================-->
-<!ELEMENT vxml (%event.handler; | data | form | link | menu | meta | metadata | 
-                property | script | var)+>
-<!ATTLIST vxml
-	application %uri; #IMPLIED
-	xml:base %uri; #IMPLIED
-	xml:lang NMTOKEN #IMPLIED
-	xmlns CDATA #REQUIRED
-	xmlns:xsi CDATA #IMPLIED
-	xsi:schemaLocation CDATA #IMPLIED
-	version CDATA #REQUIRED
->
-<!ELEMENT meta EMPTY>
-<!ATTLIST meta
-	name NMTOKEN #IMPLIED
-	content CDATA #REQUIRED
-	http-equiv NMTOKEN #IMPLIED
->
-
-<!ELEMENT metadata ANY>
-
-<!--================================ Prompts ==============================-->
-<!-- definitions adapted from SSML 1.0 DTD -->
-<!ENTITY % structure "p | s">
-<!ENTITY % sentence-elements "break | emphasis | mark | phoneme | prosody | 
-                              say-as | voice | sub">
-<!-- addition of enumerate and value elements as 'allowed-within-sentence' 
-     audio elements -->
-<!ENTITY % allowed-within-sentence " %audio; | %sentence-elements; ">
-
-<!-- Prompt is modelled on SSML 1.0 DTD speak element:
-- addition of 'bargein', 'bargeintype', 'cond', 'count' and 'timeout' attributes
-- removal of xmlns, xmlns:xsi, and xsi:schemaLocation attributes
-- version attribute fixed as "1.0"
--->
-<!ELEMENT prompt (%allowed-within-sentence; | foreach | %structure; | lexicon 
-                  | metadata )*>
-<!ATTLIST prompt
-	bargein %boolean; #IMPLIED
-	bargeintype %bargeintype; #IMPLIED
-	cond %expression; #IMPLIED
-	count %integer; #IMPLIED
-	xml:lang NMTOKEN #IMPLIED
-	timeout %duration; #IMPLIED
-	xml:base %uri; #IMPLIED
-	version CDATA #FIXED "1.0"
->
-<!ELEMENT enumerate (%allowed-within-sentence; | %structure;)*>
-<!ELEMENT reprompt EMPTY>
-
-<!--================================= Dialogs =============================-->
-<!ENTITY % input "grammar">
-<!ENTITY % scope "(document | dialog)">
-<!ELEMENT form (%input; | %event.handler; | filled | initial | object | link |
-              property | record | script | subdialog | transfer | %variable;)*>
-<!ATTLIST form
-	id ID #IMPLIED
-	scope %scope; "dialog"
->
-<!ENTITY % accept.attrs "accept		(exact | approximate)	'exact'">
-<!ELEMENT menu (%audio; | choice | data | %event.handler; | prompt | property)*>
-<!ATTLIST menu
-	id ID #IMPLIED
-	scope %scope; "dialog"
-	%accept.attrs; 
-	dtmf %boolean; "false"
->
-<!ELEMENT choice ( #PCDATA | %input; )*>
-<!ATTLIST choice
-	%cache.attrs; 
-	%accept.attrs; 
-	dtmf CDATA #IMPLIED
-	%throw.attrs; 
-	fetchaudio %uri; #IMPLIED
-	%next.attrs; 
->
-<!--================================ Audio Output ==============================-->
-<!-- definitions adapted from SSML 1.0 DTD -->
-<!ELEMENT paragraph (%allowed-within-sentence; | sentence | s)*>
-<!ATTLIST paragraph
-	xml:lang NMTOKEN #IMPLIED
->
-<!ELEMENT sentence (%allowed-within-sentence;)*>
-<!ATTLIST sentence
-	xml:lang NMTOKEN #IMPLIED
->
-<!ELEMENT p (%allowed-within-sentence; | sentence | s)*>
-<!ATTLIST p
-	xml:lang NMTOKEN #IMPLIED
->
-<!ELEMENT s (%allowed-within-sentence;)*>
-<!ATTLIST s
-	xml:lang NMTOKEN #IMPLIED
->
-<!ELEMENT voice (%allowed-within-sentence; | %structure;)*>
-<!ATTLIST voice
-	xml:lang NMTOKEN #IMPLIED
-	gender (male | female | neutral) #IMPLIED
-	age %integer; #IMPLIED
-	variant %integer; #IMPLIED
-	name CDATA #IMPLIED
->
-<!ELEMENT prosody (%allowed-within-sentence; | %structure;)*>
-<!ATTLIST prosody
-	pitch CDATA #IMPLIED
-	contour CDATA #IMPLIED
-	range CDATA #IMPLIED
-	rate CDATA #IMPLIED
-	duration %duration; #IMPLIED
-	volume CDATA #IMPLIED
->
-<!-- Changes to SSML 1.0 DTD audio element:
-- src not obligatory, addition of 'expr' and caching attributes
--->
-<!ELEMENT audio (%allowed-within-sentence; | %structure; | desc)*>
-<!ATTLIST audio
-	src %uri; #IMPLIED
-	expr %expression; #IMPLIED
-	%cache.attrs; 
->
-<!ELEMENT desc (#PCDATA)>
-<!ELEMENT emphasis (%allowed-within-sentence;)*>
-<!ATTLIST emphasis
-	level (strong | moderate | none | reduced) "moderate"
->
-<!-- Changes to SSML 1.0 DTD say-as element:
-- allows value element as child
--->
-<!ELEMENT say-as (#PCDATA | value )*>
-<!ATTLIST say-as
-	interpret-as NMTOKEN #REQUIRED
-	format NMTOKEN #IMPLIED
-	detail NMTOKEN #IMPLIED
->
-<!ELEMENT sub (#PCDATA)>
-<!ATTLIST sub
-	alias CDATA #REQUIRED
->
-<!ELEMENT phoneme (#PCDATA)>
-<!ATTLIST phoneme
-	ph CDATA #REQUIRED
-	alphabet CDATA #IMPLIED
->
-<!ELEMENT break EMPTY>
-<!ATTLIST break
-	time CDATA "medium"
->
-<!ELEMENT mark EMPTY>
-<!ATTLIST mark
-	name ID #IMPLIED
-	nameexpr %expression; #IMPLIED
->
-<!--================================ Fields ===============================-->
-<!ELEMENT field (%audio; | %event.handler; | filled | %input; | link | option |
-                 prompt | property)*>
-<!ATTLIST field
-	%item.attrs; 
-	type CDATA #IMPLIED
-	slot NMTOKEN #IMPLIED
-	modal %boolean; "false"
->
-<!ELEMENT option (#PCDATA)>
-<!ATTLIST option
-	%accept.attrs; 
-	dtmf CDATA #IMPLIED
-	value CDATA #IMPLIED
->
-<!ELEMENT var EMPTY>
-<!ATTLIST var
-	name %restrictedvariable.name; #REQUIRED
-	expr %expression; #IMPLIED
->
-<!ELEMENT initial (%audio; | %event.handler; | link | prompt | property)*>
-<!ATTLIST initial
-	%item.attrs; 
->
-<!ELEMENT block (%executable.content;)*>
-<!ATTLIST block
-	%item.attrs; 
->
-<!ELEMENT assign EMPTY>
-<!ATTLIST assign
-	name %variable.name; #REQUIRED
-	expr %expression; #REQUIRED
->
-<!ELEMENT clear EMPTY>
-<!ATTLIST clear
-	namelist %variable.names; #IMPLIED
->
-<!ELEMENT value EMPTY>
-<!ATTLIST value
-	expr %expression; #REQUIRED
->
-<!--================================== Events =============================-->
-<!ENTITY % event.handler.attrs "count		%integer;	#IMPLIED
-	cond		%expression;	#IMPLIED">
-<!ELEMENT catch (%executable.content;)*>
-<!ATTLIST catch
-	event %event.names; #IMPLIED
-	%event.handler.attrs; 
->
-<!ELEMENT error (%executable.content;)*>
-<!ATTLIST error
-	%event.handler.attrs; 
->
-<!ELEMENT help (%executable.content;)*>
-<!ATTLIST help
-	%event.handler.attrs; 
->
-<!ELEMENT link (%input;)*>
-<!ATTLIST link
-	%cache.attrs; 
-	%next.attrs; 
-	fetchaudio %uri; #IMPLIED
-	dtmf CDATA #IMPLIED
-	%throw.attrs; 
->
-<!ELEMENT noinput (%executable.content;)*>
-<!ATTLIST noinput
-	%event.handler.attrs; 
->
-<!ELEMENT nomatch (%executable.content;)*>
-<!ATTLIST nomatch
-	%event.handler.attrs; 
->
-<!ELEMENT throw EMPTY>
-<!ATTLIST throw
-	%throw.attrs; 
->
-<!--============================= Grammar Input =============================-->
-<!-- definitions adapted from SRGS 1.0 DTD -->
-<!ENTITY % rule-expansion "#PCDATA | token | ruleref
-                              | item | one-of | tag ">
-<!ELEMENT ruleref EMPTY>
-<!ATTLIST ruleref
-	uri %uri; #IMPLIED
-	type CDATA #IMPLIED
-	special (NULL | VOID | GARBAGE) #IMPLIED
-	xml:lang NMTOKEN #IMPLIED
->
-<!ELEMENT token (#PCDATA)>
-<!ATTLIST token
-	xml:lang NMTOKEN #IMPLIED
->
-<!ELEMENT tag (#PCDATA)>
-<!ELEMENT one-of (item)+>
-<!ATTLIST one-of
-	xml:lang NMTOKEN #IMPLIED
->
-<!ELEMENT item (%rule-expansion;)*>
-<!ATTLIST item
-	repeat NMTOKEN #IMPLIED
-	repeat-prob NMTOKEN #IMPLIED
-	weight NMTOKEN #IMPLIED
-	xml:lang NMTOKEN #IMPLIED
->
-<!ELEMENT rule (%rule-expansion; | example)*>
-<!ATTLIST rule
-	id ID #REQUIRED
-	scope (private | public) "private"
->
-<!ELEMENT example (#PCDATA)>
-<!ELEMENT lexicon EMPTY>
-<!ATTLIST lexicon
-	uri %uri; #REQUIRED
-	type CDATA #IMPLIED
->
-<!-- Changes to SRGS 1.0 DTD grammar element:
-- mixed, unordered content model 
-- addition of 'scope', 'src', 'type', 'weight' and caching attributes
-- 'version' attribute is optional
-- removal of xmlns, xmlns:xsi, and xsi:schemaLocation attributes
--->
-<!ELEMENT grammar (#PCDATA | meta | metadata | lexicon | rule)*>
-<!ATTLIST grammar
-	scope %scope; #IMPLIED
-	src %uri; #IMPLIED
-	srcexpr %expression; #IMPLIED
-	type CDATA #IMPLIED
-	weight CDATA #IMPLIED
-	%cache.attrs; 
-	tag-format %uri; #IMPLIED
-	xml:base %uri; #IMPLIED
-	version NMTOKEN #IMPLIED
-	xml:lang NMTOKEN #IMPLIED
-	root IDREF #IMPLIED
-	mode (voice | dtmf) "voice"
->
-<!--============================= Audio Input =============================-->
-<!ELEMENT record (%audio; | %event.handler; | filled | %input; | prompt | 
-                  property)*>
-<!ATTLIST record
-	%item.attrs; 
-	type CDATA #IMPLIED
-	beep %boolean; "false"
-	maxtime %duration; #IMPLIED
-	modal %boolean; "true"
-	finalsilence %duration; #IMPLIED
-	dtmfterm %boolean; "true"
->
-<!--============================ Call Control ============================-->
-<!ELEMENT disconnect EMPTY>
-<!ATTLIST disconnect
-	namelist %variable.names; #IMPLIED
->
-
-<!ELEMENT transfer (%audio; | %event.handler; | filled | %input; | prompt | 
-                    property)*>
-<!ATTLIST transfer
-	%item.attrs; 
-	dest %uri; #IMPLIED
-	destexpr %expression; #IMPLIED
-	bridge %boolean; "false"
-	type NMTOKEN #IMPLIED
-	connecttimeout %duration; #IMPLIED
-	maxtime %duration; #IMPLIED
-	transferaudio %uri; #IMPLIED
-	aai CDATA #IMPLIED
-	aaiexpr %expression; #IMPLIED
->
-<!--============================ Control Flow ============================-->
-<!ENTITY % if.attrs "cond		%expression;	#REQUIRED">
-<!ELEMENT if (%executable.content; | elseif | else)*>
-<!ATTLIST if
-	%if.attrs; 
->
-<!ELEMENT elseif EMPTY>
-<!ATTLIST elseif
-	%if.attrs; 
->
-<!ELEMENT else EMPTY>
-<!ELEMENT exit EMPTY>
-<!ATTLIST exit
-	expr %expression; #IMPLIED
-	namelist %variable.names; #IMPLIED
->
-<!ELEMENT filled (%executable.content;)*>
-<!ATTLIST filled
-	mode (any | all) #IMPLIED
-	namelist %restrictedvariable.names; #IMPLIED
->
-
-<!-- executable content + contents of prompt  -->
-<!ELEMENT foreach (%executable.content; | %sentence-elements; | 
-    %structure; | metadata)*
->
-<!ATTLIST foreach
-    item %restrictedvariable.name; #REQUIRED
-    array CDATA #REQUIRED
->
-
-<!ELEMENT goto EMPTY>
-<!ATTLIST goto
-	%cache.attrs; 
-	%next.attrs; 
-	fetchaudio %uri; #IMPLIED
-	expritem %expression; #IMPLIED
-	nextitem %restrictedvariable.name; #IMPLIED
->
-<!ELEMENT param EMPTY>
-<!ATTLIST param
-	name NMTOKEN #REQUIRED
-	expr %expression; #IMPLIED
-	value CDATA #IMPLIED
-	valuetype (data | ref) "data"
-	type CDATA #IMPLIED
->
-<!ELEMENT return EMPTY>
-<!ATTLIST return
-	namelist %variable.names; #IMPLIED
-	%throw.attrs; 
->
-<!ELEMENT subdialog (%audio; | %event.handler; | filled | param | prompt | 
-                     property)*>
-<!ATTLIST subdialog
-	%item.attrs; 
-	src %uri; #IMPLIED
-	srcexpr %expression; #IMPLIED
-	%cache.attrs; 
-	fetchaudio %uri; #IMPLIED
-	%submit.attrs; 
->
-<!ELEMENT submit EMPTY>
-<!ATTLIST submit
-	%cache.attrs; 
-	%next.attrs; 
-	fetchaudio %uri; #IMPLIED
-	%submit.attrs; 
->
-<!--========================== Miscellaneous ==============================-->
-<!ELEMENT data EMPTY >
-<!ATTLIST data
-    name %restrictedvariable.name; #IMPLIED
-    src %uri; #IMPLIED
-    srcexpr %expression; #IMPLIED 
-    fetchaudio  %uri;       #IMPLIED
-    %submit.attrs;
-    %cache.attrs;
->
-
-<!ELEMENT log (#PCDATA | value)*>
-<!ATTLIST log
-	label CDATA #IMPLIED
-	expr %expression; #IMPLIED
->
-<!ELEMENT object (%audio; | %event.handler; | filled | param | prompt | 
-                  property)*>
-<!ATTLIST object
-	%item.attrs; 
-	%cache.attrs; 
-	classid %uri; #IMPLIED
-	codebase %uri; #IMPLIED
-	data %uri; #IMPLIED
-	type CDATA #IMPLIED
-	codetype CDATA #IMPLIED
-	archive %uri; #IMPLIED
->
-<!ELEMENT property EMPTY>
-<!ATTLIST property
-	name NMTOKEN #REQUIRED
-	value CDATA #REQUIRED
->
-<!ELEMENT script (#PCDATA)>
-<!ATTLIST script
-	src %uri; #IMPLIED
-	srcexpr %expression; #IMPLIED
-	charset CDATA #IMPLIED
-	%cache.attrs; 
->
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/5368141.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,329 +0,0 @@
-<?xml version="1.0" standalone="no" ?>
-<!DOCTYPE message PUBLIC "-//TSN//DTD Statistics 1.0/EN" "NCAA_Conference_Schedule_XML.dtd"> 
-<message>
-<XML_File_ID>5368141</XML_File_ID>
-<heading>AEX%06ATLANTICSUN-SKED</heading>
-<category>Statistics</category>
-<sport>CBASK</sport>
-<Title>2006-2007 Atlantic Sun Basketball Schedule/Results</Title>
-<Conference_Schedule>
-<Team fullname="Belmont Bruins">
-<Listing>Nov 13-L at  UNC-Wilmington, 83-88</Listing>
-<Listing>Nov 14-W vs. Fordham, 56-49</Listing>
-<Listing>Nov 18-W at  IUPUI, 67-61</Listing>
-<Listing>Nov 20-W vs. Fisk, 83-54</Listing>
-<Listing>Nov 27-L at  Middle Tennessee, 57-64</Listing>
-<Listing>Nov 30-W vs. North Florida, 87-32</Listing>
-<Listing>Dec  2-W vs. Jacksonville, 76-62</Listing>
-<Listing>Dec  4-W vs. IUPUI, 76-66</Listing>
-<Listing>Dec 13-W at  Ark-Little Rock, 72-57</Listing>
-<Listing>Dec 17-L at  Illinois, 51-77</Listing>
-<Listing>Dec 19-L at  Michigan State, 58-67</Listing>
-<Listing>Dec 28-W at  Rice, 87-85</Listing>
-<Listing>Dec 29-L at  St Marys-CA, 60-71</Listing>
-<Listing>Jan  2-W at  East Tenn St, 75-74 OT</Listing>
-<Listing>Jan  4-W at  Kennesaw St, 63-45</Listing>
-<Listing>Jan  7-W vs. Mercer, 72-47</Listing>
-<Listing>Jan  9-W vs. Stetson, 73-71</Listing>
-<Listing>Jan 12-L vs. Lipscomb, 50-55</Listing>
-<Listing>Jan 18- at  Campbell, 7:00 PM</Listing>
-<Listing>Jan 20- at  Gardner-Webb, 6:00 PM</Listing>
-<Listing>Jan 25- vs. East Tenn St, 7:00 PM</Listing>
-<Listing>Jan 27- vs. Kennesaw St, 7:00 PM</Listing>
-<Listing>Feb  1- at  Stetson, 6:00 PM</Listing>
-<Listing>Feb  3- at  Mercer, 6:00 PM</Listing>
-<Listing>Feb  9- at  Lipscomb, 6:30 PM</Listing>
-<Listing>Feb 15- vs. Gardner-Webb, 7:00 PM</Listing>
-<Listing>Feb 17- vs. Campbell, 7:30 PM</Listing>
-<Listing>Feb 22- at  Jacksonville, 6:00 PM</Listing>
-<Listing>Feb 24- at  North Florida, 7:00 PM</Listing>
-</Team>
-<Team fullname="Campbell Fighting Camels">
-<Listing>Nov 11-W vs. UNC-Pembroke, 106-66</Listing>
-<Listing>Nov 16-W vs. Coastal Carolina, 83-63</Listing>
-<Listing>Nov 20-W vs. UNC-Wilmington, 100-94</Listing>
-<Listing>Nov 25-L at  Radford, 80-87</Listing>
-<Listing>Nov 27-L at  Appalachian St, 71-84</Listing>
-<Listing>Dec 12-L at  San Diego St, 82-119</Listing>
-<Listing>Dec 14-L at  San Diego, 69-81</Listing>
-<Listing>Dec 18-W vs. Radford, 101-88</Listing>
-<Listing>Dec 23-L at  Virginia Tech, 70-94</Listing>
-<Listing>Dec 30-W vs. Ohio Valley, 107-65</Listing>
-<Listing>Jan  2-W at  North Florida, 78-48</Listing>
-<Listing>Jan  4-L at  Jacksonville, 71-90</Listing>
-<Listing>Jan  6-W vs. Kennesaw St, 88-85 2OT</Listing>
-<Listing>Jan  9-L vs. East Tenn St, 76-100</Listing>
-<Listing>Jan 13-L at  Mercer, 93-94</Listing>
-<Listing>Jan 15-L at  Stetson, 73-82</Listing>
-<Listing>Jan 18- vs. Belmont, 7:00 PM</Listing>
-<Listing>Jan 20- vs. Lipscomb, 1:00 PM</Listing>
-<Listing>Jan 25- vs. North Florida, 8:00 PM</Listing>
-<Listing>Jan 27- vs. Jacksonville, 4:00 PM</Listing>
-<Listing>Jan 30- at  Gardner-Webb, 7:00 PM</Listing>
-<Listing>Feb  2- at  Kennesaw St, 7:30 PM</Listing>
-<Listing>Feb  5- at  East Tenn St, 7:00 PM</Listing>
-<Listing>Feb  8- vs. Stetson, 7:00 PM</Listing>
-<Listing>Feb 10- vs. Mercer, 7:00 PM</Listing>
-<Listing>Feb 15- at  Lipscomb, 8:00 PM</Listing>
-<Listing>Feb 17- at  Belmont, 7:30 PM</Listing>
-<Listing>Feb 22- vs. Longwood, 7:00 PM</Listing>
-<Listing>Feb 24- vs. Gardner-Webb, 6:00 PM</Listing>
-</Team>
-<Team fullname="East Tennessee State Buccaneers">
-<Listing>Nov 10-W vs. Virginia-Wise, 90-43</Listing>
-<Listing>Nov 13-L at  Eastern Ky, 53-70</Listing>
-<Listing>Nov 15-W vs. Chattanooga, 71-70 OT</Listing>
-<Listing>Nov 19-L at  Auburn, 58-64</Listing>
-<Listing>Nov 21-L at  Morehead State, 56-77</Listing>
-<Listing>Nov 24-L vs. Sam Houston St, 61-72</Listing>
-<Listing>Nov 25-W at  Southern U, 66-52</Listing>
-<Listing>Nov 30-W at  Mercer, 76-70</Listing>
-<Listing>Dec  2-W at  Stetson, 75-61</Listing>
-<Listing>Dec  5-L at  Vanderbilt, 62-104</Listing>
-<Listing>Dec  9-W vs. Milligan, 73-47</Listing>
-<Listing>Dec 19-W vs. UNC-Asheville, 73-65</Listing>
-<Listing>Dec 21-W vs. Radford, 71-51</Listing>
-<Listing>Dec 30-L at  Tennessee, 88-93</Listing>
-<Listing>Jan  2-L vs. Belmont, 74-75 OT</Listing>
-<Listing>Jan  4-W vs. Lipscomb, 75-72 OT</Listing>
-<Listing>Jan  7-W at  Gardner-Webb, 66-63</Listing>
-<Listing>Jan  9-W at  Campbell, 100-76</Listing>
-<Listing>Jan 13-W vs. North Florida, 77-58</Listing>
-<Listing>Jan 15-W vs. Jacksonville, 71-59</Listing>
-<Listing>Jan 19- vs. Kennesaw St, 7:30 PM</Listing>
-<Listing>Jan 25- at  Belmont, 7:00 PM</Listing>
-<Listing>Jan 27- at  Lipscomb, 5:00 PM</Listing>
-<Listing>Feb  2- vs. Gardner-Webb, 7:00 PM</Listing>
-<Listing>Feb  5- vs. Campbell, 7:00 PM</Listing>
-<Listing>Feb  8- at  Jacksonville, 7:00 PM</Listing>
-<Listing>Feb 10- at  North Florida, 4:00 PM</Listing>
-<Listing>Feb 17- at  Kennesaw St, 7:30 PM</Listing>
-<Listing>Feb 23- vs. Stetson, 7:30 PM</Listing>
-<Listing>Feb 25- vs. Mercer, 2:00 PM</Listing>
-</Team>
-<Team fullname="Gardner-Webb Bulldogs">
-<Listing>Nov 13-L at  Texas Tech, 74-86</Listing>
-<Listing>Nov 14-L vs. Akron, 61-89</Listing>
-<Listing>Nov 19-L at  North Carolina, 50-103</Listing>
-<Listing>Nov 21-L vs. UNC Greensboro, 67-79</Listing>
-<Listing>Nov 24-L at  NC State, 76-88</Listing>
-<Listing>Nov 29-W vs. Ferrum, 70-53</Listing>
-<Listing>Dec  5-L at  Georgia, 67-96</Listing>
-<Listing>Dec  9-W vs. Western Carolina, 74-73 O</Listing>
-<Listing>Dec 16-L at  High Point, 51-65</Listing>
-<Listing>Dec 19-L at  Wake Forest, 60-92</Listing>
-<Listing>Dec 27-L at  Wisconsin, 40-98</Listing>
-<Listing>Jan  2-L at  Jacksonville, 64-73</Listing>
-<Listing>Jan  4-W at  North Florida, 72-52</Listing>
-<Listing>Jan  7-L vs. East Tenn St, 63-66</Listing>
-<Listing>Jan 10-L vs. Kennesaw St, 60-77</Listing>
-<Listing>Jan 13-W at  Stetson, 77-64</Listing>
-<Listing>Jan 15-L at  Mercer, 74-85</Listing>
-<Listing>Jan 18- vs. Lipscomb, 7:00 PM</Listing>
-<Listing>Jan 20- vs. Belmont, 6:00 PM</Listing>
-<Listing>Jan 25- vs. Jacksonville, 6:00 PM</Listing>
-<Listing>Jan 27- vs. North Florida, 8:15 PM</Listing>
-<Listing>Jan 30- vs. Campbell, 7:00 PM</Listing>
-<Listing>Feb  2- at  East Tenn St, 7:00 PM</Listing>
-<Listing>Feb  4- at  Kennesaw St, 2:00 PM</Listing>
-<Listing>Feb  8- vs. Mercer, 7:00 PM</Listing>
-<Listing>Feb 10- vs. Stetson, 7:00 PM</Listing>
-<Listing>Feb 15- at  Belmont, 7:00 PM</Listing>
-<Listing>Feb 17- at  Lipscomb, 3:00 PM</Listing>
-<Listing>Feb 24- at  Campbell, 6:00 PM</Listing>
-</Team>
-<Team fullname="Jacksonville Dolphins">
-<Listing>Nov 12-L at  Savannah State, 64-67</Listing>
-<Listing>Nov 14-W vs. Saint Leo, 77-73</Listing>
-<Listing>Nov 16-L at  Florida, 61-90</Listing>
-<Listing>Nov 22-W vs. Florida Tech, 89-60</Listing>
-<Listing>Nov 25-W vs. SC State, 87-74</Listing>
-<Listing>Nov 27-L at  U-C-F, 62-99</Listing>
-<Listing>Nov 30-L at  Lipscomb, 61-73</Listing>
-<Listing>Dec  2-L at  Belmont, 62-76</Listing>
-<Listing>Dec 10-W vs. Coastal Carolina, 85-72</Listing>
-<Listing>Dec 16-L at  Texas A&amp;M, 58-97</Listing>
-<Listing>Dec 19-L at  Georgia, 77-93</Listing>
-<Listing>Dec 29-L at  South Carolina, 73-80</Listing>
-<Listing>Jan  2-W vs. Gardner-Webb, 73-64</Listing>
-<Listing>Jan  4-W vs. Campbell, 90-71</Listing>
-<Listing>Jan  9-W at  North Florida, 64-60</Listing>
-<Listing>Jan 13-L at  Kennesaw St, 76-83</Listing>
-<Listing>Jan 15-L at  East Tenn St, 59-71</Listing>
-<Listing>Jan 18- vs. Mercer, 7:00 PM</Listing>
-<Listing>Jan 20- vs. Stetson, 7:00 PM</Listing>
-<Listing>Jan 25- at  Gardner-Webb, 6:00 PM</Listing>
-<Listing>Jan 27- at  Campbell, 4:00 PM</Listing>
-<Listing>Feb  3- vs. North Florida, 6:00 PM</Listing>
-<Listing>Feb  8- vs. East Tenn St, 7:00 PM</Listing>
-<Listing>Feb 10- vs. Kennesaw St, 7:00 PM</Listing>
-<Listing>Feb 16- at  Mercer, 7:30 PM</Listing>
-<Listing>Feb 18- at  Stetson, 5:00 PM</Listing>
-<Listing>Feb 22- vs. Belmont, 6:00 PM</Listing>
-<Listing>Feb 24- vs. Lipscomb, 6:00 PM</Listing>
-<Listing></Listing>
-<Listing></Listing>
-<Listing></Listing>
-</Team>
-<Team fullname="Kennesaw Fighting Owls">
-<Listing>Nov 11-L vs. Western Ky, 55-96</Listing>
-<Listing>Nov 17-W at  St Peters, 67-60</Listing>
-<Listing>Nov 18-L at  Columbia, 51-63</Listing>
-<Listing>Nov 21-L vs. George Washington, 52-69</Listing>
-<Listing>Nov 25-L vs. Florida Intl, 68-70</Listing>
-<Listing>Nov 28-W vs. Newberry, 68-55</Listing>
-<Listing>Nov 30-L at  Stetson, 56-61</Listing>
-<Listing>Dec  2-L at  Mercer, 77-84 OT</Listing>
-<Listing>Dec 17-L at  Kansas State, 54-82</Listing>
-<Listing>Dec 19-L at  Wichita State, 65-74</Listing>
-<Listing>Dec 22-W at  MD-Eastern Shore, 67-49</Listing>
-<Listing>Dec 23-L at  Longwood, 85-87 OT</Listing>
-<Listing>Dec 29-L at  Chattanooga, 67-83</Listing>
-<Listing>Dec 30-W vs. Alabama State, 78-72</Listing>
-<Listing>Jan  2-W vs. Lipscomb, 66-55</Listing>
-<Listing>Jan  4-L vs. Belmont, 45-63</Listing>
-<Listing>Jan  6-L at  Campbell, 85-88 2OT</Listing>
-<Listing>Jan 10-W at  Gardner-Webb, 77-60</Listing>
-<Listing>Jan 13-W vs. Jacksonville, 83-76</Listing>
-<Listing>Jan 15-W vs. North Florida, 77-57</Listing>
-<Listing>Jan 19- at  East Tenn St, 7:30 PM</Listing>
-<Listing>Jan 25- at  Lipscomb, 8:00 PM</Listing>
-<Listing>Jan 27- at  Belmont, 7:00 PM</Listing>
-<Listing>Feb  2- vs. Campbell, 7:30 PM</Listing>
-<Listing>Feb  4- vs. Gardner-Webb, 2:00 PM</Listing>
-<Listing>Feb  8- at  North Florida, 7:00 PM</Listing>
-<Listing>Feb 10- at  Jacksonville, 7:00 PM</Listing>
-<Listing>Feb 14- at  Georgia, 7:30 PM</Listing>
-<Listing>Feb 17- vs. East Tenn St, 7:30 PM</Listing>
-<Listing>Feb 22- vs. Mercer, 7:30 PM</Listing>
-<Listing>Feb 24- vs. Stetson, 2:00 PM</Listing>
-</Team>
-<Team fullname="Lipscomb Bison">
-<Listing>Nov 11-W vs. Tusculum, 70-67</Listing>
-<Listing>Nov 13-W vs. Evansville, 67-64</Listing>
-<Listing>Nov 16-L at  Missouri, 69-89</Listing>
-<Listing>Nov 19-L at  South Carolina, 68-75</Listing>
-<Listing>Nov 25-W vs. Fisk, 80-68</Listing>
-<Listing>Nov 27-W vs. Winston-Salem St, 62-46</Listing>
-<Listing>Nov 30-W vs. Jacksonville, 73-61</Listing>
-<Listing>Dec  2-W vs. North Florida, 68-54</Listing>
-<Listing>Dec  7-L at  Vanderbilt, 50-59</Listing>
-<Listing>Dec 14-W vs. Nicholls State, 75-55</Listing>
-<Listing>Dec 16-L at  Evansville, 73-80</Listing>
-<Listing>Dec 21-W at  Liberty, 66-61</Listing>
-<Listing>Dec 29-L at  Alabama, 58-80</Listing>
-<Listing>Jan  2-L at  Kennesaw St, 55-66</Listing>
-<Listing>Jan  4-L at  East Tenn St, 72-75 OT</Listing>
-<Listing>Jan  7-W vs. Stetson, 79-68</Listing>
-<Listing>Jan  9-W vs. Mercer, 89-68</Listing>
-<Listing>Jan 12-W at  Belmont, 55-50</Listing>
-<Listing>Jan 18- at  Gardner-Webb, 7:00 PM</Listing>
-<Listing>Jan 20- at  Campbell, 1:00 PM</Listing>
-<Listing>Jan 25- vs. Kennesaw St, 8:00 PM</Listing>
-<Listing>Jan 27- vs. East Tenn St, 5:00 PM</Listing>
-<Listing>Feb  1- at  Mercer, 7:00 PM</Listing>
-<Listing>Feb  3- at  Stetson, 7:00 PM</Listing>
-<Listing>Feb  9- vs. Belmont, 6:30 PM</Listing>
-<Listing>Feb 15- vs. Campbell, 8:00 PM</Listing>
-<Listing>Feb 17- vs. Gardner-Webb, 3:00 PM</Listing>
-<Listing>Feb 22- at  North Florida, 7:00 PM</Listing>
-<Listing>Feb 24- at  Jacksonville, 6:00 PM</Listing>
-</Team>
-<Team fullname="Mercer Bears">
-<Listing>Nov 12-L at  Wisconsin, 48-72</Listing>
-<Listing>Nov 14-L at  Savannah State, 61-71</Listing>
-<Listing>Nov 18-W vs. Emory, 89-71</Listing>
-<Listing>Nov 27-L vs. Ga Southern, 59-61</Listing>
-<Listing>Nov 30-L vs. East Tenn St, 70-76</Listing>
-<Listing>Dec  2-W vs. Kennesaw St, 84-77 OT</Listing>
-<Listing>Dec  4-W vs. Char Southern, 78-59</Listing>
-<Listing>Dec  7-W vs. Fort Valley St, 79-74</Listing>
-<Listing>Dec  9-W at  Va Military, 105-103</Listing>
-<Listing>Dec 21-L at  Oregon State, 62-93</Listing>
-<Listing>Dec 23-L at  Oregon, 64-84</Listing>
-<Listing>Dec 30-L at  Furman, 69-83</Listing>
-<Listing>Jan  2-W vs. Stetson, 84-63</Listing>
-<Listing>Jan  7-L at  Belmont, 47-72</Listing>
-<Listing>Jan  9-L at  Lipscomb, 68-89</Listing>
-<Listing>Jan 13-W vs. Campbell, 94-93</Listing>
-<Listing>Jan 15-W vs. Gardner-Webb, 85-74</Listing>
-<Listing>Jan 18- at  Jacksonville, 7:00 PM</Listing>
-<Listing>Jan 20- at  North Florida, 4:00 PM</Listing>
-<Listing>Jan 24- vs. Savannah State, 7:00 PM</Listing>
-<Listing>Jan 26- at  Stetson, 7:30 PM</Listing>
-<Listing>Feb  1- vs. Lipscomb, 7:00 PM</Listing>
-<Listing>Feb  3- vs. Belmont, 6:00 PM</Listing>
-<Listing>Feb  8- at  Gardner-Webb, 7:00 PM</Listing>
-<Listing>Feb 10- at  Campbell, 7:00 PM</Listing>
-<Listing>Feb 16- vs. Jacksonville, 7:30 PM</Listing>
-<Listing>Feb 18- vs. North Florida, 2:00 PM</Listing>
-<Listing>Feb 22- at  Kennesaw St, 7:30 PM</Listing>
-<Listing>Feb 25- at  East Tenn St, 2:00 PM</Listing>
-</Team>
-<Team fullname="North Florida Ospreys">
-<Listing>Nov 10-L at  St Johns, 53-74</Listing>
-<Listing>Nov 11-L vs. Loyola-Maryland, 50-65</Listing>
-<Listing>Nov 14-L at  Florida, 40-86</Listing>
-<Listing>Nov 19-W vs. Concordia (NY), 77-72</Listing>
-<Listing>Nov 22-L vs. Fla Atlantic, 44-59</Listing>
-<Listing>Nov 25-L at  Northwestern, 39-40</Listing>
-<Listing>Nov 30-L at  Belmont, 32-87</Listing>
-<Listing>Dec  2-L at  Lipscomb, 54-68</Listing>
-<Listing>Dec  8-L at  William &amp; Mary, 44-61</Listing>
-<Listing>Dec 18-L vs. Binghamton, 61-79</Listing>
-<Listing>Dec 20-L vs. Florida A&amp;M, 65-66</Listing>
-<Listing>Dec 28-W vs. Skidmore, 70-43</Listing>
-<Listing>Jan  2-L vs. Campbell, 48-78</Listing>
-<Listing>Jan  4-L vs. Gardner-Webb, 52-72</Listing>
-<Listing>Jan  9-L vs. Jacksonville, 60-64</Listing>
-<Listing>Jan 13-L at  East Tenn St, 58-77</Listing>
-<Listing>Jan 15-L at  Kennesaw St, 57-77</Listing>
-<Listing>Jan 18- vs. Stetson, 7:00 PM</Listing>
-<Listing>Jan 20- vs. Mercer, 4:00 PM</Listing>
-<Listing>Jan 25- at  Campbell, 8:00 PM</Listing>
-<Listing>Jan 27- at  Gardner-Webb, 8:15 PM</Listing>
-<Listing>Jan 30- at  Savannah State, 7:00 PM</Listing>
-<Listing>Feb  3- at  Jacksonville, 6:00 PM</Listing>
-<Listing>Feb  8- vs. Kennesaw St, 7:00 PM</Listing>
-<Listing>Feb 10- vs. East Tenn St, 4:00 PM</Listing>
-<Listing>Feb 15- at  Stetson, 7:00 PM</Listing>
-<Listing>Feb 18- at  Mercer, 2:00 PM</Listing>
-<Listing>Feb 22- vs. Lipscomb, 7:00 PM</Listing>
-<Listing>Feb 24- vs. Belmont, 7:00 PM</Listing>
-<Listing></Listing>
-</Team>
-<Team fullname="Stetson Hatters">
-<Listing>Nov 10-L at  Army, 68-80</Listing>
-<Listing>Nov 11-W at  NC A&amp;T, 72-69</Listing>
-<Listing>Nov 12-L at  Missouri, 45-66</Listing>
-<Listing>Nov 18-L at  U-C-F, 60-73</Listing>
-<Listing>Nov 20-W vs. Palm Beach Atlantic, 80-6</Listing>
-<Listing>Nov 27-L at  South Florida, 72-77 2OT</Listing>
-<Listing>Nov 30-W vs. Kennesaw St, 61-56</Listing>
-<Listing>Dec  2-L vs. East Tenn St, 61-75</Listing>
-<Listing>Dec  5-L vs. Florida State, 63-82</Listing>
-<Listing>Dec 16-L at  Miami-Florida, 64-89</Listing>
-<Listing>Dec 20-L at  Florida, 67-88</Listing>
-<Listing>Dec 23-W at  Savannah State, 58-46</Listing>
-<Listing>Dec 30-W vs. Skidmore, 85-55</Listing>
-<Listing>Jan  2-L at  Mercer, 63-84</Listing>
-<Listing>Jan  7-L at  Lipscomb, 68-79</Listing>
-<Listing>Jan  9-L at  Belmont, 71-73</Listing>
-<Listing>Jan 13-L vs. Gardner-Webb, 64-77</Listing>
-<Listing>Jan 15-W vs. Campbell, 82-73</Listing>
-<Listing>Jan 18- at  North Florida, 7:00 PM</Listing>
-<Listing>Jan 20- at  Jacksonville, 7:00 PM</Listing>
-<Listing>Jan 26- vs. Mercer, 7:30 PM</Listing>
-<Listing>Feb  1- vs. Belmont, 6:00 PM</Listing>
-<Listing>Feb  3- vs. Lipscomb, 7:00 PM</Listing>
-<Listing>Feb  8- at  Campbell, 7:00 PM</Listing>
-<Listing>Feb 10- at  Gardner-Webb, 7:00 PM</Listing>
-<Listing>Feb 13- vs. Savannah State, 7:00 PM</Listing>
-<Listing>Feb 15- vs. North Florida, 7:00 PM</Listing>
-<Listing>Feb 18- vs. Jacksonville, 5:00 PM</Listing>
-<Listing>Feb 23- at  East Tenn St, 7:30 PM</Listing>
-<Listing>Feb 24- at  Kennesaw St, 2:00 PM</Listing>
-</Team>
-</Conference_Schedule>
-<time_stamp> January 18, 2007, at 03:41 AM ET </time_stamp>
-</message>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341.dtd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-<!ELEMENT SupplierOrder (OrderId, OrderDate, ShippingAddress, LineItems)>
-
-<!ELEMENT OrderId (#PCDATA)>
-
-<!ELEMENT OrderDate (#PCDATA)>
-
-<!ELEMENT ShippingAddress (FirstName, LastName, Street, City, State, Country, ZipCode, Email, Phone)>
-
-<!ELEMENT FirstName (#PCDATA)>
-
-<!ELEMENT LastName (#PCDATA)>
-
-<!ELEMENT Street (#PCDATA)>
-
-<!ELEMENT City (#PCDATA)>
-
-<!ELEMENT State (#PCDATA)>
-
-<!ELEMENT Country (#PCDATA)>
-
-<!ELEMENT ZipCode (#PCDATA)>
-
-<!ELEMENT Email (#PCDATA)>
-
-<!ELEMENT Phone (#PCDATA)>
-
-<!ELEMENT LineItems (LineItem+)>
-
-<!ELEMENT LineItem EMPTY>
-
-<!ATTLIST LineItem
-     categoryId CDATA #REQUIRED
-     productId CDATA #REQUIRED
-     itemId CDATA #REQUIRED
-     lineNo CDATA #REQUIRED
-     quantity CDATA #REQUIRED
-     unitPrice CDATA #REQUIRED
->
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341.out	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE SupplierOrder SYSTEM "Bug4693341.dtd">
-<SupplierOrder>
-<OrderId>10016</OrderId>
-<OrderDate>Wed May 29 12:45:00 PDT 2002</OrderDate>
-<ShippingAddress>
-<FirstName>ABC</FirstName>
-<LastName>XYZ</LastName>
-<Street>1234 Anywhere Street</Street>
-<City>Palo Alto</City>
-<State>California</State>
-<Country>USA</Country>
-<ZipCode>94303</ZipCode>
-<Email>NULL</Email>
-<Phone>NULL</Phone>
-</ShippingAddress>
-<LineItems>
-<LineItem categoryId="BIRDS" itemId="EST-18" lineNo="0" productId="AV-CB-01" quantity="1" unitPrice="193.5"/>
-</LineItems>
-</SupplierOrder>
\ No newline at end of file
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE SupplierOrder SYSTEM "Bug4693341.dtd" >
-<SupplierOrder>
-<OrderId>10016</OrderId>
-<OrderDate>Wed May 29 12:45:00 PDT 2002</OrderDate>
-<ShippingAddress>
-<FirstName>ABC</FirstName>
-<LastName>XYZ</LastName>
-<Street>1234 Anywhere Street</Street>
-<City>Palo Alto</City>
-<State>California</State>
-<Country>USA</Country>
-<ZipCode>94303</ZipCode>
-<Email>NULL</Email>
-<Phone>NULL</Phone>
-</ShippingAddress>
-<LineItems>
-<LineItem categoryId="BIRDS" itemId="EST-18" lineNo="0" productId="AV-CB-01" quantity="1" unitPrice="193.5"/>
-</LineItems>
-</SupplierOrder>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,80 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.net.URL;
-
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 4693341
- * @summary Test transform with external dtd.
- */
-public class Bug4693341Test {
-
-    @Test
-    public void test() {
-        boolean status = false;
-
-        try {
-            Transformer transformer = TransformerFactory.newInstance().newTransformer();
-
-            String out = getClass().getResource("Bug4693341.out").getPath();
-            StreamResult result = new StreamResult(new FileOutputStream(out));
-
-            String in = getClass().getResource("Bug4693341.xml").getPath();
-            File file = new File(in);
-            StreamSource source = new StreamSource(new FileInputStream(file), ("file://" + in));
-
-            transformer.transform(source, result);
-
-            //URL inputsource = new URL("file", "", golden);
-            URL output = new URL("file", "", out);
-
-            // error happens when trying to parse output
-            String systemId = output.toExternalForm();
-            System.out.println("systemId: " + systemId);
-            InputSource is = new InputSource(systemId);
-            SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
-            parser.parse(is, new DefaultHandler());
-
-        } catch (Exception ex) {
-            Assert.fail(ex.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341_golden.dtd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-<!ELEMENT SupplierOrder (OrderId, OrderDate, ShippingAddress, LineItems)>
-
-<!ELEMENT OrderId (#PCDATA)>
-
-<!ELEMENT OrderDate (#PCDATA)>
-
-<!ELEMENT ShippingAddress (FirstName, LastName, Street, City, State, Country, ZipCode, Email, Phone)>
-
-<!ELEMENT FirstName (#PCDATA)>
-
-<!ELEMENT LastName (#PCDATA)>
-
-<!ELEMENT Street (#PCDATA)>
-
-<!ELEMENT City (#PCDATA)>
-
-<!ELEMENT State (#PCDATA)>
-
-<!ELEMENT Country (#PCDATA)>
-
-<!ELEMENT ZipCode (#PCDATA)>
-
-<!ELEMENT Email (#PCDATA)>
-
-<!ELEMENT Phone (#PCDATA)>
-
-<!ELEMENT LineItems (LineItem+)>
-
-<!ELEMENT LineItem EMPTY>
-
-<!ATTLIST LineItem
-     categoryId CDATA #REQUIRED
-     productId CDATA #REQUIRED
-     itemId CDATA #REQUIRED
-     lineNo CDATA #REQUIRED
-     quantity CDATA #REQUIRED
-     unitPrice CDATA #REQUIRED
->
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4693341_golden.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE SupplierOrder SYSTEM "Bug4693341_golden.dtd" >
-<SupplierOrder>
-<OrderId>10016</OrderId>
-<OrderDate>Wed May 29 12:45:00 PDT 2002</OrderDate>
-<ShippingAddress>
-<FirstName>ABC</FirstName>
-<LastName>XYZ</LastName>
-<Street>1234 Anywhere Street</Street>
-<City>Palo Alto</City>
-<State>California</State>
-<Country>USA</Country>
-<ZipCode>94303</ZipCode>
-<Email>NULL</Email>
-<Phone>NULL</Phone>
-</ShippingAddress>
-<LineItems>
-<LineItem categoryId="BIRDS" itemId="EST-18" lineNo="0" productId="AV-CB-01" quantity="1" unitPrice="193.5"/>
-</LineItems>
-</SupplierOrder>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug4892774.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,372 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.File;
-
-import javax.xml.transform.Source;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMResult;
-import javax.xml.transform.sax.SAXResult;
-import javax.xml.transform.stax.StAXResult;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.util.DOMUtil;
-import javax.xml.transform.util.SAXUtil;
-import javax.xml.transform.util.StAXUtil;
-import javax.xml.transform.util.StreamUtil;
-
-import org.testng.Assert;
-import org.testng.annotations.AfterMethod;
-import org.testng.annotations.BeforeMethod;
-import org.testng.annotations.Test;
-
-/*
- * @bug 4892774
- * @summary Test identity transformer with all possible types of Source and Result combinations for doucment version and encoding information.
- */
-
-public class Bug4892774 {
-
-    private final String XML_FILE = "catalog.xml";
-    private final String XML10_FILE = "catalog_10.xml"; // 1.0 version document
-    private final String TEMP_FILE = "tmp.xml";
-    private final String EXPECTED_VERSION = "1.1";
-    static private Transformer idTransform = null;
-
-    private static DOMUtil domUtil = null;
-    private static StreamUtil streamUtil = null;
-    private static SAXUtil saxUtil = null;
-    private static StAXUtil staxUtil = null;
-
-    @BeforeMethod
-    protected void setUp() {
-        File tmpFile = new File(TEMP_FILE);
-        if (tmpFile.exists())
-            tmpFile.delete();
-        try {
-
-            if (idTransform == null)
-                idTransform = getIdTransformer();
-            else
-                idTransform.reset();
-
-            initializeUtils();
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured during setUp(): " + e.getMessage());
-        }
-    }
-
-    @AfterMethod
-    protected void tearDown() {
-        File tmpFile = new File(TEMP_FILE);
-        if (tmpFile.exists())
-            tmpFile.delete();
-    }
-
-    private void initializeUtils() throws Exception {
-        if (domUtil == null)
-            domUtil = (DOMUtil) TransformerUtilFactory.getUtil(TransformerUtilFactory.DOM);
-        if (saxUtil == null)
-            saxUtil = (SAXUtil) TransformerUtilFactory.getUtil(TransformerUtilFactory.SAX);
-        if (streamUtil == null)
-            streamUtil = (StreamUtil) TransformerUtilFactory.getUtil(TransformerUtilFactory.STREAM);
-        if (staxUtil == null)
-            staxUtil = (StAXUtil) TransformerUtilFactory.getUtil(TransformerUtilFactory.StAX);
-    }
-
-    @Test
-    public void testDOM2DOM() {
-        try {
-            Source input = domUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
-            DOMResult domResult = (DOMResult) domUtil.prepareResult();
-            idTransform.transform(input, domResult);
-            domUtil.checkResult(domResult, EXPECTED_VERSION);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    private Transformer getIdTransformer() throws Exception {
-        return TransformerFactory.newInstance().newTransformer();
-    }
-
-    @Test
-    public void testDOM2Stream() {
-        try {
-
-            Source input = domUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
-            StreamResult strResult = (StreamResult) streamUtil.prepareResult();
-            idTransform.transform(input, strResult);
-            streamUtil.checkResult(strResult, EXPECTED_VERSION, "UTF-8");
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testDOM2SAX() {
-        try {
-            Source input = domUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
-            SAXResult saxResult = (SAXResult) saxUtil.prepareResult();
-            idTransform.transform(input, saxResult);
-            saxUtil.checkResult(saxResult, EXPECTED_VERSION, "UTF-8");
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testDOM2StAX() {
-        try {
-            Source input = domUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
-            StAXResult staxResult = (StAXResult) staxUtil.prepareResult();
-            idTransform.transform(input, staxResult);
-            staxUtil.checkResult(staxResult, EXPECTED_VERSION, "UTF-8");
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testDOM2StAXStream() {
-        try {
-            Source input = domUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
-            StAXResult staxResult = (StAXResult) staxUtil.prepareStreamResult();
-            idTransform.transform(input, staxResult);
-            staxUtil.checkStreamResult(staxResult, EXPECTED_VERSION);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testSAX2DOM() {
-        try {
-            Source input = saxUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
-            DOMResult domResult = (DOMResult) domUtil.prepareResult();
-            idTransform.transform(input, domResult);
-            domUtil.checkResult(domResult, EXPECTED_VERSION);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testSAX2SAX() {
-        try {
-            Source input = saxUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
-            SAXResult saxResult = (SAXResult) saxUtil.prepareResult();
-            idTransform.transform(input, saxResult);
-            saxUtil.checkResult(saxResult, EXPECTED_VERSION, "UTF-8");
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testSAX2Stream() {
-        try {
-            Source input = saxUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
-            StreamResult strResult = (StreamResult) streamUtil.prepareResult();
-            idTransform.transform(input, strResult);
-            streamUtil.checkResult(strResult, EXPECTED_VERSION, "UTF-8");
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testSAX2StAX() {
-        try {
-            Source input = saxUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
-            StAXResult staxResult = (StAXResult) staxUtil.prepareResult();
-            idTransform.transform(input, staxResult);
-            staxUtil.checkResult(staxResult, EXPECTED_VERSION, "UTF-8");
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testSAX2StAXStream() {
-        try {
-            Source input = saxUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
-            StAXResult staxResult = (StAXResult) staxUtil.prepareStreamResult();
-            idTransform.transform(input, staxResult);
-            staxUtil.checkStreamResult(staxResult, EXPECTED_VERSION);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testStream2DOM() {
-        try {
-            Source input = streamUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
-            DOMResult domResult = (DOMResult) domUtil.prepareResult();
-            idTransform.transform(input, domResult);
-            domUtil.checkResult(domResult, EXPECTED_VERSION);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testStream2Stream() {
-        try {
-            Source input = streamUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
-            StreamResult strResult = (StreamResult) streamUtil.prepareResult();
-            idTransform.transform(input, strResult);
-            streamUtil.checkResult(strResult, EXPECTED_VERSION, "UTF-8");
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testStream2Stax() {
-        try {
-            Source input = streamUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
-            StAXResult staxResult = (StAXResult) staxUtil.prepareResult();
-            idTransform.transform(input, staxResult);
-            staxUtil.checkResult(staxResult, EXPECTED_VERSION, "UTF-8");
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testStream2StaxStream() {
-        try {
-            Source input = streamUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
-            StAXResult staxResult = (StAXResult) staxUtil.prepareStreamResult();
-            idTransform.transform(input, staxResult);
-            staxUtil.checkStreamResult(staxResult, EXPECTED_VERSION);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testStream2SAX() {
-        try {
-            Source input = streamUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
-            SAXResult saxResult = (SAXResult) saxUtil.prepareResult();
-            idTransform.transform(input, saxResult);
-            saxUtil.checkResult(saxResult, EXPECTED_VERSION, "UTF-8");
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testStAX2DOM() {
-        try {
-            Source input = staxUtil.prepareStreamSource(this.getClass().getResourceAsStream(XML10_FILE));
-            DOMResult domResult = (DOMResult) domUtil.prepareResult();
-            idTransform.transform(input, domResult);
-            domUtil.checkResult(domResult, "1.0");
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testStAX2Stream() {
-        try {
-            Source input = staxUtil.prepareStreamSource(this.getClass().getResourceAsStream(XML10_FILE));
-            StreamResult strResult = (StreamResult) streamUtil.prepareResult();
-            idTransform.transform(input, strResult);
-            streamUtil.checkResult(strResult, "1.0", "UTF-8");
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testStAX2StAX() {
-        try {
-            Source input = staxUtil.prepareStreamSource(this.getClass().getResourceAsStream(XML10_FILE));
-            StAXResult staxResult = (StAXResult) staxUtil.prepareResult();
-            idTransform.transform(input, staxResult);
-            staxUtil.checkResult(staxResult, "1.0", "UTF-8");
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testStAXEvent2DOM() {
-        try {
-            Source input = staxUtil.prepareSource(this.getClass().getResourceAsStream(XML10_FILE));
-            DOMResult domResult = (DOMResult) domUtil.prepareResult();
-            idTransform.transform(input, domResult);
-            domUtil.checkResult(domResult, "1.0");
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testStAXEvent2Stream() {
-        try {
-            Source input = staxUtil.prepareSource(this.getClass().getResourceAsStream(XML10_FILE));
-            StreamResult strResult = (StreamResult) streamUtil.prepareResult();
-            idTransform.transform(input, strResult);
-            streamUtil.checkResult(strResult, "1.0", "UTF-8");
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug5073477.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.transform.dom.DOMResult;
-
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-
-/*
- * @bug 5073477
- * @summary Test DOMResult.setNextSibling works correctly.
- */
-public class Bug5073477 {
-
-    @Test
-    public void test1() throws Exception {
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        DocumentBuilder parser = dbf.newDocumentBuilder();
-        Document dom = parser.parse(Bug5073477.class.getResourceAsStream("Bug5073477.xml"));
-
-        DOMResult r = new DOMResult();
-
-        r.setNode(dom.getDocumentElement());
-        r.setNextSibling(r.getNode().getFirstChild());
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug5073477.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0"?>
-<root>
-  <f1/>
-  <f2/>
-  <f3/>
-</root>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6175602.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.File;
-
-import javax.xml.transform.Templates;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.annotations.Test;
-
-/*
- * @bug 6175602
- * @summary Test compilation of MsWordXMLImport.xsl.
- */
-public class Bug6175602 {
-
-    public Bug6175602() {
-    }
-
-    @Test
-    public void test926007_1() throws Exception {
-        TransformerFactory factory = TransformerFactory.newInstance();
-        File f = new File(getClass().getResource("MsWordXMLImport.xsl.data").getPath());
-        Templates t = factory.newTemplates(new StreamSource(f));
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6206491.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,130 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.StringWriter;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerConfigurationException;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-/*
- * @bug 6206491
- * @summary Test key searches over more than one document.
- */
-public class Bug6206491 {
-
-    private String getResource(String s) {
-        return getClass().getResource(s).toString();
-
-    }
-
-    @Test
-    public void test() {
-        try {
-            Document document = getNewXmlDoc(new File(getClass().getResource("Bug6206491.xml").getFile()));
-
-            xmlxsl2html(TransformerFactory.newInstance(), new File(getClass().getResource("Bug6206491.xsl").getFile()), document);
-        } catch (Exception ex) {
-            System.err.println(ex.getMessage());
-            ex.printStackTrace(System.err);
-            Assert.fail(ex.toString());
-        }
-    }
-
-    void xmlxsl2html(TransformerFactory tFactory, File xslFile, Document document) throws Exception {
-        try {
-            // tFactory.setAttribute("generate-translet", Boolean.TRUE);
-        } catch (Exception e) {
-            // Ignore
-        }
-
-        try {
-            StreamSource stylesource = new StreamSource(xslFile);
-            Transformer transformer = tFactory.newTransformer(stylesource);
-
-            transformer.clearParameters();
-
-            DOMSource source = new DOMSource(document);
-
-            StringWriter sw = new StringWriter();
-            StreamResult result = new StreamResult(sw);
-            transformer.transform(source, result);
-            String s = sw.toString();
-            Assert.assertFalse(s.contains("<must-be-one>0</must-be-one>"));
-        } catch (TransformerConfigurationException ex) {
-            throw ex;
-
-        } catch (TransformerException ex) {
-            throw ex;
-        }
-    }
-
-    Document getNewXmlDoc(File xmlFile) throws Exception {
-        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
-        factory.setNamespaceAware(true);
-        factory.setValidating(true);
-
-        try {
-            DocumentBuilder builder = factory.newDocumentBuilder();
-            builder.setErrorHandler(new org.xml.sax.helpers.DefaultHandler() {
-                public void fatalError(SAXParseException e) throws SAXParseException {
-                    throw e;
-                }
-
-                public void error(SAXParseException e) throws SAXParseException {
-                    throw e;
-                }
-
-                public void warning(SAXParseException e) throws SAXParseException {
-                    throw e;
-                }
-            });
-            return builder.parse(xmlFile);
-
-        } catch (SAXException ex) {
-            throw ex;
-        } catch (ParserConfigurationException ex) {
-            throw ex;
-        } catch (IOException ex) {
-            throw ex;
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6206491.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
-<!DOCTYPE organization [
-    <!ELEMENT organization (company*,ids)>
-    <!ELEMENT company (#PCDATA | department | equipment:instance)*>
-    <!ELEMENT ids (id*)>
-    <!ELEMENT id EMPTY>
-    <!ELEMENT department EMPTY>
-    <!ELEMENT equipment:instance EMPTY>
-
-    <!ATTLIST organization  id              ID  #IMPLIED
-                            xmlns:equipment CDATA  #FIXED "http://namespaces.tksoft.com/equipment/"
-    >
-    <!ATTLIST company   id                  ID  #REQUIRED
-                        count               CDATA  #REQUIRED
-    >
-    <!ATTLIST department    id              ID  #REQUIRED
-    >
-    <!ATTLIST equipment:instance    id          ID  #REQUIRED
-    >
-    <!ATTLIST id
-        value       IDREF   #REQUIRED
-    >
-]>
-<organization>
-    <company id="ca" count="2">
-        <department id="da"/>
-        <equipment:instance id="ea"/>
-        <equipment:instance id="eb"/>
-    </company>
-    <company id="cb" count="0"/>
-    <company id="cc" count="5"/>
-    <ids>
-        <id value="ca"/>
-        <id value="cb"/>
-    </ids>
-</organization>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6206491.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-    
-    <xsl:output method="xml" indent="yes"/>
-    
-    <xsl:variable name="ids" select="//ids//id"/>
-    <xsl:variable name="dummy" select="document('Bug6206491_2.xml')"/>
-    
-    <xsl:template match="/"> 
-        <test1><xsl:apply-templates select="$ids"/></test1>
-        <test2><xsl:apply-templates select="$dummy//ids/id"/></test2>
-    </xsl:template>
-    
-    <xsl:template match="id">
-        <xsl:variable name="entity" select="id(@value)"/> 
-        <must-be-one><xsl:value-of select="count($entity)"/></must-be-one>
-    </xsl:template>
-    
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6206491_2.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
-<!DOCTYPE organization2 [
-    <!ELEMENT organization2 (company*,ids)>
-    <!ELEMENT company (#PCDATA | department)*>
-    <!ELEMENT ids (id*)>
-    <!ELEMENT id EMPTY>
-    <!ELEMENT department EMPTY>
-    
-    <!ATTLIST organization  id              ID  #IMPLIED
-    >
-    <!ATTLIST company   id                  ID  #REQUIRED
-                        count               CDATA  #REQUIRED
-    >
-    <!ATTLIST department    id              ID  #REQUIRED
-    >
-    <!ATTLIST id
-        value       IDREF   #REQUIRED
-    >
-]>
-<organization2>
-    <company id="xca" count="2">
-        <department id="xda"/>
-    </company>
-    <company id="xcb" count="0"/>
-    <company id="xcc" count="5"/>
-    <ids>
-        <id value="xca"/>
-        <id value="xcb"/>
-    </ids>
-</organization2>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6216226Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.File;
-import java.io.StringReader;
-
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6216226
- * @summary Test StreamResult(File) is closed after transform().
- */
-public class Bug6216226Test {
-
-    @Test
-    public final void test() {
-        try {
-            File test = new File("bug6216226.txt");
-            TransformerFactory tf = TransformerFactory.newInstance();
-            Transformer xformer = tf.newTransformer();
-            StringReader st = new StringReader("<?xml version=\"1.0\" encoding=\"UTF-8\"?><doc></doc>");
-            StreamSource s = new StreamSource(st);
-            StreamResult r = new StreamResult(test);
-            xformer.transform(s, r);
-            if (!test.delete()) {
-                Assert.fail("cannot delete file: " + test.getPath());
-            }
-        } catch (Exception e) {
-            // unexpected failure
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6311448.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,81 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-
-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.stream.StreamResult;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-/*
- * @bug 6311448
- * @summary Test XML transformer can output Unicode surrorate pair.
- */
-public class Bug6311448 {
-
-    @Test
-    public void test01() {
-        try {
-            String attrKey = "key";
-            String attrValue = "\ud800\udc00"; // 17-bit code point in UTF-16
-
-            // Some obvious assertions for documentation purposes
-            Assert.assertTrue(Character.isSurrogatePair('\ud800', '\udc00'));
-            Assert.assertTrue(Character.toCodePoint('\ud800', '\udc00') == 65536);
-            Assert.assertTrue(Character.charCount(Character.toCodePoint('\ud800', '\udc00')) == 2);
-
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            Transformer t = TransformerFactory.newInstance().newTransformer();
-
-            // Create a DOM with 'attrValue' in it
-            Document doc = dbf.newDocumentBuilder().getDOMImplementation().createDocument(null, null, null);
-            Element xmlRoot = doc.createElement("root");
-            xmlRoot.setAttribute(attrKey, attrValue);
-            doc.appendChild(xmlRoot);
-
-            // Serialize DOM into a byte array
-            ByteArrayOutputStream baos = new ByteArrayOutputStream();
-            t.setOutputProperty("encoding", "utf-8");
-            t.transform(new DOMSource(doc), new StreamResult(baos));
-
-            // Re-parse byte array back into a DOM
-            ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
-            doc = dbf.newDocumentBuilder().parse(bais);
-            String newValue = doc.getDocumentElement().getAttribute(attrKey);
-            Assert.assertTrue(newValue.charAt(0) == '\ud800' && newValue.charAt(1) == '\udc00');
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6384805.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,90 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.util.Iterator;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.xpath.XPath;
-import javax.xml.xpath.XPathConstants;
-import javax.xml.xpath.XPathFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6384805
- * @summary Test XSLTC can parse XML namespace when nodeset is created within a template.
- */
-public class Bug6384805 {
-
-    @Test
-    public void test0() {
-        try {
-            TransformerFactory tf = TransformerFactory.newInstance();
-
-            try {
-                // tf.setAttribute("generate-translet", Boolean.TRUE);
-            } catch (IllegalArgumentException e) {
-                // ignore
-            }
-
-            Transformer t = tf.newTransformer(new StreamSource(getClass().getResourceAsStream("tigertest.xsl"), getClass().getResource("tigertest.xsl")
-                    .toString()));
-
-            StreamSource src = new StreamSource(getClass().getResourceAsStream("tigertest-in.xml"));
-            DOMResult res = new DOMResult();
-            t.transform(src, res);
-
-            // Verify output of transformation
-            XPath query = XPathFactory.newInstance().newXPath();
-
-            query.setNamespaceContext(new NamespaceContext() {
-                public String getNamespaceURI(String prefix) {
-                    return prefix.equals("style") ? "http://openoffice.org/2000/style" : prefix.equals("office") ? "http://openoffice.org/2000/office" : null;
-                }
-
-                public String getPrefix(String namespaceURI) {
-                    return null;
-                }
-
-                public Iterator getPrefixes(String namespaceURI) {
-                    return null;
-                }
-            });
-
-            // Find the value of the style:family attribute
-            Object o1 = query.evaluate("/test/office:document/office:styles/style:default-style/@style:family", res.getNode(), XPathConstants.STRING);
-
-            Assert.assertTrue(o1.equals("graphics"));
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6465722.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.StringReader;
-import java.io.StringWriter;
-
-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.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-
-/*
- * @bug 6465722
- * @summary Test Transformer can transform the node attribute prefixed with a namespace.
- */
-public class Bug6465722 {
-
-    public Bug6465722(String name) {
-    }
-
-    private static final String IDENTITY_XSLT = "<xsl:stylesheet version='1.0' " + "xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>"
-            + "<xsl:template match='@*|node()'>" + "<xsl:copy>" + "<xsl:apply-templates select='@*|node()'/>" + "</xsl:copy>" + "</xsl:template>"
-            + "</xsl:stylesheet>";
-
-    @Test
-    public void test() {
-        try {
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            dbf.setNamespaceAware(true);
-            Document d = dbf.newDocumentBuilder().getDOMImplementation().createDocument(null, "r", null);
-            d.getDocumentElement().setAttributeNS("http://nowhere.net/", "id", "1");
-
-            Transformer t = TransformerFactory.newInstance().newTransformer(new StreamSource(new StringReader(IDENTITY_XSLT)));
-            t.transform(new DOMSource(d), new StreamResult(new StringWriter()));
-        } catch (Throwable ex) {
-            Assert.fail("Exception: " + ex.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6467808.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,72 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.StringReader;
-
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6467808
- * @summary Test Transformer can parse re-declare prefixed namespace mappings.
- */
-public class Bug6467808 {
-
-    private static final String TESTXML = "<?xml version='1.0' ?>\n"
-            + "<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:ns1='http://faulttestservice.org/wsdl'>\n"
-            + "<soapenv:Body>\n" + "<soapenv:Fault xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'>\n" + "<faultcode>\n"
-            + "soapenv:Server</faultcode>\n" + "<faultstring>\n" + "com.sun.ts.tests.jaxws.sharedwebservices.faultservice.DummyException</faultstring>\n"
-            + "<detail>\n" + "<ns1:DummyException>\n" + "<dummyField1>\n" + "dummyString1</dummyField1>\n" + "<dummyField2>\n" + "dummyString2</dummyField2>\n"
-            + "</ns1:DummyException>\n" + "</detail>\n" + "</soapenv:Fault>\n" + "</soapenv:Body>\n" + "</soapenv:Envelope>\n";
-
-    // simplest XML to re-declare same prefix/namespace mappings
-    private static final String SIMPLE_TESTXML = "<?xml version='1.0' ?>\n" + "<prefix:ElementName xmlns:prefix='URI'>\n"
-            + "<prefix:ElementName xmlns:prefix='URI'>\n" + "</prefix:ElementName>\n" + "</prefix:ElementName>\n";
-
-    @Test
-    public void test() {
-        try {
-            SAXParserFactory fac = SAXParserFactory.newInstance();
-            fac.setNamespaceAware(true);
-            SAXParser saxParser = fac.newSAXParser();
-
-            StreamSource src = new StreamSource(new StringReader(SIMPLE_TESTXML));
-            Transformer transformer = TransformerFactory.newInstance().newTransformer();
-            DOMResult result = new DOMResult();
-            transformer.transform(src, result);
-        } catch (Throwable ex) {
-            // unexpected failure
-            ex.printStackTrace();
-            Assert.fail(ex.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6490380.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.StringWriter;
-import java.net.URL;
-
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6490380
- * @summary Test only a single DOCTYPE declaration is generated through transforming.
- */
-public class Bug6490380 {
-
-    @Test
-    public void test() {
-        try {
-            Transformer transformer = TransformerFactory.newInstance().newTransformer();
-            URL input = Bug6490380.class.getResource("Bug4693341.xml");
-            StreamSource source = new StreamSource(input.openStream(), input.toString());
-            StringWriter sw = new StringWriter();
-            transformer.transform(source, new StreamResult(sw));
-            String s = sw.toString();
-            Assert.assertEquals(s.indexOf("!DOCTYPE"), s.lastIndexOf("!DOCTYPE"));
-        } catch (Exception ex) {
-            Assert.fail(ex.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6490921.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,139 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.IOException;
-import java.io.StringReader;
-import java.io.StringWriter;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.sax.SAXSource;
-import javax.xml.transform.sax.SAXTransformerFactory;
-import javax.xml.transform.stream.StreamResult;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.helpers.XMLFilterImpl;
-
-/*
- * @bug 6490921
- * @summary Test property org.xml.sax.driver is always applied in transformer API.
- */
-public class Bug6490921 {
-
-    public static class ReaderStub extends XMLFilterImpl {
-        static boolean used = false;
-
-        public ReaderStub() throws ParserConfigurationException, SAXException {
-            super();
-            super.setParent(SAXParserFactory.newInstance().newSAXParser().getXMLReader());
-        }
-
-        public void parse(InputSource input) throws SAXException, IOException {
-            used = true;
-            super.parse(input);
-        }
-
-        public void parse(String systemId) throws SAXException, IOException {
-            used = true;
-            super.parse(systemId);
-        }
-    }
-
-    @Test
-    public void test01() {
-        String xml = "<?xml version='1.0'?><root/>";
-        ReaderStub.used = false;
-        System.setProperty("org.xml.sax.driver", "");
-
-        // Don't set 'org.xml.sax.driver' here, just use default
-        try {
-            TransformerFactory transFactory = TransformerFactory.newInstance();
-            Transformer transformer = transFactory.newTransformer();
-            InputSource in = new InputSource(new StringReader(xml));
-            SAXSource source = new SAXSource(in);
-            StreamResult result = new StreamResult(new StringWriter());
-            transformer.transform(source, result);
-            Assert.assertTrue(!printWasReaderStubCreated());
-        } catch (Exception ex) {
-            Assert.fail(ex.getMessage());
-        }
-    }
-
-    @Test
-    public void test02() {
-        String xml = "<?xml version='1.0'?><root/>";
-        ReaderStub.used = false;
-        System.setProperty("org.xml.sax.driver", ReaderStub.class.getName());
-        try {
-            TransformerFactory transFactory = TransformerFactory.newInstance();
-            Transformer transformer = transFactory.newTransformer();
-            InputSource in = new InputSource(new StringReader(xml));
-            SAXSource source = new SAXSource(in);
-            StreamResult result = new StreamResult(new StringWriter());
-            transformer.transform(source, result);
-            Assert.assertTrue(printWasReaderStubCreated());
-        } catch (Exception ex) {
-            Assert.fail(ex.getMessage());
-        }
-    }
-
-    @Test
-    public void test03() {
-        String xsl = "<?xml version='1.0'?>\n" + "<xsl:stylesheet" + " xmlns:xsl='http://www.w3.org/1999/XSL/Transform'" + " version='1.0'>\n"
-                + "   <xsl:template match='/'>Hello World!</xsl:template>\n" + "</xsl:stylesheet>\n";
-
-        ReaderStub.used = false;
-        System.setProperty("org.xml.sax.driver", ReaderStub.class.getName());
-        try {
-            TransformerFactory transFactory = TransformerFactory.newInstance();
-            if (transFactory.getFeature(SAXTransformerFactory.FEATURE) == false) {
-                System.out.println("SAXTransformerFactory not supported");
-            }
-            InputSource in = new InputSource(new StringReader(xsl));
-            SAXSource source = new SAXSource(in);
-
-            transFactory.newTransformer(source);
-            Assert.assertTrue(printWasReaderStubCreated());
-        } catch (TransformerException e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    private static boolean printWasReaderStubCreated() {
-        if (ReaderStub.used) {
-            System.out.println("\tReaderStub is used.");
-            return ReaderStub.used;
-        } else {
-            System.out.println("\tReaderStub is not used.");
-            return ReaderStub.used;
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6505031.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,94 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.StringWriter;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6505031
- * @summary Test transformer parses keys and their values coming from different xml documents.
- */
-public class Bug6505031 {
-
-    private String getResource(String s) {
-        return getClass().getResource(s).toString();
-
-    }
-
-    @Test
-    public void test() {
-        Map params = new HashMap();
-
-        params.put("config", getResource("config.xml"));
-        params.put("mapsFile", getResource("maps.xml"));
-        generate(getResource("template.xml"), getResource("transform.xsl"), params);
-    }
-
-    private void generate(String in, String xsl, Map params) {
-        try {
-            Transformer transformer = getTransformer(xsl);
-
-            for (Iterator i = params.entrySet().iterator(); i.hasNext();) {
-                Map.Entry entry = (Map.Entry) i.next();
-
-                transformer.setParameter((String) entry.getKey(), entry.getValue());
-            }
-            transform(in, transformer);
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    private Transformer getTransformer(String transform) throws Exception {
-        TransformerFactory tfactory = TransformerFactory.newInstance();
-
-        try {
-            // tfactory.setAttribute("generate-translet", Boolean.TRUE);
-        } catch (Exception e) {
-            // Ignore
-        }
-
-        Transformer transformer = tfactory.newTransformer(new StreamSource(transform));
-        return (transformer);
-    }
-
-    private void transform(String in, Transformer transformer) throws Exception {
-        StringWriter sw = new StringWriter();
-        transformer.transform(new StreamSource(in), new StreamResult(sw));
-        String s = sw.toString();
-        Assert.assertTrue(s.contains("map1key1value") && s.contains("map2key1value"));
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6513892.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.File;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.BeforeClass;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-
-/*
- * @bug 6513892
- * @summary Test the output encoding of the transform is the same as that of the redirect extension.
- */
-public class Bug6513892 {
-    @BeforeClass
-    public void setup(){
-        if (System.getSecurityManager() != null)
-            System.setSecurityManager(null);
-    }
-
-    @Test
-    public void test0() {
-        try {
-            TransformerFactory tf = TransformerFactory.newInstance();
-            Transformer t = tf.newTransformer(new StreamSource(getClass().getResourceAsStream("redirect.xsl"), getClass().getResource("redirect.xsl")
-                    .toString()));
-
-            StreamSource src1 = new StreamSource(getClass().getResourceAsStream("redirect.xml"));
-            t.transform(src1, new StreamResult("redirect1.xml"));
-
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            DocumentBuilder db = dbf.newDocumentBuilder();
-
-            Document d1 = db.parse(new File("redirect1.xml"));
-            Document d2 = db.parse(new File("redirect2.xml"));
-
-            Assert.assertTrue(d1.getDocumentElement().getFirstChild().getNodeValue().equals(d2.getDocumentElement().getFirstChild().getNodeValue()));
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6537167.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,81 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.File;
-
-import javax.xml.transform.OutputKeys;
-import javax.xml.transform.Templates;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.annotations.Test;
-
-/*
- * @bug 6537167
- * @summary Test transforming for particular xsl files.
- */
-public class Bug6537167 {
-
-    @Test
-    public void test926007_1() throws Exception {
-        TransformerFactory factory = TransformerFactory.newInstance();
-        File f = new File(getClass().getResource("logon.xsl").getPath());
-        Templates t = factory.newTemplates(new StreamSource(f));
-        Transformer transformer = t.newTransformer();
-        transformer.setOutputProperty(OutputKeys.INDENT, "yes");
-        transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
-
-        transformer.transform(new StreamSource(getClass().getResourceAsStream("src.xml")), new StreamResult(System.out));
-    }
-
-    @Test
-    public void test926007_2() throws Exception {
-        TransformerFactory factory = TransformerFactory.newInstance();
-        // factory.setAttribute("generate-translet", Boolean.TRUE);
-        File f = new File(getClass().getResource("home.xsl").getPath());
-        Templates t = factory.newTemplates(new StreamSource(f));
-        Transformer transformer = t.newTransformer();
-        transformer.setOutputProperty(OutputKeys.INDENT, "yes");
-        transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
-
-        transformer.transform(new StreamSource(getClass().getResourceAsStream("src.xml")), new StreamResult(System.out));
-    }
-
-    @Test
-    public void test926007_3() throws Exception {
-        TransformerFactory factory = TransformerFactory.newInstance();
-        // factory.setAttribute("generate-translet", Boolean.TRUE);
-        File f = new File(getClass().getResource("upload-media.xsl").getPath());
-        Templates t = factory.newTemplates(new StreamSource(f));
-        Transformer transformer = t.newTransformer();
-        transformer.setOutputProperty(OutputKeys.INDENT, "yes");
-        transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
-
-        transformer.transform(new StreamSource(getClass().getResourceAsStream("src.xml")), new StreamResult(System.out));
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6540545.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.StringWriter;
-
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6540545
- * @summary Test XSLT as expected.
- */
-public class Bug6540545 {
-
-    @Test
-    public void test() {
-        try {
-            String xmlFile = "numbering63.xml";
-            String xslFile = "numbering63.xsl";
-
-            TransformerFactory tFactory = TransformerFactory.newInstance();
-            // tFactory.setAttribute("generate-translet", Boolean.TRUE);
-            Transformer t = tFactory.newTransformer(new StreamSource(getClass().getResourceAsStream(xslFile), getClass().getResource(xslFile).toString()));
-            StringWriter sw = new StringWriter();
-            t.transform(new StreamSource(getClass().getResourceAsStream(xmlFile)), new StreamResult(sw));
-            String s = sw.getBuffer().toString();
-            Assert.assertFalse(s.contains("1: Level A"));
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6559595.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.StringReader;
-import java.io.StringWriter;
-
-import javax.xml.transform.OutputKeys;
-import javax.xml.transform.Result;
-import javax.xml.transform.Source;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6559595
- * @summary Test ampersand in href attribute is not handled specially even if output is set to HTML.
- */
-public class Bug6559595 {
-
-    @Test
-    public void test() {
-        try {
-            String xml = "<html><body><a href='http://example.com/bla?x&amp;y'>" + "</a></body></html>";
-
-            Source src = new StreamSource(new StringReader(xml));
-            StringWriter stringWriter = new StringWriter();
-            Result res = new StreamResult(stringWriter);
-            TransformerFactory tf = TransformerFactory.newInstance();
-            Transformer t = tf.newTransformer();
-            t.setOutputProperty(OutputKeys.METHOD, "html");
-            t.transform(src, res);
-
-            // System.out.println("s = " + stringWriter.toString());
-            Assert.assertTrue(stringWriter.toString().contains("&amp;"));
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6565260.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.StringWriter;
-
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6565260
- * @summary Test use-attribute-sets attribute is not used for the root node.
- */
-public class Bug6565260 {
-
-    @Test
-    public void test() {
-        try {
-            String xmlFile = "attribset27.xml";
-            String xslFile = "attribset27.xsl";
-
-            TransformerFactory tFactory = TransformerFactory.newInstance();
-            // tFactory.setAttribute("generate-translet", Boolean.TRUE);
-            Transformer t = tFactory.newTransformer(new StreamSource(getClass().getResourceAsStream(xslFile)));
-            StringWriter sw = new StringWriter();
-            t.transform(new StreamSource(getClass().getResourceAsStream(xmlFile)), new StreamResult(sw));
-            String s = sw.getBuffer().toString();
-            Assert.assertFalse(s.contains("color") || s.contains("font-size"));
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Bug6940416.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,111 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.StringWriter;
-
-import javax.xml.transform.Result;
-import javax.xml.transform.Source;
-import javax.xml.transform.SourceLocator;
-import javax.xml.transform.Templates;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerConfigurationException;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6940416
- * @summary Test transforming correctly.
- */
-public class Bug6940416 {
-
-    @Test
-    public void test() {
-        String xslFilename = getClass().getResource("ViewEditor1.xsl").getFile();
-        String inFilename = getClass().getResource("in.xml").getFile();
-        // String outFilename =
-        // getClass().getResource("out-6u17.xml").getFile();
-        // the xml result
-        StringWriter xmlResultString = new StringWriter();
-        try {
-            // Create transformer factory
-            TransformerFactory factory = TransformerFactory.newInstance();
-            factory.setAttribute("debug", true);
-            // Use the factory to create a template containing the xsl file
-            Templates template = factory.newTemplates(new StreamSource(new FileInputStream(xslFilename)));
-            // Use the template to create a transformer
-            Transformer xformer = template.newTransformer();
-            // Prepare the input and output files
-            Source source = new StreamSource(new FileInputStream(inFilename));
-            // Result result = new StreamResult(new
-            // FileOutputStream(outFilename));
-            Result result = new StreamResult(xmlResultString);
-            // Apply the xsl file to the source file and write the result to the
-            // output file
-            xformer.transform(source, result);
-
-            // 6u17 results contain the following:
-            /**
-             * var g_strInitialTabID = "VIEWEDITOR_TAB_FIELDS";
-             *
-             * var g_strCurrentDataEditorTabID = "DATA_OBJECTS"; var
-             * g_strCurrentPropertyEditorTabID = "VIEWEDITOR_TAB_GENERAL";
-             *
-             * while 6u18: var g_strInitialTabID = "";
-             *
-             * var g_strCurrentDataEditorTabID = ""; var
-             * g_strCurrentPropertyEditorTabID = "VIEWEDITOR_TAB_GENERAL";
-             */
-            System.out.println(xmlResultString.toString());
-            if (xmlResultString.toString().indexOf("VIEWEDITOR_TAB_FIELDS") == -1) {
-                Assert.fail("regression from 6u17");
-            }
-        } catch (FileNotFoundException e) {
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        } catch (TransformerConfigurationException e) {
-            // An error occurred in the XSL file
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        } catch (TransformerException e) {
-            e.printStackTrace();
-            // An error occurred while applying the XSL file
-            // Get location of error in input file
-            SourceLocator locator = e.getLocator();
-            int col = locator.getColumnNumber();
-            int line = locator.getLineNumber();
-            String publicId = locator.getPublicId();
-            String systemId = locator.getSystemId();
-            Assert.fail("error while applying the XSL file." + "systemId : " + systemId + ". publicId : " + publicId + ". col : " + col + ". line : " + line);
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/BugDB12665704.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<survey><ratingfactor><q1>1 </q1><q02>1 </q02><q03>0 </q03><q04>0 </q04><q05>0 </q05><q06>0 </q06><q07>0 </q07><q08>0 </q08><q09>0 </q09><q10>0 </q10><q11>0 </q11><q12>0 </q12><q13>0 </q13><q14>0 </q14><q15>0 </q15><q16>0 </q16><q17>0 </q17><q18>0 </q18><q19>0 </q19><q20>0 </q20><q21>0 </q21><q22>0 </q22><q23>0 </q23><q24>0 </q24><q25_biproposal>0 </q25_biproposal><q26>0 </q26><q27>0 </q27><id_4dd20c2384ef12e0e10080000ab5dd78>0 </id_4dd20c2384ef12e0e10080000ab5dd78><id_4dd111b255800ff0e10080000ab5dd78>0 </id_4dd111b255800ff0e10080000ab5dd78><id_4dd1111d55800ff0e10080000ab5dd78>0 </id_4dd1111d55800ff0e10080000ab5dd78><id_4dd20b5c84ef12e0e10080000ab5dd78>0 </id_4dd20b5c84ef12e0e10080000ab5dd78><q28>0 </q28></ratingfactor><rating><q1><a01_bimos rating="1 ">init_01_InitialDummy</a01_bimos><a01_bimos rating="1 ">MOS</a01_bimos><a01_bimos rating="1 ">MES</a01_bimos><a01_bimos rating="1 ">NN</a01_bimos></q1><q02><a02 rating="1 ">init_02_InitialDummy</a02><a02 rating="1 ">X</a02><a02 rating="1 ">id_4dd1acc6337e11d0e10080000ab5dd78</a02></q02><q03><a03 rating="0 ">init_03_InitialDummy</a03><a03 rating="0 ">id_4dd1ad48337e11d0e10080000ab5dd78</a03><a03 rating="0 ">id_4dd1ad8a337e11d0e10080000ab5dd78</a03><a03 rating="0 ">id_4dd1add2337e11d0e10080000ab5dd78</a03><a03 rating="0 ">id_4dd1ae1a337e11d0e10080000ab5dd78</a03></q03><q04><a04 rating="0 ">init_04_InitialDummy</a04><a04 rating="0 ">id_4dd1af06337e11d0e10080000ab5dd78</a04><a04 rating="0 ">id_4dd1af58337e11d0e10080000ab5dd78</a04></q04><q05><a05 rating="0 ">init_05_InitialDummy</a05><a05 rating="0 ">id_4dd1b05d337e11d0e10080000ab5dd78</a05><a05 rating="0 ">id_4dd1b0b9337e11d0e10080000ab5dd78</a05></q05><q06><a06 rating="0 ">init_06_InitialDummy</a06><a06 rating="0 ">id_4dd1b1da337e11d0e10080000ab5dd78</a06><a06 rating="0 ">id_4dd1b240337e11d0e10080000ab5dd78</a06></q06><q07><a07 rating="0 ">init_07_InitialDummy</a07><a07 rating="0 ">id_4dd1b320337e11d0e10080000ab5dd78</a07><a07 rating="0 ">id_4dd1b390337e11d0e10080000ab5dd78</a07></q07><q08><a08 rating="0 "/></q08><q09><a09 rating="0 ">init_09_InitialDummy</a09><a09 rating="0 ">id_4dd225b0770407c0e10080000ab5dd78</a09><a09 rating="0 ">id_4dd2262e770407c0e10080000ab5dd78</a09><a09 rating="0 ">id_4dd226af770407c0e10080000ab5dd78</a09></q09><q10><a10 rating="0 ">init_10_InitialDummy</a10><a10 rating="0 ">id_4dd2280f770407c0e10080000ab5dd78</a10><a10 rating="0 ">id_4dd20ac184ef12e0e10080000ab5dd78</a10></q10><q11><a11 rating="0 ">init_11_InitialDummy</a11><a11 rating="0 ">id_4dd2240285141030e10080000ab5dd78</a11><a11 rating="0 ">id_4dd2250885141030e10080000ab5dd78</a11></q11><q12><a12 rating="0 ">init_12_InitialDummy</a12><a12 rating="0 ">id_4dd2271585141030e10080000ab5dd78</a12><a12 rating="0 ">id_4dd2281485141030e10080000ab5dd78</a12></q12><q13><a13_matnr rating="0 "/><a13_matdesc rating="0 "/></q13><q14><a14 rating="0 ">init_14_InitialDummy</a14><a14 rating="0 ">id_4dd22d8585141030e10080000ab5dd78</a14><a14 rating="0 ">id_4dd22e9685141030e10080000ab5dd78</a14></q14><q15><a15 rating="0 ">init_15_InitialDummy</a15><a15 rating="0 ">id_4dd231ea85141030e10080000ab5dd78</a15><a15 rating="0 ">id_4dd2331685141030e10080000ab5dd78</a15></q15><q16><a16 rating="0 ">init_16_InitialDummy</a16><a16 rating="0 ">id_4dd2367685141030e10080000ab5dd78</a16><a16 rating="0 ">id_4dd2379b85141030e10080000ab5dd78</a16></q16><q17><a17 rating="0 ">init_17_InitialDummy</a17><a17 rating="0 ">id_4dd23b1f85141030e10080000ab5dd78</a17><a17 rating="0 ">id_4dd23c5f85141030e10080000ab5dd78</a17></q17><q18><a18 rating="0 ">init_18_InitialDummy</a18><a18 rating="0 ">id_4dd20e5685071800e10080000ab5dd78</a18><a18 rating="0 ">id_4dd20f8f85071800e10080000ab5dd78</a18></q18><q19><a19 rating="0 ">init_19_InitialDummy</a19><a19 rating="0 ">id_4dd2134985071800e10080000ab5dd78</a19><a19 rating="0 ">id_4dd2148c85071800e10080000ab5dd78</a19><a19 rating="0 ">id_4dd215d285071800e10080000ab5dd78</a19><a19 rating="0 ">id_4dd2172285071800e10080000ab5dd78</a19><a19 rating="0 ">id_4dd2186e85071800e10080000ab5dd78</a19></q19><q20><a20 rating="0 ">init_20_InitialDummy</a20><a20 rating="0 ">id_4dd21c6385071800e10080000ab5dd78</a20><a20 rating="0 ">id_4dd21db985071800e10080000ab5dd78</a20><a20 rating="0 ">id_4dd21f1285071800e10080000ab5dd78</a20><a20 rating="0 ">id_4dd2206e85071800e10080000ab5dd78</a20><a20 rating="0 ">id_4dd221cd85071800e10080000ab5dd78</a20><a20 rating="0 ">id_4dd2232f85071800e10080000ab5dd78</a20><a20 rating="0 ">id_4dd2249485071800e10080000ab5dd78</a20></q20><q21><a21 rating="0 ">init_21_InitialDummy</a21><a21 rating="0 ">id_4dd228d085071800e10080000ab5dd78</a21><a21 rating="0 ">id_4dd22a3f85071800e10080000ab5dd78</a21><a21 rating="0 ">id_4dd22bb185071800e10080000ab5dd78</a21></q21><q22><a22 rating="0 "/></q22><q23><a23 rating="0 "/></q23><q24><a24 rating="0 "/></q24><q25_biproposal><a25_biproposal_matnr rating="0 "/><a25_biproposal_matdesc rating="0 "/></q25_biproposal><q26><a26 rating="0 "/></q26><q27><a27 rating="0 "/></q27><id_4dd20c2384ef12e0e10080000ab5dd78><a30_biprodext rating="0 ">id_4dd209ce85141030e10080000ab5dd78</a30_biprodext><a30_biprodext rating="0 ">CUSTOMER_WISH</a30_biprodext><a30_biprodext rating="0 ">DEALER_WISH</a30_biprodext></id_4dd20c2384ef12e0e10080000ab5dd78><id_4dd111b255800ff0e10080000ab5dd78><id_4dd210d485141030e10080000ab5dd78 rating="0 "/></id_4dd111b255800ff0e10080000ab5dd78><id_4dd1111d55800ff0e10080000ab5dd78><a31_bimosdealer rating="0 ">id_4dd20ced85141030e10080000ab5dd78</a31_bimosdealer><a31_bimosdealer rating="0 ">Y</a31_bimosdealer><a31_bimosdealer rating="0 ">N</a31_bimosdealer></id_4dd1111d55800ff0e10080000ab5dd78><id_4dd20b5c84ef12e0e10080000ab5dd78><a29_birefund rating="0 ">id_4dd112db55800ff0e10080000ab5dd78</a29_birefund><a29_birefund rating="0 ">Y</a29_birefund><a29_birefund rating="0 ">N</a29_birefund><a29_birefundreason rating="0 ">id_4dd114c155800ff0e10080000ab5dd78</a29_birefundreason><a29_birefundreason rating="0 ">TEL_CUSTOMER</a29_birefundreason><a29_birefundreason rating="0 ">TEL_DEALER</a29_birefundreason><a29_birefundreason rating="0 ">TECHNICIAN</a29_birefundreason><a29_birefundreason rating="0 ">ORDER</a29_birefundreason></id_4dd20b5c84ef12e0e10080000ab5dd78><q28><a28 rating="0 "/></q28></rating><result><q1><a01_bimos>init_01_InitialDummy</a01_bimos></q1><q02><a02>init_02_InitialDummy</a02></q02><q03><a03>init_03_InitialDummy</a03></q03><q04><a04>init_04_InitialDummy</a04></q04><q05><a05>init_05_InitialDummy</a05></q05><q06><a06>init_06_InitialDummy</a06></q06><q07><a07>init_07_InitialDummy</a07></q07><q08><a08/></q08><q09><a09>init_09_InitialDummy</a09></q09><q10><a10>init_10_InitialDummy</a10></q10><q11><a11>init_11_InitialDummy</a11></q11><q12><a12>init_12_InitialDummy</a12></q12><q13><a13_matnr/><a13_matdesc/></q13><q14><a14>init_14_InitialDummy</a14></q14><q15><a15>init_15_InitialDummy</a15></q15><q16><a16>init_16_InitialDummy</a16></q16><q17><a17>init_17_InitialDummy</a17></q17><q18><a18>init_18_InitialDummy</a18></q18><q19><a19>init_19_InitialDummy</a19></q19><q20><a20>init_20_InitialDummy</a20></q20><q21><a21>init_21_InitialDummy</a21></q21><q22><a22/></q22><q23><a23/></q23><q24><a24/></q24><q25_biproposal><a25_biproposal_matnr/><a25_biproposal_matdesc/></q25_biproposal><q26><a26/></q26><q27><a27/></q27><id_4dd20c2384ef12e0e10080000ab5dd78><a30_biprodext>id_4dd209ce85141030e10080000ab5dd78</a30_biprodext></id_4dd20c2384ef12e0e10080000ab5dd78><id_4dd111b255800ff0e10080000ab5dd78><id_4dd210d485141030e10080000ab5dd78/></id_4dd111b255800ff0e10080000ab5dd78><id_4dd1111d55800ff0e10080000ab5dd78><a31_bimosdealer>id_4dd20ced85141030e10080000ab5dd78</a31_bimosdealer></id_4dd1111d55800ff0e10080000ab5dd78><id_4dd20b5c84ef12e0e10080000ab5dd78><a29_birefund>id_4dd112db55800ff0e10080000ab5dd78</a29_birefund><a29_birefundreason>id_4dd114c155800ff0e10080000ab5dd78</a29_birefundreason></id_4dd20b5c84ef12e0e10080000ab5dd78><q28><a28/></q28></result><mandatory><q08><a08/></q08></mandatory></survey>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/BugDB12665704.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wff="http://www.mysap.com/wff/2001" version="1.0" exclude-result-prefixes="wff">
-    <xsl:output encoding="UTF-8" indent="yes" method="html" version="4.01" doctype-system="http://www.w3.org/TR/html4/loose.dtd" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
-    <xsl:template match="/">
-        <html>
-            <xsl:variable name="enterValidDate">Bitte geben Sie ein gültiges Datum ein!</xsl:variable>
-            <xsl:variable name="enterValidNumber">Bitte geben Sie eine Zahl ein!</xsl:variable>
-            <xsl:variable name="enterValidTime">Bitte geben Sie eine gültige Uhrzeit ein!</xsl:variable>
-            <xsl:variable name="enterMandatoryField">Bitte machen Sie Eingaben in alle Mussfelder!</xsl:variable>
-            <xsl:variable name="C_Mode" select="//processing/@Mode"/>
-            <head><title/><meta name="save" content="snapshot"/><style type="text/css"></style>
-                <xsl:for-each select="//script/*">
-                    <xsl:element name="script">
-                        <xsl:attribute name="language">
-                            <xsl:apply-templates select="@language"/>
-                        </xsl:attribute>
-                        <xsl:text>&#xD;&lt;!--&#xD;</xsl:text>
-                            <xsl:apply-templates select="."/>
-                            <xsl:text>&#xD;//--&gt;</xsl:text>
-                    </xsl:element>
-                </xsl:for-each>
-            </head>
-            <body><xsl:for-each select="//onEvent/html/body/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><xsl:if test="count(/wff:envelope/wff:header/wff:message) > 0"><div class="Message"><xsl:value-of select="/wff:envelope/wff:header/wff:message"/></div></xsl:if><xsl:for-each select="/wff:envelope/wff:messages/wff:message/wff:text"><div class="Message"><xsl:value-of select="."/></div></xsl:for-each><xsl:for-each select="//message"><div class="Message"><xsl:variable name="source"><xsl:value-of select="//message/text()"/></xsl:variable><xsl:call-template name="getLineBreak"><xsl:with-param name="source" select="$source"/></xsl:call-template></div></xsl:for-each><div class="Title"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Geräteaustauschanforderung (GAF)'"/></xsl:call-template></div><form class="saveSnapshot" id="SAPSurvey" onSubmit="return check(this)" method="post"><xsl:if test="count(/wff:envelope/wff:header/wff:server_url) > 0"><xsl:attribute name="action"><xsl:value-of select="/wff:envelope/wff:header/wff:server_url"/></xsl:attribute></xsl:if><xsl:if test="count(/wff:envelope/wff:header/wff:server_url) = 0"><xsl:attribute name="action">SAPEVENT:WFF_EVENT</xsl:attribute><xsl:attribute name="enctype"/></xsl:if><xsl:if test="count(//survey/systemparamlocation) > 0"><xsl:variable name="X1" select="document(//survey/systemparamlocation[1])"/><xsl:attribute name="method"><xsl:value-of select="$X1/SurveySystemParam/@Method"/></xsl:attribute><xsl:attribute name="action"><xsl:value-of select="$X1/SurveySystemParam/@Action"/></xsl:attribute><xsl:attribute name="enctype"><xsl:value-of select="$X1/SurveySystemParam/@Enctype"/></xsl:attribute></xsl:if><xsl:for-each select="//onEvent/html/form/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><input type="hidden" name="svyApplicationId" value="CRM_SURVEY_SERVICE"/><input type="hidden" name="SurveyId" value="Z002_AER_AWASCHAUTOMAT"/><input type="hidden" name="svySurveyId" value="Z002_AER_AWASCHAUTOMAT"/><input type="hidden" name="svyVersion" value="0000000003"/><input type="hidden" name="SchemaVersion" value="1 "/><input type="hidden" name="svySchemaVersion" value="1 "/><input type="hidden" name="svyLanguage" value="DE"/><xsl:if test="count(//survey/systemparamlocation) > 0"><xsl:variable name="X1" select="document(//survey/systemparamlocation[1])"/><xsl:if test="$X1/SurveySystemParam/@ReplyDest"><xsl:element name="input"><xsl:attribute name="type">hidden</xsl:attribute><xsl:attribute name="name">svyReplyDest1</xsl:attribute><xsl:attribute name="value"><xsl:value-of select="$X1/SurveySystemParam/@ReplyDest"/></xsl:attribute></xsl:element></xsl:if></xsl:if><xsl:element name="input"><xsl:attribute name="type">hidden</xsl:attribute><xsl:attribute name="name">conid</xsl:attribute><xsl:attribute name="value"/><xsl:if test="count(//survey/systemparamlocation) > 0"><xsl:variable name="X1" select="document(//survey/systemparamlocation[1])"/><xsl:if test="$X1/SurveySystemParam/@ConnectorId"><xsl:attribute name="value"><xsl:value-of select="$X1/SurveySystemParam/@ConnectorId"/></xsl:attribute></xsl:if></xsl:if></xsl:element><xsl:for-each select="//hidden/*"><input type="hidden"><xsl:attribute name="name"><xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each><!--Begin of Section--><div Id="" class="Section1"><div class="SectionText1"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Waschautomaten'"/></xsl:call-template></div><xsl:if test="not((count(//noDisplay/q1)) + (count(//noDisplay/q1/*))= 1)"><div class="Question" Id="q1"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'01. Verantwortlich'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q1/a01_bimos)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/q1/a01_bimos" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q1/a01_bimos"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q1/a01_bimos/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="init_01_InitialDummy"><xsl:if test="//survey/result/q1/a01_bimos[. = 'init_01_InitialDummy']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></option><option value="MOS"><xsl:if test="//survey/result/q1/a01_bimos[. = 'MOS']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'MOS'"/></xsl:call-template></option><option value="MES"><xsl:if test="//survey/result/q1/a01_bimos[. = 'MES']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'MES'"/></xsl:call-template></option><option value="NN"><xsl:if test="//survey/result/q1/a01_bimos[. = 'NN']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'keine Zuordnung'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/q1/a01_bimos"><xsl:for-each select="//survey/result/q1/a01_bimos"><input type="hidden"><xsl:attribute name="name">survey/result/q1/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q02)) + (count(//noDisplay/q02/*))= 1)"><div class="Question" Id="q02"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'02. Offerte Ausführen'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q02/a02)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q02/a02" value="init_02_InitialDummy"><xsl:if test="//survey/result/q02/a02[. ='init_02_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q02/a02"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q02/a02/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q02/a02"><xsl:if test="//survey/result/q02/a02[. = 'init_02_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q02/a02</xsl:attribute><xsl:attribute name="value">init_02_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q02/a02" value="X"><xsl:if test="//survey/result/q02/a02[. ='X']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q02/a02"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q02/a02/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q02/a02"><xsl:if test="//survey/result/q02/a02[. = 'X']"><input type="hidden"><xsl:attribute name="name">survey/result/q02/a02</xsl:attribute><xsl:attribute name="value">X</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q02/a02" value="id_4dd1acc6337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q02/a02[. ='id_4dd1acc6337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q02/a02"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q02/a02/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q02/a02"><xsl:if test="//survey/result/q02/a02[. = 'id_4dd1acc6337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q02/a02</xsl:attribute><xsl:attribute name="value">id_4dd1acc6337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q03)) + (count(//noDisplay/q03/*))= 1)"><div class="Question" Id="q03"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'03. Elektrischer Anschluss'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q03/a03)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/q03/a03" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q03/a03"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q03/a03/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="init_03_InitialDummy"><xsl:if test="//survey/result/q03/a03[. = 'init_03_InitialDummy']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></option><option value="id_4dd1ad48337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q03/a03[. = 'id_4dd1ad48337e11d0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'230 Volt'"/></xsl:call-template></option><option value="id_4dd1ad8a337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q03/a03[. = 'id_4dd1ad8a337e11d0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'400 Volt 2N'"/></xsl:call-template></option><option value="id_4dd1add2337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q03/a03[. = 'id_4dd1add2337e11d0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'400 Volt 3N'"/></xsl:call-template></option><option value="id_4dd1ae1a337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q03/a03[. = 'id_4dd1ae1a337e11d0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'keine Zuordnung'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/q03/a03"><xsl:for-each select="//survey/result/q03/a03"><input type="hidden"><xsl:attribute name="name">survey/result/q03/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q04)) + (count(//noDisplay/q04/*))= 1)"><div class="Question" Id="q04"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'04. Nullleiter vorhanden'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q04/a04)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q04/a04" value="init_04_InitialDummy"><xsl:if test="//survey/result/q04/a04[. ='init_04_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q04/a04"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q04/a04/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q04/a04"><xsl:if test="//survey/result/q04/a04[. = 'init_04_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q04/a04</xsl:attribute><xsl:attribute name="value">init_04_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q04/a04" value="id_4dd1af06337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q04/a04[. ='id_4dd1af06337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q04/a04"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q04/a04/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q04/a04"><xsl:if test="//survey/result/q04/a04[. = 'id_4dd1af06337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q04/a04</xsl:attribute><xsl:attribute name="value">id_4dd1af06337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q04/a04" value="id_4dd1af58337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q04/a04[. ='id_4dd1af58337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q04/a04"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q04/a04/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q04/a04"><xsl:if test="//survey/result/q04/a04[. = 'id_4dd1af58337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q04/a04</xsl:attribute><xsl:attribute name="value">id_4dd1af58337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q05)) + (count(//noDisplay/q05/*))= 1)"><div class="Question" Id="q05"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'05. Via Münzwerk'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q05/a05)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q05/a05" value="init_05_InitialDummy"><xsl:if test="//survey/result/q05/a05[. ='init_05_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q05/a05"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q05/a05/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q05/a05"><xsl:if test="//survey/result/q05/a05[. = 'init_05_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q05/a05</xsl:attribute><xsl:attribute name="value">init_05_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q05/a05" value="id_4dd1b05d337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q05/a05[. ='id_4dd1b05d337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q05/a05"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q05/a05/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q05/a05"><xsl:if test="//survey/result/q05/a05[. = 'id_4dd1b05d337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q05/a05</xsl:attribute><xsl:attribute name="value">id_4dd1b05d337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q05/a05" value="id_4dd1b0b9337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q05/a05[. ='id_4dd1b0b9337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q05/a05"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q05/a05/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q05/a05"><xsl:if test="//survey/result/q05/a05[. = 'id_4dd1b0b9337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q05/a05</xsl:attribute><xsl:attribute name="value">id_4dd1b0b9337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q06)) + (count(//noDisplay/q06/*))= 1)"><div class="Question" Id="q06"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'06. Adapter Steuerausgang'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q06/a06)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q06/a06" value="init_06_InitialDummy"><xsl:if test="//survey/result/q06/a06[. ='init_06_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q06/a06"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q06/a06/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q06/a06"><xsl:if test="//survey/result/q06/a06[. = 'init_06_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q06/a06</xsl:attribute><xsl:attribute name="value">init_06_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q06/a06" value="id_4dd1b1da337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q06/a06[. ='id_4dd1b1da337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q06/a06"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q06/a06/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q06/a06"><xsl:if test="//survey/result/q06/a06[. = 'id_4dd1b1da337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q06/a06</xsl:attribute><xsl:attribute name="value">id_4dd1b1da337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q06/a06" value="id_4dd1b240337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q06/a06[. ='id_4dd1b240337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q06/a06"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q06/a06/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q06/a06"><xsl:if test="//survey/result/q06/a06[. = 'id_4dd1b240337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q06/a06</xsl:attribute><xsl:attribute name="value">id_4dd1b240337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q07)) + (count(//noDisplay/q07/*))= 1)"><div class="Question" Id="q07"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'07. Auf Betonsockel'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q07/a07)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q07/a07" value="init_07_InitialDummy"><xsl:if test="//survey/result/q07/a07[. ='init_07_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q07/a07"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q07/a07/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q07/a07"><xsl:if test="//survey/result/q07/a07[. = 'init_07_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q07/a07</xsl:attribute><xsl:attribute name="value">init_07_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q07/a07" value="id_4dd1b320337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q07/a07[. ='id_4dd1b320337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q07/a07"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q07/a07/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q07/a07"><xsl:if test="//survey/result/q07/a07[. = 'id_4dd1b320337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q07/a07</xsl:attribute><xsl:attribute name="value">id_4dd1b320337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q07/a07" value="id_4dd1b390337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q07/a07[. ='id_4dd1b390337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q07/a07"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q07/a07/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q07/a07"><xsl:if test="//survey/result/q07/a07[. = 'id_4dd1b390337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q07/a07</xsl:attribute><xsl:attribute name="value">id_4dd1b390337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q08)) + (count(//noDisplay/q08/*))= 1)"><div class="Question" Id="q08"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'08. Grösse: Breite x Tiefe'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q08/a08)"><tr><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q08/a08" size="48 " maxlength="48 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q08/a08"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q08/a08"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q08/a08/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q09)) + (count(//noDisplay/q09/*))= 1)"><div class="Question" Id="q09"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'09. Ablauf'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q09/a09)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/q09/a09" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q09/a09"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q09/a09/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="init_09_InitialDummy"><xsl:if test="//survey/result/q09/a09[. = 'init_09_InitialDummy']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></option><option value="id_4dd225b0770407c0e10080000ab5dd78"><xsl:if test="//survey/result/q09/a09[. = 'id_4dd225b0770407c0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Pumpe'"/></xsl:call-template></option><option value="id_4dd2262e770407c0e10080000ab5dd78"><xsl:if test="//survey/result/q09/a09[. = 'id_4dd2262e770407c0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ventil'"/></xsl:call-template></option><option value="id_4dd226af770407c0e10080000ab5dd78"><xsl:if test="//survey/result/q09/a09[. = 'id_4dd226af770407c0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'keine Zuordnung'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/q09/a09"><xsl:for-each select="//survey/result/q09/a09"><input type="hidden"><xsl:attribute name="name">survey/result/q09/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q10)) + (count(//noDisplay/q10/*))= 1)"><div class="Question" Id="q10"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'10. Normale Länge der Schläuche und Kabel'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q10/a10)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q10/a10" value="init_10_InitialDummy"><xsl:if test="//survey/result/q10/a10[. ='init_10_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q10/a10"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q10/a10/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q10/a10"><xsl:if test="//survey/result/q10/a10[. = 'init_10_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q10/a10</xsl:attribute><xsl:attribute name="value">init_10_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q10/a10" value="id_4dd2280f770407c0e10080000ab5dd78"><xsl:if test="//survey/result/q10/a10[. ='id_4dd2280f770407c0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q10/a10"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q10/a10/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q10/a10"><xsl:if test="//survey/result/q10/a10[. = 'id_4dd2280f770407c0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q10/a10</xsl:attribute><xsl:attribute name="value">id_4dd2280f770407c0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q10/a10" value="id_4dd20ac184ef12e0e10080000ab5dd78"><xsl:if test="//survey/result/q10/a10[. ='id_4dd20ac184ef12e0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q10/a10"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q10/a10/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q10/a10"><xsl:if test="//survey/result/q10/a10[. = 'id_4dd20ac184ef12e0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q10/a10</xsl:attribute><xsl:attribute name="value">id_4dd20ac184ef12e0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q11)) + (count(//noDisplay/q11/*))= 1)"><div class="Question" Id="q11"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'11. Anschluss mit Waterproof-Ventil möglich'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q11/a11)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q11/a11" value="init_11_InitialDummy"><xsl:if test="//survey/result/q11/a11[. ='init_11_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q11/a11"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q11/a11/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q11/a11"><xsl:if test="//survey/result/q11/a11[. = 'init_11_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q11/a11</xsl:attribute><xsl:attribute name="value">init_11_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q11/a11" value="id_4dd2240285141030e10080000ab5dd78"><xsl:if test="//survey/result/q11/a11[. ='id_4dd2240285141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q11/a11"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q11/a11/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q11/a11"><xsl:if test="//survey/result/q11/a11[. = 'id_4dd2240285141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q11/a11</xsl:attribute><xsl:attribute name="value">id_4dd2240285141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q11/a11" value="id_4dd2250885141030e10080000ab5dd78"><xsl:if test="//survey/result/q11/a11[. ='id_4dd2250885141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q11/a11"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q11/a11/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q11/a11"><xsl:if test="//survey/result/q11/a11[. = 'id_4dd2250885141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q11/a11</xsl:attribute><xsl:attribute name="value">id_4dd2250885141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q12)) + (count(//noDisplay/q12/*))= 1)"><div class="Question" Id="q12"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'12. Wasch-Trocken-Turm'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q12/a12)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q12/a12" value="init_12_InitialDummy"><xsl:if test="//survey/result/q12/a12[. ='init_12_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q12/a12"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q12/a12/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q12/a12"><xsl:if test="//survey/result/q12/a12[. = 'init_12_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q12/a12</xsl:attribute><xsl:attribute name="value">init_12_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q12/a12" value="id_4dd2271585141030e10080000ab5dd78"><xsl:if test="//survey/result/q12/a12[. ='id_4dd2271585141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q12/a12"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q12/a12/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q12/a12"><xsl:if test="//survey/result/q12/a12[. = 'id_4dd2271585141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q12/a12</xsl:attribute><xsl:attribute name="value">id_4dd2271585141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q12/a12" value="id_4dd2281485141030e10080000ab5dd78"><xsl:if test="//survey/result/q12/a12[. ='id_4dd2281485141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q12/a12"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q12/a12/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q12/a12"><xsl:if test="//survey/result/q12/a12[. = 'id_4dd2281485141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q12/a12</xsl:attribute><xsl:attribute name="value">id_4dd2281485141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q13)) + (count(//noDisplay/q13/*))= 1)"><div class="Question" Id="q13"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'13. Anderes Gerät im Turm'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q13/a13_matnr)"><tr><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Produktnummer:'"/></xsl:call-template></td><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q13/a13_matnr" size="30 " maxlength="30 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q13/a13_matnr"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q13/a13_matnr"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q13/a13_matnr/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td></tr></xsl:if><xsl:if test="not(//noDisplay/q13/a13_matdesc)"><tr><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Bezeichnung:'"/></xsl:call-template></td><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q13/a13_matdesc" size="30 " maxlength="50 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q13/a13_matdesc"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q13/a13_matdesc"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q13/a13_matdesc/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q14)) + (count(//noDisplay/q14/*))= 1)"><div class="Question" Id="q14"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'14. WTV mit Auszug vorhanden'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q14/a14)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q14/a14" value="init_14_InitialDummy"><xsl:if test="//survey/result/q14/a14[. ='init_14_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q14/a14"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q14/a14/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q14/a14"><xsl:if test="//survey/result/q14/a14[. = 'init_14_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q14/a14</xsl:attribute><xsl:attribute name="value">init_14_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q14/a14" value="id_4dd22d8585141030e10080000ab5dd78"><xsl:if test="//survey/result/q14/a14[. ='id_4dd22d8585141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q14/a14"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q14/a14/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q14/a14"><xsl:if test="//survey/result/q14/a14[. = 'id_4dd22d8585141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q14/a14</xsl:attribute><xsl:attribute name="value">id_4dd22d8585141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q14/a14" value="id_4dd22e9685141030e10080000ab5dd78"><xsl:if test="//survey/result/q14/a14[. ='id_4dd22e9685141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q14/a14"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q14/a14/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q14/a14"><xsl:if test="//survey/result/q14/a14[. = 'id_4dd22e9685141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q14/a14</xsl:attribute><xsl:attribute name="value">id_4dd22e9685141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q15)) + (count(//noDisplay/q15/*))= 1)"><div class="Question" Id="q15"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'15. Eingebaut'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q15/a15)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q15/a15" value="init_15_InitialDummy"><xsl:if test="//survey/result/q15/a15[. ='init_15_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q15/a15"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q15/a15/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q15/a15"><xsl:if test="//survey/result/q15/a15[. = 'init_15_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q15/a15</xsl:attribute><xsl:attribute name="value">init_15_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q15/a15" value="id_4dd231ea85141030e10080000ab5dd78"><xsl:if test="//survey/result/q15/a15[. ='id_4dd231ea85141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q15/a15"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q15/a15/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q15/a15"><xsl:if test="//survey/result/q15/a15[. = 'id_4dd231ea85141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q15/a15</xsl:attribute><xsl:attribute name="value">id_4dd231ea85141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q15/a15" value="id_4dd2331685141030e10080000ab5dd78"><xsl:if test="//survey/result/q15/a15[. ='id_4dd2331685141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q15/a15"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q15/a15/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q15/a15"><xsl:if test="//survey/result/q15/a15[. = 'id_4dd2331685141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q15/a15</xsl:attribute><xsl:attribute name="value">id_4dd2331685141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q16)) + (count(//noDisplay/q16/*))= 1)"><div class="Question" Id="q16"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'16. Integriert'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q16/a16)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q16/a16" value="init_16_InitialDummy"><xsl:if test="//survey/result/q16/a16[. ='init_16_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q16/a16"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q16/a16/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q16/a16"><xsl:if test="//survey/result/q16/a16[. = 'init_16_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q16/a16</xsl:attribute><xsl:attribute name="value">init_16_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q16/a16" value="id_4dd2367685141030e10080000ab5dd78"><xsl:if test="//survey/result/q16/a16[. ='id_4dd2367685141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q16/a16"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q16/a16/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q16/a16"><xsl:if test="//survey/result/q16/a16[. = 'id_4dd2367685141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q16/a16</xsl:attribute><xsl:attribute name="value">id_4dd2367685141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q16/a16" value="id_4dd2379b85141030e10080000ab5dd78"><xsl:if test="//survey/result/q16/a16[. ='id_4dd2379b85141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q16/a16"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q16/a16/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q16/a16"><xsl:if test="//survey/result/q16/a16[. = 'id_4dd2379b85141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q16/a16</xsl:attribute><xsl:attribute name="value">id_4dd2379b85141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q17)) + (count(//noDisplay/q17/*))= 1)"><div class="Question" Id="q17"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'17. Untergebaut'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q17/a17)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q17/a17" value="init_17_InitialDummy"><xsl:if test="//survey/result/q17/a17[. ='init_17_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q17/a17"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q17/a17/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q17/a17"><xsl:if test="//survey/result/q17/a17[. = 'init_17_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q17/a17</xsl:attribute><xsl:attribute name="value">init_17_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q17/a17" value="id_4dd23b1f85141030e10080000ab5dd78"><xsl:if test="//survey/result/q17/a17[. ='id_4dd23b1f85141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q17/a17"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q17/a17/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q17/a17"><xsl:if test="//survey/result/q17/a17[. = 'id_4dd23b1f85141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q17/a17</xsl:attribute><xsl:attribute name="value">id_4dd23b1f85141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q17/a17" value="id_4dd23c5f85141030e10080000ab5dd78"><xsl:if test="//survey/result/q17/a17[. ='id_4dd23c5f85141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q17/a17"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q17/a17/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q17/a17"><xsl:if test="//survey/result/q17/a17[. = 'id_4dd23c5f85141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q17/a17</xsl:attribute><xsl:attribute name="value">id_4dd23c5f85141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q18)) + (count(//noDisplay/q18/*))= 1)"><div class="Question" Id="q18"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'18. Freistehend'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q18/a18)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q18/a18" value="init_18_InitialDummy"><xsl:if test="//survey/result/q18/a18[. ='init_18_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q18/a18"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q18/a18/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q18/a18"><xsl:if test="//survey/result/q18/a18[. = 'init_18_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q18/a18</xsl:attribute><xsl:attribute name="value">init_18_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q18/a18" value="id_4dd20e5685071800e10080000ab5dd78"><xsl:if test="//survey/result/q18/a18[. ='id_4dd20e5685071800e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q18/a18"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q18/a18/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q18/a18"><xsl:if test="//survey/result/q18/a18[. = 'id_4dd20e5685071800e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q18/a18</xsl:attribute><xsl:attribute name="value">id_4dd20e5685071800e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q18/a18" value="id_4dd20f8f85071800e10080000ab5dd78"><xsl:if test="//survey/result/q18/a18[. ='id_4dd20f8f85071800e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q18/a18"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q18/a18/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q18/a18"><xsl:if test="//survey/result/q18/a18[. = 'id_4dd20f8f85071800e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q18/a18</xsl:attribute><xsl:attribute name="value">id_4dd20f8f85071800e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q19)) + (count(//noDisplay/q19/*))= 1)"><div class="Question" Id="q19"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'19. Einbauvarianten'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q19/a19)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/q19/a19" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q19/a19"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q19/a19/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="init_19_InitialDummy"><xsl:if test="//survey/result/q19/a19[. = 'init_19_InitialDummy']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></option><option value="id_4dd2134985071800e10080000ab5dd78"><xsl:if test="//survey/result/q19/a19[. = 'id_4dd2134985071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'GDU'"/></xsl:call-template></option><option value="id_4dd2148c85071800e10080000ab5dd78"><xsl:if test="//survey/result/q19/a19[. = 'id_4dd2148c85071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Montage-Set'"/></xsl:call-template></option><option value="id_4dd215d285071800e10080000ab5dd78"><xsl:if test="//survey/result/q19/a19[. = 'id_4dd215d285071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Integriert'"/></xsl:call-template></option><option value="id_4dd2172285071800e10080000ab5dd78"><xsl:if test="//survey/result/q19/a19[. = 'id_4dd2172285071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Normal'"/></xsl:call-template></option><option value="id_4dd2186e85071800e10080000ab5dd78"><xsl:if test="//survey/result/q19/a19[. = 'id_4dd2186e85071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'keine Zuordnung'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/q19/a19"><xsl:for-each select="//survey/result/q19/a19"><input type="hidden"><xsl:attribute name="name">survey/result/q19/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q20)) + (count(//noDisplay/q20/*))= 1)"><div class="Question" Id="q20"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'20. Farbe'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q20/a20)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/q20/a20" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q20/a20"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q20/a20/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="init_20_InitialDummy"><xsl:if test="//survey/result/q20/a20[. = 'init_20_InitialDummy']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></option><option value="id_4dd21c6385071800e10080000ab5dd78"><xsl:if test="//survey/result/q20/a20[. = 'id_4dd21c6385071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'braun'"/></xsl:call-template></option><option value="id_4dd21db985071800e10080000ab5dd78"><xsl:if test="//survey/result/q20/a20[. = 'id_4dd21db985071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'weiss'"/></xsl:call-template></option><option value="id_4dd21f1285071800e10080000ab5dd78"><xsl:if test="//survey/result/q20/a20[. = 'id_4dd21f1285071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'schwarz'"/></xsl:call-template></option><option value="id_4dd2206e85071800e10080000ab5dd78"><xsl:if test="//survey/result/q20/a20[. = 'id_4dd2206e85071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'edelstahl'"/></xsl:call-template></option><option value="id_4dd221cd85071800e10080000ab5dd78"><xsl:if test="//survey/result/q20/a20[. = 'id_4dd221cd85071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'aluminium'"/></xsl:call-template></option><option value="id_4dd2232f85071800e10080000ab5dd78"><xsl:if test="//survey/result/q20/a20[. = 'id_4dd2232f85071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'andere'"/></xsl:call-template></option><option value="id_4dd2249485071800e10080000ab5dd78"><xsl:if test="//survey/result/q20/a20[. = 'id_4dd2249485071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'keine Zuordnung'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/q20/a20"><xsl:for-each select="//survey/result/q20/a20"><input type="hidden"><xsl:attribute name="name">survey/result/q20/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q21)) + (count(//noDisplay/q21/*))= 1)"><div class="Question" Id="q21"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'21. Bandung'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q21/a21)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/q21/a21" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q21/a21"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q21/a21/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="init_21_InitialDummy"><xsl:if test="//survey/result/q21/a21[. = 'init_21_InitialDummy']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></option><option value="id_4dd228d085071800e10080000ab5dd78"><xsl:if test="//survey/result/q21/a21[. = 'id_4dd228d085071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'rechts'"/></xsl:call-template></option><option value="id_4dd22a3f85071800e10080000ab5dd78"><xsl:if test="//survey/result/q21/a21[. = 'id_4dd22a3f85071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'links'"/></xsl:call-template></option><option value="id_4dd22bb185071800e10080000ab5dd78"><xsl:if test="//survey/result/q21/a21[. = 'id_4dd22bb185071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'keine Zuordnung'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/q21/a21"><xsl:for-each select="//survey/result/q21/a21"><input type="hidden"><xsl:attribute name="name">survey/result/q21/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q22)) + (count(//noDisplay/q22/*))= 1)"><div class="Question" Id="q22"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'22. Nischen-Breite'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q22/a22)"><tr><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q22/a22" size="48 " maxlength="48 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q22/a22"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q22/a22"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q22/a22/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q23)) + (count(//noDisplay/q23/*))= 1)"><div class="Question" Id="q23"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'23. Nischen-Höhe'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q23/a23)"><tr><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q23/a23" size="48 " maxlength="48 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q23/a23"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q23/a23"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q23/a23/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q24)) + (count(//noDisplay/q24/*))= 1)"><div class="Question" Id="q24"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'24. Sockel-Höhe'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q24/a24)"><tr><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q24/a24" size="48 " maxlength="48 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q24/a24"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q24/a24"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q24/a24/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q25_biproposal)) + (count(//noDisplay/q25_biproposal/*))= 1)"><div class="Question" Id="q25_biproposal"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'25. Neugeräte Vorschlag'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q25_biproposal/a25_biproposal_matnr)"><tr><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Produktnummer:'"/></xsl:call-template></td><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q25_biproposal/a25_biproposal_matnr" size="30 " maxlength="30 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q25_biproposal/a25_biproposal_matnr"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q25_biproposal/a25_biproposal_matnr"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q25_biproposal/a25_biproposal_matnr/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td></tr></xsl:if><xsl:if test="not(//noDisplay/q25_biproposal/a25_biproposal_matdesc)"><tr><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Bezeichnung:'"/></xsl:call-template></td><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q25_biproposal/a25_biproposal_matdesc" size="30 " maxlength="50 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q25_biproposal/a25_biproposal_matdesc"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q25_biproposal/a25_biproposal_matdesc"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q25_biproposal/a25_biproposal_matdesc/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q26)) + (count(//noDisplay/q26/*))= 1)"><div class="Question" Id="q26"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'26. Grund der Störung'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q26/a26)"><tr><td class="ListAnswerText"><textarea class="AnswerTextRW" name="survey/result/q26/a26" rows="3 " cols="41 "><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerTextRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q26/a26"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerTextRO</xsl:attribute></xsl:for-each><xsl:value-of select="//survey/result/q26/a26"/><xsl:text/><xsl:for-each select="//onEvent/q26/a26/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></textarea></td><td class="ListAnswerTextText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q27)) + (count(//noDisplay/q27/*))= 1)"><div class="Question" Id="q27"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'27. Bemerkung'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q27/a27)"><tr><td class="ListAnswerText"><textarea class="AnswerTextRW" name="survey/result/q27/a27" rows="3 " cols="41 "><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerTextRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q27/a27"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerTextRO</xsl:attribute></xsl:for-each><xsl:value-of select="//survey/result/q27/a27"/><xsl:text/><xsl:for-each select="//onEvent/q27/a27/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></textarea></td><td class="ListAnswerTextText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/id_4dd20c2384ef12e0e10080000ab5dd78)) + (count(//noDisplay/id_4dd20c2384ef12e0e10080000ab5dd78/*))= 1)"><div class="Question" Id="id_4dd20c2384ef12e0e10080000ab5dd78"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Grund Fremdproduktekauf'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="id_4dd209ce85141030e10080000ab5dd78"><xsl:if test="//survey/result/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext[. = 'id_4dd209ce85141030e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></option><option value="CUSTOMER_WISH"><xsl:if test="//survey/result/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext[. = 'CUSTOMER_WISH']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Kundenwunsch'"/></xsl:call-template></option><option value="DEALER_WISH"><xsl:if test="//survey/result/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext[. = 'DEALER_WISH']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Händlerwunsch'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext"><xsl:for-each select="//survey/result/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext"><input type="hidden"><xsl:attribute name="name">survey/result/id_4dd20c2384ef12e0e10080000ab5dd78/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/id_4dd111b255800ff0e10080000ab5dd78)) + (count(//noDisplay/id_4dd111b255800ff0e10080000ab5dd78/*))= 1)"><div class="Question" Id="id_4dd111b255800ff0e10080000ab5dd78"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Interne Bemerkung'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/id_4dd111b255800ff0e10080000ab5dd78/id_4dd210d485141030e10080000ab5dd78)"><tr><td class="ListAnswerText"><textarea class="AnswerTextRW" name="survey/result/id_4dd111b255800ff0e10080000ab5dd78/id_4dd210d485141030e10080000ab5dd78" rows="3 " cols="41 "><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerTextRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/id_4dd111b255800ff0e10080000ab5dd78/id_4dd210d485141030e10080000ab5dd78"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerTextRO</xsl:attribute></xsl:for-each><xsl:value-of select="//survey/result/id_4dd111b255800ff0e10080000ab5dd78/id_4dd210d485141030e10080000ab5dd78"/><xsl:text/><xsl:for-each select="//onEvent/id_4dd111b255800ff0e10080000ab5dd78/id_4dd210d485141030e10080000ab5dd78/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></textarea></td><td class="ListAnswerTextText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/id_4dd1111d55800ff0e10080000ab5dd78)) + (count(//noDisplay/id_4dd1111d55800ff0e10080000ab5dd78/*))= 1)"><div class="Question" Id="id_4dd1111d55800ff0e10080000ab5dd78"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Händlerauswahl durch MES/MOS'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="id_4dd20ced85141030e10080000ab5dd78"><xsl:if test="//survey/result/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer[. = 'id_4dd20ced85141030e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></option><option value="Y"><xsl:if test="//survey/result/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer[. = 'Y']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></option><option value="N"><xsl:if test="//survey/result/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer[. = 'N']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer"><xsl:for-each select="//survey/result/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer"><input type="hidden"><xsl:attribute name="name">survey/result/id_4dd1111d55800ff0e10080000ab5dd78/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/id_4dd20b5c84ef12e0e10080000ab5dd78)) + (count(//noDisplay/id_4dd20b5c84ef12e0e10080000ab5dd78/*))= 1)"><div class="Question" Id="id_4dd20b5c84ef12e0e10080000ab5dd78"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Rückerstattungsbeleg'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="id_4dd112db55800ff0e10080000ab5dd78"><xsl:if test="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund[. = 'id_4dd112db55800ff0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></option><option value="Y"><xsl:if test="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund[. = 'Y']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></option><option value="N"><xsl:if test="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund[. = 'N']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund"><xsl:for-each select="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund"><input type="hidden"><xsl:attribute name="name">survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if><xsl:if test="not(//noDisplay/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="id_4dd114c155800ff0e10080000ab5dd78"><xsl:if test="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason[. = 'id_4dd114c155800ff0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></option><option value="TEL_CUSTOMER"><xsl:if test="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason[. = 'TEL_CUSTOMER']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'gemäss Telefonat mit Kunde'"/></xsl:call-template></option><option value="TEL_DEALER"><xsl:if test="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason[. = 'TEL_DEALER']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'gemäss Telefonat mit Händler'"/></xsl:call-template></option><option value="TECHNICIAN"><xsl:if test="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason[. = 'TECHNICIAN']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'gemäss Techniker'"/></xsl:call-template></option><option value="ORDER"><xsl:if test="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason[. = 'ORDER']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'gemäss Bestellung'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason"><xsl:for-each select="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason"><input type="hidden"><xsl:attribute name="name">survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q28)) + (count(//noDisplay/q28/*))= 1)"><div class="Question" Id="q28"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'28. Maschinenalter'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q28/a28)"><tr><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q28/a28" size="50 " maxlength="50 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q28/a28"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q28/a28"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q28/a28/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><div class="Event"><xsl:if test="not($C_Mode='DISPLAY')"><input type="submit" class="ButtonInside" name="onInputProcessing(SUBMIT)" value="Sichern"/></xsl:if><xsl:if test="not($C_Mode='DISPLAY')"><input type="reset" class="ButtonInside" value="Eingaben zurücksetzen"/></xsl:if></div></div><!--End of Section--></form></body></html></xsl:template><xsl:template name="getLineBreak"><xsl:param name="source"/><xsl:variable name="sourceTextBR" select="string($source)"/><xsl:variable name="findBR">&lt;BR&gt;</xsl:variable><xsl:choose><xsl:when test="contains($sourceTextBR, $findBR)"><xsl:value-of select="substring-before($sourceTextBR,$findBR)"/><br/><xsl:call-template name="getLineBreak"><xsl:with-param name="source" select="substring-after($sourceTextBR,$findBR)"/></xsl:call-template></xsl:when><xsl:otherwise><xsl:value-of select="$sourceTextBR"/></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="getCRLF"><xsl:param name="source"/><xsl:variable name="sourceTextCRLF" select="string($source)"/><xsl:variable name="findCRLF">&amp;#013;&amp;#010;</xsl:variable><xsl:choose><xsl:when test="contains($sourceTextCRLF, $findCRLF)"><xsl:value-of select="substring-before($sourceTextCRLF,$findCRLF)"/>
-						&lt;BR&gt;
-						<xsl:call-template name="getCRLF"><xsl:with-param name="source" select="substring-after($sourceTextCRLF,$findCRLF)"/></xsl:call-template></xsl:when><xsl:otherwise><xsl:value-of select="$sourceTextCRLF"/></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="getCOMMENT"><xsl:param name="source"/><xsl:variable name="sourceTextCMNT" select="string($source)"/><xsl:variable name="findCOMMENT">&lt;COMMENT&gt;</xsl:variable><xsl:choose><xsl:when test="contains($sourceTextCMNT, $findCOMMENT)"><xsl:call-template name="getLineBreak"><xsl:with-param name="source" select="substring-before($sourceTextCMNT,$findCOMMENT)"/></xsl:call-template><xsl:element name="div"><xsl:attribute name="name">Comment</xsl:attribute><xsl:attribute name="class">Comment</xsl:attribute><xsl:call-template name="getLineBreak"><xsl:with-param name="source" select="substring-after($sourceTextCMNT,$findCOMMENT)"/></xsl:call-template></xsl:element></xsl:when><xsl:otherwise><xsl:call-template name="getLineBreak"><xsl:with-param name="source" select="$sourceTextCMNT"/></xsl:call-template></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="replaceString"><xsl:param name="source"/><xsl:param name="find"/><xsl:param name="replace"/><xsl:variable name="sourceText" select="string($source)"/><xsl:choose><xsl:when test="contains($sourceText, $find)"><xsl:value-of select="substring-before($sourceText,$find)"/><xsl:value-of select="$replace"/><xsl:call-template name="replaceString"><xsl:with-param name="source" select="substring-after($sourceText,$find)"/><xsl:with-param name="find" select="$find"/><xsl:with-param name="replace" select="$replace"/></xsl:call-template></xsl:when><xsl:otherwise><xsl:value-of select="$sourceText"/></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="replaceParams"><xsl:param name="source"/><xsl:param name="index" select="1"/><xsl:variable name="sourceText" select="$source"/><xsl:variable name="indexSource" select="$index - 1"/><xsl:choose><xsl:when test="count(//replaceables/*) > $indexSource"><xsl:for-each select="//replaceables/*[$index]"><xsl:variable name="find"><xsl:value-of select="name()"/></xsl:variable><xsl:variable name="replace"><xsl:value-of select="."/></xsl:variable><xsl:choose><xsl:when test="contains($sourceText, $find)"><xsl:call-template name="replaceParams"><xsl:with-param name="source"><xsl:call-template name="replaceString"><xsl:with-param name="source" select="$sourceText"/><xsl:with-param name="find" select="$find"/><xsl:with-param name="replace" select="$replace"/></xsl:call-template></xsl:with-param><xsl:with-param name="index" select="$index+1"/></xsl:call-template></xsl:when><xsl:otherwise><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="$sourceText"/><xsl:with-param name="index" select="$index+1"/></xsl:call-template></xsl:otherwise></xsl:choose></xsl:for-each></xsl:when><xsl:otherwise><xsl:call-template name="getCOMMENT"><xsl:with-param name="source"><xsl:call-template name="getCRLF"><xsl:with-param name="source" select="$sourceText"/></xsl:call-template></xsl:with-param></xsl:call-template></xsl:otherwise></xsl:choose></xsl:template></xsl:stylesheet>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/BugDB12665704Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,147 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.BufferedReader;
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.File;
-import java.io.FileReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.StringReader;
-import java.io.StringWriter;
-
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6935697
- * @summary Test Transformer can compile large xsl file.
- */
-public class BugDB12665704Test {
-
-    @Test
-    public final void testTransform() {
-
-        try {
-            String str = new String();
-            ByteArrayOutputStream byte_stream = new ByteArrayOutputStream();
-            File inputFile = new File(getClass().getResource("BugDB12665704.xml").getPath());
-            FileReader in = new FileReader(inputFile);
-            int c;
-
-            while ((c = in.read()) != -1) {
-                str = str + new Character((char) c).toString();
-            }
-
-            in.close();
-
-            System.out.println(str);
-            byte buf[] = str.getBytes();
-            byte_stream.write(buf);
-            String style_sheet_uri = "BugDB12665704.xsl";
-            byte[] xml_byte_array = byte_stream.toByteArray();
-            InputStream xml_input_stream = new ByteArrayInputStream(xml_byte_array);
-
-            Source xml_source = new StreamSource(xml_input_stream);
-
-            TransformerFactory tFactory = TransformerFactory.newInstance();
-            Transformer transformer = tFactory.newTransformer();
-            StreamSource source = new StreamSource(getClass().getResource(style_sheet_uri).toString());
-            transformer = tFactory.newTransformer(source);
-
-            ByteArrayOutputStream result_output_stream = new ByteArrayOutputStream();
-            Result result = new StreamResult(result_output_stream);
-            transformer.transform(xml_source, result);
-            result_output_stream.close();
-
-            // expected success
-        } catch (Exception e) {
-            // unexpected failure
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-
-    @Test
-    public void testSAPTransform() {
-        StringWriter out = new StringWriter();
-        try {
-            String xml = getXML(getClass().getResource("BugDB12665704.xml").getPath());
-            getTransformer().transform(new StreamSource(new StringReader(xml)), new StreamResult(out));
-        } catch (TransformerConfigurationException ex) {
-            // Trace.dump(xslt);
-            // Trace.dump(xml);
-            System.err.println("can't process xslt: " + ex.getMessage() + " (" + ex + ")");
-        } catch (TransformerException ex) {
-            // Trace.dump(xslt);
-            // Trace.dump(xml);
-            System.err.println("can't process xml: " + ex.getMessage() + " (" + ex + ")");
-        } catch (Exception ex) {
-            // Trace.dump(xslt);
-            // Trace.dump(xml);
-            System.err.println("can't create processor: " + ex.getMessage() + " (" + ex + ")");
-        }
-    }
-
-    Transformer getTransformer() {
-        Transformer transformer = null;
-        try {
-            InputStream xin = this.getClass().getResourceAsStream("BugDB12665704.xsl");
-            StreamSource xslt = new StreamSource(xin);
-            TransformerFactory fc = TransformerFactory.newInstance();
-            transformer = fc.newTransformer(xslt);
-
-        } catch (Exception e) {
-            // unexpected failure
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-
-        return transformer;
-    }
-
-    String getXML(String sourceFile) throws IOException {
-        BufferedReader inputStream = null;
-        StringBuilder sb = new StringBuilder();
-        try {
-            inputStream = new BufferedReader(new FileReader(sourceFile));
-            String l;
-
-            while ((l = inputStream.readLine()) != null) {
-                sb.append(l);
-            }
-
-        } finally {
-            if (inputStream != null) {
-                inputStream.close();
-            }
-        }
-        return sb.toString();
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6401137.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0"?>
-<ObjectSetRoot>
-<Object>
-</Object>
-</ObjectSetRoot>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6401137.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<xsl:stylesheet version="1.0"
-      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<xsl:variable name="validAffectsRelClasses">
-</xsl:variable>
-
-<xsl:key name="UniqueAffectsRelObjects"
-      match="/ObjectSetRoot/Object[
-      contains($validAffectsRelClasses, @Class)]"
-      use="not(@OBID=preceding-sibling::Object[
-      contains($validAffectsRelClasses, @Class)]/@OBID)"/>
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6401137Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,86 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.File;
-import java.io.FileReader;
-import java.io.InputStream;
-
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6401137
- * @summary Test transform certain xsl.
- */
-public class CR6401137Test {
-
-    @Test
-    public final void testTransform() {
-
-        try {
-            String str = new String();
-            ByteArrayOutputStream byte_stream = new ByteArrayOutputStream();
-            File inputFile = new File(getClass().getResource("CR6401137.xml").getPath());
-            FileReader in = new FileReader(inputFile);
-            int c;
-
-            while ((c = in.read()) != -1) {
-                str = str + new Character((char) c).toString();
-            }
-
-            in.close();
-
-            System.out.println(str);
-            byte buf[] = str.getBytes();
-            byte_stream.write(buf);
-            String style_sheet_uri = "CR6401137.xsl";
-            byte[] xml_byte_array = byte_stream.toByteArray();
-            InputStream xml_input_stream = new ByteArrayInputStream(xml_byte_array);
-
-            Source xml_source = new StreamSource(xml_input_stream);
-
-            TransformerFactory tFactory = TransformerFactory.newInstance();
-            Transformer transformer = tFactory.newTransformer();
-            StreamSource source = new StreamSource(getClass().getResourceAsStream(style_sheet_uri));
-            transformer = tFactory.newTransformer(source);
-
-            ByteArrayOutputStream result_output_stream = new ByteArrayOutputStream();
-            Result result = new StreamResult(result_output_stream);
-            transformer.transform(xml_source, result);
-            result_output_stream.close();
-
-            // expected success
-        } catch (Exception e) {
-            // unexpected failure
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6551600.policy	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-grant {
-	permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
-	permission java.lang.RuntimePermission "accessDeclaredMembers";
-	
-	permission java.io.FilePermission "${test.classes}/../../-", "read, write, delete";
-	permission java.io.FilePermission ".", "read, write, delete";
-	permission java.util.PropertyPermission "*", "read, write";
-	
-    permission java.lang.RuntimePermission "setSecurityManager";
-    permission java.lang.RuntimePermission "createSecurityManager";
-    permission java.lang.RuntimePermission "createClassLoader";
-    permission java.lang.RuntimePermission "setIO";
-	permission java.lang.RuntimePermission "setContextClassLoader"; 
-	permission java.security.SecurityPermission "getPolicy";
-    
-    permission java.io.FilePermission "${test.src}/-", "read, write, delete";
-    permission java.io.FilePermission "${user.dir}/-", "read, write, delete";
-    permission java.io.FilePermission "${java.io.tmpdir}/-", "read, write, delete";
-    
-    permission java.io.FilePermission "//localhost/C$/xslt_unc_test.xml", "read, write, delete";
-    
-};
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6551600Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,86 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.File;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-/*
- * @bug 6551600
- * @summary Test using UNC path as StreamResult.
- */
-public class CR6551600Test {
-
-    @Test
-    public final void testUNCPath() {
-        String hostName = "";
-        try {
-            hostName = java.net.InetAddress.getLocalHost().getHostName();
-        } catch (java.net.UnknownHostException e) {
-            // falls through
-        }
-
-        String path = "\\\\" + hostName + "\\C$\\xslt_unc_test.xml";
-        String os = System.getProperty("os.name");
-        if (os.indexOf("Windows") < 0) {
-            path = "///tmp/test.xml";
-        }
-        else {
-                policy.PolicyUtil.changePolicy(getClass().getResource("CR6551600.policy").getFile());
-        }
-
-        try {
-            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
-            DocumentBuilder builder = factory.newDocumentBuilder();
-            Document doc = builder.newDocument();
-            Element root = doc.createElement("test");
-            doc.appendChild(root);
-            // create an identity transform
-            Transformer t = TransformerFactory.newInstance().newTransformer();
-            File f = new File(path);
-            StreamResult result = new StreamResult(f);
-            DOMSource source = new DOMSource(doc);
-            System.out.println("Writing to " + f);
-            t.transform(source, result);
-        } catch (Exception e) {
-            // unexpected failure
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-
-        File file = new File(path);
-        if (file.exists()) {
-            file.deleteOnExit();
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6577667.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0"
-      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-      xmlns:xlink="http://www.w3.org/1999/xlink"
-   >
-      <xsl:output omit-xml-declaration = "yes" />
-<xsl:template match="mo" >
-   <xsl:choose>
-      <xsl:when test="and * and" ></xsl:when>
-      <xsl:when test="and and and" ></xsl:when>
-      <xsl:when test="* and *" ></xsl:when>
-      <xsl:when test="not(preceding-sibling::elem1 and following-sibling::elem2)"></xsl:when>
-      <xsl:when test="not(preceding-sibling::* and following-sibling::*)"></xsl:when>
-      <xsl:when test="or * or" ></xsl:when>
-      <xsl:when test="and or or" ></xsl:when>
-      <xsl:when test="* or *" ></xsl:when>
-      <xsl:when test="not(preceding-sibling::elem1 or following-sibling::elem2)"></xsl:when>
-      <xsl:when test="not(preceding-sibling::* or following-sibling::*)"></xsl:when>
-      <xsl:when test="and | and" ></xsl:when>
-      <xsl:when test="* | *" ></xsl:when>
-      <xsl:when test="not(preceding-sibling::elem1 | following-sibling::elem2)"></xsl:when>
-      <xsl:when test="not(preceding-sibling::* | following-sibling::*)"></xsl:when>
-    </xsl:choose>
-</xsl:template>
-</xsl:stylesheet>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6577667Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.InputStream;
-
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6577667
- * @summary Test XSLT can parse statement "not(preceding-sibling::* or following-sibling::*)" in stylesheet file.
- */
-public class CR6577667Test {
-
-    @Test
-    public final void testTransform() {
-        try {
-            InputStream xin = this.getClass().getResourceAsStream("CR6577667.xsl");
-            StreamSource xslt = new StreamSource(xin);
-            TransformerFactory fc = TransformerFactory.newInstance();
-            Transformer transformer = fc.newTransformer(xslt);
-        } catch (Exception e) {
-            // unexpected failure
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6652519Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.File;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.transform.dom.DOMResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-
-/*
- * @bug 6652519
- * @summary Test transfoming from StreamSource to DOMResult.
- */
-public class CR6652519Test {
-
-    @Test
-    public final void test1() {
-        try {
-            long start = System.currentTimeMillis();
-            Transformer t = TransformerFactory.newInstance().newTransformer();
-            File file = new File(getClass().getResource("msgAttach.xml").getFile());
-            StreamSource source = new StreamSource(file);
-            DOMResult result = new DOMResult();
-            t.transform(source, result);
-
-            long end = System.currentTimeMillis();
-            System.out.println("Test2:Total Time Taken=" + (end - start));
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    public final void xtest2() {
-        try {
-            long start = System.currentTimeMillis();
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            DocumentBuilder db = dbf.newDocumentBuilder();
-            Document doc = db.parse(new File(getClass().getResource("msgAttach.xml").getFile()));
-            long end = System.currentTimeMillis();
-            System.out.println("Test1: Total Time Taken=" + (end - start));
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6689809Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.CharArrayWriter;
-
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6689809
- * @summary Test Transformer can handle XPath predicates in xsl:key elements.
- */
-public class CR6689809Test {
-
-    @Test
-    public final void testTransform() {
-
-        try {
-            StreamSource input = new StreamSource(getClass().getResourceAsStream("PredicateInKeyTest.xml"));
-            StreamSource stylesheet = new StreamSource(getClass().getResourceAsStream("PredicateInKeyTest.xsl"));
-            CharArrayWriter buffer = new CharArrayWriter();
-            StreamResult output = new StreamResult(buffer);
-
-            TransformerFactory.newInstance().newTransformer(stylesheet).transform(input, output);
-
-            Assert.assertEquals(buffer.toString(), "0|1|2|3", "XSLT xsl:key implementation is broken!");
-            // expected success
-        } catch (Exception e) {
-            // unexpected failure
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6905829.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<catalog>
-  <book>
-    <title>Java</title>
-  </book>
-</catalog>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6905829.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-<?xml version="1.0" ?>
-<xsl:stylesheet version="1.0"
-                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<xsl:template match="book">
-  <h1><xsl:value-of select="title"/></h1>
-  <xsl:call-template name="MyTemplate"/>
-
-<!--
-  <xsl:call-template name="MyTemplate">
-  <xsl:with-param name="x" select="2"/>
-  </xsl:call-template>
--->
-</xsl:template>
-
-<xsl:template name="MyTemplate">
-  <xsl:param name="x" select="1"/>
-  <p>MyTemplate has been called. param x=<xsl:value-of select="$x"/>.</p>
-</xsl:template>
-
-<xsl:include href="CR6905829Inc.xsl"/>
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6905829Inc.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0" ?>
-<xsl:stylesheet version="1.0"
-                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<xsl:template name="Dummy">
-  <p>Dummy has been called.</p>
-</xsl:template>
-
-</xsl:stylesheet>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6905829Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.File;
-import java.io.StringWriter;
-
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6905829
- * @summary Test XSLT can parse certain xsl.
- */
-public class CR6905829Test {
-
-    @Test
-    public final void testTransform() {
-        try {
-            String file = getClass().getResource("CR6905829.xsl").getFile();
-            Transformer t = TransformerFactory.newInstance().newTransformer(new StreamSource(new File(file)));
-
-            System.out.printf("transformer: %s%n", t.getClass().getName());
-
-            StringWriter streamResult = new StringWriter();
-            t.transform(new StreamSource(getClass().getResourceAsStream("CR6905829.xml")), new StreamResult(streamResult));
-
-            // expected success
-        } catch (Exception e) {
-            // unexpected failure
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6935697.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,158 +0,0 @@
-<Iteration><ViewEditor  ViewType='PieChart' DataSet='_Employees' ModifierID='undefined' Context='Data' Page='chartFields' ViewName='Pie Chart' bViewEditorAnimation="false" ><Translated><String name="DATA_OBJECTS">Data Objects</String>
-<String name="DATA_FIELDS">Data Fields</String>
-<String name="SELECT_ALL">select all</String>
-<String name="SELECT_NONE">select none</String>
-<String name="CHOOSE_DATA_OBJECT">Choose Data Object</String>
-<String name="CHOOSE_DATA_FIELDS">Choose Data Fields</String>
-<String name="MORE_OPTIONS">More Options, or Finish</String>
-<String name="NEXT">Next</String>
-<String name="BACK">Back</String>
-<String name="FINISH">Finish</String>
-<String name="APPLY">Apply</String>
-<String name="SORT_DIRECTION">Sort Direction</String>
-<String name="VIEW_FIELDS">View Fields</String>
-<String name="SORTED_FIELDS">Sorted Fields</String>
-<String name="ASCENDING">Ascending</String>
-<String name="DESCENDING">Descending</String>
-<String name="OK">OK</String>
-<String name="CANCEL">Cancel</String>
-<String name="REPORT_GROUPS">Report Groups</String>
-<String name="REPORT_GROUP">Report Group</String>
-<String name="REPORT_FIELDS">Report Fields</String>
-<String name="GROUP_PROPERTIES">Group Properties</String>
-<String name="DISPLAY_HEADER_FOOTER">Display Group Header/Footer</String>
-<String name="GROUP_SORT_DIRECTION">Group Sort Direction</String>
-<String name="GROUP_TYPE">Group Type</String>
-<String name="VIEWEDITOR_TAB_SURFACE_PROMPTS">Surface Prompts</String>
-<String name="HEADER">Header</String>
-<String name="FOOTER">Footer</String>
-<String name="DISPLAY_IN">Display in</String>
-<String name="ROW_FILTER_TAB">Row Filter</String>
-<String name="GROUP_FILTER_TAB">Group Filter</String>
-<String name="SUMMARY_FUNCTIONS">Summary Function(s)</String>
-<String name="REPORT_FOOTER">Report Footer</String>
-<String name="GROUP_FOOTER">Group Footer</String>
-<String name="DETAIL">Detail</String>
-<String name="SAME_VALUE">Same Value</String>
-<String name="CHOOSE_CONTENT_TYPE">Choose Content Type</String>
-<String name="PIE_GROUPS_AND_MULTIPLE_SERIES">If you group by a field, you can only choose one Summary Function for one Chart Value.</String>
-<String name="CHART_FIELDS_WITHOUT_AGGREGATES">You must select at least one summary function for each chart value.</String>
-<String name="AGGREGATE_SUM">Sum</String>
-<String name="AGGREGATE_AVERAGE">Average</String>
-<String name="AGGREGATE_MINIMUM">Minimum</String>
-<String name="AGGREGATE_MAXIMUM">Maximum</String>
-<String name="AGGREGATE_COUNT">Count</String>
-<String name="AGGREGATE_COUNTDISTINCT">Count Distinct</String>
-<String name="CHOOSE_GROUPS">Group</String>
-<String name="CHOOSE_SUMMARY">Summary</String>
-<String name="COLUMNS">Columns</String>
-<String name="ROWS">rows</String>
-<String name="VALUES">Values</String>
-<String name="SHOW_INTERMEDIATE_SUMMARY_FUNCTIONS">Show intermediate summary functions</String>
-<String name="SUMMARY_LEVELS">Summary Levels</String>
-<String name="HIDE">Hide</String>
-<String name="ARRANGE">Arrange</String>
-<String name="DATA_OBJECT">data object</String>
-<String name="FILTER_NAV_WARNING">You must click Add/Update Entry to apply the filter</String>
-<String name="FILTER_NAV_WARNING_TITLE">Filter Entry</String>
-<String name="CROSSTAB_EDITOR">Crosstab Editor</String>
-<String name="CROSSTAB_ROW_HELP_TEXT">Drag fields here to put the values on the row axis.</String>
-<String name="CROSSTAB_ERROR_NO_ROWS_OR_COLUMNS">There must be at least one field in either rows or columns.</String>
-<String name="CROSSTAB_ERROR_NO_VALUES">There must be at least one field selected for values.</String>
-<String name="CROSSTAB_ERROR_BUCKET">Invalid value for Time Group quantity. Year should be a perfect divisor of 10, Month of 12, Week of 52, and Hour of 24. Minute and Second should be a perfect divisor of 60. Quarter and Day of Year/Month/Week values can only be 1.</String>
-<String name="VIEWEDITOR_TAB_FIELDS">Fields</String>
-<String name="VIEWEDITOR_TAB_SORT">Sort</String>
-<String name="VIEWEDITOR_TAB_DATA_OBJECTS">Data Objects</String>
-<String name="VIEWEDITOR_TAB_ACTIONS">Actions</String>
-<String name="VIEWEDITOR_TAB_EDITABLEFIELDS">Editable Fields</String>
-<String name="VIEWEDITOR_TAB_FILTER">Filter</String>
-<String name="VIEWEDITOR_TAB_TOPN">Top N</String>
-<String name="VIEWEDITOR_TAB_DRILLING">Drilling</String>
-<String name="VIEWEDITOR_TAB_CALCULATION">Calculation</String>
-<String name="VIEWEDITOR_TAB_SUMMARY">Summary</String>
-<String name="VIEWEDITOR_TAB_GROUP">Group</String>
-<String name="VIEWEDITOR_TAB_DRIVING">Driving</String>
-<String name="VIEWEDITOR_TAB_GENERAL">General</String>
-<String name="VIEWEDITOR_TAB_CONTENT">Content</String>
-<String name="VIEWEDITOR_TAB_SHADING">Shading</String>
-<String name="VIEWEDITOR_TAB_TEXT">Text</String>
-<String name="VIEWEDITOR_TAB_ALIGN">Align</String>
-<String name="VIEWEDITOR_TAB_CONDITIONAL_FORMAT">Cond Format</String>
-<String name="VIEWEDITOR_TAB_VALUE_FORMAT">Value Format</String>
-<String name="VIEWEDITOR_TAB_DATALABELS">Data Labels</String>
-<String name="VIEWEDITOR_TAB_FONT">Font</String>
-<String name="VIEWEDITOR_TAB_ACTIVE_DATA">Active Data</String>
-<String name="VIEWEDITOR_TAB_AXIS">Axis</String>
-<String name="VIEWEDITOR_TAB_ACTION_FORM_CONTENT_TYPE">Content Type</String>
-<String name="VIEWEDITOR_TAB_ACTION_FORM_INPUTS">Inputs</String>
-<String name="VIEWEDITOR_TAB_ACTION_FORM_ASSOCIATIONS">Associations</String>
-<String name="VIEWEDITOR_TAB_GAUGE_STYLE">Gauge Styles</String>
-<String name="VIEWEDITOR_TAB_THEMES">Themes</String>
-<String name="BACKGROUND_COLOR">Background color</String>
-<String name="VIEWEDITOR_COLLAPSE_TIP_TEXT">Collapse Edit Pane</String>
-<String name="VIEWEDITOR_EXPAND_TIP_TEXT">Expand Edit Pane</String>
-<String name="VIEWEDITOR_MOVE_TIP_TEXT">Move Edit Pane</String>
-<String name="TOPN_TITLE_BARCHART">Display the Top N based on the first series of the chart</String>
-<String name="TOPN_TITLE_STACKEDBARCHART">Display the Top N based on the sum of the series of the chart</String>
-<String name="TOPN_TITLE_UPDATINGORDEREDLIST">Display the Top N based on the current sort criteria</String>
-<String name="VIEWEDITOR_TAB_LAYOUT">Layout</String>
-<String name="TOPN_QUANTITY">Quantity</String>
-<String name="TOPN_ADD_RANK_FIELD">Add a field displaying the rank number</String>
-<String name="TOPN_FIELD_NAME">Field Name</String>
-<String name="RANK_COLUMN">Rank Field</String>
-<String name="SELECT_STYLE">Select Style</String>
-<String name="STYLE1">High Performance</String>
-<String name="STYLE2">Horizon</String>
-<String name="MEDALLION">Medallion</String>
-<String name="VIEWEDITOR_TAB_MACROS">Macro Options</String>
-<String name="VIEWEDITOR_TAB_DATA_TRANSFER">Data Transfer</String>
-<String name="VIEWEDITOR_MACRO_BEFORE">Run this macro before</String>
-<String name="VIEWEDITOR_MACRO_AFTER">Run this macro after</String>
-<String name="VIEWEDITOR_EXCEL_NAME">Name</String>
-<String name="EXCEL_PROPERTIES_MACRO_STRING1">Run on data transfer</String>
-<String name="EXCEL_PROPERTIES_DATA_STRING1">Name definition for data</String>
-<String name="VIEWEDITOR_UOL_TOPN_NO_SORT">For Updating Ordered List views, apply a sort for Top N to display.</String>
-<String name="VIEWEDITOR_UOL_RANKCOLORS_NO_SORT">For Updating Ordered List views, apply a sort for Rank Colors to display.</String>
-<String name="VIEWEDITOR_UOL_TOPN_NO_SORT_TITLE">View Editor</String>
-<String name="SUMMARIZE">Summarize</String>
-<String name="SHOULD_COLLAPSE_WITH_NO_AGGREGATES">You must choose an aggregate function to Summarize a List.</String>
-<String name="VIEWEDITOR_UOL_SORTFIELD_NOT_SELECTED">For Updating Ordered List views, a field must be selected in the Fields page if you want to sort on it.</String>
-<String name="VIEWEDITOR_TAB_PATTERNS">Patterns</String>
-<String name="TIMEBUCKETS_NEGATIVEORZERO">Cannot create a negative or zero grouped time bucket.</String>
-<String name="TIMEBUCKETS_NONTIMEBASEDFUNCTION">Cannot create time buckets with a non time based function.</String>
-<String name="TIMEBUCKETS_NOTDIVISIBLE">is not a supported quantity for this time unit. \nSelect a quantity that divides evenly into</String>
-<String name="TIMEBUCKETS_CONTINUOUSSINGLE">Cannot create a continuous time series with multiple groupings or units.</String>
-<String name="VIEWEDITOR_TAB_TARGET">Target</String>
-<String name="AGGREGATE_NOOP">Calculation</String>
-<String name="AGGREGATE_PERCENTOFTOTAL">Percent Of Total</String>
-<String name="TAB_CONTENTS">Tab Contents</String>
-<String name="DASHBOARD_TOOLBAR">Toolbar</String>
-<String name="DASHBOARD_CONTENTS">Dashboard Contents</String>
-<String name="TIMEBUCKETS_NOTDIVISIBLE_QUARTER">is not a supported quantity for Quarters. \nQuarters can only use a quantity of</String>
-<String name="CHART_FIELDS_MODIFIERS_GROUPLEVELS">You must group by the same number of fields for all Data Objects.</String>
-<String name="CHART_FIELDS_MODIFIERS_GROUPLEVELS_TYPE">You must group by the same type of fields for all Data Objects.</String>
-<String name="CHART_DATA_FIELDS">Chart Data Fields</String>
-<String name="CHART_DATA_FIELDS_INDEX_MEASURE_SELECT">A field cannot be selected as an index and a measure.</String>
-<String name="CHART_DATA_FIELDS_SELECT_INDEX">Please select an Index</String>
-<String name="CHART_DATA_FIELDS_SELECT_MEASURE">Please select a Measure</String>
-<String name="CHART_DATA_FIELDS_PASS_FILTER">Please type in a Pass Filter</String>
-<String name="CHART_INDEX">Index</String>
-<String name="CHART_SPC_MEASURES">SPC Chart Measures</String>
-<String name="VIEWEDITOR_TAB_3D_VIEW">3D View</String>
-<String name="VIEW_EDITOR_DATA_ICON_TEXT">Data</String>
-<String name="VIEW_EDITOR_PROPERTIES_ICON_TEXT">Properties</String></Translated><Translated><String name="TIME_GROUP_TIME_UNIT">Time Unit</String>
-<String name="TIME_GROUP_QUANTITY">Quantity</String>
-<String name="TIME_BUCKETS">Time Groups</String>
-<String name="TIME_BUCKET_YEAR">Year</String>
-<String name="TIME_BUCKET_QUARTER">Quarter</String>
-<String name="TIME_BUCKET_MONTH">Month</String>
-<String name="TIME_BUCKET_WEEK">Week</String>
-<String name="TIME_BUCKET_DAYOFYEAR">Day of Year</String>
-<String name="TIME_BUCKET_DAYOFMONTH">Day of Month</String>
-<String name="TIME_BUCKET_DAYOFWEEK">Day of Week</String>
-<String name="TIME_BUCKET_HOUR">Hour</String>
-<String name="TIME_BUCKET_MINUTE">Minute</String>
-<String name="TIME_BUCKET_SECOND">Second</String>
-<String name="USE_TIME_SERIES">Use time series</String>
-<String name="CONTINUOUS_TIME_SERIES">Continuous time series</String>
-<String name="USE_TIME_GROUPS">Use time groups</String></Translated></ViewEditor><HelpTopicId>bam_as_viewedit_doselect</HelpTopicId></Iteration>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6935697.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1452 +0,0 @@
-<?xml version="1.0"?>
-
-<xsl:stylesheet version="2.0"
-  xmlns:Iteration="http://www.iterationsoftware.com"
-  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-  xmlns:xalan="http://xml.apache.org/xalan"
-  xmlns:HTML="http://www.w3.org/Profiles/XHTML-transitional"
-  xmlns:v="urn:schemas-microsoft-com:vml"
-  xmlns:local="#local-functions">
-
-  <xsl:output method="xml" encoding="UTF-8" cdata-section-elements="CalcExpression Value"/>
-
-  <xsl:variable name="TabRowHeight">21</xsl:variable>
-
-  <xsl:variable name="DataEditor">
-      <xsl:call-template name="DataEditor"/>
-  </xsl:variable>
-
-  <xsl:variable name="PropertyEditor">
-    <PropertyEditor>
-      <View>
-        <ContentType>StreamingList</ContentType>
-        <ContentType>UpdatesList</ContentType>
-        <ContentType>List</ContentType>
-        <ContentType>UpdatingOrderedList</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
-          <Event>ValueFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
-          <Event>ActiveData</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRIVING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRIVING']"/></xsl:attribute>
-          <Event>Driving</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>CollapsedList</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
-          <Event>ValueFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
-          <Event>ActiveData</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRIVING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRIVING']"/></xsl:attribute>
-          <Event>Driving</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>ActionList</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_ACTIONS" path="/activestudio/stylesheets/xsl/vieweditor/views/list">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIONS']"/></xsl:attribute>
-          <Event>Actions</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_EDITABLEFIELDS" path="/activestudio/stylesheets/xsl/vieweditor/views/list">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_EDITABLEFIELDS']"/></xsl:attribute>
-          <Event>EditableFields</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
-          <Event>ValueFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
-          <Event>ActiveData</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRIVING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRIVING']"/></xsl:attribute>
-          <Event>Driving</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>OWCSpreadsheet</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor/views/owcspreadsheet">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
-          <Event>ActiveData</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>ExcelSpreadsheet</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor/views/excelspreadsheet">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_MACROS" path="/activestudio/stylesheets/xsl/vieweditor/views/excelspreadsheet">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_MACROS']"/></xsl:attribute>
-          <Event>Macros</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DATA_TRANSFER" path="/activestudio/stylesheets/xsl/vieweditor/views/excelspreadsheet">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DATA_TRANSFER']"/></xsl:attribute>
-          <Event>DataTransfer</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>Columnar</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
-          <Event>ValueFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
-          <Event>ActiveData</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>DialGauge</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>GeneralDial</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_GAUGE_STYLE">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GAUGE_STYLE']"/></xsl:attribute>
-          <Event>Styles</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
-          <Event>ValueFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>Arrow</ContentType>
-        <ContentType>MarketArrow</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor/views/kpi/arrow">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>GeneralArrow</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
-          <Event>ValueFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>RangeGauge</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>GeneralRange</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_GAUGE_STYLE">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GAUGE_STYLE']"/></xsl:attribute>
-          <Event>Styles</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
-          <Event>ValueFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-      </View>
-
-      <View>
-        <ContentType>SurfacePrompts</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor/views/surfaceprompts">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS" path="/activestudio/stylesheets/xsl/vieweditor/views/surfaceprompts">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
-          <Event>SurfacePrompts</Event>
-        </Page>
-      </View>
-
-      <View>
-        <ContentType>Container</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor/views/surfaceprompts">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRILLING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
-          <Event>Drilling</Event>
-        </Page>
-      </View>
-
-      <View>
-        <ContentType>RowGroup</ContentType>
-        <ContentType>ColumnGroup</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_LAYOUT" path="/activestudio/stylesheets/xsl/vieweditor/views/group">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_LAYOUT']"/></xsl:attribute>
-          <Event>Layout</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-      </View>
-
-      <View>
-        <ContentType>CustomContent</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_CONTENT">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CONTENT']"/></xsl:attribute>
-          <Event>ChooseContentType</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-      </View>
-
-      <View>
-        <ContentType>TabGroup</ContentType>
-        <Page id="TAB_CONTENTS">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='TAB_CONTENTS']"/>
-          </xsl:attribute>
-          <Event>TabContents</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-      </View>
-
-      <View>
-        <ContentType>Dashboard</ContentType>
-        <Page id="DASHBOARD_CONTENTS">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='DASHBOARD_CONTENTS']"/>
-          </xsl:attribute>
-          <Event>DashboardContents</Event>
-        </Page>
-        <Page id="DASHBOARD_TOOLBAR">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='DASHBOARD_TOOLBAR']"/>
-          </xsl:attribute>
-          <Event>DashboardToolbar</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-      </View>
-
-      <View>
-        <ContentType>ActionForm</ContentType>
-        <Page id="VIEWEDITOR_TAB_ACTION_FORM_CONTENT_TYPE">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTION_FORM_CONTENT_TYPE']"/></xsl:attribute>
-          <Event>chooseActionFormType</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_ACTION_FORM_INPUTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTION_FORM_INPUTS']"/></xsl:attribute>
-          <Event>inputs</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_ACTION_FORM_ASSOCIATIONS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTION_FORM_ASSOCIATIONS']"/></xsl:attribute>
-          <Event>associations</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-      </View>
-
-      <View>
-        <ContentType>BarChart</ContentType>
-        <ContentType>LineChart</ContentType>
-        <ContentType>AreaChart</ContentType>
-        <ContentType>ComboChart</ContentType>
-        <ContentType>StackedBarChart</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_AXIS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_AXIS']"/></xsl:attribute>
-          <Event>Axis</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DATALABELS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DATALABELS']"/></xsl:attribute>
-          <Event>DataLabels</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
-          <Event>ValueFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_THEMES">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_THEMES']"/></xsl:attribute>
-          <Event>Themes</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
-          <Event>ActiveData</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_PATTERNS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_PATTERNS']"/></xsl:attribute>
-          <Event>Patterns</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TARGET">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TARGET']"/></xsl:attribute>
-          <Event>Target</Event>
-        </Page>
-      </View>
-
-      <View>
-        <ContentType>ThreeDBarChart</ContentType>
-        <ContentType>ThreeDLineChart</ContentType>
-        <ContentType>ThreeDAreaChart</ContentType>
-        <ContentType>ThreeDComboChart</ContentType>
-        <ContentType>ThreeDStackedBarChart</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_AXIS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_AXIS']"/></xsl:attribute>
-          <Event>Axis</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DATALABELS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DATALABELS']"/></xsl:attribute>
-          <Event>DataLabels</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
-          <Event>ValueFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_THEMES">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_THEMES']"/></xsl:attribute>
-          <Event>Themes</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
-          <Event>ActiveData</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_PATTERNS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_PATTERNS']"/></xsl:attribute>
-          <Event>Patterns</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TARGET">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TARGET']"/></xsl:attribute>
-          <Event>Target</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_3DVIEW">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_3D_VIEW']"/></xsl:attribute>
-          <Event>3DView</Event>
-        </Page>
-      </View>
-      <View>
-
-        <Page id="VIEWEDITOR_TAB_GENERAL">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DATALABELS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DATALABELS']"/></xsl:attribute>
-          <Event>DataLabels</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
-          <Event>ValueFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-
-      </View>
-      <View>
-        <ContentType>RChart</ContentType>
-        <ContentType>SChart</ContentType>
-        <ContentType>PChart</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_AXIS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_AXIS']"/></xsl:attribute>
-          <Event>Axis</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
-          <Event>ValueFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_THEMES">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_THEMES']"/></xsl:attribute>
-          <Event>Themes</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
-          <Event>ActiveData</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>PieChart</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DATALABELS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DATALABELS']"/></xsl:attribute>
-          <Event>DataLabels</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
-          <Event>ValueFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_THEMES" path="/activestudio/stylesheets/xsl/vieweditor/views/chart">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_THEMES']"/></xsl:attribute>
-          <Event>Themes</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
-          <Event>ActiveData</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_PATTERNS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_PATTERNS']"/></xsl:attribute>
-          <Event>Patterns</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>ThreeDPieChart</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DATALABELS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DATALABELS']"/></xsl:attribute>
-          <Event>DataLabels</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
-          <Event>ValueFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_THEMES" path="/activestudio/stylesheets/xsl/vieweditor/views/chart">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_THEMES']"/></xsl:attribute>
-          <Event>Themes</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
-          <Event>ActiveData</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_PATTERNS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_PATTERNS']"/></xsl:attribute>
-          <Event>Patterns</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_3DVIEW">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_3D_VIEW']"/></xsl:attribute>
-          <Event>3DView</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>CrossTab</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
-          <Event>ValueFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_THEMES" path="/activestudio/stylesheets/xsl/vieweditor/views/crosstab">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_THEMES']"/></xsl:attribute>
-          <Event>Themes</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
-          <Event>ActiveData</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRIVING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRIVING']"/></xsl:attribute>
-          <Event>Driving</Event>
-        </Page>
-      </View>
-
-      <View>
-        <ContentType>Matrix</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
-          <Event>ValueFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_CONDITIONAL_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CONDITIONAL_FORMAT']"/></xsl:attribute>
-          <Event>ConditionalFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_THEMES" path="/activestudio/stylesheets/xsl/vieweditor/views/crosstab">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_THEMES']"/></xsl:attribute>
-          <Event>Themes</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
-          <Event>ActiveData</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRIVING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRIVING']"/></xsl:attribute>
-          <Event>Driving</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>SummaryCrosstab</ContentType>
-        <Page id="VIEWEDITOR_TAB_GENERAL">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
-          <Event>General</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
-          <Event>BordersAndShading</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
-            <xsl:text> &amp; </xsl:text>
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
-          </xsl:attribute>
-          <Event>TextAndAlignment</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
-          <Event>Font</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
-          <Event>ValueFormat</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
-          <Event>ActiveData</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRIVING" path="/activestudio/stylesheets/xsl/vieweditor">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRIVING']"/></xsl:attribute>
-          <Event>Driving</Event>
-        </Page>
-      </View>
-
-    </PropertyEditor>
-  </xsl:variable>
-
-  <xsl:variable name="view_type"><xsl:value-of select="//ViewEditor/@ViewType"/></xsl:variable>
-  <xsl:variable name="InitialTabEvent"><xsl:value-of select="//ViewEditor/@Page"/></xsl:variable>
-
-  <xsl:template match="/">
-    <xsl:apply-templates select="Iteration"/>
-  </xsl:template>
-
-  <xsl:template match="Iteration">
-
-
-
-    <script>
-
-	  var g_strInitialTabID = "<xsl:choose>
-        <xsl:when test="//ViewEditor/@Context = 'Data'">
-          <xsl:value-of select="xalan:nodeset($DataEditor)/DataEditor/View[ContentType=$view_type]/Page[Event = $InitialTabEvent]/@id"/>
-        </xsl:when>
-        <xsl:otherwise>
-          <xsl:value-of select="xalan:nodeset($PropertyEditor)/PropertyEditor/View[ContentType=$view_type]/Page[Event = $InitialTabEvent]/@id"/>
-        </xsl:otherwise>
-      </xsl:choose>";
-
-      var g_strCurrentDataEditorTabID = "<xsl:value-of select="xalan:nodeset($DataEditor)/DataEditor/View[ContentType=$view_type]/Page[1]/@id"/>";
-      var g_strCurrentPropertyEditorTabID = "<xsl:value-of select="xalan:nodeset($PropertyEditor)/PropertyEditor/View[ContentType=$view_type]/Page[1]/@id"/>";
-
-    </script>
-
-      <xsl:apply-templates select="ViewEditor"/>
-  </xsl:template>
-
-  <xsl:template match="ViewEditor">
-    <Iteration:viewEditor id="viewEditor" mode="editor">
-      <xsl:attribute name="bAnimate"><xsl:value-of select="@bViewEditorAnimation"/></xsl:attribute>
-
-
-
-
-
-    <tbody id="viewEditorBody">
-      <tr>
-        <td><xsl:call-template name="Content"/></td>
-        </tr>
-    </tbody>
-
-
-
-    </Iteration:viewEditor>
-  </xsl:template>
-
-  <xsl:template name="Content">
-          <xsl:attribute name="height"><xsl:value-of select="$TabRowHeight"/></xsl:attribute>
-          <xsl:call-template name="ContentScroller">
-            <xsl:with-param name="UniqueScrollerID">DataTabsScroller</xsl:with-param>
-            <xsl:with-param name="ScrolledRegionHeight"><xsl:value-of select="$TabRowHeight"/></xsl:with-param>
-            <xsl:with-param name="ScrolledContentTop">2</xsl:with-param>
-            <xsl:with-param name="HTMLContent">
-              <Iteration:TabBar id="ViewEditorDataTabBar" TabStyle="Editor">
-                <xml id="TabsXML">
-                  <Tabs>
-                    <xsl:apply-templates select="xalan:nodeset($DataEditor)/DataEditor/View[ContentType=$view_type]/Page"></xsl:apply-templates>
-                  </Tabs>
-                </xml>
-              </Iteration:TabBar>
-            </xsl:with-param>
-          </xsl:call-template>
-    </xsl:template>
-
-  <xsl:template match="Page">
-    <Tab>
-      <xsl:attribute name="TabID"><xsl:value-of select="@id"/></xsl:attribute>
-      <TabText>
-        <xsl:attribute name="strText"><xsl:value-of select="@label"/></xsl:attribute>
-      </TabText>
-      <Description>
-        <xsl:attribute name="strDescription"><xsl:value-of select="@label"/></xsl:attribute>
-      </Description>
-      <OnClick bCheckForSuccess="true">
-        <xsl:attribute name="onclick">viewEditor.SelectTab('<xsl:value-of select="@id"/>');</xsl:attribute>
-      </OnClick>
-      <TabProperties>
-        <TabProperty name="label">
-          <xsl:attribute name="value"><xsl:value-of select="@label"/></xsl:attribute>
-        </TabProperty>
-        <TabProperty name="event">
-          <xsl:attribute name="value"><xsl:value-of select="Event"/></xsl:attribute>
-        </TabProperty>
-        <TabProperty name="path">
-          <xsl:attribute name="value"><xsl:value-of select="@path"/></xsl:attribute>
-        </TabProperty>
-      </TabProperties>
-    </Tab>
-  </xsl:template>
-
-  <xsl:template name="ContentScroller">
-    <xsl:param name="UniqueScrollerID"/>
-    <xsl:param name="ClassName"/>
-    <xsl:param name="ScrolledRegionHeight"/>
-    <xsl:param name="ScrolledContentTop"/>
-    <xsl:param name="AttachResize">true</xsl:param>
-    <xsl:param name="HTMLContent"/>
-
-    <Iteration:ContentScroller>
-      <xsl:attribute name="id"><xsl:value-of select="$UniqueScrollerID"/></xsl:attribute>
-
-      <table cellspacing="0" cellpadding="0" border="0" width="100%" style="margin:0;">
-        <xsl:attribute name="class"><xsl:value-of select="$ClassName"/></xsl:attribute>
-        <tr>
-          <td id="LeftScrollerButton" style="padding-right:5px;padding-left:2px;display:none;">
-            <img src="../shared/images/scroller_leftarrow.gif">
-              <xsl:attribute name="onmousedown"><xsl:value-of select="$UniqueScrollerID"/>.StartScrollLeft();</xsl:attribute>
-              <xsl:attribute name="onmouseout"><xsl:value-of select="$UniqueScrollerID"/>.EndScroll();</xsl:attribute>
-              <xsl:attribute name="onmouseup"><xsl:value-of select="$UniqueScrollerID"/>.EndScroll();</xsl:attribute>
-            </img>
-          </td>
-
-          <td width="100%">
-            <div id="OuterScrollDiv">
-              <xsl:if test="$AttachResize = 'true'">
-                <xsl:attribute name="onresize"><xsl:value-of select="$UniqueScrollerID"/>.OnResize();</xsl:attribute>
-              </xsl:if>
-              <xsl:attribute name="style">
-                position:relative;overflow:hidden;width:100%;height:<xsl:value-of select="$ScrolledRegionHeight"/>px;
-              </xsl:attribute>
-              <div id="ScrollDiv">
-                <xsl:attribute name="style">
-                  position:absolute;width:100%;left:0px;top:<xsl:value-of select="$ScrolledContentTop"/>px;
-                </xsl:attribute>
-                <xsl:copy-of select="$HTMLContent"/>
-              </div>
-            </div>
-          </td>
-
-        </tr>
-      </table>
-    </Iteration:ContentScroller>
-
-  </xsl:template>
-
-
-  <xsl:template name="DataEditor">
-    <DataEditor>
-      <View>
-        <ContentType>UpdatingOrderedList</ContentType>
-        <ContentType>ActionList</ContentType>
-        <Page id="DATA_OBJECTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
-          <Event>datasets</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FIELDS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
-          <Event>fields</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SORT">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SORT']"/></xsl:attribute>
-          <Event>sort</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FILTER">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
-          <Event>rowFilter</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TOPN">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TOPN']"/></xsl:attribute>
-          <Event>topN</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_CALCULATION">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
-          <Event>calculations</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRILLING">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
-          <Event>drilling</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
-          <Event>surfacePrompts</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>CollapsedList</ContentType>
-        <ContentType>List</ContentType>
-        <ContentType>OWCSpreadsheet</ContentType>
-        <ContentType>ExcelSpreadsheet</ContentType>
-        <Page id="DATA_OBJECTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
-          <Event>datasets</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FIELDS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
-          <Event>fields</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SORT">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SORT']"/></xsl:attribute>
-          <Event>sort</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FILTER">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
-          <Event>rowFilter</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_CALCULATION">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
-          <Event>calculations</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRILLING">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
-          <Event>drilling</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
-          <Event>surfacePrompts</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>StreamingList</ContentType>
-        <ContentType>UpdatesList</ContentType>
-        <Page id="DATA_OBJECTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
-          <Event>datasets</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FIELDS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
-          <Event>fields</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FILTER">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
-          <Event>rowFilter</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_CALCULATION">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
-          <Event>calculations</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRILLING">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
-          <Event>drilling</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
-          <Event>surfacePrompts</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>CrossTab</ContentType>
-        <Page id="DATA_OBJECTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
-          <Event>datasets</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FIELDS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
-          <Event>crosstabFields</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SUMMARY">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SUMMARY']"/></xsl:attribute>
-          <Event>aggregate</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FILTER">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
-          <Event>rowFilter</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_CALCULATION">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
-          <Event>calculations</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRILLING">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
-          <Event>drilling</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
-          <Event>surfacePrompts</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>Matrix</ContentType>
-        <Page id="DATA_OBJECTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
-          <Event>datasets</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FIELDS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
-          <Event>crosstabFields</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FILTER">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
-          <Event>rowFilter</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRILLING">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
-          <Event>drilling</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_CALCULATION">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
-          <Event>calculations</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
-          <Event>surfacePrompts</Event>
-        </Page>
-     </View>
-     <View>
-        <ContentType>SummaryCrosstab</ContentType>
-        <Page id="DATA_OBJECTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
-          <Event>datasets</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FIELDS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
-          <Event>crosstabFields</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SUMMARY">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SUMMARY']"/></xsl:attribute>
-          <Event>aggregate</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FILTER">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
-          <Event>rowFilter</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_CALCULATION">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
-          <Event>calculations</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRILLING">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
-          <Event>drilling</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
-          <Event>surfacePrompts</Event>
-        </Page>
-     </View>
-     <View>
-        <ContentType>Columnar</ContentType>
-        <Page id="DATA_OBJECTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
-          <Event>datasets</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FIELDS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
-          <Event>fields</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_GROUP">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GROUP']"/></xsl:attribute>
-          <Event>group</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SUMMARY">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SUMMARY']"/></xsl:attribute>
-          <Event>aggregate</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FILTER">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
-          <Event>rowFilter</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_CALCULATION">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
-          <Event>calculations</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRILLING">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
-          <Event>drilling</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>StackedBarChart</ContentType>
-        <ContentType>LineChart</ContentType>
-        <ContentType>AreaChart</ContentType>
-        <ContentType>ComboChart</ContentType>
-        <ContentType>ThreeDStackedBarChart</ContentType>
-        <ContentType>ThreeDLineChart</ContentType>
-        <ContentType>ThreeDAreaChart</ContentType>
-        <ContentType>ThreeDComboChart</ContentType>
-        <Page id="DATA_OBJECTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
-          <Event>datasets</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FIELDS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
-          <Event>chartFields</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FILTER">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
-          <Event>rowFilter</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TOPN">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TOPN']"/></xsl:attribute>
-          <Event>topN</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_CALCULATION">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
-          <Event>calculations</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRILLING">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
-          <Event>drilling</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
-          <Event>surfacePrompts</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>RChart</ContentType>
-        <ContentType>SChart</ContentType>
-        <ContentType>PChart</ContentType>
-        <Page id="DATA_OBJECTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
-          <Event>datasets</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FIELDS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
-          <Event>chartFields</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FILTER">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
-          <Event>rowFilter</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_CALCULATION">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
-          <Event>calculations</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRILLING">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
-          <Event>drilling</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
-          <Event>surfacePrompts</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>BarChart</ContentType>
-        <ContentType>ThreeDBarChart</ContentType>
-        <Page id="DATA_OBJECTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
-          <Event>datasets</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FIELDS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
-          <Event>chartFields</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FILTER">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
-          <Event>rowFilter</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_TOPN">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TOPN']"/></xsl:attribute>
-          <Event>topN</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_CALCULATION">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
-          <Event>calculations</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRILLING">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
-          <Event>drilling</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
-          <Event>surfacePrompts</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>PieChart</ContentType>
-        <ContentType>ThreeDPieChart</ContentType>
-
-        <Page id="DATA_OBJECTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
-          <Event>datasets</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FIELDS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
-          <Event>chartFields</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FILTER">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
-          <Event>rowFilter</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_CALCULATION">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
-          <Event>calculations</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRILLING">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
-          <Event>drilling</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
-          <Event>surfacePrompts</Event>
-        </Page>
-      </View>
-      <View>
-        <ContentType>Arrow</ContentType>
-        <ContentType>MarketArrow</ContentType>
-        <ContentType>RangeGauge</ContentType>
-        <ContentType>DialGauge</ContentType>
-        <Page id="DATA_OBJECTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
-          <Event>datasets</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FIELDS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
-          <Event>kPIFields</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FILTER">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
-          <Event>rowFilter</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_CALCULATION">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
-          <Event>calculations</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_DRILLING">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
-          <Event>drilling</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
-          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
-          <Event>surfacePrompts</Event>
-        </Page>
-      </View>
-    </DataEditor>
-  </xsl:template>
-
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6935697Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.FileOutputStream;
-
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6935697
- * @summary Test XSLT can parse the certain xsl.
- */
-public class CR6935697Test {
-
-    @Test
-    public final void testTransform() {
-
-        try {
-
-            String inFilename = "CR6935697.xml";
-            String xslFilename = "CR6935697.xsl";
-            String outFilename = "CR6935697.out";
-
-            // Create transformer factory
-            TransformerFactory factory = TransformerFactory.newInstance();
-            // Use the factory to create a template containing the xsl file
-            Templates template = factory.newTemplates(new StreamSource(getClass().getResourceAsStream(xslFilename)));
-            // Use the template to create a transformer
-            Transformer xformer = template.newTransformer();
-            // Prepare the input and output files
-            Source source = new StreamSource(getClass().getResourceAsStream(inFilename));
-            Result result = new StreamResult(new FileOutputStream(outFilename));
-            // Apply the xsl file to the source file and write the result to the
-            // output file
-            xformer.transform(source, result);
-
-        } catch (Exception e) {
-            // unexpected failure
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6941869.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<a>
-  <b>
-    <c>
-      <d>
-        <e attr="foo">
-	  E3
-        </e>
-      </d>
-    </c>
-  </b>
-  <b>
-    <c>
-      <d>
-        <e attr="bar">
-	  E3
-        </e>
-      </d>
-    </c>
-  </b>
-</a>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6941869.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-  <!-- Xalan 2.6 contained in the Sun JDK 1.5 u12 and newer has issues with
-       evaluating grouping nodes according the Muenchian Method (by Steve Muench),
-       where nodes are stored in a key data structure for the group key, and later
-       a group start is checked by checking for the first node retrieved for a key.
-       The nodes are compared using a set union, where the size of the set should
-       be 1 when the nodes are identical, and different to 1 when the nodes are
-       different.
-       The issue with Xalan 2.6 as part of the JDK is, that it does not evaluate the
-       expression "count(.|key('props', subexpr)[1])" correctly. It always returns
-       "1". If the argument expression of count() is stored in a variable first,
-       and the variable is used as argument for count(), then everything works fine.
-  -->
-
-
-
-  <xsl:key name="props" match="c" use="d/e"/>
-  <xsl:template match="a">
-
-    Working (by replacing the count() argument with a variable):
-    <xsl:for-each select="b">
-      <xsl:for-each select="c">
-        <xsl:variable name="tNodeSet" select=".|key('props', d/e)[1]"/>
-        <xsl:for-each select="$tNodeSet">
-        Node <xsl:value-of select="d/e/@attr"/>;
-        </xsl:for-each>
-        count = <xsl:value-of select="count($tNodeSet)"/>
-      </xsl:for-each>
-        ---------
-    </xsl:for-each>
-    Not working in the 2nd loop iteration (by using the union expression as count() argument):
-    <xsl:for-each select="b">
-      <xsl:for-each select="c">
-        <!-- We replaced the variable "tNodeSet" by the related union expression.
-             The for-each loop will work correctly, but the count() will
-             always return "1" instead of first "1" and then "2".
-        -->
-
-        <xsl:for-each select=".|key('props', d/e)[1]">
-        Node <xsl:value-of select="d/e/@attr"/>;
-        </xsl:for-each>
-        count = <xsl:value-of select="count(.|key('props', d/e)[1])"/>
-      </xsl:for-each>
-        ---------
-    </xsl:for-each>
-
-  </xsl:template>
-</xsl:stylesheet>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6941869Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.File;
-import java.io.StringWriter;
-
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6941869
- * @summary Test XSLT evaluate "count(.|key('props', d/e)[1])" correctly.
- */
-public class CR6941869Test {
-
-    @Test
-    public final void testTransform() {
-        File xml = new File(getClass().getResource("CR6941869.xml").getFile());
-        File xsl = new File(getClass().getResource("CR6941869.xsl").getFile());
-        try {
-            TransformerFactory tFactory = TransformerFactory.newInstance();
-            Transformer transformer = tFactory.newTransformer();
-            StreamSource source = new StreamSource(xsl);
-            transformer = tFactory.newTransformer(source);
-            // the xml result
-            StringWriter xmlResultString = new StringWriter();
-            StreamResult xmlResultStream = new StreamResult(xmlResultString);
-
-            transformer.transform(new StreamSource(xml), xmlResultStream);
-            System.out.println(xmlResultString.toString());
-            String temp = xmlResultString.toString();
-            int pos = temp.lastIndexOf("count");
-            if (temp.substring(pos + 8, pos + 9).equals("1")) {
-                Assert.fail("count=1");
-            } else if (temp.substring(pos + 8, pos + 9).equals("2")) {
-                // expected success
-                System.out.println("count=2");
-            }
-        } catch (Exception e) {
-            // unexpected failure
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6957215.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<aaa name="aaa-name" package="aaa-package">
-  <bbb name="bbb-name" />
-</aaa>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6957215.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-  <xsl:output method="xml" indent="yes" />
-  <xsl:template match="aaa">
-    <xsl:copy>
-      <xsl:copy-of select="@*" />
-      <xsl:element name="aaa-ref">
-        <xsl:attribute name="name">namevalue</xsl:attribute>
-        <xsl:attribute name="package">packagevalue</xsl:attribute>
-      </xsl:element>
-    </xsl:copy>
-  </xsl:template>
-  <xsl:variable name="this">
-    <xsl:apply-templates select="aaa" />
-  </xsl:variable>
-  <xsl:template match="/">
-    <xsl:copy-of select="$this" />
-  </xsl:template>
-</xsl:stylesheet>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR6957215Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,87 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.StringWriter;
-
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6957215
- * @summary Test XSLT generates the element content using xsl:attribute instructions.
- */
-public class CR6957215Test {
-
-    @Test
-    public final void testTransform() {
-        xsl(getClass().getResource("CR6957215.xml").getFile(), getClass().getResource("CR6957215.xsl").getFile());
-    }
-
-    public static void xsl(String inFilename, String xslFilename) {
-        try {
-            // Create transformer factory
-            TransformerFactory factory = TransformerFactory.newInstance();
-
-            // Use the factory to create a template containing the xsl file
-            Templates template = factory.newTemplates(new StreamSource(new FileInputStream(xslFilename)));
-
-            // Use the template to create a transformer
-            Transformer xformer = template.newTransformer();
-
-            // Prepare the input and output files
-            Source source = new StreamSource(new FileInputStream(inFilename));
-
-            StringWriter strResult = new StringWriter();
-            Result result = new StreamResult(strResult);
-
-            // Apply the xsl file to the source file and write the result to the
-            // output file
-            xformer.transform(source, result);
-            String resultString = strResult.toString();
-            System.out.println(resultString);
-            if (resultString.indexOf("aaa-ref/") > 0)
-                Assert.fail("missing attributes");
-        } catch (FileNotFoundException e) {
-            e.printStackTrace();
-        } catch (TransformerConfigurationException e) {
-            // An error occurred in the XSL file
-            e.printStackTrace();
-        } catch (TransformerException e) {
-            e.printStackTrace();
-            // An error occurred while applying the XSL file
-            // Get location of error in input file
-            SourceLocator locator = e.getLocator();
-            int col = locator.getColumnNumber();
-            int line = locator.getLineNumber();
-            String publicId = locator.getPublicId();
-            String systemId = locator.getSystemId();
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR7098746.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<?xml-stylesheet type="text/xsl" href="../resources/style/page.xsl"?>
-
-<my:doc xmlns:my="http://www.jenitennison.com/" xmlns="http://www.w3.org/1999/xhtml">
-
-   <p>
-	These pages are all about XSLT, an XML-based language for translating one set of XML into another set of XML, or into HTML.  Of course, there are all sorts of <my:link href="#links">other pages</my:link>	around that cover XSLT.  Jeni's XSLT Pages, though, are dedicated to helping people understand and make the most of using XSLT.
-</p>
-   <p>
-	My warmest thanks to all those people who post interesting problems on <my:link href="http://www.mulberytech.com/xsl/xsl-list/">XSL-List</my:link>, and 	especially to those of you that have encouraged me to set up this site through your kind emails.
-</p>
-
-</my:doc>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR7098746.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,618 +0,0 @@
-<?xml version="1.0" encoding='UTF-8'?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version="1.0"
-                xmlns:my="http://www.jenitennison.com/"
-                xmlns="http://www.w3.org/1999/xhtml"
-                xmlns:html="http://www.w3.org/1999/xhtml"
-                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-                xmlns:dc="http://purl.org/dc/elements/1.1/"
-                xmlns:dcq="http://purl.org/dc/qualifiers/1.0/"
-                xmlns:vcf="http://www.ietf.org/internet-drafts/draft-dawson-vcard-xml-dtd-03.txt"
-                xmlns:msxsl="urn:schemas-microsoft-com:xslt"
-                exclude-result-prefixes="rdf dc dcq my html vcf msxsl">
-
-<xsl:output doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
-            cdata-section-elements="script"
-            indent="no"
-            method="xml"
-            encoding='UTF-8'/>
-
-<xsl:param name="dynamic" select="'true'" />
-<xsl:param name="base" select="'/'" />
-
-<xsl:variable name="supports-document" select="function-available('document')" />
-<xsl:variable name="supports-keys" select="function-available('key')" />
-
-<xsl:variable name="default-title" select='"Jeni&apos;s XML Site"' />
-
-<xsl:template match="my:doc">
-  <xsl:variable name="metadata" select="/*/rdf:RDF" />
-  <xsl:variable name="uri" select="$metadata/rdf:Description[1]/@about" />
-	<html>
-		<head>
-			<title>
-				<xsl:call-template name="get-metadata">
-					<xsl:with-param name="what" select="'title'" />
-				  <xsl:with-param name="about" select="$uri" />
-				</xsl:call-template>
-			</title>
-			<xsl:call-template name="get-metadata">
-				<xsl:with-param name="what" select="'link'" />
-				<xsl:with-param name="about" select="$uri" />
-			</xsl:call-template>
-			<link rel="alternate" type="text/xml" href="{$uri}" />
-			<xsl:call-template name="get-metadata">
-			  <xsl:with-param name="what" select="'rights'" />
-			  <xsl:with-param name="about" select="$uri" />
-			</xsl:call-template>
-		</head>
-		<body>
-			<xsl:if test="$dynamic = 'false'">
-				<p id="xml-link">
-					Try the <a href="{$uri}">XML version</a> of this page.
-					If you have problems with it, consult the
-					<a href="/compatibility.html">compatibility page</a>.
-				</p>
-			</xsl:if>
-			<xsl:apply-templates />
-			<xsl:apply-templates select="." mode="colophon" />
-		</body>
-	</html>
-</xsl:template>
-
-<xsl:template match="html:h1">
-  <h1>
-    <xsl:apply-templates />
-    <xsl:call-template name="insert-navigation" />
-  </h1>
-</xsl:template>
-
-<xsl:template name="insert-navigation">
-  <xsl:variable name="metadata" select="/*/rdf:RDF" />
-  <xsl:variable name="uri" select="$metadata/rdf:Description[1]/@about" />
-	<xsl:if test="$uri != concat($base, 'index.xml')">
-	<span id="link-top">
-		<a class="img">
-		  <xsl:attribute name="href">
-			  <xsl:choose>
-			    <xsl:when test="$dynamic = 'true'">/index.xml</xsl:when>
-
-			    <xsl:otherwise>/index.html</xsl:otherwise>
-			  </xsl:choose>
-		  </xsl:attribute>
-			<img src="{$base}resources/icons/top.gif" width="29" height="29" />
-		</a>
-	</span>
-  <span id="link-up">
-		<a class="img">
-			<xsl:attribute name="href">
-				<xsl:choose>
-					<xsl:when test="contains($uri, 'index.xml')">
-					  <xsl:choose>
-					    <xsl:when test="$dynamic = 'true'">../index.xml</xsl:when>
-					    <xsl:otherwise>../index.html</xsl:otherwise>
-					  </xsl:choose>						  
-					</xsl:when>
-					<xsl:otherwise>
-					  <xsl:choose>
-					    <xsl:when test="$dynamic = 'true'">index.xml</xsl:when>
-					    <xsl:otherwise>index.html</xsl:otherwise>
-					  </xsl:choose>
-					</xsl:otherwise>
-				</xsl:choose>
-			</xsl:attribute>
-			<img src="{$base}resources/icons/up.gif" width="29" height="29" />
-		</a>
-  </span>
-</xsl:if>
-</xsl:template>
-
-
-<xsl:template match="rdf:RDF" />
-
-<xsl:template name="get-metadata">
-	<xsl:param name="what" />
-	<xsl:param name="about" select="/*/rdf:RDF/rdf:Description/@about" />
-  <xsl:variable name="metadata" select="/*/rdf:RDF" />
-	<xsl:variable name="type">
-		<xsl:choose>
-			<xsl:when test="contains($what, '::')">
-				<xsl:value-of select="substring-before($what, '::')" />
-			</xsl:when>
-			<xsl:otherwise><xsl:value-of select="$what" /></xsl:otherwise>
-		</xsl:choose>
-	</xsl:variable>
-	<xsl:variable name="mode">
-		<xsl:choose>
-			<xsl:when test="contains($what, '::')">
-				<xsl:value-of select="substring-after($what, '::')" />
-			</xsl:when>
-			<xsl:otherwise />
-		</xsl:choose>
-	</xsl:variable>
-	<xsl:apply-templates select="$metadata/rdf:Description[@about = $about or
-	                                                       (@aboutEachPrefix != '' and starts-with($about, @aboutEachPrefix))]/*[local-name() = $type]">
-		<xsl:with-param name="mode" select="$mode" />
-	</xsl:apply-templates>
-</xsl:template>
-
-<xsl:template match="rdf:Description/*">
-	<xsl:param name="mode" />
-	<xsl:choose>
-		<xsl:when test="@rdf:resource != ''">
-			<xsl:call-template name="get-metadata">
-				<xsl:with-param name="about" select="@rdf:resource" />
-				<xsl:with-param name="what" select="$mode" />
-			</xsl:call-template>
-		</xsl:when>
-		<xsl:when test="$mode = '' and @rdf:value != ''">
-			<xsl:value-of select="@rdf:value" />
-		</xsl:when>
-		<xsl:when test="$mode = '' and *">
-			<xsl:apply-templates />
-		</xsl:when>
-		<xsl:otherwise>
-			<xsl:apply-templates select="." mode="get-metadata">
-				<xsl:with-param name="mode" select="$mode" />
-			</xsl:apply-templates>
-		</xsl:otherwise>
-	</xsl:choose>
-</xsl:template>
-
-<xsl:template match="html:link" mode="get-metadata">
-	<link>
-		<xsl:copy-of select="@*" />
-	</link>
-</xsl:template>
-
-<xsl:template match="dc:rights" mode="get-metadata">
-  <xsl:comment>
-    <xsl:value-of select="." />
-  </xsl:comment>
-</xsl:template>
-
-<xsl:template match="dc:date" mode="get-metadata">
-	<xsl:param name="mode" select="''" />
-	<xsl:if test="$mode = @dcq:dateType">
-		<xsl:value-of select="@rdf:value" />
-	</xsl:if>
-</xsl:template>
-
-<xsl:template match="vcf:vCard" mode="get-metadata">
-	<xsl:param name="mode" select="''" />
-	<xsl:choose>
-		<xsl:when test="$mode = 'mailto-link'">
-			<xsl:call-template name="link">
-				<xsl:with-param name="link">
-					<xsl:choose>
-						<xsl:when test="vcf:email[contains(@email.type, 'PREF')]">
-							<xsl:value-of select="vcf:email[contains(@email.type, 'PREF')]" />
-						</xsl:when>
-						<xsl:otherwise><xsl:value-of select="vcf:email[1]" /></xsl:otherwise>
-					</xsl:choose>
-				</xsl:with-param>
-				<xsl:with-param name="value">
-					<xsl:apply-templates select="vcf:n" mode="full" />
-				</xsl:with-param>
-			</xsl:call-template>
-		</xsl:when>
-		<xsl:when test="$mode = 'name'">
-			<xsl:apply-templates select="vcf:n" mode="full" />
-		</xsl:when>
-		<xsl:otherwise />
-	</xsl:choose>
-</xsl:template>
-
-<xsl:template match="vcf:n" mode="full">
-	<xsl:if test="vcf:prefix">
-		<xsl:value-of select="vcf:prefix" /><xsl:text> </xsl:text>
-	</xsl:if>
-	<xsl:choose>
-		<xsl:when test="../vcf:nickname">
-			<xsl:value-of select="../vcf:nickname" />
-		</xsl:when>
-		<xsl:otherwise>
-			<xsl:value-of select="vcf:given" />
-		</xsl:otherwise>
-	</xsl:choose>
-	<xsl:text> </xsl:text>
-	<xsl:value-of select="vcf:family" />
-</xsl:template>
-
-<xsl:template match="html:*">
-	<xsl:element name="{local-name()}">
-		<xsl:copy-of select="@*" />
-		<xsl:apply-templates />
-	</xsl:element>
-</xsl:template>
-
-<xsl:template match="my:vars">
-  <dl>
-    <xsl:apply-templates />
-  </dl>
-</xsl:template>
-
-<xsl:template match="my:var">
-  <dt id="{translate(my:name, ' ', '-')}">
-    <xsl:text/>$<xsl:value-of select="my:name" />
-    <xsl:choose>
-      <xsl:when test="my:value">
-        <xsl:text/> = <xsl:apply-templates select="my:value" />
-      </xsl:when>
-      <xsl:when test="my:default">
-        <xsl:text/> [= <xsl:apply-templates select="my:default" />]<xsl:text/>
-      </xsl:when>
-    </xsl:choose>
-  </dt>
-  <dd>
-    <xsl:if test="my:desc"><xsl:apply-templates select="my:desc" /></xsl:if>
-    <xsl:if test="my:option">
-      <ul>
-        <xsl:apply-templates select="my:option" />
-      </ul>
-    </xsl:if>
-    <xsl:apply-templates select="my:defn" />
-  </dd>
-</xsl:template>
-
-<xsl:template match="my:option">
-  <li><xsl:apply-templates select="my:value" />: <xsl:apply-templates select="my:desc" /></li>
-</xsl:template>
-
-<xsl:template match="my:value | my:default">
-  <xsl:choose>
-    <xsl:when test="@type">
-      <span class="{@type}">
-        <xsl:choose>
-          <xsl:when test="@type = 'string'">'<xsl:value-of select="." />'</xsl:when>
-          <xsl:when test="@type = 'rtf'">"<xsl:value-of select="." />"</xsl:when>
-          <xsl:otherwise><xsl:value-of select="." /></xsl:otherwise>
-        </xsl:choose>
-      </span>
-    </xsl:when>
-    <xsl:otherwise>
-      <xsl:value-of select="." />
-    </xsl:otherwise>
-  </xsl:choose>
-</xsl:template>
-
-<xsl:template match="my:post">
-	<div class="post">
-		<xsl:apply-templates />
-	</div>
-</xsl:template>
-
-<xsl:template match="my:response">
-	<div class="response">
-		<xsl:apply-templates />
-	</div>
-</xsl:template>
-
-<xsl:template match="my:question">
-	<div class="question">
-		<p>
-			<xsl:call-template name="insert-icon">
-				<xsl:with-param name="icon" select="'question'" />
-				<xsl:with-param name="active" select="false()" />
-			</xsl:call-template>
-			<xsl:text> </xsl:text>
-			<xsl:apply-templates select="*[1]/node()" />
-		</p>
-		<xsl:apply-templates select="*[position() > 1]"/>
-	</div>
-</xsl:template>
-
-<xsl:template match="my:example | my:defn">
-	<pre>
-		<xsl:apply-templates />
-	</pre>
-</xsl:template>
-
-<xsl:template match="my:example[parent::my:aside and ancestor::my:example]">
-  <xsl:choose>
-    <xsl:when test="$dynamic = 'true'">
-      <pre>
-        <xsl:apply-templates />
-      </pre>
-    </xsl:when>
-    <xsl:otherwise>
-      <span class="example">
-        <xsl:apply-templates />
-      </span>
-    </xsl:otherwise>
-  </xsl:choose>
-</xsl:template>
-
-<xsl:template match="my:example[parent::my:aside and not(ancestor::my:example)]">
-  <xsl:call-template name="split-and-code">
-    <xsl:with-param name="text" select="string(.)" />
-  </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="split-and-code">
-  <xsl:param name="text" />
-  <br />
-  <xsl:choose>
-    <xsl:when test="contains($text, '&#x0A;')">
-      <code><xsl:value-of select="substring-before($text, '&#x0A;')" /></code>
-      <xsl:call-template name="split-and-code">
-        <xsl:with-param name="text" select="substring-after($text, '&#x0A;')" />
-      </xsl:call-template>
-    </xsl:when>
-    <xsl:otherwise>
-      <code><xsl:value-of select="$text" /></code>
-    </xsl:otherwise>
-  </xsl:choose>
-</xsl:template>
-
-<xsl:template match="my:aside">
-  <xsl:choose>
-    <xsl:when test="$dynamic = 'true'">
-    	<span class="note"
-    	><img src="{$base}resources/icons/note.gif" height="17" width="13" border="0"
-    		    style="z-index: 2;"
-    		    onmouseover="javascript:{generate-id()}.style.visibility='visible';"
-    	      onmouseout="javascript:{generate-id()}.style.visibility='hidden';"
-    	/><span class="popup" id="{generate-id()}"
-    		      onmouseover="javascript:{generate-id()}.style.visibility='visible';"
-    	        onmouseout="javascript:{generate-id()}.style.visibility='hidden';">
-    			<xsl:apply-templates />
-    		</span
-    	></span>
-    </xsl:when>
-    <xsl:otherwise>
-      <xsl:text> </xsl:text>
-      <span class="note">[<xsl:apply-templates />]</span>
-      <xsl:text> </xsl:text>
-    </xsl:otherwise>
-  </xsl:choose>
-</xsl:template>
-
-<xsl:template match="my:quote">
-  <blockquote uri="{@href}">
-    <xsl:apply-templates />
-  </blockquote>
-  <p class="byline">
-    <xsl:text>[From </xsl:text>
-    <xsl:call-template name="link">
-      <xsl:with-param name="link" select="@href" />
-      <xsl:with-param name="value">
-        <xsl:value-of select="@href" />
-      </xsl:with-param>
-    </xsl:call-template>
-    <xsl:text>]</xsl:text>
-  </p>
-</xsl:template>
-
-<xsl:template match="my:icon">
-	<xsl:call-template name="insert-icon">
-		<xsl:with-param name="icon" select="@name" />
-	</xsl:call-template>
-</xsl:template>
-
-<xsl:template name="insert-icon">
-	<xsl:param name="icon" select="'goto'" />
-	<xsl:param name="active" select="true()" />
-	<img src="{$base}resources/icons/{$icon}.gif" height="28" width="28" border="0">
-		<xsl:attribute name="src">
-			<xsl:value-of select="$base" />
-			<xsl:text>resources/icons/</xsl:text>
-			<xsl:if test="not($active)">click-</xsl:if>
-			<xsl:value-of select="$icon" />
-			<xsl:text>.gif</xsl:text>
-		</xsl:attribute>
-		<xsl:if test="$active">
-			<xsl:attribute name="onmouseover">javascript:this.src='<xsl:value-of select="$base" />resources/icons/over-<xsl:value-of select="$icon" />.gif'</xsl:attribute>
-			<xsl:attribute name="onclick">javascript:this.src='<xsl:value-of select="$base" />resources/icons/click-<xsl:value-of select="$icon" />.gif'</xsl:attribute>
-			<xsl:attribute name="onmouseout">javascript:this.src='<xsl:value-of select="$base" />resources/icons/<xsl:value-of select="$icon" />.gif'</xsl:attribute>
-		</xsl:if>
-	</img>
-</xsl:template>
-
-<xsl:template match="my:links">
-	<xsl:choose>
-		<xsl:when test="parent::html:dd">
-			<xsl:apply-templates select="my:link" mode="list" />			
-		</xsl:when>
-		<xsl:otherwise>
-			<xsl:call-template name="columnise">
-				<xsl:with-param name="max-height" select="3" />
-			</xsl:call-template>
-		</xsl:otherwise>
-	</xsl:choose>
-</xsl:template>
-
-<xsl:template name="columnise">
-	<xsl:param name="max-height" select="5" />
-	<xsl:param name="max-width" select="3" />
-	<xsl:variable name="no-items" select="count(*)" />
-	<xsl:variable name="width">
-		<xsl:choose>
-			<xsl:when test="$no-items > $max-height * $max-width">
-				<xsl:value-of select="$max-width" />
-			</xsl:when>
-			<xsl:otherwise>
-				<xsl:value-of select="ceiling($no-items div $max-height)" />
-			</xsl:otherwise>
-		</xsl:choose>
-	</xsl:variable>
-	<xsl:variable name="height" select="ceiling($no-items div $width)" />
-	<table>
-		<colgroup span="{$width}" />
-		<tr>
-			<xsl:for-each select="*[position() = 1 or position() mod $height = 1]">
-				<td>
-					<xsl:apply-templates select=". | following-sibling::*[position() &lt; $height]" mode="list" />
-				</td>
-			</xsl:for-each>
-		</tr>
-	</table>
-</xsl:template>
-
-<xsl:template match="my:link" mode="list">
-	<p class="link">
-		<xsl:call-template name="link">
-			<xsl:with-param name="link" select="@href" />
-			<xsl:with-param name="value">
-				<xsl:value-of select="." />
-			</xsl:with-param>
-			<xsl:with-param name="addicon" select="true()" />
-		</xsl:call-template>
-	</p>
-</xsl:template>
-
-<xsl:template match="my:link">
-	<xsl:apply-templates select="." mode="link" />
-</xsl:template>
-
-<xsl:template match="*[@href][. != '']" mode="link">
-	<xsl:call-template name="link">
-		<xsl:with-param name="link" select="@href" />
-		<xsl:with-param name="value">
-			<xsl:apply-templates />
-		</xsl:with-param>
-		<xsl:with-param name="addicon" select="@addicon" />
-	</xsl:call-template>
-</xsl:template>
-
-<xsl:template match="*[@href][. = '']" mode="link">
-	<xsl:call-template name="link">
-		<xsl:with-param name="link" select="@href" />
-		<xsl:with-param name="value">
-			<xsl:value-of select="@href" />
-		</xsl:with-param>
-		<xsl:with-param name="addicon" select="@addicon" />
-	</xsl:call-template>
-</xsl:template>
-
-<xsl:template match="text()|@*" mode="link">
-	<xsl:call-template name="link">
-		<xsl:with-param name="link" select="." />
-		<xsl:with-param name="value">
-			<xsl:value-of select="." />
-		</xsl:with-param>
-	</xsl:call-template>
-</xsl:template>
-
-<xsl:template name="link">
-	<xsl:param name="link" />
-	<xsl:param name="value" />
-	<xsl:param name="addicon" select="''" />
-	<xsl:variable name="uri">
-		<xsl:call-template name="full-uri">
-			<xsl:with-param name="uri" select="$link" />
-		</xsl:call-template>
-	</xsl:variable>
-	<xsl:variable name="class">
-		<xsl:call-template name="uri-class">
-			<xsl:with-param name="uri" select="$uri" />
-		</xsl:call-template>
-	</xsl:variable>
-	<xsl:if test="$addicon">
-		<a href="{$uri}">
-			<xsl:attribute name="class">
-				<xsl:text>img </xsl:text>
-				<xsl:value-of select="$class" />
-			</xsl:attribute>
-			<xsl:call-template name="insert-icon">
-				<xsl:with-param name="icon">
-					<xsl:call-template name="icon-type">
-						<xsl:with-param name="uri" select="$uri" />
-					</xsl:call-template>
-				</xsl:with-param>
-			</xsl:call-template>
-		</a>
-		<xsl:text> </xsl:text>
-	</xsl:if>
-	<a href="{$uri}">
-		<xsl:if test="$class != ''">
-			<xsl:attribute name="class">
-				<xsl:value-of select="$class" />
-			</xsl:attribute>
-		</xsl:if>
-		<xsl:copy-of select="$value" />
-	</a>
-</xsl:template>
-
-<xsl:template name="full-uri">
-	<xsl:param name="uri" />
-	<xsl:variable name="partial-uri">
-		<xsl:choose>
-			<xsl:when test="$dynamic='false' and
-			                substring($uri, string-length($uri) - 3, 4) = '.xml'">
-				<xsl:value-of select="concat(substring($uri, 1, string-length($uri) - 4), '.html')" />
-			</xsl:when>
-			<xsl:otherwise><xsl:value-of select="$uri" /></xsl:otherwise>
-		</xsl:choose>
-	</xsl:variable>
-	<xsl:choose>
-		<xsl:when test="starts-with($partial-uri, 'www')">
-			<xsl:text>http://</xsl:text><xsl:value-of select="$partial-uri" />
-		</xsl:when>
-		<xsl:when test="contains($partial-uri, '@') and not(starts-with($partial-uri, 'mailto:'))">
-			<xsl:text>mailto:</xsl:text><xsl:value-of select="$partial-uri" />
-		</xsl:when>
-		<xsl:otherwise><xsl:value-of select="$partial-uri" /></xsl:otherwise>
-	</xsl:choose>
-</xsl:template>
-
-<xsl:template name="uri-class">
-	<xsl:param name="uri" />
-	<xsl:choose>
-		<xsl:when test="starts-with($uri, 'http://') and not(starts-with($uri, $base))">offsite</xsl:when>
-		<xsl:when test="starts-with($uri, 'mailto:')">mailto</xsl:when>
-		<xsl:when test="starts-with($uri, '#')">local</xsl:when>
-	</xsl:choose>
-</xsl:template>
-
-<xsl:template name="icon-type">
-	<xsl:param name="uri" />
-	<xsl:variable name="url">
-	  <xsl:choose>
-	    <xsl:when test="starts-with($uri, 'http://')"><xsl:value-of select="substring-after($uri, 'http://')" /></xsl:when>
-	    <xsl:otherwise><xsl:value-of select="$uri" /></xsl:otherwise>
-	  </xsl:choose>
-	</xsl:variable>
-	<xsl:choose>
-		<xsl:when test="(not(contains($url, '/')) and starts-with($url, 'www.')) or (contains($url, '/') and not(substring-after($url, '/')))">home</xsl:when>
-		<xsl:when test="contains($url, '@')">mail</xsl:when>
-		<xsl:otherwise>goto</xsl:otherwise>
-	</xsl:choose>
-</xsl:template>
-
-<xsl:template match="/*" mode="colophon">
-  <xsl:variable name="metadata" select="/*/rdf:RDF" />
-  <xsl:variable name="uri" select="$metadata/rdf:Description[1]/@about" />
-	<div id="colophon">
-		<hr class="final" />
-		<p>
-			<xsl:apply-templates select="$uri" mode="link" />
-			<xsl:variable name="modified">
-				<xsl:call-template name="get-metadata">
-					<xsl:with-param name="what" select="'date::modified'" />
-				</xsl:call-template>
-			</xsl:variable>
-			<xsl:if test="string($modified)">
-				<xsl:text> last modified </xsl:text>
-				<xsl:copy-of select="$modified" />
-			</xsl:if>
-			<xsl:variable name="creator">
-				<xsl:call-template name="get-metadata">
-					<xsl:with-param name="what" select="'creator::vCard::mailto-link'" />
-				</xsl:call-template>
-			</xsl:variable>
-			<xsl:text> by </xsl:text>
-			<xsl:choose>
-  			<xsl:when test="string($creator)">
-  				<xsl:copy-of select="$creator" />
-  			</xsl:when>
-  			<xsl:otherwise>
-  			  <a href="mailto:mail@jenitennison.com" class="mailto">Jeni Tennison</a>
-  			</xsl:otherwise>
-  		</xsl:choose>		  
-		</p>
-	</div>
-</xsl:template>
-
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/CR7098746Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,81 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.StringWriter;
-
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 7098746
- * @summary Test transforming as expected.
- */
-public class CR7098746Test {
-
-    @Test
-    public final void testTransform() {
-
-        try {
-
-            String inFilename = "CR7098746.xml";
-            String xslFilename = "CR7098746.xsl";
-
-            StringWriter sw = new StringWriter();
-            // Create transformer factory
-            TransformerFactory factory = TransformerFactory.newInstance();
-            // set the translet name
-            // factory.setAttribute("translet-name", "myTranslet");
-
-            // set the destination directory
-            // factory.setAttribute("destination-directory", "c:\\temp");
-            // factory.setAttribute("generate-translet", Boolean.TRUE);
-
-            // Use the factory to create a template containing the xsl file
-            Templates template = factory.newTemplates(new StreamSource(getClass().getResourceAsStream(xslFilename)));
-            // Use the template to create a transformer
-            Transformer xformer = template.newTransformer();
-            // Prepare the input and output files
-            Source source = new StreamSource(getClass().getResourceAsStream(inFilename));
-            // Result result = new StreamResult(new
-            // FileOutputStream(outFilename));
-            Result result = new StreamResult(sw);
-            // Apply the xsl file to the source file and write the result to the
-            // output file
-            xformer.transform(source, result);
-
-            String out = sw.toString();
-            if (out.indexOf("<p>") < 0) {
-                Assert.fail(out);
-            }
-        } catch (Exception e) {
-            // unexpected failure
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/DOMResultTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,206 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import org.testng.annotations.Test;
-import org.testng.Assert;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.transform.dom.DOMResult;
-import javax.xml.transform.dom.DOMSource;
-
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-import org.xml.sax.SAXException;
-
-/*
- * @summary Test DOMResult.
- */
-public class DOMResultTest {
-
-    @Test
-    public void testDOMResult1() {
-        try {
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            DocumentBuilder db = dbf.newDocumentBuilder();
-            String xml = this.getClass().getResource("toys.xml").getFile();
-            Document doc = db.parse(new FileInputStream(new File(xml)));
-            TransformerFactory tff = TransformerFactory.newInstance();
-            Transformer tf = tff.newTransformer();
-            // get <toys> element node
-            Node toys = doc.getChildNodes().item(1);
-            // supposed to insert new node at index=4
-            int index = 4;
-            String systemId = "customSysId";
-            DOMResult result = new DOMResult(toys, systemId);
-            result.setNextSibling(result.getNode().getChildNodes().item(index));
-            int length = result.getNode().getChildNodes().getLength();
-            // copy the first <toy> element node and insert it to position
-            // marked by index
-            Node source = doc.getLastChild().getChildNodes().item(1);
-            tf.transform(new DOMSource(source), result);
-
-            // document length verification
-            if (result.getNode().getChildNodes().getLength() != length + 1) {
-                Assert.fail("incorrect nodes length");
-            }
-            // element content verification
-            Node newnode = result.getNode().getChildNodes().item(index);
-            System.out.println(newnode.getTextContent());
-            if (!source.getTextContent().equals(newnode.getTextContent())) {
-                Assert.fail("target node content is not matched with source");
-            }
-            // element systemid verification
-            if (!result.getSystemId().equals(systemId)) {
-                Assert.fail("systemId is not matched");
-            }
-        } catch (ParserConfigurationException e) {
-            e.printStackTrace();
-        } catch (FileNotFoundException e) {
-            e.printStackTrace();
-        } catch (SAXException e) {
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-        } catch (IOException e) {
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-        } catch (TransformerConfigurationException e) {
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-        } catch (TransformerException e) {
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    @Test
-    public void testDOMResult2() {
-        try {
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            DocumentBuilder db = dbf.newDocumentBuilder();
-            String xml = this.getClass().getResource("toys.xml").getFile();
-            Document doc = db.parse(new FileInputStream(new File(xml)));
-            TransformerFactory tff = TransformerFactory.newInstance();
-            Transformer tf = tff.newTransformer();
-            // get <toys> element node
-            Node toys = doc.getChildNodes().item(1);
-            // supposed to insert new node at index=4
-            int index = 4;
-            String systemId = "customSysId";
-            DOMResult result = new DOMResult(toys, toys.getChildNodes().item(index), systemId);
-            int length = result.getNode().getChildNodes().getLength();
-            // copy the first <toy> element node and insert it to position
-            // marked by index
-            Node source = doc.getLastChild().getChildNodes().item(1);
-            tf.transform(new DOMSource(source), result);
-
-            // document length verification
-            if (result.getNode().getChildNodes().getLength() != length + 1) {
-                Assert.fail("incorrect nodes length");
-            }
-            // element content verification
-            Node newnode = result.getNode().getChildNodes().item(index);
-            System.out.println(newnode.getTextContent());
-            if (!source.getTextContent().equals(newnode.getTextContent())) {
-                Assert.fail("target node content is not matched with source");
-            }
-            // element systemid verification
-            if (!result.getSystemId().equals(systemId)) {
-                Assert.fail("systemId is not matched");
-            }
-        } catch (ParserConfigurationException e) {
-            e.printStackTrace();
-        } catch (FileNotFoundException e) {
-            e.printStackTrace();
-        } catch (SAXException e) {
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-        } catch (IOException e) {
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-        } catch (TransformerConfigurationException e) {
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-        } catch (TransformerException e) {
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    @Test
-    public void testDOMResult3() {
-        try {
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            DocumentBuilder db = dbf.newDocumentBuilder();
-            String xml = this.getClass().getResource("toys.xml").getFile();
-            Document doc = db.parse(new FileInputStream(new File(xml)));
-            TransformerFactory tff = TransformerFactory.newInstance();
-            Transformer tf = tff.newTransformer();
-            // get <toys> element node
-            Node toys = doc.getChildNodes().item(1);
-            // supposed to insert new node at index=4
-            int index = 4;
-            DOMResult result = new DOMResult(toys, toys.getChildNodes().item(index));
-            int length = result.getNode().getChildNodes().getLength();
-            // copy the first <toy> element node and insert it to position
-            // marked by index
-            Node source = doc.getLastChild().getChildNodes().item(1);
-            tf.transform(new DOMSource(source), result);
-
-            // document length verification
-            if (result.getNode().getChildNodes().getLength() != length + 1) {
-                Assert.fail("incorrect nodes length");
-            }
-            // element content verification
-            Node newnode = result.getNode().getChildNodes().item(index);
-            System.out.println(newnode.getTextContent());
-            if (!source.getTextContent().equals(newnode.getTextContent())) {
-                Assert.fail("target node content is not matched with source");
-            }
-        } catch (ParserConfigurationException e) {
-            e.printStackTrace();
-        } catch (FileNotFoundException e) {
-            e.printStackTrace();
-        } catch (SAXException e) {
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-        } catch (IOException e) {
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-        } catch (TransformerConfigurationException e) {
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-        } catch (TransformerException e) {
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/DocumentExtFunc.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-/*
- * Copyright (c) 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 javax.xml.transform;
-
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public class DocumentExtFunc {
-
-    public static String test(NodeList list) {
-        Node node = list.item(0);
-        return "["+node.getNodeName() + ":" + node.getTextContent()+"]";
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/FactoryFindTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.net.URL;
-import java.net.URLClassLoader;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test creating TransformerFactory with ContextClassLoader.
- */
-public class FactoryFindTest {
-
-    boolean myClassLoaderUsed = false;
-
-    @Test
-    public void testFactoryFind() {
-        try {
-            // System.setProperty("jaxp.debug", "true");
-
-            TransformerFactory factory = TransformerFactory.newInstance();
-            Assert.assertTrue(factory.getClass().getClassLoader() == null);
-
-            Thread.currentThread().setContextClassLoader(null);
-            factory = TransformerFactory.newInstance();
-            Assert.assertTrue(factory.getClass().getClassLoader() == null);
-
-            Thread.currentThread().setContextClassLoader(new MyClassLoader());
-            factory = TransformerFactory.newInstance();
-            if (System.getSecurityManager() == null)
-                Assert.assertTrue(myClassLoaderUsed);
-            else
-                Assert.assertFalse(myClassLoaderUsed);
-        } catch (Exception ex) {
-            Assert.fail(ex.toString());
-        }
-
-    }
-
-    class MyClassLoader extends URLClassLoader {
-
-        public MyClassLoader() {
-            super(new URL[0]);
-        }
-
-        public Class loadClass(String name) throws ClassNotFoundException {
-            myClassLoaderUsed = true;
-            return super.loadClass(name);
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Issue2204.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0" ?><A><B>1</B><B>2</B></A>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Issue2204.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0" ?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-<xsl:variable name="XML" select="/A"/>
-    <xsl:template match="/">
-        First:<xsl:value-of select="count($XML[B=1])"/>
-        Second:<xsl:value-of select="count($XML[B=1])"/>
-        Third:<xsl:value-of select="count($XML[B=1])"/>
-    </xsl:template>
-</xsl:stylesheet>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Issue2204Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.StringWriter;
-
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6905829
- * @summary Test XSLT can work against the certain xsl.
- */
-public class Issue2204Test {
-
-    @Test
-    public final void testTransform() {
-        try {
-            Transformer t = TransformerFactory.newInstance().newTransformer(new StreamSource(getClass().getResourceAsStream("Issue2204.xsl")));
-
-            System.out.printf("transformer: %s%n", t.getClass().getName());
-
-            StringWriter streamResult = new StringWriter();
-            t.transform(new StreamSource(getClass().getResourceAsStream("Issue2204.xml")), new StreamResult(streamResult));
-
-            System.out.println(streamResult.toString());
-            if (streamResult.toString().indexOf("3") > 0) {
-                Assert.fail("Function Count on variable modifies number of nodes in variable.");
-            }
-            // expected success
-        } catch (Exception e) {
-            // unexpected failure
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Issue2290.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0" exclude-result-prefixes="xps" extension-element-prefixes="xps" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xps="xalan://com.xx.TestExt" xmlns:lxslt="http://xml.apache.org/xslt">
-    <xsl:template match="/">
-        <xsl:variable name="lang">
-        <xps:getAttribute pathDoc="test" attName="keymask"/>
-        </xsl:variable>
-    </xsl:template>
-</xsl:stylesheet>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/Issue2290Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,92 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.StringReader;
-import java.io.StringWriter;
-import java.util.Properties;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.transform.OutputKeys;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMResult;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.w3c.dom.Document;
-import org.w3c.dom.DocumentFragment;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test XSL extension for RTF works, for https://issues.apache.org/jira/i#browse/XALANJ-2290.
- */
-public class Issue2290Test {
-
-    @Test
-    public final void testTransform() throws Exception {
-        DocumentFragment outNode = null;
-        DocumentBuilder docBuilder = null;
-        Document outDoc = null;
-        // TransformerImpl transformer = null;
-        StringReader execReaderXML = null;
-        Properties propFormat = null;
-        StringWriter sw = null;
-
-        try {
-            // template = TransformerFactory.newInstance().newTemplates(new
-            // StreamSource("D:/Work/Apache/TestVar.xsl"));
-            // transformer = (TransformerImpl) template.newTransformer();
-            Transformer t = TransformerFactory.newInstance().newTransformer(new StreamSource(getClass().getResourceAsStream("Issue2290.xsl")));
-            System.out.print("Created Transformer");
-            execReaderXML = new StringReader("<?xml version=\"1.0\"?> <doc>Stuff</doc>");
-
-
-            docBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
-            outDoc = docBuilder.newDocument();
-            outNode = outDoc.createDocumentFragment();
-            System.out.println("Created Fragment");
-            System.out.println("execute transformer.");
-            // transformer.transform(new StreamSource(execReaderXML),new
-            // DOMResult(outNode));
-            t.transform(new StreamSource(execReaderXML), new DOMResult(outNode));
-            System.out.println("Finsished transformer.");
-            sw = new StringWriter();
-
-            StreamResult sr = new StreamResult(sw);
-            t = TransformerFactory.newInstance().newTransformer();
-            t.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
-            t.transform(new DOMSource(outNode), sr);
-            System.out.println(sw.toString());
-        } catch (Exception e) {
-            Assert.fail(e.toString());
-        } finally {
-        }
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/MsWordXMLImport.xsl.data	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3156 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- *
- * Copyright (c) 2014, 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.
- *
- -->
- 
-<!-- Start of OOo2.0 import/wordml/wordml2ooo.xsl stylesheet  -->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-    xmlns:v="urn:schemas-microsoft-com:vml" 
-    xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" 
-    xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint" 
-    xmlns:o="urn:schemas-microsoft-com:office:office" 
-    xmlns:aml="http://schemas.microsoft.com/aml/2001/core"
-    xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" 
-    xmlns:dc="http://purl.org/dc/elements/1.1/"    
-    xmlns:office="http://openoffice.org/2000/office"
-    xmlns:style="http://openoffice.org/2000/style"
-    xmlns:text="http://openoffice.org/2000/text"
-    xmlns:table="http://openoffice.org/2000/table"
-    xmlns:draw="http://openoffice.org/2000/drawing"
-    xmlns:fo="http://www.w3.org/1999/XSL/Format"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    xmlns:number="http://openoffice.org/2000/datastyle"
-    xmlns:svg="http://www.w3.org/2000/svg"
-    xmlns:chart="http://openoffice.org/2000/chart"
-    xmlns:dr3d="http://openoffice.org/2000/dr3d"
-    xmlns:math="http://www.w3.org/1998/Math/MathML"
-    xmlns:form="http://openoffice.org/2000/form"
-    xmlns:script="http://openoffice.org/2000/script"
-    xmlns:meta="http://openoffice.org/2000/meta"
-    xmlns:config="http://openoffice.org/2001/config"
-    xmlns:help="http://openoffice.org/2000/help"
-    exclude-result-prefixes="v w wx aml o aml dt" 
-    office:version="1.0"
-    >
-    <xsl:output method="xml" indent="no" encoding="UTF-8" version="1.0"/>
-    <!--
-    <xsl:include href="../../common/measure_conversion.xsl"/>
-    <xsl:include href="../common/ms2ooo_docpr.xsl"/>
-    <xsl:include href="wordml2ooo_text.xsl"/>
-    <xsl:include href="wordml2ooo_settings.xsl"/>
-    <xsl:include href="wordml2ooo_table.xsl"/>
-    <xsl:include href="wordml2ooo_page.xsl"/>
-    <xsl:include href="wordml2ooo_list.xsl"/>
-    <xsl:include href="wordml2ooo_draw.xsl"/>
-    -->
-    <xsl:key name="paragraph-style" match="w:style[@w:type = 'paragraph']" use="@w:styleId"/>
-    <xsl:key name="heading-style" match="w:style[@w:type = 'paragraph' and w:pPr/w:outlineLvl]" use="@w:styleId"/>
-    <xsl:template match="/">
-        <xsl:apply-templates select="w:wordDocument"/>
-    </xsl:template>
-    <xsl:template match="w:wordDocument">
-        <office:document office:class="text" office:version="1.0">
-            <xsl:apply-templates select="o:DocumentProperties"/>
-            <xsl:apply-templates select="w:docPr"/>
-            <xsl:apply-templates select="w:fonts"/>
-            <xsl:apply-templates select="w:styles"/>
-            <xsl:apply-templates select="w:body"/>
-        </office:document>
-    </xsl:template>
-    <xsl:template match="w:fonts">
-        <xsl:element name="office:font-decls">
-            <!-- MS Word's default font declaration, added for Writer automatically. glu -->
-            <style:font-decl style:name="Arial" fo:font-family="Arial" style:font-family-generic="roman" style:font-pitch="variable"/>
-            <style:font-decl style:name="Times New Roman" fo:font-family="'Times New Roman'" style:font-family-generic="roman" style:font-pitch="variable"/>
-            <style:font-decl style:name="Symbol" fo:font-family="Symbol" style:font-family-generic="roman" style:font-pitch="variable" style:font-charset="x-symbol"/>
-            <style:font-decl style:name="Courier New" fo:font-family="'Courier New'" style:font-family-generic="modern" style:font-pitch="fixed"/>
-            <xsl:if test="not(w:font[@w:name='StarSymbol'])">
-                <style:font-decl style:name="StarSymbol" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
-            </xsl:if>
-            <xsl:for-each select="w:font">
-                <xsl:element name="style:font-decl">
-                    <xsl:attribute name="style:name"><xsl:value-of select="@w:name"/></xsl:attribute>
-                    <xsl:attribute name="fo:font-family"><xsl:value-of select="@w:name"/></xsl:attribute>
-                    <!-- added by glu, for process special fonts e.g. Marlett, -->
-                    <xsl:if test="w:charset/@w:val = '02'">
-                        <xsl:attribute name="style:font-charset">x-symbol</xsl:attribute>
-                    </xsl:if>
-                    <xsl:if test="w:family">
-                        <xsl:choose>
-                            <xsl:when test="w:family/@w:val = 'Swiss'">
-                                <xsl:attribute name="style:font-family-generic">swiss</xsl:attribute>
-                            </xsl:when>
-                            <xsl:when test="w:family/@w:val='Modern'">
-                                <xsl:attribute name="style:font-family-generic">modern</xsl:attribute>
-                            </xsl:when>
-                            <xsl:when test="w:family/@w:val='Roman'">
-                                <xsl:attribute name="style:font-family-generic">roman</xsl:attribute>
-                            </xsl:when>
-                            <xsl:when test="w:family/@w:val='Script'">
-                                <xsl:attribute name="style:font-family-generic">script</xsl:attribute>
-                            </xsl:when>
-                            <xsl:when test="w:family/@w:val='Decorative'">
-                                <xsl:attribute name="style:font-family-generic">decorative</xsl:attribute>
-                            </xsl:when>
-                            <xsl:when test="w:family/@w:val='System'">
-                                <xsl:attribute name="style:font-family-generic">system</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="style:font-family-generic">system</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:if>
-                    <xsl:if test="w:pitch">
-                        <xsl:attribute name="style:font-pitch"><xsl:value-of select="w:pitch/@w:val"/></xsl:attribute>
-                    </xsl:if>
-                </xsl:element>
-            </xsl:for-each>
-        </xsl:element>
-    </xsl:template>
-    <xsl:template match="w:styles">
-        <office:styles>
-            <xsl:call-template name="create-default-paragraph-styles"/>
-            <xsl:call-template name="create-default-text-styles"/>
-            <xsl:call-template name="create-default-frame-style"/>
-            <!-- StarWriter has no default style family 'list'. glu -->
-            <xsl:if test="w:style[@w:type = 'paragraph' and w:pPr/w:outlineLvl and w:pPr/w:listPr]">
-                <xsl:call-template name="create-outline-style"/>
-            </xsl:if>
-            <xsl:apply-templates select="w:style[@w:type='list']" mode="list"/>
-            <xsl:apply-templates select="w:style[@w:type!='list']"/>
-        </office:styles>
-        <office:automatic-styles>
-            <xsl:apply-templates select="/w:wordDocument/w:body//w:p" mode="style"/>
-            <xsl:apply-templates select="/w:wordDocument/w:body//w:rPr[not(parent::w:pPr)]" mode="style"/>
-            <xsl:apply-templates select="/w:wordDocument/w:body//w:tblPr" mode="style"/>
-            <xsl:apply-templates select="/w:wordDocument/w:body//w:gridCol" mode="style"/>
-            <xsl:apply-templates select="/w:wordDocument/w:body//w:trHeight" mode="style"/>
-            <xsl:apply-templates select="/w:wordDocument/w:body//w:tcPr" mode="style"/>
-            <xsl:apply-templates select="/w:wordDocument/w:body//w:listPr" mode="style"/>
-            <xsl:apply-templates select="/w:wordDocument/w:body//w:sectPr" mode="page-master"/>
-        </office:automatic-styles>
-        <office:master-styles>
-            <xsl:apply-templates select="/w:wordDocument/w:body//w:sectPr" mode="master-page"/>
-        </office:master-styles>
-    </xsl:template>
-    <xsl:template match="w:style">
-        <style:style>
-            <xsl:attribute name="style:name"><xsl:value-of select="@w:styleId"/></xsl:attribute>
-            <xsl:if test="w:basedOn">
-                <xsl:attribute name="style:parent-style-name"><xsl:value-of select="w:basedOn/@w:val"/></xsl:attribute>
-            </xsl:if>
-            <xsl:if test="w:next">
-                <xsl:attribute name="style:next-style-name"><xsl:value-of select="w:next/@w:val"/></xsl:attribute>
-            </xsl:if>
-            <xsl:choose>
-                <xsl:when test="@w:type = 'character'">
-                    <xsl:attribute name="style:family">text</xsl:attribute>
-                </xsl:when>
-                <!-- table, paragraph are the same as in Writer . glu -->
-                <xsl:when test="@w:type">
-                    <xsl:attribute name="style:family"><xsl:value-of select="@w:type"/></xsl:attribute>
-                </xsl:when>
-                <xsl:otherwise>
-                    <xsl:attribute name="style:family">text</xsl:attribute>
-                </xsl:otherwise>
-            </xsl:choose>
-            <xsl:element name="style:properties">
-                <xsl:apply-templates select="w:pPr"/>
-                <xsl:apply-templates select="w:rPr"/>
-            </xsl:element>
-        </style:style>
-    </xsl:template>
-    <xsl:template match="w:body">
-        <xsl:element name="office:body">
-            <xsl:apply-templates/>
-        </xsl:element>
-    </xsl:template>
-    <xsl:template name="create-default-frame-style">
-        <!--add for default frame style -->
-        <style:style style:name="Frame" style:family="graphics">
-            <style:properties text:anchor-type="paragraph" svg:x="0inch" svg:y="0inch" style:wrap="parallel" style:number-wrapped-paragraphs="no-limit" style:wrap-contour="false" style:vertical-pos="top" style:vertical-rel="paragraph-content" style:horizontal-pos="center" style:horizontal-rel="paragraph-content"/>
-        </style:style>
-    </xsl:template>
-    
-<!-- End of OOo2.0 import/wordml/wordml2ooo.xsl stylesheet  -->
-<!-- Start of OOo2.0 import/wordml/wordml2ooo_draw.xsl stylesheet  -->
-    <xsl:template match="w:pict">
-        <xsl:choose>
-            <xsl:when test="descendant::w:binData">
-                <!-- Cannot load zipped Wmf file. glu <xsl:if test="not(contains(w:binData/@w:name,'.wmz'))"> -->
-                <xsl:element name="draw:image">
-                    <xsl:if test="v:shape/@style">
-                        <xsl:if test="contains( v:shape/@style, 'margin-left:')">
-                            <xsl:attribute name="svg:x"><xsl:value-of select="concat( number(substring-before( substring-after( v:shape/@style, 'margin-left:'), 'pt'))*0.0353, 'cm')"/></xsl:attribute>
-                        </xsl:if>
-                        <xsl:if test="contains( v:shape/@style, 'margin-top:')">
-                            <xsl:attribute name="svg:y"><xsl:value-of select="concat( number(substring-before( substring-after( v:shape/@style, 'margin-top:'), 'pt'))*0.0353, 'cm')"/></xsl:attribute>
-                        </xsl:if>
-                        <xsl:attribute name="svg:width"><xsl:value-of select="concat( number(substring-before( substring-after( v:shape/@style, 'width:'), 'pt'))*0.0353, 'cm')"/></xsl:attribute>
-                        <xsl:attribute name="svg:height"><xsl:value-of select="concat( number(substring-before( substring-after( v:shape/@style, 'height:'), 'pt'))*0.0353, 'cm')"/></xsl:attribute>
-                        <xsl:variable name="anchor-type">
-                            <xsl:if test="contains( v:shape/@style, 'mso-position-horizontal-relative')">
-                                <xsl:value-of select="substring-before( substring-after( v:shape/@style, 'mso-position-horizontal-relative:'), ';')"/>
-                            </xsl:if>
-                        </xsl:variable>
-                        <xsl:choose>
-                            <xsl:when test="$anchor-type = 'margin'">
-                                <xsl:attribute name="text:anchor-type">frame</xsl:attribute>
-                            </xsl:when>
-                            <xsl:when test="$anchor-type = 'page'">
-                                <xsl:attribute name="text:anchor-type">page</xsl:attribute>
-                            </xsl:when>
-                            <xsl:when test="$anchor-type = 'char'">
-                                <xsl:attribute name="text:anchor-type">as-char</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="text:anchor-type">paragraph</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                        <xsl:if test="v:shape/v:imagedata/@o:title">
-                            <xsl:attribute name="draw:name"><xsl:value-of select="v:shape/v:imagedata/@o:title"/></xsl:attribute>
-                        </xsl:if>
-                        <xsl:element name="office:binary-data">
-                            <xsl:value-of select="w:binData"/>
-                        </xsl:element>
-                    </xsl:if>
-                </xsl:element>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:apply-templates/>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-    <xsl:template match="w:binData">
-        <xsl:element name="office:binary-data">
-            <xsl:value-of select="."/>
-        </xsl:element>
-    </xsl:template>
-    <xsl:template match="v:group">
-        <xsl:apply-templates/>
-    </xsl:template>
-    <xsl:template match="v:oval">
-        <xsl:element name="draw:ellipse">
-            <xsl:variable name="style" select="@style"/>
-            <xsl:variable name="position" select="substring-after($style,'position:')"/>
-            <xsl:variable name="positionval" select="substring-before($position,';')"/>
-            <xsl:variable name="left" select="substring-after($style,'left:')"/>
-            <xsl:variable name="leftval" select="substring-before($left,';')"/>
-            <xsl:variable name="top" select="substring-after($style,'top:')"/>
-            <xsl:variable name="topval" select="substring-before($top,';')"/>
-            <xsl:variable name="width" select="substring-after($style,'width:')"/>
-            <xsl:variable name="widthval" select="substring-before($width,';')"/>
-            <xsl:variable name="height" select="substring-after($style,'height:')"/>
-            <xsl:variable name="heightval" select="$height"/>
-            <xsl:if test="$positionval = 'absolute'">
-                <xsl:variable name="parentgroup" select="parent::v:group"/>
-                <xsl:variable name="origin" select="$parentgroup/@coordorigin"/>
-                <xsl:variable name="groupleft" select="substring-before($origin,',')"/>
-                <xsl:variable name="grouptop" select="substring-after($origin,',')"/>
-                <xsl:variable name="currsect" select="ancestor::wx:sect"/>
-                <xsl:variable name="currsectPr" select="$currsect/descendant::w:sectPr/w:pgMar"/>
-                <xsl:variable name="leftmar" select="$currsectPr/@w:left"/>
-                <xsl:variable name="topmar" select="$currsectPr/@w:top"/>
-                <xsl:attribute name="text:anchor-type">page</xsl:attribute>
-                <xsl:attribute name="svg:width"><xsl:value-of select="(number($widthval) div 1440) * 2.54"/>cm</xsl:attribute>
-                <xsl:attribute name="svg:height"><xsl:value-of select="(number($heightval) div 1440) * 2.54"/>cm</xsl:attribute>
-                <xsl:attribute name="svg:x"><xsl:value-of select="(number($topval + $topmar) div 1440) * 2.54"/>cm</xsl:attribute>
-                <xsl:attribute name="svg:y"><xsl:value-of select="(number($leftval + $leftmar) div 1440) * 2.54"/>cm</xsl:attribute>
-            </xsl:if>
-        </xsl:element>
-    </xsl:template>
-    <xsl:template match="v:rect">
-        <xsl:element name="draw:rect">
-            <xsl:variable name="style" select="@style"/>
-            <xsl:variable name="position" select="substring-after($style,'position:')"/>
-            <xsl:variable name="positionval" select="substring-before($position,';')"/>
-            <xsl:variable name="left" select="substring-after($style,'left:')"/>
-            <xsl:variable name="leftval" select="substring-before($left,';')"/>
-            <xsl:variable name="top" select="substring-after($style,'top:')"/>
-            <xsl:variable name="topval" select="substring-before($top,';')"/>
-            <xsl:variable name="width" select="substring-after($style,'width:')"/>
-            <xsl:variable name="widthval" select="substring-before($width,';')"/>
-            <xsl:variable name="height" select="substring-after($style,'height:')"/>
-            <xsl:variable name="heightval" select="$height"/>
-            <xsl:if test="$positionval = 'absolute'">
-                <xsl:variable name="parentgroup" select="parent::v:group"/>
-                <xsl:variable name="origin" select="$parentgroup/@coordorigin"/>
-                <xsl:variable name="groupleft" select="substring-before($origin,',')"/>
-                <xsl:variable name="grouptop" select="substring-after($origin,',')"/>
-                <xsl:variable name="currsect" select="ancestor::wx:sect"/>
-                <xsl:variable name="currsectPr" select="$currsect/descendant::w:sectPr/w:pgMar"/>
-                <xsl:variable name="leftmar" select="$currsectPr/@w:left"/>
-                <xsl:variable name="topmar" select="$currsectPr/@w:top"/>
-                <xsl:attribute name="text:anchor-type">page</xsl:attribute>
-                <xsl:attribute name="svg:width"><xsl:value-of select="(number($widthval) div 1440) * 2.54"/>cm</xsl:attribute>
-                <xsl:attribute name="svg:height"><xsl:value-of select="(number($heightval) div 1440) * 2.54"/>cm</xsl:attribute>
-                <xsl:attribute name="svg:x"><xsl:value-of select="(number($topval + $topmar) div 1440) * 2.54"/>cm</xsl:attribute>
-                <xsl:attribute name="svg:y"><xsl:value-of select="(number($leftval + $leftmar) div 1440) * 2.54"/>cm</xsl:attribute>
-            </xsl:if>
-        </xsl:element>
-    </xsl:template>
-<!-- End of OOo2.0 import/wordml/wordml2ooo_draw.xsl stylesheet  -->
-<!-- Start of OOo2.0 import/wordml/wordml2ooo_list.xsl stylesheet  -->
-    <xsl:template match="w:listPr" mode="style">
-        <xsl:variable name="currlistid" select="w:ilfo/@w:val"/>
-        <xsl:variable name="currlist" select="."/>
-        <xsl:variable name="rootlistid" select="/w:wordDocument/w:lists/w:list[@w:ilfo=$currlistid]/w:ilst/@w:val"/>
-        <xsl:variable name="rootlist" select="/w:wordDocument/w:lists/w:listDef[@w:listDefId =$rootlistid ]"/>
-        <xsl:if test="not(ancestor::w:p/preceding-sibling::w:p/w:pPr/w:listPr[1]/w:ilfo/@w:val= $currlistid) and $rootlist/w:lvl ">
-            <xsl:element name="text:list-style">
-                <xsl:attribute name="style:name">List<xsl:value-of select="count(preceding::w:listPr)"/></xsl:attribute>
-                <xsl:apply-templates select="$rootlist/w:lvl"/>
-            </xsl:element>
-        </xsl:if>
-    </xsl:template>
-    <xsl:template match="w:lvl">
-        <xsl:variable name="listtype">
-            <xsl:choose>
-                <xsl:when test="w:nfc/@w:val">
-                    <xsl:value-of select="w:nfc/@w:val"/>
-                </xsl:when>
-                <xsl:otherwise>0</xsl:otherwise>
-            </xsl:choose>
-        </xsl:variable>
-        <xsl:choose>
-            <xsl:when test="$listtype =23 and w:lvlPicBulletId">
-                <!-- image characters. wym -->
-                <xsl:element name="text:list-level-style-image">
-                    <xsl:call-template name="list-styles-image"/>
-                </xsl:element>
-            </xsl:when>
-            <xsl:when test="$listtype =23">
-                <!-- nfcBullet: Bullet character. glu -->
-                <xsl:element name="text:list-level-style-bullet">
-                    <xsl:call-template name="list-styles-common">
-                        <xsl:with-param name="listtype" select="$listtype"/>
-                        <xsl:with-param name="currlevel" select="number(@w:ilvl)+1"/>
-                    </xsl:call-template>
-                </xsl:element>
-            </xsl:when>
-            <xsl:otherwise>
-                <!-- all kinds of numbering characters. glu :( -->
-                <xsl:element name="text:list-level-style-number">
-                    <xsl:call-template name="list-styles-common">
-                        <xsl:with-param name="listtype" select="$listtype"/>
-                        <xsl:with-param name="currlevel" select="number(@w:ilvl)+1"/>
-                    </xsl:call-template>
-                </xsl:element>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-    <xsl:template name="list-styles-common">
-        <xsl:param name="listtype"/>
-        <xsl:param name="currlevel"/>
-        <xsl:variable name="startval" select="w:start/@w:val"/>
-        <xsl:attribute name="text:level"><xsl:value-of select="$currlevel"/></xsl:attribute>
-        <xsl:choose>
-            <xsl:when test="$listtype = 23">
-                <!-- bullet character. glu -->
-                <xsl:attribute name="text:style-name">Bullet Symbols</xsl:attribute>
-                <xsl:attribute name="text:bullet-char"><xsl:value-of select="w:lvlText/@w:val"/></xsl:attribute>
-            </xsl:when>
-            <xsl:when test="($listtype &gt;= 0) and ($listtype &lt; 60)">
-                <xsl:attribute name="text:style-name">Numbering Symbols</xsl:attribute>
-                <xsl:if test="$startval">
-                    <xsl:attribute name="text:start-value"><xsl:value-of select="$startval"/></xsl:attribute>
-                </xsl:if>
-                <xsl:attribute name="text:display-levels"><xsl:value-of select="string-length(w:lvlText/@w:val) - string-length(translate(w:lvlText/@w:val,'%','') )"/></xsl:attribute>
-                <xsl:call-template name="nfc2numformat">
-                    <xsl:with-param name="nfcvalue" select="$listtype"/>
-                    <xsl:with-param name="prefix" select="substring-before(w:lvlText/@w:val, '%')"/>
-                    <xsl:with-param name="suffix" select="substring-after(w:lvlText/@w:val, concat('%', $currlevel) )"/>
-                </xsl:call-template>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:attribute name="text:style-name">Numbering Symbols</xsl:attribute>
-                <xsl:if test="$startval">
-                    <xsl:attribute name="text:start-value"><xsl:value-of select="$startval"/></xsl:attribute>
-                </xsl:if>
-                <xsl:attribute name="text:display-levels"><xsl:value-of select="string-length(w:lvlText/@w:val) - string-length(translate(w:lvlText/@w:val,'%','') )"/></xsl:attribute>
-                <!-- 'none' in Word 2003. wym -->
-                <xsl:attribute name="style:num-format"/>
-                <xsl:attribute name="style:num-prefix"><xsl:value-of select="substring-before(w:lvlText/@w:val, '%')"/></xsl:attribute>
-                <xsl:attribute name="style:num-suffix"><xsl:value-of select="substring-after(w:lvlText/@w:val, concat('%', $currlevel + 1) )"/></xsl:attribute>
-            </xsl:otherwise>
-        </xsl:choose>
-        <xsl:element name="style:properties">
-            <xsl:choose>
-                <xsl:when test="w:lvlJc/@w:val='right'">
-                    <xsl:attribute name="fo:text-align">end</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:lvlJc/@w:val='center'">
-                    <xsl:attribute name="fo:text-align">center</xsl:attribute>
-                </xsl:when>
-                <xsl:otherwise>
-                    <xsl:attribute name="fo:text-align">start</xsl:attribute>
-                </xsl:otherwise>
-            </xsl:choose>
-            <xsl:variable name="labelwidth">
-                <xsl:choose>
-                    <xsl:when test="w:pPr/w:ind/@w:hanging">
-                        <xsl:call-template name="convert2cm">
-                            <xsl:with-param name="value" select="concat(w:pPr/w:ind/@w:hanging,'dxa')"/>
-                        </xsl:call-template>
-                    </xsl:when>
-                    <xsl:when test="w:pPr/w:ind/@w:first-line">
-                        <xsl:call-template name="convert2cm">
-                            <xsl:with-param name="value" select="concat('-',w:pPr/w:ind/@w:first-line,'dxa')"/>
-                        </xsl:call-template>
-                    </xsl:when>
-                    <xsl:otherwise>0</xsl:otherwise>
-                </xsl:choose>
-            </xsl:variable>
-            <xsl:variable name="leftwidth">
-                <xsl:call-template name="convert2cm">
-                    <xsl:with-param name="value" select="concat(w:pPr/w:ind/@w:left,'dxa')"/>
-                </xsl:call-template>
-            </xsl:variable>
-            <xsl:attribute name="text:space-before"><xsl:value-of select="concat(number($leftwidth)-number($labelwidth),'cm')"/></xsl:attribute>
-            <xsl:attribute name="text:min-label-width"><xsl:choose><xsl:when test="$labelwidth &gt; 0"><xsl:value-of select="concat($labelwidth,'cm')"/></xsl:when><xsl:otherwise>0cm</xsl:otherwise></xsl:choose></xsl:attribute>
-            <!-- In binary word translation, text:min-label-distance do not generate. So, the width of number-symbol will not effect the start position of text. But first line always start same position of second line, no indent. If text:min-label-distance generate, the look of list will change because of uncountable number-symbol's width, now use 0.25cm as default width-->
-            <xsl:choose>
-                <xsl:when test="w:suff/@w:val='Space'">
-                    <xsl:attribute name="text:min-label-distance">0.20cm</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:pPr/w:tabs/w:tab/@w:pos">
-                    <xsl:variable name="tabpos">
-                        <xsl:call-template name="convert2cm">
-                            <xsl:with-param name="value" select="concat(w:pPr/w:tabs/w:tab/@w:pos,'dxa')"/>
-                        </xsl:call-template>
-                    </xsl:variable>
-                    <xsl:if test="number($tabpos) &gt; (number($leftwidth)-number($labelwidth))">
-                        <xsl:attribute name="text:min-label-distance"><xsl:value-of select="concat(number($tabpos)+number($labelwidth)-number($leftwidth)-0.25,'cm')"/></xsl:attribute>
-                    </xsl:if>
-                </xsl:when>
-            </xsl:choose>
-            <!-- Find the node that corresponds to the level being processed. We can use this to determine the indentation to be used
-            <xsl:variable name="currNode" select="/w:wordDocument/w:body//w:listPr[w:ilvl/@w:val = $currlevel][w:ilfo/@w:val = $currlist/w:ilfo/@w:val]"/>
-            <xsl:choose>
-                <xsl:when test="($currNode/wx:t/@wx:wTabBefore ) and ($currNode/wx:t/@wx:wTabAfter ) and (not($currNode/following-sibling::w:jc) or $currNode/following-sibling::w:jc/@w:val = 'left')">
-                    <xsl:attribute name="text:space-before"><xsl:value-of select="(number($currNode/wx:t/@wx:wTabBefore)div 1440) * 2.54"/>cm</xsl:attribute>
-                    <xsl:attribute name="text:min-label-distance"><xsl:value-of select="(number($currNode/wx:t/@wx:wTabAfter)div 1440) * 2.54"/>cm</xsl:attribute>
-                </xsl:when>
-                <xsl:otherwise>
-                    <xsl:attribute name="text:space-before"><xsl:value-of select="((number(w:pPr/w:ind/@w:left)  div 1440) * 2.54) "/>cm</xsl:attribute>
-                    <xsl:attribute name="text:min-label-distance"><xsl:value-of select="(number($currlist/wx:t/@wx:wTabAfter) div 1440) * 2.54"/>cm</xsl:attribute>
-                </xsl:otherwise>
-            </xsl:choose>-->
-            <xsl:if test="w:rPr/w:rFonts">
-                <xsl:if test="w:rPr/w:rFonts/@w:ascii">
-                    <xsl:attribute name="style:font-name"><xsl:value-of select="w:rPr/w:rFonts/@w:ascii"/></xsl:attribute>
-                </xsl:if>
-                <xsl:if test="w:rPr/w:rFonts/@w:fareast">
-                    <xsl:attribute name="style:font-name-asian"><xsl:value-of select="w:rPr/w:rFonts/@w:fareast"/></xsl:attribute>
-                </xsl:if>
-                <xsl:if test="w:rPr/w:rFonts/@w:cs">
-                    <xsl:attribute name="style:font-name-complex"><xsl:value-of select="w:rPr/w:rFonts/@w:cs"/></xsl:attribute>
-                </xsl:if>
-            </xsl:if>
-        </xsl:element>
-    </xsl:template>
-    <xsl:template name="list-styles-image">
-        <xsl:variable name="currlevel" select="number(@w:ilvl)"/>
-        <xsl:attribute name="text:level"><xsl:value-of select="$currlevel+1"/></xsl:attribute>
-        <xsl:variable name="picid" select="w:lvlPicBulletId/@w:val"/>
-        <xsl:element name="style:properties">
-            <xsl:attribute name="style:vertical-pos">middle</xsl:attribute>
-            <xsl:attribute name="style:vertical-rel">line</xsl:attribute>
-            <xsl:variable name="picsize" select="/descendant::w:lists/w:listPicBullet[@w:listPicBulletId=$picid]/w:pict/v:shape/@style"/>
-            <xsl:attribute name="fo:width"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="substring-before(substring-after($picsize,'width:'), ';')"/></xsl:call-template><xsl:text>cm</xsl:text></xsl:attribute>
-            <xsl:attribute name="fo:height"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="substring-after($picsize,'height:')"/></xsl:call-template><xsl:text>cm</xsl:text></xsl:attribute>
-            <xsl:variable name="labelwidth">
-                <xsl:choose>
-                    <xsl:when test="w:pPr/w:ind/@w:hanging">
-                        <xsl:call-template name="convert2cm">
-                            <xsl:with-param name="value" select="concat(w:pPr/w:ind/@w:hanging,'dxa')"/>
-                        </xsl:call-template>
-                    </xsl:when>
-                    <xsl:when test="w:pPr/w:ind/@w:first-line">
-                        <xsl:call-template name="convert2cm">
-                            <xsl:with-param name="value" select="concat('-',w:pPr/w:ind/@w:first-line,'dxa')"/>
-                        </xsl:call-template>
-                    </xsl:when>
-                    <xsl:otherwise>0</xsl:otherwise>
-                </xsl:choose>
-            </xsl:variable>
-            <xsl:variable name="leftwidth">
-                <xsl:call-template name="convert2cm">
-                    <xsl:with-param name="value" select="concat(w:pPr/w:ind/@w:left,'dxa')"/>
-                </xsl:call-template>
-            </xsl:variable>
-            <xsl:attribute name="text:space-before"><xsl:value-of select="concat(number($leftwidth)-number($labelwidth),'cm')"/></xsl:attribute>
-            <xsl:attribute name="text:min-label-width"><xsl:choose><xsl:when test="$labelwidth &gt; 0"><xsl:value-of select="concat($labelwidth,'cm')"/></xsl:when><xsl:otherwise>0cm</xsl:otherwise></xsl:choose></xsl:attribute>
-            <xsl:choose>
-                <xsl:when test="w:suff/@w:val='Space'">
-                    <xsl:attribute name="text:min-label-distance">0.20cm</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:pPr/w:tabs/w:tab/@w:pos">
-                    <xsl:variable name="tabpos">
-                        <xsl:call-template name="convert2cm">
-                            <xsl:with-param name="value" select="concat(w:pPr/w:tabs/w:tab/@w:pos,'dxa')"/>
-                        </xsl:call-template>
-                    </xsl:variable>
-                    <xsl:if test="number($tabpos) &gt; (number($leftwidth)-number($labelwidth))">
-                        <xsl:attribute name="text:min-label-distance"><xsl:value-of select="concat(number($tabpos)+number($labelwidth)-number($leftwidth),'cm')"/></xsl:attribute>
-                    </xsl:if>
-                </xsl:when>
-            </xsl:choose>
-        </xsl:element>
-        <office:binary-data>
-            <xsl:value-of select="/descendant::w:lists/w:listPicBullet[@w:listPicBulletId=$picid]/w:pict/w:binData"/>
-        </office:binary-data>
-    </xsl:template>
-    <!-- avoid listPr in textbox. :( glu -->
-    <xsl:template match="w:p[w:pPr/w:listPr[w:ilvl and w:ilfo]]">
-        <xsl:call-template name="genlist"/>
-    </xsl:template>
-    <xsl:template name="genlist">
-        <xsl:variable name="currlistid" select="w:pPr/w:listPr/w:ilfo/@w:val"/>
-        <xsl:variable name="currlistlvl" select="w:pPr/w:listPr/w:ilvl/@w:val"/>
-        <xsl:variable name="firstoccur" select="/descendant::w:pPr[w:listPr/w:ilfo/@w:val = $currlistid][1]"/>
-        <xsl:variable name="rootlistid" select="/w:wordDocument/w:lists/w:list[@w:ilfo=$currlistid]/w:ilst/@w:val"/>
-        <xsl:variable name="rootlistname" select="/w:wordDocument/w:lists/w:listDef[@w:listDefId =$rootlistid ]/w:listStyleLink/@w:val"/>
-        <xsl:element name="text:ordered-list">
-            <xsl:attribute name="text:style-name"><xsl:choose><xsl:when test="string-length($rootlistname) &gt; 0"><xsl:value-of select="$rootlistname"/></xsl:when><xsl:otherwise>List<xsl:value-of select="count($firstoccur/preceding::w:listPr)"/></xsl:otherwise></xsl:choose></xsl:attribute>
-            <xsl:choose>
-                <xsl:when test="preceding::w:pPr/w:listPr/w:ilfo/@w:val = w:pPr/w:listPr/w:ilfo/@w:val">
-                    <xsl:attribute name="text:continue-numbering">true</xsl:attribute>
-                    <xsl:element name="text:list-item">
-                        <xsl:call-template name="levels">
-                            <xsl:with-param name="level" select="$currlistlvl"/>
-                        </xsl:call-template>
-                    </xsl:element>
-                </xsl:when>
-                <xsl:otherwise>
-                    <xsl:element name="text:list-item">
-                        <xsl:call-template name="levels">
-                            <xsl:with-param name="level" select="$currlistlvl"/>
-                        </xsl:call-template>
-                    </xsl:element>
-                </xsl:otherwise>
-            </xsl:choose>
-        </xsl:element>
-    </xsl:template>
-    <xsl:template name="levels">
-        <xsl:param name="level"/>
-        <xsl:choose>
-            <xsl:when test="$level = '0'">
-                <xsl:call-template name="process-common-paragraph"/>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:element name="text:ordered-list">
-                    <xsl:element name="text:list-item">
-                        <xsl:call-template name="levels">
-                            <xsl:with-param name="level" select="$level -1"/>
-                        </xsl:call-template>
-                    </xsl:element>
-                </xsl:element>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-    <xsl:template match="w:style" mode="list">
-        <xsl:variable name="listname" select="@w:styleId"/>
-        <xsl:if test="/w:wordDocument/w:lists/w:listDef[w:styleLink/@w:val=$listname]">
-            <text:list-style style:name="{$listname}">
-                <xsl:apply-templates select="/w:wordDocument/w:lists/w:listDef[w:styleLink/@w:val=$listname]/w:lvl"/>
-            </text:list-style>
-        </xsl:if>
-    </xsl:template>
-    <!-- for create outline style in office:styles -->
-    <xsl:template name="create-outline-style">
-        <xsl:element name="text:outline-style">
-            <xsl:call-template name="outline-level-style">
-                <xsl:with-param name="level" select="1"/>
-            </xsl:call-template>
-            <xsl:call-template name="outline-level-style">
-                <xsl:with-param name="level" select="2"/>
-            </xsl:call-template>
-            <xsl:call-template name="outline-level-style">
-                <xsl:with-param name="level" select="3"/>
-            </xsl:call-template>
-            <xsl:call-template name="outline-level-style">
-                <xsl:with-param name="level" select="4"/>
-            </xsl:call-template>
-            <xsl:call-template name="outline-level-style">
-                <xsl:with-param name="level" select="5"/>
-            </xsl:call-template>
-            <xsl:call-template name="outline-level-style">
-                <xsl:with-param name="level" select="6"/>
-            </xsl:call-template>
-            <xsl:call-template name="outline-level-style">
-                <xsl:with-param name="level" select="7"/>
-            </xsl:call-template>
-            <xsl:call-template name="outline-level-style">
-                <xsl:with-param name="level" select="8"/>
-            </xsl:call-template>
-            <xsl:call-template name="outline-level-style">
-                <xsl:with-param name="level" select="9"/>
-            </xsl:call-template>
-            <xsl:call-template name="outline-level-style">
-                <xsl:with-param name="level" select="10"/>
-            </xsl:call-template>
-        </xsl:element>
-    </xsl:template>
-    <xsl:template name="outline-level-style">
-        <xsl:param name="level"/>
-        <xsl:element name="text:outline-level-style">
-            <xsl:choose>
-                <xsl:when test="w:style[@w:type = 'paragraph' and (w:pPr/w:outlineLvl/@w:val = $level -1) and w:pPr/w:listPr]">
-                    <xsl:apply-templates select="(w:style[@w:type = 'paragraph' and w:pPr/w:outlineLvl/@w:val = $level -1 and w:pPr/w:listPr ]/w:pPr/w:listPr)[position()=1]" mode="outline">
-                        <xsl:with-param name="outlinelevel" select="$level"/>
-                    </xsl:apply-templates>
-                </xsl:when>
-                <xsl:otherwise>
-                    <xsl:attribute name="text:level"><xsl:value-of select="$level"/></xsl:attribute>
-                    <xsl:attribute name="style:num-format"/>
-                </xsl:otherwise>
-            </xsl:choose>
-        </xsl:element>
-    </xsl:template>
-    <xsl:template match="w:listPr" mode="outline">
-        <xsl:param name="outlinelevel"/>
-        <xsl:variable name="currlistid" select="w:ilfo/@w:val"/>
-        <xsl:variable name="currlistlevel">
-            <xsl:choose>
-                <xsl:when test="w:ilvl">
-                    <xsl:value-of select="w:ilvl/@w:val"/>
-                </xsl:when>
-                <xsl:otherwise>0</xsl:otherwise>
-            </xsl:choose>
-        </xsl:variable>
-        <xsl:variable name="rootlistid" select="/w:wordDocument/w:lists/w:list[@w:ilfo=$currlistid]/w:ilst/@w:val"/>
-        <xsl:variable name="rootlist" select="/w:wordDocument/w:lists/w:listDef[@w:listDefId =$rootlistid ]"/>
-        <xsl:for-each select="$rootlist/w:lvl[@w:ilvl=$currlistlevel]">
-            <xsl:call-template name="list-styles-common">
-                <xsl:with-param name="listtype">
-                    <xsl:choose>
-                        <xsl:when test="w:nfc/@w:val">
-                            <xsl:value-of select="w:nfc/@w:val"/>
-                        </xsl:when>
-                        <xsl:otherwise>0</xsl:otherwise>
-                    </xsl:choose>
-                </xsl:with-param>
-                <xsl:with-param name="currlevel" select="$outlinelevel"/>
-            </xsl:call-template>
-        </xsl:for-each>
-    </xsl:template>
-    <xsl:template name="nfc2numformat">
-        <xsl:param name="nfcvalue"/>
-        <xsl:param name="prefix"/>
-        <xsl:param name="suffix"/>
-        <xsl:choose>
-            <xsl:when test="$nfcvalue=0">
-                <xsl:attribute name="style:num-format">1</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=1">
-                <xsl:attribute name="style:num-format">I</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=2">
-                <xsl:attribute name="style:num-format">i</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=3">
-                <xsl:attribute name="style:num-format">A</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=4">
-                <xsl:attribute name="style:num-format">a</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=10 or $nfcvalue=11 or $nfcvalue=17 or $nfcvalue=29 or $nfcvalue=33 or $nfcvalue=35 or $nfcvalue=36 or $nfcvalue=37 or $nfcvalue=39 or $nfcvalue=44">
-                <xsl:attribute name="style:num-format">一, 二, 三, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=12">
-                <xsl:attribute name="style:num-format">ア, イ, ウ, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=13">
-                <xsl:attribute name="style:num-format">イ, ロ, ハ, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=14 or $nfcvalue=19">
-                <xsl:attribute name="style:num-format">1, 2, 3, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=16">
-                <xsl:attribute name="style:num-format">壱, 弐, 参, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=18 or $nfcvalue=28">
-                <xsl:attribute name="style:num-format">①, ②, ③, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=20">
-                <xsl:attribute name="style:num-format">ア, イ, ウ, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=21">
-                <xsl:attribute name="style:num-format">イ, ロ, ハ, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=24">
-                <xsl:attribute name="style:num-format">가, 나, 다, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=25">
-                <xsl:attribute name="style:num-format">ㄱ, ㄴ, ㄷ, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=30">
-                <xsl:attribute name="style:num-format">甲, 乙, 丙, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=31">
-                <xsl:attribute name="style:num-format">子, 丑, 寅, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=34">
-                <xsl:attribute name="style:num-format">壹, 貳, 參, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=38">
-                <xsl:attribute name="style:num-format">壹, 贰, 叁, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=41 or $nfcvalue=42 or $nfcvalue=43">
-                <xsl:attribute name="style:num-format">일, 이, 삼, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=45 or $nfcvalue=47">
-                <xsl:attribute name="style:num-format">א, ב, ג, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=46 or $nfcvalue=48">
-                <xsl:attribute name="style:num-format">أ, ب, ت, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=53">
-                <xsl:attribute name="style:num-format">ก, ข, ฃ, ...</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue!=57 and $nfcvalue &gt; 48 and $nfcvalue &lt; 60">
-                <xsl:attribute name="style:num-format">Native Numbering</xsl:attribute>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:attribute name="style:num-format">1</xsl:attribute>
-            </xsl:otherwise>
-        </xsl:choose>
-        <xsl:choose>
-            <xsl:when test="$nfcvalue=26">
-                <xsl:attribute name="style:num-prefix"><xsl:value-of select="$prefix"/></xsl:attribute>
-                <xsl:attribute name="style:num-suffix"><xsl:value-of select="concat( '.' , $suffix )"/></xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=27 or $nfcvalue=29">
-                <xsl:attribute name="style:num-prefix"><xsl:value-of select="concat( $prefix, '(' )"/></xsl:attribute>
-                <xsl:attribute name="style:num-suffix"><xsl:value-of select="concat( ')' , $suffix )"/></xsl:attribute>
-            </xsl:when>
-            <xsl:when test="$nfcvalue=57">
-                <xsl:attribute name="style:num-prefix"><xsl:value-of select="concat( $prefix, '- ' )"/></xsl:attribute>
-                <xsl:attribute name="style:num-suffix"><xsl:value-of select="concat( ' -' , $suffix )"/></xsl:attribute>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:attribute name="style:num-prefix"><xsl:value-of select="$prefix"/></xsl:attribute>
-                <xsl:attribute name="style:num-suffix"><xsl:value-of select="$suffix"/></xsl:attribute>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-<!-- End of OOo2.0 import/wordml/wordml2ooo_list.xsl stylesheet  -->
-<!-- Start of OOo2.0 import/wordml/wordml2ooo_page.xsl stylesheet  -->
-    <xsl:template match="w:sectPr" mode="page-master">
-        <style:page-master>
-            <xsl:attribute name="style:name">pm<xsl:number from="/w:wordDocument/w:body" level="any" count="w:sectPr"/></xsl:attribute>
-            <style:properties>
-                <xsl:attribute name="fo:page-width"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgSz/@w:w,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                <xsl:attribute name="fo:page-height"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgSz/@w:h,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                <xsl:choose>
-                    <xsl:when test="/w:wordDocument/w:docPr/w:gutterAtTop">
-                        <xsl:attribute name="fo:margin-top"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:top + w:pgMar/@w:gutter,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                        <xsl:attribute name="fo:margin-left"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:left,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                        <xsl:attribute name="fo:margin-right"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:right,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="w:rtlGutter">
-                        <xsl:attribute name="fo:margin-top"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:top,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                        <xsl:attribute name="fo:margin-left"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:left,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                        <xsl:attribute name="fo:margin-right"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:right + w:pgMar/@w:gutter,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:attribute name="fo:margin-top"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:top,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                        <xsl:attribute name="fo:margin-left"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:left + w:pgMar/@w:gutter,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                        <xsl:attribute name="fo:margin-right"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:right,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                    </xsl:otherwise>
-                </xsl:choose>
-                <xsl:attribute name="fo:margin-bottom"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:bottom,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                <xsl:attribute name="style:footnote-max-height"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:footer,'dxa')"/></xsl:call-template></xsl:attribute>
-                <xsl:if test="w:pgSz/@w:orient">
-                    <xsl:attribute name="style:print-orientation"><xsl:value-of select="w:pgSz/@w:orient"/></xsl:attribute>
-                </xsl:if>
-                <xsl:if test="w:cols/@w:num">
-                    <!-- create sction property-->
-                    <style:columns>
-                        <xsl:attribute name="fo:column-count"><xsl:value-of select="w:cols/@w:num"/></xsl:attribute>
-                        <xsl:attribute name="fo:column-gap"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:cols/@w:space,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                    </style:columns>
-                </xsl:if>
-            </style:properties>
-        </style:page-master>
-    </xsl:template>
-    <xsl:template match="w:sectPr" mode="master-page">
-        <!-- style:page-master style:style-->
-        <style:master-page>
-            <xsl:variable name="master-page-name">
-                <xsl:number count="w:sectPr" from="/w:wordDocument/w:body" level="any"/>
-            </xsl:variable>
-            <xsl:attribute name="style:name">Standard<xsl:value-of select="$master-page-name"/></xsl:attribute>
-            <xsl:attribute name="style:page-master-name"><xsl:value-of select="concat('pm', $master-page-name)"/></xsl:attribute>
-            <!-- Headers and footers-->
-            <style:header-style>
-                <style:properties>
-                    <xsl:attribute name="fo:min-height"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:header,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                    <xsl:attribute name="fo:margin-bottom">0.792cm</xsl:attribute>
-                    <xsl:attribute name="style:dynamic-spacing">true</xsl:attribute>
-                </style:properties>
-            </style:header-style>
-            <style:footer-style>
-                <style:properties>
-                    <xsl:attribute name="fo:min-height"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:footer,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                    <xsl:attribute name="fo:margin-top">0.792cm</xsl:attribute>
-                    <xsl:attribute name="style:dynamic-spacing">true</xsl:attribute>
-                </style:properties>
-            </style:footer-style>
-            <xsl:if test="not(w:titlePg)">
-                <xsl:apply-templates select="w:hdr[@w:type='odd']"/>
-                <xsl:apply-templates select="w:hdr[@w:type='even']"/>
-                <xsl:apply-templates select="w:ftr[@w:type='odd']"/>
-                <xsl:apply-templates select="w:ftr[@w:type='even']"/>
-            </xsl:if>
-        </style:master-page>
-    </xsl:template>
-    <xsl:template match="w:hdr">
-        <xsl:choose>
-            <xsl:when test="@w:type = 'odd'">
-                <style:header>
-                    <xsl:apply-templates/>
-                </style:header>
-            </xsl:when>
-            <xsl:when test="@w:type = 'even'">
-                <style:header-left>
-                    <xsl:apply-templates/>
-                </style:header-left>
-            </xsl:when>
-        </xsl:choose>
-    </xsl:template>
-    <xsl:template match="w:ftr">
-        <xsl:choose>
-            <xsl:when test="@w:type = 'odd'">
-                <style:footer>
-                    <xsl:apply-templates/>
-                </style:footer>
-            </xsl:when>
-            <xsl:when test="@w:type = 'even'">
-                <style:footer-left>
-                    <xsl:apply-templates/>
-                </style:footer-left>
-            </xsl:when>
-        </xsl:choose>
-    </xsl:template>
-<!-- End of OOo2.0 import/wordml/wordml2ooo_page.xsl stylesheet  -->
-<!-- Start of OOo2.0 import/wordml/wordml2ooo_settings.xsl stylesheet  -->
-    <xsl:template match="w:docPr">
-        <office:settings>
-            <config:config-item-set config:name="view-settings">
-                <config:config-item config:name="InBrowseMode" config:type="boolean">
-                    <xsl:choose>
-                        <xsl:when test="w:view/@w:val = 'outline'">true</xsl:when>
-                        <xsl:when test="w:view/@w:val = 'print'">false</xsl:when>
-                        <!-- others: web, reading, normal, master-pages, none. glu -->
-                        <xsl:otherwise>true</xsl:otherwise>
-                    </xsl:choose>
-                </config:config-item>
-                <config:config-item-map-indexed config:name="Views">
-                    <config:config-item-map-entry>
-                        <xsl:if test="w:zoom">
-                            <!-- VisibleRight and VisibleBottom are arbitrary positive numbers. ;) glu -->
-                            <config:config-item config:name="VisibleRight" config:type="int">1</config:config-item>
-                            <config:config-item config:name="VisibleBottom" config:type="int">1</config:config-item>
-                            <xsl:choose>
-                                <xsl:when test="w:zoom/@w:val = 'best-fit'">
-                                    <config:config-item config:name="ZoomType" config:type="short">3</config:config-item>
-                                </xsl:when>
-                                <xsl:when test="w:zoom/@w:val = 'full-page'">
-                                    <config:config-item config:name="ZoomType" config:type="short">2</config:config-item>
-                                </xsl:when>
-                                <xsl:when test="w:zoom/@w:val = 'text-fit'">
-                                    <config:config-item config:name="ZoomType" config:type="short">1</config:config-item>
-                                </xsl:when>
-                                <xsl:otherwise>
-                                    <config:config-item config:name="ZoomType" config:type="short">0</config:config-item>
-                                </xsl:otherwise>
-                            </xsl:choose>
-                            <config:config-item config:name="ZoomFactor" config:type="short">
-                                <xsl:value-of select="w:zoom/@w:percent"/>
-                            </config:config-item>
-                        </xsl:if>
-                    </config:config-item-map-entry>
-                </config:config-item-map-indexed>
-            </config:config-item-set>
-        </office:settings>
-    </xsl:template>
-<!-- End of OOo2.0 import/wordml/wordml2ooo_settings.xsl stylesheet  -->
-<!-- Start of OOo2.0 import/wordml/wordml2ooo_table.xsl stylesheet  -->
-    <xsl:template match="w:tblPr" mode="style">
-        <xsl:element name="style:style">
-            <xsl:attribute name="style:name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/></xsl:attribute>
-            <xsl:attribute name="style:family">table</xsl:attribute>
-            <xsl:if test="w:tblStyle">
-                <xsl:attribute name="style:parent-style-name"><xsl:value-of select="w:tblStyle/@w:val"/></xsl:attribute>
-            </xsl:if>
-            <xsl:element name="style:properties">
-                <xsl:choose>
-                    <xsl:when test="w:jc/@w:val = 'left' or w:jc/@w:val = 'center' or w:jc/@w:val = 'right'">
-                        <xsl:attribute name="table:align"><xsl:value-of select="w:jc/@w:val"/></xsl:attribute>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:attribute name="table:align">margins</xsl:attribute>
-                    </xsl:otherwise>
-                </xsl:choose>
-                <!-- adopt the width of table and column corresponding the width of page and margins. . -->
-                <xsl:variable name="sectPr" select="following::w:sectPr[1]"/>
-                <xsl:variable name="total-page-size" select="$sectPr/w:pgSz/@w:w"/>
-                <xsl:variable name="page-left-mar" select="$sectPr/w:pgMar/@w:left"/>
-                <xsl:variable name="page-right-mar" select="$sectPr/w:pgMar/@w:right"/>
-                <xsl:variable name="page-size-value" select="$total-page-size - $page-left-mar - $page-right-mar"/>
-                <xsl:variable name="page-size-inch">
-                    <xsl:call-template name="convert2in">
-                        <xsl:with-param name="value" select="concat($page-size-value, 'dxa') "/>
-                    </xsl:call-template>
-                </xsl:variable>
-                <xsl:variable name="gridcols" select="../w:tblGrid/w:gridCol"/>
-                <xsl:variable name="tblsize" select="sum($gridcols/@w:w)"/>
-                <xsl:variable name="table_indent">
-                    <xsl:choose>
-                        <xsl:when test="w:tblInd and  w:tblInd/@w:w &gt; 0 ">
-                            <xsl:call-template name="convert2in">
-                                <xsl:with-param name="value" select="concat(w:tblInd/@w:w, 'dxa') "/>
-                            </xsl:call-template>
-                        </xsl:when>
-                        <xsl:otherwise>
-                            <xsl:value-of select="number( '0') "/>
-                        </xsl:otherwise>
-                    </xsl:choose>
-                </xsl:variable>
-                <xsl:variable name="rel-tblsize">
-                    <xsl:choose>
-                        <xsl:when test="w:tblW/@w:type = 'pct'">
-                            <xsl:value-of select="(number(w:tblW/@w:w  ) div 5000) * $page-size-inch"/>
-                        </xsl:when>
-                        <xsl:otherwise>
-                            <xsl:call-template name="convert2in">
-                                <xsl:with-param name="value" select="concat($tblsize, 'dxa')"/>
-                            </xsl:call-template>
-                        </xsl:otherwise>
-                    </xsl:choose>
-                </xsl:variable>
-                <xsl:attribute name="style:width"><xsl:value-of select="concat($rel-tblsize, 'inch' )"/></xsl:attribute>
-                <xsl:variable name="tbl_margin_left">
-                    <xsl:choose>
-                        <xsl:when test="not(w:tblpPr ) ">
-                            <xsl:choose>
-                                <xsl:when test="w:bidiVisual">
-                                    <xsl:choose>
-                                        <xsl:when test=" number($page-size-inch - $table_indent - $rel-tblsize) &gt; 0">
-                                            <xsl:value-of select="$page-size-inch - $table_indent - $rel-tblsize"/>
-                                        </xsl:when>
-                                        <xsl:otherwise>
-                                            <xsl:text>0</xsl:text>
-                                        </xsl:otherwise>
-                                    </xsl:choose>
-                                </xsl:when>
-                                <xsl:otherwise>
-                                    <xsl:value-of select="$table_indent"/>
-                                </xsl:otherwise>
-                            </xsl:choose>
-                        </xsl:when>
-                        <xsl:when test="w:tblpPr">
-                            <!-- if the table is  put into a draw:text-box,  fo:margin-left and fo:margin-right should be 0 -->
-                            <xsl:text>0</xsl:text>
-                        </xsl:when>
-                    </xsl:choose>
-                </xsl:variable>
-                <xsl:variable name="tbl_margin_right">
-                    <xsl:choose>
-                        <xsl:when test="not(w:tblpPr ) ">
-                            <xsl:choose>
-                                <xsl:when test="w:bidiVisual">
-                                    <xsl:value-of select="$table_indent"/>
-                                </xsl:when>
-                                <xsl:otherwise>
-                                    <xsl:choose>
-                                        <xsl:when test=" number($page-size-inch - $table_indent - $rel-tblsize) &gt; 0">
-                                            <xsl:value-of select="$page-size-inch - $table_indent - $rel-tblsize"/>
-                                        </xsl:when>
-                                        <xsl:otherwise>
-                                            <xsl:text>0</xsl:text>
-                                        </xsl:otherwise>
-                                    </xsl:choose>
-                                </xsl:otherwise>
-                            </xsl:choose>
-                        </xsl:when>
-                        <xsl:when test="w:tblpPr">
-                            <!-- if the table is  put into a draw:text-box,  fo:margin-left and fo:margin-right should be 0 -->
-                            <xsl:text>0</xsl:text>
-                        </xsl:when>
-                    </xsl:choose>
-                </xsl:variable>
-                <xsl:attribute name="fo:margin-left"><xsl:value-of select="concat( $tbl_margin_left, 'inch')"/></xsl:attribute>
-                <xsl:attribute name="fo:margin-right"><xsl:value-of select="concat($tbl_margin_right, 'inch')"/></xsl:attribute>
-                <!-- If previous w:p has a page break, the table must have the page break attribute applied to it	 May need this for tables starting on new pages -->
-                <!--	<xsl:if test="parent::w:tbl/preceding-sibling::w:p[1][descendant::w:br/@w:type='page']">
-							<xsl:attribute name="fo:break-before">page</xsl:attribute></xsl:if>	-->
-                <!-- initial values for tables-->
-            </xsl:element>
-        </xsl:element>
-        <!-- the following style is for conveting Word table text wrapping to SO Writer. Since SO Writer has no table text wrapping feature, so we use the draw:text-box as a container and put the table in draw:text-box -->
-        <xsl:if test="w:tblpPr">
-            <xsl:element name="style:style">
-                <xsl:attribute name="style:name">TableFrame<xsl:number count="w:tblpPr" from="/w:wordDocument/w:body" level="any"/></xsl:attribute>
-                <xsl:attribute name="style:family">graphics</xsl:attribute>
-                <xsl:attribute name="style:parent-style-name"><xsl:value-of select=" 'Frame' "/></xsl:attribute>
-                <xsl:element name="style:properties">
-                    <xsl:if test="w:tblpPr/@w:leftFromText">
-                        <xsl:variable name="left_margin_from_text">
-                            <xsl:call-template name="convert2in">
-                                <xsl:with-param name="value" select="concat (w:tblpPr/@w:leftFromText, 'dxa') "/>
-                            </xsl:call-template>
-                        </xsl:variable>
-                        <xsl:attribute name="fo:margin-left"><xsl:value-of select="concat( $left_margin_from_text, 'inch') "/></xsl:attribute>
-                    </xsl:if>
-                    <xsl:if test="w:tblpPr/@w:rightFromText">
-                        <xsl:variable name="right_margin_from_text">
-                            <xsl:call-template name="convert2in">
-                                <xsl:with-param name="value" select="concat (w:tblpPr/@w:rightFromText, 'dxa') "/>
-                            </xsl:call-template>
-                        </xsl:variable>
-                        <xsl:attribute name="fo:margin-right"><xsl:value-of select="concat( $right_margin_from_text, 'inch') "/></xsl:attribute>
-                    </xsl:if>
-                    <xsl:if test="w:tblpPr/@w:topFromText">
-                        <xsl:variable name="top_margin_from_text">
-                            <xsl:call-template name="convert2in">
-                                <xsl:with-param name="value" select="concat (w:tblpPr/@w:topFromText, 'dxa') "/>
-                            </xsl:call-template>
-                        </xsl:variable>
-                        <xsl:attribute name="fo:margin-top"><xsl:value-of select="concat( $top_margin_from_text, 'inch') "/></xsl:attribute>
-                    </xsl:if>
-                    <xsl:if test="w:tblpPr/@w:bottomFromText">
-                        <xsl:variable name="bottom_margin_from_text">
-                            <xsl:call-template name="convert2in">
-                                <xsl:with-param name="value" select="concat (w:tblpPr/@w:bottomFromText, 'dxa') "/>
-                            </xsl:call-template>
-                        </xsl:variable>
-                        <xsl:attribute name="fo:margin-bottom"><xsl:value-of select="concat( $bottom_margin_from_text, 'inch') "/></xsl:attribute>
-                    </xsl:if>
-                    <xsl:attribute name="style:number-wrapped-paragraphs"><xsl:text>no-limit</xsl:text></xsl:attribute>
-                    <!--xsl:if test="w:tblpPr/@w:tblpYSpec" to get the vertical alignment-->
-                    <xsl:variable name="vertical_alignment">
-                        <xsl:choose>
-                            <xsl:when test="w:tblpPr/@w:tblpYSpec = 'top' ">
-                                <xsl:text>top</xsl:text>
-                            </xsl:when>
-                            <xsl:when test="w:tblpPr/@w:tblpYSpec = 'center' ">
-                                <xsl:text>middle</xsl:text>
-                            </xsl:when>
-                            <xsl:when test="w:tblpPr/@w:tblpYSpec= 'bottom' ">
-                                <xsl:text>bottom</xsl:text>
-                            </xsl:when>
-                            <xsl:when test="w:tblpPr/@w:tblpYSpec = 'inside' ">
-                                <xsl:text>from-top</xsl:text>
-                            </xsl:when>
-                            <xsl:when test="w:tblpPr/@w:tblpYSpec= 'outside' ">
-                                <xsl:text>top</xsl:text>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:text>from-top</xsl:text>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:variable>
-                    <xsl:attribute name="style:vertical-pos"><xsl:value-of select="$vertical_alignment"/></xsl:attribute>
-                    <!--/xsl:if-->
-                    <!--xsl:if test="w:tblpPr/@w:vertAnchor" to get the vertical anchor related area type -->
-                    <xsl:variable name="frame_v_anchor">
-                        <xsl:choose>
-                            <xsl:when test="w:tblpPr/@w:vertAnchor = 'text' ">
-                                <xsl:value-of select=" 'paragraph' "/>
-                            </xsl:when>
-                            <xsl:when test="w:tblpPr/@w:vertAnchor = 'margin' ">
-                                <xsl:value-of select=" 'paragraph-content' "/>
-                            </xsl:when>
-                            <xsl:when test="w:tblpPr/@w:vertAnchor = 'page' ">
-                                <xsl:value-of select="w:tblpPr/@w:vertAnchor"/>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:value-of select=" 'page-content' "/>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:variable>
-                    <xsl:attribute name="style:vertical-rel"><xsl:value-of select="$frame_v_anchor"/></xsl:attribute>
-                    <!--/xsl:if-->
-                    <!--xsl:if test="w:tblpPr/@w:tblpXSpec" to get the horizntal alignment-->
-                    <xsl:variable name="horizental_alignment">
-                        <xsl:choose>
-                            <xsl:when test="w:tblpPr/@w:tblpXSpec = 'left' ">
-                                <xsl:text>left</xsl:text>
-                            </xsl:when>
-                            <xsl:when test="w:tblpPr/@w:tblpXSpec = 'center' ">
-                                <xsl:text>center</xsl:text>
-                            </xsl:when>
-                            <xsl:when test="w:tblpPr/@w:tblpXSpec = 'right' ">
-                                <xsl:text>right</xsl:text>
-                            </xsl:when>
-                            <xsl:when test="w:tblpPr/@w:tblpXSpec = 'inside' ">
-                                <xsl:text>from-left</xsl:text>
-                            </xsl:when>
-                            <xsl:when test="w:tblpPr/@w:tblpXSpec = 'outside' ">
-                                <xsl:text>outside</xsl:text>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:text>left</xsl:text>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:variable>
-                    <xsl:attribute name="style:horizontal-pos"><xsl:value-of select="$horizental_alignment"/></xsl:attribute>
-                    <!--/xsl:if-->
-                    <!--xsl:if test="w:tblpPr/@w:horzAnchor" to get the horizental anchor related area type-->
-                    <xsl:variable name="frame_h_anchor">
-                        <xsl:choose>
-                            <xsl:when test="w:tblpPr/@w:horzAnchor = 'text' ">
-                                <xsl:value-of select=" 'paragraph' "/>
-                            </xsl:when>
-                            <xsl:when test="w:tblpPr/@w:horzAnchor = 'margin' ">
-                                <xsl:value-of select=" 'page-content' "/>
-                            </xsl:when>
-                            <xsl:when test="w:tblpPr/@w:horzAnchor = 'page' ">
-                                <xsl:value-of select="w:tblpPr/@w:horzAnchor"/>
-                            </xsl:when>
-                            <xsl:when test="w:tblpPr/@w:horzAnchor= 'inside' ">
-                                <xsl:value-of select=" 'paragraph-start-margin' "/>
-                            </xsl:when>
-                            <xsl:when test="w:tblpPr/@w:horzAnchor= 'outside' ">
-                                <xsl:value-of select=" 'paragraph-end-margin' "/>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:value-of select=" 'paragraph-content' "/>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:variable>
-                    <xsl:attribute name="style:horizontal-rel"><xsl:value-of select="$frame_h_anchor"/></xsl:attribute>
-                    <!--/xsl:if-->
-                    <xsl:attribute name="fo:background-color"><xsl:text>#ffffff</xsl:text></xsl:attribute>
-                    <xsl:attribute name="style:background-transparency"><xsl:text>100%</xsl:text></xsl:attribute>
-                    <xsl:attribute name="style:wrap"><xsl:text>parallel</xsl:text></xsl:attribute>
-                </xsl:element>
-            </xsl:element>
-        </xsl:if>
-    </xsl:template>
-    <xsl:template match="w:gridCol" mode="style">
-        <xsl:element name="style:style">
-            <xsl:attribute name="style:family">table-column</xsl:attribute>
-            <xsl:attribute name="style:name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/>.C<xsl:number count="w:gridCol" from="/w:wordDocument/w:body" level="single"/></xsl:attribute>
-            <xsl:element name="style:properties">
-                <xsl:variable name="column_width">
-                    <xsl:call-template name="convert2in">
-                        <xsl:with-param name="value" select="concat(@w:w, 'dxa') "/>
-                    </xsl:call-template>
-                </xsl:variable>
-                <xsl:attribute name="style:column-width"><xsl:value-of select="concat($column_width,'inch') "/></xsl:attribute>
-            </xsl:element>
-        </xsl:element>
-    </xsl:template>
-    <xsl:template match="w:trPr" mode="style">
-        <!-- to generate style:style of table-row height.  -->
-        <xsl:element name="style:style">
-            <xsl:attribute name="style:family">table-row</xsl:attribute>
-            <xsl:attribute name="style:name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/>.R<xsl:number count="w:tr" from="/w:wordDocument/w:body" level="single"/></xsl:attribute>
-            <xsl:element name="style:properties">
-                <xsl:choose>
-                    <xsl:when test="w:trHeight/@w:val">
-                        <xsl:variable name="tbl_row_height">
-                            <xsl:call-template name="convert2in">
-                                <xsl:with-param name="value" select="concat(w:trHeight/@w:val, 'dxa') "/>
-                            </xsl:call-template>
-                        </xsl:variable>
-                        <xsl:attribute name="style:row-height"><xsl:value-of select="concat($tbl_row_height, 'inch' )"/></xsl:attribute>
-                    </xsl:when>
-                </xsl:choose>
-            </xsl:element>
-        </xsl:element>
-    </xsl:template>
-    <xsl:template match="w:tcPr" mode="style">
-        <style:style>
-            <xsl:attribute name="style:name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/>.R<xsl:number count="w:tr" from="/w:wordDocument/w:body" level="single"/>C<xsl:number count="w:tc" from="/w:wordDocument/w:body" level="single"/></xsl:attribute>
-            <xsl:attribute name="style:family">table-cell</xsl:attribute>
-            <xsl:variable name="rootStyle" select="ancestor::w:tbl/w:tblPr/w:tblStyle/@w:val"/>
-            <xsl:variable name="rootStyleNode" select="/w:wordDocument/w:styles/w:style[@w:styleId = $rootStyle]"/>
-            <xsl:element name="style:properties">
-                <!-- cell background color start -->
-                <xsl:variable name="tbl_cell_background_color">
-                    <xsl:choose>
-                        <xsl:when test="w:shd/@w:fill">
-                            <xsl:value-of select="w:shd/@w:fill"/>
-                        </xsl:when>
-                        <xsl:when test="$rootStyleNode/w:tblpr/w:shd/@w:fill">
-                            <xsl:value-of select="$rootStyleNode/w:tblpr/w:shd/@w:fill"/>
-                        </xsl:when>
-                    </xsl:choose>
-                </xsl:variable>
-                <xsl:attribute name="fo:background-color"><xsl:value-of select="concat('#',$tbl_cell_background_color)"/></xsl:attribute>
-                <!--cell background color end -->
-                <!-- table cell vertical alignment start -->
-                <xsl:if test="w:vAlign">
-                    <xsl:variable name="tbl_cell_alignment">
-                        <xsl:choose>
-                            <xsl:when test="w:vAlign/@w:val = 'top' ">
-                                <xsl:text>top</xsl:text>
-                            </xsl:when>
-                            <xsl:when test="w:vAlign/@w:val = 'center' ">
-                                <xsl:text>middle</xsl:text>
-                            </xsl:when>
-                            <xsl:when test="w:vAlign/@w:val = 'bottom' ">
-                                <xsl:text>bottom</xsl:text>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:text>automatic</xsl:text>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:variable>
-                    <xsl:attribute name="fo:vertical-align"><xsl:value-of select="$tbl_cell_alignment"/></xsl:attribute>
-                </xsl:if>
-                <!--table cell alignment end -->
-                <!-- cell margin start -->
-                <xsl:variable name="tblcell_leftmargin">
-                    <xsl:choose>
-                        <xsl:when test="w:tcMar/w:left">
-                            <xsl:call-template name="convert2in">
-                                <xsl:with-param name="value" select="concat(w:tcMar/w:left/@w:w , w:tcMar/w:left/@w:type) "/>
-                            </xsl:call-template>
-                        </xsl:when>
-                        <xsl:when test="$rootStyleNode/w:tblPr/w:tblCellMar/w:left">
-                            <xsl:call-template name="convert2in">
-                                <xsl:with-param name="value" select="concat($rootStyleNode/w:tblPr/w:tblCellMar/w:left/@w:w , $rootStyleNode/w:tblPr/w:tblCellMar/w:left/@w:type)"/>
-                            </xsl:call-template>
-                        </xsl:when>
-                        <xsl:otherwise>
-                            <xsl:text>0</xsl:text>
-                        </xsl:otherwise>
-                    </xsl:choose>
-                </xsl:variable>
-                <xsl:variable name="tblcell_rightmargin">
-                    <xsl:choose>
-                        <xsl:when test="w:tcMar/w:right">
-                            <xsl:call-template name="convert2in">
-                                <xsl:with-param name="value" select="concat(w:tcMar/w:right/@w:w , w:tcMar/w:right/@w:type) "/>
-                            </xsl:call-template>
-                        </xsl:when>
-                        <xsl:when test="$rootStyleNode/w:tblPr/w:tblCellMar/w:right">
-                            <xsl:call-template name="convert2in">
-                                <xsl:with-param name="value" select="concat($rootStyleNode/w:tblPr/w:tblCellMar/w:right/@w:w , $rootStyleNode/w:tblPr/w:tblCellMar/w:right/@w:type)"/>
-                            </xsl:call-template>
-                        </xsl:when>
-                        <xsl:otherwise>
-                            <xsl:text>0</xsl:text>
-                        </xsl:otherwise>
-                    </xsl:choose>
-                </xsl:variable>
-                <xsl:variable name="tblcell_topmargin">
-                    <xsl:choose>
-                        <xsl:when test="w:tcMar/w:top">
-                            <xsl:call-template name="convert2in">
-                                <xsl:with-param name="value" select="concat(w:tcMar/w:top/@w:w , w:tcMar/w:top/@w:type) "/>
-                            </xsl:call-template>
-                        </xsl:when>
-                        <xsl:when test="$rootStyleNode/w:tblPr/w:tblCellMar/w:top">
-                            <xsl:call-template name="convert2in">
-                                <xsl:with-param name="value" select="concat($rootStyleNode/w:tblPr/w:tblCellMar/w:top/@w:w , $rootStyleNode/w:tblPr/w:tblCellMar/w:top/@w:type)"/>
-                            </xsl:call-template>
-                        </xsl:when>
-                        <xsl:otherwise>
-                            <xsl:text>0</xsl:text>
-                        </xsl:otherwise>
-                    </xsl:choose>
-                </xsl:variable>
-                <xsl:variable name="tblcell_bottommargin">
-                    <xsl:choose>
-                        <xsl:when test="w:tcMar/w:bottom">
-                            <xsl:call-template name="convert2in">
-                                <xsl:with-param name="value" select="concat(w:tcMar/w:bottom/@w:w , w:tcMar/w:bottom/@w:type) "/>
-                            </xsl:call-template>
-                        </xsl:when>
-                        <xsl:when test="$rootStyleNode/w:tblPr/w:tblCellMar/w:bottom">
-                            <xsl:call-template name="convert2in">
-                                <xsl:with-param name="value" select="concat($rootStyleNode/w:tblPr/w:tblCellMar/w:bottom/@w:w , $rootStyleNode/w:tblPr/w:tblCellMar/w:bottom/@w:type)"/>
-                            </xsl:call-template>
-                        </xsl:when>
-                        <xsl:otherwise>
-                            <xsl:text>0</xsl:text>
-                        </xsl:otherwise>
-                    </xsl:choose>
-                </xsl:variable>
-                <xsl:attribute name="fo:padding-left"><xsl:value-of select="concat($tblcell_leftmargin, 'inch' )"/></xsl:attribute>
-                <xsl:attribute name="fo:padding-right"><xsl:value-of select="concat($tblcell_rightmargin, 'inch' )"/></xsl:attribute>
-                <xsl:attribute name="fo:padding-top"><xsl:value-of select="concat($tblcell_topmargin, 'inch' )"/></xsl:attribute>
-                <xsl:attribute name="fo:padding-bottom"><xsl:value-of select="concat($tblcell_bottommargin, 'inch' )"/></xsl:attribute>
-                <!-- cell margin end -->
-                <xsl:variable name="row-position">
-                    <xsl:number count="w:tr" from="/w:wordDocument/w:body" level="single"/>
-                </xsl:variable>
-                <!-- cell borders should be carefully converted. a little complex. glu :( -->
-                <xsl:variable name="Borders" select="ancestor::w:tbl/w:tblPr/w:tblBorders"/>
-                <xsl:choose>
-                    <xsl:when test="$row-position &gt; 1">
-                        <xsl:call-template name="get-table-border">
-                            <xsl:with-param name="style-pos" select="'top'"/>
-                            <xsl:with-param name="style-position-0" select="w:tcBorders/w:top"/>
-                            <xsl:with-param name="style-position-1" select="$Borders/w:insideH"/>
-                            <xsl:with-param name="style-position-2" select="$rootStyleNode/w:tblPr/w:tblBorders/w:insideH"/>
-                        </xsl:call-template>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:call-template name="get-table-border">
-                            <xsl:with-param name="style-pos" select="'top'"/>
-                            <xsl:with-param name="style-position-0" select="w:tcBorders/w:top"/>
-                            <xsl:with-param name="style-position-1" select="$Borders/w:top"/>
-                            <xsl:with-param name="style-position-2" select="$rootStyleNode/w:tblPr/w:tblBorders/w:top"/>
-                        </xsl:call-template>
-                    </xsl:otherwise>
-                </xsl:choose>
-                <xsl:choose>
-                    <xsl:when test="count(ancestor::w:tr/following-sibling::w:tr) &gt; 0">
-                        <xsl:call-template name="get-table-border">
-                            <xsl:with-param name="style-pos" select="'bottom'"/>
-                            <xsl:with-param name="style-position-0" select="w:tcBorders/w:bottom"/>
-                            <xsl:with-param name="style-position-1" select="$Borders/w:insideH"/>
-                            <xsl:with-param name="style-position-2" select="$rootStyleNode/w:tblPr/w:tblBorders/w:insideH"/>
-                        </xsl:call-template>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:call-template name="get-table-border">
-                            <xsl:with-param name="style-pos" select="'bottom'"/>
-                            <xsl:with-param name="style-position-0" select="w:tcBorders/w:bottom"/>
-                            <xsl:with-param name="style-position-1" select="$Borders/w:bottom"/>
-                            <xsl:with-param name="style-position-2" select="$rootStyleNode/w:tblPr/w:tblBorders/w:bottom"/>
-                        </xsl:call-template>
-                    </xsl:otherwise>
-                </xsl:choose>
-                <xsl:choose>
-                    <xsl:when test="count(ancestor::w:tc/preceding-sibling::w:tc) &gt; 0">
-                        <xsl:call-template name="get-table-border">
-                            <xsl:with-param name="style-pos" select="'left'"/>
-                            <xsl:with-param name="style-position-0" select="w:tcBorders/w:left"/>
-                            <xsl:with-param name="style-position-1" select="$Borders/w:insideV"/>
-                            <xsl:with-param name="style-position-2" select="$rootStyleNode/w:tblPr/w:tblBorders/w:insideV"/>
-                        </xsl:call-template>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:call-template name="get-table-border">
-                            <xsl:with-param name="style-pos" select="'left'"/>
-                            <xsl:with-param name="style-position-0" select="w:tcBorders/w:left"/>
-                            <xsl:with-param name="style-position-1" select="$Borders/w:left"/>
-                            <xsl:with-param name="style-position-2" select="$rootStyleNode/w:tblPr/w:tblBorders/w:left"/>
-                        </xsl:call-template>
-                    </xsl:otherwise>
-                </xsl:choose>
-                <xsl:choose>
-                    <xsl:when test="count(ancestor::w:tc/following-sibling::w:tc) &gt; 0">
-                        <xsl:call-template name="get-table-border">
-                            <xsl:with-param name="style-pos" select="'right'"/>
-                            <xsl:with-param name="style-position-0" select="w:tcBorders/w:right"/>
-                            <xsl:with-param name="style-position-1" select="$Borders/w:insideV"/>
-                            <xsl:with-param name="style-position-2" select="$rootStyleNode/w:tblPr/w:tblBorders/w:insideV"/>
-                        </xsl:call-template>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:call-template name="get-table-border">
-                            <xsl:with-param name="style-pos" select="'right'"/>
-                            <xsl:with-param name="style-position-0" select="w:tcBorders/w:right"/>
-                            <xsl:with-param name="style-position-1" select="$Borders/w:right"/>
-                            <xsl:with-param name="style-position-2" select="$rootStyleNode/w:tblPr/w:tblBorders/w:right"/>
-                        </xsl:call-template>
-                    </xsl:otherwise>
-                </xsl:choose>
-            </xsl:element>
-        </style:style>
-    </xsl:template>
-    <xsl:template name="get-table-border">
-        <xsl:param name="style-pos"/>
-        <xsl:param name="style-position-0"/>
-        <xsl:param name="style-position-1"/>
-        <xsl:param name="style-position-2"/>
-        <xsl:variable name="size-style">
-            <xsl:choose>
-                <xsl:when test="$style-position-0">
-                    <xsl:value-of select="$style-position-0/@w:sz"/>
-                </xsl:when>
-                <xsl:when test="$style-position-1">
-                    <xsl:value-of select="$style-position-1/@w:sz"/>
-                </xsl:when>
-                <xsl:when test="$style-position-2">
-                    <xsl:value-of select="$style-position-2/@w:sz"/>
-                </xsl:when>
-                <xsl:otherwise>2</xsl:otherwise>
-            </xsl:choose>
-        </xsl:variable>
-        <xsl:variable name="border-style">
-            <xsl:choose>
-                <xsl:when test="$style-position-0">
-                    <xsl:value-of select="$style-position-0/@w:val"/>
-                </xsl:when>
-                <xsl:when test="$style-position-1">
-                    <xsl:value-of select="$style-position-1/@w:val"/>
-                </xsl:when>
-                <xsl:when test="$style-position-2">
-                    <xsl:value-of select="$style-position-2/@w:val"/>
-                </xsl:when>
-                <xsl:otherwise>single</xsl:otherwise>
-            </xsl:choose>
-        </xsl:variable>
-        <!-- totally basic Word table border styles: nil, none, single, thick, double, dotted, dashed, dot-dash, dot-dot-dash, triple, thin-thick-small-gap, thick-thin-small-gap, thin-thick-thin-small-gap, thin-thick-medium-gap, thick-thin-medium-gap, thin-thick-thin-medium-gap, thin-thick-large-gap, thick-thin-large-gap, thin-thick-thin-large-gap, wave, double-wave, dash-small-gap, dash-dot-stroked, three-d-emboss, three-d-engrave, outset, inset. Others are advanced graphical table border styles. glu -->
-        <xsl:variable name="style-border">
-            <xsl:choose>
-                <xsl:when test="$border-style = 'nil' or $border-style ='none'">hidden</xsl:when>
-                <xsl:when test="$border-style = 'single' or $border-style = 'thick' or $border-style = 'dotted' or $border-style = 'dashed' or $border-style = 'dot-dash' or $border-style = 'dot-dot-dash' or $border-style = 'wave' or $border-style = 'dash-small-gap' or $border-style = 'dash-dot-stroked'">solid</xsl:when>
-                <xsl:otherwise>double</xsl:otherwise>
-            </xsl:choose>
-        </xsl:variable>
-        <xsl:variable name="color-border">
-            <xsl:choose>
-                <xsl:when test="$style-position-0 and string-length($style-position-0/@w:color) = 6">
-                    <xsl:value-of select="$style-position-0/@w:color"/>
-                </xsl:when>
-                <xsl:when test="$style-position-0 and $style-position-0/@w:color = 'auto' and contains($border-style, 'set')">
-                    <xsl:text>c0c0c0</xsl:text>
-                </xsl:when>
-                <xsl:when test="$style-position-1 and string-length($style-position-1/@w:color) = 6">
-                    <xsl:value-of select="$style-position-1/@w:color"/>
-                </xsl:when>
-                <xsl:when test="$style-position-1 and $style-position-1/@w:color = 'auto' and contains($border-style, 'set')">
-                    <xsl:text>c0c0c0</xsl:text>
-                </xsl:when>
-                <xsl:when test="$style-position-2 and string-length($style-position-2/@w:color) = 6">
-                    <xsl:value-of select="$style-position-2/@w:color"/>
-                </xsl:when>
-                <xsl:when test="$style-position-2 and $style-position-2/@w:color = 'auto' and contains($border-style, 'set')">
-                    <xsl:text>c0c0c0</xsl:text>
-                </xsl:when>
-                <xsl:otherwise>000000</xsl:otherwise>
-            </xsl:choose>
-        </xsl:variable>
-        <!-- mapping border line widths. glu -->
-        <xsl:choose>
-            <xsl:when test="$border-style = 'single'">
-                <xsl:choose>
-                    <xsl:when test="$size-style &lt; 7">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.002cm solid #', $color-border)"/></xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 20">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.035cm solid #', $color-border)"/></xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 30">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.088cm solid #', $color-border)"/></xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 40">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.141cm solid #', $color-border)"/></xsl:attribute>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.176cm solid #', $color-border)"/></xsl:attribute>
-                    </xsl:otherwise>
-                </xsl:choose>
-            </xsl:when>
-            <xsl:when test="$border-style = 'double'">
-                <xsl:choose>
-                    <xsl:when test="$size-style &lt; 10">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.039cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.035cm 0.002cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 15">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.092cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.002cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 20">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.106cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.035cm 0.035cm 0.035cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.265cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.088cm</xsl:attribute>
-                    </xsl:otherwise>
-                </xsl:choose>
-            </xsl:when>
-            <xsl:when test="$border-style = 'triple'">
-                <xsl:choose>
-                    <xsl:when test="$size-style &lt; 5">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.039cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.035cm 0.002cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 10">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.092cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">.002cm 0.088cm 0.002cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 15">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.106cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.035cm 0.035cm 0.035cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.265cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.088cm</xsl:attribute>
-                    </xsl:otherwise>
-                </xsl:choose>
-            </xsl:when>
-            <xsl:when test="$border-style = 'thin-thick-small-gap' or $border-style = 'thick-thin-small-gap'">
-                <xsl:choose>
-                    <xsl:when test="($border-style = 'thin-thick-small-gap' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'thick-thin-small-gap' and ($style-pos = 'right' or $style-pos = 'bottom'))">
-                        <xsl:choose>
-                            <xsl:when test="$size-style &lt; 20">
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.125cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.035cm</xsl:attribute>
-                            </xsl:when>
-                            <xsl:when test="$size-style &lt; 30">
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.178cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.088cm</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.231cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.141cm</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
-                    </xsl:otherwise>
-                </xsl:choose>
-            </xsl:when>
-            <xsl:when test="$border-style = 'thin-thick-thin-small-gap'">
-                <xsl:choose>
-                    <xsl:when test="$size-style &lt; 20">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.178cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.088cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 40">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.231cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.141cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.318cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.141cm</xsl:attribute>
-                    </xsl:otherwise>
-                </xsl:choose>
-            </xsl:when>
-            <xsl:when test="$border-style = 'thin-thick-medium-gap' or $border-style = 'thick-thin-medium-gap'">
-                <xsl:choose>
-                    <xsl:when test="$size-style &lt; 10">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.039cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.035cm 0.002cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 15">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.106cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.035cm 0.035cm 0.035cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 30">
-                        <xsl:choose>
-                            <xsl:when test="($border-style = 'thin-thick-medium-gap' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'thick-thin-medium-gap' and ($style-pos = 'right' or $style-pos = 'bottom'))">
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.212cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.035cm 0.088cm 0.088cm</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.318cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:choose>
-                            <xsl:when test="($border-style = 'thin-thick-medium-gap' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'thick-thin-medium-gap' and ($style-pos = 'right' or $style-pos = 'bottom'))">
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.141cm</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.141cm 0.088cm 0.088cm</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:otherwise>
-                </xsl:choose>
-            </xsl:when>
-            <xsl:when test="$border-style = 'thin-thick-thin-medium-gap'">
-                <xsl:choose>
-                    <xsl:when test="$size-style &lt; 10">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.039cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.035cm 0.002cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 15">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.106cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.035cm 0.035cm 0.035cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 30">
-                        <xsl:choose>
-                            <xsl:when test="$style-pos = 'left' or $style-pos = 'top'">
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.212cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.035cm 0.088cm 0.088cm</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.318cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:choose>
-                            <xsl:when test="$style-pos = 'left' or $style-pos = 'top'">
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.141cm 0.088cm 0.088cm</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.141cm</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:otherwise>
-                </xsl:choose>
-            </xsl:when>
-            <xsl:when test="$border-style = 'thin-thick-large-gap' or $border-style = 'thick-thin-large-gap'">
-                <xsl:choose>
-                    <xsl:when test="$size-style &lt; 7">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.092cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.002cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 10">
-                        <xsl:choose>
-                            <xsl:when test="($border-style = 'thin-thick-large-gap' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'thick-thin-large-gap' and ($style-pos = 'right' or $style-pos = 'bottom'))">
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.125cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.035cm</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.092cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.002cm</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 15">
-                        <xsl:choose>
-                            <xsl:when test="($border-style = 'thin-thick-large-gap' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'thick-thin-large-gap' and ($style-pos = 'right' or $style-pos = 'bottom'))">
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.125cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.035cm</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 30">
-                        <xsl:choose>
-                            <xsl:when test="($border-style = 'thin-thick-large-gap' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'thick-thin-large-gap' and ($style-pos = 'right' or $style-pos = 'bottom'))">
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.178cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.088cm</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 40">
-                        <xsl:choose>
-                            <xsl:when test="($border-style = 'thin-thick-large-gap' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'thick-thin-large-gap' and ($style-pos = 'right' or $style-pos = 'bottom'))">
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.231cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.141cm</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.318cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:choose>
-                            <xsl:when test="($border-style = 'thin-thick-large-gap' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'thick-thin-large-gap' and ($style-pos = 'right' or $style-pos = 'bottom'))">
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.141cm</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.141cm 0.088cm 0.088cm</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:otherwise>
-                </xsl:choose>
-            </xsl:when>
-            <xsl:when test="$border-style = 'thin-thick-thin-large-gap'">
-                <xsl:choose>
-                    <xsl:when test="$size-style &lt; 5">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.125cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.035cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 10">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.178cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.088cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 20">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.231cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.141cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.318cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.141cm</xsl:attribute>
-                    </xsl:otherwise>
-                </xsl:choose>
-            </xsl:when>
-            <xsl:when test="contains( $border-style, 'wave') or $border-style = 'dash-dot-stroked'">
-                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.106cm double #', $color-border)"/></xsl:attribute>
-                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.035cm 0.035cm 0.035cm</xsl:attribute>
-            </xsl:when>
-            <xsl:when test="contains( $border-style, 'three-d')">
-                <xsl:choose>
-                    <xsl:when test="$size-style &lt; 10">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.035cm solid #', $color-border)"/></xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 20">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.088cm solid #', $color-border)"/></xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 30">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.176cm solid #', $color-border)"/></xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 40">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.265cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.088cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.318cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.141cm</xsl:attribute>
-                    </xsl:otherwise>
-                </xsl:choose>
-            </xsl:when>
-            <xsl:when test="contains( $border-style, 'set')">
-                <xsl:choose>
-                    <xsl:when test="$size-style &lt; 7">
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.092cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.002cm</xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 10">
-                        <xsl:choose>
-                            <xsl:when test="($border-style = 'outset' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'inset' and ($style-pos = 'right' or $style-pos = 'bottom'))">
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.092cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.002cm</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.125cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.035cm</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 15">
-                        <xsl:choose>
-                            <xsl:when test="($border-style = 'outset' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'inset' and ($style-pos = 'right' or $style-pos = 'bottom'))">
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.125cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.035cm</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 30">
-                        <xsl:choose>
-                            <xsl:when test="($border-style = 'outset' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'inset' and ($style-pos = 'right' or $style-pos = 'bottom'))">
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.178cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.088cm</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:when>
-                    <xsl:when test="$size-style &lt; 40">
-                        <xsl:choose>
-                            <xsl:when test="($border-style = 'outset' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'inset' and ($style-pos = 'right' or $style-pos = 'bottom'))">
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.231cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.141cm</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.318cm double #', $color-border)"/></xsl:attribute>
-                        <xsl:choose>
-                            <xsl:when test="($border-style = 'outset' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'inset' and ($style-pos = 'right' or $style-pos = 'bottom'))">
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.141cm 0.088cm 0.088cm</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.231cm double #', $color-border)"/></xsl:attribute>
-                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.141cm</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                    </xsl:otherwise>
-                </xsl:choose>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:attribute name="{concat('fo:border-', $style-pos)}">0.002cm solid #000000</xsl:attribute>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-    <xsl:template match="w:tbl">
-        <xsl:choose>
-            <xsl:when test="w:tblPr/w:tblpPr">
-                <!-- if the table is surrounded by text then put the table into a draw:text-box -->
-                <xsl:element name="text:p">
-                    <xsl:element name="draw:text-box">
-                        <xsl:attribute name="draw:style-name"><xsl:text>TableFrame</xsl:text><xsl:number count="w:tblpPr" from="/w:wordDocument/w:body" level="any"/></xsl:attribute>
-                        <xsl:attribute name="draw:name">TableFr<xsl:number count="w:tblpPr" from="/w:wordDocument/w:body" level="any"/></xsl:attribute>
-                        <xsl:variable name="tbl_anchor_type">
-                            <xsl:choose>
-                                <xsl:when test="name(..) = 'w:tc' ">
-                                    <xsl:text>as-char</xsl:text>
-                                </xsl:when>
-                                <xsl:otherwise>
-                                    <xsl:text>paragraph</xsl:text>
-                                </xsl:otherwise>
-                            </xsl:choose>
-                        </xsl:variable>
-                        <xsl:attribute name="text:anchor-type"><xsl:value-of select="$tbl_anchor_type"/></xsl:attribute>
-                        <xsl:variable name="tbl_draw_textbox_width">
-                            <xsl:call-template name="convert2in">
-                                <!--  adjust the width of draw:text-box containing a table with 20dxa + table-width -->
-                                <xsl:with-param name="value" select="concat(string(number(sum(w:tblGrid/w:gridCol/@w:w) +20)), 'dxa' )"/>
-                            </xsl:call-template>
-                        </xsl:variable>
-                        <xsl:attribute name="svg:width"><xsl:value-of select="concat ($tbl_draw_textbox_width, 'inch') "/></xsl:attribute>
-                        <xsl:if test="w:tblPr/w:tblpPr/@w:tblpX">
-                            <xsl:variable name="x_distance_from_anchor">
-                                <xsl:call-template name="convert2in">
-                                    <xsl:with-param name="value" select="concat(w:tblPr/w:tblpPr/@w:tblpX, 'dxa' ) "/>
-                                </xsl:call-template>
-                            </xsl:variable>
-                            <xsl:attribute name="svg:x"><xsl:value-of select="concat ($x_distance_from_anchor, 'inch' )"/></xsl:attribute>
-                        </xsl:if>
-                        <xsl:if test="w:tblPr/w:tblpPr/@w:tblpY">
-                            <xsl:variable name="y_distance_from_anchor">
-                                <xsl:call-template name="convert2in">
-                                    <xsl:with-param name="value" select="concat(w:tblPr/w:tblpPr/@w:tblpY, 'dxa' ) "/>
-                                </xsl:call-template>
-                            </xsl:variable>
-                            <xsl:attribute name="svg:y"><xsl:value-of select="concat ($y_distance_from_anchor, 'inch' )"/></xsl:attribute>
-                        </xsl:if>
-                        <!--create table in draw:text-box to produce table wrapping text effect-->
-                        <xsl:element name="table:table">
-                            <xsl:if test="w:tblPr">
-                                <xsl:attribute name="table:style-name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/></xsl:attribute>
-                            </xsl:if>
-                            <xsl:apply-templates select="w:tblGrid | w:tr"/>
-                        </xsl:element>
-                    </xsl:element>
-                    <!--draw:text-box end  -->
-                </xsl:element>
-                <!-- text:p end -->
-            </xsl:when>
-            <xsl:otherwise>
-                <!-- if the table is not surrounded by text then put the table into a draw:text-box -->
-                <xsl:element name="table:table">
-                    <xsl:if test="w:tblPr">
-                        <xsl:attribute name="table:style-name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/></xsl:attribute>
-                    </xsl:if>
-                    <xsl:apply-templates select="w:tblGrid | w:tr"/>
-                </xsl:element>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-    <xsl:template match="w:tblGrid">
-        <xsl:apply-templates select="w:gridCol"/>
-    </xsl:template>
-    <xsl:template match="w:gridCol">
-        <xsl:element name="table:table-column">
-            <xsl:attribute name="table:style-name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/>.C<xsl:number count="w:gridCol" from="/w:wordDocument/w:body" level="single"/></xsl:attribute>
-        </xsl:element>
-    </xsl:template>
-    <xsl:template match="w:tr">
-        <xsl:element name="table:table-row">
-            <!-- generate row in table and add attribute of table:style-name if the style:style exists. cp tom chen. -->
-            <xsl:if test="w:trPr/w:trHeight">
-                <xsl:attribute name="table:style-name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/>.R<xsl:number count="w:tr" from="/w:wordDocument/w:body" level="single"/></xsl:attribute>
-            </xsl:if>
-            <xsl:apply-templates select="w:tc"/>
-        </xsl:element>
-    </xsl:template>
-    <xsl:template match="w:tc">
-        <xsl:element name="table:table-cell">
-            <xsl:attribute name="table:style-name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/>.R<xsl:number count="w:tr" from="/w:wordDocument/w:body" level="single"/>C<xsl:number count="w:tc" from="/w:wordDocument/w:body" level="single"/></xsl:attribute>
-            <xsl:if test="w:tcPr/w:gridSpan">
-                <xsl:attribute name="table:number-columns-spanned"><xsl:value-of select="w:tcPr/w:gridSpan/@w:val"/></xsl:attribute>
-            </xsl:if>
-            <xsl:apply-templates select="w:p | w:tbl"/>
-        </xsl:element>
-    </xsl:template>
-<!-- End of OOo2.0 import/wordml/wordml2ooo_table.xsl stylesheet  -->
-<!-- Start of OOo2.0 import/wordml/wordml2ooo_text.xsl stylesheet  -->
-    <xsl:template name="create-default-paragraph-styles">
-        <xsl:variable name="default-paragraph-style" select="w:style[@w:default = 'on' and @w:type = 'paragraph']"/>
-        <xsl:if test="$default-paragraph-style">
-            <style:default-style style:family="paragraph">
-                <style:properties>
-                    <xsl:choose>
-                        <xsl:when test="/w:wordDocument/w:fonts/w:defaultFonts">
-                            <xsl:attribute name="style:font-name"><xsl:value-of select="/w:wordDocument/w:fonts/w:defaultFonts/@w:ascii"/></xsl:attribute>
-                            <xsl:attribute name="style:font-name-asian"><xsl:value-of select="/w:wordDocument/w:fonts/w:defaultFonts/@w:fareast"/></xsl:attribute>
-                            <xsl:attribute name="style:font-name-complex"><xsl:value-of select="/w:wordDocument/w:fonts/w:defaultFonts/@w:cs"/></xsl:attribute>
-                        </xsl:when>
-                        <xsl:otherwise>
-                            <xsl:attribute name="style:font-name">Times New Roman</xsl:attribute>
-                        </xsl:otherwise>
-                    </xsl:choose>
-                    <xsl:if test="$default-paragraph-style/w:rPr/w:sz">
-                        <xsl:attribute name="fo:font-size"><xsl:value-of select="$default-paragraph-style/w:rPr/w:sz/@w:val div 2"/>pt</xsl:attribute>
-                        <xsl:attribute name="fo:font-size-asian"><xsl:value-of select="$default-paragraph-style/w:rPr/w:sz/@w:val div 2"/>pt</xsl:attribute>
-                    </xsl:if>
-                    <xsl:if test="$default-paragraph-style/w:rPr/w:sz-cs">
-                        <xsl:attribute name="fo:font-size-complex"><xsl:value-of select="$default-paragraph-style/w:rPr/w:sz-cs/@w:val div 2"/>pt</xsl:attribute>
-                    </xsl:if>
-                    <!-- if not defined default font size in Word, make it out as 10pt. glu -->
-                    <xsl:if test="not($default-paragraph-style/w:rPr/w:sz or w:rPr/w:sz-cs)">
-                        <xsl:attribute name="fo:font-size">10pt</xsl:attribute>
-                        <xsl:attribute name="fo:font-size-asian">10pt</xsl:attribute>
-                        <xsl:attribute name="fo:font-size-complex">10pt</xsl:attribute>
-                    </xsl:if>
-                    <xsl:if test="$default-paragraph-style/w:rPr/w:lang">
-                        <xsl:if test="$default-paragraph-style/w:rPr/w:lang/@w:val">
-                            <xsl:attribute name="fo:language"><xsl:value-of select="substring-before( $default-paragraph-style/w:rPr/w:lang/@w:val, '-')"/></xsl:attribute>
-                            <xsl:attribute name="fo:country"><xsl:value-of select="substring-after( $default-paragraph-style/w:rPr/w:lang/@w:val, '-')"/></xsl:attribute>
-                        </xsl:if>
-                        <xsl:if test="$default-paragraph-style/w:rPr/w:lang/@w:fareast">
-                            <xsl:attribute name="fo:language-asian"><xsl:value-of select="substring-before( $default-paragraph-style/w:rPr/w:lang/@w:fareast, '-')"/></xsl:attribute>
-                            <xsl:attribute name="fo:country-asian"><xsl:value-of select="substring-after( $default-paragraph-style/w:rPr/w:lang/@w:fareast, '-')"/></xsl:attribute>
-                        </xsl:if>
-                        <xsl:if test="$default-paragraph-style/w:rPr/w:lang/@w:bidi">
-                            <xsl:attribute name="fo:language-complex"><xsl:value-of select="substring-before( $default-paragraph-style/w:rPr/w:lang/@w:bidi, '-')"/></xsl:attribute>
-                            <xsl:attribute name="fo:country-complex"><xsl:value-of select="substring-after( $default-paragraph-style/w:rPr/w:lang/@w:bidi, '-')"/></xsl:attribute>
-                        </xsl:if>
-                    </xsl:if>
-                    <xsl:attribute name="style:tab-stop-distance"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(/w:wordDocument/w:docPr/w:defaultTabStop/@w:val,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                </style:properties>
-            </style:default-style>
-        </xsl:if>
-    </xsl:template>
-    <xsl:template name="create-default-text-styles">
-        <style:style style:name="Numbering Symbols" style:family="text"/>
-        <style:style style:name="Bullet Symbols" style:family="text">
-            <style:properties style:font-name="StarSymbol" fo:font-size="12pt" style:font-name-asian="StarSymbol" style:font-size-asian="12pt" style:font-name-complex="StarSymbol" style:font-size-complex="12pt"/>
-        </style:style>
-    </xsl:template>
-    <xsl:template match="w:p" mode="style">
-        <xsl:variable name="paragraph-number">
-            <xsl:number from="/w:wordDocument/w:body" level="any" count="w:p"/>
-        </xsl:variable>
-        <xsl:variable name="section-property-number" select="count(preceding::w:sectPr)"/>
-        <xsl:variable name="last-section-property" select="preceding::w:pPr/w:sectPr[1]"/>
-        <style:style style:family="paragraph" style:name="P{$paragraph-number}">
-            <xsl:if test="w:pPr/w:pStyle">
-                <xsl:attribute name="style:parent-style-name"><xsl:value-of select="w:pPr/w:pStyle/@w:val"/></xsl:attribute>
-            </xsl:if>
-            <xsl:choose>
-                <xsl:when test="generate-id($last-section-property[last()]/following::w:p[1]) = generate-id(.) and not(ancestor::w:sectPr)">
-                    <xsl:attribute name="style:master-page-name">Standard<xsl:value-of select="$section-property-number + 1"/></xsl:attribute>
-                </xsl:when>
-                <xsl:when test="$paragraph-number = 1">
-                    <xsl:attribute name="style:master-page-name">Standard1</xsl:attribute>
-                </xsl:when>
-            </xsl:choose>
-            <style:properties>
-                <xsl:apply-templates select="w:pPr"/>
-            </style:properties>
-        </style:style>
-        <xsl:if test="w:r/w:br/@w:type='page'">
-            <style:style style:family="paragraph" style:name="P{$paragraph-number}page-break">
-                <xsl:if test="w:pPr/w:pStyle">
-                    <xsl:attribute name="style:parent-style-name"><xsl:value-of select="w:pPr/w:pStyle/@w:val"/></xsl:attribute>
-                </xsl:if>
-                <xsl:choose>
-                    <xsl:when test="generate-id($last-section-property[last()]/following::w:p[1]) = generate-id(.) and not(ancestor::w:sectPr)">
-                        <xsl:attribute name="style:master-page-name">Standard<xsl:value-of select="$section-property-number + 1"/></xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$paragraph-number = 1">
-                        <xsl:attribute name="style:master-page-name">Standard1</xsl:attribute>
-                    </xsl:when>
-                </xsl:choose>
-                <style:properties fo:break-before="page">
-                    <xsl:apply-templates select="w:pPr"/>
-                </style:properties>
-            </style:style>
-        </xsl:if>
-        <xsl:if test="w:r/w:br/@w:type='column'">
-            <style:style style:family="paragraph" style:name="P{$paragraph-number}column-break">
-                <xsl:if test="w:pPr/w:pStyle">
-                    <xsl:attribute name="style:parent-style-name"><xsl:value-of select="w:pPr/w:pStyle/@w:val"/></xsl:attribute>
-                </xsl:if>
-                <xsl:choose>
-                    <xsl:when test="generate-id($last-section-property[last()]/following::w:p[1]) = generate-id(.) and not(ancestor::w:sectPr)">
-                        <xsl:attribute name="style:master-page-name">Standard<xsl:value-of select="$section-property-number + 1"/></xsl:attribute>
-                    </xsl:when>
-                    <xsl:when test="$paragraph-number = 1">
-                        <xsl:attribute name="style:master-page-name">Standard1</xsl:attribute>
-                    </xsl:when>
-                </xsl:choose>
-                <style:properties fo:break-before="column">
-                    <xsl:apply-templates select="w:pPr"/>
-                </style:properties>
-            </style:style>
-        </xsl:if>
-    </xsl:template>
-    <xsl:template match="w:pPr">
-        <xsl:if test="w:ind/@w:left">
-            <xsl:attribute name="fo:margin-left"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:ind/@w:left, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:ind/@w:right">
-            <xsl:attribute name="fo:margin-right"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:ind/@w:right, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:ind/@w:first-line">
-            <xsl:attribute name="fo:text-indent"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:ind/@w:first-line, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:ind/@w:hanging">
-            <xsl:attribute name="fo:text-indent"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat('-',w:ind/@w:hanging, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
-        </xsl:if>
-        <!-- bi-directional support-->
-        <xsl:if test="w:bidi">
-            <xsl:attribute name="style:writing-mode">rl-tb</xsl:attribute>
-            <xsl:attribute name="fo:text-align">end</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:jc">
-            <xsl:choose>
-                <xsl:when test="w:jc/@w:val = 'center'">
-                    <xsl:attribute name="fo:text-align">center</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:jc/@w:val = 'left'">
-                    <xsl:choose>
-                        <xsl:when test="w:bidi">
-                            <xsl:attribute name="fo:text-align">end</xsl:attribute>
-                        </xsl:when>
-                        <xsl:otherwise>
-                            <xsl:attribute name="fo:text-align">start</xsl:attribute>
-                        </xsl:otherwise>
-                    </xsl:choose>
-                </xsl:when>
-                <xsl:when test="w:jc/@w:val = 'right'">
-                    <xsl:choose>
-                        <xsl:when test="w:bidi">
-                            <xsl:attribute name="fo:text-align">start</xsl:attribute>
-                        </xsl:when>
-                        <xsl:otherwise>
-                            <xsl:attribute name="fo:text-align">end</xsl:attribute>
-                        </xsl:otherwise>
-                    </xsl:choose>
-                </xsl:when>
-                <xsl:otherwise>
-                    <xsl:attribute name="fo:text-align">justify</xsl:attribute>
-                    <xsl:attribute name="style:justify-single-word">false</xsl:attribute>
-                </xsl:otherwise>
-            </xsl:choose>
-        </xsl:if>
-        <xsl:attribute name="style:auto-text-indent">false</xsl:attribute>
-        <xsl:if test="w:spacing">
-            <xsl:choose>
-                <xsl:when test="w:spacing/@w:line-rule = 'at-least'">
-                    <xsl:attribute name="style:line-height-at-least"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:spacing/@w:line, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:spacing/@w:line-rule = 'auto'">
-                    <xsl:attribute name="fo:line-height"><xsl:value-of select="round(w:spacing/@w:line div 240 * 100)"/>%</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:spacing/@w:line-rule = 'exact'">
-                    <xsl:attribute name="fo:line-height"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:spacing/@w:line, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                </xsl:when>
-            </xsl:choose>
-            <xsl:if test="w:spacing/@w:before">
-                <xsl:attribute name="fo:margin-top"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:spacing/@w:before, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
-            </xsl:if>
-            <xsl:if test="w:spacing/@w:after">
-                <xsl:attribute name="fo:margin-bottom"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:spacing/@w:after, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
-            </xsl:if>
-        </xsl:if>
-        <xsl:if test="w:shd">
-            <xsl:variable name="background-color">
-                <xsl:choose>
-                    <xsl:when test="string-length(w:shd/@w:fill) = 6">
-                        <xsl:value-of select="concat('#', w:shd/@w:fill)"/>
-                    </xsl:when>
-                    <xsl:otherwise>#000000</xsl:otherwise>
-                </xsl:choose>
-            </xsl:variable>
-            <xsl:choose>
-                <xsl:when test="w:shd/@w:val = 'solid'">
-                    <xsl:attribute name="fo:background-color"><xsl:value-of select="$background-color"/></xsl:attribute>
-                </xsl:when>
-                <!-- patterns are necessary in the future. glu -->
-                <xsl:otherwise/>
-            </xsl:choose>
-        </xsl:if>
-        <xsl:if test="w:pageBreakBefore">
-            <xsl:attribute name="fo:break-before">page</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:tabs">
-            <xsl:element name="style:tab-stops">
-                <xsl:for-each select="w:tabs/w:tab">
-                    <xsl:element name="style:tab-stop">
-                        <xsl:attribute name="style:position"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(@w:pos, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
-                        <xsl:choose>
-                            <xsl:when test="@w:val = 'decimal'">
-                                <xsl:attribute name="style:type">char</xsl:attribute>
-                                <xsl:attribute name="style:char"/>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="style:type"><xsl:value-of select="@w:val"/></xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                        <xsl:if test="@w:leader">
-                            <xsl:attribute name="style:leader-char"><xsl:choose><xsl:when test="hyphen">-</xsl:when><xsl:when test="underscore">_</xsl:when><xsl:when test="dot">.</xsl:when></xsl:choose></xsl:attribute>
-                        </xsl:if>
-                        <xsl:if test="@style:leader-char">
-                            <xsl:choose>
-                                <xsl:when test="@style:leader-char='-'">
-                                    <xsl:attribute name="w:leader">hyphen</xsl:attribute>
-                                </xsl:when>
-                                <xsl:when test="@style:leader-char='_'">
-                                    <xsl:attribute name="w:leader">underscore</xsl:attribute>
-                                </xsl:when>
-                                <xsl:when test="@style:leader-char='.'">
-                                    <xsl:attribute name="w:leader">dot</xsl:attribute>
-                                </xsl:when>
-                                <xsl:when test="@style:leader-char='·'">
-                                    <xsl:attribute name="w:leader">middle-dot</xsl:attribute>
-                                </xsl:when>
-                            </xsl:choose>
-                        </xsl:if>
-                    </xsl:element>
-                </xsl:for-each>
-            </xsl:element>
-        </xsl:if>
-        <xsl:if test="w:keepNext">
-            <xsl:attribute name="fo:keep-with-next">true</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:keepLines">
-            <xsl:attribute name="style:break-inside">avoid</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:widowControl='on'">
-            <xsl:attribute name="fo:widows">2</xsl:attribute>
-            <xsl:attribute name="fo:orphans">2</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:suppressAutoHyphens">
-            <xsl:attribute name="fo:hyphenate">false</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:kinsoku/@w:val='off'">
-            <xsl:attribute name="style:line-break">normal</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:overflowPunct/@w:val='off'">
-            <xsl:attribute name="style:punctuation-wrap">simple</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:autoSpaceDE/@w:val='off' or w:autoSpaceDN/@w:val='off'">
-            <xsl:attribute name="style:text-autospace">none</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:textAlignment">
-            <xsl:choose>
-                <xsl:when test="w:textAlignment/@w:val='center'">
-                    <xsl:attribute name="style:vertical-align">middle</xsl:attribute>
-                </xsl:when>
-                <xsl:otherwise>
-                    <xsl:attribute name="style:vertical-align"><xsl:value-of select="w:textAlignment/@w:val"/></xsl:attribute>
-                </xsl:otherwise>
-            </xsl:choose>
-        </xsl:if>
-        <xsl:if test="w:pBdr">
-            <xsl:if test="w:pBdr/w:top">
-                <xsl:call-template name="get-table-border">
-                    <xsl:with-param name="style-pos" select="'top'"/>
-                    <xsl:with-param name="style-position-0" select="w:pBdr/w:top"/>
-                </xsl:call-template>
-                <xsl:attribute name="fo:padding-top"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pBdr/w:top/@w:space,'pt')"/></xsl:call-template>cm</xsl:attribute>
-            </xsl:if>
-            <xsl:if test="w:pBdr/w:left">
-                <xsl:call-template name="get-table-border">
-                    <xsl:with-param name="style-pos" select="'left'"/>
-                    <xsl:with-param name="style-position-0" select="w:pBdr/w:left"/>
-                </xsl:call-template>
-                <xsl:attribute name="fo:padding-left"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pBdr/w:left/@w:space,'pt')"/></xsl:call-template>cm</xsl:attribute>
-            </xsl:if>
-            <xsl:if test="w:pBdr/w:right">
-                <xsl:call-template name="get-table-border">
-                    <xsl:with-param name="style-pos" select="'right'"/>
-                    <xsl:with-param name="style-position-0" select="w:pBdr/w:right"/>
-                </xsl:call-template>
-                <xsl:attribute name="fo:padding-right"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pBdr/w:right/@w:space,'pt')"/></xsl:call-template>cm</xsl:attribute>
-            </xsl:if>
-            <xsl:if test="w:pBdr/w:bottom">
-                <xsl:call-template name="get-table-border">
-                    <xsl:with-param name="style-pos" select="'bottom'"/>
-                    <xsl:with-param name="style-position-0" select="w:pBdr/w:bottom"/>
-                </xsl:call-template>
-                <xsl:attribute name="fo:padding-bottom"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pBdr/w:bottom/@w:space,'pt')"/></xsl:call-template>cm</xsl:attribute>
-            </xsl:if>
-            <xsl:if test="w:pBdr/*/@w:shadow='on'">
-                <xsl:attribute name="style:shadow">#000000 0.15cm 0.15cm</xsl:attribute>
-            </xsl:if>
-        </xsl:if>
-         <xsl:if test="w:snapToGrid/@w:val='off'">
-            <xsl:attribute name="style:snap-to-layout-grid">false</xsl:attribute>
-        </xsl:if>
-        <xsl:apply-templates select="w:rPr"/>
-    </xsl:template>
-    <xsl:template match="w:rPr" mode="style">
-        <xsl:element name="style:style">
-            <xsl:attribute name="style:name">T<xsl:number from="/w:wordDocument/w:body" level="any" count="w:rPr"/></xsl:attribute>
-            <xsl:attribute name="style:family">text</xsl:attribute>
-            <xsl:if test="w:rStyle">
-                <xsl:attribute name="style:parent-style-name"><xsl:value-of select="w:rStyle/@w:val"/></xsl:attribute>
-            </xsl:if>
-            <xsl:element name="style:properties">
-                <xsl:apply-templates select="current()"/>
-            </xsl:element>
-        </xsl:element>
-    </xsl:template>
-    <xsl:template match="w:rPr">
-        <xsl:if test="w:rFonts">
-            <xsl:if test="w:rFonts/@w:ascii">
-                <xsl:attribute name="style:font-name"><xsl:value-of select="w:rFonts/@w:ascii"/></xsl:attribute>
-                <xsl:if test="ancestor::w:body">
-                    <xsl:attribute name="style:font-name-asian"><xsl:value-of select="w:rFonts/@w:ascii"/></xsl:attribute>
-                    <xsl:attribute name="style:font-name-complex"><xsl:value-of select="w:rFonts/@w:ascii"/></xsl:attribute>
-                </xsl:if>
-            </xsl:if>
-            <xsl:if test="ancestor::w:styles">
-                <xsl:if test="w:rFonts/@w:fareast">
-                    <xsl:attribute name="style:font-name-asian"><xsl:value-of select="w:rFonts/@w:fareast"/></xsl:attribute>
-                </xsl:if>
-                <xsl:if test="w:rFonts/@w:cs">
-                    <xsl:attribute name="style:font-name-complex"><xsl:value-of select="w:rFonts/@w:cs"/></xsl:attribute>
-                </xsl:if>
-            </xsl:if>
-        </xsl:if>
-        <xsl:if test="w:b">
-            <xsl:attribute name="fo:font-weight">bold</xsl:attribute>
-            <xsl:attribute name="fo:font-weight-asian">bold</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:b-cs">
-            <xsl:attribute name="fo:font-weight-complex">bold</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:i">
-            <xsl:attribute name="fo:font-style">italic</xsl:attribute>
-            <xsl:attribute name="fo:font-style-asian">italic</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:i-cs">
-            <xsl:attribute name="fo:font-style-complex">italic</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:caps">
-            <xsl:attribute name="fo:text-transform">uppercase</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:smallCaps">
-            <xsl:attribute name="fo:font-variant">small-caps</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:strike">
-            <xsl:attribute name="style:text-crossing-out">single-line</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:dstrike">
-            <xsl:attribute name="style:text-crossing-out">double-line</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:outline">
-            <xsl:attribute name="style:text-outline">true</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:shadow">
-            <xsl:attribute name="style:text-shadow">1pt 1pt</xsl:attribute>
-            <xsl:attribute name="fo:text-shadow">1pt 1pt</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:imprint">
-            <xsl:attribute name="style:font-relief">engraved</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:emboss">
-            <xsl:attribute name="style:font-relief">embossed</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:vanish">
-            <xsl:attribute name="text:display">true</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:color[not(@w:val = 'auto')]">
-            <xsl:attribute name="fo:color">#<xsl:value-of select="w:color/@w:val"/></xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:spacing">
-            <xsl:attribute name="fo:letter-spacing"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:spacing/@w:val,'dxa')"/></xsl:call-template>cm</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:w/@w:val">
-            <xsl:attribute name="style:text-scale"><xsl:value-of select="w:w/@w:val"/></xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:vertAlign or w:position">
-            <xsl:variable name="height">
-                <xsl:choose>
-                    <xsl:when test="w:vertAlign[@w:val = 'superscript' or @w:val = 'subscript']">58%</xsl:when>
-                    <xsl:otherwise>100%</xsl:otherwise>
-                </xsl:choose>
-            </xsl:variable>
-            <xsl:variable name="position">
-                <xsl:choose>
-                    <xsl:when test="w:position">
-                        <!-- con't get font height easily, so just set w:val as percentage. glu -->
-                        <xsl:value-of select="concat( w:position/@w:val, '%')"/>
-                    </xsl:when>
-                    <xsl:when test="w:vertAlign[@w:val = 'superscript']">super</xsl:when>
-                    <xsl:when test="w:vertAlign[@w:val = 'subscript']">sub</xsl:when>
-                </xsl:choose>
-            </xsl:variable>
-            <xsl:attribute name="style:text-position"><xsl:value-of select="concat($position, ' ', $height)"/></xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:sz">
-            <xsl:attribute name="fo:font-size"><xsl:value-of select="w:sz/@w:val div 2"/>pt</xsl:attribute>
-            <xsl:attribute name="fo:font-size-asian"><xsl:value-of select="w:sz/@w:val div 2"/>pt</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:sz-cs">
-            <xsl:attribute name="fo:font-size-complex"><xsl:value-of select="w:sz-cs/@w:val div 2"/>pt</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:highlight">
-            <xsl:choose>
-                <xsl:when test="w:highlight/@w:val='black'">
-                    <xsl:attribute name="style:text-background-color">#000000</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:highlight/@w:val='yellow'">
-                    <xsl:attribute name="style:text-background-color">#ffff00</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:highlight/@w:val='green'">
-                    <xsl:attribute name="style:text-background-color">#00ff00</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:highlight/@w:val='cyan'">
-                    <xsl:attribute name="style:text-background-color">#00ffff</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:highlight/@w:val='magenta'">
-                    <xsl:attribute name="style:text-background-color">#ff00ff</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:highlight/@w:val='blue'">
-                    <xsl:attribute name="style:text-background-color">#0000ff</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:highlight/@w:val='red'">
-                    <xsl:attribute name="style:text-background-color">#ff0000</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:highlight/@w:val='dark-blue'">
-                    <xsl:attribute name="style:text-background-color">#000080</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:highlight/@w:val='dark-cyan'">
-                    <xsl:attribute name="style:text-background-color">#008080</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:highlight/@w:val='dark-green'">
-                    <xsl:attribute name="style:text-background-color">#008000</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:highlight/@w:val='dark-magenta'">
-                    <xsl:attribute name="style:text-background-color">#800080</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:highlight/@w:val='dark-red'">
-                    <xsl:attribute name="style:text-background-color">#800000</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:highlight/@w:val='dark-yellow'">
-                    <xsl:attribute name="style:text-background-color">#808000</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:highlight/@w:val='dark-gray'">
-                    <xsl:attribute name="style:text-background-color">#808080</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:highlight/@w:val='light-gray'">
-                    <xsl:attribute name="style:text-background-color">#c0c0c0</xsl:attribute>
-                </xsl:when>
-            </xsl:choose>
-        </xsl:if>
-        <xsl:if test="w:u">
-            <xsl:choose>
-                <xsl:when test="w:u/@w:val = 'words'">
-                    <xsl:attribute name="style:text-underline">single</xsl:attribute>
-                    <xsl:attribute name="fo:score-spaces">false</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:u/@w:val = 'thick'">
-                    <xsl:attribute name="style:text-underline">bold</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:u/@w:val = 'dotted-heavy'">
-                    <xsl:attribute name="style:text-underline">bold-dotted</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:u/@w:val = 'dashed-heavy'">
-                    <xsl:attribute name="style:text-underline">bold-dash</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:u/@w:val = 'dash-long'">
-                    <xsl:attribute name="style:text-underline">long-dash</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:u/@w:val = 'dash-long-heavy'">
-                    <xsl:attribute name="style:text-underline">bold-long-dash</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:u/@w:val = 'dash-dot-heavy'">
-                    <xsl:attribute name="style:text-underline">bold-dot-dash</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:u/@w:val = 'dash-dot-dot-heavy'">
-                    <xsl:attribute name="style:text-underline">bold-dot-dot-dash</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:u/@w:val = 'wavy-heavy'">
-                    <xsl:attribute name="style:text-underline">bold-wave</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:u/@w:val = 'wavy-double'">
-                    <xsl:attribute name="style:text-underline">double-wave</xsl:attribute>
-                </xsl:when>
-                <xsl:otherwise>
-                    <xsl:attribute name="style:text-underline"><xsl:value-of select="w:u/@w:val"/></xsl:attribute>
-                </xsl:otherwise>
-            </xsl:choose>
-            <xsl:if test="w:u/@w:color and not(w:u/@w:color = 'auto')">
-                <xsl:attribute name="style:text-underline-color">#<xsl:value-of select="w:u/@w:color"/></xsl:attribute>
-            </xsl:if>
-        </xsl:if>
-        <xsl:if test="w:effect[@w:val = 'blink-background']">
-            <xsl:attribute name="style:text-blinking">true</xsl:attribute>
-            <xsl:attribute name="style:text-background-color">#000000</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="w:shd and not(w:highlight)">
-            <xsl:if test="string-length(w:shd/@w:fill) = 6">
-                <xsl:attribute name="style:text-background-color">#<xsl:value-of select="w:shd/@w:fill"/></xsl:attribute>
-            </xsl:if>
-        </xsl:if>
-        <xsl:if test="w:em">
-            <xsl:choose>
-                <xsl:when test="w:em/@w:val = 'comma'">
-                    <xsl:attribute name="style:text-emphasize">accent below</xsl:attribute>
-                </xsl:when>
-                <xsl:when test="w:em/@w:val = 'under-dot'">
-                    <xsl:attribute name="style:text-emphasize">disc below</xsl:attribute>
-                </xsl:when>
-                <xsl:otherwise>
-                    <xsl:attribute name="style:text-emphasize"><xsl:value-of select="concat( w:em/@w:val, ' below')"/></xsl:attribute>
-                </xsl:otherwise>
-            </xsl:choose>
-        </xsl:if>
-        <xsl:if test="w:lang">
-            <xsl:if test="w:lang/@w:val">
-                <xsl:attribute name="fo:language"><xsl:value-of select="substring-before( w:lang/@w:val, '-')"/></xsl:attribute>
-                <xsl:attribute name="fo:country"><xsl:value-of select="substring-after( w:lang/@w:val, '-')"/></xsl:attribute>
-            </xsl:if>
-            <xsl:if test="w:lang/@w:fareast">
-                <xsl:attribute name="fo:language-asian"><xsl:value-of select="substring-before( w:lang/@w:fareast, '-')"/></xsl:attribute>
-                <xsl:attribute name="fo:country-asian"><xsl:value-of select="substring-after( w:lang/@w:fareast, '-')"/></xsl:attribute>
-            </xsl:if>
-            <xsl:if test="w:lang/@w:bidi">
-                <xsl:attribute name="fo:language-complex"><xsl:value-of select="substring-before( w:lang/@w:bidi, '-')"/></xsl:attribute>
-                <xsl:attribute name="fo:country-complex"><xsl:value-of select="substring-after( w:lang/@w:bidi, '-')"/></xsl:attribute>
-            </xsl:if>
-        </xsl:if>
-    </xsl:template>
-    <xsl:template match="w:p">
-        <xsl:choose>
-            <!-- because word treats page breaks as separate tags, we must split some paragraphs up so that we can 
-			give the sub para a fo:break-before ="page" or column attribute. -->
-            <xsl:when test="w:r[w:br/@w:type='page' or w:br/@w:type='column']">
-                <xsl:call-template name="process-breaks-in-paragraph"/>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:call-template name="process-common-paragraph"/>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-    <xsl:template name="process-breaks-in-paragraph">
-        <xsl:variable name="textruns-with-break" select="w:r[w:br/@w:type='page' or w:br/@w:type='column']"/>
-        <xsl:call-template name="create-sub-paragraph">
-            <xsl:with-param name="textruns" select="$textruns-with-break[1]/preceding-sibling::w:r"/>
-        </xsl:call-template>
-        <xsl:for-each select="$textruns-with-break">
-            <xsl:variable name="break-position" select="position()"/>
-            <xsl:call-template name="create-sub-paragraph">
-                <xsl:with-param name="textruns" select="following-sibling::w:r[not(w:br/@w:type='page' or w:br/@w:type='column') and (count(preceding::w:r[w:br/@w:type='page' or w:br/@w:type='column']) = $break-position)]"/>
-                <xsl:with-param name="textruns-with-break" select="current()"/>
-            </xsl:call-template>
-        </xsl:for-each>
-    </xsl:template>
-    <xsl:template name="create-sub-paragraph">
-        <xsl:param name="textruns"/>
-        <xsl:param name="textruns-with-break"/>
-        <xsl:if test="$textruns or $textruns-with-break">
-            <xsl:variable name="curr-num">
-                <xsl:number from="/w:wordDocument/w:body" level="any" count="w:p"/>
-            </xsl:variable>
-            <text:p>
-                <xsl:choose>
-                    <xsl:when test="$textruns-with-break">
-                        <xsl:attribute name="text:style-name"><xsl:value-of select="concat('P',$curr-num,w:br/@w:type, '-break')"/></xsl:attribute>
-                        <xsl:apply-templates select="$textruns-with-break"/>
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:attribute name="text:style-name"><xsl:value-of select="concat( 'P', $curr-num)"/></xsl:attribute>
-                    </xsl:otherwise>
-                </xsl:choose>
-                <xsl:if test="$textruns">
-                    <xsl:apply-templates select="$textruns"/>
-                </xsl:if>
-            </text:p>
-        </xsl:if>
-    </xsl:template>
-    <xsl:template name="process-common-paragraph">
-        <xsl:variable name="heading-or-paragraph">
-            <xsl:choose>
-                <xsl:when test="key('heading-style', w:pPr/w:pStyle/@w:val)">text:h</xsl:when>
-                <xsl:otherwise>text:p</xsl:otherwise>
-            </xsl:choose>
-        </xsl:variable>
-        <xsl:element name="{$heading-or-paragraph}">
-            <xsl:if test="$heading-or-paragraph = 'text:h'">
-                <xsl:attribute name="text:level"><xsl:value-of select="key('heading-style',w:pPr/w:pStyle/@w:val)/w:pPr/w:outlineLvl/@w:val + 1"/></xsl:attribute>
-            </xsl:if>
-            <xsl:variable name="curr-num">
-                <xsl:number from="/w:wordDocument/w:body" level="any" count="w:p"/>
-            </xsl:variable>
-            <xsl:attribute name="text:style-name"><xsl:value-of select="concat( 'P', $curr-num)"/></xsl:attribute>
-            <!-- call the template to generate bookmark-start matching nodes before current. cp tom chen. -->
-            <xsl:variable name="bm-node" select="preceding::aml:annotation[@w:type = 'Word.Bookmark.Start']"/>
-            <xsl:variable name="wp-node" select="preceding::w:p[1]"/>
-            <xsl:call-template name="start-end-bookmark">
-                <xsl:with-param name="type" select="'start'"/>
-                <xsl:with-param name="bm-node" select="$bm-node"/>
-                <xsl:with-param name="wp-node" select="$wp-node"/>
-            </xsl:call-template>
-            <xsl:apply-templates select=".//w:r | w:fldSimple | w:hlink"/>
-            <xsl:variable name="bm-node2" select="following::aml:annotation[@w:type = 'Word.Bookmark.End']"/>
-            <xsl:variable name="wp-node2" select="following::w:p[position() = 1]"/>
-            <xsl:call-template name="start-end-bookmark">
-                <xsl:with-param name="type" select="'end'"/>
-                <xsl:with-param name="bm-node" select="$bm-node2"/>
-                <xsl:with-param name="wp-node" select="$wp-node2"/>
-            </xsl:call-template>
-        </xsl:element>
-    </xsl:template>
-    <!-- WordML contains multiple w:t within one w:r, so in Star Writer text:span should correspond to w:t glu -->
-    <xsl:template match="w:r">
-        <!-- handling another type of Hyperlink address in w:body.cp tom chen. 
-            Acutally they're from Field features, a complex one. glu 
-            <xsl:when test="w:r/w:instrText and contains(w:r/w:instrText , 'HYPERLINK')">
-                <xsl:variable name="hyper-str" select="normalize-space(w:r/w:instrText)"/>
-                <xsl:variable name="hyper-dest" select="substring-before( substring($hyper-str, 12), '&quot;')"/>
-                <xsl:variable name="hyper-bookmark">
-                    <xsl:choose>
-                        <xsl:when test="contains( $hyper-str, ' \l ')">
-                            <xsl:value-of select="concat( '#', substring-before( substring-after( substring-after( $hyper-str, ' \l '), '&quot;'), '&quot;') )"/>
-                        </xsl:when>
-                        <xsl:otherwise/>
-                    </xsl:choose>
-                </xsl:variable>
-                <text:p>
-                    <text:a>
-                        <xsl:attribute name="xlink:type">simple</xsl:attribute>
-                        <xsl:attribute name="xlink:href"><xsl:value-of select="concat( $hyper-dest, $hyper-bookmark)"/></xsl:attribute>
-                        <xsl:apply-templates/>
-                    </text:a>
-                </text:p>
-            </xsl:when>
-            -->
-        <xsl:if test="w:br[@w:type='text-wrapping' or not(@w:type)]">
-            <text:line-break/>
-        </xsl:if>
-        <xsl:choose>
-            <xsl:when test="aml:annotation/@w:type = 'Word.Comment'">
-                <office:annotation office:author="{aml:annotation/@aml:author}" office:create-date="{substring(aml:annotation/@aml:createdate,1,10)}" office:display="true">
-                    <xsl:apply-templates/>
-                </office:annotation>
-            </xsl:when>
-            <xsl:when test="(preceding-sibling::w:r) or (w:rPr)">
-                <xsl:element name="text:span">
-                    <xsl:choose>
-                        <xsl:when test="w:rPr/w:rStyle">
-                            <xsl:attribute name="text:style-name"><xsl:value-of select="w:rPr/w:rStyle/@w:val"/></xsl:attribute>
-                        </xsl:when>
-                        <xsl:when test="w:rPr">
-                            <xsl:variable name="position">
-                                <xsl:number from="/w:wordDocument/w:body" level="any" count="w:rPr"/>
-                            </xsl:variable>
-                            <xsl:attribute name="text:style-name">T<xsl:value-of select="$position + 1"/></xsl:attribute>
-                        </xsl:when>
-                    </xsl:choose>
-                    <xsl:apply-templates/>
-                </xsl:element>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:apply-templates/>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-    <!-- strange enough, WordML allows bookmarks out of w:p, but this isn't supported by StarWriter. To be patched. :( glu -->
-    <xsl:template match="aml:annotation[@w:type = 'Word.Bookmark.Start']">
-        <xsl:variable name="id" select="@aml:id"/>
-        <text:bookmark-start text:name="{@w:name}"/>
-    </xsl:template>
-    <xsl:template match="aml:annotation[@w:type = 'Word.Bookmark.End']">
-        <xsl:variable name="id" select="@aml:id"/>
-        <text:bookmark-end text:name="{preceding::aml:annotation[@aml:id = $id]/@w:name}"/>
-    </xsl:template>
-    <xsl:template match="w:hlink">
-        <xsl:element name="text:a">
-            <xsl:attribute name="xlink:type">simple</xsl:attribute>
-            <xsl:choose>
-                <xsl:when test="@w:dest and @w:bookmark">
-                    <xsl:attribute name="xlink:href"><xsl:value-of select="concat( @w:dest, concat('#', @w:bookmark) )"/></xsl:attribute>
-                </xsl:when>
-                <xsl:when test="@w:dest">
-                    <xsl:attribute name="xlink:href"><xsl:value-of select="@w:dest"/></xsl:attribute>
-                </xsl:when>
-                <xsl:when test="@w:bookmark">
-                    <xsl:attribute name="xlink:href"><xsl:value-of select="concat('#', @w:bookmark)"/></xsl:attribute>
-                </xsl:when>
-            </xsl:choose>
-            <xsl:if test="@w:target">
-                <xsl:attribute name="office:target-frame-name"><xsl:value-of select="@w:target"/></xsl:attribute>
-            </xsl:if>
-            <xsl:apply-templates/>
-        </xsl:element>
-    </xsl:template>
-    <xsl:template name="start-end-bookmark">
-        <!--?? generate bookmark before/after the tag w:p by recursion untill another type of aml:annotation. type: start/end. cp tom chen. -->
-        <xsl:param name="type"/>
-        <xsl:param name="bm-node"/>
-        <xsl:param name="wp-node"/>
-        <xsl:for-each select="$bm-node">
-            <xsl:variable name="curr" select="."/>
-            <xsl:for-each select="$wp-node[1]">
-                <xsl:if test="not(preceding::aml:annotation/@aml:id = $curr/@aml:id) and not(./aml:annotation[@aml:id = $curr/@aml:id]) and ($type = 'start')">
-                    <text:bookmark-start text:name="{$bm-node[@aml:id = $curr/@aml:id]/@w:name}"/>
-                </xsl:if>
-                <xsl:if test="not(following::aml:annotation/@aml:id = $curr/@aml:id) and not(./aml:annotation[@aml:id = $curr/@aml:id]) and ($type = 'end')">
-                    <text:bookmark-end text:name="{preceding::aml:annotation[@aml:id = $curr/@aml:id]/@w:name}"/>
-                </xsl:if>
-            </xsl:for-each>
-        </xsl:for-each>
-    </xsl:template>
-    <xsl:template match="w:t">
-        <xsl:choose>
-            <xsl:when test="string(.) = ' ' ">
-                <xsl:element name="text:s"/>
-            </xsl:when>
-            <xsl:when test="contains(.,'  ')">
-                <xsl:call-template name="replace-spaces">
-                    <xsl:with-param name="curr-string" select="."/>
-                </xsl:call-template>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:apply-templates/>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-    <xsl:template name="replace-spaces">
-        <xsl:param name="curr-string"/>
-        <xsl:if test="contains($curr-string,'  ')">
-            <xsl:value-of select="substring-before($curr-string,'  ')"/>
-            <text:s text:c="2"/>
-            <xsl:variable name="next-string" select="substring-after($curr-string,'  ')"/>
-            <xsl:choose>
-                <xsl:when test="contains($next-string, '  ')">
-                    <xsl:call-template name="replace-spaces">
-                        <xsl:with-param name="curr-string" select="$next-string"/>
-                    </xsl:call-template>
-                </xsl:when>
-                <xsl:otherwise>
-                    <xsl:value-of select="$next-string"/>
-                </xsl:otherwise>
-            </xsl:choose>
-        </xsl:if>
-    </xsl:template>
-    <xsl:template match="w:tab">
-        <xsl:element name="text:tab-stop"/>
-    </xsl:template>
-    <xsl:template match="w:instrText"/>
-    <xsl:template match="w:fldChar"/>
-<!-- End of OOo2.0 import/wordml/wordml2ooo_text.xsl stylesheet  -->
-<!-- Start of OOo2.0 import/common/ms2ooo_docpr.xsl stylesheet  -->
-    <xsl:template match="o:DocumentProperties">
-        <office:meta>
-            <meta:generator>Microsoft Word 2003</meta:generator>
-            <dc:title>
-                <xsl:value-of select="o:Title"/>
-            </dc:title>
-            <dc:description>
-                <xsl:value-of select="o:Description"/>
-            </dc:description>
-            <dc:subject>
-                <xsl:value-of select="o:Subject"/>
-            </dc:subject>
-            <meta:initial-creator>
-                <xsl:value-of select="o:Author"/>
-            </meta:initial-creator>
-            <meta:creation-date>
-                <xsl:value-of select="substring-before( o:Created, 'Z')"/>
-            </meta:creation-date>
-            <dc:creator>
-                <xsl:value-of select="o:LastAuthor"/>
-            </dc:creator>
-            <dc:date>
-                <xsl:value-of select="substring-before( o:LastSaved, 'Z')"/>
-            </dc:date>
-            <meta:printed-by/>
-            <meta:print-date>
-                <xsl:value-of select="substring-before( o:LastPrinted, 'Z')"/>
-            </meta:print-date>
-            <meta:keywords>
-                <meta:keyword>
-                    <xsl:value-of select="o:Keywords"/>
-                </meta:keyword>
-            </meta:keywords>
-            <dc:language/>
-            <meta:editing-cycles>
-                <xsl:value-of select="o:Revision"/>
-            </meta:editing-cycles>
-            <meta:editing-duration>
-                <xsl:if test="o:TotalTime">
-                    <xsl:value-of select="concat('PT', floor(o:TotalTime div 60), 'H', o:TotalTime mod 60, 'M0S')"/>
-                </xsl:if>
-            </meta:editing-duration>
-            <meta:user-defined meta:name="Category">
-                <xsl:value-of select="o:Category"/>
-            </meta:user-defined>
-            <meta:user-defined meta:name="Manager">
-                <xsl:value-of select="o:Manager"/>
-            </meta:user-defined>
-            <meta:user-defined meta:name="Company">
-                <xsl:value-of select="o:Company"/>
-            </meta:user-defined>
-            <meta:user-defined meta:name="Version">
-                <xsl:value-of select="o:Version"/>
-            </meta:user-defined>
-            <meta:user-defined meta:name="HyperlinkBase">
-                <xsl:value-of select="o:HyperlinkBase"/>
-            </meta:user-defined>
-            <xsl:apply-templates select="../o:CustomDocumentProperties"/>
-            <meta:document-statistic meta:page-count="{o:Pages}" meta:paragraph-count="{o:Paragraphs}" meta:word-count="{o:Words}" meta:character-count="{o:Characters}"/>
-        </office:meta>
-    </xsl:template>
-    <xsl:template match="o:CustomDocumentProperties">
-        <xsl:for-each select="node()[@dt:dt]">
-            <meta:user-defined meta:name="{local-name()}">
-                <xsl:value-of select="."/>
-            </meta:user-defined>
-        </xsl:for-each>
-    </xsl:template>
-<!-- End of OOo2.0 import/common/ms2ooo_docpr.xsl stylesheet  -->
-<!-- Start of OOo2.0 common/measure_conversion.xsl stylesheet  -->
-    <!-- DPI (dots per inch) the standard resolution of given pictures (necessary for the conversion of 'cm' into 'pixel')
-         Although many pictures have a 96 dpi resolution, a higher resoltion give better results for common browsers -->
-    <xsl:param name="dpi" select="111"/>
-    <xsl:param name="centimeter-in-mm" select="10"/>
-    <xsl:param name="inch-in-mm" select="25.4"/>
-    <xsl:param name="didot-point-in-mm" select="0.376065"/>
-    <xsl:param name="pica-in-mm" select="4.2333333"/>
-    <xsl:param name="point-in-mm" select="0.3527778"/>
-    <xsl:param name="twip-in-mm" select="0.017636684"/>
-    <xsl:param name="pixel-in-mm" select="$inch-in-mm div $dpi"/>
-    <!-- ***** MEASUREMENT CONVERSIONS *****
-      PARAM 'value'
-        The measure to be converted.
-        The current measure is judged by a substring (e.g. 'mm', 'cm', 'in', 'pica'...)
-        directly added to the number.
-
-      PARAM 'rounding-factor'
-        Is used for the rounding of decimal places.
-        The parameter number is the product of 1 and some '10', where
-        every zero represents a decimal place.
-
-        For example, providing as parameter:
-            <xsl:param name="rounding-factor" select="10000" />
-        Gives by default four decimal places.
-
-        To round two decimal places, basically the following is done:
-            <xsl:value-of select="round(100 * value) div 100"/>
-
-      RETURN    The converted number, by default rounded to four decimal places.
-                In case the input measure could not be matched the same value is
-                returned and a warning message is written out.
-
-
-
-     MEASURE LIST:
-     * 1 milimeter (mm), the basic measure
-
-     * 1 centimeter (cm) = 10 mm
-
-     * 1 inch (in) = 25.4 mm
-        While the English have already seen the light (read: the metric system), the US
-        remains loyal to this medieval system.
-
-     * 1 point (pt) = 0.35277777.. mm
-        Sometimes called PostScript point (ppt), as when Adobe created PostScript, they added their own system of points.
-        There are exactly 72 PostScript points in 1 inch.
-
-     * 1 twip = twentieth of a (PostScript) point
-        A twip (twentieth of a point) is a 1/20th of a PostScript point, a traditional measure in printing.
-
-     * 1 didot point (dpt) = 0.376065 mm
-        Didot point after the French typographer Firmin Didot (1764-1836).
-
-        More details under
-        http://www.unc.edu/~rowlett/units/dictP.html:
-        "A unit of length used by typographers and printers. When printing was done
-        from hand-set metal type, one point represented the smallest element of type
-        that could be handled, roughly 1/64 inch. Eventually, the point was standardized
-        in Britain and America as exactly 1/72.27 = 0.013 837 inch, which is
-        about 0.35 mm (351.46 micrometers). In continental Europe, typographers
-        traditionally used a slightly larger point of 0.014 83 inch (about
-        1/72 pouce, 0.377 mm, or roughly 1/67 English inch), called a Didot point
-        after the French typographer Firmin Didot (1764-1836). In the U.S.,
-        Adobe software defines the point to be exactly 1/72 inch (0.013 888 9 inch
-        or 0.352 777 8 millimeters) and TeX software uses a slightly smaller point
-        of 0.351 459 8035 mm. The German standards agency DIN has proposed that
-        all these units be replaced by multiples of 0.25 millimeters (1/101.6 inch).
-
-     * 1 pica = 4.233333 mm
-        1/6 inch or 12 points
-
-     * 1 pixel (px) = 0.26458333.. mm   (relative to 'DPI', here: 96 dpi)
-        Most pictures have the 96 dpi resolution, but the dpi variable may vary by stylesheet parameter
-
-
-    -->
-    <!-- changing measure to mm -->
-    <xsl:template name="convert2mm">
-        <xsl:param name="value"/>
-        <xsl:param name="rounding-factor" select="10000"/>
-        <xsl:choose>
-            <xsl:when test="contains($value, 'mm')">
-                <xsl:value-of select="substring-before($value, 'mm')"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'cm')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'cm' ) * $centimeter-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'in')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'in' ) * $inch-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pt')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pt') * $point-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'twip')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'twip') * $twip-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'dxa')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dxa') * $twip-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-
-            <xsl:when test="contains($value, 'dpt')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dpt') * $didot-point-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pica')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pica') * $pica-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'px')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'px') * $pixel-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'mm'!</xsl:message>
-                <xsl:value-of select="$value"/>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-    <!-- changing measure to cm -->
-    <xsl:template name="convert2cm">
-        <xsl:param name="value"/>
-        <xsl:param name="rounding-factor" select="10000"/>
-        <xsl:choose>
-            <xsl:when test="contains($value, 'mm')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'mm') div $centimeter-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'cm')">
-                <xsl:value-of select="substring-before($value, 'cm')"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'in')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'in') div $centimeter-in-mm * $inch-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pt')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pt') div $centimeter-in-mm * $point-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'dpt')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dpt') div $centimeter-in-mm * $didot-point-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pica')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pica') div $centimeter-in-mm * $pica-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'twip')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'twip') div $centimeter-in-mm * $twip-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-             <xsl:when test="contains($value, 'dxa')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dxa') div $centimeter-in-mm * $twip-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-
-            <xsl:when test="contains($value, 'px')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'px') div $centimeter-in-mm * $pixel-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'cm'!</xsl:message>
-                <xsl:value-of select="$value"/>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-    <!-- changing measure to inch (cp. section comment) -->
-    <xsl:template name="convert2in">
-        <xsl:param name="value"/>
-        <xsl:param name="rounding-factor" select="10000"/>
-        <xsl:choose>
-            <xsl:when test="contains($value, 'mm')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'mm') div $inch-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'cm')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'cm') div $inch-in-mm * $centimeter-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'in')">
-                <xsl:value-of select="substring-before($value, 'in')"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pt')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pt') div $inch-in-mm * $point-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'dpt')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dpt') div $inch-in-mm * $didot-point-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pica')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pica') div $inch-in-mm * $pica-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'twip')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'twip') div $inch-in-mm * $twip-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-             <xsl:when test="contains($value, 'dxa')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dxa') div $inch-in-mm * $twip-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-
-            <xsl:when test="contains($value, 'px')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'px') div $inch-in-mm * $pixel-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'in'!</xsl:message>
-                <xsl:value-of select="$value"/>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-    <!-- changing measure to dpt (cp. section comment) -->
-    <xsl:template name="convert2dpt">
-        <xsl:param name="value"/>
-        <xsl:param name="rounding-factor" select="10000"/>
-        <xsl:choose>
-            <xsl:when test="contains($value, 'mm')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'mm') div $didot-point-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'cm')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'cm') div $didot-point-in-mm * $centimeter-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'in')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'in') div $didot-point-in-mm * $inch-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pt')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pt') div $didot-point-in-mm * $point-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'dpt')">
-                <xsl:value-of select="substring-before($value, 'dpt')"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pica')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pica') div $didot-point-in-mm * $pica-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'twip')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'twip') div $didot-point-in-mm * $twip-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-             <xsl:when test="contains($value, 'dxa')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dxa') div $didot-point-in-mm * $twip-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-
-            <xsl:when test="contains($value, 'px')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'px') div $didot-point-in-mm * $pixel-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'dpt'!</xsl:message>
-                <xsl:value-of select="$value"/>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-    <!-- changing measure to pica (cp. section comment) -->
-    <xsl:template name="convert2pica">
-        <xsl:param name="value"/>
-        <xsl:param name="rounding-factor" select="10000"/>
-        <xsl:choose>
-            <xsl:when test="contains($value, 'mm')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'mm') div $pica-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'cm')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'cm') div $pica-in-mm * $centimeter-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'in')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'in') div $pica-in-mm * $inch-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pt')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pt') div $pica-in-mm * $point-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'dpt')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dpt') div $pica-in-mm * $didot-point-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pica')">
-                <xsl:value-of select="substring-before($value, 'pica')"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'twip')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'twip') div $pica-in-mm * $twip-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-             <xsl:when test="contains($value, 'dxa')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dxa') div $pica-in-mm * $twip-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-
-            <xsl:when test="contains($value, 'px')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'px') div $pica-in-mm * $pixel-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'pica'!</xsl:message>
-                <xsl:value-of select="$value"/>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-    <!-- changing measure to pt (cp. section comment) -->
-    <xsl:template name="convert2pt">
-        <xsl:param name="value"/>
-        <xsl:param name="rounding-factor" select="10000"/>
-        <xsl:choose>
-            <xsl:when test="contains($value, 'mm')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'mm') div $point-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'cm')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'cm') div $point-in-mm * $centimeter-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'in')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'in') div $point-in-mm * $inch-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pt')">
-                <xsl:value-of select="substring-before($value, 'pt')"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'dpt')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dpt') div $point-in-mm * $didot-point-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pica')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pica') div $point-in-mm * $pica-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'twip')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'twip') div $point-in-mm * $twip-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-             <xsl:when test="contains($value, 'dxa')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dxa') div $point-in-mm * $twip-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-
-            <xsl:when test="contains($value, 'px')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'px') div $point-in-mm * $pixel-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'pt'!</xsl:message>
-                <xsl:value-of select="$value"/>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-    <!-- changing measure to pt (cp. section comment) -->
-    <xsl:template name="convert2twip">
-        <xsl:param name="value"/>
-        <xsl:param name="rounding-factor" select="10000"/>
-        <xsl:choose>
-            <xsl:when test="contains($value, 'mm')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'mm') div $twip-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'cm')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'cm') div $twip-in-mm * $centimeter-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'in')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'in') div $twip-in-mm * $inch-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pt')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pt') div $twip-in-mm * $point-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'dpt')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dpt') div $twip-in-mm * $didot-point-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pica')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pica') div $twip-in-mm * $pica-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'twip')">
-                <xsl:value-of select="substring-before($value, 'twip')"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'dxa')">
-                <xsl:value-of select="substring-before($value, 'dxa')"/>
-            </xsl:when>
-
-            <xsl:when test="contains($value, 'px')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'px') div $twip-in-mm * $pixel-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'twip'!</xsl:message>
-                <xsl:value-of select="$value"/>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-    <!-- changing measure to pixel by via parameter provided dpi (dots per inch) standard factor (cp. section comment) -->
-    <xsl:template name="convert2px">
-        <xsl:param name="value"/>
-        <xsl:choose>
-            <xsl:when test="contains($value, 'mm')">
-                <xsl:value-of select="round(number(substring-before($value, 'mm')) div $pixel-in-mm)"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'cm')">
-                <xsl:value-of select="round(number(substring-before($value, 'cm')) div $pixel-in-mm * $centimeter-in-mm)"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'in')">
-                <xsl:value-of select="round(number(substring-before($value, 'in')) div $pixel-in-mm * $inch-in-mm)"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pt')">
-                <xsl:value-of select="round(number(substring-before($value, 'pt')) div $pixel-in-mm * $point-in-mm)"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'dpt')">
-                <xsl:value-of select="round(number(substring-before($value, 'dpt')) div $pixel-in-mm * $didot-point-in-mm)"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pica')">
-                <xsl:value-of select="round(number(substring-before($value, 'pica')) div $pixel-in-mm * $pica-in-mm)"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'twip')">
-                <xsl:value-of select="round(number(substring-before($value, 'twip')) div $pixel-in-mm * $twip-in-mm)"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'dxa')">
-                <xsl:value-of select="round(number(substring-before($value, 'dxa')) div $pixel-in-mm * $twip-in-mm)"/>
-            </xsl:when>
-
-            <xsl:when test="contains($value, 'px')">
-                <xsl:value-of select="$value"/>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'px'!</xsl:message>
-                <xsl:value-of select="$value"/>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-        <xsl:template name="convert2dxa">
-        <!-- this template is the same as the template of convert2twip because M$ word uses the dxa to represent twip-->
-        <xsl:param name="value"/>
-        <xsl:param name="rounding-factor" select="10000"/>
-        <xsl:choose>
-            <xsl:when test="contains($value, 'mm')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'mm') div $twip-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'cm')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'cm') div $twip-in-mm * $centimeter-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'in')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'in') div $twip-in-mm * $inch-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pt')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pt') div $twip-in-mm * $point-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'dpt')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dpt') div $twip-in-mm * $didot-point-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'pica')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pica') div $twip-in-mm * $pica-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'twip')">
-                <xsl:value-of select="substring-before($value, 'twip')"/>
-            </xsl:when>
-            <xsl:when test="contains($value, 'dxa')">
-                <xsl:value-of select="substring-before($value, 'dxa')"/>
-            </xsl:when>
-
-            <xsl:when test="contains($value, 'px')">
-                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'px') div $twip-in-mm * $pixel-in-mm)) div $rounding-factor"/>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'twip'!</xsl:message>
-                <xsl:value-of select="$value"/>
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-<!-- End of OOo2.0 common/measure_conversion.xsl stylesheet  -->
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/NCAA_Conference_Schedule_XML.dtd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-<!ELEMENT message  (XML_File_ID , heading , category , sport , Title , Conference_Schedule , time_stamp )>
-
-<!ELEMENT XML_File_ID  (#PCDATA )>
-
-<!ELEMENT heading  (#PCDATA )>
-
-<!ELEMENT category  (#PCDATA )>
-
-<!ELEMENT sport  (#PCDATA )>
-
-<!ELEMENT Title  (#PCDATA )>
-
-<!ELEMENT Conference_Schedule  (Team+ )>
-
-<!ELEMENT Team  (Listing+ )>
-<!ATTLIST Team  fullname CDATA  #REQUIRED >
-<!ELEMENT Listing  (#PCDATA )>
-
-<!ELEMENT time_stamp  (#PCDATA )>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/OpenJDK100017Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.IOException;
-
-import javax.xml.transform.sax.SAXTransformerFactory;
-import javax.xml.transform.sax.TransformerHandler;
-import javax.xml.transform.stream.StreamResult;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6883209
- * @summary Test XSLT won't cause StackOverflow when it handle many characters.
- */
-public class OpenJDK100017Test {
-
-    @Test
-    public final void testXMLStackOverflowBug() throws TransformerConfigurationException, IOException, SAXException {
-        try {
-            SAXTransformerFactory stf = (SAXTransformerFactory) TransformerFactory.newInstance();
-            TransformerHandler ser = stf.newTransformerHandler();
-            ser.setResult(new StreamResult(System.out));
-
-            StringBuilder sb = new StringBuilder(4096);
-            for (int x = 4096; x > 0; x--) {
-                sb.append((char) x);
-            }
-            ser.characters(sb.toString().toCharArray(), 0, sb.toString().toCharArray().length);
-            ser.endDocument();
-        } catch (StackOverflowError se) {
-            se.printStackTrace();
-            Assert.fail("StackOverflow");
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/PredicateInKeyTest.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-<!--
-  * PredicateInKeyTest.xml - XSLT test input file for PredicatInKeyTest.xsl
-  *
- *
- * Copyright (c) 2014, 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.
- *
-  -->
-<document><t>0</t><t>1</t><t>2</t><t>3</t></document>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/PredicateInKeyTest.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-<?xml version="1.0"?>
-<!--
- *
- * Copyright (c) 2014, 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.
- *
-  -->
-<xsl:stylesheet
-   version="1.0"
-   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
->
-
-   <xsl:output method="text"/>
-   
-   <xsl:key name="key" match="t[1]" use="0"/>
-   <xsl:key name="key" match="t[2]" use="1"/>
-   <xsl:key name="key" match="t[following-sibling::t[1] = 3]" use="2"/>
-   <xsl:key name="key" match="t[preceding-sibling::t[. = 2]]" use="3"/>
-   
-   <xsl:template match="/">
-      <xsl:copy-of select="key('key', 0)/text()"/> <!-- 0 -->
-      <xsl:text>|</xsl:text>
-      <xsl:copy-of select="key('key', 1)/text()"/> <!-- 1 -->
-      <xsl:text>|</xsl:text>
-      <xsl:copy-of select="key('key', 2)/text()"/> <!-- 2 -->
-      <xsl:text>|</xsl:text>
-      <xsl:copy-of select="key('key', 3)/text()"/> <!-- 3 -->
-   </xsl:template>
-
-</xsl:stylesheet>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/SAX2DOMTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,194 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMResult;
-import javax.xml.transform.sax.SAXSource;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.xml.sax.Attributes;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXNotRecognizedException;
-import org.xml.sax.SAXNotSupportedException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.ext.LexicalHandler;
-import org.xml.sax.helpers.AttributesImpl;
-import org.xml.sax.helpers.XMLFilterImpl;
-
-/*
- * @summary Test Transforming from SAX to DOM.
- */
-public class SAX2DOMTest {
-
-    @Test
-    public void test() throws Exception {
-        SAXParserFactory fac = SAXParserFactory.newInstance();
-        fac.setNamespaceAware(true);
-        SAXParser saxParser = fac.newSAXParser();
-
-        StreamSource sr = new StreamSource(this.getClass().getResourceAsStream("SAX2DOMTest.xml"));
-        InputSource is = SAXSource.sourceToInputSource(sr);
-        RejectDoctypeSaxFilter rf = new RejectDoctypeSaxFilter(saxParser);
-        SAXSource src = new SAXSource(rf, is);
-        Transformer transformer = TransformerFactory.newInstance().newTransformer();
-        DOMResult result = new DOMResult();
-        transformer.transform(src, result);
-
-        Document doc = (Document) result.getNode();
-        System.out.println("Name" + doc.getDocumentElement().getLocalName());
-
-        String id = "XWSSGID-11605791027261938254268";
-        Element selement = doc.getElementById(id);
-        if (selement == null) {
-            System.out.println("getElementById returned null");
-        }
-
-    }
-
-    public static class RejectDoctypeSaxFilter extends XMLFilterImpl implements XMLReader, LexicalHandler {
-
-        /** Standard SAX 2.0 ext property */
-        static final String LEXICAL_HANDLER_PROP = "http://xml.org/sax/properties/lexical-handler";
-
-        static final String WSU_NS = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd".intern();
-        static final String SIGNATURE_LNAME = "Signature".intern();
-        static final String ENCRYPTED_DATA_LNAME = "EncryptedData".intern();
-        static final String DSIG_NS = "http://www.w3.org/2000/09/xmldsig#".intern();
-        static final String XENC_NS = "http://www.w3.org/2001/04/xmlenc#".intern();
-        static final String ID_NAME = "ID".intern();
-
-        /** LexicalHandler to forward events to, if any */
-        private LexicalHandler lexicalHandler;
-
-        public RejectDoctypeSaxFilter(SAXParser saxParser) throws Exception {
-            XMLReader xmlReader;
-            try {
-                xmlReader = saxParser.getXMLReader();
-            } catch (Exception e) {
-                throw new Exception("Couldn't get an XMLReader while constructing a RejectDoctypeSaxFilter", e);
-            }
-
-            // Set ourselves up to be the SAX LexicalHandler
-            try {
-                xmlReader.setProperty(LEXICAL_HANDLER_PROP, this);
-            } catch (Exception e) {
-                throw new Exception("Couldn't set the lexical handler property while constructing a RejectDoctypeSaxFilter", e);
-            }
-
-            // Set the parent XMLReader of this SAX filter
-            setParent(xmlReader);
-        }
-
-        /*
-         * Override setProperty() to capture any LexicalHandler that is set for
-         * forwarding of events.
-         */
-        public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException {
-            if (LEXICAL_HANDLER_PROP.equals(name)) {
-                lexicalHandler = (LexicalHandler) value;
-            } else {
-                super.setProperty(name, value);
-            }
-        }
-
-        //
-        // Beginning of SAX LexicalHandler callbacks...
-        //
-
-        public void startDTD(String name, String publicId, String systemId) throws SAXException {
-            throw new SAXException("Document Type Declaration is not allowed");
-        }
-
-        public void endDTD() throws SAXException {
-        }
-
-        public void startEntity(String name) throws SAXException {
-            if (lexicalHandler != null) {
-                lexicalHandler.startEntity(name);
-            }
-        }
-
-        public void endEntity(String name) throws SAXException {
-            if (lexicalHandler != null) {
-                lexicalHandler.endEntity(name);
-            }
-        }
-
-        public void startCDATA() throws SAXException {
-            if (lexicalHandler != null) {
-                lexicalHandler.startCDATA();
-            }
-        }
-
-        public void endCDATA() throws SAXException {
-            if (lexicalHandler != null) {
-                lexicalHandler.endCDATA();
-            }
-        }
-
-        public void comment(char[] ch, int start, int length) throws SAXException {
-            if (lexicalHandler != null) {
-                lexicalHandler.comment(ch, start, length);
-            }
-        }
-
-        //
-        // End of SAX LexicalHandler callbacks
-        //
-
-        public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException {
-            if (atts != null) {
-                boolean eos = false;
-                if (namespaceURI == DSIG_NS || XENC_NS == namespaceURI) {
-                    eos = true;
-                }
-                int length = atts.getLength();
-                AttributesImpl attrImpl = new AttributesImpl();
-                for (int i = 0; i < length; i++) {
-                    String name = atts.getLocalName(i);
-                    if (name != null && (name.equals("Id"))) {
-                        if (eos || atts.getURI(i) == WSU_NS) {
-                            attrImpl.addAttribute(atts.getURI(i), atts.getLocalName(i), atts.getQName(i), ID_NAME, atts.getValue(i));
-                        } else {
-                            attrImpl.addAttribute(atts.getURI(i), atts.getLocalName(i), atts.getQName(i), atts.getType(i), atts.getValue(i));
-                        }
-                    } else {
-                        attrImpl.addAttribute(atts.getURI(i), atts.getLocalName(i), atts.getQName(i), atts.getType(i), atts.getValue(i));
-                    }
-                }
-                super.startElement(namespaceURI, localName, qName, attrImpl);
-            } else {
-                super.startElement(namespaceURI, localName, qName, atts);
-            }
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/SAX2DOMTest.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,109 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"  
-    xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"  
-    xmlns:ns0="http://tax.org/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
-    env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
-    <env:Header>
-        <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/ 
-            oasis-200401-wss-wssecurity-secext-1.0.xsd" env:mustUnderstand="1">
-            <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"  
-                EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" 
-                ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"  
-                wsu:Id="XWSSGID-1160579093284-731518813">MIICvjCCAicCBEUKVsswDQYJKoZIhvc 
-                NAQEEBQAwgaUxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpD
-                YWxpZm9ybmlhMRQwEgYDVQQHEwtTYW50YSBDbGFyYTEZMBcGA1UEChMQU3VuIE1pY3Jvc3lz 
-                dGVt
-                czErMCkGA1UECxMiU3VuIEphdmEgU3lzdGVtIEFwcGxpY2F0aW9uIFNlcnZlcjEjMCEGA1UE 
-                AxMa
-                a3VtYXJqYXlhbnRpLmluZGlhLnN1bi5jb20wHhcNMDYwOTE1MDczMTIzWhcNMTYwOTEyMDcz 
-                MTIz
-                WjCBpTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFDASBgNVBAcTC1NhbnRh 
-                IENs
-                YXJhMRkwFwYDVQQKExBTdW4gTWljcm9zeXN0ZW1zMSswKQYDVQQLEyJTdW4gSmF2YSBTeXN0 
-                ZW0g
-                QXBwbGljYXRpb24gU2VydmVyMSMwIQYDVQQDExprdW1hcmpheWFudGkuaW5kaWEuc3VuLmNv 
-                bTCB
-                nzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEArvcLWMmE7KUE+QJhhv 
-                +sNEpsVnOgDQ8Q2Q7WUUHh
-                psY/o059aaurJT6GpmBL8fOoVRw08hsRN5B1rBUSjEQhlVNP/RM5tKow/hdXNt 
-                +zBhQ11d8Kocvd
-                VJcTSsuLCQombPJj0gzVeu3UOa0n290YvakbDxpBLoA14d4K/ 
-                lA6BOsCAwEAATANBgkqhkiG9w0B
-                AQQFAAOBgQCWxwpM2eVlE2mG6rsnrhJMQdtaLIoEilh6xtUTkFgLW 
-                +H6rRSFAr7pxCO2OiwWWzRa
-                FQuuigYlhDpTcCcQARElhlL5ZHLP84cgp/ 
-                2KfFKXBphOx9xNoThFLDuh2ExUUydfqZMXYhpN39fe
-            ziQeqggTVsTKHTfFsNpAW09ZoXx5ug==</wsse:BinarySecurityToken>
-            <xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
-                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/ 
-                xmlenc#rsa-1_5"/>
-                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
-                    <wsse:SecurityTokenReference>
-                        <wsse:Reference URI="#XWSSGID-1160579093284-731518813"  
-                        ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/>
-                    </wsse:SecurityTokenReference>
-                </ds:KeyInfo>
-                <xenc:CipherData>
-                    <xenc:CipherValue>elU7zQXCWw3VUeb7CRRhm2Qc0HTF6tQz4MAaLDrlw60oBi0bHi2npe 
-                        vNuhQuDIMBcqA4U9f51zK7
-                        /tR8602YjpMETlby/w01yLGb2IvzKsFAL02NilRUT4o1Jj2PiLibcbVonzuye/ 
-                        dfoNKi5dNeQY6k
-                    In3JurQmap8QEEpEoIM=</xenc:CipherValue>
-                </xenc:CipherData>
-                <xenc:ReferenceList>
-                    <xenc:DataReference URI="#XWSSGID-11605791027261938254268"/>
-                </xenc:ReferenceList>
-            </xenc:EncryptedKey>
-            <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ 
-                oasis-200401-wss-wssecurity-utility-1.0.xsd"  
-                wsu:Id="XWSSGID-11605790933402107175190">
-                <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"  
-                    Id="XWSSGID-11605791027261938254268" Type="http://www.w3.org/2001/04/xmlenc#Content">
-                    <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
-                    <xenc:CipherData>
-                        <xenc:CipherValue>ZnUgV0uixMVhb7LYujc+vGwlnZdfG7c9MtI3+M8P92Oyh2Mk 
-                            +xfQsADTlk2Gqux6gRLAeKjafdXG
-                            gVsdZvWkc9+tvKE9cGRv8Gm2d7ephTdSDwKRX1m7I8Q52U87MCrBWPfWEZAhm/ 
-                            UE8RfZf54YHFB6
-                            AA2gIrQQF1qYprX6eyHzaLdZe2iVRs5wXD2uRr1C3e1F6HbftGVc8gGMcsClXXzrSu3wMzJ7 
-                            CIRH
-                            tGg8R/Xoghj2KHwv4p4FGOBQ4AT3F54I3/ 
-                            wcfFLawPLH40wwjDuHK9ufRWIrkn4VYTUrWfZoUxMV
-                            ZSaUkGeLi1d55IeWJhjQwwktYFd/KKe79qHLbc5IMzrVNbK7yKpxvQ25/CL+6lHVmPAd 
-                            +RrLtopX
-                            qBhSRGVwHUHoLl7lAZX7q+x4AbO0x6ftib/5ytRgIBhpZWo6/ 
-                            WvVYAQrV5Fw1e5OYZq1kkWuq3XO
-                            jJuBU7x4vCTXlUphe9aDMJV/K7mTXwrgzRXFxSkUS/ 
-                            L1q8EfCTT73aFyGuRQmFK9ZTyXuZtg4E1V
-                            ooxYuOwvAQZfp49lj39+oieNP4q24/I2tcflA+blHjSrV/ 
-                            8CqrRLZfMnGzTAW4rA3JPzQcwexuAv
-                            bkUdMF8GU8XzfGDWSiPz0EDLV0dBOPPL6Da6IH1sWXXegSBnblxRDWZ4XGC5lGXErs7wo9Yo 
-                            NaNN
-                            Y2C3TEfgchGMbg0JvQ7JytKWfKcfjL0A7DoP1ChIbh4JC3rTpRbGvqbAgs7zyS+NyZ06/ 
-                            s4m4s34
-                            U4HcILs+lkZUszRAXwKhc9th6KoFl7i+q1UoiOfxFbf/ 
-                            RsIwDg5ULIHRJS7AJrm703jn7OUKalrB
-                            a8d5vm0b6PFMQx8eD7 
-                            +7HaXpBn9GJ5RubfB94QB3BUuy0av8INHtmYpvzcIwTLYmuGYcg7UnvJ6I
-                            8qjagbc67eSNC+vnKQHPrOyrqvY44R5qzfij+rp9k1vp4an/ys5db9P 
-                            +igwmyH3BTXC3rqjbgO7i
-                            tuv5Kw/H8mfl2VKme13VyWry6zCCNo8ug8O7YE0M/ 
-                            lhjb0SCDyz8Rfxp7zApgGXDjrx4TNlBf+Jj
-                            Ys4QVbDA8EQf6Ku3ZYfLGM+eFFSguR0OiCWb6pOD8AWxIv4yq6d6hA3pE5/ 
-                            okvOmHl2BpElpyePb
-                            lbeOuU8DrmceetMTL+U5QOUYSvYpMPop20QDUNje7 
-                            +SIDcHG3xp9Vx78gI7HOqmeBzFla49wXJxF
-                        ffK86OmEV14=</xenc:CipherValue>
-                    </xenc:CipherData>
-                </xenc:EncryptedData>
-            </wsse:UsernameToken>
-        </wsse:Security>
-    </env:Header>
-    <env:Body>
-        <ns0:getFedTax>
-            <double_1 xsi:type="xsd:double">97000.0</double_1>
-            <double_2 xsi:type="xsd:double">7000.0</double_2>
-        </ns0:getFedTax>
-    </env:Body>
-</env:Envelope>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/SecureProcessingTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,147 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.StringWriter;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.xml.sax.SAXException;
-
-/*
- * @summary Test XSLT shall report TransformerException for unsafe xsl when FEATURE_SECURE_PROCESSING is true.
- */
-public class SecureProcessingTest {
-    static boolean _isSecureMode = false;
-    static {
-        if (System.getSecurityManager() != null) {
-            _isSecureMode = true;
-            System.out.println("Security Manager is present");
-        } else {
-            System.out.println("Security Manager is NOT present");
-        }
-    }
-
-
-
-    @Test
-    public final void testSecureProcessing() {
-
-        // SECURE_PROCESSING == false
-
-        // the style sheet
-        InputStream xslStream = this.getClass().getResourceAsStream("SecureProcessingTest.xsl");
-        StreamSource xslSource = new StreamSource(xslStream);
-
-        // the xml source
-        InputStream xmlStream = this.getClass().getResourceAsStream("SecureProcessingTest.xml");
-        StreamSource xmlSource = new StreamSource(xmlStream);
-
-        // the xml result
-        StringWriter xmlResultString = new StringWriter();
-        StreamResult xmlResultStream = new StreamResult(xmlResultString);
-
-        // the transformer
-        TransformerFactory transformerFactory = null;
-        Transformer transformer = null;
-
-        // transform with a non-secure Transformer
-        // expect success
-        String xmlResult;
-        if (!_isSecureMode) { // jaxp secure feature can not be turned off when
-                              // security manager is present
-            try {
-                transformerFactory = TransformerFactory.newInstance();
-                transformerFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false);
-                transformer = transformerFactory.newTransformer(xslSource);
-                transformer.transform(xmlSource, xmlResultStream);
-            } catch (TransformerConfigurationException ex) {
-                ex.printStackTrace();
-                Assert.fail(ex.toString());
-            } catch (TransformerException ex) {
-                ex.printStackTrace();
-                Assert.fail(ex.toString());
-            }
-
-            // expected success
-            // and the result is ...
-            xmlResult = xmlResultString.toString();
-            System.out.println("Transformation result (SECURE_PROCESSING == false) = \"" + xmlResult + "\"");
-        }
-
-        // now do same transformation but with SECURE_PROCESSING == true
-        // expect Exception
-        boolean exceptionCaught = false;
-
-        // the style sheet
-        xslStream = this.getClass().getResourceAsStream("SecureProcessingTest.xsl");
-        xslSource = new StreamSource(xslStream);
-
-        // the xml source
-        xmlStream = this.getClass().getResourceAsStream("SecureProcessingTest.xml");
-        xmlSource = new StreamSource(xmlStream);
-
-        // the xml result
-        xmlResultString = new StringWriter();
-        xmlResultStream = new StreamResult(xmlResultString);
-
-        // the transformer
-        transformerFactory = null;
-        transformer = null;
-
-        // transform with a secure Transformer
-        try {
-            transformerFactory = TransformerFactory.newInstance();
-            transformerFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
-            transformer = transformerFactory.newTransformer(xslSource);
-            transformer.transform(xmlSource, xmlResultStream);
-        } catch (TransformerConfigurationException ex) {
-            ex.printStackTrace();
-            Assert.fail(ex.toString());
-        } catch (TransformerException ex) {
-            // expected failure
-            System.out.println("expected failure: " + ex.toString());
-            ex.printStackTrace(System.out);
-            exceptionCaught = true;
-        }
-
-        // unexpected success?
-        if (!exceptionCaught) {
-            // and the result is ...
-            xmlResult = xmlResultString.toString();
-            System.err.println("Transformation result (SECURE_PROCESSING == true) = \"" + xmlResult + "\"");
-            Assert.fail("SECURITY_PROCESSING == true, expected failure but got result: \"" + xmlResult + "\"");
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/SecureProcessingTest.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0"?>
-<helloWorld/>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/SecureProcessingTest.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                xmlns:java="http://xml.apache.org/xslt/java"
-                version="1.0">
-    <xsl:template
-        match="/helloWorld"
-        xmlns:java="http://xml.apache.org/xslt/java">
-      <int>
-        <xsl:value-of
-            select="java:java.lang.String.valueOf(0)"
-        />
-      </int>
-    </xsl:template>
-</xsl:stylesheet>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/SourceTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,141 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.File;
-import java.io.StringWriter;
-
-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 org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test Sources.
- */
-public class SourceTest {
-
-    @Test
-    public final void testDOMSource() {
-        String xml = getClass().getResource("SourceTest.xml").getFile();
-        xml = "file://" + xml;
-        File xsl = new File(getClass().getResource("SourceTest.xsl").getFile());
-        try {
-            TransformerFactory tFactory = TransformerFactory.newInstance();
-            Transformer transformer = tFactory.newTransformer();
-            StreamSource source = new StreamSource(xsl);
-            transformer = tFactory.newTransformer(source);
-            // the xml result
-            StringWriter xmlResultString = new StringWriter();
-            StreamResult xmlResultStream = new StreamResult(xmlResultString);
-
-            Source xmlSource = new DOMSource();
-            xmlSource.setSystemId(xml);
-
-            transformer.transform(xmlSource, xmlResultStream);
-            System.out.println(xmlResultString.toString());
-            String temp = xmlResultString.toString();
-            int pos = temp.lastIndexOf("count");
-            if (temp.substring(pos + 8, pos + 9).equals("1")) {
-                Assert.fail("count=1");
-            } else if (temp.substring(pos + 8, pos + 9).equals("2")) {
-                // expected success
-                System.out.println("count=2");
-            }
-        } catch (Exception e) {
-            // unexpected failure
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-
-    @Test
-    public final void testSAXSource() {
-        String xml = getClass().getResource("SourceTest.xml").getFile();
-        File xsl = new File(getClass().getResource("SourceTest.xsl").getFile());
-        try {
-            TransformerFactory tFactory = TransformerFactory.newInstance();
-            Transformer transformer = tFactory.newTransformer();
-            StreamSource source = new StreamSource(xsl);
-            transformer = tFactory.newTransformer(source);
-            // the xml result
-            StringWriter xmlResultString = new StringWriter();
-            StreamResult xmlResultStream = new StreamResult(xmlResultString);
-
-            Source xmlSource = new SAXSource();
-            xmlSource.setSystemId(xml);
-
-            transformer.transform(xmlSource, xmlResultStream);
-            System.out.println(xmlResultString.toString());
-            String temp = xmlResultString.toString();
-            int pos = temp.lastIndexOf("count");
-            if (temp.substring(pos + 8, pos + 9).equals("1")) {
-                Assert.fail("count=1");
-            } else if (temp.substring(pos + 8, pos + 9).equals("2")) {
-                // expected success
-                System.out.println("count=2");
-            }
-        } catch (Exception e) {
-            // unexpected failure
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-
-    @Test
-    public final void testStreamSource() {
-        String xml = getClass().getResource("SourceTest.xml").getFile();
-        File xsl = new File(getClass().getResource("SourceTest.xsl").getFile());
-        try {
-            TransformerFactory tFactory = TransformerFactory.newInstance();
-            Transformer transformer = tFactory.newTransformer();
-            StreamSource source = new StreamSource(xsl);
-            transformer = tFactory.newTransformer(source);
-            // the xml result
-            StringWriter xmlResultString = new StringWriter();
-            StreamResult xmlResultStream = new StreamResult(xmlResultString);
-
-            Source xmlSource = new StreamSource();
-            xmlSource.setSystemId(xml);
-
-            transformer.transform(xmlSource, xmlResultStream);
-            System.out.println(xmlResultString.toString());
-            String temp = xmlResultString.toString();
-            int pos = temp.lastIndexOf("count");
-            if (temp.substring(pos + 8, pos + 9).equals("1")) {
-                Assert.fail("count=1");
-            } else if (temp.substring(pos + 8, pos + 9).equals("2")) {
-                // expected success
-                System.out.println("count=2");
-            }
-        } catch (Exception e) {
-            // unexpected failure
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/SourceTest.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<a>
-  <b>
-    <c>
-      <d>
-        <e attr="foo">
-	  E3
-        </e>
-      </d>
-    </c>
-  </b>
-  <b>
-    <c>
-      <d>
-        <e attr="bar">
-	  E3
-        </e>
-      </d>
-    </c>
-  </b>
-</a>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/SourceTest.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-  <!-- Xalan 2.6 contained in the Sun JDK 1.5 u12 and newer has issues with
-       evaluating grouping nodes according the Muenchian Method (by Steve Muench),
-       where nodes are stored in a key data structure for the group key, and later
-       a group start is checked by checking for the first node retrieved for a key.
-       The nodes are compared using a set union, where the size of the set should
-       be 1 when the nodes are identical, and different to 1 when the nodes are
-       different.
-       The issue with Xalan 2.6 as part of the JDK is, that it does not evaluate the
-       expression "count(.|key('props', subexpr)[1])" correctly. It always returns
-       "1". If the argument expression of count() is stored in a variable first,
-       and the variable is used as argument for count(), then everything works fine.
-  -->
-
-
-
-  <xsl:key name="props" match="c" use="d/e"/>
-  <xsl:template match="a">
-
-    Working (by replacing the count() argument with a variable):
-    <xsl:for-each select="b">
-      <xsl:for-each select="c">
-        <xsl:variable name="tNodeSet" select=".|key('props', d/e)[1]"/>
-        <xsl:for-each select="$tNodeSet">
-        Node <xsl:value-of select="d/e/@attr"/>;
-        </xsl:for-each>
-        count = <xsl:value-of select="count($tNodeSet)"/>
-      </xsl:for-each>
-        ---------
-    </xsl:for-each>
-
-    Not working in the 2nd loop iteration (by using the union expression as count() argument):
-    <xsl:for-each select="b">
-      <xsl:for-each select="c">
-
-        <!-- We replaced the variable "tNodeSet" by the related union expression.
-             The for-each loop will work correctly, but the count() will
-             always return "1" instead of first "1" and then "2".
-        -->
-
-        <xsl:for-each select=".|key('props', d/e)[1]">
-        Node <xsl:value-of select="d/e/@attr"/>;
-        </xsl:for-each>
-
-        count = <xsl:value-of select="count(.|key('props', d/e)[1])"/>
-      </xsl:for-each>
-        ---------
-    </xsl:for-each>
-
-  </xsl:template>
-</xsl:stylesheet>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/StAXSourceTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,121 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.StringReader;
-import java.io.StringWriter;
-
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLEventWriter;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.transform.dom.DOMResult;
-import javax.xml.transform.stax.StAXResult;
-import javax.xml.transform.stax.StAXSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test parsing from StAXSource.
- */
-public class StAXSourceTest {
-
-    @Test
-    public final void testStAXSource() throws XMLStreamException {
-        XMLInputFactory ifactory = XMLInputFactory.newInstance();
-        XMLOutputFactory ofactory = XMLOutputFactory.newInstance();
-
-        String xslStylesheet = "<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>"
-                + "  <xsl:output method='xml' encoding='utf-8' indent='no'/>" + "  <xsl:preserve-space elements='*'/>" + "  <xsl:template match='*'>"
-                + "    <xsl:copy><xsl:copy-of select='@*'/><xsl:apply-templates/></xsl:copy>" + "  </xsl:template>"
-                + "  <xsl:template match='comment()|processing-instruction()|text()'>" + "    <xsl:copy/>" + "  </xsl:template>" + "</xsl:stylesheet>";
-        StringReader xslStringReader = new StringReader(xslStylesheet);
-        StringReader xmlStringReader = new StringReader(xslStylesheet); // identity
-                                                                        // on
-                                                                        // itself,
-        StringWriter xmlStringWriter = new StringWriter();
-
-        XMLEventReader styleReader = ifactory.createXMLEventReader(xslStringReader);
-        XMLEventReader docReader = ifactory.createXMLEventReader(xmlStringReader);
-        XMLEventWriter writer = ofactory.createXMLEventWriter(xmlStringWriter);
-
-        StAXSource stylesheet = new StAXSource(styleReader);
-        StAXSource document = new StAXSource(docReader);
-        StAXResult result = new StAXResult(writer);
-
-        try {
-            document.setSystemId("sourceSystemId");
-        } catch (UnsupportedOperationException e) {
-            System.out.println("Expected UnsupportedOperationException in StAXSource.setSystemId()");
-        } catch (Exception e) {
-            Assert.fail("StAXSource.setSystemId() does not throw java.lang.UnsupportedOperationException");
-        }
-
-        TransformerFactory tfactory = TransformerFactory.newInstance();
-        try {
-            Transformer transformer = tfactory.newTransformer(stylesheet);
-            transformer.transform(document, result);
-        } catch (TransformerConfigurationException tce) {
-            throw new XMLStreamException(tce);
-        } catch (TransformerException te) {
-            throw new XMLStreamException(te);
-        } finally {
-            styleReader.close();
-            docReader.close();
-            writer.close();
-        }
-
-        try {
-            result.setSystemId("systemId");
-        } catch (UnsupportedOperationException e) {
-            System.out.println("Expected UnsupportedOperationException in StAXResult.setSystemId()");
-        } catch (Exception e) {
-            Assert.fail("StAXResult.setSystemId() does not throw java.lang.UnsupportedOperationException");
-        }
-
-        if (result.getSystemId() != null) {
-            Assert.fail("StAXResult.getSystemId() does not return null");
-        }
-    }
-
-    @Test
-    public final void testStAXSource2() throws XMLStreamException {
-        XMLInputFactory ifactory = XMLInputFactory.newInstance();
-        ifactory.setProperty("javax.xml.stream.supportDTD", Boolean.TRUE);
-
-        StAXSource ss = new StAXSource(ifactory.createXMLStreamReader(getClass().getResource("5368141.xml").toString(),
-                getClass().getResourceAsStream("5368141.xml")));
-        DOMResult dr = new DOMResult();
-
-        TransformerFactory tfactory = TransformerFactory.newInstance();
-        try {
-            Transformer transformer = tfactory.newTransformer();
-            transformer.transform(ss, dr);
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/TransformerFactoryTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,142 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stax.StAXResult;
-import javax.xml.transform.stax.StAXSource;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.xml.sax.SAXException;
-
-/*
- * @summary Test TransformerFactory.
- */
-public class TransformerFactoryTest {
-
-    private static URIResolver resolver = new URIResolver() {
-
-        private int n = 0;
-
-        public Source resolve(String href, String base) throws TransformerException {
-
-            System.out.println("resolving: " + href);
-
-            if (n++ > 10) {
-                Assert.fail("Nesting too deep when resolving: " + href);
-            }
-
-            return new StreamSource(this.getClass().getResourceAsStream(href));
-        }
-    };
-
-    private static Document load(InputStream in) throws IOException {
-
-        Document document = null;
-
-        try {
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            dbf.setNamespaceAware(true);
-            DocumentBuilder db = dbf.newDocumentBuilder();
-            document = db.parse(in);
-        } catch (ParserConfigurationException parserConfigurationException) {
-            parserConfigurationException.printStackTrace();
-            Assert.fail(parserConfigurationException.toString());
-        } catch (SAXException saxException) {
-            saxException.printStackTrace();
-            Assert.fail(saxException.toString());
-        }
-
-        return document;
-    }
-
-    /**
-     * <p>
-     * Test stylesheets that import other stylesheets.
-     * </p>
-     *
-     * <p>
-     * Inspired by: CR 6236727-2125981 XSLTC never stops resolving imported
-     * stylesheets when outer stylesheet is a DOMSource
-     * </p>
-     */
-    @Test
-    public final void testImport() {
-
-        TransformerFactory tff = TransformerFactory.newInstance();
-        tff.setURIResolver(resolver);
-        Templates tt = null;
-        Transformer tf = null;
-
-        // work-a-round is to use a StreamSource.
-        // test should complete
-        System.out.println("StreamSource: pre-Transformer creation");
-        System.out.flush(); // in case import hangs
-        try {
-            InputStream xin = this.getClass().getResourceAsStream("outer.xsl");
-            tt = tff.newTemplates(new StreamSource(xin));
-            tf = tt.newTransformer();
-        } catch (TransformerConfigurationException ex) {
-            ex.printStackTrace();
-            Assert.fail(ex.toString());
-        }
-        System.out.println("StreamSource: post-Transformer creation");
-
-        // CR is that DOMSource never stops resolving
-        System.out.println("DOMSource: pre-Transformer creation");
-        System.out.flush(); // in case import hangs
-        try {
-            InputStream xin = this.getClass().getResourceAsStream("outer.xsl");
-            tt = tff.newTemplates(new DOMSource(load(xin)));
-            tf = tt.newTransformer();
-        } catch (TransformerConfigurationException ex) {
-            ex.printStackTrace();
-            Assert.fail(ex.toString());
-        } catch (IOException ioException) {
-            ioException.printStackTrace();
-            Assert.fail(ioException.toString());
-        }
-        System.out.println("DOMSource: post-Transformer creation");
-    }
-
-    /**
-     * Refer to 6631168 : StAXSource & StAXResult support in JavaSE6
-     */
-    @Test
-    public final void testFeatures() {
-        TransformerFactory tff = TransformerFactory.newInstance();
-        Assert.assertTrue(tff.getFeature(StAXSource.FEATURE));
-        Assert.assertTrue(tff.getFeature(StAXResult.FEATURE));
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/TransformerTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,269 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import java.io.ByteArrayInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.StringReader;
-import java.io.StringWriter;
-
-import javax.xml.transform.dom.DOMResult;
-import javax.xml.transform.sax.SAXSource;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.AssertJUnit;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import org.xml.sax.ContentHandler;
-import org.xml.sax.DTDHandler;
-import org.xml.sax.EntityResolver;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXNotRecognizedException;
-import org.xml.sax.SAXNotSupportedException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.AttributesImpl;
-
-/*
- * @summary Test Transformer.
- */
-public class TransformerTest {
-
-    private static final String LINE_SEPARATOR = System.getProperty("line.separator");
-
-    private static final String XML_DOCUMENT = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + "<prefix:localName xmlns:prefix=\"namespaceUri\"/>";
-
-    //Test for JDK-6305029
-    @Test
-    public final void testTransform() throws TransformerException {
-
-        // test SAXSource
-        SAXSource saxSource = new SAXSource(new MyXMLReader(), new InputSource());
-
-        StringWriter builder = new StringWriter();
-        TransformerFactory.newInstance().newTransformer().transform(saxSource, new StreamResult(builder));
-
-        AssertJUnit.assertEquals("Identity transform of SAXSource", XML_DOCUMENT, builder.toString());
-
-        // test StreamSource
-        StreamSource streamSource = new StreamSource(new StringReader(XML_DOCUMENT));
-
-        StringWriter streamResult = new StringWriter();
-
-        TransformerFactory.newInstance().newTransformer().transform(streamSource, new StreamResult(streamResult));
-
-        AssertJUnit.assertEquals("Identity transform of StreamSource", XML_DOCUMENT, streamResult.toString());
-    }
-
-    private static class MyXMLReader implements XMLReader {
-
-        private static final String NAMESPACES = "http://xml.org/sax/features/namespaces";
-
-        private static final String NAMESPACE_PREFIXES = "http://xml.org/sax/features/namespace-prefixes";
-
-        private boolean namespaces = true;
-
-        private boolean namespacePrefixes = false;
-
-        private EntityResolver resolver;
-
-        private DTDHandler dtdHandler;
-
-        private ContentHandler contentHandler;
-
-        private ErrorHandler errorHandler;
-
-        public boolean getFeature(final String name) throws SAXNotRecognizedException, SAXNotSupportedException {
-
-            if (name.equals(NAMESPACES)) {
-                return namespaces;
-            } else if (name.equals(NAMESPACE_PREFIXES)) {
-                return namespacePrefixes;
-            } else {
-                throw new SAXNotRecognizedException();
-            }
-        }
-
-        public void setFeature(final String name, final boolean value) throws SAXNotRecognizedException, SAXNotSupportedException {
-
-            if (name.equals(NAMESPACES)) {
-                namespaces = value;
-            } else if (name.equals(NAMESPACE_PREFIXES)) {
-                namespacePrefixes = value;
-            } else {
-                throw new SAXNotRecognizedException();
-            }
-        }
-
-        public Object getProperty(final String name) throws SAXNotRecognizedException, SAXNotSupportedException {
-            return null;
-        }
-
-        public void setProperty(final String name, final Object value) throws SAXNotRecognizedException, SAXNotSupportedException {
-        }
-
-        public void setEntityResolver(final EntityResolver theResolver) {
-            this.resolver = theResolver;
-        }
-
-        public EntityResolver getEntityResolver() {
-            return resolver;
-        }
-
-        public void setDTDHandler(final DTDHandler theHandler) {
-            dtdHandler = theHandler;
-        }
-
-        public DTDHandler getDTDHandler() {
-            return dtdHandler;
-        }
-
-        public void setContentHandler(final ContentHandler handler) {
-            contentHandler = handler;
-        }
-
-        public ContentHandler getContentHandler() {
-            return contentHandler;
-        }
-
-        public void setErrorHandler(final ErrorHandler handler) {
-            errorHandler = handler;
-        }
-
-        public ErrorHandler getErrorHandler() {
-            return errorHandler;
-        }
-
-        public void parse(final InputSource input) throws IOException, SAXException {
-
-            parse();
-        }
-
-        public void parse(final String systemId) throws IOException, SAXException {
-
-            parse();
-        }
-
-        private void parse() throws SAXException {
-            contentHandler.startDocument();
-            contentHandler.startPrefixMapping("prefix", "namespaceUri");
-
-            AttributesImpl atts = new AttributesImpl();
-            if (namespacePrefixes) {
-                atts.addAttribute("", "xmlns:prefix", "xmlns:prefix", "CDATA", "namespaceUri");
-            }
-
-            contentHandler.startElement("namespaceUri", "localName", namespacePrefixes ? "prefix:localName" : "", atts);
-            contentHandler.endElement("namespaceUri", "localName", namespacePrefixes ? "prefix:localName" : "");
-            contentHandler.endPrefixMapping("prefix");
-            contentHandler.endDocument();
-        }
-    }
-
-    @Test
-    public final void testCR6272879() {
-
-        final String xsl = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>" + LINE_SEPARATOR
-                + "<xsl:stylesheet version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\">" + LINE_SEPARATOR
-                + "<xsl:output method=\"xml\" indent=\"no\" encoding=\"ISO-8859-1\"/>" + LINE_SEPARATOR + "<xsl:template match=\"/\">" + LINE_SEPARATOR
-                + "<xsl:element name=\"TransformateurXML\">" + LINE_SEPARATOR + "  <xsl:for-each select=\"XMLUtils/test\">" + LINE_SEPARATOR
-                + "  <xsl:element name=\"test2\">" + LINE_SEPARATOR + "    <xsl:element name=\"valeur2\">" + LINE_SEPARATOR
-                + "      <xsl:attribute name=\"attribut2\">" + LINE_SEPARATOR + "        <xsl:value-of select=\"valeur/@attribut\"/>" + LINE_SEPARATOR
-                + "      </xsl:attribute>" + LINE_SEPARATOR + "      <xsl:value-of select=\"valeur\"/>" + LINE_SEPARATOR + "    </xsl:element>"
-                + LINE_SEPARATOR + "  </xsl:element>" + LINE_SEPARATOR + "  </xsl:for-each>" + LINE_SEPARATOR + "</xsl:element>" + LINE_SEPARATOR
-                + "</xsl:template>" + LINE_SEPARATOR + "</xsl:stylesheet>";
-
-        final String sourceXml = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>"
-                + LINE_SEPARATOR
-                // "<!DOCTYPE XMLUtils [" + LINE_SEPARATOR +
-                // "<!ELEMENT XMLUtils (test*)>" + LINE_SEPARATOR +
-                // "<!ELEMENT test (valeur*)>" + LINE_SEPARATOR +
-                // "<!ELEMENT valeur (#PCDATA)>" + LINE_SEPARATOR +
-                // "<!ATTLIST valeur attribut CDATA #REQUIRED>]>" +
-                // LINE_SEPARATOR +
-                + "<XMLUtils>" + LINE_SEPARATOR + "  <test>" + LINE_SEPARATOR + "    <valeur attribut=\"Attribut 1\">Valeur 1</valeur>" + LINE_SEPARATOR
-                + "  </test>" + LINE_SEPARATOR + "  <test>" + LINE_SEPARATOR + "    <valeur attribut=\"Attribut 2\">Valeur 2</valeur>" + LINE_SEPARATOR
-                + "  </test>" + LINE_SEPARATOR + "</XMLUtils>";
-
-        Document document;
-        Node node;
-
-        System.out.println("Stylesheet:");
-        System.out.println("==================================");
-        System.out.println(xsl);
-        System.out.println();
-
-        System.out.println("Source file before transformation:");
-        System.out.println("==================================");
-        System.out.println(sourceXml);
-        System.out.println();
-
-        System.out.println("Source file after transformation:");
-        System.out.println("=================================");
-        document = getTransformation(xsl, sourceXml);
-
-        System.out.println(document);
-
-        System.out.println("Node content for element valeur2:");
-        System.out.println("=================================");
-        NodeList nodes = document.getElementsByTagName("valeur2");
-        nodes = document.getElementsByTagName("valeur2");
-        for (int i = 0; i < nodes.getLength(); i++) {
-            node = nodes.item(i);
-            System.out.println("  Node value: " + node.getFirstChild().getNodeValue());
-            System.out.println("  Node attribute: " + node.getAttributes().item(0).getNodeValue());
-
-            AssertJUnit.assertEquals("Node value mismatch", "Valeur " + (i + 1), node.getFirstChild().getNodeValue());
-            AssertJUnit.assertEquals("Node attribute mismatch", "Attribut " + (i + 1), node.getAttributes().item(0).getNodeValue());
-        }
-    }
-
-    private static Document getTransformation(final String xsl, final String sourceXml) {
-
-        Transformer transformer;
-        DOMResult reponse;
-        Document document = null;
-
-        try {
-            InputStream in = new ByteArrayInputStream(xsl.getBytes());
-            transformer = TransformerFactory.newInstance().newTransformer(new StreamSource(in));
-
-            reponse = new DOMResult();
-            transformer.transform(new StreamSource(new ByteArrayInputStream(sourceXml.getBytes())), reponse);
-            document = (Document) reponse.getNode();
-        } catch (Exception e) {
-            String msg = "Exception in getTransformation: " + e;
-            System.err.println(msg);
-            Assert.fail(msg);
-        }
-
-        return (document);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/TransformerUtilFactory.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import javax.xml.transform.util.DOMUtil;
-import javax.xml.transform.util.SAXUtil;
-import javax.xml.transform.util.StAXUtil;
-import javax.xml.transform.util.StreamUtil;
-import javax.xml.transform.util.TransformerUtil;
-
-public class TransformerUtilFactory {
-
-    public final static String DOM = "dom";
-
-    public final static String SAX = "sax";
-
-    public final static String StAX = "stax";
-
-    public final static String STREAM = "stream";
-
-    /** Creates a new instance of TransformerUtilFactory */
-    private TransformerUtilFactory() {
-    }
-
-    public static TransformerUtil getUtil(String type) throws Exception {
-        if (type.equals(DOM)) {
-            return DOMUtil.getInstance();
-        } else if (type.equals(STREAM))
-            return StreamUtil.getInstance();
-        else if (type.equals(SAX))
-            return SAXUtil.getInstance();
-        else if (type.equals(StAX))
-            return StAXUtil.getInstance();
-        else
-            return null;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/VersionDefaultHandler.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import org.xml.sax.Attributes;
-import org.xml.sax.Locator;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.helpers.DefaultHandler;
-
-public class VersionDefaultHandler extends DefaultHandler {
-
-    private String version = null;
-
-    private String encoding = null;
-
-    /** Creates a new instance of VersionDefaultHandler */
-    public VersionDefaultHandler() {
-    }
-
-    Locator saxLocator = null;
-
-    public void setDocumentLocator(Locator locator) {
-        saxLocator = locator;
-    }
-
-    public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
-        version = ((org.xml.sax.ext.Locator2) saxLocator).getXMLVersion();
-        encoding = ((org.xml.sax.ext.Locator2) saxLocator).getEncoding();
-    }
-
-    public void error(SAXParseException e) throws SAXException {
-        e.printStackTrace();
-    }
-
-    public String getVersion() {
-        return version;
-    }
-
-    public String getEncoding() {
-        return encoding;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/VersionEventWriter.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLEventWriter;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.events.StartDocument;
-import javax.xml.stream.events.XMLEvent;
-
-public class VersionEventWriter implements XMLEventWriter {
-
-    private String version = null;
-
-    private String encoding = null;
-
-    /** Creates a new instance of VersionEventWriter */
-    public VersionEventWriter() {
-    }
-
-    public void add(XMLEvent event) throws XMLStreamException {
-        if (event.getEventType() == XMLStreamConstants.START_DOCUMENT) {
-            version = ((StartDocument) event).getVersion();
-            encoding = ((StartDocument) event).getCharacterEncodingScheme();
-        }
-    }
-
-    public void flush() throws XMLStreamException {
-    }
-
-    public void close() throws XMLStreamException {
-    }
-
-    public void add(XMLEventReader reader) throws XMLStreamException {
-    }
-
-    public java.lang.String getPrefix(java.lang.String uri) throws XMLStreamException {
-        return null;
-    }
-
-    public void setPrefix(java.lang.String prefix, java.lang.String uri) throws XMLStreamException {
-    }
-
-    public void setDefaultNamespace(java.lang.String uri) throws XMLStreamException {
-    }
-
-    public void setNamespaceContext(NamespaceContext context) throws XMLStreamException {
-    }
-
-    public NamespaceContext getNamespaceContext() {
-        return null;
-    }
-
-    public String getVersion() {
-        return version;
-    }
-
-    public String getEncoding() {
-        return encoding;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/ViewEditor1.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet version="2.0" xmlns:Iteration="http://www.iterationsoftware.com"
-  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xalan="http://xml.apache.org/xalan"
-  xmlns:HTML="http://www.w3.org/Profiles/XHTML-transitional" xmlns:v="urn:schemas-microsoft-com:vml"
-  xmlns:local="#local-functions">
-
-  <xsl:output method="xml" encoding="UTF-8" cdata-section-elements="CalcExpression Value"/>
-
-  <xsl:variable name="TabRowHeight">21</xsl:variable>
-
-  <xsl:variable name="DataEditor">
-    <xsl:call-template name="DataEditor"/>
-  </xsl:variable>
-
-  <xsl:variable name="view_type">
-    <xsl:value-of select="//ViewEditor/@ViewType"/>
-  </xsl:variable>
-
-  <xsl:variable name="InitialTabEvent">
-    <xsl:value-of select="//ViewEditor/@Page"/>
-  </xsl:variable>
-
-  <xsl:template match="Iteration">
-    <id>
-      <xsl:value-of
-        select="xalan:nodeset($DataEditor)/DataEditor/View[ContentType=$view_type]/Page[Event=$InitialTabEvent]/@id"/>
-    </id>
-  </xsl:template>
-
-  <xsl:template name="DataEditor">
-    <DataEditor>
-      <View>
-        <ContentType>PieChart</ContentType>
-        <ContentType>ThreeDPieChart</ContentType>
-        <Page id="DATA_OBJECTS">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/>
-          </xsl:attribute>
-          <Event>datasets</Event>
-        </Page>
-        <Page id="VIEWEDITOR_TAB_FIELDS">
-          <xsl:attribute name="label">
-            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/>
-          </xsl:attribute>
-          <Event>chartFields</Event>
-        </Page>
-      </View>
-    </DataEditor>
-  </xsl:template>
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/XSLTFunctionsTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,122 +0,0 @@
-/*
- * Copyright (c) 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 javax.xml.transform;
-
-import java.io.StringReader;
-import java.io.StringWriter;
-
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.annotations.DataProvider;
-import org.testng.annotations.Test;
-import static org.testng.Assert.assertEquals;
-
-/*
- * @summary This class contains tests for XSLT functions.
- */
-
-public class XSLTFunctionsTest {
-
-    /**
-     * @bug 8062518
-     * Verifies that a reference to the DTM created by XSLT document function is
-     * actually read from the DTM by an extension function.
-     * @param xml Content of xml file to process
-     * @param xsl stylesheet content that loads external document {@code externalDoc}
-     *        with XSLT 'document' function and then reads it with
-     *        DocumentExtFunc.test() function
-     * @param externalDoc Content of the external xml document
-     * @param expectedResult Expected transformation result
-     **/
-    @Test(dataProvider = "document")
-    public void testDocument(final String xml, final String xsl,
-                             final String externalDoc, final String expectedResult) throws Exception {
-        // Prepare sources for transormation
-        Source src = new StreamSource(new StringReader(xml));
-        Source xslsrc = new StreamSource(new StringReader(xsl));
-
-        // Create factory and transformer
-        TransformerFactory tf = TransformerFactory.newInstance();
-        Transformer t = tf.newTransformer( xslsrc );
-        t.setErrorListener(tf.getErrorListener());
-
-        // Set URI Resolver to return the newly constructed xml
-        // stream source object from xml test string
-        t.setURIResolver(new URIResolver() {
-            @Override
-            public Source resolve(String href, String base)
-                    throws TransformerException {
-                if (href.contains("externalDoc")) {
-                    return new StreamSource(new StringReader(externalDoc));
-                } else {
-                    return new StreamSource(new StringReader(xml));
-                }
-            }
-        });
-
-        // Prepare output stream
-        StringWriter xmlResultString = new StringWriter();
-        StreamResult xmlResultStream = new StreamResult(xmlResultString);
-
-        //Transform the xml
-        t.transform(src, xmlResultStream);
-
-        // If the document can't be accessed and the bug is in place then
-        // reported exception will be thrown during transformation
-        System.out.println("Transformation result:"+xmlResultString.toString().trim());
-
-        // Check the result - it should contain two (node name, node values) entries -
-        // one for original document, another for a document created with
-        // call to 'document' function
-        assertEquals(xmlResultString.toString().trim(), expectedResult);
-    }
-
-    @DataProvider(name = "document")
-    public static Object[][] documentTestData() {
-        return new Object[][] {
-            {documentTestXml, documentTestXsl, documentTestExternalDoc, documentTesteExpectedResult},
-        };
-    }
-
-    static final String documentTestXml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Test>Doc</Test>";
-
-    static final String documentTestExternalDoc = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Test>External Doc</Test>";
-
-    static final String documentTestXsl = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
-            + "<xsl:transform version=\"1.0\""
-            + " xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" "
-            + " xmlns:cfunc=\"http://xml.apache.org/xalan/java/\">"
-            + "<xsl:template match=\"/\">"
-            + "<xsl:element name=\"root\">"
-            + "<xsl:variable name=\"other_doc\" select=\"document(&#39;externalDoc&#39;)\"/>"
-            + "<!-- Source -->"
-            + "<xsl:value-of select=\"cfunc:javax.xml.transform.DocumentExtFunc.test(/Test)\"/>"
-            + "<!-- document() -->"
-            + "<xsl:value-of select=\"cfunc:javax.xml.transform.DocumentExtFunc.test($other_doc/Test)\"/>"
-            + "</xsl:element></xsl:template></xsl:transform>";
-
-    static final String documentTesteExpectedResult = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
-                                                    + "<root>[Test:Doc][Test:External Doc]</root>";
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/attribset27.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<doc>
-  <foo>a</foo>
-</doc>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/attribset27.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-  <!-- FileName: attribset27 -->
-  <!-- Document: http://www.w3.org/TR/xslt -->
-  <!-- DocVersion: 19991116 -->
-  <!-- Section: 7.1.4 Named Attribute Sets -->
-  <!-- Purpose: Use xsl:copy with multiple attribute sets with conflicting set name,
-    then reset one attribute with xsl:attribute. -->
-  <!-- Author: Carmelo Montanez --><!-- ResultTree004 in NIST suite -->
-
-<xsl:template match="/">
-  <out>
-    <xsl:copy use-attribute-sets="set1">
-      <xsl:attribute name="text-decoration">none</xsl:attribute>
-    </xsl:copy>
-  </out>
-</xsl:template>
-
-<xsl:attribute-set name="set1">
-  <xsl:attribute name="text-decoration">underline</xsl:attribute>
-</xsl:attribute-set>
-
-<xsl:attribute-set name="set1">
-  <xsl:attribute name="color">black</xsl:attribute>
-</xsl:attribute-set>
-
-<xsl:attribute-set name="set1">
-  <xsl:attribute name="font-size">14pt</xsl:attribute>
-</xsl:attribute-set>
-
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/catalog.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.1" encoding="UTF-8"?>
-<stardb xmlns="http://www.astro.com/astro" xmlns:astro="http://www.astro.com/astro" xsi:schemaLocation="http://www.astro.com/astro catalog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><_test01></_test01><test-02 xmlns:xsi=""></test-02><test.03></test.03><_test-04>T%e!s#t$</_test-04><star><hr>1</hr><constellation/><fullname/><ra><h>00</h><m>05</m><s>09.9</s><dv>0.08608333333333333</dv></ra><dec><sgn/><d>45</d><m>13</m><s>45</s><dv>45.22916666666667</dv></dec><glng>114.44</glng><glat>-16.88</glat><vmag>6.70</vmag><spec>A1Vn</spec></star><star><hr>2</hr><constellation/><fullname/><ra><h>00</h><m>05</m><s>03.8</s><dv>0.08438888888888889</dv></ra><dec><sgn>-</sgn><d>00</d><m>30</m><s>11</s><dv>-0.5030555555555556</dv></dec><glng>98.33</glng><glat>-61.14</glat><vmag>6.29</vmag><spec>gG9</spec></star><star><hr>3</hr><constellation>Psc</constellation><fullname>33    Psc</fullname><ra><h>00</h><m>05</m><s>20.1</s><dv>0.08891666666666666</dv></ra><dec><sgn>-</sgn><d>05</d><m>42</m><s>27</s><dv>-5.7075000000000005</dv></dec><glng>93.75</glng><glat>-65.93</glat><vmag>4.61</vmag><spec>K0IIIbCN-0.5</spec></star><star><hr>4</hr><constellation>Peg</constellation><fullname>86    Peg</fullname><ra><h>00</h><m>05</m><s>42.0</s><dv>0.095</dv></ra><dec><sgn/><d>13</d><m>23</m><s>46</s><dv>13.39611111111111</dv></dec><glng>106.19</glng><glat>-47.98</glat><vmag>5.51</vmag><spec>G5III</spec></star><star><hr>5</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>16.0</s><dv>0.10444444444444445</dv></ra><dec><sgn/><d>58</d><m>26</m><s>12</s><dv>58.43666666666666</dv></dec><glng>117.03</glng><glat>-03.92</glat><vmag>5.96</vmag><spec>G5V</spec></star><star><hr>6</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>19.0</s><dv>0.10527777777777779</dv></ra><dec><sgn>-</sgn><d>49</d><m>04</m><s>30</s><dv>-49.075</dv></dec><glng>321.61</glng><glat>-66.38</glat><vmag>5.70</vmag><spec>G1IV</spec></star><star><hr>7</hr><constellation>Cas</constellation><fullname>10    Cas</fullname><ra><h>00</h><m>06</m><s>26.5</s><dv>0.10736111111111112</dv></ra><dec><sgn/><d>64</d><m>11</m><s>46</s><dv>64.19611111111111</dv></dec><glng>118.06</glng><glat>1.75</glat><vmag>5.59</vmag><spec>B9III</spec></star><star><hr>8</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>36.8</s><dv>0.11022222222222222</dv></ra><dec><sgn/><d>29</d><m>01</m><s>17</s><dv>29.02138888888889</dv></dec><glng>111.26</glng><glat>-32.83</glat><vmag>6.13</vmag><spec>K0V</spec></star><star><hr>9</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>50.1</s><dv>0.11391666666666667</dv></ra><dec><sgn>-</sgn><d>23</d><m>06</m><s>27</s><dv>-23.1075</dv></dec><glng>52.21</glng><glat>-79.14</glat><vmag>6.18</vmag><spec>A7V</spec></star><star><hr>10</hr><constellation/><fullname/><ra><h>00</h><m>07</m><s>18.2</s><dv>0.12172222222222222</dv></ra><dec><sgn>-</sgn><d>17</d><m>23</m><s>11</s><dv>-17.386388888888888</dv></dec><glng>74.36</glng><glat>-75.90</glat><vmag>6.19</vmag><spec>A6Vn</spec></star></stardb>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/catalog.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,122 +0,0 @@
-<xs:schema 
-    xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    targetNamespace="http://www.astro.com/astro" 
-    xmlns:astro="http://www.astro.com/astro"
-    elementFormDefault="qualified"
-    attributeFormDefault="qualified"
->
-    <!-- Star Identification String Type  -->
-    <xs:simpleType name="staridType">
-	<xs:restriction base="xs:string">
-	    <xs:maxLength value="4"/>
-	</xs:restriction>
-    </xs:simpleType>
-
-    <!-- Hour Type -->
-    <xs:simpleType name="hourType">
-	<xs:restriction base="xs:decimal">
-	    <xs:minInclusive value="0.0"/>
-	    <xs:maxInclusive value="24.0"/>
-	</xs:restriction>
-    </xs:simpleType>
-
-    <!-- Minute Type -->
-    <xs:simpleType name="minuteType">
-	<xs:restriction base="xs:decimal">
-	    <xs:minInclusive value="0.0"/>
-	    <xs:maxInclusive value="60.0"/>
-	</xs:restriction>
-    </xs:simpleType>
-
-    <!-- Second Type -->
-    <xs:simpleType name="secondType">
-	<xs:restriction base="xs:decimal">
-	    <xs:minInclusive value="0.0"/>
-	    <xs:maxInclusive value="60.0"/>
-	</xs:restriction>
-    </xs:simpleType>
-
-    <xs:simpleType name="decimalValueType">
-	<xs:restriction base="xs:decimal">
-	</xs:restriction>
-    </xs:simpleType> 
-
-    <xs:simpleType name="degType">
-	<xs:restriction base="xs:decimal">
-	    <xs:minInclusive value="-90.0"/>
-	    <xs:maxInclusive value="90.0"/>
-	</xs:restriction>
-    </xs:simpleType> 
-
-    <xs:simpleType name="vmagType">
-	<xs:restriction base="xs:decimal">
-	    <xs:minInclusive value="-3.0"/>
-	    <xs:maxInclusive value="12.0"/>
-	</xs:restriction>
-    </xs:simpleType> 
-
-
-    <xs:simpleType name="signType">
-	<xs:restriction base="xs:string">
-	    <xs:enumeration value="+"/>
-	    <xs:enumeration value="-"/>
-	    <xs:enumeration value=""/>
-	</xs:restriction>
-    </xs:simpleType> 
-
-    <xs:complexType name="raType">
-	<xs:sequence>
-	    <xs:element name="h"  type="astro:hourType"/>
-	    <xs:element name="m"  type="astro:minuteType"/>
-	    <xs:element name="s"  type="astro:secondType"/>
-	    <xs:element name="dv" type="astro:decimalValueType"/>
-	</xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="decType">
-	<xs:sequence>
-	    <xs:element name="sgn" type="astro:signType"/>
-	    <xs:element name="d"   type="astro:degType"/>
-	    <xs:element name="m"   type="astro:minuteType"/>
-	    <xs:element name="s"   type="astro:secondType"/>
-	    <xs:element name="dv"  type="astro:decimalValueType"/>
-	</xs:sequence>
-    </xs:complexType>
-
-
-    <xs:complexType name="starType">
-	<xs:sequence>
-	    <xs:element name="hr"            type="astro:staridType"/>
-	    <xs:element name="constellation" type="xs:string"/>
-	    <xs:element name="fullname"      type="xs:string"/>
-	    <xs:element name="ra"            type="astro:raType"/>
-	    <xs:element name="dec"           type="astro:decType"/>
-	    <xs:element name="glng"          type="xs:decimal"/>
-	    <xs:element name="glat"          type="xs:decimal"/>
-	    <xs:element name="vmag"          type="astro:vmagType"/>
-	    <xs:element name="spec"          type="xs:string"/>
-	</xs:sequence>
-    </xs:complexType>
-
-
-    <!-- The real part of the catalog starts here -->
-    <xs:element name="stardb">
-       <xs:complexType>
-          <xs:sequence>
-
-	     <!-- for testing purposes -->
-	     <xs:element name="_test01" type="xs:string"
-		minOccurs="0" maxOccurs="1"/>
-	     <xs:element name="test-02" type="xs:string"/>
-	     <xs:element name="test.03" type="xs:string"/>
-	     <xs:element name="_test-04" type="xs:string"/>
-
-	     <!-- astro data elements -->
-             <xs:element name="star" type="astro:starType"
-	        minOccurs="0" maxOccurs="unbounded"/>
-          </xs:sequence>
-       </xs:complexType>
-    </xs:element>
-    <!-- The real part of the catalog ends here -->
-
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/catalog_10.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<stardb xmlns="http://www.astro.com/astro" xmlns:astro="http://www.astro.com/astro" xsi:schemaLocation="http://www.astro.com/astro catalog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><_test01></_test01><test-02></test-02><test.03></test.03><_test-04>T%e!s#t$</_test-04><star><hr>1</hr><constellation/><fullname/><ra><h>00</h><m>05</m><s>09.9</s><dv>0.08608333333333333</dv></ra><dec><sgn/><d>45</d><m>13</m><s>45</s><dv>45.22916666666667</dv></dec><glng>114.44</glng><glat>-16.88</glat><vmag>6.70</vmag><spec>A1Vn</spec></star><star><hr>2</hr><constellation/><fullname/><ra><h>00</h><m>05</m><s>03.8</s><dv>0.08438888888888889</dv></ra><dec><sgn>-</sgn><d>00</d><m>30</m><s>11</s><dv>-0.5030555555555556</dv></dec><glng>98.33</glng><glat>-61.14</glat><vmag>6.29</vmag><spec>gG9</spec></star><star><hr>3</hr><constellation>Psc</constellation><fullname>33    Psc</fullname><ra><h>00</h><m>05</m><s>20.1</s><dv>0.08891666666666666</dv></ra><dec><sgn>-</sgn><d>05</d><m>42</m><s>27</s><dv>-5.7075000000000005</dv></dec><glng>93.75</glng><glat>-65.93</glat><vmag>4.61</vmag><spec>K0IIIbCN-0.5</spec></star><star><hr>4</hr><constellation>Peg</constellation><fullname>86    Peg</fullname><ra><h>00</h><m>05</m><s>42.0</s><dv>0.095</dv></ra><dec><sgn/><d>13</d><m>23</m><s>46</s><dv>13.39611111111111</dv></dec><glng>106.19</glng><glat>-47.98</glat><vmag>5.51</vmag><spec>G5III</spec></star><star><hr>5</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>16.0</s><dv>0.10444444444444445</dv></ra><dec><sgn/><d>58</d><m>26</m><s>12</s><dv>58.43666666666666</dv></dec><glng>117.03</glng><glat>-03.92</glat><vmag>5.96</vmag><spec>G5V</spec></star><star><hr>6</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>19.0</s><dv>0.10527777777777779</dv></ra><dec><sgn>-</sgn><d>49</d><m>04</m><s>30</s><dv>-49.075</dv></dec><glng>321.61</glng><glat>-66.38</glat><vmag>5.70</vmag><spec>G1IV</spec></star><star><hr>7</hr><constellation>Cas</constellation><fullname>10    Cas</fullname><ra><h>00</h><m>06</m><s>26.5</s><dv>0.10736111111111112</dv></ra><dec><sgn/><d>64</d><m>11</m><s>46</s><dv>64.19611111111111</dv></dec><glng>118.06</glng><glat>1.75</glat><vmag>5.59</vmag><spec>B9III</spec></star><star><hr>8</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>36.8</s><dv>0.11022222222222222</dv></ra><dec><sgn/><d>29</d><m>01</m><s>17</s><dv>29.02138888888889</dv></dec><glng>111.26</glng><glat>-32.83</glat><vmag>6.13</vmag><spec>K0V</spec></star><star><hr>9</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>50.1</s><dv>0.11391666666666667</dv></ra><dec><sgn>-</sgn><d>23</d><m>06</m><s>27</s><dv>-23.1075</dv></dec><glng>52.21</glng><glat>-79.14</glat><vmag>6.18</vmag><spec>A7V</spec></star><star><hr>10</hr><constellation/><fullname/><ra><h>00</h><m>07</m><s>18.2</s><dv>0.12172222222222222</dv></ra><dec><sgn>-</sgn><d>17</d><m>23</m><s>11</s><dv>-17.386388888888888</dv></dec><glng>74.36</glng><glat>-75.90</glat><vmag>6.19</vmag><spec>A6Vn</spec></star></stardb>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/config.dtd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<!ELEMENT config (subConfig)*>
-<!ATTLIST config type CDATA #REQUIRED>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/config.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE configDescription SYSTEM "config.dtd">
-<config type="key1">
-</config>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/default-layout.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,280 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
-	xmlns:m="http://msqr.us/xsd/matte"
-	xmlns:x="http://msqr.us/xsd/jaxb-web"
-	exclude-result-prefixes="m x">
-
-	<xsl:import href="global.xsl"/>
-	
-	<xsl:output method="xml" omit-xml-declaration="no" 
-		doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" 
-		doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
-		media-type="text/xml"/>
-    
-	<!-- 
-		Layout Stylesheet
-		
-		This stylesheet is not designed to be used directly, rather it should be 
-		imported or included into another stylesheet. That stylesheet must define
-		the following variables:
-		
-		layout.global.nav.page: the current global nav page
-		
-		The layout of this template is as roughly as follows:
-		
-		+============================================================+
-		| PAGE-HEAD-CONTENT, PAGE-BODY-CLASS                         |
-		+============================================================+
-		| PAGE-TITLE                                 PAGE-GLOBAL-NAV |
-		| - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  |
-		| PAGE-SUB-NAV-DATA                             PAGE-SUB-NAV |
-		| - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  |
-		| PAGE-BODY                                                  |
-		|                                                            |
-		| PAGE-FOOTER                                                |
-		+============================================================+
-		
-		Thus implementing stylesheets should define templates that match 
-		the x:x-data element for the mode of the elements outlined 
-		above (the modes should be lower-case). This stylesheet does 
-		provide defaults for some of these elements, so to override 
-		those defaults you must import this stylesheet rather than 
-		include it.
-	-->
-	<xsl:template match="x:x-data">
-		<xsl:variable name="layout.page.title">
-			<xsl:apply-templates select="." mode="page-title"/>
-		</xsl:variable>
-		<xsl:variable name="layout.body.class">
-			<xsl:apply-templates select="." mode="page-body-class"/>
-		</xsl:variable>
-		<!--html xmlns="http://www.w3.org/1999/xhtml"-->
-		<html>
-			<head>
-				<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-				<title><xsl:value-of select="$layout.page.title"/></title>
-				<link rel="stylesheet" type="text/css" href="{$web-context}/css/matte-global.css" media="screen,print"/>
-				<script type="text/javascript" src="{$web-context}/js/sniff.js"><xsl:text> </xsl:text></script>
-				<script type="text/javascript" src="{$web-context}/js/prototype.js"><xsl:text> </xsl:text></script>
-				<script type="text/javascript" src="{$web-context}/js/behaviour.js"><xsl:text> </xsl:text></script>
-				<script type="text/javascript" src="{$web-context}/js/scriptaculous.js"><xsl:text> </xsl:text></script>
-				<script type="text/javascript" src="{$web-context}/js/xslt/misc.js"><xsl:text> </xsl:text></script>
-				<script type="text/javascript" src="{$web-context}/js/xslt/dom.js"><xsl:text> </xsl:text></script>
-				<script type="text/javascript" src="{$web-context}/js/xslt/xpath.js"><xsl:text> </xsl:text></script>
-				<script type="text/javascript" src="{$web-context}/js/xpath.js"><xsl:text> </xsl:text></script>
-				<script id="matte-classes-js" type="text/javascript" src="{$web-context}/js/matte-classes.js?context={$web-context}"><xsl:text> </xsl:text></script>
-				<script type="text/javascript" src="{$web-context}/js/matte-global.js"><xsl:text> </xsl:text></script>
-				<script id="locale-js" type="text/javascript" src="{$web-context}/js/matte-locale.js?lang={$ctx/x:user-locale}"><xsl:text> </xsl:text></script>
-				<xsl:apply-templates select="." mode="page-head-content"/>
-			</head>
-			<body>
-				<xsl:if test="string($layout.body.class)">
-					<xsl:attribute name="class">
-						<xsl:value-of select="$layout.body.class"/>
-					</xsl:attribute>
-				</xsl:if>
-				
-				<h1><xsl:value-of select="$layout.page.title"/></h1>
-                
-				<xsl:apply-templates select="." mode="page-main-nav"/>
-				
-				<!-- Only output the sub-nav <div> if some content is generated for it -->
-				<xsl:variable name="layout.page.sub.nav">
-					<xsl:apply-templates select="." mode="page-sub-nav"/>
-				</xsl:variable>
-				<xsl:if test="string($layout.page.sub.nav)">
-					<div id="sub-nav">
-						<xsl:copy-of select="$layout.page.sub.nav"/>
-					</div>
-				</xsl:if>
-				
-				<!-- Only output the sub-nav-data <div> if some content is generated for it -->
-				<xsl:variable name="layout.page.sub.nav.data">
-					<xsl:apply-templates select="." mode="page-sub-nav-data"/>
-				</xsl:variable>
-				<xsl:if test="string($layout.page.sub.nav.data)">
-					<div id="sub-nav-data">
-						<xsl:copy-of select="$layout.page.sub.nav.data"/>
-					</div>
-				</xsl:if>
-				
-				<xsl:call-template name="error-intro">
-					<xsl:with-param name="errors-node" select="x:x-errors"/>
-				</xsl:call-template>
-
-                <xsl:apply-templates select="." mode="page-body"/>
-                
-			</body>
-		</html>
-	</xsl:template>
-
-	<!-- 
-		PAGE-TITLE
-		
-		Render the browser page title as well as the main heading. This should 
-		return a simple string, without any markup.
-	-->
-	<xsl:template match="x:x-data" mode="page-title">
-		<xsl:value-of select="key('i18n','title')"/>
-	</xsl:template>
-	
-	<!--
-		PAGE-MAIN-NAV
-		
-		Default implementation: calls "global-nav" template with $page = 'home'.
-	-->
-	<xsl:template match="x:x-data" mode="page-main-nav">
-		<xsl:call-template name="main-nav">
-			<xsl:with-param name="page" select="'home'"/>
-		</xsl:call-template>
-	</xsl:template>
-	
-	<!--
-		MAIN-NAV
-		
-		Global vars:
-		acting-user: the logged in user, if logged in
-		web-context: the web context
-	-->
-	<xsl:template name="main-nav">
-		<xsl:param name="page"/>
-		<div id="main-nav">
-			<xsl:if test="$acting-user">
-				<xsl:choose>
-					<xsl:when test="$page = 'home'">
-						<xsl:value-of select="key('i18n','link.home')"/>
-					</xsl:when>
-					<xsl:otherwise>
-						<a href="{$web-context}/home.do" title="{key('i18n','link.home.title')}"
-							alt="{key('i18n','link.home.title')}">
-							<xsl:value-of select="key('i18n','link.home')"/>
-						</a>
-					</xsl:otherwise>
-				</xsl:choose>
-				<xsl:text> - </xsl:text>
-				<xsl:choose>
-					<xsl:when test="$page = 'upload'">
-						<xsl:value-of select="key('i18n','link.upload')"/>
-					</xsl:when>
-					<xsl:otherwise>
-						<a href="{$web-context}/add.do" title="{key('i18n','link.upload.title')}"
-							alt="{key('i18n','link.upload')}">
-							<xsl:attribute name="href">
-								<xsl:value-of select="$web-context"/>
-								<xsl:text>/add.do</xsl:text>
-								<xsl:if test="/x:x-data/x:x-request/x:param[@key='collectionId']">
-									<xsl:text>?collectionId=</xsl:text>
-									<xsl:value-of select="/x:x-data/x:x-request/x:param[@key='collectionId']"/>
-								</xsl:if>
-							</xsl:attribute>
-							<xsl:value-of select="key('i18n','link.upload')"/>
-						</a>
-					</xsl:otherwise>
-				</xsl:choose>
-				<!--xsl:text> - </xsl:text>
-				<xsl:choose>
-					<xsl:when test="$page = 'search'">
-						<xsl:value-of select="key('i18n','link.search')"/>
-					</xsl:when>
-					<xsl:otherwise>
-						<a href="{$web-context}/search.do" title="{key('i18n','link.search.title')}"
-							alt="{key('i18n','link.search.title')}">
-							<xsl:value-of select="key('i18n','link.search')"/>
-						</a>
-					</xsl:otherwise>
-				</xsl:choose>
-				<xsl:text> - </xsl:text>
-				<xsl:choose>
-					<xsl:when test="$page = 'settings'">
-						<xsl:value-of select="key('i18n','link.settings')"/>
-					</xsl:when>
-					<xsl:otherwise>
-						<a href="{$web-context}/settings.do" title="{key('i18n','link.settings.title')}"
-							alt="{key('i18n','link.settings.title')}">
-							<xsl:value-of select="key('i18n','link.settings')"/>
-						</a>
-					</xsl:otherwise>
-				</xsl:choose>
-				<xsl:text> - </xsl:text>
-				<xsl:choose>
-					<xsl:when test="$page = 'themes'">
-						<xsl:value-of select="key('i18n','link.themes')"/>
-					</xsl:when>
-					<xsl:otherwise>
-						<a href="{$web-context}/themes.do" title="{key('i18n','link.themes.title')}"
-							alt="{key('i18n','link.themes.title')}">
-							<xsl:value-of select="key('i18n','link.themes')"/>
-						</a>
-					</xsl:otherwise>
-				</xsl:choose-->
-			</xsl:if>
-			<xsl:if test="$acting-user">
-				<xsl:text> - </xsl:text>
-			</xsl:if>
-			<xsl:choose>
-				<xsl:when test="$acting-user">
-					<xsl:if test="$acting-user/../@admin = 'true'">
-						<xsl:choose>
-							<xsl:when test="$page = 'admin'">
-								<xsl:value-of select="key('i18n','link.admin')"/>
-							</xsl:when>
-							<xsl:otherwise>
-								<a href="{$web-context}/admin.do" title="{key('i18n','link.admin.title')}">
-									<xsl:value-of select="key('i18n','link.admin')"/>
-								</a>
-							</xsl:otherwise>
-						</xsl:choose>
-						<xsl:text> - </xsl:text>
-					</xsl:if>
-					<a href="{$web-context}/logoff.do" title="{key('i18n','link.logout.title')}">
-						<xsl:value-of select="key('i18n','link.logout')"/>
-					</a>
-					<xsl:text> (</xsl:text>
-					<xsl:value-of select="$acting-user/@name"/>
-					<xsl:text>)</xsl:text>
-				</xsl:when>
-				<xsl:when test="$page = 'logon'">
-					<xsl:value-of select="key('i18n','link.logon')"/>
-				</xsl:when>
-				<xsl:otherwise>
-					<a href="{$web-context}/logon.do" title="{key('i18n','link.logon.title')}">
-						<xsl:value-of select="key('i18n','link.logon')"/>
-					</a>
-				</xsl:otherwise>
-			</xsl:choose>
-		</div>
-	</xsl:template>
-	
-	<!--
-		PAGE-HEAD-CONTENT (empty implementation)
-		
-		Can be used to insert more links (CSS, JavaScript) into <head> section.
-	-->
-	<xsl:template match="x:x-data" mode="page-head-content"/>
-	
-	<!--
-		PAGE-SUB-NAV (empty implementation)
-	-->
-	<xsl:template match="x:x-data" mode="page-sub-nav"/>
-	
-	<!--
-		PAGE-SUB-NAV-DATA (empty implementation)
-	-->
-	<xsl:template match="x:x-data" mode="page-sub-nav-data"/>
-	
-	<!-- 
-		PAGE-BODY-CLASS
-		
-		Add a "class" attribute to the <body> tag. Default implementation 
-		does not specify any value, so no class attribute added.
-	-->
-	<xsl:template match="x:x-data" mode="page-body-class"/>
-	
-	<!--
-		PAGE-BODY (empty implementation)
-		
-		Main page content.
-	-->
-	<xsl:template match="x:x-data" mode="page-body"/>
-	
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/global-variables.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-	xmlns:m="http://msqr.us/xsd/matte"
-	xmlns:x="http://msqr.us/xsd/jaxb-web"
-	version="1.0">
-
-	<!-- standard data vars -->
-	<xsl:variable name="aux" select="x:x-data/x:x-auxillary"/>
-	<xsl:variable name="ctx" select="x:x-data/x:x-context"/>
-	<xsl:variable name="err" select="x:x-data/x:x-errors/x:error[@field]"/>
-	<xsl:variable name="req" select="x:x-data/x:x-request/x:param"/>
-	<xsl:variable name="ses" select="x:x-data/x:x-session"/>
-	
-	<!-- helper vars -->
-	<xsl:variable name="acting-user" select="x:x-data/x:x-session[1]/m:session[1]/m:acting-user[1]"/>
-	<xsl:variable name="server-name" select="string($ctx/x:server-name)"/>
-	<xsl:variable name="server-port" select="string($ctx/x:server-port)"/>
-	<xsl:variable name="user-locale" select="string($ctx/x:user-locale)"/>
-	<xsl:variable name="web-context" select="string($ctx/x:web-context)"/>
-	<xsl:variable name="web-path" select="string($ctx/x:path)"/>
-	
-	<!-- application context defined as key for quick lookup -->
-	<xsl:key name="appenv" match="x:x-data/x:x-auxillary/m:app-context/m:meta" use="@key"/>
-	
-	<!-- auxillaray params defined as key for quick lookup -->
-	<xsl:key name="aux-param" match="x:x-data/x:x-auxillary/x:x-param" use="@key"/>
-	
-	<!-- message resource bundle defined as key for quick lookup -->
-	<xsl:key name="i18n" match="x:x-data/x:x-msg/x:msg" use="@key"/>
-	
-	<!-- request params defined as key for quick lookup -->
-	<xsl:key name="req-param" match="x:x-data/x:x-request/x:param" use="@key"/>
-	
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/global.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,272 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-	xmlns:m="http://msqr.us/xsd/matte"
-	xmlns:x="http://msqr.us/xsd/jaxb-web"
-	exclude-result-prefixes="m x">
-	
-	<xsl:import href="global-variables.xsl"/>
-	<xsl:import href="util.xsl"/>
-	
-	<!-- 
-		Generate <div> with error messages, if errors present.
-		
-		@param errors-node the x:errors element (optional)
-	  -->
- 	<xsl:template name="error-intro">
- 		<xsl:param name="errors-node" select="/x:x-data/x:x-errors"/>
-		<xsl:if test="$errors-node/x:error">
-			<div class="error-intro">
-				<xsl:if test="$errors-node/x:error[not(@field)]">
-					<!--<xsl:value-of select="$messages[@key='global.error.intro']"/>
-					<xsl:text> </xsl:text>-->
-					<xsl:apply-templates select="$errors-node/x:error[not(@field)]"/>
-				</xsl:if>
-				<xsl:if test="$errors-node/x:error[@field]">
-					<xsl:value-of select="key('i18n','field.error.intro')"/>
-					<ul>
-						<xsl:for-each select="$errors-node/x:error[@field]">
-							<li><xsl:value-of select="."/></li>
-						</xsl:for-each>
-					</ul>
-				</xsl:if>
-			</div>
-		</xsl:if>
-	</xsl:template>
-	
-	<!--
-		Generate a server URL, eg. http://myhost
-	 -->
-	<xsl:template name="server-url">
-		<xsl:variable name="port" select="$ctx/x:server-port"/>
-		<xsl:text>http</xsl:text>
-		<xsl:if test="$port = '443'">
-			<xsl:text>s</xsl:text>
-		</xsl:if>
-		<xsl:text>://</xsl:text>
-		<xsl:value-of select="$ctx/x:server-name"/>
-		<xsl:if test="$port != '80' and $port != '443'">
-			<xsl:text>:</xsl:text>
-			<xsl:value-of select="$port"/>
-		</xsl:if>
-	</xsl:template>
-
-	<!--
-		Generate the public absolute URL for viewing an album.
-	  -->
-	<xsl:template match="m:album" mode="view.album.absolute.url">
-		<xsl:call-template name="server-url"/>
-		<xsl:apply-templates select="." mode="view.album.relative.url"/>
-	</xsl:template>
-	
-	<!--
-		Generate the public relative URL for viewing an album.
-	-->
-	<xsl:template match="m:album" mode="view.album.relative.url">
-		<xsl:value-of select="$web-context"/>
-		<xsl:text>/album.do?key=</xsl:text>
-		<xsl:value-of select="@anonymous-key"/>
-	</xsl:template>
-	
-
-	<!--
-		Named Template: render-media-server-url
-		
-		Generate the URL for an image for the MediaServer server. For example:
-		
-		render-media-server-url(item = $MediaItem{id = 1565}, quality = 'GOOD', size = 'THUMB_NORMAL')
-		
-		=> media.do?id=1565&size=THUMB_NORMAL&quality=GOOD
-		
-		Parameters:
-		item - a MediaItem node
-		quality (opt) - value to use for the MediaServer quality parameter
-		size (opt) - value to use for the MediaServer size parameter
-		download (opt) - if set, add download=true flag
-		album-key (opt) - if set and original = true, then add for original downloading
-		original (opt) - if set, then generate URL for downloading original media
-		web-context - the web context
-	-->
-	<xsl:template name="render-media-server-url">
-		<xsl:param name="item"/>
-		<xsl:param name="quality"/>
-		<xsl:param name="size"/>
-		<xsl:param name="download"/>
-		<xsl:param name="album-key"/>
-		<xsl:param name="original"/>
-		<xsl:param name="web-context"/>
-		
-		<xsl:value-of select="$web-context"/>
-		<xsl:text>/media.do?id=</xsl:text>
-		<xsl:value-of select="$item/@item-id"/>
-		<xsl:if test="$album-key">
-			<xsl:text>&amp;albumKey=</xsl:text>
-			<xsl:value-of select="$album-key"/>
-		</xsl:if>
-		<xsl:choose>
-			<xsl:when test="$original">
-				<xsl:text>&amp;original=true</xsl:text>
-			</xsl:when>
-			<xsl:otherwise>
-				<xsl:text>&amp;size=</xsl:text>
-				<xsl:value-of select="$size"/>
-				<xsl:if test="$quality">
-					<xsl:text>&amp;quality=</xsl:text>
-					<xsl:value-of select="$quality"/>
-				</xsl:if>
-			</xsl:otherwise>
-		</xsl:choose>
-		<xsl:if test="$download">
-			<xsl:text>&amp;download=true</xsl:text>
-		</xsl:if>
-	</xsl:template>
-
-
-	<!--
-		Named Template: render-view-album-url
-		
-		Generate the URL for viewing a public album.
-		
-		=> /viewAlbum.do?key=ABC
-		
-		Parameters:
-		album - an Album
-		web-context - the web context
-		item-id - (opt) the ID of an item to display
-	-->
-	<xsl:template name="render-shared-album-url">
-		<xsl:param name="album"/>
-		<xsl:param name="web-context"/>
-		<xsl:param name="item-id"/>
-		<xsl:value-of select="$web-context"/>
-		<xsl:text>/album.do?key=</xsl:text>
-		<xsl:value-of select="$album/@anonymous-key"/>
-		<xsl:if test="$item-id">
-			<xsl:text>&amp;itemId=</xsl:text>
-			<xsl:value-of select="$item-id"/>
-		</xsl:if>
-	</xsl:template>
-
-	<!--
-		Named Template: render-file-size
-		
-		Generate text representation of the size of a file. For example:
-		
-		render-file-size(size = 14875) => 14.53 KB
-		
-		Parameters:
-		size - an integer, assumed to be the number of bytes of the file
-	-->
-	<xsl:template name="render-file-size">
-		<xsl:param name="size"/>
-		<xsl:choose>
-			<xsl:when test="$size &gt; 1048576">
-				<xsl:value-of select="format-number($size div 1048576,'#,##0.##')"/>
-				<xsl:text> MB</xsl:text>
-			</xsl:when>
-			<xsl:when test="$size &gt; 1024">
-				<xsl:value-of select="format-number($size div 1024,'#,##0.##')"/>
-				<xsl:text> KB</xsl:text>
-			</xsl:when>
-			<xsl:otherwise>
-				<xsl:value-of select="format-number($size div 1024,'#,##0')"/>
-				<xsl:text> bytes</xsl:text>
-			</xsl:otherwise>
-		</xsl:choose>
-	</xsl:template>
-
-	<!--
-		Named Template: render-download-album-url
-		
-		Generate the URL to download an album.
-		
-		Parameters:
-		key - the album anonymous key
-		albumId - (optional) the album ID
-		orig - if true, download original media items
-	-->
-	<xsl:template name="render-download-album-url">
-		<xsl:param name="quality"/>
-		<xsl:param name="size"/>
-		<xsl:param name="download"/>
-		<xsl:param name="album-key"/>
-		<xsl:param name="original"/>
-		<xsl:param name="web-context"/>
-		<xsl:value-of select="$web-context"/>
-		
-		<xsl:text>/downloadAlbum.do?albumKey=</xsl:text>
-		<xsl:value-of select="$album-key"/>
-		<xsl:choose>
-			<xsl:when test="$original">
-				<xsl:text>&amp;original=true</xsl:text>
-			</xsl:when>
-			<xsl:otherwise>
-				<xsl:if test="$size">
-					<xsl:text>&amp;size=</xsl:text>
-					<xsl:value-of select="$size"/>
-				</xsl:if>
-				<xsl:if test="$quality">
-					<xsl:text>&amp;quality=</xsl:text>
-					<xsl:value-of select="$quality"/>
-				</xsl:if>
-			</xsl:otherwise>
-		</xsl:choose>
-	</xsl:template>
-	
-	<!--
-		Named Template: render-i18n-options
-		
-		Render a set of <option> elements for a list of items, 
-		using i18n keys for the display values.
-		
-		Parameters:
-		content-key-prefix: the prefix for the i18n key values, to prepend to 
-		                    each item in the value-list
-		value-list:         a comma-delimited list of key values
-		selected-value:     the value to mark as selected
-	-->
-	<xsl:template name="render-i18n-options">
-		<xsl:param name="content-key-prefix"/>
-		<xsl:param name="selected-value"/>
-		<xsl:param name="value-list"/>
-		
-		<xsl:variable name="first" select="substring-before($value-list,',')"/>
-		<xsl:variable name="rest" select="substring-after($value-list,',')"/>
-		
-		<option value="{$first}">
-			<xsl:if test="$first = $selected-value">
-				<xsl:attribute name="selected">selected</xsl:attribute>
-			</xsl:if>
-			<xsl:value-of select="key('i18n',concat($content-key-prefix,$first))"/>
-		</option>
-		
-		<xsl:if test="$rest">
-			<xsl:call-template name="render-i18n-options">
-				<xsl:with-param name="selected-value" select="$selected-value"/>
-				<xsl:with-param name="value-list" select="$rest"/>
-				<xsl:with-param name="content-key-prefix" select="$content-key-prefix"/>
-			</xsl:call-template>
-		</xsl:if>
-		
-	</xsl:template>
-	
-	<xsl:template name="render-id3-genre">
-		<xsl:param name="genre"/>
-		<xsl:choose>
-			<xsl:when test="starts-with($genre,'(')">
-				<xsl:variable name="code" select="concat('id3.',substring-before(substring-after($genre,'('),')'))"/>
-				<xsl:choose>
-					<xsl:when test="key('i18n',$code)">
-						<xsl:value-of select="key('i18n',$code)"/>
-					</xsl:when>
-					<xsl:otherwise>
-						<xsl:value-of select="$genre"/>
-					</xsl:otherwise>
-				</xsl:choose>
-			</xsl:when>
-			<xsl:otherwise>
-				<xsl:value-of select="$genre"/>
-			</xsl:otherwise>
-		</xsl:choose>
-	</xsl:template>
-		
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/home.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,514 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-	xmlns:m="http://msqr.us/xsd/matte"
-	xmlns:x="http://msqr.us/xsd/jaxb-web"
-	xmlns:date="http://exslt.org/dates-and-times"
-	exclude-result-prefixes="m x date">
-	
-	<!-- imports -->
-	<xsl:import href="default-layout.xsl"/>
-        
-        <!-- auxillaray params defined as key for quick lookup -->
-	<xsl:key name="aux-param" match="x:x-data/x:x-auxillary/x:x-param" use="@key"/>
-	
-	<!-- Selected items -->
-	<xsl:variable name="display.items" select="x:x-data/x:x-model/m:model/m:item"/>
-	
-	<!-- Are there any items to display? -->
-	<xsl:variable name="display.items.count" select="count($display.items)"/>
-	
-	<!-- Selected Collection -->
-	<xsl:variable name="display.collection.id" select="x:x-data/x:x-request/x:param[@key='collectionId']"/>
-	<xsl:variable name="display.collection" select="x:x-data/x:x-model/m:model/m:collection[@collection-id = $display.collection.id]"/>
-	
-	<!-- Selected Album -->
-	<xsl:variable name="display.album.id" select="x:x-data/x:x-request/x:param[@key='albumId']"/>
-	<xsl:variable name="display.album" select="x:x-data/x:x-model/m:model/m:album[@album-id = $display.album.id]"/>
-	
-	<!-- Alert message, work ticket -->
-	<xsl:variable name="alert.message" select="x:x-data/x:x-messages[1]/x:msg[1]"/>
-	<xsl:variable name="work.ticket">
-		<xsl:choose>
-			<xsl:when test="key('aux-param','work.ticket')">
-				<xsl:value-of select="'aux-param'"/>
-			</xsl:when>
-			<xsl:when test="key('req-param','work.ticket')">
-				<xsl:value-of select="'req-param'"/>
-			</xsl:when>
-		</xsl:choose>
-	</xsl:variable>
-	
-	<!-- MediaSpec -->
-	<xsl:variable name="mediaspec.thumb" select="$acting-user/m:thumbnail-setting"/>
-	<xsl:variable name="mediaspec.view" select="$acting-user/m:view-setting"/>
-	
-	<xsl:template match="x:x-data" mode="page-head-content">
-		<link rel="stylesheet" type="text/css" href="{$web-context}/css/listmenu.css" media="screen"><xsl:text> </xsl:text></link>
-		<script type="text/javascript" src="{$web-context}/js/fsmenu.js"><xsl:text> </xsl:text></script>
-		<script type="text/javascript" src="{$web-context}/js/date.js"><xsl:text> </xsl:text></script>
-		<script id="behaviour-js" type="text/javascript" src="{$web-context}/js/matte-behaviours.js"><xsl:text> </xsl:text></script>
-		<script id="app-js" type="text/javascript" xml:space="preserve">
-			var APP_INFO = new Object();
-			
-			<xsl:if test="string-length($work.ticket) &gt; 0">
-				APP_INFO.workTicket = <xsl:value-of 
-					select="key($work.ticket,'work.ticket')"/>;
-				APP_INFO.workDisplayName = "<xsl:value-of 
-					select="key($work.ticket,'work.displayName')"/>";
-				APP_INFO.workSubmitTime = "<xsl:value-of 
-					select="key($work.ticket,'work.submitTime')"/>";
-				APP_INFO.workCompleted = <xsl:value-of 
-					select="key($work.ticket,'work.completed')"/>;
-				APP_INFO.workMessage = "<xsl:value-of 
-					select="key($work.ticket,'work.message')"/>";
-			</xsl:if>
-
-			<xsl:if test="$alert.message">
-				APP_INFO.alertMessage = "<xsl:value-of select="$alert.message"/>";
-			</xsl:if>
-			<xsl:if test="$display.collection.id">
-				APP_INFO.displayCollectionId = <xsl:value-of select="$display.collection.id"/>;
-			</xsl:if>
-			<xsl:if test="$display.album.id">
-				APP_INFO.displayAlbumId = <xsl:value-of select="$display.album.id"/>;
-			</xsl:if>
-			APP_INFO.thumbSpec = {
-				size : "<xsl:value-of select="$mediaspec.thumb/@size"/>",
-				quality : "<xsl:value-of select="$mediaspec.thumb/@quality"/>"};
-			APP_INFO.viewSpec = {
-				size : "<xsl:value-of select="$mediaspec.view/@size"/>",
-				quality : "<xsl:value-of select="$mediaspec.view/@quality"/>"};
-		</script>
-	</xsl:template>
-        
-	<!--xsl:template match="x:x-data" mode="page-body-class">
-		<xsl:if test="$display.items.count = 0">
-			<xsl:text>no-sub-nav</xsl:text>
-		</xsl:if>
-	</xsl:template-->
-	
-	<xsl:template match="x:x-data" mode="page-main-nav">
-		<xsl:call-template name="main-nav">
-			<xsl:with-param name="page" select="'home'"/>
-		</xsl:call-template>
-	</xsl:template>	
-	
-	<xsl:template match="x:x-data" mode="page-sub-nav">
-		<xsl:comment>SUB NAV</xsl:comment>
-		<ul class="menulist" id="listMenuRoot">
-			<li class="action-action">
-				<a href="#"><xsl:value-of select="key('i18n','link.select')"/></a>
-				<ul>
-					<li>
-						<a href="#" title="{key('i18n','link.select.all.title')}"
-								class="link-select-all">
-							<xsl:value-of select="key('i18n','link.select.all')"/>
-						</a>
-					</li>
-					<li>
-						<a href="#" title="{key('i18n','link.select.none.title')}"
-								class="link-select-none">
-							<xsl:value-of select="key('i18n','link.select.none')"/>
-						</a>
-					</li>
-				</ul>
-			</li>
-			<li>
-				<a href="#"><xsl:value-of select="key('i18n','link.actions')"/></a>
-				<ul>
-					<li>
-						<a title="{key('i18n','link.search.items.title')}" href="#" 
-							class="link-search-item">
-							<xsl:value-of select="key('i18n','link.search.items')"/>
-						</a>
-					</li>
-					<li class="action-album">
-						<a title="{key('i18n','link.delete.album.title')}" href="#" 
-								class="link-delete-album">
-							<xsl:value-of select="key('i18n','link.delete.album')"/>
-						</a>
-					</li>
-					<li class="action-album">
-						<a title="{key('i18n','link.share.album.title')}" href="#" 
-							class="link-share-album">
-							<xsl:value-of select="key('i18n','link.share.album')"/>
-						</a>
-					</li>
-					<li class="action-item context-album">
-						<a title="{key('i18n','link.removefrom.album.title')}" href="#" 
-							class="link-removefrom-album">
-							<xsl:value-of select="key('i18n','link.removefrom.album')"/>
-						</a>
-					</li>
-					<li class="action-item context-album">
-						<a title="{key('i18n','link.set.album.poster.title')}" href="#" 
-							class="link-setposter-album">
-							<xsl:value-of select="key('i18n','link.set.album.poster')"/>
-						</a>
-					</li>
-					<li class="action-collection">
-						<a title="{key('i18n','link.upload.collection.title')}" href="#" 
-							class="link-upload-collection">
-							<xsl:value-of select="key('i18n','link.upload.collection')"/>
-						</a>
-					</li>
-					<li class="action-collection">
-						<a title="{key('i18n','link.delete.collection.title')}" href="#" 
-								class="link-delete-collection">
-							<xsl:value-of select="key('i18n','link.delete.collection')"/>
-						</a>
-					</li>
-					<li class="action-item context-collection">
-						<a title="{key('i18n','link.removefrom.collection.title')}" href="#" 
-							class="link-removefrom-collection">
-							<xsl:value-of select="key('i18n','link.removefrom.collection')"/>
-						</a>
-					</li>
-					<li>
-						<a title="{key('i18n','link.new.album.title')}" href="#" 
-								class="link-add-album">
-							<xsl:value-of select="key('i18n','link.new.album')"/>
-						</a>
-					</li>
-					<li class="action-album">
-						<a title="{key('i18n','link.update.album.title')}" href="#" 
-							class="link-update-album">
-							<xsl:value-of select="key('i18n','link.update.album')"/>
-						</a>
-					</li>
-					<li>
-						<a title="{key('i18n','link.new.collection.title')}" href="#" 
-								class="link-add-collection">
-							<xsl:value-of select="key('i18n','link.new.collection')"/>
-						</a>
-					</li>
-					<li class="action-collection">
-						<a title="{key('i18n','link.update.collection.title')}" href="#" 
-							class="link-update-collection">
-							<xsl:value-of select="key('i18n','link.update.collection')"/>
-						</a>
-					</li>
-					<li>
-						<a title="{key('i18n','link.user.prefs.title')}" href="#" 
-							class="link-user-prefs">
-							<xsl:value-of select="key('i18n','link.user.prefs')"/>
-						</a>
-					</li>
-				</ul>
-			</li>
-		</ul>
-		<xsl:if test="$display.items.count != 0">
-			<!-- TODO -->
-		</xsl:if>
-	</xsl:template>	
-	
-	<xsl:template match="x:x-data" mode="page-sub-nav-data">
-		<xsl:text> </xsl:text>
-		<xsl:comment>
-			<xsl:text>sub nav data: collection = [</xsl:text>
-			<xsl:value-of select="$display.collection.id"/>
-			<xsl:text>]; album = [</xsl:text>
-			<xsl:value-of select="$display.album.id"/>
-			<xsl:text>]</xsl:text>
-		</xsl:comment>
-	</xsl:template>	
-	
-	<xsl:template match="x:x-data" mode="page-body">
-		<div id="left-pane">
-			<!--xsl:if test="$display.items.count = 0">
-				<xsl:attribute name="class">
-					<xsl:text>no-sub-nav</xsl:text>
-				</xsl:attribute>
-			</xsl:if-->
-			<img id="left-pane-tab" src="img/left-pane-tab.png" alt="Tab"/>
-			<div id="progress-pane" style="display: none;">
-				<h2><xsl:value-of select="key('i18n','progress.displayName')"/></h2>
-				<ol id="progress-list" class="collapsing">
-					<!-- progress items populate here -->
-				</ol>
-			</div>
-			<div id="info-pane">
-				<h2><xsl:value-of select="key('i18n','info.displayName')"/></h2>
-				<form id="info-form" action="{$web-context}/saveMediaInfo.do" 
-					method="post" class="collapsing">
-					<div class="single">
-						<label for="item-name">
-							<xsl:value-of select="key('i18n','item.name')"/>
-						</label>
-						<input type="text" id="item-name" name="name"/>
-					</div>
-					<div class="single">
-						<label for="item-date">
-							<xsl:value-of select="key('i18n','item.date')"/>
-						</label>
-						<input type="text" id="item-date" name="date"/>
-					</div>
-					<div class="single">
-						<label for="item-comments">
-							<xsl:value-of select="key('i18n','item.comments')"/>
-						</label>
-						<textarea id="item-comments" name="comments">
-							<xsl:text> </xsl:text>
-						</textarea>
-					</div>
-					<div class="single multi">
-						<label for="item-tags"><xsl:value-of select="key('i18n','meta.tags')"/></label>
-						<textarea id="item-tags" name="tags">
-							<xsl:text> </xsl:text>
-						</textarea>
-					</div>
-					<div class="single multi">
-						<label for="item-copyright">
-							<xsl:value-of select="key('i18n','item.copyright')"/>
-						</label>
-						<input type="text" id="item-copyright" name="copyright"/>
-					</div>
-					<div class="submit">
-						<input value="{key('i18n','save.displayName')}" type="submit" />
-					</div>
-					<hr />
-					<div class="single multi">
-						<label for="item-tags">
-							<xsl:value-of select="key('i18n','item.rating')"/>
-						</label>
-						<span class="rating-stars" id="item-rating"/>
-					</div>
-					<div><xsl:comment>This is here to "clear" the floats.</xsl:comment></div>
-				</form>
-			</div>
-			<h2><xsl:value-of select="key('i18n','collections.displayName')"/></h2>
-			<ol id="collection-list" class="collapsing">
-				<xsl:apply-templates select="x:x-model/m:model/m:collection" mode="collection.list"/>
-				<xsl:if test="count(x:x-model/m:model/m:collection) = 0">
-					<xsl:comment>There are no collections.</xsl:comment>
-				</xsl:if>
-			</ol>
-			<h2><xsl:value-of select="key('i18n','albums.displayName')"/></h2>
-			<ol id="album-list" class="collapsing">
-				<xsl:apply-templates select="x:x-model/m:model/m:album" mode="album.list"/>
-				<xsl:if test="count(x:x-model/m:model/m:album) = 0">
-					<xsl:comment>There are no albums.</xsl:comment>
-				</xsl:if>
-			</ol>
-		</div>
-		
-		<div id="search-pane" style="display: none;">
-			<div class="close-x">
-				<span class="alt-hide"><xsl:value-of select="key('i18n','close')"/></span>
-			</div>
-			<form id="search-item-form" action="{$web-context}/find.do" 
-					method="post" class="simple-form">
-				<!--p style="max-width: 300px;">
-					<xsl:value-of select="key('i18n','share.album.intro')"
-						disable-output-escaping="yes"/>
-				</p-->
-				<div>
-					<label for="quick-search">
-						<xsl:value-of select="key('i18n','search.items.quick.displayName')"/>
-					</label>
-					<div>
-						<input type="text" name="quickSearch" id="quick-search"/>
-						<input value="{key('i18n','find.displayName')}" type="submit" />
-					</div>
-				</div>
-				<div><xsl:comment>This is here to "clear" the floats.</xsl:comment></div>
-			</form>
-		</div>
-		
-		<div id="main-pane" class="main-pane-normal">
-			<xsl:comment>main-pane content here</xsl:comment>
-		</div>
-	
-		<div id="message-pane" style="display: none;">
-			<div class="close-x">
-				<span class="alt-hide"><xsl:value-of select="key('i18n','close')"/></span>
-			</div>
-			<div id="message-content-pane" class="message-box">
-				<xsl:text> </xsl:text>
-			</div>
-		</div>
-		
-		<div id="dialog-pane" style="display: none;">
-			<div class="close-x">
-				<span class="alt-hide"><xsl:value-of select="key('i18n','close')"/></span>
-			</div>
-			<div id="dialog-content-pane" class="dialog-box">
-				<xsl:text> </xsl:text>
-			</div>
-		</div>
-		
-		<div id="system-working" style="display: none;">
-			<xsl:value-of select="key('i18n','working.displayName')"/>
-		</div>
-		
-		<div id="ui-elements">
-			<!-- Dialog: delete album form -->
-			<form id="delete-album-form" action="{$web-context}/deleteAlbum.do" method="post" 
-					class="simple-form-validate">
-				<p style="max-width: 300px;">
-					<xsl:value-of select="key('i18n','delete.album.intro')"/>
-				</p>
-				<div>
-					<div class="label"><xsl:value-of select="key('i18n','album.name.displayName')"/></div>
-					<div id="delete-album-name" style="max-width: 240px;">
-						<xsl:value-of select="$display.album/@name"/>
-						<xsl:text> </xsl:text>
-					</div>
-				</div>
-				<div class="submit">
-					<input type="hidden" name="albumId" id="delete-album-id" value="{$display.album.id}" />
-					<input value="{key('i18n','delete.displayName')}" type="submit" />
-				</div>
-				<div><xsl:comment>This is here to "clear" the floats.</xsl:comment></div>
-			</form>
-			
-			<!-- Dialog: delete collection form -->
-			<form id="delete-collection-form" action="{$web-context}/deleteCollection.do" method="post" 
-				class="simple-form-validate">
-				<p style="max-width: 300px;">
-					<xsl:value-of select="key('i18n','delete.collection.intro')" 
-						disable-output-escaping="yes"/>
-				</p>
-				<div>
-					<div class="label"><xsl:value-of select="key('i18n','collection.name.displayName')"/></div>
-					<div id="delete-collection-name" style="max-width: 240px;">
-						<xsl:value-of select="$display.collection/@name"/>
-						<xsl:text> </xsl:text>
-					</div>
-				</div>
-				<div class="submit">
-					<input type="hidden" name="collectionId" id="delete-collection-id" 
-						value="{$display.collection/@collection-id}" />
-					<input value="{key('i18n','delete.displayName')}" type="submit" />
-				</div>
-				<div><xsl:comment>This is here to "clear" the floats.</xsl:comment></div>
-			</form>
-
-			<!-- Dialog: remove from album form -->
-			<form id="removefrom-album-form" action="{$web-context}/removeFromAlbum.do" method="post" class="simple-form">
-				<p style="max-width: 300px;">
-					<xsl:value-of select="key('i18n','removefrom.album.intro')"/>
-				</p>
-				<div class="submit">
-					<input type="hidden" name="albumId" id="removefrom-album-id" 
-						value="{$display.album/@album-id}"/>
-					<input value="{key('i18n','remove.displayName')}" type="submit" />
-				</div>
-				<div><xsl:comment>This is here to "clear" the floats.</xsl:comment></div>
-			</form>
-			
-			<!-- Dialog: remove from collection form -->
-			<form id="removefrom-collection-form" action="{$web-context}/deleteItems.do" method="post" class="simple-form">
-				<p style="max-width: 300px;">
-					<xsl:value-of select="key('i18n','removefrom.collection.intro')"
-						disable-output-escaping="yes"/>
-				</p>
-				<div class="submit">
-					<input type="hidden" name="collectionId" id="removefrom-collection-id" 
-						value="{$display.collection/@collection-id}"/>
-					<input value="{key('i18n','delete.displayName')}" type="submit" />
-				</div>
-				<div><xsl:comment>This is here to "clear" the floats.</xsl:comment></div>
-			</form>
-			
-			<!-- Dialog: share album form -->
-			<form id="share-album-form" action="{$web-context}/shareAlbum.do" method="post" class="simple-form">
-				<p style="max-width: 300px;">
-					<xsl:value-of select="key('i18n','share.album.intro')"
-						disable-output-escaping="yes"/>
-				</p>
-				<div>
-					<label for="shared">
-						<xsl:value-of select="key('i18n','share.album.shared.displayName')"/>
-					</label>
-					<div>
-						<input type="checkbox" name="shared" id="share-album-shared" 
-							value="true"/>
-						<span style="max-width: 300px;"><xsl:value-of 
-							select="key('i18n','share.album.shared.caption')" 
-							disable-output-escaping="yes"/></span>
-					</div>
-				</div>
-				<div>
-					<label for="feed">
-						<xsl:value-of select="key('i18n','share.album.feed.displayName')"/>
-					</label>
-					<div>
-						<input type="checkbox" name="feed" id="share-album-feed" 
-							value="true"/>
-						<span style="max-width: 300px;"><xsl:value-of 
-							select="key('i18n','share.album.feed.caption')" 
-							disable-output-escaping="yes"/></span>
-					</div>
-				</div>
-				<div>
-					<label for="theme">
-						<xsl:value-of select="key('i18n','theme.displayName')"/>
-					</label>
-					<div>
-						<select name="themeId" id="share-album-theme">
-							<xsl:comment>themes populated here</xsl:comment>
-							<xsl:for-each select="x:x-model/m:model/m:theme">
-								<option value="{@theme-id}">
-									<xsl:value-of select="@name"/>
-								</option>
-							</xsl:for-each>
-						</select>
-					</div>
-				</div>
-				<div class="submit">
-					<input type="hidden" name="albumId" id="share-album-id" 
-						value="{$display.album/@album-id}"/>
-					<input value="{key('i18n','share.displayName')}" type="submit" />
-				</div>
-				<div><xsl:comment>This is here to "clear" the floats.</xsl:comment></div>
-			</form>
-			
-			<div id="service-dialog-container">
-				<xsl:text> </xsl:text>
-			</div>
-
-		</div>
-		
-	</xsl:template>
-	
-	<!-- Generate the list of albums -->
-	<xsl:template match="m:album" mode="album.list">
-		<li>
-			<xsl:if test="@album-id = $display.album.id">
-				<xsl:attribute name="class">selected</xsl:attribute>
-			</xsl:if>
-			<a href="{$web-context}/home.do?albumId={@album-id}" title="{@name}">
-				<xsl:value-of select="@name"/>
-			</a>
-			<!-- TODO: nested albums, selected album? -->
-		</li>
-		<!--li><a href="#?albumId=101" title="Default">Default</a></li>
-		<li><a href="#?albumId=105" title="Default">Bar Foo</a></li>
-		<li>
-			<a href="#?albumId=106" title="Default">La te da</a>
-			<ol class="collapsing">
-				<li><a href="#?albumId=113" title="Default">More La te da</a></li>
-			</ol>
-		</li-->
-	</xsl:template>
-	
-	<!-- Generate the list of collections -->
-	<xsl:template match="m:collection" mode="collection.list">
-		<li>
-			<xsl:if test="@collection-id = $display.collection.id">
-				<xsl:attribute name="class">selected</xsl:attribute>
-			</xsl:if>
-			<a href="{$web-context}/home.do?collectionId={@collection-id}" title="{@name}">
-				<xsl:value-of select="@name"/>
-			</a>
-		</li>
-	</xsl:template>
-	
-	<!-- Generate main display items -->
-	<xsl:template match="m:item" mode="main.items">
-		<!-- FIXME: get the thumb size from user prefs -->
-		<img class="thumb" src="{$web-context}/media.do?id={@item-id}&amp;size=THUMB_SMALL" alt="{@name}"/>
-	</xsl:template>
-	
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/in.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<Iteration><ViewEditor  ViewType='PieChart' DataSet='_Employees' ModifierID='undefined' Context='Data' Page='chartFields' ViewName='Pie Chart' bViewEditorAnimation="false" ><Translated><String name="DATA_OBJECTS">Data Objects</String>
-<String name="VIEWEDITOR_TAB_FIELDS">Fields</String>
-</Translated></ViewEditor><HelpTopicId>bam_as_viewedit_doselect</HelpTopicId></Iteration>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/inner.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<s:stylesheet xmlns:s="http://www.w3.org/1999/XSL/Transform" version="1.0"/>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/logon.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-	xmlns:m="http://msqr.us/xsd/matte"
-	xmlns:xweb="http://msqr.us/xsd/jaxb-web"
-	exclude-result-prefixes="m xweb">
-	
-    <!-- imports -->
-	<xsl:import href="default-layout.xsl"/>
-		
-	<xsl:template match="xweb:x-data" mode="page-title">
-		<xsl:value-of select="key('i18n','logon.title')"/>
-	</xsl:template>
-	
-	<xsl:template match="xweb:x-data" mode="page-body-class">
-		<xsl:text>no-sub-nav</xsl:text>
-	</xsl:template>
-	
-	<xsl:template match="xweb:x-data" mode="page-main-nav">
-		<xsl:call-template name="main-nav">
-			<xsl:with-param name="page" select="'logon'"/>
-		</xsl:call-template>
-	</xsl:template>	
-	
-	<xsl:template match="xweb:x-data" mode="page-body">
-		<div class="intro">
-			<xsl:value-of select="key('i18n','logon.intro')"/>
-
-			<!--xsl:if test="key('appenv','feature.registration') = 'true'"-->
-				<xsl:text> </xsl:text>
-				<xsl:value-of select="key('i18n','logon.intro.register')"/>
-				<xsl:text> </xsl:text>
-				<a href="{$web-context}/register.do">
-				    <xsl:value-of select="key('i18n','logon.intro.register.link')"/>
-				</a>
-				<xsl:value-of select="key('i18n','logon.intro.register.close')"/>
-			<!--/xsl:if-->
-			
-			<!--xsl:text> </xsl:text>
-			<a href="{$web-context}/forgotPassword.do" title="{key('i18n','link.forgot-password.title')}">
-			    <xsl:value-of select="key('i18n','link.forgot-password')"/>
-			</a-->
-		</div>
-        
-		<form method="post" class="simple-form" action="{$web-context}{$ctx/xweb:path}">
-			<div>
-				<label for="login">
-					<xsl:value-of select="key('i18n','login.displayName')"/>
-				</label>
-				<div>
-					<input type="text" name="login" maxlength="64"/>
-				</div>
-			</div>
-			<div>
-				<label for="password">
-					<xsl:value-of select="key('i18n','password.displayName')"/>
-				</label>
-				<div>
-					<input type="password" name="password" maxlength="64"/>
-				</div>
-			</div>
-			<div class="submit">
-				<input type="submit" value="{key('i18n','logon.displayName')}"/>
-			</div>
-		</form>
-		<script type="text/javascript" xml:space="preserve">
-			document.forms[0].elements['login'].focus();
-		</script>
-	</xsl:template>
-	
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/maps.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE stylesheet []>
-
-<maps>
-	<map1 type="key1">map1key1value</map1>
-	<map1 type="key2">map1key2value</map1>
-
-	<map2 type="key1">map2key1value</map2>
-	<map2 type="key2">map2key2value</map2>
-</maps>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/msgAttach.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><nfeRecepcaoLote xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NfeRecepcao"><nfeCabecMsg>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;cabecMsg xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.09"&gt;&lt;versaoDados&gt;1.03&lt;/versaoDados&gt;&lt;/cabecMsg&gt;</nfeCabecMsg><nfeDadosMsg>&lt;enviNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.09"&gt;&lt;idLote&gt;200602220000001&lt;/idLote&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110809" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110809"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;zYASgizMNBAzgn+ot4ejStxDPTA=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;WnrapbX3Ewvi10agoVw2ZXl2drRxQdEbe3AHEXwIcr3LbDKGsMhqQusQGgifJkEbLL+IKC2kE9BE/HVFLxhFN9zj7zasTo6voeRApftKmibfASYcLSMTMkRcE97qU7BKQveBb0rYtKoumF020DUofx4TQlq0XhXHwQRSMfjU+PI=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110801" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110801"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;eDf91anljJDYxbEccusEuMITI6w=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;1l8xkXfjmhtrkFMXXHxyS2FQ7jM1hBIeqAxk/zVVgaAhAUvOnyqvt6EnIkbkqo+4uRyASFjhr5oFUHz5ryj9oSz+wW2Si95QIXUciWvDSAw2vbWaeusHI4fpJYqjyhUlXAelmQtgl9lkBaXhWrHkyLxTYZuUS0VHyu3SoqlY8L4=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAw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;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110802" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110802"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;KgIkUWcNbSYo+9i4n1Wib3gggRI=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;BrV4+H1tm4SN9sjNT2ICKOfNsVGeMAsQilsuqIwflhGJxUVxaCEn8DJ7XaUQkh+Bw1HVd4nyR6XZHVJBtUssK2rN2B24boptcBbBlEs5Q91Guq3lSmWp8lORAf5UTVUuftsrllTmmjsSSgWVB5xog+lQI5/ULX8s+xI05OgFkDE=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UEC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FQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110803" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110803"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;fJTDfYgu7OhtAEucE40612pj8yo=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;ROGdT3yu5ZbkhXNyn650tfD1bhNo33tYKfH1Ayp+syUJGIRfuepP58gaH8fJbuM4vU8LJozcK87tOaXc0EwM5mej6f+wZ2sv1DPglrt7Bb6V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lblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110804" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110804"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestVal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jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110805" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110805"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;ctmsHHDqE+E+UssdsL4jajRQVWk=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;nCoM230bM4Befsnpl3w5/G0ocn1MVkGoqIMIFkcijK7QzBY7n3tK2B9tr9dFv1mN+y/WFZ6+66tKYefaioSNiI0QLVIXfrdYMtZ4+Ewe1N/1xHKlGqujglkmNRF17KH106lBxOltsuxZd5AsyxZ+nF37GIjWzpY/0jOJD4c+OO8=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110806" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110806"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;UVJeRp5XuzdojbAnEjuohV8NFO8=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;5Zm+uGuO/xHT/CwgUIWobkM+JaAaYCym4/Kr4goBugykbLXyxXpHAvO4bYN050usn5kMGfELISipAVoaHXvrZ67FgaHkcKGHkymHGS+f8wLLL5TsNVRtZomdJjEy3GVQic8xpU4HUYrgOGktWpOnblaVzir0lZPeuRdkLbRe2y8=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1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&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110807"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;U+jxoc1fo7d4WXa0CrvP1YBQwgA=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;QAYBZN3c09rcoVij+fkp4lahEAD5cZV3zjdqvNEE2lzTbzqonHgdT5GyO9VRCikUNm0f3gAbwjyQnSmvTqw4YfVCf6ZYlFBAZ+pOkGdVsOkJ4QArZiU1+hSnLo5iN3WW7b5E7vw0EMv55nGW1zF0ghajClPBsQ+nbUSyYZ09ujk=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAx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akT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110808" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110808"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;rNWb1uYrH9oj+IaQzAQgBgoNJ1Q=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;NyJKj4su571ckKVCMK1Ki9QcpKBKczzxIs71nsxH4dZSCG3TUWycHoCsMjRUa7/REKoq1au1TmoZYAIYqZytyQYZ9m+Y+V8HDgGLde3Ymarz5X43MRIVsalGDSw1ukCYQptSLihiOUAT2hd8HYI1DAVWnqHnqDHvJ/wIcH9c44w=&lt;/SignatureValue&gt;&lt;KeyInfo&gt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AFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110810" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110810"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;g3nEVfyjf0bEYF0+TFE+f8I0Ekg=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;Vn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BWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110811" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110811"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;nhhsoA1RmioP/vXoARwWijDfkAg=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;SNh8Aa27uDRSZRe7nhkEa6ZTVfJV3ljwUSlwikYTMiEMk+B6/62IQqIyfVhfSN1Lx1grYgUfrzoNRanYZWQEUcIk07ENQcIS5KgY9ydSSuuOFVuiRsk/6INm1gjR4XCq4F/tWAdenasZCtZ0DPRNH5la4GSuKevNfoLOGbKgC00=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110812" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110812"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;DFhT+RWH4lqQbbUvFNAXv/GseL0=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;250R3TBs7J3uMUiLMywVtlIqn9PpB9Z9vH2vRQtcalB/Jx6bZbhYgRX6GhfVH7wrGfmtfU694g5sKm3447afm74mGV/5rvUlmECOnozuKv+SvXRK0wFvogaaXo5qCYlAqh9rOCa3W4RfVbq9TWfGevyKA7e0uKsjPctcKR/L4xg=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110813" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110813"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;Al5DzbSR6cps7LzToU+cyzc51GY=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;bGf13rBYoifk5Z2e97D/TiS8oy7qjB+TAfd0ECwgtn0VlWI0z8V9QQWaShjHI6sV5EVJEZlx3s/3HeFPFRiv12d5466EuzI5ftJpZNqAOS+CMkFeRFVGazaIcRY2ncw7wKNsaEmfEn+cnIAgfmXozI34q41R+bG6a/sPcLVJf3k=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJ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t;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110814" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110814"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;0VdDjtU1ZtFc2w5EQU9FWV276ao=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;oAAW20eP5P/wuxppPwQVmbrMwCaxAZhHJTGN2bL4GfWuTUhfSwUOxZjKTeSwlPUILU6MU3wMxj3QsIphfVTqRPKtxT19z31L6x8zAx5qV7Vgz+0PDnGsTutPYKxF5XWhHu7zRTTM3TdGKLujqp5jxwDBrM1qbBbYmfN6mxWhmqg=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQM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z5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110815" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110815"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;P+vIva8ejzq9bYhM1xL46vbdbEE=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;tod/k9ZRlFEMakj89FM12YkHFvBJ2m4wDJwq9bPe6X3CKbv1mYIUAXTkasJL1BF5aJa/z+V0pvK2xTSOznvF1Y5H+TpdaToiZt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0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110816" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110816"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt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Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110817" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110817"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;qjS8ay1R+Kl2cRxAcxet6HZdt4M=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;HoafBrpcYfLjXnH9GHUoZIuxjIhrpLyQeiM3KQMaWx6uyS7c2oXPtVs80L49S7i1CMma+RAywTiGf79RzI95mBy/Vlk4wa51m5h6qizT8NZMP3Pa2ern9+mDhDV7kNgvNl7JDi7hCPvACpGZy54TuzXs2luH5O8iUVYR+g2jD7Y=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110818" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110818"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;xgoWPViXwimNipoyKVr8h/69A7I=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;bvGpF6fK/R2srzaaqG3XVDFxkvcvZ97MxAT4CBoezfiQywHPjXaEzmUXF/LMGjfbV1UEjFdoE+ZlPRU1F6Y3IreJvfQNLvXoGlnKASSHIZYWq/HCuv2q5DlUfw916LjUgygRbuPLaF8YJdqS+HxYsWJFxQu9ZChtb+rWYjCiCkw=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdF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&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110819"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;YTY3upEgZtcegklKapx3PmBt1eI=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;Nma+uO1zfJMPDGNgg2tRR43CQJCalIvz1uEHfWx9xUWzRQt3SZXr/Paemn/8EvmRJ1EkL2v1oZNWH5B/WvEQfWW/m2yL5CHmW1/xFXjkbfsFJ6Dd3irQSiuy+16BNiPl0yJyV3Om+zANm1zepEbAzt1yldOsMInoWTeIcOA33rg=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB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DGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110820" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110820"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;hZA9ZbAfkJ1gGw/5zgVaFfXmuz4=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;WUC6gHMQLuJa73yxDSuSzxVqds5ZBjl5OqtzOTLEEp83mKZwkako1zIhF59D2JXh5TnhwulWv7xqDzf3CxELf/rhftYIh108zFR7DDKMim2ofDcJ0ibWwBYYduVydpLQ37nGb0Cs8E8hVf5FDSamauvJhrXfC2jLfPQk1OCOmLc=&lt;/SignatureValue&gt;&lt;Key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wQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110821" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110821"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;mcwN77/JOXRmUj3Un5rnQukgOCk=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt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BWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110822" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110822"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;1a2RQgN0sJrLDRPQHR59US0EYT0=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;jcNqHv8KDQKkcbov9Ffsix5qssBSMdx1kuM2AO3YjbjNOoJgSb+GmMy/j/iVnANeVDNLM4vjapHrPxCEFIG4E1ZuA7hId7JFajNDN1oXa32TtBfThJ27Rw35NJUcWI+YA+8JDnPa2qQCdxUWkiXvwyJ21zQzIZsw5UdvuQUqxm4=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110823" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110823"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;XmVTTTXirQvExYZ4yHj2Bz0bw/c=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;1RNe6RLJyXBr3/lGcqLipxwcUvUIYznpp8cwEsIPMhVnVK+250ZGyy3ap2NvgnLDvXlmQOVUu6xUthwF8ll58dspBFIfHAqoww/KojAg+6V3Wwm+DwVc7222KbJ6eu451iqI68cUaRYQiciPTa2Y9DfDtxoprKBN488/PkOYyhY=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110824" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110824"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;YauB6rHbqykRGk5K/ESVswxJpvs=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;iBHHYQzntaGIOO62UUQ/p2svvoR8XjDoO8es7vyJ35PmrFWtocWdM9FEUW1Vp4ql7qmtzXascvw86JdPwZ0UjhPO9qKIIYk8XrzG9AY4SqF99gf1POWHK7xxmk3K3a9GivyQFwQlvNkWHmZJqdOv+s5ezUrQc+Keybnio5+cy0o=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTA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&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110825" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110825"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;sBG0b72pNgwjtyk2sCcr2SOPgyo=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;EMAWKqa79y8wFYN1TProwZcZO20OCPU6rSm41Z+QN5QdT1DcU823Lu+aNfPv70SY9ra5/6kOO1uE4My5UXsyawjPDY5EZV8di9Goyebg27DgDLWcpvwZfrBUOwGo3Q9x/VpWI5qY9OHaWpwxttIIuo2PbZl4k3+VVAkeCdeo7Q0=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA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5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110826" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110826"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;gDyFrITIpGqBPPeUls+UoQ1eFFw=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;p3lSbnCBYnKbz6rpghVwsRzjIleu8R4dlvexNH+lxtYMPMSEll1C6qMHFo393SpKJu0Yufb7NRfDBhQFBYWwHJ5/GDchagr79ihn0h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3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110827" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110827"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;Dig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c2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110828" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110828"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;KxutkHGJ8tvxNtSAy8N4b7sgfOU=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;GZ9XS/REkXN97VEYMz1AAPZ4J9Lb08TNhsloCuH8QaTaPqIIuT4dlcQgdBX7oysVc1NXUoSxFKUeej2ZMdD/J2EPxPacM8S3XlbZe5CoHKaxqR3hqPW5ANxzN61ldjDKPz+mY7dmgVttyEYQKdy44rt3lf0TqcdWfBiucZYylAM=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110829" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110829"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;9eOPR0G4en+2xpr+R6nlm83gxVM=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;t/Iwe+qlyWyuQpAHWdK//Lm+sRes/6EQb3I3XpFId+Xo4b8bdbcqv+Wlb7oPT5He654Yeg88z1mpHSZdtV5fdrr1dlKflrLT9AGKyYGiPcOpH2sUdQ655kJBtu/ByT6gQ8qaA+aufHmEL1CEUA5AbYAWk9CYzOi8BTs5zdsbDCA=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNV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/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110830"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;PKubq8TelaLWOEu6e2hUS7KlvBA=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;jQPSq10OxqJKbEwlQuW+RqQGV5a9iKKuc2+BZ8Qa1S9hQyg/PjtQHQYBR2LARUZIzfocfGb5+8HyGVxijtuIj2KPIH/8QGoqSHC0Ngtl9VCc7YCnOP10DOsasc6FynGZpa+0LOV+zJO119syZY4feIc67Py84fku/GJ8M1spOzg=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRF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KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110831" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110831"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;fSUS3zUG0gFM15Rb5Xeuowu5q8Y=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;WnN/escY4TTLdqKWdlhl9VCaotMF1lkFjxSx32va5+nFXr/gYY+bZw7tYMPq8q0glhE3i5tG08Ai3zewmIIYGLbraf/2HSogXeYbM9PfoNPwlP2tXMWbvwWqg8sm5JviGS/P7kKcbKxtB35oUk0lCo0m72Kt6vaY3bmYRsv/VNQ=&lt;/SignatureValue&gt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B8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110832" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110832"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;ShPPZLiE8+w2+TYc4IbHUFAJtew=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;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HREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110833" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110833"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;vH6jMKDthPy/f/oqcOu3Kl9jQIM=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;Cv24RtVaYwqxTJBFFkoji77H/x76K1jKIbuulbZ0Nm9lcYk4sz14YT5ewKlmpbypuUtbl5NCSkSPsWZ4y7QCTpbddmtUX1ZPcbRLPg9I8xWG1NbcyQqlCkpS0h76163wLFjzQp4gf+a9aSVzTkw9r/URj/0m4RcmiA4UhC+mhg4=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110834" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110834"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;p7hP4H+8hnM91WiYpcftVEgr+Cw=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;FvsM3yhnphCD3/KOg9beknJx1+kcw4RWNJQbXsWUvwQOa6uz6PFuKjHeDdUSa0tTRoRQ8t15TfP38SyOco/DmoMfBmCuj70tQxk78BZ/Z+UjESdaHgv2GSB3TBAVe2GaT6JYAKUSSCAFPY7GfgAQhOPEuk89ztQx7s4qB69IKZA=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110835" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110835"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;VCjVED64OxI7juJhG+0yWNlXusg=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;NnmraR5m+J0bapZxL+8xsruVjidhmHqFrQwhHG4xeXeIytfQ3GgtLpaMYWO+Y+U/TrP1wKz10blLRfLa3vSuYEDuy1TI5tNjwPdmdLDXc+65YkYlO1rBYXuYHm0KIf61GPHIhvay5XUnV8VhzS7Utv2lT8p8/JyxqMHKEdg/FPY=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5Mjd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t;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110836" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110836"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;9+uhMXb1wz6fc3iQbovsGOoMKC4=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;tW1I5Ai8xb3GMGxkjJLpraqQLKp2dJxfdLUmm8vlpJtlFdAT4S2EYQftsiRI05ojjOrYBWb+pWemZtNhbEHSeGDMzZ6YNJwN6r7sGaRVH8IdM/2j1U87qc6jBok85nAOvAr+qoLNV4rLAca8HdqwX+evgECCvIvPuOFMovCFyi0=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQ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rpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110837" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110837"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;pzvez2i5zHJO5NK7aGrsXzawOKM=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;qJlA6hsqLbKMrjDavcfvaxG1q5OfvmeU7hVUmhJ2ipn3dKI6VpOuXaepFTA/hDz9+S1P7uc7UZj9t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EAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110838" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110838"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#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bmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110839" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110839"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;mpqSlfCCvmFn5WrxQ9Dfl5uWuPU=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;yISvrdTREuQiZ1uA4dl1HrIuk1VpcYc5bWYWa7Te01UMXNZ/bmqz0LH8oFiVoqPRnHHTSJ7NvgHC79z9z+EuDbrga1uTvLlY7CvtbxD1AuChyPc7IbkM5PGIS2EMuLI74y3FpjXPLf9ZanXisSLLVc7OhbrnCTzS5YsXLSGImyk=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110840" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110840"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;9IyNbREn2DYaDA6UUVNTmUx7Pdo=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;MkQ4Ors8jwGneaOz+4cbbyL8u/kBUyx26JXe0skHJmKYq08uvihpylT7DHPr3ysXwMMhjsE5uuQQnKh48JpxmIkOXFTEzKvKnliiIsjFb5ENA+QG66Ae4Wmzt1z0CeUaGLf12qzAHJfxiNklvl1vSS7Gdxt9jGN1p8sm1ziqXU4=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8w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&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110841"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;KBQvgLVJ/pHIs2mchbP6r+XUV3w=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;sTwck2qlVfUm+txPJzt7BshWT3zyUGYiLG4MR0RH2zm/DcjsBj/679m1/7k8lrt2E83jCSwZq8y6lVTSzJJlmXW+TVLyH3wCirheAXsWdCxQaYSeOilCPqb1kgB/qNcPReadT421qJfRGO3nMmd89HI4pCjHH1aYQPeGgytkcm4=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0V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FdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110842" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110842"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;3g5AU6Z5Pat0IPL/OYpTRwx4taQ=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;VmXtcslq9V5bKh+ZzPRl9o+h9E04S2XiUwxvz605kN8hzCOPUTNzEMBlm1eiXKg9UAsRrFhCtJcUyqZdwN2ldVN57lxwZlPQ1Qj5DDyhG4MYtynBXNI5DhlrBb0xKOHFxsUJ4YkgtNGxwDfUyUlKwpNrgB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BBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110843" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110843"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;h9UKsUjSbe8JbvsUApBt2psKKAU=&lt;/DigestValue&gt;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GCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110844" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110844"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;HbZModFP0Iui9gfuR7n/4sHi024=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;WPU7Sj9DeVV91fBDnlAM/JKlKaC57/ID4/jbFYkcX4uO/tf0fpVUkOEwhxDUKldf/REsxKzOy3LAs/VoOLgqh3PmMBOZkTGWQjasY150ZCZHOIPuUk6wrObozuI+V0g3Xfff6pxId+t7Z3sLMWMggSSKG8+Qs27XJmODe08l+Zg=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110845" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110845"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;t72hWlvvtDZ6wNPjniZ2pDoTj/w=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;XnKgmioztIbSGyiwYq0Xc5jGA5bxvoqGaNfWSulvY/e4CM6KY95fwMS9GYbEjTxMB8wcIZpziq8jlEMRnNkF+yHn/4QI+8y8K17EF7pebG4XHUuOGAditKlHbC85Fehj40+/+S0kc2iSe2D+FzY1TGe/2B7x78u45LaUtLT9sXE=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110846" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110846"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;YsqTqpi1W7aZmk0w4pmyS9ICgIs=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;NgHBGSEmJP4tPp4LViQYbDLfs7fQti90qvTJJ8KR2N0N8SPbmldwI8JRZyTldlQwUlRyaUqEE6OwFPW0vA0b4Upqqyl6p+MM7/ax+pU6PT7c/5xRzpSyPpvbLAYyMDA6dyQwfGgnxw+R1wRlZidxjyU+qX+C6xKc9/EhGC1MUOY=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5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&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110847" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110847"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;gjvLgyWmYcXiyBgjtBHrmH3do0E=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;wQxpEm1stUvHMiMUQxMVzQlh/GKqusqgA3UGiVHDmFhnx4Fe9m7Kbp8iPzD5zhcRbFl2hVYJa1+2L0tL78unUO60uEjIFt47d/5F++rCgHkfcQAK2mdR4rl51tof8T75lvH/YJWqATZBcm7nyXEUyNlMBTyXt3NbZ4pkvjZPADU=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAw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BBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110848" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110848"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;JxHrYj68TOJrQDYwbNRgpcd31wk=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;WC86hQyLd3romAna+vQgzS4Y+6p6qGIzNMKyye3MJU8YWb8Nzyc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YEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110849" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110849"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http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C5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110850" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110850"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;I58ROhWJ1+GlmoKlUDAbplxrJ8w=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;jb3X9Sh3OvC+EGDdH3crhS9l1TJbiIpkQ0oPbXDWLnyOCMRx3QoXC6AEqhDqP6M0eiumhDIZr4AtL96gL0KdUedTuoH1e/CV0uOvvKrz0ZQex/6grLG195lm1wiZPk4T6+OzVjez0rOmyB4BQxtC26ER0OlXrJj9uNI4bG0neCQ=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;/enviNFe&gt;</nfeDadosMsg></nfeRecepcaoLote></env:Body></env:Envelope>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/numbering63.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-<?xml version="1.0"?>
-<doc>
-  <title>Test for source tree numbering</title>
-  <a>
-      <title>Level A</title>
-    <b>
-      <title>Level B</title>
-    </b>
-    <b>
-      <title>Level B</title>
-      <c>
-        <title>Level C</title>
-      </c>
-    </b>
-    <b>
-      <title>Level B</title>
-      <c>
-        <title>Level C</title>
-        <d>
-          <title>Level D</title>
-        </d>
-      </c>
-    </b>
-  </a>
-  <a>
-    <title>Level A</title>
-    <b>
-      <title>Level B</title>
-      <c>
-        <title>Level C</title>
-        <d>
-          <title>Level D</title>
-          <e>
-            <title>Level E</title>
-          </e>
-        </d>
-      </c>
-    </b>
-  </a>
-  <a>
-    <title>Level A</title>
-    <b>
-      <title>Level B</title>
-      <c>
-        <title>Level C</title>
-        <d>
-          <title>Level D</title>
-          <e>
-            <title>Level E</title>
-          </e>
-        </d>
-        <d>
-          <title>Level D</title>
-          <e>
-            <title>Level E</title>
-          </e>
-        </d>
-      </c>
-      <c>
-        <title>Level C</title>
-        <d>
-          <title>Level D</title>
-        </d>
-      </c>
-    </b>
-    <b>
-      <title>Level B</title>
-    </b>
-  </a>
-</doc>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/numbering63.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-  <!-- CaseName: numbering63 -->
-  <!-- Author: David Marston -->
-  <!-- Purpose: Count all levels of changes and number by level, level=single. -->
-  <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(number)/ulist[2]/item[1]/p[1]/text()[5]" -->
-  <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(number)/ulist[1]/item[2]/p[1]/text()[1]" -->
-  <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(number)/ulist[1]/item[3]/p[1]/text()[1]" -->
-  <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(convert)/ulist[1]/item[1]/p[1]/text()[1]" -->
-  <!-- Scenario: operation="standard-XML" -->
-
-<xsl:template match="doc">
-  <out><xsl:apply-templates/></out>
-</xsl:template>
-
-<xsl:template match="title">
-  <xsl:number level="single" from="a" count="a|b|c|d|e" format="1"/><xsl:text>: </xsl:text><xsl:value-of select="."/><xsl:text>
-</xsl:text>
-</xsl:template>
-
-<xsl:template match="text()"><!-- To suppress empty lines --><xsl:apply-templates/></xsl:template>
-
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/outer.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<s:stylesheet xmlns:s="http://www.w3.org/1999/XSL/Transform" version="1.0">
-  <s:include href="inner.xsl"/>
-</s:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/redirect.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<foo/>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/redirect.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-<?xml version='1.0' encoding="UTF-8"?>
-<xsl:stylesheet version="1.0" 
-    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-    xmlns:redirect="http://xml.apache.org/xalan/redirect">
-    
-    <xsl:output method="xml" indent="no" encoding="UTF-8"/>
-    
-    <xsl:template match="/">
-        <redirect:write file="redirect2.xml">
-            <out>
-                <xsl:text disable-output-escaping="yes">Euro 1: &#8364; </xsl:text>
-            </out>
-        </redirect:write>
-        <out>
-            <xsl:text disable-output-escaping="yes">Euro 1: &#8364; </xsl:text>
-        </out>
-    </xsl:template>
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/sax/Bug6451633.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform.sax;
-
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMResult;
-import javax.xml.transform.sax.SAXTransformerFactory;
-import javax.xml.transform.sax.TransformerHandler;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.xml.sax.helpers.AttributesImpl;
-
-/*
- * @bug 6451633
- * @summary Test TransformerHandler ignores empty text node.
- */
-public class Bug6451633 {
-
-    @Test
-    public void test() throws Exception {
-        TransformerHandler th = ((SAXTransformerFactory) TransformerFactory.newInstance()).newTransformerHandler();
-
-        DOMResult result = new DOMResult();
-        th.setResult(result);
-
-        th.startDocument();
-        th.startElement("", "root", "root", new AttributesImpl());
-        th.characters(new char[0], 0, 0);
-        th.endElement("", "root", "root");
-        th.endDocument();
-
-        // there's no point in having empty text --- we should remove it
-        Assert.assertEquals(0, ((Document) result.getNode()).getDocumentElement().getChildNodes().getLength());
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/src.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<x:x-data xmlns:x="http://msqr.us/xsd/jaxb-web" xmlns:m="http://msqr.us/xsd/matte">
-	<x:x-context>
-		<x:server-name>localhost</x:server-name>
-		<x:server-port>8484</x:server-port>
-		<x:user-agent>Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/419 (KHTML, like Gecko) Safari/419.3</x:user-agent>
-		<x:user-locale>en</x:user-locale>
-		<x:web-context>/matte</x:web-context>
-		<x:path>/logon.do</x:path>
-	</x:x-context>
-	<x:x-auxillary>
-		<x:x-param key="magoffin.matt.xweb.REQ">org.springframework.web.servlet.support.RequestContext@4bf0ff</x:x-param>
-	</x:x-auxillary>
-	<x:x-messages>
-		<x:msg key="">You must be logged in and have sufficient access privileges to view the requested page.</x:msg>
-	</x:x-messages>
-	<x:x-session>
-		<x:x-param key="magoffin.matt.xweb.URL">http://localhost:8484/matte/home.do</x:x-param>
-	</x:x-session>
-	<x:x-request/>
-	<x:x-request-headers>
-		<x:param key="accept">*/*</x:param>
-		<x:param key="accept-language">en</x:param>
-		<x:param key="accept-encoding">gzip, deflate</x:param>
-		<x:param key="cookie">JSESSIONID=42E37E740D15356C0E861590CEA4A421; JSESSIONID=5647B2F0C0A7E5E673970E4A21D2F3FD</x:param>
-		<x:param key="user-agent">Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/419 (KHTML, like Gecko) Safari/419.3</x:param>
-		<x:param key="connection">keep-alive</x:param>
-		<x:param key="host">localhost:8484</x:param>
-	</x:x-request-headers>
-	<x:x-model>
-		<x:x-param key="no.model">no model</x:x-param>
-	</x:x-model>
-</x:x-data>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/template.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<process><map1/>
-<map2/>
-</process>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/tigertest-in.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<office:document xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style"  office:class="text" office:version="1.0">
-	<office:styles>
-		<style:default-style style:family="graphics"/>
-		<style:default-style style:family="paragraph"/>
-	</office:styles>
-</office:document>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/tigertest.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<?xml version='1.0' encoding="UTF-8"?>
-<xsl:stylesheet version="1.0"
-		xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-		xmlns:office="http://openoffice.org/2000/office"
-		xmlns:style="http://openoffice.org/2000/style">
-
-	<xsl:output method="xml" encoding="UTF-8"/>
-
-	<xsl:template match="/">
-		<xsl:variable name="copyData">
-			<xsl:call-template name="copy-by-template" />
-		</xsl:variable>
-		<test>
-  		   <xsl:copy-of select="$copyData"/>
-		</test>
-	</xsl:template>
-
-	<xsl:template name="copy-by-template">
-		<xsl:copy-of select="/"/>
-	</xsl:template>
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/tmp.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><stardb xmlns="http://www.astro.com/astro" xsi:schemaLocation="http://www.astro.com/astro catalog.xsd" xmlns:astro="http://www.astro.com/astro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><_test01/><test-02/><test.03/><_test-04>T%e!s#t$</_test-04><star><hr>1</hr><constellation/><fullname/><ra><h>00</h><m>05</m><s>09.9</s><dv>0.08608333333333333</dv></ra><dec><sgn/><d>45</d><m>13</m><s>45</s><dv>45.22916666666667</dv></dec><glng>114.44</glng><glat>-16.88</glat><vmag>6.70</vmag><spec>A1Vn</spec></star><star><hr>2</hr><constellation/><fullname/><ra><h>00</h><m>05</m><s>03.8</s><dv>0.08438888888888889</dv></ra><dec><sgn>-</sgn><d>00</d><m>30</m><s>11</s><dv>-0.5030555555555556</dv></dec><glng>98.33</glng><glat>-61.14</glat><vmag>6.29</vmag><spec>gG9</spec></star><star><hr>3</hr><constellation>Psc</constellation><fullname>33    Psc</fullname><ra><h>00</h><m>05</m><s>20.1</s><dv>0.08891666666666666</dv></ra><dec><sgn>-</sgn><d>05</d><m>42</m><s>27</s><dv>-5.7075000000000005</dv></dec><glng>93.75</glng><glat>-65.93</glat><vmag>4.61</vmag><spec>K0IIIbCN-0.5</spec></star><star><hr>4</hr><constellation>Peg</constellation><fullname>86    Peg</fullname><ra><h>00</h><m>05</m><s>42.0</s><dv>0.095</dv></ra><dec><sgn/><d>13</d><m>23</m><s>46</s><dv>13.39611111111111</dv></dec><glng>106.19</glng><glat>-47.98</glat><vmag>5.51</vmag><spec>G5III</spec></star><star><hr>5</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>16.0</s><dv>0.10444444444444445</dv></ra><dec><sgn/><d>58</d><m>26</m><s>12</s><dv>58.43666666666666</dv></dec><glng>117.03</glng><glat>-03.92</glat><vmag>5.96</vmag><spec>G5V</spec></star><star><hr>6</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>19.0</s><dv>0.10527777777777779</dv></ra><dec><sgn>-</sgn><d>49</d><m>04</m><s>30</s><dv>-49.075</dv></dec><glng>321.61</glng><glat>-66.38</glat><vmag>5.70</vmag><spec>G1IV</spec></star><star><hr>7</hr><constellation>Cas</constellation><fullname>10    Cas</fullname><ra><h>00</h><m>06</m><s>26.5</s><dv>0.10736111111111112</dv></ra><dec><sgn/><d>64</d><m>11</m><s>46</s><dv>64.19611111111111</dv></dec><glng>118.06</glng><glat>1.75</glat><vmag>5.59</vmag><spec>B9III</spec></star><star><hr>8</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>36.8</s><dv>0.11022222222222222</dv></ra><dec><sgn/><d>29</d><m>01</m><s>17</s><dv>29.02138888888889</dv></dec><glng>111.26</glng><glat>-32.83</glat><vmag>6.13</vmag><spec>K0V</spec></star><star><hr>9</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>50.1</s><dv>0.11391666666666667</dv></ra><dec><sgn>-</sgn><d>23</d><m>06</m><s>27</s><dv>-23.1075</dv></dec><glng>52.21</glng><glat>-79.14</glat><vmag>6.18</vmag><spec>A7V</spec></star><star><hr>10</hr><constellation/><fullname/><ra><h>00</h><m>07</m><s>18.2</s><dv>0.12172222222222222</dv></ra><dec><sgn>-</sgn><d>17</d><m>23</m><s>11</s><dv>-17.386388888888888</dv></dec><glng>74.36</glng><glat>-75.90</glat><vmag>6.19</vmag><spec>A6Vn</spec></star></stardb>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/toys.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-    Document   : toys.xml
-    Created on : August 11, 2003, 6:42 PM
-    Author     : Prasad Subramanian
-    Description:
--->
-
-<toys>
-    <toy>
-        <name>Lego-Model01</name>
-        <price>65.99</price>
-    </toy>
-    <toy>
-        <name>Lego-Model2</name>
-        <price>69.99</price>
-    </toy>
-    <toy>
-        <name>Lego-Model3</name>
-        <price>14.99</price>
-    </toy>
-    <toy>
-        <name>Barbie-Pink</name>
-        <price>12.99</price>
-    </toy>
-    <toy>
-        <name>Barbie-Blue</name>
-        <price>13.99</price>
-    </toy>        
-    <toy>
-        <name>Barbie-White</name>
-        <price>13.99</price>
-    </toy>   
-    <toy>
-        <name>Barbie-Plain</name>
-        <price>13.99</price>
-    </toy>           
-</toys>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/transform.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE stylesheet []>
-
-<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
-
-	<xsl:param name="config"/>
-	<xsl:param name="mapsFile"/>
-
-	<xsl:output method="text"/>
-
-	<xsl:key name="key1" match="map1" use="@type"/>
-	<xsl:key name="key2" match="map2" use="@type"/>
-        
-	<xsl:variable name="maps" select="document($mapsFile)"/>
-	<xsl:variable name="type" select="document($config)/config/@type"/>
-
-	<xsl:template match="map1">
-		<xsl:for-each select="$maps">
-			<xsl:value-of select="key('key1', $type)"/>
-		</xsl:for-each>
-	</xsl:template>
-
-	<xsl:template match="map2">
-		<xsl:for-each select="$maps">
-			<xsl:value-of select="key('key2',$type)"/>
-		</xsl:for-each>
-	</xsl:template>
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/upload-media-form.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,126 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-	xmlns:m="http://msqr.us/xsd/matte"
-	xmlns:x="http://msqr.us/xsd/jaxb-web"
-	exclude-result-prefixes="m x">
-	
-	<!-- <xsl:import href="global-variables.xsl"/> -->
-
-	<!-- helper vars -->
-	<xsl:variable name="form.collectionId" 
-		select="x:x-data/x:x-auxillary[1]/x:x-param[@key='collectionId']"/>
-	<xsl:variable name="form.localTz" 
-		select="x:x-data/x:x-auxillary[1]/x:x-param[@key='localTz']"/>
-	<xsl:variable name="form.mediaTz" 
-		select="x:x-data/x:x-auxillary[1]/x:x-param[@key='mediaTz']"/>
-	
-	<xsl:template match="x:x-data" mode="add-media-form">
-		
-		<form id="upload-media-form" method="post" class="simple-form" 
-			action="{$web-context}{$ctx/x:path}" enctype="multipart/form-data">
-			<p>
-				<xsl:value-of select="key('i18n','upload.media.intro')"/>
-			</p>
-			<div>
-				<label for="tempFile">
-					<xsl:value-of select="key('i18n','file.displayName')"/>
-				</label>
-				<div>
-					<input type="file" name="tempFile" id="tempFile"/>
-					<div class="caption"><xsl:value-of 
-						select="key('i18n','upload.media.file.caption')" 
-						disable-output-escaping="yes"/></div>
-				</div>
-			</div>
-			<div>
-				<label for="collectionId">
-					<xsl:value-of select="key('i18n','collection.displayName')"/>
-				</label>
-				<div>
-					<select name="collectionId" id="collectionId">
-						<xsl:apply-templates select="$aux/m:model/m:collection"/>
-					</select>
-				</div>
-			</div>
-			<div>
-				<label for="mediaTz">
-					<xsl:if test="$err[@field='mediaTz']">
-						<xsl:attribute name="class">error</xsl:attribute>
-					</xsl:if>
-					<xsl:value-of select="key('i18n','upload.media.timeZone.displayName')"/>
-				</label>
-				<div>
-					<select name="mediaTz" id="mediaTz">
-						<xsl:for-each select="$aux/m:model/m:time-zone">
-							<option value="{@code}">
-								<xsl:if test="$form.mediaTz = @code">
-									<xsl:attribute name="selected">
-										<xsl:text>selected</xsl:text>
-									</xsl:attribute>
-								</xsl:if>
-								<xsl:value-of select="@name"/>
-							</option>
-						</xsl:for-each>
-					</select>
-					<div class="caption">
-						<xsl:value-of select="key('i18n','upload.media.timeZone.caption')"/>
-					</div>
-				</div>
-			</div>
-			<div>
-				<label for="localTz">
-					<xsl:if test="$err[@field='localTz']">
-						<xsl:attribute name="class">error</xsl:attribute>
-					</xsl:if>
-					<xsl:value-of select="key('i18n','upload.media.localTimeZone.displayName')"/>
-				</label>
-				<div>
-					<select name="localTz" id="localTz">
-						<xsl:for-each select="$aux/m:model/m:time-zone">
-							<option value="{@code}">
-								<xsl:if test="$form.localTz = @code">
-									<xsl:attribute name="selected">
-										<xsl:text>selected</xsl:text>
-									</xsl:attribute>
-								</xsl:if>
-								<xsl:value-of select="@name"/>
-							</option>
-						</xsl:for-each>
-					</select>
-					<div class="caption">
-						<xsl:value-of select="key('i18n','upload.media.localTimeZone.caption')"/>
-					</div>
-				</div>
-			</div>
-			<div>
-				<label for="autoAlbum">
-					<xsl:if test="$err[@field='autoAlbum']">
-						<xsl:attribute name="class">error</xsl:attribute>
-					</xsl:if>
-					<xsl:value-of select="key('i18n','upload.media.autoAlbum.displayName')"/>
-				</label>
-				<div>
-					<input type="checkbox" name="autoAlbum" id="autoAlbum" value="true"/>
-					<div class="caption">
-						<xsl:value-of select="key('i18n','upload.media.autoAlbum.caption')"/>
-					</div>
-				</div>
-			</div>
-			<div class="submit">
-				<input type="submit" value="{key('i18n','add.displayName')}"/>
-			</div>
-		</form>
-	</xsl:template>
-	
-	<xsl:template match="m:collection">
-		<option value="{@collection-id}">
-			<xsl:if test="$form.collectionId = @collection-id">
-				<xsl:attribute name="selected">
-					<xsl:text>selected</xsl:text>
-				</xsl:attribute>
-			</xsl:if>
-			<xsl:value-of select="@name"/>
-		</option>
-	</xsl:template>
-	
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/upload-media.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-	xmlns:m="http://msqr.us/xsd/matte"
-	xmlns:xweb="http://msqr.us/xsd/jaxb-web"
-	exclude-result-prefixes="m xweb">
-	
-    <!-- imports -->
-	<xsl:import href="default-layout.xsl"/>
-	<xsl:import href="upload-media-form.xsl"/>
-
-        
-	<!-- helper vars -->
-	<xsl:variable name="form.collectionId" 
-		select="xweb:x-data/xweb:x-auxillary[1]/xweb:x-param[@key='collectionId']"/>
-	<xsl:variable name="form.localTz" 
-		select="xweb:x-data/xweb:x-auxillary[1]/xweb:x-param[@key='localTz']"/>
-	<xsl:variable name="form.mediaTz" 
-		select="xweb:x-data/xweb:x-auxillary[1]/xweb:x-param[@key='mediaTz']"/>
-	
-	<xsl:template match="xweb:x-data" mode="page-title">
-		<xsl:value-of select="key('i18n','upload.media.title')"/>
-	</xsl:template>
-	
-	<xsl:template match="xweb:x-data" mode="page-body-class">
-		<xsl:text>no-sub-nav</xsl:text>
-	</xsl:template>
-	
-	<xsl:template match="xweb:x-data" mode="page-main-nav">
-		<xsl:call-template name="main-nav">
-			<xsl:with-param name="page" select="'upload'"/>
-		</xsl:call-template>
-	</xsl:template>	
-	
-	<xsl:template match="xweb:x-data" mode="page-body">
-		<xsl:apply-templates select="." mode="add-media-form"/>
-		<script type="text/javascript" xml:space="preserve">
-			<xsl:comment>
-			document.forms[0].elements['tempFile'].focus();
-			//</xsl:comment>
-		</script>
-	</xsl:template>
-	
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/util.xsl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
-	xmlns:xweb="http://msqr.us/xsd/jaxb-web"
-	exclude-result-prefixes="xweb">
-	
-	<!--
-		Named Template: javascript-string
-		
-		Replace occurances of " in a string with \".
-		
-		Parameters:
-			output-string	- the text to seach/replace in
-	-->
-	<xsl:template name="javascript-string">
-		<xsl:param name="output-string"/>
-		<xsl:call-template name="global-replace">
-			<xsl:with-param name="output-string" select="$output-string"/>
-			<xsl:with-param name="target"><xsl:text>"</xsl:text></xsl:with-param>
-			<xsl:with-param name="replacement"><xsl:text>\"</xsl:text></xsl:with-param>
-		</xsl:call-template>
-	</xsl:template>
-	
-	<!--
-		Named Template: single-quote-string
-		
-		Replace occurances of ' in a string with \'.
-		
-		Parameters:
-			output-string	- the text to seach/replace in
-	-->
-	<xsl:template name="single-quote-string">
-		<xsl:param name="output-string"/>
-		<xsl:call-template name="global-replace">
-			<xsl:with-param name="output-string" select="$output-string"/>
-			<xsl:with-param name="target"><xsl:text>'</xsl:text></xsl:with-param>
-			<xsl:with-param name="replacement"><xsl:text>\'</xsl:text></xsl:with-param>
-		</xsl:call-template>
-	</xsl:template>
-	
-	<!--
-		Named Template: escape-string
-		
-		Replace occurances of a string with that string preceeded by a '\' 
-		character.
-		
-		Parameters:
-			output-string	- the text to seach/replace in
-			target			- the text to search for
-	-->
-	<xsl:template name="escape-string">
-		<xsl:param name="output-string"/>
-		<xsl:param name="target"/>
-		<xsl:call-template name="global-replace">
-			<xsl:with-param name="output-string" select="$output-string"/>
-			<xsl:with-param name="target" select="$target"/>
-			<xsl:with-param name="replacement">
-				<xsl:text>\</xsl:text>
-				<xsl:value-of select="$target"/>
-			</xsl:with-param>
-		</xsl:call-template>
-	</xsl:template>
-	
-	<!--
-		Named Template: global-replace
-		
-		Replace occurances of one string with another.
-		
-		Parameters:
-			output-string	- the text to seach/replace in
-			target			- the text to search for
-			replacement		- the text to replace occurances of 'target' with
-	-->
-	<xsl:template name="global-replace">
-		<xsl:param name="output-string"/>
-		<xsl:param name="target"/>
-		<xsl:param name="replacement"/>
-		<xsl:choose>
-			<xsl:when test="contains($output-string,$target)">
-
-				<xsl:value-of select=
-					"concat(substring-before($output-string,$target), $replacement)"/>
-				<xsl:call-template name="global-replace">
-					<xsl:with-param name="output-string" 
-						 select="substring-after($output-string,$target)"/>
-					<xsl:with-param name="target" select="$target"/>
-					<xsl:with-param name="replacement" 
-						 select="$replacement"/>
-				</xsl:call-template>
-			</xsl:when>
-			<xsl:otherwise>
-				<xsl:value-of select="$output-string"/>
-			</xsl:otherwise>
-		</xsl:choose>
-	</xsl:template>
-	
-	<!--
-		Named Template: truncate-at-word
-		
-		Truncate a string at a word break (space). If the input text
-		is shorter than max-length the text is returned unchanged.
-		Otherwise the text is truncated at the max-length plus any 
-		characters up to the next space, and a ellipsis character is
-		appended.
-		
-		Parameters:
-			text       - the text to truncate
-			max-length - the maximum number of characters to allow
-	-->
-	<xsl:template name="truncate-at-word">
-		<xsl:param name="text"/>
-		<xsl:param name="max-length">350</xsl:param>
-		<xsl:choose>
-			<xsl:when test="string-length($text) &lt; $max-length">
-				<xsl:value-of select="$text" disable-output-escaping="yes"/>
-			</xsl:when>
-			<xsl:otherwise>
-				<xsl:variable name="start" select="substring($text,1,$max-length)"/>
-				<xsl:variable name="after" select="substring($text,($max-length+1))"/>
-				<xsl:variable name="word" select="substring-before($after,' ')"/>
-				<xsl:value-of select="$start" disable-output-escaping="yes"/>
-				<xsl:value-of select="$word" disable-output-escaping="yes"/>
-				<xsl:text>&#x2026;</xsl:text>
-			</xsl:otherwise>
-		</xsl:choose>
-	</xsl:template>
-	
-
-</xsl:stylesheet>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/util/DOMUtil.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform.util;
-
-import java.io.InputStream;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.transform.Result;
-import javax.xml.transform.Source;
-import javax.xml.transform.dom.DOMResult;
-import javax.xml.transform.dom.DOMSource;
-
-import org.testng.Assert;
-import org.w3c.dom.Document;
-
-public class DOMUtil extends TransformerUtil {
-
-    DocumentBuilder docBuilder = null;
-
-    private static DOMUtil instance = null;
-
-    /** Creates a new instance of DOMUtil */
-    private DOMUtil() throws Exception {
-        if (docBuilder == null)
-            docBuilder = getDomParser();
-    }
-
-    public static synchronized DOMUtil getInstance() throws Exception {
-        if (instance == null)
-            instance = new DOMUtil();
-        return instance;
-    }
-
-    public Source prepareSource(InputStream is) throws Exception {
-        docBuilder.reset();
-        Document doc1 = docBuilder.parse(is);
-        return new DOMSource(doc1);
-    }
-
-    public Result prepareResult() {
-        Document target = docBuilder.newDocument();
-        return new DOMResult(target);
-    }
-
-    public void checkResult(Result result, String version) {
-        String resultVersion = ((Document) ((DOMResult) result).getNode()).getXmlVersion();
-        Assert.assertTrue(version.equals(resultVersion), "Expected XML Version is 1.1, but actual version " + resultVersion);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/util/SAXUtil.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform.util;
-
-import java.io.InputStream;
-
-import javax.xml.transform.Result;
-import javax.xml.transform.Source;
-import javax.xml.transform.VersionDefaultHandler;
-import javax.xml.transform.sax.SAXResult;
-import javax.xml.transform.sax.SAXSource;
-
-import org.testng.Assert;
-import org.xml.sax.InputSource;
-
-public class SAXUtil extends TransformerUtil {
-
-    private static SAXUtil instance = null;
-
-    /** Creates a new instance of SAXUtil */
-    private SAXUtil() {
-
-    }
-
-    public static synchronized SAXUtil getInstance() throws Exception {
-        if (instance == null)
-            instance = new SAXUtil();
-        return instance;
-    }
-
-    public Source prepareSource(InputStream is) throws Exception {
-        return new SAXSource(new InputSource(is));
-    }
-
-    public Result prepareResult() throws Exception {
-        VersionDefaultHandler dh = new VersionDefaultHandler();
-        return new SAXResult(dh);
-    }
-
-    public void checkResult(Result result, String inputVersion) throws Exception {
-        String version = ((VersionDefaultHandler) ((SAXResult) result).getHandler()).getVersion();
-        Assert.assertTrue(inputVersion.equals(version), "Expected XML Version is 1.1, but actual version " + version);
-    }
-
-    public void checkResult(Result result, String inputVersion, String encoding) throws Exception {
-        checkResult(result, inputVersion);
-        String resultEncoding = ((VersionDefaultHandler) ((SAXResult) result).getHandler()).getEncoding();
-        Assert.assertTrue(encoding.equals(resultEncoding), "Expected XML Version is " + encoding + " , but actual  encoding " + resultEncoding);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/util/StAXUtil.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,93 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform.util;
-
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.InputStream;
-
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamWriter;
-import javax.xml.transform.Result;
-import javax.xml.transform.Source;
-import javax.xml.transform.TransformerUtilFactory;
-import javax.xml.transform.VersionEventWriter;
-import javax.xml.transform.stax.StAXResult;
-import javax.xml.transform.stax.StAXSource;
-
-import org.testng.Assert;
-
-public class StAXUtil extends TransformerUtil {
-
-    private static StAXUtil instance = null;
-
-    /** Creates a new instance of StAXUtil */
-    private StAXUtil() {
-    }
-
-    public static synchronized StAXUtil getInstance() throws Exception {
-        if (instance == null)
-            instance = new StAXUtil();
-        return instance;
-    }
-
-    public Source prepareSource(InputStream is) throws Exception {
-        XMLEventReader reader = XMLInputFactory.newInstance().createXMLEventReader(is);
-        return new StAXSource(reader);
-    }
-
-    public Result prepareResult() throws Exception {
-        VersionEventWriter writer = new VersionEventWriter();
-        return new StAXResult(writer);
-    }
-
-    public void checkResult(Result staxResult, String version) throws Exception {
-        VersionEventWriter writer = (VersionEventWriter) ((StAXResult) staxResult).getXMLEventWriter();
-        Assert.assertTrue(writer.getVersion().equals(version), "Expected XML Version is 1.1, but actual version " + writer.getVersion());
-    }
-
-    public void checkResult(Result staxResult, String version, String encoding) throws Exception {
-        VersionEventWriter writer = (VersionEventWriter) ((StAXResult) staxResult).getXMLEventWriter();
-        Assert.assertTrue(writer.getVersion().equals(version), "Expected XML Version is 1.1, but actual version " + writer.getVersion());
-        Assert.assertTrue(writer.getEncoding().equals(encoding), "Expected encoding is " + encoding + ", but actual encoding " + writer.getEncoding());
-    }
-
-    public Source prepareStreamSource(InputStream is) throws Exception {
-        XMLStreamReader reader = XMLInputFactory.newInstance().createXMLStreamReader(is);
-        return new StAXSource(reader);
-    }
-
-    public Result prepareStreamResult() throws Exception {
-        XMLStreamWriter writer = XMLOutputFactory.newInstance().createXMLStreamWriter(new FileOutputStream(TEMP_FILE));
-        return new StAXResult(writer);
-    }
-
-    public void checkStreamResult(Result staxResult, String version) throws Exception {
-        ((StAXResult) staxResult).getXMLStreamWriter().close();
-        ((StreamUtil) TransformerUtilFactory.getUtil(TransformerUtilFactory.STREAM)).checkStream(new FileInputStream(TEMP_FILE), version);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/util/StreamUtil.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,91 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform.util;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.InputStream;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.Result;
-import javax.xml.transform.Source;
-import javax.xml.transform.VersionDefaultHandler;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.w3c.dom.Document;
-
-public class StreamUtil extends TransformerUtil {
-
-    DocumentBuilder docBuilder = null;
-
-    private static StreamUtil instance = null;
-
-    /** Creates a new instance of StreamUtil */
-    private StreamUtil() throws Exception {
-        if (docBuilder == null)
-            docBuilder = getDomParser();
-    }
-
-    public static synchronized StreamUtil getInstance() throws Exception {
-        if (instance == null)
-            instance = new StreamUtil();
-        return instance;
-    }
-
-    public Source prepareSource(InputStream is) throws Exception {
-        return new StreamSource(is);
-    }
-
-    public Result prepareResult() throws Exception {
-        FileOutputStream fos = new FileOutputStream(TEMP_FILE);
-        return new StreamResult(fos);
-    }
-
-    public void checkResult(Result result, String inputVersion) throws Exception {
-        ((StreamResult) result).getOutputStream().close();
-        FileInputStream fis = new FileInputStream(TEMP_FILE);
-        checkStream(fis, inputVersion);
-    }
-
-    public void checkStream(FileInputStream fis, String inputVersion) throws Exception {
-        docBuilder.reset();
-        Document output = docBuilder.parse(fis);
-        String version = output.getXmlVersion();
-        Assert.assertTrue(inputVersion.equals(version), "Expected XML Version is 1.1, but actual version " + version);
-    }
-
-    public void checkResult(Result result, String version, String encoding) throws Exception {
-        // use sax parser, as encoding info cannot be set on DOM document
-        SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
-        VersionDefaultHandler dh = new VersionDefaultHandler();
-        parser.parse(new File(TEMP_FILE), dh);
-        Assert.assertTrue(dh.getVersion().equals(version), "Expected version is " + version + " actual version " + dh.getVersion());
-        Assert.assertTrue(dh.getEncoding().equals(encoding), "Expected version is " + encoding + " actual version " + dh.getEncoding());
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/util/TransformerUtil.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.transform.util;
-
-import java.io.InputStream;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.transform.Result;
-import javax.xml.transform.Source;
-
-public abstract class TransformerUtil {
-
-    protected String type;
-
-    protected final String TEMP_FILE = "tmp.xml";
-
-    public abstract Source prepareSource(InputStream is) throws Exception;
-
-    public abstract Result prepareResult() throws Exception;
-
-    public abstract void checkResult(Result result, String version) throws Exception;
-
-    public void checkResult(Result result, String version, String encoding) throws Exception {
-        checkResult(result, version);
-    }
-
-    public DocumentBuilder getDomParser() throws Exception {
-        DocumentBuilderFactory docBF = DocumentBuilderFactory.newInstance();
-        return docBF.newDocumentBuilder();
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/6773084.policy	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-grant {
-	permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
-	permission java.lang.RuntimePermission "accessDeclaredMembers";
-	
-	permission java.io.FilePermission "${test.classes}/../../-", "read, write, delete";
-	permission java.io.FilePermission ".", "read, write, delete";
-	permission java.util.PropertyPermission "*", "read, write";
-	
-    permission java.lang.RuntimePermission "setSecurityManager";
-    permission java.lang.RuntimePermission "createSecurityManager";
-    permission java.lang.RuntimePermission "createClassLoader";
-    permission java.lang.RuntimePermission "setIO";
-	permission java.lang.RuntimePermission "setContextClassLoader"; 
-	permission java.security.SecurityPermission "getPolicy";
-    
-    permission java.io.FilePermission "${test.src}/-", "read, write, delete";
-    permission java.io.FilePermission "${user.dir}/-", "read, write, delete";
-    permission java.io.FilePermission "${java.io.tmpdir}/-", "read, write, delete";
-    
-    
-    permission java.lang.RuntimePermission "modifyThread";
-
-};
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/AnyElementTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-/*
- * Copyright (c) 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 javax.xml.validation;
-
-/*
- * @bug 8080907
- * @summary Test processContents attribute of any element
- */
-import static javax.xml.XMLConstants.W3C_XML_SCHEMA_NS_URI;
-
-import java.net.URISyntaxException;
-
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.annotations.BeforeClass;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-public class AnyElementTest {
-    @BeforeClass
-    public void setup() throws URISyntaxException, SAXException {
-        validator = SchemaFactory.newInstance(W3C_XML_SCHEMA_NS_URI).newSchema(new StreamSource(getUri("ProcessContents.xsd"))).newValidator();
-    }
-
-    /*
-     * processContents attribute - Specifies how the XML processor should handle
-     * validation against the elements specified by this any element. Can be set
-     * to one of the following:
-     * strict - the XML processor must obtain the schema for the required
-     * namespaces and validate the elements (this is default)
-     * lax - same as strict, but if the schema cannot be obtained, no errors
-     * will occur
-     * skip - The XML processor does not attempt to validate any elements from
-     * the specified namespaces
-     */
-    @Test
-    public void testProcessContents() throws Exception {
-        validator.validate(new StreamSource(getUri("ProcessContents-ok.xml")));
-    }
-
-    /*
-     * When processContents="lax", validation will be performed when the element
-     * is declared in the schema.
-     */
-    @Test(expectedExceptions = SAXParseException.class)
-    public void testProcessContentsLax() throws Exception {
-        validator.validate(new StreamSource(getUri("ProcessContents-lax-error.xml")));
-    }
-
-    /*
-     * Get the URI of the file, which is in the same path as this class
-     */
-    private String getUri(String fileName) throws URISyntaxException {
-        return this.getClass().getResource(fileName).toURI().toASCIIString();
-    }
-
-    private Validator validator;
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4966232.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.sax.SAXSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.xml.sax.InputSource;
-
-/*
- * @bug 4966232
- * @summary Test SchemaFactory.newSchema(Source) returns a Schema instance for DOMSource & SAXSource.
- */
-public class Bug4966232 {
-
-    // test for W3C XML Schema 1.0 - newSchema(Source schema)
-    // supports and return a valid Schema instance
-    // SAXSource - valid schema
-
-    @Test
-    public void testSchemaFactory01() throws Exception {
-        SchemaFactory sf = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-        InputSource is = new InputSource(Bug4966232.class.getResourceAsStream("test.xsd"));
-        SAXSource ss = new SAXSource(is);
-        Schema s = sf.newSchema(ss);
-        Assert.assertNotNull(s);
-    }
-
-    // test for W3C XML Schema 1.0 - newSchema(Source schema)
-    // supports and return a valid Schema instance
-    // DOMSource - valid schema
-
-    @Test
-    public void testSchemaFactory02() throws Exception {
-        Document doc = null;
-        SchemaFactory sf = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        doc = dbf.newDocumentBuilder().parse(Bug4966232.class.getResource("test.xsd").toExternalForm());
-        DOMSource ds = new DOMSource(doc);
-        Schema s = sf.newSchema(ds);
-        Assert.assertNotNull(s);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4966254.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.Validator;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-import util.DraconianErrorHandler;
-
-/*
- * @bug 4966254
- * @summary Test validate(StreamSource) & validate(StreamSource,null) works instead of throws IOException.
- */
-public class Bug4966254 {
-
-    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 testValidator01() throws Exception {
-        getValidator().validate(getInstance());
-    }
-
-    @Test
-    public void testValidator02() throws Exception {
-        getValidator().validate(getInstance(), null);
-    }
-
-    private StreamSource getInstance() {
-        return new StreamSource(Bug4966254.class.getResource(("Bug4966254.xml")).toExternalForm());
-    }
-
-    private Validator getValidator() throws SAXException {
-        Schema s = getSchema();
-        Validator v = s.newValidator();
-        Assert.assertNotNull(v);
-        v.setErrorHandler(new DraconianErrorHandler());
-        return v;
-    }
-
-    private Schema getSchema() throws SAXException {
-        SchemaFactory sf = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-        Schema s = sf.newSchema(Bug4966254.class.getResource("Bug4966254.xsd"));
-        Assert.assertNotNull(s);
-        return s;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4966254.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version='1.0'?>
-<test6 xmlns="testNS" attr="x"><code/></test6>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4966254.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?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>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969042.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,107 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.IOException;
-import java.io.StringReader;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.ValidatorHandler;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 4969042
- * @summary Test ValidationHandler shall invoke ignorableWhitespace() of the
- * user-defined ContentHandler once the validator detects any ignorable whitespaces.
- */
-public class Bug4969042 {
-
-    public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test'\n"
-            + "        targetNamespace='jaxp13_test'\n" + "        elementFormDefault='qualified'>\n" + "    <element name='test'>\n"
-            + "        <complexType>\n" + "            <sequence>\n" + "                <element name='child' type='string'/>\n" + "            </sequence>\n"
-            + "        </complexType>\n" + "    </element>\n" + "</schema>\n";
-
-    public static final String XML = "<?xml version='1.0'?>\n" + "<ns:test xmlns:ns='jaxp13_test'>\n" + "  <ns:child>\n" + "      123abc\n" + "  </ns:child>\n"
-            + "</ns:test>\n";
-
-    private ValidatorHandler createValidatorHandler(String xsd) throws SAXException {
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-        StringReader reader = new StringReader(xsd);
-        StreamSource xsdSource = new StreamSource(reader);
-
-        Schema schema = schemaFactory.newSchema(xsdSource);
-        return schema.newValidatorHandler();
-    }
-
-    private XMLReader createXMLReader() throws ParserConfigurationException, SAXException {
-        SAXParserFactory parserFactory = SAXParserFactory.newInstance();
-        if (!parserFactory.isNamespaceAware()) {
-            parserFactory.setNamespaceAware(true);
-        }
-
-        return parserFactory.newSAXParser().getXMLReader();
-    }
-
-    private void parse(XMLReader xmlReader, String xml) throws SAXException, IOException {
-        StringReader reader = new StringReader(xml);
-        InputSource inSource = new InputSource(reader);
-
-        xmlReader.parse(inSource);
-    }
-
-    @Test
-    public void test() throws SAXException, ParserConfigurationException, IOException {
-        XMLReader xmlReader = createXMLReader();
-        ValidatorHandler validatorHandler = createValidatorHandler(XSD);
-        xmlReader.setContentHandler(validatorHandler);
-
-        final boolean[] invoked = { false, false };
-        DefaultHandler contentHandler = new DefaultHandler() {
-            public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException {
-                invoked[0] = true;
-            }
-
-            public void characters(char[] ch, int start, int length) throws SAXException {
-                invoked[1] = true;
-            }
-        };
-        validatorHandler.setContentHandler(contentHandler);
-
-        parse(xmlReader, XML);
-
-        Assert.assertTrue(invoked[0], "Method ignorableWhitespace() was not invoked.");
-        Assert.assertTrue(invoked[1], "Method characters() was not invoked.");
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969089.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,72 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.StringReader;
-
-import javax.xml.transform.Source;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 4969089
- * @summary Test when an ErrorHandler is set for a SchemaFactory, SchemaFactory.newSchema(Source[])
- * method throws an exception that is not equal to the exception thrown from the ErrorHandler.
- */
-public class Bug4969089 {
-
-    @Test
-    public void test1() {
-        String xsd1 = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test1'\n"
-                + "        targetNamespace='jaxp13_test1'\n" + "        elementFormDefault='qualified'>\n" + "    <element name='test'>\n" + "</schema>\n";
-
-        final SAXException EUREKA = new SAXException("NewSchema007");
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-        StringReader reader = new StringReader(xsd1);
-        StreamSource source = new StreamSource(reader);
-        DefaultHandler errorHandler = new DefaultHandler() {
-            public void fatalError(SAXParseException unused) throws SAXException {
-                throw EUREKA;
-            }
-
-            public void error(SAXParseException unused) throws SAXException {
-                throw EUREKA;
-            }
-        };
-        schemaFactory.setErrorHandler(errorHandler);
-
-        try {
-            schemaFactory.newSchema(new Source[] { source });
-            Assert.fail("SAXException was not thrown.");
-        } catch (SAXException e) {
-            Assert.assertSame(e, EUREKA);
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969110.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.ValidatorHandler;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXNotRecognizedException;
-
-/*
- * @bug 4969110
- * @summary Test ValidationHandler.set/getProperty() throws a correct exception
- * instead of a sun internal exception in case the "property name" parameter is invalid.
- */
-public class Bug4969110 {
-
-    SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-    @Test
-    public void test1() throws SAXException {
-        try {
-            ValidatorHandler validatorHandler = schemaFactory.newSchema().newValidatorHandler();
-            validatorHandler.getProperty("unknown1234");
-            Assert.fail("SAXNotRecognizedException was not thrown.");
-        } catch (SAXNotRecognizedException e) {
-        }
-    }
-
-    @Test
-    public void test2() throws SAXException {
-        try {
-            doTest(null);
-            Assert.fail("NullPointerException was not thrown.");
-        } catch (NullPointerException e) {
-        }
-    }
-
-    @Test
-    public void test3() throws SAXException {
-        try {
-            doTest("unknown1234");
-            Assert.fail("SAXNotRecognizedException was not thrown.");
-        } catch (SAXNotRecognizedException e) {
-        }
-    }
-
-    public void doTest(String name) throws SAXException {
-        ValidatorHandler validatorHandler = schemaFactory.newSchema().newValidatorHandler();
-        validatorHandler.setProperty(name, "123");
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969689.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXNotRecognizedException;
-import org.xml.sax.SAXNotSupportedException;
-
-
-/*
- * @bug 4969689
- * @summary Test SchemaFactory.get/setFeature() throw NullPointerException
- * instead of SAXNotRecognizedException in case the "feature name" parameter is null.
- */
-public class Bug4969689 {
-
-    SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-    @Test
-    public void test01() throws SAXNotRecognizedException, SAXNotSupportedException {
-        try {
-            schemaFactory.getFeature(null);
-            Assert.fail("exception expected");
-        } catch (NullPointerException e) {
-            ; // expected
-        }
-    }
-
-    @Test
-    public void test() throws SAXNotRecognizedException, SAXNotSupportedException {
-        try {
-            schemaFactory.setFeature(null, false);
-            Assert.fail("exception expected");
-        } catch (NullPointerException e) {
-            ; // as expected
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969692.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.Validator;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 4969692
- * @summary Test Validator.get/setFeature() throw NullPointerException
- * instead of SAXNotRecognizedException in case the "feature name" parameter is null.
- */
-public class Bug4969692 {
-
-    SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-    @Test
-    public void test01() throws SAXException {
-        Validator validator = schemaFactory.newSchema().newValidator();
-        try {
-            validator.getFeature(null);
-            Assert.fail("exception expected");
-        } catch (NullPointerException e) {
-            ;
-        }
-    }
-
-    @Test
-    public void test02() throws SAXException {
-        Validator validator = schemaFactory.newSchema().newValidator();
-        try {
-            validator.setFeature(null, false);
-            Assert.fail("exception expected");
-        } catch (NullPointerException e) {
-            ;
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969693.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.Validator;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 4969693
- * @summary Test Validator.get/setProperty() throw NullPointerException
- * instead of SAXNotRecognizedException in case the "property name" parameter is null.
- */
-public class Bug4969693 {
-
-    SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-    @Test
-    public void test01() throws SAXException {
-        Validator validator = schemaFactory.newSchema().newValidator();
-        try {
-            validator.getProperty(null);
-            Assert.fail("exception expected");
-        } catch (NullPointerException e) {
-            ;
-        }
-    }
-
-    @Test
-    public void test02() throws SAXException {
-        Validator validator = schemaFactory.newSchema().newValidator();
-        try {
-            validator.setProperty(null, "abc");
-            Assert.fail("exception expected");
-        } catch (NullPointerException e) {
-            ;
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969695.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXNotRecognizedException;
-import org.xml.sax.SAXNotSupportedException;
-
-/*
- * @bug 4969695
- * @summary Test SchemaFactory.get/setProperty() throw NullPointerException
- * instead of SAXNotRecognizedException in case the "property name" parameter is null.
- */
-public class Bug4969695 {
-
-    SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-    @Test
-    public void test01() throws SAXNotRecognizedException, SAXNotSupportedException {
-        try {
-            schemaFactory.getProperty(null);
-            Assert.fail("exception expected");
-        } catch (NullPointerException e) {
-            ; // expected
-        }
-    }
-
-    @Test
-    public void test() throws SAXNotRecognizedException, SAXNotSupportedException {
-        try {
-            schemaFactory.setProperty(null, "123");
-            Assert.fail("exception expected");
-        } catch (NullPointerException e) {
-            ; // as expected
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969732.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,108 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.StringReader;
-
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.TypeInfoProvider;
-import javax.xml.validation.ValidatorHandler;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 4969732
- * @summary Test TypeInfoProvider.getElementTypeInfo() throws IllegalStateException
- * in case the method is not called from method startElement() or endElement().
- */
-public class Bug4969732 {
-
-    public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test'\n"
-            + "        targetNamespace='jaxp13_test'\n" + "        elementFormDefault='qualified'>\n" + "    <element name='test' type='string'/>\n"
-            + "</schema>\n";
-
-    public static final String XML = "<?xml version='1.0'?>\n" + "<ns:test xmlns:ns='jaxp13_test'>1234abc</ns:test>\n";
-
-    private ValidatorHandler createValidatorHandler(String xsd) throws SAXException {
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-        StringReader reader = new StringReader(xsd);
-        StreamSource xsdSource = new StreamSource(reader);
-
-        Schema schema = schemaFactory.newSchema(xsdSource);
-        return schema.newValidatorHandler();
-    }
-
-    private XMLReader createXMLReader() throws Exception {
-        SAXParserFactory parserFactory = SAXParserFactory.newInstance();
-        parserFactory.setNamespaceAware(true);
-
-        return parserFactory.newSAXParser().getXMLReader();
-    }
-
-    private void parse(XMLReader xmlReader, String xml) throws Exception {
-        StringReader reader = new StringReader(xml);
-        InputSource inSource = new InputSource(reader);
-
-        xmlReader.parse(inSource);
-    }
-
-    @Test
-    public void test1() throws Exception {
-        XMLReader xmlReader = createXMLReader();
-        final ValidatorHandler validatorHandler = createValidatorHandler(XSD);
-        xmlReader.setContentHandler(validatorHandler);
-
-        DefaultHandler handler = new DefaultHandler() {
-            public void characters(char[] ch, int start, int length) throws SAXException {
-                TypeInfoProvider infoProvider = null;
-                synchronized (validatorHandler) {
-                    infoProvider = validatorHandler.getTypeInfoProvider();
-                }
-                if (infoProvider == null) {
-                    Assert.fail("Can't obtain TypeInfo object.");
-                }
-
-                try {
-                    infoProvider.getElementTypeInfo();
-                    Assert.fail("IllegalStateException was not thrown.");
-                } catch (IllegalStateException e) {
-                    // as expected
-                    System.out.println("OK");
-                }
-            }
-        };
-        validatorHandler.setContentHandler(handler);
-
-        parse(xmlReader, XML);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4970380.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.ValidatorHandler;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXNotRecognizedException;
-
-/*
- * @bug 4970380
- * @summary Test validatorHandler.getFeature(...) with unknown name and "http://xml.org/sax/features/namespace-prefixes".
- */
-public class Bug4970380 {
-
-    @Test
-    public void test1() throws Exception {
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-        ValidatorHandler validatorHandler = schemaFactory.newSchema().newValidatorHandler();
-
-        try {
-            validatorHandler.getFeature("unknown1234");
-            Assert.fail("SAXNotRecognizedException was not thrown.");
-        } catch (SAXNotRecognizedException e) {
-            ; // expected
-        }
-
-        if (!validatorHandler.getFeature("http://xml.org/sax/features/namespace-prefixes")) {
-            // as expected
-            System.out.println("getFeature(namespace-prefixes): OK");
-        } else {
-            Assert.fail("Expected false, returned true.");
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4970383.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.ValidatorHandler;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 4970383
- * @summary Test validatorHandler.setFeature throws NullPointerException if name parameter is null.
- */
-public class Bug4970383 {
-
-    @Test
-    public void test() throws Exception {
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-        ValidatorHandler validatorHandler = schemaFactory.newSchema().newValidatorHandler();
-        try {
-            validatorHandler.setFeature(null, false);
-            Assert.fail("should report an error");
-        } catch (NullPointerException e) {
-            ; // expected
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4970400.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.ValidatorHandler;
-
-import org.testng.annotations.Test;
-
-/*
- * @bug 4970400
- * @summary Test ValidatorHandler recognizes namespace-prefixes feature.
- */
-public class Bug4970400 {
-
-    @Test
-    public void test1() throws Exception {
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-        ValidatorHandler validatorHandler = schemaFactory.newSchema().newValidatorHandler();
-        validatorHandler.setFeature("http://xml.org/sax/features/namespace-prefixes", false);
-        validatorHandler.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4970402.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,119 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.IOException;
-import java.io.StringReader;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.TypeInfoProvider;
-import javax.xml.validation.ValidatorHandler;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.Attributes;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 4970402
- * @summary Test TypeInfoProvider's attribute accessing methods throw IndexOutOfBoundsException when index parameter is invalid.
- */
-public class Bug4970402 {
-
-    public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test'\n"
-            + "        targetNamespace='jaxp13_test'\n" + "        elementFormDefault='qualified'>\n" + "    <element name='test'>\n"
-            + "        <complexType>\n" + "            <sequence>\n" + "                <element name='child' type='string'/>\n" + "            </sequence>\n"
-            + "            <attribute name='id' />\n" + "        </complexType>\n" + "    </element>\n" + "</schema>\n";
-
-    public static final String XML = "<?xml version='1.0'?>\n" + "<ns:test xmlns:ns='jaxp13_test' id='2003-12-02'>\n" + "  <ns:child>123abc</ns:child>\n"
-            + "</ns:test>\n";
-
-    private ValidatorHandler createValidatorHandler(String xsd) throws SAXException {
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-        StringReader reader = new StringReader(xsd);
-        StreamSource xsdSource = new StreamSource(reader);
-
-        Schema schema = schemaFactory.newSchema(xsdSource);
-        return schema.newValidatorHandler();
-    }
-
-    private XMLReader createXMLReader() throws ParserConfigurationException, SAXException {
-        SAXParserFactory parserFactory = SAXParserFactory.newInstance();
-        parserFactory.setNamespaceAware(true);
-        return parserFactory.newSAXParser().getXMLReader();
-    }
-
-    private void parse(XMLReader xmlReader, String xml) throws SAXException, IOException {
-        StringReader reader = new StringReader(xml);
-        InputSource inSource = new InputSource(reader);
-
-        xmlReader.parse(inSource);
-    }
-
-    @Test
-    public void test() throws Exception {
-        XMLReader xmlReader = createXMLReader();
-        final ValidatorHandler validatorHandler = createValidatorHandler(XSD);
-        xmlReader.setContentHandler(validatorHandler);
-
-        DefaultHandler handler = new DefaultHandler() {
-            public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
-                if (!"ns:test".equals(qName)) {
-                    return;
-                }
-
-                TypeInfoProvider infoProvider = null;
-                synchronized (validatorHandler) {
-                    infoProvider = validatorHandler.getTypeInfoProvider();
-                }
-                Assert.assertTrue(infoProvider != null, "Can't obtain TypeInfoProvider object.");
-
-                try {
-                    infoProvider.getAttributeTypeInfo(-1);
-                    Assert.fail("IndexOutOfBoundsException was not thrown.");
-                } catch (IndexOutOfBoundsException e) {
-                    ; // as expected
-                }
-
-                try {
-                    infoProvider.isIdAttribute(-1);
-                    Assert.fail("IndexOutOfBoundsException was not thrown.");
-                } catch (IndexOutOfBoundsException e) {
-                    ; // as expected
-                }
-            }
-        };
-        validatorHandler.setContentHandler(handler);
-
-        parse(xmlReader, XML);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4970951.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,122 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.IOException;
-import java.io.StringReader;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.TypeInfoProvider;
-import javax.xml.validation.ValidatorHandler;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.Attributes;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 4970951
- * @summary Test TypeInfoProvider.isSpecified(...) return true if the attribute was originally present.
- */
-public class Bug4970951 {
-
-    public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test'\n"
-            + "        targetNamespace='jaxp13_test'\n" + "        elementFormDefault='qualified'>\n" + "    <element name='test'>\n"
-            + "        <complexType>\n" + "            <sequence>\n" + "                <element name='child' type='string'/>\n" + "            </sequence>\n"
-            + "            <attribute name='id' />\n" + "            <attribute name='date' default='2003-12-04'/>\n" + "        </complexType>\n"
-            + "    </element>\n" + "</schema>\n";
-
-    public static final String XML = "<?xml version='1.0'?>\n" + "<ns:test xmlns:ns='jaxp13_test' id='i001'>\n" + "  <ns:child>123abc</ns:child>\n"
-            + "</ns:test>\n";
-
-    private ValidatorHandler createValidatorHandler(String xsd) throws SAXException {
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-        StringReader reader = new StringReader(xsd);
-        StreamSource xsdSource = new StreamSource(reader);
-
-        Schema schema = schemaFactory.newSchema(xsdSource);
-        return schema.newValidatorHandler();
-    }
-
-    private XMLReader createXMLReader() throws ParserConfigurationException, SAXException {
-        SAXParserFactory parserFactory = SAXParserFactory.newInstance();
-        parserFactory.setNamespaceAware(true);
-
-        return parserFactory.newSAXParser().getXMLReader();
-    }
-
-    private void parse(XMLReader xmlReader, String xml) throws SAXException, IOException {
-        StringReader reader = new StringReader(xml);
-        InputSource inSource = new InputSource(reader);
-
-        xmlReader.parse(inSource);
-    }
-
-    @Test
-    public void test() throws Exception {
-        XMLReader xmlReader = createXMLReader();
-        final ValidatorHandler validatorHandler = createValidatorHandler(XSD);
-        xmlReader.setContentHandler(validatorHandler);
-
-        DefaultHandler handler = new DefaultHandler() {
-            public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
-                if (!"ns:test".equals(qName)) {
-                    return;
-                }
-
-                TypeInfoProvider infoProvider = validatorHandler.getTypeInfoProvider();
-                if (infoProvider == null) {
-                    throw new SAXException("Can't obtain TypeInfoProvider object.");
-                }
-
-                int index = attributes.getIndex("id");
-                if (index == -1) {
-                    throw new SAXException("The attribute 'id' is not in the list.");
-                }
-
-                Assert.assertTrue(infoProvider.isSpecified(index));
-
-                index = attributes.getIndex("date");
-                if (index == -1) {
-                    throw new SAXException("The attribute 'date' is not in the list.");
-                }
-
-                Assert.assertFalse(infoProvider.isSpecified(index));
-
-                System.out.println("OK");
-            }
-        };
-        validatorHandler.setContentHandler(handler);
-
-        parse(xmlReader, XML);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4971605.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.StringReader;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.transform.Source;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Node;
-import org.xml.sax.InputSource;
-
-/*
- * @bug 4971605
- * @summary Test SchemaFactory.newSchema(Source) returns a Schema instance for DOMSource.
- */
-public class Bug4971605 {
-
-    @Test
-    public void test1() throws Exception {
-        String xsd = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test1'\n"
-                + "        targetNamespace='jaxp13_test1'\n" + "        elementFormDefault='qualified'>\n" + "    <element name='test'/>\n" + "</schema>\n";
-
-        DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
-        docBuilderFactory.setNamespaceAware(true);
-        DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
-
-        Node document = docBuilder.parse(new InputSource(new StringReader(xsd)));
-        Assert.assertNotNull(document);
-
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-        Schema schema = schemaFactory.newSchema(new Source[] { new DOMSource(document) });
-        Assert.assertNotNull(schema, "Failed: newSchema returned null.");
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4971607.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.ValidatorHandler;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 4971607
- * @summary Test ValidatorHandler.getFeature(...) throws NullPointerException when name parameter is null.
- */
-public class Bug4971607 {
-
-    @Test
-    public void test1() throws Exception {
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-        ValidatorHandler validatorHandler = schemaFactory.newSchema().newValidatorHandler();
-
-        try {
-            validatorHandler.getFeature(null);
-            Assert.fail();
-        } catch (NullPointerException e) {
-            e.printStackTrace();
-            ; // as expected
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4972882.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-import util.DraconianErrorHandler;
-
-/*
- * @bug 4972882
- * @summary Test Validator throws Exception when two identity-constraints are defined with the same {name} and {target namespace}.
- */
-public class Bug4972882 {
-
-    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, Bug4972882.class.getResource("targetNS00101m2_stub.xsd").toExternalForm());
-
-        DocumentBuilder builder = dbf.newDocumentBuilder();
-        builder.setErrorHandler(new DraconianErrorHandler());
-
-        try {
-            builder.parse(Bug4972882.class.getResource("targetNS00101m2_stub.xml").toExternalForm());
-            Assert.fail("failure expected");
-        } catch (SAXException e) {
-            Assert.assertTrue(e.getMessage().indexOf("sch-props-correct.2") != -1);
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4986844.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 4986844
- * @summary Test SchemaFactory can detect particle restriction.
- */
-public class Bug4986844 {
-
-    @Test
-    public void test1() throws Exception {
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-        try {
-            schemaFactory.newSchema(Bug4986844.class.getResource("Bug4986844.xsd"));
-            Assert.fail("should report an error");
-        } catch (SAXException e) {
-            if (e.getMessage().startsWith("rcase-RecurseUnordered.2"))
-                ; // as expected
-            else
-                throw e;
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4986844.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
-            targetNamespace="http://xsdtesting" 
-            xmlns:x="http://xsdtesting">
-	<xsd:complexType name="B">
-		<xsd:all>
-			<xsd:element name="e1" minOccurs="1" maxOccurs="1"/>
-			<xsd:element name="e2" minOccurs="1" maxOccurs="1"/>
-		</xsd:all>
-	</xsd:complexType>
-	<xsd:complexType name="R">
-		<xsd:complexContent>
-			<xsd:restriction base="x:B">
-				<xsd:sequence>
-					<xsd:element name="e1" minOccurs="1" maxOccurs="1"/>
-					<xsd:element name="e2" minOccurs="1" maxOccurs="2"/>
-				</xsd:sequence>
-			</xsd:restriction>
-		</xsd:complexContent>
-	</xsd:complexType>
-	<xsd:element name="doc">
-		<xsd:complexType>
-			<xsd:choice>
-				<xsd:element name="elem" type="x:R"/>
-			</xsd:choice>
-		</xsd:complexType>
-	</xsd:element>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4987574.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-import java.io.FileWriter;
-import java.io.PrintWriter;
-
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.annotations.Test;
-
-/*
- * @bug 4987574
- * @summary Test schemaFactory.newSchema doesn't throw NullPointerExceptio for empty schema.
- */
-public class Bug4987574 {
-
-    @Test
-    public void test1() throws Exception {
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-        File tmpFile = File.createTempFile("jaxpri", "bug");
-        tmpFile.deleteOnExit();
-        {
-            PrintWriter pw = new PrintWriter(new FileWriter(tmpFile));
-            pw.println("<schema xmlns='http://www.w3.org/2001/XMLSchema'/>");
-            pw.close();
-        }
-
-        schemaFactory.newSchema(tmpFile);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988267.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 4988267
- * @summary Test SchemaFactory can detect particle restriction.
- */
-public class Bug4988267 {
-
-    @Test
-    public void test1() throws Exception {
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-        try {
-            schemaFactory.newSchema(Bug4988267.class.getResource("Bug4988267.xsd"));
-            Assert.fail("should report an error");
-        } catch (SAXException e) {
-            if (e.getMessage().startsWith("cos-nonambig"))
-                ; // as expected
-            else
-                throw e;
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988267.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-            targetNamespace="http://xsdtesting">
-  <xsd:element name="foo">
-    <xsd:complexType>
-      <xsd:choice maxOccurs="10">
-        <xsd:any namespace="A" processContents="lax"/>
-        <xsd:any namespace="A"/>
-      </xsd:choice>
-    </xsd:complexType>
-  </xsd:element>
-  
-  <xsd:element name="bar"/>
-
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988268.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.annotations.Test;
-
-/*
- * @bug 4988268
- * @summary Test the schema is valid.
- */
-public class Bug4988268 {
-
-    @Test
-    public void test1() throws Exception {
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-        schemaFactory.newSchema(Bug4988268.class.getResource("Bug4988268.xsd"));
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988268.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
-            targetNamespace="http://xsdtesting" 
-            xmlns:x="http://xsdtesting" 
-            elementFormDefault="qualified">
-        <xsd:group name="G">
-                <xsd:all>
-                        <xsd:element name="a1"/>
-                        <xsd:element name="a2"/>
-                </xsd:all>
-        </xsd:group>
-        <xsd:element name="doc">
-                <xsd:complexType>
-                        <xsd:group ref="x:G" minOccurs="0"/>
-                </xsd:complexType>
-        </xsd:element>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988387.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 4988387
- * @summary Test SchemaFactory can detect invalid XPath expressions.
- */
-public class Bug4988387 {
-
-    @Test
-    public void test1() throws Exception {
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-        try {
-            schemaFactory.newSchema(Bug4988387.class.getResource("Bug4988387.xsd"));
-            Assert.fail("incorrect XPath processed");
-        } catch (SAXException e) {
-            Assert.assertTrue(e.getMessage().startsWith("c-general-xpath"));
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4988387.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-        <xsd:element name="root">
-                <xsd:complexType>
-                        <xsd:sequence>
-                                <xsd:element ref="tid" maxOccurs="unbounded"/>
-                        </xsd:sequence>
-                </xsd:complexType>
-                <xsd:unique name="uid">
-                        <xsd:selector xpath=".//tid"/>
-                        <xsd:field xpath="./ /."/>
-                </xsd:unique>
-        </xsd:element>
-        <xsd:element name="tid" type="xsd:string"/>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4996446.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,86 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.net.URL;
-
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.AfterMethod;
-import org.testng.annotations.BeforeMethod;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 4996446
- * @summary Test SchemaFactory can detect violations of the "Schema Component Constraint: Element Declarations Consistent".
- */
-public class Bug4996446 {
-
-    SchemaFactory schemaFactory = null;
-
-    @BeforeMethod
-    protected void setUp() {
-        schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-    }
-
-    @AfterMethod
-    protected void tearDown() {
-        schemaFactory = null;
-    }
-
-    @Test
-    public void testOne() {
-
-        ErrorHandler errorHandler = new ErrorHandler();
-        schemaFactory.setErrorHandler(errorHandler);
-        URL fileName = Bug4996446.class.getResource("Bug4996446.xsd");
-        try {
-            schemaFactory.newSchema(fileName);
-        } catch (SAXException e) {
-        }
-
-        if (errorHandler.errorCounter == 0) {
-            Assert.fail(" No Errors reported: " + errorHandler.errorCounter);
-        }
-        return;
-    }
-}
-
-class ErrorHandler extends DefaultHandler {
-    public int errorCounter = 0;
-
-    public void error(SAXParseException e) throws SAXException {
-        // System.out.println(e);
-        errorCounter++;
-    }
-
-    public void fatalError(SAXParseException e) throws SAXException {
-        // System.out.println(e);
-        errorCounter++;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4996446.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-        <xsd:element name="doc" type="foo"/>
-        <xsd:complexType name="foo">
-                <xsd:all>
-                        <xsd:element name="e1" type="xsd:string"/>
-                        <xsd:element name="e1" type="bar"/>
-                </xsd:all>
-        </xsd:complexType>
-        <xsd:complexType name="bar">
-                <xsd:sequence>
-                        <xsd:choice>
-                                <xsd:choice>
-                                        <xsd:element name="e1" type="xsd:string"/>
-                                </xsd:choice>
-                        </xsd:choice>
-                </xsd:sequence>
-        </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4997818.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.StringReader;
-
-import javax.xml.transform.Source;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.ls.LSInput;
-import org.w3c.dom.ls.LSResourceResolver;
-
-/*
- * @bug 4997818
- * @summary Test SchemaFactory.newSchema(...) throws an exception, which is thrown from LSResourceResolver.
- */
-
-public class Bug4997818 {
-
-    @Test
-    public void test1() throws Exception {
-        String xsd1 = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test1'\n"
-                + "        targetNamespace='jaxp13_test1'\n" + "        elementFormDefault='qualified'>\n" + "    <import namespace='jaxp13_test2'/>\n"
-                + "    <element name='test'/>\n" + "    <element name='child1'/>\n" + "</schema>\n";
-
-        final NullPointerException EUREKA = new NullPointerException("NewSchema015");
-
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-        StringReader reader = new StringReader(xsd1);
-        StreamSource source = new StreamSource(reader);
-        LSResourceResolver resolver = new LSResourceResolver() {
-            public LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI) {
-                LSInput input;
-                if (namespaceURI != null && namespaceURI.endsWith("jaxp13_test2")) {
-                    throw EUREKA;
-                } else {
-                    input = null;
-                }
-
-                return input;
-            }
-        };
-        schemaFactory.setResourceResolver(resolver);
-
-        try {
-            schemaFactory.newSchema(new Source[] { source });
-            Assert.fail("NullPointerException was not thrown.");
-        } catch (RuntimeException e) {
-            if (e != EUREKA)
-                throw e;
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug5011500.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,104 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.ByteArrayInputStream;
-import java.io.InputStreamReader;
-
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.Validator;
-import javax.xml.validation.ValidatorHandler;
-
-import org.testng.annotations.BeforeMethod;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 5011500
- * @summary Test ValidatorHanlder and Validator can work for the xml document.
- */
-public class Bug5011500 {
-
-    public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test'\n"
-            + "        targetNamespace='jaxp13_test'>\n" + "    <element name='test'>\n" + "        <complexType>\n" + "            <sequence>\n"
-            + "                <element name='child' type='string'/>\n" + "            </sequence>\n" + "            <attribute name='id' type='ID'/>\n"
-            + "        </complexType>\n" + "    </element>\n" + "</schema>\n";
-
-    public static final String XML = "<?xml version='1.0'?>\n" + "<?test v01?>\n" + "<ns:test xmlns:ns='jaxp13_test' id='i001'>\n"
-            + "  <child>123abc</child>\n" + "</ns:test>\n";
-
-    private ValidatorHandler validatorHandler;
-    private Validator validator;
-
-    private XMLReader createXMLReader() throws Exception {
-        SAXParserFactory parserFactory = SAXParserFactory.newInstance();
-        parserFactory.setNamespaceAware(true);
-
-        return parserFactory.newSAXParser().getXMLReader();
-    }
-
-    private void parse(XMLReader xmlReader, String xml) throws Exception {
-        InputStreamReader reader = new InputStreamReader(new ByteArrayInputStream(xml.getBytes()));
-        InputSource inSource = new InputSource(reader);
-
-        xmlReader.parse(inSource);
-    }
-
-    @BeforeMethod
-    public void setUp() throws Exception {
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-        InputStreamReader reader = new InputStreamReader(new ByteArrayInputStream(XSD.getBytes()));
-        StreamSource xsdSource = new StreamSource(reader);
-
-        Schema schema = schemaFactory.newSchema(xsdSource);
-
-        this.validatorHandler = schema.newValidatorHandler();
-        this.validator = schema.newValidator();
-    }
-
-    @Test
-    public void test1() throws Exception {
-        DefaultHandler contentHandler = new DefaultHandler();
-        validatorHandler.setContentHandler(contentHandler);
-        validatorHandler.setErrorHandler(contentHandler);
-
-        XMLReader xmlReader = createXMLReader();
-        xmlReader.setContentHandler(validatorHandler);
-        parse(xmlReader, XML);
-    }
-
-    @Test
-    public void test2() throws Exception {
-        InputStreamReader reader = new InputStreamReader(new ByteArrayInputStream(XML.getBytes()));
-        StreamSource xmlSource = new StreamSource(reader);
-
-        validator.validate(xmlSource);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug5072946.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,121 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.dom.DOMResult;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.sax.SAXTransformerFactory;
-import javax.xml.transform.sax.TransformerHandler;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.Validator;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.xml.sax.InputSource;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.XMLReaderFactory;
-
-/*
- * @bug 5072946
- * @summary Test Validator.validate(DOMSource,DOMResult) outputs to the result.
- */
-public class Bug5072946 {
-
-    @Test
-    public void test1() throws Exception {
-
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        DocumentBuilder parser = dbf.newDocumentBuilder();
-        Document dom = parser.parse(Bug5072946.class.getResourceAsStream("Bug5072946.xml"));
-
-        SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        Schema s = sf.newSchema(Bug5072946.class.getResource("Bug5072946.xsd"));
-        Validator v = s.newValidator();
-
-        DOMResult r = new DOMResult();
-        // r.setNode(dbf.newDocumentBuilder().newDocument());
-        v.validate(new DOMSource(dom), r);
-
-        Node node = r.getNode();
-        Assert.assertNotNull(node);
-        Node fc = node.getFirstChild();
-        Assert.assertTrue(fc instanceof Element);
-        Element e = (Element) fc;
-
-        Assert.assertEquals("value", e.getAttribute("foo"));
-    }
-
-    /**
-     * Tests if the identity transformer correctly sets the output node.
-     */
-    @Test
-    public void test2() throws Exception {
-        SAXTransformerFactory sf = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
-        TransformerHandler th = sf.newTransformerHandler();
-        DOMResult r = new DOMResult();
-        th.setResult(r);
-
-        XMLReader reader = XMLReaderFactory.createXMLReader();
-        reader.setContentHandler(th);
-        reader.parse(new InputSource(Bug5072946.class.getResourceAsStream("Bug5072946.xml")));
-
-        Assert.assertNotNull(r.getNode());
-    }
-
-    @Test
-    public void test3() throws Exception {
-        SAXTransformerFactory sf = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
-        Transformer t = sf.newTransformer();
-
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        DocumentBuilder parser = dbf.newDocumentBuilder();
-        Document dom = parser.parse(Bug5072946.class.getResourceAsStream("Bug5072946.xml"));
-
-        DOMResult r = new DOMResult();
-
-        t.transform(new DOMSource(dom), r);
-        Assert.assertNotNull(r.getNode());
-
-        Node n = r.getNode().getFirstChild();
-        r.setNode(n);
-        t.transform(new DOMSource(dom), r);
-        Assert.assertNotNull(r.getNode());
-        Assert.assertSame(r.getNode(), n);
-
-        r.setNextSibling(r.getNode().getFirstChild());
-        t.transform(new DOMSource(dom), r);
-        Assert.assertNotNull(r.getNode());
-        Assert.assertSame(r.getNode(), n);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug5072946.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0"?>
-<root />
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug5072946.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-     <xsd:element name="root">
-         <xsd:complexType>
-           <xsd:attribute name="foo" type="xsd:string" default="value"/>
-         </xsd:complexType>
-     </xsd:element>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6378043.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6378043
- * @summary Test XPath expression "child::" can be parsed.
- */
-public class Bug6378043 {
-
-    static String SCHEMA_LANG = "http://www.w3.org/2001/XMLSchema";
-
-    @Test
-    public void testSelectorXPath() {
-        try {
-            Schema schema = SchemaFactory.newInstance(SCHEMA_LANG).newSchema(this.getClass().getResource("idI009.xsd"));
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6449797.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.XMLConstants;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6449797
- * @summary Test SchemaFactory can parse the specified attribute value with a specified namespace.
- */
-public class Bug6449797 {
-
-    @Test
-    public void test() throws SAXException {
-        // this shouldn't fail
-        SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI).newSchema(getClass().getResource("Bug6449797.xsd"));
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6449797.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<xs:schema version="1.0" targetNamespace="http://ttri.ossj/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
-
-  <xs:complexType name="troubleTicketValueImpl">
-    <xs:complexContent>
-      <xs:extension base="ns3:attributeAccessImpl" xmlns:ns3="http://ttri.ossj/">
-        <xs:sequence>
-          <xs:element name="accountOwner" type="ns3:personReachImpl" minOccurs="0"/>
-        </xs:sequence>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="attributeAccessImpl" abstract="true"/>
-
-  <xs:complexType name="personReachImpl">
-    <xs:sequence>
-      <xs:element name="email" type="xs:string" minOccurs="0"/>
-    </xs:sequence>
-  </xs:complexType>
-
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6457662.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.OutputStreamWriter;
-import java.io.StringReader;
-
-import javax.xml.XMLConstants;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.Validator;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6457662
- * @summary Test a Validator checks sequence maxOccurs correctly when it validates document repeatedly.
- */
-public class Bug6457662 {
-
-    public static final String xml = "<ACL xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>" + "<Tokens access=\"full\">" + "<Token>CheetahTech</Token>"
-            + "<Token>CheetahView</Token>" + "</Tokens>" + "</ACL>";
-    /** Schema */
-    public static final String schema = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
-            + "<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" elementFormDefault=\"qualified\" attributeFormDefault=\"unqualified\">"
-            + "<xs:element name=\"ACL\">" + "<xs:complexType mixed=\"false\">" + "<xs:sequence><xs:element ref=\"Tokens\" maxOccurs=\"3\"/></xs:sequence>"
-            + "<xs:attribute name=\"ACL\" type=\"xs:string\" use=\"optional\"/>" + "</xs:complexType>" + "</xs:element><xs:element name=\"Tokens\">"
-            + "<xs:complexType mixed=\"false\">" + "<xs:sequence><xs:element ref=\"Token\" maxOccurs=\"unbounded\"/></xs:sequence>"
-            + "<xs:attribute name=\"access\" type=\"xs:string\" use=\"required\"/>" + "</xs:complexType></xs:element><xs:element name=\"Token\"/>"
-            + "</xs:schema>";
-    /** Schema factory */
-    private static final SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-
-    @Test
-    public void test() {
-        try {
-            final Schema sc = factory.newSchema(writeSchema());
-            final Validator validator = sc.newValidator();
-            validator.validate(new StreamSource(new StringReader(xml)));
-            validator.validate(new StreamSource(new StringReader(xml)));
-            validator.validate(new StreamSource(new StringReader(xml)));
-            validator.validate(new StreamSource(new StringReader(xml)));
-        } catch (Throwable ex) {
-            Assert.fail("Exception: " + ex.getMessage());
-        }
-    }
-
-    private File writeSchema() throws IOException {
-        final File rtn = File.createTempFile("scheam", "xsd");
-        final OutputStream out = new FileOutputStream(rtn);
-        final OutputStreamWriter writer = new OutputStreamWriter(out, "UTF-8");
-        writer.write(schema);
-        writer.close();
-        out.close();
-        return rtn;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6467424.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--A OnJava Journal Catalog-->
-
-<catalog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
-   xsi:noNamespaceSchemaLocation=
- "file://./unit-test/javax/xml/validation/catalog.xsd" title="OnJava.com" publisher="O'Reilly">
- <journal date="April 2004">
-   <article>
-    <title></title>
-    <author>Narayanan Jayaratchagan</author>
-   </article>
- </journal>
- <journal date="January 2004">
-   <article>
-    <title></title>
-    <author>Daniel Steinberg</author>
-   </article>
- </journal>
-</catalog>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6467424.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
-  <xs:element name="catalog">
-   <xs:complexType>
-    <xs:sequence>
-     <xs:element ref="journal" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attribute name="title" type="xs:string"/>
-    <xs:attribute name="publisher"  type="xs:string"/>
-   </xs:complexType>
-  </xs:element>
-  <xs:element name="journal">
-   <xs:complexType>
-    <xs:sequence>
-     <xs:element ref="article" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attribute name="date" type="xs:string"/>
-   </xs:complexType>
-  </xs:element>
-  <xs:element name="article">
-   <xs:complexType>
-    <xs:sequence>
-     <xs:element name="title" type="xs:string" minOccurs="1" default="Schema Validation"/>
-     <xs:element ref="author" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-   </xs:complexType>
-  </xs:element>
-  <xs:element name="author" type="xs:string"/>
-</xs:schema>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6467424Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,198 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.StringWriter;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerConfigurationException;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMResult;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6467424
- * @summary Test Validator augments the default delement value if feature element-default is on.
- */
-public class Bug6467424Test {
-    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 test() {
-        // System.setSecurityManager(new SecurityManager());
-        try {
-            SchemaFactory factory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-            File schemaLocation = new File(getClass().getResource("Bug6467424.xsd").getFile());
-            Schema schema = factory.newSchema(schemaLocation);
-            Validator validator = schema.newValidator();
-
-            DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
-            domFactory.setNamespaceAware(true); // never forget this
-            DocumentBuilder builder = domFactory.newDocumentBuilder();
-            Document doc = builder.parse(new File(getClass().getResource("Bug6467424.xml").getFile()));
-
-            DOMSource source = new DOMSource(doc);
-            DOMResult result = new DOMResult();
-
-            validator.validate(source, result);
-            Document augmented = (Document) result.getNode();
-
-            TransformerFactory tFactory = TransformerFactory.newInstance();
-
-            Transformer transformer = tFactory.newTransformer();
-
-            DOMSource domSource = new DOMSource(augmented);
-            StringWriter sw = new StringWriter();
-            // StreamResult streamResult = new StreamResult(System.out);
-            StreamResult streamResult = new StreamResult(sw);
-            transformer.transform(domSource, streamResult);
-            String s = sw.toString();
-            if (s.indexOf("Schema Validation") == -1) {
-                Assert.fail("Failed: result is expected to be augmented");
-            }
-        }
-
-        catch (TransformerConfigurationException e) {
-            // e.printStackTrace();
-            System.out.println(e.getMessage());
-        } catch (TransformerException e) {
-            System.out.println(e.getMessage());
-        } catch (SAXException e) {
-            System.out.println(e.getMessage());
-        } catch (ParserConfigurationException e) {
-            System.out.println(e.getMessage());
-        } catch (IOException e) {
-            System.out.println(e.getMessage());
-        }
-    }
-
-    /**
-     * this test is to make sure the element-default feature works for
-     * validation using DOM parser reference: parser feature:
-     * http://xerces.apache.org/xerces2-j/feature.html#validation
-     */
-    @Test
-    public void testDOMValidation() throws Exception {
-        try {
-            DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
-            // domFactory.setFeature("http://xml.org/sax/features/validation",
-            // true);
-            domFactory.setNamespaceAware(true); // never forget this
-            domFactory.setValidating(true);
-
-            domFactory.setAttribute(SCHEMA_LANGUAGE, XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            domFactory.setAttribute(SCHEMA_SOURCE, Bug6467424Test.class.getResource("Bug6467424.xsd").toExternalForm());
-
-            domFactory.setFeature("http://apache.org/xml/features/validation/schema", true);
-            domFactory.setFeature("http://apache.org/xml/features/validation/schema/element-default", true);
-            DocumentBuilder builder = domFactory.newDocumentBuilder();
-            Document doc = builder.parse(new File(getClass().getResource("Bug6467424.xml").getFile()));
-
-            TransformerFactory tFactory = TransformerFactory.newInstance();
-
-            Transformer transformer = tFactory.newTransformer();
-            DOMSource domSource = new DOMSource(doc);
-            StringWriter sw = new StringWriter();
-            // StreamResult streamResult = new StreamResult(System.out);
-            StreamResult streamResult = new StreamResult(sw);
-            transformer.transform(domSource, streamResult);
-            String s = sw.toString();
-            if (s.indexOf("Schema Validation") == -1) {
-                Assert.fail("Failed: result is expected to be augmented");
-            }
-
-        }
-
-        catch (TransformerConfigurationException e) {
-            System.out.println(e.getMessage());
-        } catch (TransformerException e) {
-            System.out.println(e.getMessage());
-        } catch (SAXException e) {
-            System.out.println(e.getMessage());
-        } catch (ParserConfigurationException e) {
-            System.out.println(e.getMessage());
-        } catch (IOException e) {
-            System.out.println(e.getMessage());
-        }
-    }
-
-    @Test
-    public void testDOMValidation1() throws Exception {
-        try {
-            DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
-            // domFactory.setFeature("http://xml.org/sax/features/validation",
-            // true);
-            domFactory.setNamespaceAware(true); // never forget this
-            domFactory.setValidating(true);
-
-            domFactory.setAttribute(SCHEMA_LANGUAGE, XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            domFactory.setAttribute(SCHEMA_SOURCE, Bug6467424Test.class.getResource("Bug6467424.xsd").toExternalForm());
-
-            domFactory.setFeature("http://apache.org/xml/features/validation/schema", true);
-            domFactory.setFeature("http://apache.org/xml/features/validation/schema/element-default", false);
-            DocumentBuilder builder = domFactory.newDocumentBuilder();
-            Document doc = builder.parse(new File(getClass().getResource("Bug6467424.xml").getFile()));
-
-            TransformerFactory tFactory = TransformerFactory.newInstance();
-
-            Transformer transformer = tFactory.newTransformer();
-            DOMSource domSource = new DOMSource(doc);
-            StringWriter sw = new StringWriter();
-            // StreamResult streamResult = new StreamResult(System.out);
-            StreamResult streamResult = new StreamResult(sw);
-            transformer.transform(domSource, streamResult);
-            String s = sw.toString();
-            if (s.indexOf("Schema Validation") > 0) {
-                Assert.fail("Failed: result is not expected to be augmented");
-            }
-
-        }
-
-        catch (TransformerConfigurationException e) {
-            System.out.println(e.getMessage());
-        } catch (TransformerException e) {
-            System.out.println(e.getMessage());
-        } catch (SAXException e) {
-            System.out.println(e.getMessage());
-        } catch (ParserConfigurationException e) {
-            System.out.println(e.getMessage());
-        } catch (IOException e) {
-            System.out.println(e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6483188.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,96 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.net.URL;
-
-import javax.xml.XMLConstants;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.Validator;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXParseException;
-
-/*
- * @bug 6483188
- * @summary Test Schema Validator can handle element with having large maxOccurs, but doesn't accept sequence with having large maxOccurs in FEATURE_SECURE_PROCESSING mode.
- */
-public class Bug6483188 {
-    static boolean _isSecureMode = false;
-    static {
-        if (System.getSecurityManager() != null) {
-            _isSecureMode = true;
-            System.out.println("Security Manager is present");
-        } else {
-            System.out.println("Security Manager is NOT present");
-        }
-    }
-
-    SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-
-    @Test
-    public void testLargeElementNoSecurity() {
-        if (_isSecureMode)
-            return; // jaxp secure feature can not be turned off when security
-                    // manager is present
-        try {
-            sf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, Boolean.FALSE);
-            URL url = getClass().getResource("test-element.xsd");
-            Schema s = sf.newSchema(url);
-            Validator v = s.newValidator();
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    @Test
-    public void testLargeElementWithSecurity() {
-        try {
-            sf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, Boolean.TRUE);
-            URL url = getClass().getResource("test-element.xsd");
-            Schema s = sf.newSchema(url);
-            Validator v = s.newValidator();
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    @Test
-    public void testLargeSequenceWithSecurity() {
-        try {
-            sf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, Boolean.TRUE);
-            URL url = getClass().getResource("test-sequence.xsd");
-            Schema s = sf.newSchema(url);
-            Validator v = s.newValidator();
-            Assert.fail("Schema was accepted even with secure processing enabled.");
-        } catch (SAXParseException e) {
-            // falls through - exception expected
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6493687.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-
-/*
- * @bug 6493687
- * @summary Test validator.validate(new DOMSource(node)) without any exception.
- */
-public class Bug6493687 {
-
-    @Test
-    public void test() throws Exception {
-        System.out.println("Got here");
-        Document doc = new XMLDocBuilder("Bug6493687.xml", "UTF-8", "Bug6493687.xsd").getDocument();
-        System.out.println("Got here2");
-        System.out.println(doc);
-        System.out.println(doc.getDocumentElement().getNodeName());
-        System.out.println("Got here3");
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6493687.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ROOT Typ="Contents" Version="1.0">
-	<LINKS>
-		<LINK>
-			<TARGET template="a.xml" Version="1">
-				<INFO Description="test1" Theme="b"/>
-			</TARGET>
-		</LINK>
-		<LINK>
-			<TARGET template="b.xml" Version="2">
-				<INFO Description="test2" Theme="b"/>
-			</TARGET>
-		</LINK>
-	</LINKS>
-</ROOT>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6493687.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
-	<xs:element name="INFO">
-		<xs:complexType>
-			<xs:attribute name="Description" type="xs:NMTOKEN" use="required"/>
-			<xs:attribute name="Theme" type="xs:NMTOKEN" use="required"/>
-		</xs:complexType>
-	</xs:element>
-	<xs:element name="LINK">
-		<xs:complexType>
-			<xs:sequence>
-				<xs:element ref="TARGET"/>
-			</xs:sequence>
-		</xs:complexType>
-	</xs:element>
-	<xs:element name="LINKS">
-		<xs:complexType>
-			<xs:sequence>
-				<xs:element ref="LINK" maxOccurs="unbounded"/>
-			</xs:sequence>
-		</xs:complexType>
-	</xs:element>
-	<xs:element name="ROOT">
-		<xs:complexType>
-			<xs:sequence>
-				<xs:element ref="LINKS"/>
-			</xs:sequence>
-			<xs:attribute name="Typ" type="xs:NMTOKEN" use="required"/>
-			<xs:attribute name="Version" type="xs:decimal" use="required"/>
-		</xs:complexType>
-	</xs:element>
-	<xs:element name="TARGET">
-		<xs:complexType>
-			<xs:sequence>
-				<xs:element ref="INFO"/>
-			</xs:sequence>
-			<xs:attribute name="Version" type="xs:integer" use="required"/>
-			<xs:attribute name="template" type="xs:NMTOKEN" use="required"/>
-		</xs:complexType>
-	</xs:element>
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6509668.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,137 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.ByteArrayInputStream;
-import java.io.IOException;
-import java.io.InputStreamReader;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.TypeInfoProvider;
-import javax.xml.validation.ValidatorHandler;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.TypeInfo;
-import org.xml.sax.Attributes;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 6509668
- * @summary Test TypeInfoProvider.getElementTypeInfo() for union type when startElement and endElement.
- */
-public class Bug6509668 {
-
-    public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n"
-            + "  xmlns:ns='http://example.org/jaxp13_test'\n" + "    targetNamespace='http://example.org/jaxp13_test'\n" + "    elementFormDefault='qualified'>\n"
-            + "  <simpleType name='intOrString'>\n" + "    <union memberTypes='int string'/>\n" + "  </simpleType>\n"
-            + "  <element name='test' type='ns:intOrString'/>\n" + "</schema>\n";
-
-    public static final String XML = "<?xml version='1.0'?>\n" + "<ns:test xmlns:ns='http://example.org/jaxp13_test'>abc</ns:test>\n";
-
-    private ValidatorHandler createValidatorHandler(String xsd) throws SAXException {
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-        InputStreamReader reader = new InputStreamReader(new ByteArrayInputStream(xsd.getBytes()));
-        StreamSource xsdSource = new StreamSource(reader);
-
-        Schema schema = schemaFactory.newSchema(xsdSource);
-        return schema.newValidatorHandler();
-    }
-
-    private XMLReader createXMLReader() throws ParserConfigurationException, SAXException {
-        SAXParserFactory parserFactory = SAXParserFactory.newInstance();
-        if (!parserFactory.isNamespaceAware()) {
-            parserFactory.setNamespaceAware(true);
-        }
-
-        return parserFactory.newSAXParser().getXMLReader();
-    }
-
-    private void parse(XMLReader xmlReader, String xml) throws SAXException, IOException {
-        InputStreamReader reader = new InputStreamReader(new ByteArrayInputStream(xml.getBytes()));
-        InputSource inSource = new InputSource(reader);
-
-        xmlReader.parse(inSource);
-    }
-
-    @Test
-    public void testGetElementTypeInfo() throws ParserConfigurationException, SAXException, IOException {
-        XMLReader xmlReader;
-        xmlReader = createXMLReader();
-
-        final ValidatorHandler validatorHandler;
-        validatorHandler = createValidatorHandler(XSD);
-
-        xmlReader.setContentHandler(validatorHandler);
-
-        DefaultHandler handler = new DefaultHandler() {
-            public void startElement(String uri, String localName, String qName, Attributes attr) throws SAXException {
-                TypeInfoProvider infoProvider = null;
-                synchronized (validatorHandler) {
-                    infoProvider = validatorHandler.getTypeInfoProvider();
-                }
-                if (infoProvider == null) {
-                    throw new SAXException("Can't obtain TypeInfoProvider object.");
-                }
-
-                try {
-                    TypeInfo typeInfo = infoProvider.getElementTypeInfo();
-                    Assert.assertEquals(typeInfo.getTypeName(), "intOrString");
-                } catch (IllegalStateException e) {
-                    System.out.println(e);
-                    throw new SAXException("Unexpected IllegalStateException was thrown.");
-                }
-            }
-
-            public void endElement(String uri, String localName, String qName) throws SAXException {
-                TypeInfoProvider infoProvider = null;
-                synchronized (validatorHandler) {
-                    infoProvider = validatorHandler.getTypeInfoProvider();
-                }
-                if (infoProvider == null) {
-                    throw new SAXException("Can't obtain TypeInfoProvider object.");
-                }
-
-                try {
-                    TypeInfo typeInfo = infoProvider.getElementTypeInfo();
-                    Assert.assertEquals(typeInfo.getTypeName(), "string");
-                } catch (IllegalStateException e) {
-                    System.out.println(e);
-                    throw new SAXException("Unexpected IllegalStateException was thrown.");
-                }
-            }
-        };
-        validatorHandler.setContentHandler(handler);
-
-        parse(xmlReader, XML);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6526547.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.transform.Source;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.Validator;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6526547
- * @summary Test document parsed without setting NamespaceAware can be validated with a Schema.
- */
-public class Bug6526547 {
-
-    @Test
-    public void test() {
-        try {
-            // parse an XML document into a DOM tree
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            DocumentBuilder parser = dbf.newDocumentBuilder();
-            Assert.assertFalse(parser.isNamespaceAware());
-            Document document = parser.parse(getClass().getResourceAsStream("Bug6526547.xml"));
-
-            // create a SchemaFactory capable of understanding WXS schemas
-            SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-
-            // load a WXS schema, represented by a Schema instance
-            Source schemaFile = new StreamSource(getClass().getResourceAsStream("Bug6526547.xsd"));
-            Schema schema = factory.newSchema(schemaFile);
-
-            // create a Validator instance, which can be used to validate an
-            // instance document
-            Validator validator = schema.newValidator();
-
-            // validate the DOM tree
-            try {
-                validator.validate(new DOMSource(document));
-            } catch (SAXException e) {
-                e.printStackTrace();
-                Assert.fail("Document is reported as invalid but it is not!");
-            }
-        } catch (Exception e) {
-            Assert.fail("Unable to configure validator");
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6526547.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0"?>
-<root />
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6526547.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-     <xsd:element name="root">
-         <xsd:complexType>
-           <xsd:attribute name="foo" type="xsd:string" default="value"/>
-         </xsd:complexType>
-     </xsd:element>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6531160.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.StringReader;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.xml.sax.SAXParseException;
-
-/*
- * @bug 6531160
- * @summary Test document generated by newDocument() can be validated with a Schema.
- */
-public class Bug6531160 {
-
-    private static final String XSD = "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>\n" + "  <xs:element name='root' type='xs:string'/>\n"
-            + "</xs:schema>";
-
-    @Test
-    public void testDOMLevel1Validation() throws Exception {
-        SchemaFactory fact = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        Schema schema = fact.newSchema(new StreamSource(new StringReader(XSD)));
-        DocumentBuilderFactory docfact = DocumentBuilderFactory.newInstance();
-        docfact.setNamespaceAware(true);
-
-        Document doc = docfact.newDocumentBuilder().newDocument();
-        doc.appendChild(doc.createElement("root"));
-
-        try {
-            schema.newValidator().validate(new DOMSource(doc));
-        } catch (SAXParseException e) {
-            Assert.fail("Validation failed: " + e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6695843.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<root>
-    <comment language="English">
-        commentZZZZZZZZZZZZZZZZZZ
-    </comment>
-</root>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6695843.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-<xsd:schema
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    elementFormDefault="qualified">
-  <xsd:element name="root">
-   <xsd:complexType>
-    <xsd:sequence>
-     <xsd:element name="comment" type="Comment2Type" />
-    </xsd:sequence>
-   </xsd:complexType>
-  </xsd:element>
-    
-    <xsd:simpleType name="AsciiStringType">
-        <xsd:restriction base="xsd:string">
-            <xsd:pattern value="\p{IsBasicLatin}*" />
-        </xsd:restriction>
-    </xsd:simpleType>
-
-    <xsd:complexType name="CommentType">
-        <xsd:simpleContent>
-            <xsd:extension base="AsciiStringType">
-                <xsd:attribute name="language" use="optional">
-                    <xsd:simpleType>
-                        <xsd:restriction base="xsd:string">
-                            <xsd:enumeration value="English" />
-                            <xsd:enumeration value="French" />
-                            <xsd:enumeration value="Spanish" />
-                        </xsd:restriction>
-                    </xsd:simpleType>
-                </xsd:attribute>
-            </xsd:extension>
-        </xsd:simpleContent>
-    </xsd:complexType>
-
-
-    <xsd:complexType name="Comment2Type">
-        <xsd:simpleContent>
-            <xsd:restriction base="CommentType">
-                <xsd:minLength value="0" />
-                <xsd:maxLength value="20" />
-            </xsd:restriction>
-        </xsd:simpleContent>
-    </xsd:complexType>
-
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6695843Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.IOException;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.transform.dom.DOMSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6695843
- * @summary Test Validator should report accurate element type if there is a violation on a complexType with simpleContent that extends a base complexType.
- */
-public class Bug6695843Test {
-    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 testValidateComplexTypeWithSimpleContent() throws IOException, ParserConfigurationException, SAXException {
-        try {
-            DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
-            dFactory.setNamespaceAware(true);
-
-            DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
-            Document document = dBuilder.parse(getClass().getResourceAsStream("Bug6695843.xsd"));
-            DOMSource domSource = new DOMSource(document);
-
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            Schema schema = schemaFactory.newSchema(domSource);
-
-            String xmlFileName = "Bug6695843.xml";
-            Document document1 = dBuilder.parse(getClass().getResourceAsStream(xmlFileName));
-            DOMSource domSource1 = new DOMSource(document1);
-
-            Validator validator = schema.newValidator();
-            validator.validate(domSource1);
-        } catch (Exception e) {
-            String msg = e.getMessage();
-            System.out.println(e.getMessage());
-            if (msg.indexOf("maxLength '20' for type 'null'") > 0) {
-                Assert.fail("vague error message");
-            }
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,178 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
-    <xs:element name="eOtherPayment">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element ref="OtherPaymentSerialID"/>
-                <xs:element ref="CustomsCode"/>
-                <xs:element ref="DeclarantCode"/>
-                <xs:element ref="CompanyCode"/>
-                <xs:element ref="BankCode"/>
-                <xs:element ref="Transactions"/>
-                <xs:element ref="Payments"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-
-    <xs:element name="OtherPaymentSerialID">
-        <xs:simpleType>
-            <xs:restriction base="xs:string">
-                <xs:maxLength value="50"/>
-            </xs:restriction>
-        </xs:simpleType>
-    </xs:element>
-
-    <xs:element name="CustomsCode">
-        <xs:simpleType>
-            <xs:restriction base="xs:string">
-                <xs:pattern value="[A-Z0-9]{4}"/>
-            </xs:restriction>
-        </xs:simpleType>
-    </xs:element>
-
-    <xs:element name="DeclarantCode">
-        <xs:simpleType>
-            <xs:restriction base="U">
-                <xs:minLength value="0"/>
-                <xs:maxLength value="17"/>
-            </xs:restriction>
-        </xs:simpleType>
-    </xs:element>
-
-    <xs:element name="CompanyCode">
-        <xs:simpleType>
-            <xs:restriction base="U">
-                <xs:minLength value="0"/>
-                <xs:maxLength value="17"/>
-            </xs:restriction>
-        </xs:simpleType>
-    </xs:element>
-
-    <xs:element name="BankCode">
-        <xs:simpleType>
-            <xs:restriction base="U">
-                <xs:minLength value="1"/>
-                <xs:maxLength value="17"/>
-            </xs:restriction>
-        </xs:simpleType>
-    </xs:element>
-
-    <xs:element name="Transactions">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element maxOccurs="10" ref="TransactionRecord"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-
-    <xs:element name="TransactionRecord">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="Code">
-                    <xs:simpleType>
-                        <xs:restriction base="xs:string">
-                            <xs:pattern value="[A-Z0-9]{1,3}"/>
-                        </xs:restriction>
-                    </xs:simpleType>
-                </xs:element>
-                <xs:element ref="RefOffice"/>
-                <xs:element ref="RefYear"/>
-                <xs:element ref="RefSerial"/>
-                <xs:element ref="RefNumber"/>
-                <xs:element ref="TransactionReference"/>
-                <xs:element name="Amount" type="NMU"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-
-    <xs:element name="RefOffice">
-        <xs:simpleType>
-            <xs:restriction base="xs:string">
-                <xs:pattern value="[A-Z0-9]{0,4}"/>
-            </xs:restriction>
-        </xs:simpleType>
-    </xs:element>
-
-    <xs:element name="RefYear">
-        <xs:simpleType>
-            <xs:restriction base="xs:string">
-                <xs:pattern value="([0-9]){0}|([0-9]){4}"/>
-            </xs:restriction>
-        </xs:simpleType>
-    </xs:element>
-
-    <xs:element name="RefSerial">
-        <xs:simpleType>
-            <xs:restriction base="xs:string">
-                <xs:pattern value="[A-Z]{0,1}"/>
-            </xs:restriction>
-        </xs:simpleType>
-    </xs:element>
-
-    <xs:element name="RefNumber">
-        <xs:simpleType>
-            <xs:restriction base="xs:string">
-                <xs:pattern value="([0-9])*"/>
-            </xs:restriction>
-        </xs:simpleType>
-    </xs:element>
-
-    <xs:element name="TransactionReference">
-        <xs:simpleType>
-            <xs:restriction base="xs:string">
-                <xs:minLength value="1"/>
-                <xs:maxLength value="35"/>
-            </xs:restriction>
-        </xs:simpleType>
-    </xs:element>
-
-    <xs:element name="Payments">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element maxOccurs="10" ref="MeansOfPayment"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-
-    <xs:element name="MeansOfPayment">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element ref="Code"/>
-                <xs:element ref="Reference"/>
-                <xs:element name="Amount" type="NMU"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-
-    <xs:element name="Code">
-        <xs:simpleType>
-            <xs:restriction base="xs:string">
-                <xs:pattern value="[A-Z0-9]{2}"/>
-            </xs:restriction>
-        </xs:simpleType>
-    </xs:element>
-
-    <xs:element name="Reference">
-        <xs:simpleType>
-            <xs:restriction base="U">
-                <xs:minLength value="1"/>
-                <xs:maxLength value="17"/>
-            </xs:restriction>
-        </xs:simpleType>
-    </xs:element>
-
-    <xs:simpleType name="NMU">
-        <xs:restriction base="xs:decimal">
-            <xs:minInclusive value="0"/>
-            <xs:fractionDigits value="2"/>
-        </xs:restriction>
-    </xs:simpleType>
-
-    <xs:simpleType name="U">
-        <xs:restriction base="xs:string">
-            <xs:pattern value="([!-`]|[{-~])*"/>
-        </xs:restriction>
-    </xs:simpleType>
-
-</xs:schema>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_1.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_10.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_11.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_12.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_13.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_14.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_15.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_16.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_17.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_18.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_19.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_2.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_20.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_21.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_22.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_23.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_24.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_25.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_3.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_4.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_5.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_6.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_7.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_8.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084In/Bug6773084_9.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<eOtherPayment>
-  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
-  <CustomsCode>01AP</CustomsCode>
-  <DeclarantCode>A9901017</DeclarantCode>
-  <CompanyCode>A0500823</CompanyCode>
-  <BankCode>221</BankCode>
-  <Transactions>
-    <TransactionRecord>
-      <Code>89</Code>
-      <RefOffice>01AP</RefOffice>
-      <RefYear>2008</RefYear>
-      <RefSerial>A</RefSerial>
-      <RefNumber>68</RefNumber>
-      <TransactionReference>KJ091</TransactionReference>
-      <Amount>5000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>97</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>LL091</TransactionReference>
-      <Amount>68700</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>98</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>HH098</TransactionReference>
-      <Amount>8000</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>96</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>PO091</TransactionReference>
-      <Amount>7500</Amount>
-    </TransactionRecord>
-    <TransactionRecord>
-      <Code>92</Code>
-      <RefOffice/>
-      <RefYear/>
-      <RefSerial/>
-      <RefNumber/>
-      <TransactionReference>098</TransactionReference>
-      <Amount>14000</Amount>
-    </TransactionRecord>
-  </Transactions>
-  <Payments>
-    <MeansOfPayment>
-      <Code>21</Code>
-      <Reference>EF01</Reference>
-      <Amount>26800</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>22</Code>
-      <Reference>G</Reference>
-      <Amount>15000</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>HH</Reference>
-      <Amount>9810</Amount>
-    </MeansOfPayment>
-    <MeansOfPayment>
-      <Code>20</Code>
-      <Reference>DEE</Reference>
-      <Amount>51590</Amount>
-    </MeansOfPayment>
-  </Payments>
-</eOtherPayment>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6773084Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,163 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-import java.io.FileFilter;
-import java.io.IOException;
-import java.util.concurrent.BrokenBarrierException;
-import java.util.concurrent.CyclicBarrier;
-import java.util.concurrent.ExecutorService;
-import java.util.concurrent.Executors;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.transform.Source;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.BeforeClass;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-/*
- * @bug 6773084
- * @summary Test Schema object is thread safe.
- */
-public class Bug6773084Test {
-    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 int NTHREADS = 25;
-    private static final ExecutorService EXEC = Executors.newCachedThreadPool();
-
-    private static final CyclicBarrier BARRIER = new CyclicBarrier(NTHREADS);
-
-    public static final String IN_FOLDER = Bug6773084Test.class.getResource("Bug6773084In").getPath();
-    public static final String XSD_PATH = Bug6773084Test.class.getResource("Bug6773084.xsd").getPath();
-
-    private static Schema schema;
-
-    @BeforeClass
-    public void setup(){
-        policy.PolicyUtil.changePolicy(getClass().getResource("6773084.policy").getFile());
-    }
-
-    @Test
-    public void test() throws Exception {
-        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        Source schemaFile = new StreamSource(XSD_PATH);
-        try {
-            schema = factory.newSchema(schemaFile);
-        } catch (SAXException e) {
-            e.printStackTrace();
-            System.exit(-1);
-        }
-
-        File incoming = new File(IN_FOLDER);
-        File[] files = incoming.listFiles(new FileFilter() {
-            public boolean accept(File file) {
-                return file.isFile() && file.getName().endsWith(".xml");
-            }
-        });
-
-        for (int i = 0; i < files.length; i++) {
-            EXEC.execute(new XMLValiddator(files[i], i));
-        }
-        EXEC.shutdown();
-
-    }
-
-    private static class XMLValiddator implements Runnable {
-
-        private File file;
-        private int index;
-
-        public XMLValiddator(File file, int index) {
-            this.file = file;
-            this.index = index;
-        }
-
-        public void run() {
-
-            try {
-                System.out.printf("Waiting for barrier: %s%n", index);
-                BARRIER.await();
-                System.out.println("Validating....");
-
-                DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
-                factory.setNamespaceAware(true);
-
-                DocumentBuilder builder = factory.newDocumentBuilder();
-                Document document = builder.parse(file);
-
-                Validator validator = schema.newValidator();
-                validator.setErrorHandler(new ErrorHandlerImpl());
-                validator.validate(new DOMSource(document));
-
-            } catch (IOException e) {
-                e.printStackTrace();
-            } catch (SAXException e) {
-                e.printStackTrace();
-                Assert.fail("Test failed.");
-            } catch (ParserConfigurationException e) {
-                e.printStackTrace();
-            } catch (BrokenBarrierException e) {
-                e.printStackTrace();
-            } catch (InterruptedException e) {
-                e.printStackTrace();
-            }
-
-        }
-    }
-
-    private static class ErrorHandlerImpl implements ErrorHandler {
-
-        public void warning(SAXParseException exception) throws SAXException {
-            System.out
-                    .printf("**Parsing Warning. Line: %s  URI: %s  Message: %s%n", exception.getLineNumber(), exception.getSystemId(), exception.getMessage());
-        }
-
-        public void error(SAXParseException exception) throws SAXException {
-            String msg = String.format("**Parsing Error. Line: %s  URI: %s  Message: %s%n", exception.getLineNumber(), exception.getSystemId(),
-                    exception.getMessage());
-            System.out.println(msg);
-            throw new SAXException(msg);
-        }
-
-        public void fatalError(SAXParseException exception) throws SAXException {
-            String msg = String.format("**Parsing Fatal Error. Line: %s  URI: %s  Message: %s%n", exception.getLineNumber(), exception.getSystemId(),
-                    exception.getMessage());
-            System.out.println(msg);
-            throw new SAXException(msg);
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6859210.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,96 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-/*
- * @bug 6859210
- * @summary Test Schema Validator can parse xml when maxOccurs is large.
- */
-public class Bug6859210 {
-
-    boolean errorFound;
-
-    DocumentBuilder documentBuilder;
-
-    private void printMethodName() {
-        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
-        System.out.println(stack[2].getMethodName());
-    }
-
-    public Bug6859210() throws Exception {
-        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        Schema schema = factory.newSchema(new File(getClass().getResource("CREMAS01.xsd").getFile()));
-
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        dbf.setSchema(schema);
-
-        documentBuilder = dbf.newDocumentBuilder();
-        documentBuilder.setErrorHandler(new ErrorHandler() {
-            public void error(SAXParseException e) throws SAXException {
-                System.out.println("Error: " + e.getMessage());
-                errorFound = true;
-            }
-
-            public void fatalError(SAXParseException e) throws SAXException {
-                System.out.println("Fatal error: " + e.getMessage());
-            }
-
-            public void warning(SAXParseException e) throws SAXException {
-                System.out.println("Warning: " + e.getMessage());
-            }
-        });
-    }
-
-    @Test
-    public void testGeneratedSample() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("CREMAS01.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (errorFound) {
-            Assert.fail("Unexpected validation error reported");
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6925531Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,203 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.ByteArrayInputStream;
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.security.AccessController;
-import java.security.AllPermission;
-import java.security.Permission;
-import java.security.Permissions;
-import java.security.PrivilegedAction;
-
-import javax.xml.XMLConstants;
-import javax.xml.transform.sax.SAXSource;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXNotRecognizedException;
-import org.xml.sax.SAXNotSupportedException;
-
-/*
- * @bug 6925531
- * @summary Test Validator can validate SAXSource when SecurityManager is set or FEATURE_SECURE_PROCESSING is on.
- */
-public class Bug6925531Test {
-    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";
-    String xsd = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test'\n"
-            + "        targetNamespace='jaxp13_test'\n" + "        elementFormDefault='qualified'>\n" + "    <element name='test' type='string'/>\n"
-            + "</schema>\n";
-
-    String xml = "<?xml version='1.0'?>\n" + "<ns:test xmlns:ns='jaxp13_test'>\n" + "    abc\n" + "</ns:test>\n";
-
-    StreamSource xsdSource;
-    SAXSource xmlSource;
-
-    public void init() {
-        InputStreamReader reader = new InputStreamReader(new ByteArrayInputStream(xsd.getBytes()));
-        xsdSource = new StreamSource(reader);
-        reader = new InputStreamReader(new ByteArrayInputStream(xml.getBytes()));
-        InputSource inSource = new InputSource(reader);
-        xmlSource = new SAXSource(inSource);
-    }
-
-    /**
-     * when security manager is present, secure feature is on automatically
-     */
-    @Test
-    public void test_SM() {
-        init();
-        Permissions granted = new java.security.Permissions();
-        granted.add(new AllPermission());
-
-        System.setSecurityManager(new MySM(granted));
-
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-        Schema schema = null;
-        try {
-            schema = schemaFactory.newSchema(xsdSource);
-        } catch (SAXException e) {
-            Assert.fail(e.toString());
-        }
-
-        Validator validator = schema.newValidator();
-
-        try {
-            validator.validate(xmlSource, null);
-        } catch (SAXException e) {
-            Assert.fail(e.toString());
-        } catch (IOException e) {
-            Assert.fail(e.toString());
-        } finally {
-            System.setSecurityManager(null);
-        }
-
-        System.out.println("OK");
-    }
-
-    /**
-     * set secure feature on SchemaFactory
-     */
-    @Test
-    public void test_SF() {
-        init();
-        AccessController.doPrivileged(new PrivilegedAction() {
-            public Object run() {
-                System.setSecurityManager(null);
-                return null; // nothing to return
-            }
-        });
-
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-        try {
-            schemaFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
-        } catch (SAXNotRecognizedException ex) {
-            System.out.println(ex.getMessage());
-        } catch (SAXNotSupportedException ex) {
-            System.out.println(ex.getMessage());
-        }
-
-        Schema schema = null;
-        try {
-            schema = schemaFactory.newSchema(xsdSource);
-        } catch (SAXException e) {
-            Assert.fail(e.toString());
-        }
-
-        Validator validator = schema.newValidator();
-
-        try {
-            validator.validate(xmlSource, null);
-        } catch (SAXException e) {
-            Assert.fail(e.toString());
-        } catch (IOException e) {
-            Assert.fail(e.toString());
-        }
-        System.out.println("OK");
-    }
-
-    /**
-     * set secure feature on the Validator
-     */
-    @Test
-    public void test_Val() {
-        init();
-        System.setSecurityManager(null);
-        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-
-        Schema schema = null;
-        try {
-            schema = schemaFactory.newSchema(xsdSource);
-        } catch (SAXException e) {
-            Assert.fail(e.toString());
-        }
-
-        Validator validator = schema.newValidator();
-        try {
-            validator.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
-        } catch (SAXNotRecognizedException ex) {
-            System.out.println(ex.getMessage());
-        } catch (SAXNotSupportedException ex) {
-            System.out.println(ex.getMessage());
-        }
-
-        try {
-            validator.validate(xmlSource, null);
-        } catch (SAXException e) {
-            Assert.fail(e.toString());
-        } catch (IOException e) {
-            Assert.fail(e.toString());
-        }
-        System.out.println("OK");
-    }
-
-    class MySM extends SecurityManager {
-        Permissions granted;
-
-        public MySM(Permissions perms) {
-            granted = perms;
-        }
-
-        /**
-         * The central point in checking permissions. Overridden from
-         * java.lang.SecurityManager
-         *
-         * @param perm The permission requested.
-         */
-        @Override
-        public void checkPermission(Permission perm) {
-            if (granted.implies(perm)) {
-                return;
-            }
-            super.checkPermission(perm);
-        }
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6946312.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-<root>
-<foo>text<bar/></foo>
-</root>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6946312Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,122 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.StringReader;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.Attributes;
-import org.xml.sax.ContentHandler;
-import org.xml.sax.InputSource;
-import org.xml.sax.Locator;
-import org.xml.sax.SAXException;
-import org.xml.sax.XMLReader;
-
-/*
- * @bug 6946312
- * @summary Test XML parser shall callback to ContentHandler when receiving characters data.
- */
-public class Bug6946312Test {
-    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";
-    String xmlSchema = "<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\n" + "<xs:element name=\"root\">\n" + "<xs:complexType>\n"
-            + "<xs:sequence>\n" + "<xs:any namespace=\"##any\"  processContents=\"skip\"/>\n" + "</xs:sequence>\n" + "</xs:complexType>\n" + "</xs:element>\n"
-            + "</xs:schema>";
-
-    boolean charEvent = false;
-
-    @Test
-    public void test() throws SAXException, ParserConfigurationException, IOException {
-        Schema schema = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema").newSchema(new StreamSource(new StringReader(xmlSchema)));
-
-        SAXParserFactory saxParserFactory = SAXParserFactory.newInstance();
-        saxParserFactory.setNamespaceAware(true);
-        saxParserFactory.setSchema(schema);
-        // saxParserFactory.setFeature("http://java.sun.com/xml/schema/features/report-ignored-element-content-whitespace",
-        // true);
-
-        SAXParser saxParser = saxParserFactory.newSAXParser();
-
-        XMLReader xmlReader = saxParser.getXMLReader();
-
-        xmlReader.setContentHandler(new MyContentHandler());
-
-        // InputStream input =
-        // ClassLoader.getSystemClassLoader().getResourceAsStream("test/test.xml");
-
-        InputStream input = getClass().getResourceAsStream("Bug6946312.xml");
-        System.out.println("Parse InputStream:");
-        xmlReader.parse(new InputSource(input));
-        if (!charEvent) {
-            Assert.fail("missing character event");
-        }
-    }
-
-    public class MyContentHandler implements ContentHandler {
-        public void characters(char[] ch, int start, int length) {
-            charEvent = true;
-            System.out.println("Characters called: " + new String(ch, start, length));
-        }
-
-        public void endDocument() throws SAXException {
-        }
-
-        public void endElement(String arg0, String arg1, String arg2) throws SAXException {
-        }
-
-        public void endPrefixMapping(String arg0) throws SAXException {
-        }
-
-        public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException {
-            System.out.println("ignorableWhitespace called: " + new String(ch, start, length));
-        }
-
-        public void processingInstruction(String arg0, String arg1) throws SAXException {
-        }
-
-        public void setDocumentLocator(Locator arg0) {
-        }
-
-        public void skippedEntity(String arg0) throws SAXException {
-        }
-
-        public void startDocument() throws SAXException {
-        }
-
-        public void startElement(String arg0, String arg1, String arg2, Attributes arg3) throws SAXException {
-        }
-
-        public void startPrefixMapping(String arg0, String arg1) throws SAXException {
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6954738.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Document xmlns="bug.report" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="bug.report C:\temp\sun\bug.xsd">
-    <Bug>01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789</Bug>
-</Document>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6954738.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--W3C Schema generated by XMLSpy v2007 sp2 (http://www.altova.com)-->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="bug.report" targetNamespace="bug.report">
-    <xs:complexType name="T_Document">
-        <xs:sequence>
-            <xs:element ref="Bug"/>
-        </xs:sequence>
-    </xs:complexType>
-    <xs:element name="Document" type="T_Document"/>
-    <xs:element name="Bug" type="Text"/>
-    <xs:simpleType name="Text">
-		<xs:restriction base="xs:string">
-			<xs:pattern value="[0-9A-Za-z ]{1,8000}"/>
-		</xs:restriction>
-	</xs:simpleType>
-</xs:schema>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug6954738_Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,76 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.IOException;
-
-import javax.xml.XMLConstants;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.annotations.Test;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-/*
- * @bug 6954738
- * @summary Test Validator can process a XML document containing an element with 8000 characters.
- */
-public class Bug6954738_Test {
-    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 test() {
-        //if StackOverflowError is thrown, it shall escape from both the ErrorHandler and catch block
-        try {
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-
-            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6954738_Test.class.getResourceAsStream("Bug6954738.xsd")));
-            Validator validator = schema.newValidator();
-            validator.setErrorHandler(new ErrorHandler() {
-                public void error(SAXParseException exception) throws SAXException {
-                    exception.printStackTrace();
-                }
-
-                public void fatalError(SAXParseException exception) throws SAXException {
-                    exception.printStackTrace();
-                }
-
-                public void warning(SAXParseException exception) throws SAXException {
-                    exception.printStackTrace();
-                }
-            });
-            validator.validate(new StreamSource(Bug6954738_Test.class.getResourceAsStream("Bug6954738.xml")));
-
-        } catch (SAXException e) {
-            System.out.println(e.getMessage());
-
-        } catch (IOException e) {
-            e.printStackTrace();
-            System.out.println(e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/CR6708840Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,133 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-import java.io.FileWriter;
-
-import javax.xml.XMLConstants;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.transform.Result;
-import javax.xml.transform.Source;
-import javax.xml.transform.stax.StAXSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6708840
- * @summary Test Validator can process StAXSource.
- */
-public class CR6708840Test {
-
-    @Test
-    public final void testStream() {
-        try {
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            Schema schemaGrammar = schemaFactory.newSchema(new File(getClass().getResource("gMonths.xsd").getFile()));
-
-            Validator schemaValidator = schemaGrammar.newValidator();
-            Source xmlSource = new javax.xml.transform.stream.StreamSource(new File(CR6708840Test.class.getResource("gMonths.xml").toURI()));
-            schemaValidator.validate(xmlSource);
-
-        } catch (NullPointerException ne) {
-            Assert.fail("NullPointerException when result is not specified.");
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-            e.printStackTrace();
-        }
-    }
-
-    /**
-     * refer to http://forums.java.net/jive/thread.jspa?threadID=41626&tstart=0
-     */
-    @Test
-    public final void testStAX() {
-        try {
-            XMLInputFactory xmlif = XMLInputFactory.newInstance();
-
-            // XMLStreamReader staxReader =
-            // xmlif.createXMLStreamReader((Source)new
-            // StreamSource(getClass().getResource("Forum31576.xml").getFile()));
-            XMLStreamReader staxReader = xmlif.createXMLStreamReader(this.getClass().getResourceAsStream("gMonths.xml"));
-
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            Schema schemaGrammar = schemaFactory.newSchema(new File(getClass().getResource("gMonths.xsd").getFile()));
-
-            Validator schemaValidator = schemaGrammar.newValidator();
-
-            Source staxSrc = new StAXSource(staxReader);
-            schemaValidator.validate(staxSrc);
-
-            while (staxReader.hasNext()) {
-                int eventType = staxReader.next();
-                System.out.println("Event of type: " + eventType);
-            }
-        } catch (NullPointerException ne) {
-            Assert.fail("NullPointerException when result is not specified.");
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-            e.printStackTrace();
-        }
-    }
-
-    /**
-     * workaround before the fix: provide a result
-     */
-    @Test
-    public final void testStAXWResult() {
-        try {
-            XMLInputFactory xmlif = XMLInputFactory.newInstance();
-
-            // XMLStreamReader staxReader =
-            // xmlif.createXMLStreamReader((Source)new
-            // StreamSource(getClass().getResource("Forum31576.xml").getFile()));
-            XMLStreamReader staxReader = xmlif.createXMLStreamReader(this.getClass().getResourceAsStream("gMonths.xml"));
-
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            Schema schemaGrammar = schemaFactory.newSchema(new File(getClass().getResource("gMonths.xsd").getFile()));
-
-            Validator schemaValidator = schemaGrammar.newValidator();
-
-            Source staxSrc = new StAXSource(staxReader);
-            File resultFile = new File("gMonths.result.xml");
-            if (resultFile.exists()) {
-                resultFile.delete();
-            }
-
-            Result xmlResult = new javax.xml.transform.stax.StAXResult(XMLOutputFactory.newInstance().createXMLStreamWriter(new FileWriter(resultFile)));
-            schemaValidator.validate(staxSrc, xmlResult);
-
-            while (staxReader.hasNext()) {
-                int eventType = staxReader.next();
-                System.out.println("Event of type: " + eventType);
-            }
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-            e.printStackTrace();
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/CR6740048.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,130 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.annotations.Test;
-import org.testng.Assert;
-import org.w3c.dom.Document;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-/*
- * @bug 6740048
- * @summary Test DocumentBuilder can be reused when the DocumentBuilderFactory sets schema.
- */
-public class CR6740048 {
-    private static final String TAG_INFO = "containerInfo";
-    private static final String SCHEMA_LANGUAGE_URL = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
-    private static final String SCHEMA_SOURCE_URL = "http://java.sun.com/xml/jaxp/properties/schemaSource";
-    private static final String XML_SCHEMA_URL = "http://www.w3.org/2001/XMLSchema";
-
-    @Test
-    public final void testReusingDocumentBuilder() {
-
-        try {
-            //ClassLoader loader = CR6740048.class.getClassLoader();
-
-            // Object xsd = loader.getResourceAsStream("CR6740048.xsd");
-            InputStream xsd = this.getClass().getResourceAsStream("CR6740048.xsd");
-            // create document builder
-            DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
-            docBuilderFactory.setNamespaceAware(true);
-
-            if (xsd != null) {
-                docBuilderFactory.setValidating(true);
-                docBuilderFactory.setAttribute(SCHEMA_LANGUAGE_URL, XML_SCHEMA_URL);
-                docBuilderFactory.setAttribute(SCHEMA_SOURCE_URL, xsd);
-            }
-
-            final DocumentBuilder documentBuilder = docBuilderFactory.newDocumentBuilder();
-            documentBuilder.setErrorHandler(new ErrorHandler() {
-
-                public void error(SAXParseException exception) throws SAXException {
-                    throw exception;
-                }
-
-                public void fatalError(SAXParseException exception) throws SAXException {
-                    throw exception;
-                }
-
-                public void warning(SAXParseException exception) throws SAXException {
-                    throw exception;
-                }
-            });
-
-            // TODO set the system properties in order to match the ones from
-            // the server environment
-            /**
-             * Properties props = new Properties();
-             * props.load(loader.getResourceAsStream("sysprops.properties"));
-             * System.setProperties(props);
-             */
-
-            // now parse the document
-            // InputStream is = loader.getResourceAsStream("CR6740048.xml");
-            InputStream is = this.getClass().getResourceAsStream("CR6740048.xml");
-            try {
-                Document doc = documentBuilder.parse(is);
-            } catch (Exception se) {
-
-                se.printStackTrace();
-                Assert.fail(se.getMessage());
-
-            } finally {
-                is.close();
-            }
-
-            // now use the parser object as second time
-            // is = loader.getResourceAsStream("CR6740048.xml");
-            is = this.getClass().getResourceAsStream("CR6740048.xml");
-            try {
-                Document doc = documentBuilder.parse(is);
-            } catch (Exception se) {
-
-                se.printStackTrace();
-                Assert.fail(se.getMessage());
-
-            } finally {
-                is.close();
-            }
-
-            System.err.println("Parse successful");
-
-            is.close();
-        } catch (ParserConfigurationException pce) {
-            pce.printStackTrace();
-        } catch (IOException ioe) {
-            ioe.printStackTrace();
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/CR6740048.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<containers><containerInfo name="Stopped Test Container"><isJ2EEContainer>false</isJ2EEContainer><moduleName>resource</moduleName><priority>80</priority><fileExtensions><name>.stopped</name></fileExtensions><softwareTypes><name>J2EE</name></softwareTypes><supportsLazyStart>true</supportsLazyStart><supportingParallelism>true</supportingParallelism><supportsSingleFileUpdate>false</supportsSingleFileUpdate></containerInfo></containers>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/CR6740048.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"><xs:element name="containers"><xs:complexType><xs:sequence><xs:element name="containerInfo"><xs:complexType><xs:all><xs:element name="isJ2EEContainer" type="xs:boolean" minOccurs="0" maxOccurs="1"/><xs:element name="moduleName" type="xs:string" minOccurs="0" maxOccurs="1"/><xs:element name="priority" type="xs:decimal" minOccurs="0" maxOccurs="1"/><xs:element name="classLoadPriority" type="xs:decimal" minOccurs="0" maxOccurs="1"/><xs:element name="fileNames" type="string-listType" minOccurs="0" maxOccurs="1"/><xs:element name="fileExtensions" type="string-listType" minOccurs="0" maxOccurs="1"/><xs:element name="resourceTypes" type="string-listType" minOccurs="0" maxOccurs="1"/><xs:element name="softwareTypes" type="string-listType" minOccurs="0" maxOccurs="1"/><xs:element name="hasGenerator" type="xs:boolean" minOccurs="0" maxOccurs="1"/><xs:element name="hasModuleDetector" type="xs:boolean" minOccurs="0" maxOccurs="1"/><xs:element name="supportsSingleFileUpdate" type="xs:boolean" minOccurs="0" maxOccurs="1"/><xs:element name="supportsLazyStart" type="xs:boolean" minOccurs="0" maxOccurs="1"/><xs:element name="supportingParallelism" type="xs:boolean" minOccurs="0" maxOccurs="1"/><xs:element name="needStartInitially" type="xs:boolean" minOccurs="0" maxOccurs="1"/><xs:element name="forceServiceStart" type="xs:boolean" minOccurs="0" maxOccurs="1"/></xs:all><xs:attribute name="name" type="xs:string" use="required"/></xs:complexType></xs:element></xs:sequence></xs:complexType></xs:element><xs:complexType name="string-listType"><xs:sequence><xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="unbounded"/></xs:sequence></xs:complexType></xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/CREMAS01.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1138 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-    Document   : CREMAS01.xml
-    Created on : July 28, 2009, 10:49 AM
-    Author     : sp106478
-    Description:
-        Purpose of the document follows.
--->
-
-<CREMAS01  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
-   xsi:schemaLocation='CREMAS01 CREMAS01.xsd'>
-    <IDOC BEGIN="1">
-        <EDI_DC40 SEGMENT="1">
-            <TABNAM>EDI_DC40</TABNAM>
-            <MANDT></MANDT>
-            <DOCNUM></DOCNUM>
-            <DOCREL></DOCREL>
-            <STATUS></STATUS>
-            <DIRECT>1</DIRECT>
-            <OUTMOD></OUTMOD>
-            <EXPRSS></EXPRSS>
-            <TEST></TEST>
-            <IDOCTYP>CREMAS01</IDOCTYP>
-            <CIMTYP></CIMTYP>
-            <MESTYP>CREMAS</MESTYP>
-            <MESCOD></MESCOD>
-            <MESFCT></MESFCT>
-            <STD></STD>
-            <STDVRS></STDVRS>
-            <STDMES></STDMES>
-            <SNDPOR></SNDPOR>
-            <SNDPRT></SNDPRT>
-            <SNDPFC></SNDPFC>
-            <SNDPRN></SNDPRN>
-            <SNDSAD></SNDSAD>
-            <SNDLAD></SNDLAD>
-            <RCVPOR></RCVPOR>
-            <RCVPRT></RCVPRT>
-            <RCVPFC></RCVPFC>
-            <RCVPRN></RCVPRN>
-            <RCVSAD></RCVSAD>
-            <RCVLAD></RCVLAD>
-            <CREDAT></CREDAT>
-            <CRETIM></CRETIM>
-            <REFINT></REFINT>
-            <REFGRP></REFGRP>
-            <REFMES></REFMES>
-            <ARCKEY></ARCKEY>
-            <SERIAL></SERIAL>
-        </EDI_DC40>
-        <E1LFA1M SEGMENT="1">
-            <MSGFN></MSGFN>
-            <LIFNR></LIFNR>
-            <ANRED></ANRED>
-            <BAHNS></BAHNS>
-            <BBBNR></BBBNR>
-            <BBSNR></BBSNR>
-            <BEGRU></BEGRU>
-            <BRSCH></BRSCH>
-            <BUBKZ></BUBKZ>
-            <DATLT></DATLT>
-            <DTAMS></DTAMS>
-            <DTAWS></DTAWS>
-            <ERDAT></ERDAT>
-            <ERNAM></ERNAM>
-            <ESRNR></ESRNR>
-            <KONZS></KONZS>
-            <KTOKK></KTOKK>
-            <KUNNR></KUNNR>
-            <LAND1></LAND1>
-            <LNRZA></LNRZA>
-            <LOEVM></LOEVM>
-            <NAME1></NAME1>
-            <NAME2></NAME2>
-            <NAME3></NAME3>
-            <NAME4></NAME4>
-            <ORT01></ORT01>
-            <ORT02></ORT02>
-            <PFACH></PFACH>
-            <PSTL2></PSTL2>
-            <PSTLZ></PSTLZ>
-            <REGIO></REGIO>
-            <SORTL></SORTL>
-            <SPERR></SPERR>
-            <SPERM></SPERM>
-            <SPRAS></SPRAS>
-            <STCD1></STCD1>
-            <STCD2></STCD2>
-            <STKZA></STKZA>
-            <STKZU></STKZU>
-            <STRAS></STRAS>
-            <TELBX></TELBX>
-            <TELF1></TELF1>
-            <TELF2></TELF2>
-            <TELFX></TELFX>
-            <TELTX></TELTX>
-            <TELX1></TELX1>
-            <XCPDK></XCPDK>
-            <XZEMP></XZEMP>
-            <VBUND></VBUND>
-            <FISKN></FISKN>
-            <STCEG></STCEG>
-            <STKZN></STKZN>
-            <SPERQ></SPERQ>
-            <ADRNR></ADRNR>
-            <MCOD1></MCOD1>
-            <MCOD2></MCOD2>
-            <MCOD3></MCOD3>
-            <GBORT></GBORT>
-            <GBDAT></GBDAT>
-            <SEXKZ></SEXKZ>
-            <KRAUS></KRAUS>
-            <REVDB></REVDB>
-            <QSSYS></QSSYS>
-            <KTOCK></KTOCK>
-            <PFORT></PFORT>
-            <WERKS></WERKS>
-            <LTSNA></LTSNA>
-            <WERKR></WERKR>
-            <PLKAL></PLKAL>
-            <DUEFL></DUEFL>
-            <TXJCD></TXJCD>
-            <E1LFB1M SEGMENT="1">
-                <MSGFN></MSGFN>
-                <LIFNR></LIFNR>
-                <BUKRS></BUKRS>
-                <ERDAT></ERDAT>
-                <ERNAM></ERNAM>
-                <SPERR></SPERR>
-                <LOEVM></LOEVM>
-                <ZUAWA></ZUAWA>
-                <AKONT></AKONT>
-                <BEGRU></BEGRU>
-                <VZSKZ></VZSKZ>
-                <ZWELS></ZWELS>
-                <XVERR></XVERR>
-                <ZAHLS></ZAHLS>
-                <ZTERM></ZTERM>
-                <EIKTO></EIKTO>
-                <ZSABE></ZSABE>
-                <KVERM></KVERM>
-                <FDGRV></FDGRV>
-                <BUSAB></BUSAB>
-                <LNRZE></LNRZE>
-                <LNRZB></LNRZB>
-                <ZINDT></ZINDT>
-                <ZINRT></ZINRT>
-                <DATLZ></DATLZ>
-                <XDEZV></XDEZV>
-                <WEBTR></WEBTR>
-                <KULTG></KULTG>
-                <REPRF></REPRF>
-                <TOGRU></TOGRU>
-                <HBKID></HBKID>
-                <XPORE></XPORE>
-                <QSZNR></QSZNR>
-                <QSZDT></QSZDT>
-                <QSSKZ></QSSKZ>
-                <BLNKZ></BLNKZ>
-                <MINDK></MINDK>
-                <ALTKN></ALTKN>
-                <ZGRUP></ZGRUP>
-                <MGRUP></MGRUP>
-                <UZAWE></UZAWE>
-                <QSREC></QSREC>
-                <QSBGR></QSBGR>
-                <QLAND></QLAND>
-                <XEDIP></XEDIP>
-                <FRGRP></FRGRP>
-                <TLFXS></TLFXS>
-                <E1LFB5M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <BUKRS></BUKRS>
-                    <MABER></MABER>
-                    <MAHNA></MAHNA>
-                    <MANSP></MANSP>
-                    <MADAT></MADAT>
-                    <MAHNS></MAHNS>
-                    <LFRMA></LFRMA>
-                    <GMVDT></GMVDT>
-                    <BUSAB></BUSAB>
-                </E1LFB5M>
-                <E1LFB5M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <BUKRS></BUKRS>
-                    <MABER></MABER>
-                    <MAHNA></MAHNA>
-                    <MANSP></MANSP>
-                    <MADAT></MADAT>
-                    <MAHNS></MAHNS>
-                    <LFRMA></LFRMA>
-                    <GMVDT></GMVDT>
-                    <BUSAB></BUSAB>
-                </E1LFB5M>
-                <E1LFB5M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <BUKRS></BUKRS>
-                    <MABER></MABER>
-                    <MAHNA></MAHNA>
-                    <MANSP></MANSP>
-                    <MADAT></MADAT>
-                    <MAHNS></MAHNS>
-                    <LFRMA></LFRMA>
-                    <GMVDT></GMVDT>
-                    <BUSAB></BUSAB>
-                </E1LFB5M>
-            </E1LFB1M>
-            <E1LFB1M SEGMENT="1">
-                <MSGFN></MSGFN>
-                <LIFNR></LIFNR>
-                <BUKRS></BUKRS>
-                <ERDAT></ERDAT>
-                <ERNAM></ERNAM>
-                <SPERR></SPERR>
-                <LOEVM></LOEVM>
-                <ZUAWA></ZUAWA>
-                <AKONT></AKONT>
-                <BEGRU></BEGRU>
-                <VZSKZ></VZSKZ>
-                <ZWELS></ZWELS>
-                <XVERR></XVERR>
-                <ZAHLS></ZAHLS>
-                <ZTERM></ZTERM>
-                <EIKTO></EIKTO>
-                <ZSABE></ZSABE>
-                <KVERM></KVERM>
-                <FDGRV></FDGRV>
-                <BUSAB></BUSAB>
-                <LNRZE></LNRZE>
-                <LNRZB></LNRZB>
-                <ZINDT></ZINDT>
-                <ZINRT></ZINRT>
-                <DATLZ></DATLZ>
-                <XDEZV></XDEZV>
-                <WEBTR></WEBTR>
-                <KULTG></KULTG>
-                <REPRF></REPRF>
-                <TOGRU></TOGRU>
-                <HBKID></HBKID>
-                <XPORE></XPORE>
-                <QSZNR></QSZNR>
-                <QSZDT></QSZDT>
-                <QSSKZ></QSSKZ>
-                <BLNKZ></BLNKZ>
-                <MINDK></MINDK>
-                <ALTKN></ALTKN>
-                <ZGRUP></ZGRUP>
-                <MGRUP></MGRUP>
-                <UZAWE></UZAWE>
-                <QSREC></QSREC>
-                <QSBGR></QSBGR>
-                <QLAND></QLAND>
-                <XEDIP></XEDIP>
-                <FRGRP></FRGRP>
-                <TLFXS></TLFXS>
-                <E1LFB5M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <BUKRS></BUKRS>
-                    <MABER></MABER>
-                    <MAHNA></MAHNA>
-                    <MANSP></MANSP>
-                    <MADAT></MADAT>
-                    <MAHNS></MAHNS>
-                    <LFRMA></LFRMA>
-                    <GMVDT></GMVDT>
-                    <BUSAB></BUSAB>
-                </E1LFB5M>
-                <E1LFB5M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <BUKRS></BUKRS>
-                    <MABER></MABER>
-                    <MAHNA></MAHNA>
-                    <MANSP></MANSP>
-                    <MADAT></MADAT>
-                    <MAHNS></MAHNS>
-                    <LFRMA></LFRMA>
-                    <GMVDT></GMVDT>
-                    <BUSAB></BUSAB>
-                </E1LFB5M>
-                <E1LFB5M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <BUKRS></BUKRS>
-                    <MABER></MABER>
-                    <MAHNA></MAHNA>
-                    <MANSP></MANSP>
-                    <MADAT></MADAT>
-                    <MAHNS></MAHNS>
-                    <LFRMA></LFRMA>
-                    <GMVDT></GMVDT>
-                    <BUSAB></BUSAB>
-                </E1LFB5M>
-            </E1LFB1M>
-            <E1LFB1M SEGMENT="1">
-                <MSGFN></MSGFN>
-                <LIFNR></LIFNR>
-                <BUKRS></BUKRS>
-                <ERDAT></ERDAT>
-                <ERNAM></ERNAM>
-                <SPERR></SPERR>
-                <LOEVM></LOEVM>
-                <ZUAWA></ZUAWA>
-                <AKONT></AKONT>
-                <BEGRU></BEGRU>
-                <VZSKZ></VZSKZ>
-                <ZWELS></ZWELS>
-                <XVERR></XVERR>
-                <ZAHLS></ZAHLS>
-                <ZTERM></ZTERM>
-                <EIKTO></EIKTO>
-                <ZSABE></ZSABE>
-                <KVERM></KVERM>
-                <FDGRV></FDGRV>
-                <BUSAB></BUSAB>
-                <LNRZE></LNRZE>
-                <LNRZB></LNRZB>
-                <ZINDT></ZINDT>
-                <ZINRT></ZINRT>
-                <DATLZ></DATLZ>
-                <XDEZV></XDEZV>
-                <WEBTR></WEBTR>
-                <KULTG></KULTG>
-                <REPRF></REPRF>
-                <TOGRU></TOGRU>
-                <HBKID></HBKID>
-                <XPORE></XPORE>
-                <QSZNR></QSZNR>
-                <QSZDT></QSZDT>
-                <QSSKZ></QSSKZ>
-                <BLNKZ></BLNKZ>
-                <MINDK></MINDK>
-                <ALTKN></ALTKN>
-                <ZGRUP></ZGRUP>
-                <MGRUP></MGRUP>
-                <UZAWE></UZAWE>
-                <QSREC></QSREC>
-                <QSBGR></QSBGR>
-                <QLAND></QLAND>
-                <XEDIP></XEDIP>
-                <FRGRP></FRGRP>
-                <TLFXS></TLFXS>
-                <E1LFB5M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <BUKRS></BUKRS>
-                    <MABER></MABER>
-                    <MAHNA></MAHNA>
-                    <MANSP></MANSP>
-                    <MADAT></MADAT>
-                    <MAHNS></MAHNS>
-                    <LFRMA></LFRMA>
-                    <GMVDT></GMVDT>
-                    <BUSAB></BUSAB>
-                </E1LFB5M>
-                <E1LFB5M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <BUKRS></BUKRS>
-                    <MABER></MABER>
-                    <MAHNA></MAHNA>
-                    <MANSP></MANSP>
-                    <MADAT></MADAT>
-                    <MAHNS></MAHNS>
-                    <LFRMA></LFRMA>
-                    <GMVDT></GMVDT>
-                    <BUSAB></BUSAB>
-                </E1LFB5M>
-                <E1LFB5M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <BUKRS></BUKRS>
-                    <MABER></MABER>
-                    <MAHNA></MAHNA>
-                    <MANSP></MANSP>
-                    <MADAT></MADAT>
-                    <MAHNS></MAHNS>
-                    <LFRMA></LFRMA>
-                    <GMVDT></GMVDT>
-                    <BUSAB></BUSAB>
-                </E1LFB5M>
-            </E1LFB1M>
-            <E1LFM1M SEGMENT="1">
-                <MSGFN></MSGFN>
-                <LIFNR></LIFNR>
-                <EKORG></EKORG>
-                <ERDAT></ERDAT>
-                <ERNAM></ERNAM>
-                <SPERM></SPERM>
-                <LOEVM></LOEVM>
-                <LFABC></LFABC>
-                <WAERS></WAERS>
-                <VERKF></VERKF>
-                <TELF1></TELF1>
-                <MINBW></MINBW>
-                <ZTERM></ZTERM>
-                <INCO1></INCO1>
-                <INCO2></INCO2>
-                <WEBRE></WEBRE>
-                <KZABS></KZABS>
-                <KALSK></KALSK>
-                <KZAUT></KZAUT>
-                <EXPVZ></EXPVZ>
-                <ZOLLA></ZOLLA>
-                <MEPRF></MEPRF>
-                <EKGRP></EKGRP>
-                <BOLRE></BOLRE>
-                <UMSAE></UMSAE>
-                <XERSY></XERSY>
-                <PLIFZ></PLIFZ>
-                <MRPPP></MRPPP>
-                <LFRHY></LFRHY>
-                <LIEFR></LIEFR>
-                <LIBES></LIBES>
-                <LIPRE></LIPRE>
-                <LISER></LISER>
-                <BOIND></BOIND>
-                <E1LFM2M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <ERDAT></ERDAT>
-                    <ERNAM></ERNAM>
-                    <SPERM></SPERM>
-                    <LOEVM></LOEVM>
-                    <LFABC></LFABC>
-                    <WAERS></WAERS>
-                    <VERKF></VERKF>
-                    <TELF1></TELF1>
-                    <MINBW></MINBW>
-                    <ZTERM></ZTERM>
-                    <INCO1></INCO1>
-                    <INCO2></INCO2>
-                    <WEBRE></WEBRE>
-                    <KZABS></KZABS>
-                    <KALSK></KALSK>
-                    <KZAUT></KZAUT>
-                    <EXPVZ></EXPVZ>
-                    <ZOLLA></ZOLLA>
-                    <MEPRF></MEPRF>
-                    <EKGRP></EKGRP>
-                    <BOLRE></BOLRE>
-                    <UMSAE></UMSAE>
-                    <XERSY></XERSY>
-                    <PLIFZ></PLIFZ>
-                    <MRPPP></MRPPP>
-                    <LFRHY></LFRHY>
-                    <LIEFR></LIEFR>
-                    <LIBES></LIBES>
-                    <LIPRE></LIPRE>
-                    <LISER></LISER>
-                    <DISPO></DISPO>
-                </E1LFM2M>
-                <E1LFM2M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <ERDAT></ERDAT>
-                    <ERNAM></ERNAM>
-                    <SPERM></SPERM>
-                    <LOEVM></LOEVM>
-                    <LFABC></LFABC>
-                    <WAERS></WAERS>
-                    <VERKF></VERKF>
-                    <TELF1></TELF1>
-                    <MINBW></MINBW>
-                    <ZTERM></ZTERM>
-                    <INCO1></INCO1>
-                    <INCO2></INCO2>
-                    <WEBRE></WEBRE>
-                    <KZABS></KZABS>
-                    <KALSK></KALSK>
-                    <KZAUT></KZAUT>
-                    <EXPVZ></EXPVZ>
-                    <ZOLLA></ZOLLA>
-                    <MEPRF></MEPRF>
-                    <EKGRP></EKGRP>
-                    <BOLRE></BOLRE>
-                    <UMSAE></UMSAE>
-                    <XERSY></XERSY>
-                    <PLIFZ></PLIFZ>
-                    <MRPPP></MRPPP>
-                    <LFRHY></LFRHY>
-                    <LIEFR></LIEFR>
-                    <LIBES></LIBES>
-                    <LIPRE></LIPRE>
-                    <LISER></LISER>
-                    <DISPO></DISPO>
-                </E1LFM2M>
-                <E1LFM2M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <ERDAT></ERDAT>
-                    <ERNAM></ERNAM>
-                    <SPERM></SPERM>
-                    <LOEVM></LOEVM>
-                    <LFABC></LFABC>
-                    <WAERS></WAERS>
-                    <VERKF></VERKF>
-                    <TELF1></TELF1>
-                    <MINBW></MINBW>
-                    <ZTERM></ZTERM>
-                    <INCO1></INCO1>
-                    <INCO2></INCO2>
-                    <WEBRE></WEBRE>
-                    <KZABS></KZABS>
-                    <KALSK></KALSK>
-                    <KZAUT></KZAUT>
-                    <EXPVZ></EXPVZ>
-                    <ZOLLA></ZOLLA>
-                    <MEPRF></MEPRF>
-                    <EKGRP></EKGRP>
-                    <BOLRE></BOLRE>
-                    <UMSAE></UMSAE>
-                    <XERSY></XERSY>
-                    <PLIFZ></PLIFZ>
-                    <MRPPP></MRPPP>
-                    <LFRHY></LFRHY>
-                    <LIEFR></LIEFR>
-                    <LIBES></LIBES>
-                    <LIPRE></LIPRE>
-                    <LISER></LISER>
-                    <DISPO></DISPO>
-                </E1LFM2M>
-                <E1WYT3M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <PARVW></PARVW>
-                    <PARZA></PARZA>
-                    <ERNAM></ERNAM>
-                    <ERDAT></ERDAT>
-                    <LIFN2></LIFN2>
-                    <DEFPA></DEFPA>
-                </E1WYT3M>
-                <E1WYT3M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <PARVW></PARVW>
-                    <PARZA></PARZA>
-                    <ERNAM></ERNAM>
-                    <ERDAT></ERDAT>
-                    <LIFN2></LIFN2>
-                    <DEFPA></DEFPA>
-                </E1WYT3M>
-                <E1WYT3M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <PARVW></PARVW>
-                    <PARZA></PARZA>
-                    <ERNAM></ERNAM>
-                    <ERDAT></ERDAT>
-                    <LIFN2></LIFN2>
-                    <DEFPA></DEFPA>
-                </E1WYT3M>
-            </E1LFM1M>
-            <E1LFM1M SEGMENT="1">
-                <MSGFN></MSGFN>
-                <LIFNR></LIFNR>
-                <EKORG></EKORG>
-                <ERDAT></ERDAT>
-                <ERNAM></ERNAM>
-                <SPERM></SPERM>
-                <LOEVM></LOEVM>
-                <LFABC></LFABC>
-                <WAERS></WAERS>
-                <VERKF></VERKF>
-                <TELF1></TELF1>
-                <MINBW></MINBW>
-                <ZTERM></ZTERM>
-                <INCO1></INCO1>
-                <INCO2></INCO2>
-                <WEBRE></WEBRE>
-                <KZABS></KZABS>
-                <KALSK></KALSK>
-                <KZAUT></KZAUT>
-                <EXPVZ></EXPVZ>
-                <ZOLLA></ZOLLA>
-                <MEPRF></MEPRF>
-                <EKGRP></EKGRP>
-                <BOLRE></BOLRE>
-                <UMSAE></UMSAE>
-                <XERSY></XERSY>
-                <PLIFZ></PLIFZ>
-                <MRPPP></MRPPP>
-                <LFRHY></LFRHY>
-                <LIEFR></LIEFR>
-                <LIBES></LIBES>
-                <LIPRE></LIPRE>
-                <LISER></LISER>
-                <BOIND></BOIND>
-                <E1LFM2M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <ERDAT></ERDAT>
-                    <ERNAM></ERNAM>
-                    <SPERM></SPERM>
-                    <LOEVM></LOEVM>
-                    <LFABC></LFABC>
-                    <WAERS></WAERS>
-                    <VERKF></VERKF>
-                    <TELF1></TELF1>
-                    <MINBW></MINBW>
-                    <ZTERM></ZTERM>
-                    <INCO1></INCO1>
-                    <INCO2></INCO2>
-                    <WEBRE></WEBRE>
-                    <KZABS></KZABS>
-                    <KALSK></KALSK>
-                    <KZAUT></KZAUT>
-                    <EXPVZ></EXPVZ>
-                    <ZOLLA></ZOLLA>
-                    <MEPRF></MEPRF>
-                    <EKGRP></EKGRP>
-                    <BOLRE></BOLRE>
-                    <UMSAE></UMSAE>
-                    <XERSY></XERSY>
-                    <PLIFZ></PLIFZ>
-                    <MRPPP></MRPPP>
-                    <LFRHY></LFRHY>
-                    <LIEFR></LIEFR>
-                    <LIBES></LIBES>
-                    <LIPRE></LIPRE>
-                    <LISER></LISER>
-                    <DISPO></DISPO>
-                </E1LFM2M>
-                <E1LFM2M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <ERDAT></ERDAT>
-                    <ERNAM></ERNAM>
-                    <SPERM></SPERM>
-                    <LOEVM></LOEVM>
-                    <LFABC></LFABC>
-                    <WAERS></WAERS>
-                    <VERKF></VERKF>
-                    <TELF1></TELF1>
-                    <MINBW></MINBW>
-                    <ZTERM></ZTERM>
-                    <INCO1></INCO1>
-                    <INCO2></INCO2>
-                    <WEBRE></WEBRE>
-                    <KZABS></KZABS>
-                    <KALSK></KALSK>
-                    <KZAUT></KZAUT>
-                    <EXPVZ></EXPVZ>
-                    <ZOLLA></ZOLLA>
-                    <MEPRF></MEPRF>
-                    <EKGRP></EKGRP>
-                    <BOLRE></BOLRE>
-                    <UMSAE></UMSAE>
-                    <XERSY></XERSY>
-                    <PLIFZ></PLIFZ>
-                    <MRPPP></MRPPP>
-                    <LFRHY></LFRHY>
-                    <LIEFR></LIEFR>
-                    <LIBES></LIBES>
-                    <LIPRE></LIPRE>
-                    <LISER></LISER>
-                    <DISPO></DISPO>
-                </E1LFM2M>
-                <E1LFM2M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <ERDAT></ERDAT>
-                    <ERNAM></ERNAM>
-                    <SPERM></SPERM>
-                    <LOEVM></LOEVM>
-                    <LFABC></LFABC>
-                    <WAERS></WAERS>
-                    <VERKF></VERKF>
-                    <TELF1></TELF1>
-                    <MINBW></MINBW>
-                    <ZTERM></ZTERM>
-                    <INCO1></INCO1>
-                    <INCO2></INCO2>
-                    <WEBRE></WEBRE>
-                    <KZABS></KZABS>
-                    <KALSK></KALSK>
-                    <KZAUT></KZAUT>
-                    <EXPVZ></EXPVZ>
-                    <ZOLLA></ZOLLA>
-                    <MEPRF></MEPRF>
-                    <EKGRP></EKGRP>
-                    <BOLRE></BOLRE>
-                    <UMSAE></UMSAE>
-                    <XERSY></XERSY>
-                    <PLIFZ></PLIFZ>
-                    <MRPPP></MRPPP>
-                    <LFRHY></LFRHY>
-                    <LIEFR></LIEFR>
-                    <LIBES></LIBES>
-                    <LIPRE></LIPRE>
-                    <LISER></LISER>
-                    <DISPO></DISPO>
-                </E1LFM2M>
-                <E1WYT3M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <PARVW></PARVW>
-                    <PARZA></PARZA>
-                    <ERNAM></ERNAM>
-                    <ERDAT></ERDAT>
-                    <LIFN2></LIFN2>
-                    <DEFPA></DEFPA>
-                </E1WYT3M>
-                <E1WYT3M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <PARVW></PARVW>
-                    <PARZA></PARZA>
-                    <ERNAM></ERNAM>
-                    <ERDAT></ERDAT>
-                    <LIFN2></LIFN2>
-                    <DEFPA></DEFPA>
-                </E1WYT3M>
-                <E1WYT3M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <PARVW></PARVW>
-                    <PARZA></PARZA>
-                    <ERNAM></ERNAM>
-                    <ERDAT></ERDAT>
-                    <LIFN2></LIFN2>
-                    <DEFPA></DEFPA>
-                </E1WYT3M>
-            </E1LFM1M>
-            <E1LFM1M SEGMENT="1">
-                <MSGFN></MSGFN>
-                <LIFNR></LIFNR>
-                <EKORG></EKORG>
-                <ERDAT></ERDAT>
-                <ERNAM></ERNAM>
-                <SPERM></SPERM>
-                <LOEVM></LOEVM>
-                <LFABC></LFABC>
-                <WAERS></WAERS>
-                <VERKF></VERKF>
-                <TELF1></TELF1>
-                <MINBW></MINBW>
-                <ZTERM></ZTERM>
-                <INCO1></INCO1>
-                <INCO2></INCO2>
-                <WEBRE></WEBRE>
-                <KZABS></KZABS>
-                <KALSK></KALSK>
-                <KZAUT></KZAUT>
-                <EXPVZ></EXPVZ>
-                <ZOLLA></ZOLLA>
-                <MEPRF></MEPRF>
-                <EKGRP></EKGRP>
-                <BOLRE></BOLRE>
-                <UMSAE></UMSAE>
-                <XERSY></XERSY>
-                <PLIFZ></PLIFZ>
-                <MRPPP></MRPPP>
-                <LFRHY></LFRHY>
-                <LIEFR></LIEFR>
-                <LIBES></LIBES>
-                <LIPRE></LIPRE>
-                <LISER></LISER>
-                <BOIND></BOIND>
-                <E1LFM2M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <ERDAT></ERDAT>
-                    <ERNAM></ERNAM>
-                    <SPERM></SPERM>
-                    <LOEVM></LOEVM>
-                    <LFABC></LFABC>
-                    <WAERS></WAERS>
-                    <VERKF></VERKF>
-                    <TELF1></TELF1>
-                    <MINBW></MINBW>
-                    <ZTERM></ZTERM>
-                    <INCO1></INCO1>
-                    <INCO2></INCO2>
-                    <WEBRE></WEBRE>
-                    <KZABS></KZABS>
-                    <KALSK></KALSK>
-                    <KZAUT></KZAUT>
-                    <EXPVZ></EXPVZ>
-                    <ZOLLA></ZOLLA>
-                    <MEPRF></MEPRF>
-                    <EKGRP></EKGRP>
-                    <BOLRE></BOLRE>
-                    <UMSAE></UMSAE>
-                    <XERSY></XERSY>
-                    <PLIFZ></PLIFZ>
-                    <MRPPP></MRPPP>
-                    <LFRHY></LFRHY>
-                    <LIEFR></LIEFR>
-                    <LIBES></LIBES>
-                    <LIPRE></LIPRE>
-                    <LISER></LISER>
-                    <DISPO></DISPO>
-                </E1LFM2M>
-                <E1LFM2M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <ERDAT></ERDAT>
-                    <ERNAM></ERNAM>
-                    <SPERM></SPERM>
-                    <LOEVM></LOEVM>
-                    <LFABC></LFABC>
-                    <WAERS></WAERS>
-                    <VERKF></VERKF>
-                    <TELF1></TELF1>
-                    <MINBW></MINBW>
-                    <ZTERM></ZTERM>
-                    <INCO1></INCO1>
-                    <INCO2></INCO2>
-                    <WEBRE></WEBRE>
-                    <KZABS></KZABS>
-                    <KALSK></KALSK>
-                    <KZAUT></KZAUT>
-                    <EXPVZ></EXPVZ>
-                    <ZOLLA></ZOLLA>
-                    <MEPRF></MEPRF>
-                    <EKGRP></EKGRP>
-                    <BOLRE></BOLRE>
-                    <UMSAE></UMSAE>
-                    <XERSY></XERSY>
-                    <PLIFZ></PLIFZ>
-                    <MRPPP></MRPPP>
-                    <LFRHY></LFRHY>
-                    <LIEFR></LIEFR>
-                    <LIBES></LIBES>
-                    <LIPRE></LIPRE>
-                    <LISER></LISER>
-                    <DISPO></DISPO>
-                </E1LFM2M>
-                <E1LFM2M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <ERDAT></ERDAT>
-                    <ERNAM></ERNAM>
-                    <SPERM></SPERM>
-                    <LOEVM></LOEVM>
-                    <LFABC></LFABC>
-                    <WAERS></WAERS>
-                    <VERKF></VERKF>
-                    <TELF1></TELF1>
-                    <MINBW></MINBW>
-                    <ZTERM></ZTERM>
-                    <INCO1></INCO1>
-                    <INCO2></INCO2>
-                    <WEBRE></WEBRE>
-                    <KZABS></KZABS>
-                    <KALSK></KALSK>
-                    <KZAUT></KZAUT>
-                    <EXPVZ></EXPVZ>
-                    <ZOLLA></ZOLLA>
-                    <MEPRF></MEPRF>
-                    <EKGRP></EKGRP>
-                    <BOLRE></BOLRE>
-                    <UMSAE></UMSAE>
-                    <XERSY></XERSY>
-                    <PLIFZ></PLIFZ>
-                    <MRPPP></MRPPP>
-                    <LFRHY></LFRHY>
-                    <LIEFR></LIEFR>
-                    <LIBES></LIBES>
-                    <LIPRE></LIPRE>
-                    <LISER></LISER>
-                    <DISPO></DISPO>
-                </E1LFM2M>
-                <E1WYT3M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <PARVW></PARVW>
-                    <PARZA></PARZA>
-                    <ERNAM></ERNAM>
-                    <ERDAT></ERDAT>
-                    <LIFN2></LIFN2>
-                    <DEFPA></DEFPA>
-                </E1WYT3M>
-                <E1WYT3M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <PARVW></PARVW>
-                    <PARZA></PARZA>
-                    <ERNAM></ERNAM>
-                    <ERDAT></ERDAT>
-                    <LIFN2></LIFN2>
-                    <DEFPA></DEFPA>
-                </E1WYT3M>
-                <E1WYT3M SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <LIFNR></LIFNR>
-                    <EKORG></EKORG>
-                    <LTSNR></LTSNR>
-                    <WERKS></WERKS>
-                    <PARVW></PARVW>
-                    <PARZA></PARZA>
-                    <ERNAM></ERNAM>
-                    <ERDAT></ERDAT>
-                    <LIFN2></LIFN2>
-                    <DEFPA></DEFPA>
-                </E1WYT3M>
-            </E1LFM1M>
-            <E1LFBKM SEGMENT="1">
-                <MSGFN></MSGFN>
-                <LIFNR></LIFNR>
-                <BANKS></BANKS>
-                <BANKL></BANKL>
-                <BANKN></BANKN>
-                <BKONT></BKONT>
-                <BVTYP></BVTYP>
-                <XEZER></XEZER>
-                <BANKA></BANKA>
-                <PROVZ></PROVZ>
-                <STRAS></STRAS>
-                <ORT01></ORT01>
-                <SWIFT></SWIFT>
-                <BGRUP></BGRUP>
-                <XPGRO></XPGRO>
-                <BNKLZ></BNKLZ>
-                <PSKTO></PSKTO>
-                <BKREF></BKREF>
-                <BRNCH></BRNCH>
-                <PROV2></PROV2>
-                <STRA2></STRA2>
-                <ORT02></ORT02>
-            </E1LFBKM>
-            <E1LFBKM SEGMENT="1">
-                <MSGFN></MSGFN>
-                <LIFNR></LIFNR>
-                <BANKS></BANKS>
-                <BANKL></BANKL>
-                <BANKN></BANKN>
-                <BKONT></BKONT>
-                <BVTYP></BVTYP>
-                <XEZER></XEZER>
-                <BANKA></BANKA>
-                <PROVZ></PROVZ>
-                <STRAS></STRAS>
-                <ORT01></ORT01>
-                <SWIFT></SWIFT>
-                <BGRUP></BGRUP>
-                <XPGRO></XPGRO>
-                <BNKLZ></BNKLZ>
-                <PSKTO></PSKTO>
-                <BKREF></BKREF>
-                <BRNCH></BRNCH>
-                <PROV2></PROV2>
-                <STRA2></STRA2>
-                <ORT02></ORT02>
-            </E1LFBKM>
-            <E1LFBKM SEGMENT="1">
-                <MSGFN></MSGFN>
-                <LIFNR></LIFNR>
-                <BANKS></BANKS>
-                <BANKL></BANKL>
-                <BANKN></BANKN>
-                <BKONT></BKONT>
-                <BVTYP></BVTYP>
-                <XEZER></XEZER>
-                <BANKA></BANKA>
-                <PROVZ></PROVZ>
-                <STRAS></STRAS>
-                <ORT01></ORT01>
-                <SWIFT></SWIFT>
-                <BGRUP></BGRUP>
-                <XPGRO></XPGRO>
-                <BNKLZ></BNKLZ>
-                <PSKTO></PSKTO>
-                <BKREF></BKREF>
-                <BRNCH></BRNCH>
-                <PROV2></PROV2>
-                <STRA2></STRA2>
-                <ORT02></ORT02>
-            </E1LFBKM>
-            <E1LFASM SEGMENT="1">
-                <MSGFN></MSGFN>
-                <LIFNR></LIFNR>
-                <LAND1></LAND1>
-                <STCEG></STCEG>
-            </E1LFASM>
-            <E1LFASM SEGMENT="1">
-                <MSGFN></MSGFN>
-                <LIFNR></LIFNR>
-                <LAND1></LAND1>
-                <STCEG></STCEG>
-            </E1LFASM>
-            <E1LFASM SEGMENT="1">
-                <MSGFN></MSGFN>
-                <LIFNR></LIFNR>
-                <LAND1></LAND1>
-                <STCEG></STCEG>
-            </E1LFASM>
-            <E1WYT1M SEGMENT="1">
-                <MSGFN></MSGFN>
-                <LIFNR></LIFNR>
-                <LTSNR></LTSNR>
-                <ERNAM></ERNAM>
-                <ERDAT></ERDAT>
-                <SPRAS></SPRAS>
-                <LTSBZ></LTSBZ>
-                <E1WYTTM SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <SPRAS></SPRAS>
-                    <LIFNR></LIFNR>
-                    <LTSNR></LTSNR>
-                    <LTSBZ></LTSBZ>
-                </E1WYTTM>
-                <E1WYTTM SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <SPRAS></SPRAS>
-                    <LIFNR></LIFNR>
-                    <LTSNR></LTSNR>
-                    <LTSBZ></LTSBZ>
-                </E1WYTTM>
-                <E1WYTTM SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <SPRAS></SPRAS>
-                    <LIFNR></LIFNR>
-                    <LTSNR></LTSNR>
-                    <LTSBZ></LTSBZ>
-                </E1WYTTM>
-            </E1WYT1M>
-            <E1WYT1M SEGMENT="1">
-                <MSGFN></MSGFN>
-                <LIFNR></LIFNR>
-                <LTSNR></LTSNR>
-                <ERNAM></ERNAM>
-                <ERDAT></ERDAT>
-                <SPRAS></SPRAS>
-                <LTSBZ></LTSBZ>
-                <E1WYTTM SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <SPRAS></SPRAS>
-                    <LIFNR></LIFNR>
-                    <LTSNR></LTSNR>
-                    <LTSBZ></LTSBZ>
-                </E1WYTTM>
-                <E1WYTTM SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <SPRAS></SPRAS>
-                    <LIFNR></LIFNR>
-                    <LTSNR></LTSNR>
-                    <LTSBZ></LTSBZ>
-                </E1WYTTM>
-                <E1WYTTM SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <SPRAS></SPRAS>
-                    <LIFNR></LIFNR>
-                    <LTSNR></LTSNR>
-                    <LTSBZ></LTSBZ>
-                </E1WYTTM>
-            </E1WYT1M>
-            <E1WYT1M SEGMENT="1">
-                <MSGFN></MSGFN>
-                <LIFNR></LIFNR>
-                <LTSNR></LTSNR>
-                <ERNAM></ERNAM>
-                <ERDAT></ERDAT>
-                <SPRAS></SPRAS>
-                <LTSBZ></LTSBZ>
-                <E1WYTTM SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <SPRAS></SPRAS>
-                    <LIFNR></LIFNR>
-                    <LTSNR></LTSNR>
-                    <LTSBZ></LTSBZ>
-                </E1WYTTM>
-                <E1WYTTM SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <SPRAS></SPRAS>
-                    <LIFNR></LIFNR>
-                    <LTSNR></LTSNR>
-                    <LTSBZ></LTSBZ>
-                </E1WYTTM>
-                <E1WYTTM SEGMENT="1">
-                    <MSGFN></MSGFN>
-                    <SPRAS></SPRAS>
-                    <LIFNR></LIFNR>
-                    <LTSNR></LTSNR>
-                    <LTSBZ></LTSBZ>
-                </E1WYTTM>
-            </E1WYT1M>
-        </E1LFA1M>
-    </IDOC>
-
-</CREMAS01>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/CREMAS01.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3541 +0,0 @@
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-   <xsd:element name="CREMAS01">
-      <xsd:complexType>
-         <xsd:sequence>
-            <xsd:element name="IDOC" type="CREMAS.CREMAS01" />
-         </xsd:sequence>
-      </xsd:complexType>
-   </xsd:element>
-   <xsd:complexType name="CREMAS01.E1LFA1M">
-      <xsd:annotation>
-         <xsd:documentation>
-         Segment for general vendor data
-         </xsd:documentation>
-      </xsd:annotation>
-      <xsd:sequence>
-         <xsd:element name="MSGFN" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Function
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIFNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Account number of the vendor or creditor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ANRED" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Title
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="15" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BAHNS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Train station
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="25" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BBBNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               International location number  (part 1)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="7" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BBSNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               International location number (part 2)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="5" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BEGRU" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Authorization group
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BRSCH" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Industry key
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BUBKZ" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Check digit for the international location number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="DATLT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Number of data communication line
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="14" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="DTAMS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator &apos;report to Central Bank&apos; for data medium exchange
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="DTAWS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Instruction key for data medium exchange
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ERDAT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Date on which the record was created
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="8" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ERNAM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Name of person who created object
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="12" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ESRNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               POR subscriber number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="11" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="KONZS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Group key
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="KTOKK" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Vendor account group
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="KUNNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Customer number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LAND1" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Country of company
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LNRZA" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Account number of the vendor or creditor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LOEVM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Central deletion flag for master record
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="NAME1" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Last name of employee
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="35" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="NAME2" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Last name of employee
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="35" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="NAME3" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Last name of employee
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="35" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="NAME4" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Last name of employee
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="35" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ORT01" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               City
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="35" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ORT02" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               District
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="35" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="PFACH" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Post office box
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="PSTL2" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Postal code
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="PSTLZ" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Postal code
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="REGIO" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Region (State, Province, County)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SORTL" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Character field length = 10
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SPERR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Central posting block
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SPERM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Centrally imposed purchasing block
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SPRAS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Language keys
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="STCD1" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Tax number 1
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="16" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="STCD2" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Tax number 2
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="11" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="STKZA" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: Business partner subject to equalization tax ?
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="STKZU" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: Business partner subject to tax on sales/purch. ?
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="STRAS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Street and house number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="35" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="TELBX" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Telebox number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="15" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="TELF1" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               First telephone number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="16" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="TELF2" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Second telephone number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="16" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="TELFX" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Fax number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="31" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="TELTX" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Teletex number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="30" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="TELX1" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Telex number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="30" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="XCPDK" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: Is the account a one-time account?
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="XZEMP" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: Alternative payee in document allowed ?
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="VBUND" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Company ID of trading partner
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="FISKN" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Account number of the master record with fiscal address
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="STCEG" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               VAT registration number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="20" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="STKZN" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: Business partner a sole proprietor ?
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SPERQ" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Functions that will be blocked
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ADRNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Address
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MCOD1" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Search string for matchcode usage
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="25" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MCOD2" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Search string for using matchcodes
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="25" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MCOD3" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Search string for matchcode usage
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="25" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="GBORT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Place of birth of the person subject to withholding tax
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="25" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="GBDAT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Date of birth
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="8" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SEXKZ" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Key for the sex of the person subject to withholding tax
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="KRAUS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Credit information number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="11" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="REVDB" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Last review (external)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="8" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="QSSYS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Vendor&apos;s QM system
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="KTOCK" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Reference account group for one-time account (vendor)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="PFORT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               PO box city
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="35" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="WERKS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Plant
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LTSNA" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: vendor sub-range relevant
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="WERKR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: plant level relevant
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="PLKAL" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Factory calendar key
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="DUEFL" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Status of data transfer into subsequent release
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="TXJCD" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Jurisdiction for tax calculation - tax jurisdiction code
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="15" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="E1LFB1M" type="CREMAS01.E1LFB1M" minOccurs="0" maxOccurs="999" />
-         <xsd:element name="E1LFM1M" type="CREMAS01.E1LFM1M" minOccurs="0" maxOccurs="999" />
-         <xsd:element name="E1LFBKM" type="CREMAS01.E1LFBKM" minOccurs="0" maxOccurs="999" />
-         <xsd:element name="E1LFASM" type="CREMAS01.E1LFASM" minOccurs="0" maxOccurs="999" />
-         <xsd:element name="E1WYT1M" type="CREMAS01.E1WYT1M" minOccurs="0" maxOccurs="999" />
-      </xsd:sequence>
-      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
-   </xsd:complexType>
-   <xsd:complexType name="CREMAS01.E1LFBKM">
-      <xsd:annotation>
-         <xsd:documentation>
-         Segment for bank details of vendor SMD
-         </xsd:documentation>
-      </xsd:annotation>
-      <xsd:sequence>
-         <xsd:element name="MSGFN" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Function
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIFNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Account number of the vendor or creditor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BANKS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Bank country key
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BANKL" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Bank key
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="15" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BANKN" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Bank account number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="18" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BKONT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Bank control key
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BVTYP" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Partner bank type
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="XEZER" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: Is there collection authorization ?
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BANKA" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Name of the bank
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="60" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="PROVZ" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Region (no longer used as of release 3.0D!!!)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="STRAS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Street (no longer used as of release 3.0D!!!)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="30" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ORT01" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Location
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="25" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SWIFT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               SWIFT code for international payments
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="11" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BGRUP" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Bank group (bank network)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="XPGRO" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Checkbox
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BNKLZ" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Bank number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="15" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="PSKTO" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Post office bank current account number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="16" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BKREF" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Reference specifications for bank details
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="20" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BRNCH" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Bank branch
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="40" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="PROV2" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Region (State, Province, County)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="STRA2" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Street and house number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="35" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ORT02" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               City
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="35" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-      </xsd:sequence>
-      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
-   </xsd:complexType>
-   <xsd:complexType name="CREMAS01.E1LFB5M">
-      <xsd:annotation>
-         <xsd:documentation>
-         Reminder data for vendor SMD
-         </xsd:documentation>
-      </xsd:annotation>
-      <xsd:sequence>
-         <xsd:element name="MSGFN" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Function
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIFNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Account number of the vendor or creditor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BUKRS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Company code
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MABER" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Dunning area
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MAHNA" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Dunning procedure
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MANSP" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Dunning block
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MADAT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Last dunned on
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="8" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MAHNS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Character field of length 1
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LFRMA" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Account number of the dunning recipient
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="GMVDT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Date of the legal dunning proceedings
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="8" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BUSAB" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Accounting clerk
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-      </xsd:sequence>
-      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
-   </xsd:complexType>
-   <xsd:complexType name="EDI_DC40.CREMAS.CREMAS01">
-      <xsd:sequence>
-         <xsd:element name="TABNAM" type="xsd:string" fixed="EDI_DC40">
-            <xsd:annotation>
-               <xsd:documentation>
-               TABNAM
-               </xsd:documentation>
-            </xsd:annotation>
-         </xsd:element>
-         <xsd:element name="MANDT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               MANDT
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="DOCNUM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               DOCNUM
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="16" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="DOCREL" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               DOCREL
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="STATUS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               STATUS
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="DIRECT">
-            <xsd:annotation>
-               <xsd:documentation>
-               DIRECT
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:enumeration value="1">
-                     <xsd:annotation>
-                        <xsd:documentation>
-                        Outbound
-                        </xsd:documentation>
-                     </xsd:annotation>
-                  </xsd:enumeration>
-                  <xsd:enumeration value="2">
-                     <xsd:annotation>
-                        <xsd:documentation>
-                        Inbound
-                        </xsd:documentation>
-                     </xsd:annotation>
-                  </xsd:enumeration>
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="OUTMOD" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               OUTMOD
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="EXPRSS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               EXPRSS
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="TEST" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               TEST
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="IDOCTYP" type="xsd:string" fixed="CREMAS01">
-            <xsd:annotation>
-               <xsd:documentation>
-               IDOCTYP
-               </xsd:documentation>
-            </xsd:annotation>
-         </xsd:element>
-         <xsd:element name="CIMTYP" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               CIMTYP
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="30" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MESTYP" type="xsd:string" fixed="CREMAS">
-            <xsd:annotation>
-               <xsd:documentation>
-               MESTYP
-               </xsd:documentation>
-            </xsd:annotation>
-         </xsd:element>
-         <xsd:element name="MESCOD" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               MESCOD
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MESFCT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               MESFCT
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="STD" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               STD
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="STDVRS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               STDVRS
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="STDMES" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               STDMES
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SNDPOR">
-            <xsd:annotation>
-               <xsd:documentation>
-               SNDPOR
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SNDPRT">
-            <xsd:annotation>
-               <xsd:documentation>
-               SNDPRT
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SNDPFC" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               SNDPFC
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SNDPRN">
-            <xsd:annotation>
-               <xsd:documentation>
-               SNDPRN
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SNDSAD" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               SNDSAD
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="21" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SNDLAD" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               SNDLAD
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="70" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="RCVPOR">
-            <xsd:annotation>
-               <xsd:documentation>
-               RCVPOR
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="RCVPRT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               RCVPRT
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="RCVPFC" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               RCVPFC
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="RCVPRN">
-            <xsd:annotation>
-               <xsd:documentation>
-               RCVPRN
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="RCVSAD" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               RCVSAD
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="21" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="RCVLAD" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               RCVLAD
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="70" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="CREDAT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               CREDAT
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="8" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="CRETIM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               CRETIM
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="REFINT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               REFINT
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="14" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="REFGRP" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               REFGRP
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="14" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="REFMES" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               REFMES
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="14" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ARCKEY" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               ARCKEY
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="70" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SERIAL" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               SERIAL
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="20" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-      </xsd:sequence>
-      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
-   </xsd:complexType>
-   <xsd:complexType name="CREMAS01.E1LFASM">
-      <xsd:annotation>
-         <xsd:documentation>
-         Segment for EU tax numbers vendors
-         </xsd:documentation>
-      </xsd:annotation>
-      <xsd:sequence>
-         <xsd:element name="MSGFN" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Function
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIFNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Account number of the vendor or creditor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LAND1" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Country key
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="STCEG" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               VAT registration number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="20" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-      </xsd:sequence>
-      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
-   </xsd:complexType>
-   <xsd:complexType name="CREMAS01.E1WYTTM">
-      <xsd:annotation>
-         <xsd:documentation>
-         Segment for vendor sub-range identification SMD
-         </xsd:documentation>
-      </xsd:annotation>
-      <xsd:sequence>
-         <xsd:element name="MSGFN" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Function
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SPRAS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Language keys
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIFNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Account number of the vendor or creditor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LTSNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Vendor sub-range
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LTSBZ" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Description
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="20" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-      </xsd:sequence>
-      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
-   </xsd:complexType>
-   <xsd:complexType name="CREMAS01.E1LFM2M">
-      <xsd:annotation>
-         <xsd:documentation>
-         Segment purchasing data for vendor MMS SMD
-         </xsd:documentation>
-      </xsd:annotation>
-      <xsd:sequence>
-         <xsd:element name="MSGFN" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Function
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIFNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Account number of the vendor or creditor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="EKORG" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Purchasing organization
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LTSNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Vendor sub-range
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="WERKS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Plant
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ERDAT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Date on which the record was created
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="8" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ERNAM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Name of person who created object
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="12" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SPERM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Purchasing block at purchasing organization level
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LOEVM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Deletion indicator
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LFABC" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               ABC indicator
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="WAERS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Purchase order currency
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="13" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="VERKF" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Responsible salesperson at vendor&apos;s office
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="30" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="TELF1" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Vendor&apos;s telephone number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="16" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MINBW" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Minimum order value
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="13" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ZTERM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Terms of payment key
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="INCO1" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Incoterms (part 1)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="INCO2" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Incoterms (part 2)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="28" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="WEBRE" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: GR-based invoice verification
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="KZABS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: acknowledgment required
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="KALSK" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Group for calculation schema (vendor)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="KZAUT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Automatic generation of purchase order allowed
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="EXPVZ" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Mode of transport (when goods cross border)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ZOLLA" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Customs office
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MEPRF" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Pricing date control
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="EKGRP" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Purchasing group
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BOLRE" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: vendor subject to subseq. settlement accounting
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="UMSAE" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Comparison/agreement of business volumes necessary
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="XERSY" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Evaluated receipt settlement (ERS)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="PLIFZ" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Planned delivery time in days
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="5" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MRPPP" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Planning calendar
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LFRHY" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Planning cycle
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIEFR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Delivery cycle
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIBES" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Purchase order entry: vendor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIPRE" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Price marking, vendor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LISER" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Rack-jobbing: vendor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="DISPO" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               MRP controller
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-      </xsd:sequence>
-      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
-   </xsd:complexType>
-   <xsd:complexType name="CREMAS01.E1LFB1M">
-      <xsd:annotation>
-         <xsd:documentation>
-         Segment for company code data for vendors SMD
-         </xsd:documentation>
-      </xsd:annotation>
-      <xsd:sequence>
-         <xsd:element name="MSGFN" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Function
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIFNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Account number of the vendor or creditor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BUKRS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Company code
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ERDAT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Date on which the record was created
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="8" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ERNAM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Name of person who created object
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="12" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SPERR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Posting block for company code
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LOEVM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Deletion flag for master record (company code level)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ZUAWA" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Key for sorting according to allocation numbers
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="AKONT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Reconciliation account in general ledger
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BEGRU" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Authorization group
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="VZSKZ" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Interest calculation indicator
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ZWELS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               List of the payment methods to be considered
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="XVERR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: Clearing between customer and vendor?
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ZAHLS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Block key for payment
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ZTERM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Terms of payment key
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="EIKTO" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Our account number at the customer or vendor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="12" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ZSABE" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               User at vendor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="15" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="KVERM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Memo
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="30" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="FDGRV" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Planning group
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BUSAB" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Accounting clerk
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LNRZE" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Head office account number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LNRZB" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Account number of the alternative payee
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ZINDT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Key date of the last interest calculation
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="8" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ZINRT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Interest calculation frequency in months
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="8" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="DATLZ" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Date of the last interest calculation run
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="8" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="XDEZV" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: local processing?
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="WEBTR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Bill of exchange limit (in local currency)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="15" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="KULTG" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Probable time until check is paid
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="REPRF" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Check flag for double invoices or credit memos
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="TOGRU" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Tolerance group for the business partner
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="HBKID" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Short key for a house bank
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="5" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="XPORE" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: Pay all items separately ?
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="QSZNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Certificate number of the withholding tax exemption
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="QSZDT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Validity date for withholding tax exemption certificate
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="8" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="QSSKZ" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Withholding tax code
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BLNKZ" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Subsidy indicator for determining the reduction rates
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MINDK" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Minority indicators
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ALTKN" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Previous master record number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ZGRUP" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Key for payment grouping
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MGRUP" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Key for dunning notice grouping
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="UZAWE" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Payment method supplement
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="QSREC" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Vendor recipient type
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="QSBGR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Authority for exemption from withholding tax
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="QLAND" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Withholding tax country key
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="XEDIP" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: send payment advices by EDI
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="FRGRP" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Release approval group
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="TLFXS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Accounting clerk&apos;s fax number at the customer/vendor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="31" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="E1LFB5M" type="CREMAS01.E1LFB5M" minOccurs="0" maxOccurs="999" />
-      </xsd:sequence>
-      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
-   </xsd:complexType>
-   <xsd:complexType name="CREMAS01.E1LFM1M">
-      <xsd:annotation>
-         <xsd:documentation>
-         Segment for purchasing organization data vendor SMD
-         </xsd:documentation>
-      </xsd:annotation>
-      <xsd:sequence>
-         <xsd:element name="MSGFN" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Function
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIFNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Vendor&apos;s account number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="EKORG" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Purchasing organization
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ERDAT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Date on which the record was created
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="8" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ERNAM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Name of person who created object
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="12" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SPERM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Purchasing block at purchasing organization level
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LOEVM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Delete flag for vendor at purchasing level
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LFABC" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               ABC indicator
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="WAERS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Purchase order currency
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="5" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="VERKF" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Responsible salesperson at vendor&apos;s office
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="30" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="TELF1" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Vendor&apos;s telephone number
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="16" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MINBW" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Minimum order value
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="13" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ZTERM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Terms of payment key
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="INCO1" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Incoterms (part 1)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="INCO2" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Incoterms (part 2)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="28" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="WEBRE" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: GR-based invoice verification
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="KZABS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: acknowledgment required
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="KALSK" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Group for calculation schema (vendor)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="KZAUT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Automatic generation of purchase order allowed
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="EXPVZ" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Mode of transport (when goods cross border)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ZOLLA" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Customs office
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MEPRF" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Pricing date control
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="EKGRP" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Purchasing group
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BOLRE" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: vendor subject to subseq. settlement accounting
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="UMSAE" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Comparison/agreement of business volumes necessary
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="XERSY" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Evaluated receipt settlement (ERS)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="PLIFZ" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Planned delivery time in days
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="5" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="MRPPP" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Planning calendar
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LFRHY" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Planning cycle
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIEFR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Delivery cycle
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="4" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIBES" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Purchase order entry: vendor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIPRE" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Price marking, vendor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LISER" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Rack-jobbing: vendor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="BOIND" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Indicator: index compilation for subseq. settlement active
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="E1LFM2M" type="CREMAS01.E1LFM2M" minOccurs="0" maxOccurs="999" />
-         <xsd:element name="E1WYT3M" type="CREMAS01.E1WYT3M" minOccurs="0" maxOccurs="999" />
-      </xsd:sequence>
-      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
-   </xsd:complexType>
-   <xsd:complexType name="CREMAS01.E1WYT1M">
-      <xsd:annotation>
-         <xsd:documentation>
-         Segment for vendor sub-range MMS SMD
-         </xsd:documentation>
-      </xsd:annotation>
-      <xsd:sequence>
-         <xsd:element name="MSGFN" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Function
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIFNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Account number of the vendor or creditor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LTSNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Vendor sub-range
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ERNAM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Name of person who created object
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="12" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ERDAT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Date on which the record was created
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="8" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="SPRAS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Language keys
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LTSBZ" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Description
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="20" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="E1WYTTM" type="CREMAS01.E1WYTTM" minOccurs="0" maxOccurs="999" />
-      </xsd:sequence>
-      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
-   </xsd:complexType>
-   <xsd:complexType name="CREMAS.CREMAS01">
-      <xsd:annotation>
-         <xsd:documentation>
-         Vendor master data distribution ALE
-         </xsd:documentation>
-      </xsd:annotation>
-      <xsd:sequence>
-         <xsd:element name="EDI_DC40" type="EDI_DC40.CREMAS.CREMAS01" />
-         <xsd:element name="E1LFA1M" type="CREMAS01.E1LFA1M" />
-      </xsd:sequence>
-      <xsd:attribute name="BEGIN" type="xsd:string" fixed="1" use="required" />
-   </xsd:complexType>
-   <xsd:complexType name="CREMAS01.E1WYT3M">
-      <xsd:annotation>
-         <xsd:documentation>
-         Segment for addresses of vendors MMS SMD
-         </xsd:documentation>
-      </xsd:annotation>
-      <xsd:sequence>
-         <xsd:element name="MSGFN" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Function
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIFNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Account number of the vendor or creditor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="EKORG" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Purchasing organization
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LTSNR" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Vendor sub-range
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="WERKS" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Plant
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="6" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="PARVW" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Partner function ID (e.g. SH for ship-to party)
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="2" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="PARZA" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Partner counter
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="3" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ERNAM" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Name of person who created object
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="12" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="ERDAT" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Date on which the record was created
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="8" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="LIFN2" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Reference to other vendor
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="10" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-         <xsd:element name="DEFPA" minOccurs="0">
-            <xsd:annotation>
-               <xsd:documentation>
-               Default partner
-               </xsd:documentation>
-            </xsd:annotation>
-            <xsd:simpleType>
-               <xsd:restriction base="xsd:string">
-                  <xsd:maxLength value="1" />
-               </xsd:restriction>
-            </xsd:simpleType>
-         </xsd:element>
-      </xsd:sequence>
-      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
-   </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/ErrorHandlerImpl.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-public class ErrorHandlerImpl implements ErrorHandler {
-   /** Creates a new instance of ErrorHandlerImpl */
-    public ErrorHandlerImpl() {
-    }
-
-    public void error(SAXParseException sAXParseException) throws SAXException {
-        throw new SAXException(sAXParseException);
-    }
-
-    public void fatalError(SAXParseException sAXParseException) throws SAXException {
-        throw new SAXException(sAXParseException);
-    }
-
-    public void warning(SAXParseException sAXParseException) throws SAXException {
-        throw new SAXException(sAXParseException);
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Issue682.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0"?>
-
-<root xmlns="http://unique/test"
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-xsi:schemaLocation="http://unique/test unique.xsd">
-
-    <node>
-        <module name="test2"/>
-    </node>
-
-    <node name="router">
-        <module name="test1"/>
-    </node>
-
-</root>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Issue682.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-
-<xsd:schema xmlns:ipm="http://unique/test"
-xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-targetNamespace="http://unique/test"
-elementFormDefault="qualified">
-
-<xsd:element name="root">
-    <xsd:complexType>
-        <xsd:sequence>
-            <xsd:element ref="ipm:node" minOccurs="0" maxOccurs="unbounded"/>
-        </xsd:sequence>
-    </xsd:complexType>
-    <xsd:unique name="uniqueNode">
-        <xsd:selector xpath="ipm:node"/>
-        <xsd:field xpath="@name"/>
-        <xsd:field xpath="ipm:module/@name"/>
-    </xsd:unique>
-</xsd:element>
-
-<xsd:element name="node">
-    <xsd:complexType>
-        <xsd:sequence>
-            <xsd:element name="module" minOccurs="0" maxOccurs="1">
-                <xsd:complexType>
-                    <xsd:attribute name="name" type="xsd:string"/>
-                </xsd:complexType>
-            </xsd:element>
-        </xsd:sequence>
-        <xsd:attribute name="name" type="xsd:string"/>
-    </xsd:complexType>
-</xsd:element>
-
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Issue682Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-import java.io.InputStream;
-
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.annotations.Test;
-import org.testng.Assert;
-import org.xml.sax.InputSource;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @summary Test comination of fields in <xsd:unique>, for https://issues.apache.org/jira/browse/XERCESJ-682.
- */
-public class Issue682Test {
-    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";
-
-    File testFile = new File(getClass().getResource("Issue682.xsd").getFile());
-
-    @Test
-    public void test() {
-        try {
-            Schema schema = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema").newSchema(new StreamSource(testFile));
-            SAXParserFactory saxParserFactory = SAXParserFactory.newInstance();
-            saxParserFactory.setNamespaceAware(true);
-            saxParserFactory.setSchema(schema);
-            // saxParserFactory.setFeature("http://java.sun.com/xml/schema/features/report-ignored-element-content-whitespace",
-            // true);
-            SAXParser saxParser = saxParserFactory.newSAXParser();
-            XMLReader xmlReader = saxParser.getXMLReader();
-            xmlReader.setContentHandler(new DefaultHandler());
-            // InputStream input =
-            // ClassLoader.getSystemClassLoader().getResourceAsStream("test/test.xml");
-            InputStream input = getClass().getResourceAsStream("Issue682.xml");
-            System.out.println("Parse InputStream:");
-            xmlReader.parse(new InputSource(input));
-        } catch (Exception ex) {
-            ex.printStackTrace();
-            Assert.fail(ex.toString());
-        }
-
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-/*
- * @summary Test maxOccurs validation.
- */
-public class IssueTracker30 {
-
-    boolean errorFound;
-
-    @Test
-    public void testMaxOccursErrorNoOptimization() throws Exception {
-
-        // Parsing this document should result in an error
-        try {
-                if (!testMaxOccurs("IssueTracker30_occurs-error.xml", "IssueTracker30_occurs.xsd"))
-                        Assert.fail("Expected validation error not reported");
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage(), ex);
-        }
-    }
-
-    @Test
-    public void testMaxOccursOKNoOptimization() throws Exception {
-
-        // Parsing this document should *not* result in an error
-        try {
-                if (testMaxOccurs("IssueTracker30_occurs-ok.xml", "IssueTracker30_occurs.xsd"))
-                        Assert.fail("Unexpected validation error reported");
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage(), ex);
-        }
-    }
-
-    @Test
-    public void testMaxOccursErrorOptimization() throws Exception {
-
-        // Parsing this document should result in an error
-        try {
-                if (!testMaxOccurs("IssueTracker30_occurs-optimize-error.xml", "IssueTracker30_occurs-optimize.xsd"))
-                        Assert.fail("Expected validation error not reported");
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage(), ex);
-        }
-    }
-
-    @Test
-    public void testMaxOccursOKOptimization() throws Exception {
-
-        // Parsing this document should *not* result in an error
-        try {
-                if (testMaxOccurs("IssueTracker30_occurs-optimize-ok.xml", "IssueTracker30_occurs-optimize.xsd"))
-                        Assert.fail("Unexpected validation error reported");
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage(), ex);
-        }
-    }
-
-
-    private boolean testMaxOccurs(String xmlFileName, String xsdFileName) throws Exception {
-        File xmlFile = new File(getClass().getResource(xmlFileName).getFile());
-
-        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        Schema schema = factory.newSchema(new File(getClass().getResource(xsdFileName).getFile()));
-
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        dbf.setSchema(schema);
-
-        DocumentBuilder documentBuilder = dbf.newDocumentBuilder();
-        documentBuilder.setErrorHandler(new ErrorHandler() {
-            public void error(SAXParseException e) throws SAXException {
-                System.out.println("Error: " + e.getMessage());
-                errorFound = true;
-            }
-
-            public void fatalError(SAXParseException e) throws SAXException {
-                System.out.println("Fatal error: " + e.getMessage());
-                throw e;
-            }
-
-            public void warning(SAXParseException e) throws SAXException {
-                System.out.println("Warning: " + e.getMessage());
-            }
-        });
-
-        errorFound = false;
-        documentBuilder.parse(xmlFile);
-        return errorFound;
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs-error.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<persons>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <child_name>Cecilie</child_name>
-    </person>
-    <person>
-        <full_name>Tove Refsnes</full_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Jim</child_name>
-        <child_name>Borge</child_name>
-    </person>
-    <person>
-        <full_name>Stale Refsnes</full_name>
-    </person>
-</persons>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs-ok.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<persons>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <child_name>Cecilie</child_name>
-    </person>
-    <person>
-        <full_name>Tove Refsnes</full_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Jim</child_name>
-    </person>
-    <person>
-        <full_name>Stale Refsnes</full_name>
-    </person>
-</persons>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs-optimize-error.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<persons>
-    <person>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Jim</child_name>
-        <child_name>Borge</child_name>
-    </person>
-</persons>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs-optimize-ok.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<persons>
-    <person>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Jim</child_name>
-    </person>
-</persons>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs-optimize.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-           elementFormDefault="qualified">
-    
-    <xs:element name="persons">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="person" maxOccurs="unbounded">
-                    <xs:complexType>
-                        <xs:sequence>
-                            <xs:element name="child_name" type="xs:string" minOccurs="0"
-                                        maxOccurs="3"/>
-                        </xs:sequence>
-                    </xs:complexType>
-                </xs:element>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    
-</xs:schema>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/IssueTracker30_occurs.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-           elementFormDefault="qualified">
-    
-    <xs:element name="persons">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="person" maxOccurs="unbounded">
-                    <xs:complexType>
-                        <xs:sequence>
-                            <xs:element name="full_name" type="xs:string"/>
-                            <xs:element name="child_name" type="xs:string" minOccurs="0"
-                                        maxOccurs="3"/>
-                        </xs:sequence>
-                    </xs:complexType>
-                </xs:element>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    
-</xs:schema>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/JaxpIssue43Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.FileInputStream;
-import java.util.ArrayList;
-import java.util.List;
-
-import javax.xml.XMLConstants;
-import javax.xml.transform.Source;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMResult;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.NodeList;
-
-/*
- * @bug 6631318
- * @summary Test creating schema from a DOM fragment with namespace.
- */
-public class JaxpIssue43Test {
-
-    @Test
-    public void test() throws Exception {
-        SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        Source[] sources = getSchemaSources();
-        Schema schema = sf.newSchema(sources);
-        Validator validator = schema.newValidator();
-    }
-
-    private Source[] getSchemaSources() throws Exception {
-        List<Source> list = new ArrayList<Source>();
-        String file = getClass().getResource("hello_literal.wsdl").getFile();
-        Source source = new StreamSource(new FileInputStream(file), file);
-
-        Transformer trans = TransformerFactory.newInstance().newTransformer();
-        DOMResult result = new DOMResult();
-        trans.transform(source, result);
-
-        // Look for <xsd:schema> element in wsdl
-        Element e = ((Document) result.getNode()).getDocumentElement();
-        NodeList typesList = e.getElementsByTagNameNS("http://schemas.xmlsoap.org/wsdl/", "types");
-        NodeList schemaList = ((Element) typesList.item(0)).getElementsByTagNameNS("http://www.w3.org/2001/XMLSchema", "schema");
-        Element elem = (Element) schemaList.item(0);
-        list.add(new DOMSource(elem, file + "#schema0"));
-
-        // trans.transform(new DOMSource(elem), new StreamResult(System.out));
-
-        return list.toArray(new Source[list.size()]);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/JaxpIssue49.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,87 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.FileInputStream;
-
-import javax.xml.XMLConstants;
-import javax.xml.transform.Source;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMResult;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Node;
-
-/*
- * @bug 6684227
- * @summary Test property current-element-node works.
- */
-public class JaxpIssue49 {
-
-    private Schema schema;
-    private Validator validator;
-
-    @Test
-    public void testValidatorTest() throws Exception {
-        try {
-            SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            String file = getClass().getResource("types.xsd").getFile();
-            Source[] sources = new Source[] { new StreamSource(new FileInputStream(file), file) };
-            Schema schema = sf.newSchema(sources);
-            validator = schema.newValidator();
-            validate();
-        } catch (Exception e) {
-            Node node = (Node) validator.getProperty("http://apache.org/xml/properties/dom/current-element-node");
-            if (node != null) {
-                System.out.println("Node: " + node.getLocalName());
-            } else
-                Assert.fail("No node returned");
-        }
-    }
-
-    public void validate() throws Exception {
-        validator.reset();
-        Source source = new StreamSource(getClass().getResourceAsStream("JaxpIssue49.xml"));
-        // If you comment the following line, it works
-        source = toDOMSource(source);
-        validator.validate(source);
-    }
-
-    DOMSource toDOMSource(Source source) throws Exception {
-        if (source instanceof DOMSource) {
-            return (DOMSource) source;
-        }
-        Transformer trans = TransformerFactory.newInstance().newTransformer();
-        DOMResult result = new DOMResult();
-        trans.transform(source, result);
-        trans.transform(new DOMSource(result.getNode()), new StreamResult(System.out));
-        return new DOMSource(result.getNode());
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/JaxpIssue49.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ns1:getSedansResponse xmlns:ns1="http://server.type_substitution.fromjava/">
-    <return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:toyota">
-        <make>Toyota</make><model>Camry</model><year>1998</year><color>white</color>
-    </return>
-    <!-- specify wrong xsi type to introduce a validation error -->
-    <return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:car">
-        <make>Toyota</make><model>Corolla</model><year>1999</year><color>red</color>
-    </return>
-</ns1:getSedansResponse>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/LargeMaxOccursTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-
-import javax.xml.XMLConstants;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test Validator shall report error for maxOccurs > 5000 when FEATURE_SECURE_PROCESSING is on, except the schema can be applied for constant-space algorithm.
- */
-public class LargeMaxOccursTest {
-
-    @Test
-    public void testParticlesR005() {
-        try {
-            SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            String xsdFile = "particlesR005.xsd";
-            Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
-            Validator validator = schema.newValidator();
-        } catch (Exception ex) {
-            return; // expected
-        }
-        Assert.fail("Parser configuration error expected since maxOccurs > 5000 " + "and constant-space optimization does not apply");
-    }
-
-    @Test
-    public void testParticlesIe003() {
-        try {
-            SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            String xsdFile = "particlesIe003.xsd";
-            Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
-            Validator validator = schema.newValidator();
-        } catch (Exception ex) {
-            return; // expected
-        }
-        Assert.fail("Parser configuration error expected since maxOccurs > 5000 " + "and constant-space optimization does not apply");
-    }
-
-    @Test
-    public void testmgG014() {
-        try {
-            SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            String xsdFile = "mgG014.xsd";
-            Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
-            Validator validator = schema.newValidator();
-        } catch (Exception ex) {
-            return; // expected
-        }
-        Assert.fail("Parser configuration error expected since maxOccurs > 5000 " + "and constant-space optimization does not apply");
-    }
-
-    @Test
-    public void testmgJ014() {
-        try {
-            SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            String xsdFile = "mgJ014.xsd";
-            Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
-            Validator validator = schema.newValidator();
-        } catch (Exception ex) {
-            return; // expected
-        }
-        Assert.fail("Parser configuration error expected since maxOccurs > 5000 " + "and constant-space optimization does not apply");
-    }
-
-    // particlesOptimize.xsd missing.
-    @Test
-    public void testParticlesOptimize() {
-        try {
-            SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            String xsdFile = "particlesOptimize.xsd";
-            Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
-            Validator validator = schema.newValidator();
-        } catch (Exception ex) {
-            Assert.fail("Parser configuration error not expected since maxOccurs " + "> 5000 but constant-space optimization applies");
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/MultiOccursTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,143 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-/*
- * @summary Test Schema Validator can parse multiple or unbounded occurs.
- */
-public class MultiOccursTest {
-
-    boolean errorFound;
-
-    DocumentBuilder documentBuilder;
-
-    private void printMethodName() {
-        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
-        System.out.println(stack[2].getMethodName());
-    }
-
-    public MultiOccursTest() throws Exception {
-        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        Schema schema = factory.newSchema(new File(getClass().getResource("multi-occurs.xsd").getFile()));
-
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        dbf.setSchema(schema);
-
-        documentBuilder = dbf.newDocumentBuilder();
-        documentBuilder.setErrorHandler(new ErrorHandler() {
-            public void error(SAXParseException e) throws SAXException {
-                System.out.println("Error: " + e.getMessage());
-                errorFound = true;
-            }
-
-            public void fatalError(SAXParseException e) throws SAXException {
-                System.out.println("Fatal error: " + e.getMessage());
-            }
-
-            public void warning(SAXParseException e) throws SAXException {
-                System.out.println("Warning: " + e.getMessage());
-            }
-        });
-    }
-
-    @Test
-    public void testMultiOccursMaxMinOk() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("multi-occurs-ok.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (errorFound) {
-            Assert.fail("Unexpected validation error reported");
-        }
-    }
-
-    @Test
-    public void testMultiOccursMaxMinErrorMin() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("multi-occurs-error-min.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (!errorFound) {
-            Assert.fail("Expected validation error not reported");
-        }
-    }
-
-    @Test
-    public void testMultiOccursMaxMinErrorMax() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("multi-occurs-error-max.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (!errorFound) {
-            Assert.fail("Expected validation error not reported");
-        }
-    }
-
-    @Test
-    public void testMultiOccursMaxMinErrorMinMax() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("multi-occurs-error-min-max.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (!errorFound) {
-            Assert.fail("Expected validation error not reported");
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/MultiOccursUnboundedTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,111 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-/*
- * @summary Test Schema Validator can parse multiple or unbounded occurs.
- */
-public class MultiOccursUnboundedTest {
-
-    boolean errorFound;
-
-    DocumentBuilder documentBuilder;
-
-    private void printMethodName() {
-        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
-        System.out.println(stack[2].getMethodName());
-    }
-
-    public MultiOccursUnboundedTest() throws Exception {
-        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        Schema schema = factory.newSchema(new File(getClass().getResource("multi-occurs-unbounded.xsd").getFile()));
-
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        dbf.setSchema(schema);
-
-        documentBuilder = dbf.newDocumentBuilder();
-        documentBuilder.setErrorHandler(new ErrorHandler() {
-            public void error(SAXParseException e) throws SAXException {
-                System.out.println("Error: " + e.getMessage());
-                errorFound = true;
-            }
-
-            public void fatalError(SAXParseException e) throws SAXException {
-                System.out.println("Fatal error: " + e.getMessage());
-            }
-
-            public void warning(SAXParseException e) throws SAXException {
-                System.out.println("Warning: " + e.getMessage());
-            }
-        });
-    }
-
-    @Test
-    public void testMultiOccursMaxMinOk() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("multi-occurs-unbounded-ok.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (errorFound) {
-            Assert.fail("Unexpected validation error reported");
-        }
-    }
-
-    @Test
-    public void testMultiOccursMaxMinErrorMin() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("multi-occurs-unbounded-error-min.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (!errorFound) {
-            Assert.fail("Expected validation error not reported");
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/OccursTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,143 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-/*
- * @summary Test Schema Validator can parse multiple or unbounded occurs.
- */
-public class OccursTest {
-
-    boolean errorFound;
-
-    DocumentBuilder documentBuilder;
-
-    private void printMethodName() {
-        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
-        System.out.println(stack[2].getMethodName());
-    }
-
-    public OccursTest() throws Exception {
-        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        Schema schema = factory.newSchema(new File(getClass().getResource("occurs.xsd").getFile()));
-
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        dbf.setSchema(schema);
-
-        documentBuilder = dbf.newDocumentBuilder();
-        documentBuilder.setErrorHandler(new ErrorHandler() {
-            public void error(SAXParseException e) throws SAXException {
-                System.out.println("Error: " + e.getMessage());
-                errorFound = true;
-            }
-
-            public void fatalError(SAXParseException e) throws SAXException {
-                System.out.println("Fatal error: " + e.getMessage());
-            }
-
-            public void warning(SAXParseException e) throws SAXException {
-                System.out.println("Warning: " + e.getMessage());
-            }
-        });
-    }
-
-    @Test
-    public void testOccursMaxMinOk() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("occurs-ok.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (errorFound) {
-            Assert.fail("Unexpected validation error reported");
-        }
-    }
-
-    @Test
-    public void testOccursMaxMinErrorMin() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("occurs-error-min.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (!errorFound) {
-            Assert.fail("Expected validation error not reported");
-        }
-    }
-
-    @Test
-    public void testOccursMaxMinErrorMax() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("occurs-error-max.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (!errorFound) {
-            Assert.fail("Expected validation error not reported");
-        }
-    }
-
-    @Test
-    public void testOccursMaxMinErrorMinMax() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("occurs-error-min-max.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (!errorFound) {
-            Assert.fail("Expected validation error not reported");
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/OccursUnboundedTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,111 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-/*
- * @summary Test Schema Validator can parse multiple or unbounded occurs.
- */
-public class OccursUnboundedTest {
-
-    boolean errorFound;
-
-    DocumentBuilder documentBuilder;
-
-    private void printMethodName() {
-        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
-        System.out.println(stack[2].getMethodName());
-    }
-
-    public OccursUnboundedTest() throws Exception {
-        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        Schema schema = factory.newSchema(new File(getClass().getResource("occurs-unbounded.xsd").getFile()));
-
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        dbf.setSchema(schema);
-
-        documentBuilder = dbf.newDocumentBuilder();
-        documentBuilder.setErrorHandler(new ErrorHandler() {
-            public void error(SAXParseException e) throws SAXException {
-                System.out.println("Error: " + e.getMessage());
-                errorFound = true;
-            }
-
-            public void fatalError(SAXParseException e) throws SAXException {
-                System.out.println("Fatal error: " + e.getMessage());
-            }
-
-            public void warning(SAXParseException e) throws SAXException {
-                System.out.println("Warning: " + e.getMessage());
-            }
-        });
-    }
-
-    @Test
-    public void testOccursUnboundedMaxMinOk() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("occurs-unbounded-ok.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (errorFound) {
-            Assert.fail("Unexpected validation error reported");
-        }
-    }
-
-    @Test
-    public void testOccursUnboundedMaxMinErrorMin() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("occurs-unbounded-error-min.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (!errorFound) {
-            Assert.fail("Expected validation error not reported");
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/OccursWildcardTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,143 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-/*
- * @summary Test Schema Validator can parse multiple or unbounded occurs.
- */
-public class OccursWildcardTest {
-
-    boolean errorFound;
-
-    DocumentBuilder documentBuilder;
-
-    private void printMethodName() {
-        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
-        System.out.println(stack[2].getMethodName());
-    }
-
-    public OccursWildcardTest() throws Exception {
-        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        Schema schema = factory.newSchema(new File(getClass().getResource("occurs-wildcard.xsd").getFile()));
-
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        dbf.setSchema(schema);
-
-        documentBuilder = dbf.newDocumentBuilder();
-        documentBuilder.setErrorHandler(new ErrorHandler() {
-            public void error(SAXParseException e) throws SAXException {
-                System.out.println("Error: " + e.getMessage());
-                errorFound = true;
-            }
-
-            public void fatalError(SAXParseException e) throws SAXException {
-                System.out.println("Fatal error: " + e.getMessage());
-            }
-
-            public void warning(SAXParseException e) throws SAXException {
-                System.out.println("Warning: " + e.getMessage());
-            }
-        });
-    }
-
-    @Test
-    public void testOccursMaxMinOk() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("occurs-ok.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (errorFound) {
-            Assert.fail("Unexpected validation error reported");
-        }
-    }
-
-    @Test
-    public void testOccursMaxMinErrorMin() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("occurs-error-min.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (!errorFound) {
-            Assert.fail("Expected validation error not reported");
-        }
-    }
-
-    @Test
-    public void testOccursMaxMinErrorMax() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("occurs-error-max.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (!errorFound) {
-            Assert.fail("Expected validation error not reported");
-        }
-    }
-
-    @Test
-    public void testOccursMaxMinErrorMinMax() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("occurs-error-min-max.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (!errorFound) {
-            Assert.fail("Expected validation error not reported");
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/OccursWildcardUnbounded.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,111 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-/*
- * @summary Test Schema Validator can parse multiple or unbounded occurs.
- */
-public class OccursWildcardUnbounded {
-
-    boolean errorFound;
-
-    DocumentBuilder documentBuilder;
-
-    private void printMethodName() {
-        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
-        System.out.println(stack[2].getMethodName());
-    }
-
-    public OccursWildcardUnbounded() throws Exception {
-        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        Schema schema = factory.newSchema(new File(getClass().getResource("occurs-wildcard-unbounded.xsd").getFile()));
-
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        dbf.setSchema(schema);
-
-        documentBuilder = dbf.newDocumentBuilder();
-        documentBuilder.setErrorHandler(new ErrorHandler() {
-            public void error(SAXParseException e) throws SAXException {
-                System.out.println("Error: " + e.getMessage());
-                errorFound = true;
-            }
-
-            public void fatalError(SAXParseException e) throws SAXException {
-                System.out.println("Fatal error: " + e.getMessage());
-            }
-
-            public void warning(SAXParseException e) throws SAXException {
-                System.out.println("Warning: " + e.getMessage());
-            }
-        });
-    }
-
-    @Test
-    public void testOccursUnboundedMaxMinOk() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("occurs-unbounded-ok.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (errorFound) {
-            Assert.fail("Unexpected validation error reported");
-        }
-    }
-
-    @Test
-    public void testOccursUnboundedMaxMinErrorMin() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("occurs-unbounded-error-min.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (!errorFound) {
-            Assert.fail("Expected validation error not reported");
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/ParticlesId005Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,95 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-/*
- * @summary Test Schema Validator can parse multiple or unbounded occurs.
- */
-public class ParticlesId005Test {
-
-    boolean errorFound;
-
-    DocumentBuilder documentBuilder;
-
-    private void printMethodName() {
-        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
-        System.out.println(stack[2].getMethodName());
-    }
-
-    public ParticlesId005Test() throws Exception {
-        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        Schema schema = factory.newSchema(new File(getClass().getResource("particlesId005.xsd").getFile()));
-
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        dbf.setSchema(schema);
-
-        documentBuilder = dbf.newDocumentBuilder();
-        documentBuilder.setErrorHandler(new ErrorHandler() {
-            public void error(SAXParseException e) throws SAXException {
-                System.out.println("Error: " + e.getMessage());
-                errorFound = true;
-            }
-
-            public void fatalError(SAXParseException e) throws SAXException {
-                System.out.println("Fatal error: " + e.getMessage());
-            }
-
-            public void warning(SAXParseException e) throws SAXException {
-                System.out.println("Warning: " + e.getMessage());
-            }
-        });
-    }
-
-    @Test
-    public void testNoOptimizationWithChoice() throws Exception {
-        printMethodName();
-
-        File xmlFile = new File(getClass().getResource("particlesId005.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (errorFound) {
-            Assert.fail("Unexpected validation error reported");
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/ParticlesIg004Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-
-import javax.xml.XMLConstants;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @summary Test particlesIg004.xsd.
- */
-public class ParticlesIg004Test {
-
-    @Test
-    public void testParticleslg004() {
-        try {
-            SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            String xsdFile = "particlesIg004.xsd";
-            Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
-            Validator validator = schema.newValidator();
-        } catch (Exception ex) {
-            ex.printStackTrace();
-            Assert.fail(ex.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/ParticlesQ013Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,94 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-/*
- * @summary Test Schema Validator can parse multiple or unbounded occurs.
- */
-public class ParticlesQ013Test {
-
-    boolean errorFound;
-
-    DocumentBuilder documentBuilder;
-
-    private void printMethodName() {
-        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
-        System.out.println(stack[2].getMethodName());
-    }
-
-    public ParticlesQ013Test() throws Exception {
-        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        Schema schema = factory.newSchema(new File(getClass().getResource("particlesQ013.xsd").getFile()));
-
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        dbf.setSchema(schema);
-
-        documentBuilder = dbf.newDocumentBuilder();
-        documentBuilder.setErrorHandler(new ErrorHandler() {
-            public void error(SAXParseException e) throws SAXException {
-                System.out.println("Error: " + e.getMessage());
-                errorFound = true;
-            }
-
-            public void fatalError(SAXParseException e) throws SAXException {
-                System.out.println("Fatal error: " + e.getMessage());
-            }
-
-            public void warning(SAXParseException e) throws SAXException {
-                System.out.println("Warning: " + e.getMessage());
-            }
-        });
-    }
-
-    @Test
-    public void testNoOptimizationWithChoice() throws Exception {
-        printMethodName();
-        File xmlFile = new File(getClass().getResource("particlesQ013.xml").getFile());
-        try {
-            errorFound = false;
-            documentBuilder.parse(xmlFile);
-        } catch (SAXException ex) {
-            Assert.fail(ex.getMessage());
-        }
-        if (errorFound) {
-            Assert.fail("Unexpected validation error reported");
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/ProcessContents-lax-error.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<my_lax>
-   <my_int>25.5</my_int>
-</my_lax>
\ No newline at end of file
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/ProcessContents-ok.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<?xml version="1.0"?>
-<my_strict>
-   <my_int>255</my_int>
-   <my_skip>
-      <my_int>2.55</my_int>
-      <un_define/>
-      <my_lax>
-         <my_int>25.5</my_int>
-      </my_lax>
-      <my_strict>
-         <un_define>TTT</un_define>
-      </my_strict>
-   </my_skip>   
-   <my_lax>
-         <my_int>2555</my_int>
-         <un_define>TTT</un_define>
-         <my_strict>
-            <my_int>20</my_int>
-         </my_strict>
-   </my_lax>
-</my_strict>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/ProcessContents.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
-
-<xs:element name="my_lax">
-   <xs:complexType>
-      <xs:sequence>
-         <xs:any processContents="lax" maxOccurs="unbounded"/>			  
-      </xs:sequence>
-   </xs:complexType>
-</xs:element>
-
-<xs:element name="my_skip">
-   <xs:complexType>
-      <xs:sequence>
-         <xs:any processContents="skip" maxOccurs="unbounded"/>			  
-      </xs:sequence>
-   </xs:complexType>
-</xs:element>
-
-<xs:element name="my_strict">
-   <xs:complexType>
-      <xs:sequence>
-         <xs:any maxOccurs="unbounded"/> <!-- by default, processContents="strict" -->
-      </xs:sequence>
-   </xs:complexType>
-</xs:element>
-
-<xs:element name="my_int">
-   <xs:simpleType>
-         <xs:restriction base="xs:int"/>
-   </xs:simpleType>
-</xs:element>
-
-</xs:schema>
\ No newline at end of file
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/TCKGroupA008Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @summary Test groupA008.xsd.
- */
-public class TCKGroupA008Test {
-    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 test() {
-        // System.setSecurityManager(new SecurityManager());
-        try {
-            SchemaFactory factory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
-            File schemaLocation = new File(getClass().getResource("groupA008.xsd").getFile());
-            Schema schema = factory.newSchema(schemaLocation);
-            Validator validator = schema.newValidator();
-        } catch (SAXException e) {
-            System.out.println(e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/ValidatorTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,195 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileWriter;
-
-import javax.xml.XMLConstants;
-import javax.xml.stream.XMLEventReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.transform.Result;
-import javax.xml.transform.Source;
-import javax.xml.transform.stax.StAXResult;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.ErrorHandler;
-
-/*
- * @summary Test Validator.validate(Source, Result).
- */
-public class ValidatorTest {
-
-    @Test
-    public void testValidateStAX() {
-
-        File resultFile = null;
-        try {
-            resultFile = new File("stax.result");
-            if (resultFile.exists()) {
-                resultFile.delete();
-            }
-
-            Result xmlResult = new javax.xml.transform.stax.StAXResult(XMLOutputFactory.newInstance().createXMLStreamWriter(new FileWriter(resultFile)));
-            Source xmlSource = new javax.xml.transform.stax.StAXSource(getXMLEventReader("toys.xml"));
-            validate("toys.xsd", xmlSource, xmlResult);
-
-            ((StAXResult) xmlResult).getXMLStreamWriter().close();
-            Assert.assertTrue(resultFile.exists(), "result file is not created");
-
-        } catch (Exception ex) {
-            ex.printStackTrace();
-            Assert.fail("Exception : " + ex.getMessage());
-        } finally {
-            if (resultFile != null && resultFile.exists()) {
-                resultFile.delete();
-            }
-        }
-    }
-
-    @Test
-    public void testValidateStream() {
-
-        File resultFile = null;
-        try {
-            resultFile = new File("stax.result");
-            if (resultFile.exists()) {
-                resultFile.delete();
-            }
-
-            // Validate this instance document against the
-            // Instance document supplied
-            Result xmlResult = new javax.xml.transform.stream.StreamResult(resultFile);
-            Source xmlSource = new javax.xml.transform.stream.StreamSource(new File(ValidatorTest.class.getResource("toys.xml").toURI()));
-
-            validate("toys.xsd", xmlSource, xmlResult);
-            Assert.assertTrue(resultFile.exists(), "result file is not created");
-        } catch (Exception ex) {
-            ex.printStackTrace();
-            Assert.fail("Exception : " + ex.getMessage());
-        } finally {
-            if (resultFile != null && resultFile.exists()) {
-                resultFile.delete();
-            }
-        }
-    }
-
-    @Test
-    public void testValidateGMonth() {
-
-        // test valid gMonths
-        File resultFile = null;
-        try {
-            resultFile = new File("gMonths.result.xml");
-            if (resultFile.exists()) {
-                resultFile.delete();
-            }
-
-            // Validate this instance document against the
-            // Instance document supplied
-            Result xmlResult = new javax.xml.transform.stream.StreamResult(resultFile);
-            Source xmlSource = new javax.xml.transform.stream.StreamSource(new File(ValidatorTest.class.getResource("gMonths.xml").toURI()));
-
-            validate("gMonths.xsd", xmlSource, xmlResult);
-
-            Assert.assertTrue(resultFile.exists(), "result file is not created");
-        } catch (Exception ex) {
-            ex.printStackTrace();
-            Assert.fail("Exception : " + ex.getMessage());
-        } finally {
-            if (resultFile != null && resultFile.exists()) {
-                resultFile.delete();
-            }
-        }
-
-        // test invalid gMonths
-        File invalidResultFile = null;
-        try {
-            invalidResultFile = new File("gMonths-invalid.result.xml");
-            if (invalidResultFile.exists()) {
-                invalidResultFile.delete();
-            }
-
-            // Validate this instance document against the
-            // Instance document supplied
-            Result xmlResult = new javax.xml.transform.stream.StreamResult(resultFile);
-            Source xmlSource = new javax.xml.transform.stream.StreamSource(new File(ValidatorTest.class.getResource("gMonths-invalid.xml").toURI()));
-
-            validate("gMonths.xsd", xmlSource, xmlResult);
-
-            // should have failed with an Exception due to invalid gMonths
-            Assert.fail("invalid gMonths were accepted as valid in " + ValidatorTest.class.getResource("gMonths-invalid.xml").toURI());
-        } catch (Exception ex) {
-            // expected failure
-            System.out.println("Expected failure: " + ex.toString());
-        } finally {
-            if (invalidResultFile != null && invalidResultFile.exists()) {
-                invalidResultFile.delete();
-            }
-        }
-    }
-
-    private void validate(final String xsdFile, final Source src, final Result result) throws Exception {
-        try {
-            SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            Schema schema = sf.newSchema(new File(ValidatorTest.class.getResource(xsdFile).toURI()));
-
-            // Get a Validator which can be used to validate instance document
-            // against this grammar.
-            Validator validator = schema.newValidator();
-            ErrorHandler eh = new ErrorHandlerImpl();
-            validator.setErrorHandler(eh);
-
-            // Validate this instance document against the
-            // Instance document supplied
-            validator.validate(src, result);
-        } catch (Exception ex) {
-            throw ex;
-        }
-    }
-
-    private XMLEventReader getXMLEventReader(final String filename) {
-
-        XMLInputFactory xmlif = null;
-        XMLEventReader xmlr = null;
-        try {
-            xmlif = XMLInputFactory.newInstance();
-            xmlif.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, Boolean.TRUE);
-            xmlif.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, Boolean.FALSE);
-            xmlif.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
-            xmlif.setProperty(XMLInputFactory.IS_COALESCING, Boolean.TRUE);
-
-            // FileInputStream fis = new FileInputStream(filename);
-            FileInputStream fis = new FileInputStream(new File(ValidatorTest.class.getResource(filename).toURI()));
-            xmlr = xmlif.createXMLEventReader(filename, fis);
-        } catch (Exception ex) {
-            ex.printStackTrace();
-            Assert.fail("Exception : " + ex.getMessage());
-        }
-        return xmlr;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/XMLDocBuilder.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,143 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.io.Reader;
-import java.io.UnsupportedEncodingException;
-import java.net.MalformedURLException;
-import java.net.URL;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.w3c.dom.Document;
-import org.xml.sax.EntityResolver;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-public class XMLDocBuilder {
-
-    private DocumentBuilderFactory factory = null;
-    private DocumentBuilder builder = null;
-    private Document doc = null;
-    private Reader reader = null;
-    private Reader schema = null;
-    private String encoding = null;
-    private String entityPath = null;
-
-    public XMLDocBuilder(String file, String encoding, String schema) {
-        this.encoding = encoding;
-        reader = getReaderFromSystemResource(file, encoding);
-        this.schema = getReaderFromSystemResource(schema, encoding);
-    }
-
-    public Document getDocument() {
-        if (reader == null)
-            return null;
-
-        try {
-            factory = DocumentBuilderFactory.newInstance();
-
-            builder = factory.newDocumentBuilder();
-            builder.setErrorHandler(new myErrorHandler());
-            builder.setEntityResolver(new myEntityResolver());
-
-            InputSource source = new InputSource(reader);
-            source.setEncoding(encoding);
-
-            try {
-                doc = builder.parse(source);
-                new XMLSchemaValidator(doc, schema).validate();
-
-            } catch (SAXException e) {
-                System.err.println(getClass() + " SAXException: " + e.getMessage());
-                return null;
-            } catch (IOException e) {
-                System.err.println(getClass() + " IOException: " + e.getMessage());
-                return null;
-            } catch (OutOfMemoryError e) {
-                e.printStackTrace();
-                System.err.println(e.getCause().getLocalizedMessage());
-                return null;
-            }
-
-        } catch (ParserConfigurationException e) {
-            System.err.println(getClass() + " ParserConfigurationException: " + e.getMessage());
-            return null;
-        }
-        return doc;
-    }
-
-    public Reader getReaderFromSystemResource(String file, String encoding) {
-
-        try {
-            return new InputStreamReader(getClass().getResourceAsStream(file), encoding);
-        } catch (UnsupportedEncodingException e) {
-            System.err.println(getClass() + " UnsupportedEncodingException: " + e.getMessage());
-        } catch (IOException e) {
-            System.err.println(getClass() + " IOException: " + e.getMessage());
-        }
-        return null;
-    }
-
-    public void setEntityPath(String entityPath) {
-        this.entityPath = entityPath;
-    }
-
-    private class myErrorHandler implements ErrorHandler {
-
-        public void warning(SAXParseException e) {
-            showErrorMessage(e);
-        }
-
-        public void error(SAXParseException e) {
-            showErrorMessage(e);
-        }
-
-        public void fatalError(SAXParseException e) {
-            showErrorMessage(e);
-        }
-
-        private void showErrorMessage(SAXParseException e) {
-            System.err.println(getClass() + " SAXParseException" + e.getMessage());
-            System.err.println("Line: " + e.getLineNumber() + " Column: " + e.getColumnNumber());
-        }
-    }
-
-    private class myEntityResolver implements EntityResolver {
-        public InputSource resolveEntity(String publicId, String systemId) {
-            if (entityPath == null)
-                return null;
-
-            systemId = entityPath + systemId.subSequence(systemId.lastIndexOf("/"), systemId.length());
-
-            return new InputSource(systemId);
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/XMLSchemaValidator.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation;
-
-import java.io.IOException;
-import java.io.Reader;
-
-import javax.xml.XMLConstants;
-import javax.xml.transform.Source;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.Validator;
-
-import org.w3c.dom.Node;
-import org.xml.sax.SAXException;
-
-public class XMLSchemaValidator {
-
-    private SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-    private Node node = null;
-    private Reader schema = null;
-
-    public XMLSchemaValidator(Node doc, Reader schema) {
-        this.node = doc;
-        this.schema = schema;
-    }
-
-    public synchronized void validate() throws SAXException, IOException {
-
-        if (node == null || schema == null)
-            return;
-
-        Source schemaFile = new StreamSource(schema);
-        Schema schema = factory.newSchema(schemaFile);
-        Validator validator = schema.newValidator();
-        validator.validate(new DOMSource(node));
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/gMonths-invalid.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-/*
- * Copyright (c) 2014, 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.
- */
--->
-<gMonths>
-    <!-- invalid gMonths -->
-    <gMonth>--01--</gMonth>
-    <gMonth>--01--Z</gMonth>
-    <gMonth>--01---08:00</gMonth>
-    <gMonth>foo</gMonth>
-</gMonths>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/gMonths.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-/*
- * Copyright (c) 2014, 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.
- */
--->
-<gMonths>
-    <!-- valid gMonths -->
-    <gMonth>--01</gMonth>
-    <gMonth>--01Z</gMonth>
-    <gMonth>--01-08:00</gMonth>
-</gMonths>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/gMonths.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-<?xml version="1.0"?>
-<!--
-/*
- * Copyright (c) 2014, 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.
- */
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
-  <xs:element name="gMonths">
-     <xs:complexType>
-       <xs:sequence>
-        <xs:element
-            name="gMonth"
-            type="xs:gMonth"
-            maxOccurs="16" />
-       </xs:sequence>
-     </xs:complexType>
-  </xs:element>
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/groupA008.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-	<xsd:import schemaLocation="groupA008ea.red"/>
-	<xsd:include schemaLocation="groupA008eb.red"/>
-	<xsd:group name="foo">
-		<xsd:sequence>
-			<xsd:element name="a"/>
-		</xsd:sequence>
-	</xsd:group>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/groupA008ea.red	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<xsd:schema targetNamespace="" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-	<xsd:group name="a" id="foo">
-		<xsd:sequence>
-			<xsd:element name="a"/>
-		</xsd:sequence>
-	</xsd:group>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/groupA008eb.red	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<xsd:schema targetNamespace="" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-	<xsd:group name="b" id="foo">
-		<xsd:sequence>
-			<xsd:element name="b"/>
-		</xsd:sequence>
-	</xsd:group>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/hello_literal.wsdl	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,294 +0,0 @@
-<definitions
-        name="HelloTest"
-        targetNamespace="urn:test"
-        xmlns="http://schemas.xmlsoap.org/wsdl/"
-        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-        xmlns:types="urn:test:types"
-        xmlns:tns="urn:test">
-
-    <types>
-        <xsd:schema
-                targetNamespace="urn:test:types"
-                attributeFormDefault="unqualified"
-                elementFormDefault="unqualified">
-
-            <xsd:element name="Hello">
-                <xsd:complexType>
-                    <xsd:sequence>
-                        <xsd:element name="argument" type="xsd:string"/>
-                        <xsd:element name="extra" type="xsd:string"/>
-                    </xsd:sequence>
-                </xsd:complexType>
-            </xsd:element>
-
-            <xsd:complexType name="HelloType">
-                <xsd:sequence>
-                    <xsd:element name="argument" type="xsd:string"/>
-                    <xsd:element name="extra" type="xsd:string"/>
-                </xsd:sequence>
-            </xsd:complexType>
-
-            <xsd:element name="HelloResponse">
-                <xsd:complexType>
-                    <xsd:sequence>
-                        <xsd:sequence>
-                            <xsd:element name="name" type="xsd:string"/>
-                        </xsd:sequence>
-                        <xsd:element name="argument" type="xsd:string"/>
-                        <xsd:element name="extra" type="xsd:string"/>
-                    </xsd:sequence>
-                </xsd:complexType>
-            </xsd:element>
-
-
-            <xsd:element name="VoidTest" type="types:VoidType" nillable="true"/>
-
-            <xsd:complexType name="VoidType">
-                <xsd:sequence>
-                </xsd:sequence>
-            </xsd:complexType>
-
-            <xsd:element name="VoidTestResponse" type="types:VoidType" nillable="true"/>
-
-            <xsd:element name="echoArray" type="types:nameType"/>
-            <xsd:element name="echoArray1" type="types:nameType"/>
-            <xsd:element name="echoArray2" type="types:nameType"/>
-            <xsd:element name="echoArray3" type="types:nameType"/>
-
-            <xsd:element name="echoArray4Body" type="types:nameType1"/>
-
-
-            <xsd:element name="echoArrayResponse" type="types:nameType"/>
-            <xsd:complexType name="nameType">
-                <xsd:sequence>
-                    <xsd:element name="name" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
-                </xsd:sequence>
-            </xsd:complexType>
-
-            <xsd:complexType name="nameType1">
-                <xsd:sequence>
-                    <xsd:element name="name" type="types:HelloType" minOccurs="0" maxOccurs="unbounded"/>
-                </xsd:sequence>
-            </xsd:complexType>
-
-            <xsd:element name="testKeyword">
-                <xsd:complexType>
-                    <xsd:sequence>
-                        <xsd:element name="_this" type="xsd:string"/>
-                    </xsd:sequence>
-                </xsd:complexType>
-            </xsd:element>
-
-            <xsd:element name="testKeywordResponse">
-                <xsd:complexType>
-                    <xsd:sequence>
-                        <xsd:element name="_super" type="xsd:string"/>
-                    </xsd:sequence>
-                </xsd:complexType>
-            </xsd:element>
-
-        </xsd:schema>
-    </types>
-
-    <message name="HelloRequest">
-        <part name="parameters" element="types:Hello"/>
-    </message>
-
-    <message name="HelloResponse">
-        <part name="parameters" element="types:HelloResponse"/>
-    </message>
-
-    <message name="MarshallTest_voidTest">
-        <part name="parameters" element="types:VoidTest"/>
-    </message>
-
-    <message name="MarshallTest_voidTestResponse">
-        <part name="result" element="types:VoidTestResponse"/>
-    </message>
-
-    <message name="echoArrayRequest">
-        <part name="body" element="types:echoArray"/>
-    </message>
-
-    <message name="echoArrayResponse">
-        <part name="body" element="types:echoArray"/>
-    </message>
-
-    <message name="echoArrayRequest1">
-        <part name="body" element="types:echoArray1"/>
-    </message>
-
-    <message name="echoArrayResponse1">
-        <part name="body" element="types:echoArray1"/>
-    </message>
-
-    <message name="echoArrayRequest2">
-        <part name="body" element="types:echoArray2"/>
-    </message>
-
-    <message name="echoArrayResponse2">
-        <part name="body" element="types:echoArray2"/>
-    </message>
-
-    <message name="echoArrayRequest3">
-        <part name="body" element="types:echoArray3"/>
-    </message>
-
-    <message name="echoArrayResponse3">
-        <part name="body" element="types:echoArray3"/>
-    </message>
-
-    <message name="echoArrayRequest4">
-        <part name="request" element="types:echoArray4Body"/>
-    </message>
-
-    <message name="echoArrayResponse4">
-        <part name="response" element="types:echoArray4Body"/>
-    </message>
-
-    <message name="testKeywordRequest">
-        <part name="request" element="types:testKeyword"/>
-    </message>
-
-    <message name="testKeywordResponse">
-        <part name="response" element="types:testKeywordResponse"/>
-    </message>
-
-
-    <portType name="Hello">
-        <operation name="hello">
-            <input message="tns:HelloRequest"/>
-            <output message="tns:HelloResponse"/>
-        </operation>
-
-        <!-- this is a regression test for bug 4823861 -->
-        <operation name="voidTest">
-            <input message="tns:MarshallTest_voidTest"/>
-            <output message="tns:MarshallTest_voidTestResponse"/>
-        </operation>
-
-
-        <operation name="echoArray">
-            <input message="tns:echoArrayRequest"/>
-            <output message="tns:echoArrayResponse"/>
-        </operation>
-
-        <operation name="echoArray1">
-            <input message="tns:echoArrayRequest1"/>
-            <output message="tns:echoArrayResponse1"/>
-        </operation>
-
-        <operation name="echoArray2">
-            <input message="tns:echoArrayRequest2"/>
-            <output message="tns:echoArrayResponse2"/>
-        </operation>
-
-        <operation name="echoArray3">
-            <input message="tns:echoArrayRequest3"/>
-            <output message="tns:echoArrayResponse3"/>
-        </operation>
-
-        <operation name="echoArray4">
-            <input message="tns:echoArrayRequest4"/>
-            <output message="tns:echoArrayResponse4"/>
-        </operation>
-
-        <operation name="testKeyword">
-            <input message="tns:testKeywordRequest"/>
-            <output message="tns:testKeywordResponse"/>
-        </operation>
-    </portType>
-
-    <binding name="HelloBinding" type="tns:Hello">
-        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-        <operation name="hello">
-            <soap:operation soapAction="urn:test:hello"/>
-            <input>
-                <soap:body use="literal"/>
-            </input>
-            <output>
-                <soap:body use="literal"/>
-            </output>
-        </operation>
-        <operation name="voidTest">
-            <input>
-                <soap:body use="literal"/>
-            </input>
-            <output>
-                <soap:body use="literal"/>
-            </output>
-            <soap:operation soapAction=""/>
-        </operation>
-
-        <operation name="echoArray">
-            <soap:operation soapAction="urn:test:hello"/>
-            <input>
-                <soap:body use="literal"/>
-            </input>
-            <output>
-                <soap:body parts="" use="literal"/>
-            </output>
-        </operation>
-
-        <operation name="echoArray1">
-            <soap:operation soapAction="urn:test:hello"/>
-            <input>
-                <soap:body use="literal"/>
-            </input>
-            <output>
-                <soap:body parts="" use="literal"/>
-                <soap:header message="tns:echoArrayResponse1" part="body" use="literal"/>
-            </output>
-        </operation>
-
-        <operation name="echoArray2">
-            <soap:operation soapAction="urn:test:hello"/>
-            <input>
-                <soap:body parts="" use="literal"/>
-                <soap:header message="tns:echoArrayRequest2" part="body" use="literal"/>
-            </input>
-            <output>
-                <soap:body parts="" use="literal"/>
-                <soap:header message="tns:echoArrayResponse2" part="body" use="literal"/>
-            </output>
-        </operation>
-
-        <operation name="echoArray3">
-            <soap:operation soapAction="urn:test:hello"/>
-            <input>
-                <soap:body/>
-            </input>
-            <output>
-                <soap:body/>
-            </output>
-        </operation>
-
-        <operation name="echoArray4">
-            <soap:operation soapAction="urn:test:hello"/>
-            <input>
-                <soap:body/>
-            </input>
-            <output>
-                <soap:body/>
-            </output>
-        </operation>
-
-        <operation name="testKeyword">
-            <soap:operation soapAction="urn:test:hello"/>
-            <input>
-                <soap:body/>
-            </input>
-            <output>
-                <soap:body/>
-            </output>
-        </operation>
-    </binding>
-
-    <service name="Hello">
-        <port name="HelloPort" binding="tns:HelloBinding">
-            <soap:address location="http://test.org/hello"/>
-        </port>
-    </service>
-
-</definitions>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/idI009.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xpns="xpns.org" xmlns:xpns1="xpns1.org" xmlns:xpns2="xpns2.org" xmlns:imp="importNS">
-	<xsd:import namespace="importNS" schemaLocation="idIimp.xsd"/>
-	<xsd:import namespace="xpns.org" schemaLocation="idIxpns.xsd"/>
-	<xsd:import namespace="xpns1.org" schemaLocation="idIxpns1.xsd"/>
-	<xsd:element name="root">
-		<xsd:complexType>
-			<xsd:sequence>
-				<xsd:element ref="tid" maxOccurs="unbounded"/>
-				<xsd:element ref="imp:iid" maxOccurs="unbounded"/>
-				<xsd:element ref="imp:iid1" maxOccurs="unbounded"/>
-				<xsd:element ref="xpns:xiid" maxOccurs="unbounded"/>
-				<xsd:element ref="xpns1:xiid" maxOccurs="unbounded"/>
-			</xsd:sequence>
-			<xsd:attribute name="val" type="xsd:string"/>
-		</xsd:complexType>
-		<xsd:unique id="foo123" name="uid">
-			<xsd:selector xpath="child::imp:iid"/>
-			<xsd:field xpath="@val"/>
-		</xsd:unique>
-	</xsd:element>
-	<xsd:element name="tid">
-		<xsd:complexType>
-			<xsd:attribute name="val" type="xsd:string"/>
-		</xsd:complexType>
-	</xsd:element>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/idIimp.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="importNS" xmlns:imp="importNS">
-	<xsd:element name="iid">
-		<xsd:complexType>
-			<xsd:attribute name="val" type="xsd:string"/>
-		</xsd:complexType>
-	</xsd:element>
-	<xsd:element name="iid1">
-		<xsd:complexType>
-			<xsd:sequence>
-				<xsd:element name="iid2" maxOccurs="unbounded" form="qualified">
-					<xsd:complexType>
-						<xsd:attribute name="val" type="xsd:string"/>
-					</xsd:complexType>
-				</xsd:element>
-			</xsd:sequence>
-			<xsd:attribute name="val" type="xsd:string"/>
-		</xsd:complexType>
-	</xsd:element>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/idIxpns.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="xpns.org" xmlns:xpns="xpns.org">
-	<xsd:element name="xsid" type="xsd:string"/>
-	<xsd:element name="xiid">
-		<xsd:complexType>
-			<xsd:sequence>
-				<xsd:element name="xiid2" type="xsd:string" maxOccurs="unbounded"/>
-			</xsd:sequence>
-			<xsd:attribute name="val" type="xsd:string"/>
-		</xsd:complexType>
-	</xsd:element>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/idIxpns1.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="xpns1.org" xmlns:xpns="xpns1.org">
-	<xsd:element name="xsid" type="xsd:string"/>
-	<xsd:element name="xiid">
-		<xsd:complexType>
-			<xsd:sequence>
-				<xsd:element name="xiid2" type="xsd:string" maxOccurs="unbounded"/>
-			</xsd:sequence>
-			<xsd:attribute name="val" type="xsd:string"/>
-		</xsd:complexType>
-	</xsd:element>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/mgG014.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-	<xsd:element name="doc" type="foo"/>
-	<xsd:complexType name="foo">
-		<xsd:sequence minOccurs="0" maxOccurs="999999999">
-			<xsd:element name="e1"/>
-		</xsd:sequence>
-	</xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/mgJ014.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-	<xsd:element name="doc" type="foo"/>
-	<xsd:complexType name="foo">
-		<xsd:choice minOccurs="0" maxOccurs="999999999">
-			<xsd:element name="e1"/>
-		</xsd:choice>
-	</xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-error-max.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<persons>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <!-- Error: Only 5 child_name allowed -->
-        <child_name>Jim</child_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Sheldon</child_name>
-        <child_name>Penny</child_name>
-        <child_name>John</child_name>
-    </person>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <!-- Error: Only 2 midlle_name allowed -->
-        <middle_name>Jim</middle_name>
-        <middle_name>Hege</middle_name>
-        <middle_name>Stale</middle_name>
-    </person>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <!-- Error: Only 2 midlle_name allowed -->
-        <middle_name>Jim</middle_name>
-        <middle_name>Hege</middle_name>
-        <middle_name>Stale</middle_name>
-        <!-- Error: Only 5 child_name allowed -->
-        <child_name>Jim</child_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Sheldon</child_name>
-        <child_name>Penny</child_name>
-        <child_name>John</child_name>
-    </person>
-</persons>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-error-min-max.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<persons>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <!-- Error: Only 2 midlle_name allowed -->
-        <middle_name>Jim</middle_name>
-        <middle_name>Hege</middle_name>
-        <middle_name>Stale</middle_name>
-        <!-- Error: child_name expected here -->
-    </person>
-    <person>
-        <full_name>Hege Refsnes Jr.</full_name>
-        <!-- Error: Only 2 midlle_name allowed -->
-        <middle_name>Jim</middle_name>
-        <middle_name>Hege</middle_name>
-        <middle_name>Stale</middle_name>
-        <!-- Error: Only 5 child_name allowed -->
-        <child_name>Jim</child_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Sheldon</child_name>
-        <child_name>Penny</child_name>
-        <child_name>John</child_name>
-    </person>
-</persons>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-error-min.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<persons>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <!-- Error: child_name expected here -->
-    </person>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <middle_name>John</middle_name>
-        <middle_name>Doe</middle_name>
-        <!-- Error: child_name expected here -->
-    </person>
-</persons>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-ok.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<persons>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <child_name>Cecilie</child_name>
-    </person>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <middle_name>Peter</middle_name>
-        <child_name>Cecilie</child_name>
-        <child_name>Hege</child_name>
-    </person>
-    <person>
-        <full_name>Tove Refsnes</full_name>
-        <middle_name>Peter</middle_name>
-        <middle_name>Pan</middle_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Jim</child_name>
-    </person>
-    <person>
-        <full_name>Tove Refsnes</full_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Jim</child_name>
-        <child_name>Sheldon</child_name>
-    </person>
-    <person>
-        <full_name>Stale Refsnes</full_name>
-        <middle_name>Peter</middle_name>
-        <middle_name>Pan</middle_name>
-        <child_name>Jim</child_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Sheldon</child_name>
-        <child_name>Penny</child_name>
-    </person>
-</persons>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-unbounded-error-min.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<persons>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <!-- Error: middle_name expected here -->
-        <!-- Error: child_name expected here -->
-    </person>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <!-- Error: At least 2 middle_name expected -->
-        <middle_name>John</middle_name>
-        <!-- Error: child_name expected here -->
-    </person>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <!-- Error: At least 3 child_name expected -->
-        <child_name>John</child_name>
-        <child_name>Doe</child_name>
-    </person>
-</persons>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-unbounded-ok.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<persons>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <middle_name>Peter</middle_name>
-        <middle_name>Pan</middle_name>
-        <child_name>Cecilie</child_name>
-        <child_name>Hege</child_name>
-        <child_name>Jim</child_name>
-    </person>
-    <person>
-        <full_name>Stale Refsnes</full_name>
-        <middle_name>Peter</middle_name>
-        <middle_name>Pan</middle_name>
-        <middle_name>Jim</middle_name>
-        <middle_name>Morris</middle_name>
-        <child_name>Jim</child_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Sheldon</child_name>
-        <child_name>Penny</child_name>
-        <child_name>Billy</child_name>
-    </person>
-</persons>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs-unbounded.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-           elementFormDefault="qualified">
-    
-    <xs:element name="persons">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="person" maxOccurs="unbounded">
-                    <xs:complexType>
-                        <xs:sequence>
-                            <xs:element name="full_name" type="xs:string"/>
-                            <xs:element name="middle_name" type="xs:string" minOccurs="2" maxOccurs="unbounded"/>
-                            <xs:element name="child_name" type="xs:string" minOccurs="3" maxOccurs="unbounded"/>
-                        </xs:sequence>
-                    </xs:complexType>
-                </xs:element>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/multi-occurs.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-           elementFormDefault="qualified">
-    
-    <xs:element name="persons">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="person" maxOccurs="unbounded">
-                    <xs:complexType>
-                        <xs:sequence>
-                            <xs:element name="full_name" type="xs:string"/>
-                            <xs:element name="middle_name" type="xs:string" minOccurs="0" maxOccurs="2"/>
-                            <xs:element name="child_name" type="xs:string" minOccurs="1" maxOccurs="5"/>
-                        </xs:sequence>
-                    </xs:complexType>
-                </xs:element>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-error-max.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<persons>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <!-- Error: Only 5 child_name allowed -->
-        <child_name>Jim</child_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Sheldon</child_name>
-        <child_name>Penny</child_name>
-        <child_name>John</child_name>
-    </person>
-</persons>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-error-min-max.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<persons>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <!-- Error: child_name expected here -->
-    </person>
-    <person>
-        <full_name>Hege Refsnes Jr.</full_name>
-        <!-- Error: Only 5 child_name allowed -->
-        <child_name>Jim</child_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Sheldon</child_name>
-        <child_name>Penny</child_name>
-        <child_name>John</child_name>
-    </person>
-</persons>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-error-min.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<persons>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <!-- Error: child_name expected here -->
-    </person>
-</persons>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-ok.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<persons>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <child_name>Cecilie</child_name>
-    </person>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <child_name>Cecilie</child_name>
-        <child_name>Hege</child_name>
-    </person>
-    <person>
-        <full_name>Tove Refsnes</full_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Jim</child_name>
-    </person>
-    <person>
-        <full_name>Tove Refsnes</full_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Jim</child_name>
-        <child_name>Sheldon</child_name>
-    </person>
-    <person>
-        <full_name>Stale Refsnes</full_name>
-        <child_name>Jim</child_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Sheldon</child_name>
-        <child_name>Penny</child_name>
-    </person>
-</persons>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-unbounded-error-min.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<persons>
-    <person>
-        <full_name>Hege Refsnes</full_name>
-        <!-- Error: Expected at least 3 child_name -->
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-    </person>
-</persons>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-unbounded-ok.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<persons>
-    <person>
-        <full_name>Tove Refsnes</full_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Jim</child_name>
-    </person>
-    <person>
-        <full_name>Tove Refsnes</full_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Jim</child_name>
-        <child_name>Sheldon</child_name>
-    </person>
-    <person>
-        <full_name>Stale Refsnes</full_name>
-        <child_name>Jim</child_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Sheldon</child_name>
-        <child_name>Penny</child_name>
-    </person>
-    <person>
-        <full_name>Stale Refsnes</full_name>
-        <child_name>Jim</child_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Sheldon</child_name>
-        <child_name>Penny</child_name>
-        <child_name>Jim</child_name>
-        <child_name>Hege</child_name>
-        <child_name>Stale</child_name>
-        <child_name>Sheldon</child_name>
-        <child_name>Penny</child_name>
-    </person>
-</persons>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-unbounded.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-           elementFormDefault="qualified">
-    
-    <xs:element name="persons">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="person" maxOccurs="unbounded">
-                    <xs:complexType>
-                        <xs:sequence>
-                            <xs:element name="full_name" type="xs:string"/>
-                            <xs:element name="child_name" type="xs:string" minOccurs="3" maxOccurs="unbounded"/>
-                        </xs:sequence>
-                    </xs:complexType>
-                </xs:element>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-wildcard-unbounded.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-           elementFormDefault="qualified">
-    
-    <xs:element name="persons">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="person" maxOccurs="unbounded">
-                    <xs:complexType>
-                        <xs:sequence>
-                            <xs:element name="full_name" type="xs:string"/>
-                            <xs:any processContents="lax" minOccurs="3" maxOccurs="unbounded"/>
-                        </xs:sequence>
-                    </xs:complexType>
-                </xs:element>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs-wildcard.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-           elementFormDefault="qualified">
-    
-    <xs:element name="persons">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="person" maxOccurs="unbounded">
-                    <xs:complexType>
-                        <xs:sequence>
-                            <xs:element name="full_name" type="xs:string"/>
-                            <xs:any processContents="lax" minOccurs="1" maxOccurs="5"/>
-                        </xs:sequence>
-                    </xs:complexType>
-                </xs:element>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/occurs.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-           elementFormDefault="qualified">
-    
-    <xs:element name="persons">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="person" maxOccurs="unbounded">
-                    <xs:complexType>
-                        <xs:sequence>
-                            <xs:element name="full_name" type="xs:string"/>
-                            <xs:element name="child_name" type="xs:string" minOccurs="1" maxOccurs="5"/>
-                        </xs:sequence>
-                    </xs:complexType>
-                </xs:element>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/particlesId005.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-
-<a:doc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xsdtesting particlesId005.xsd" xmlns:a="http://xsdtesting">
-    <a:e1/>
-    <a:e1/>
-    <a:e1/>
-</a:doc>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/particlesId005.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xsdtesting" xmlns:x="http://xsdtesting" elementFormDefault="qualified">
-    <xsd:complexType name="base">
-        <xsd:choice>
-            <xsd:element name="e1" minOccurs="1" maxOccurs="3"/>
-            <xsd:element name="e2" minOccurs="1" maxOccurs="unbounded"/>
-        </xsd:choice>
-    </xsd:complexType>
-    <xsd:complexType name="testing">
-        <xsd:complexContent>
-            <xsd:restriction base="x:base">
-                <xsd:choice>
-                    <xsd:element name="e1" minOccurs="2" maxOccurs="3"/>
-                    <xsd:element name="e2" minOccurs="2" maxOccurs="unbounded"/>
-                </xsd:choice>
-            </xsd:restriction>
-        </xsd:complexContent>
-    </xsd:complexType>
-    <xsd:element name="doc" type="x:testing"/>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/particlesIe003.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xsdtesting" xmlns:x="http://xsdtesting" elementFormDefault="qualified">
-	<xsd:complexType name="base">
-		<xsd:choice>
-			<xsd:element name="e1" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element name="e2" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:choice>
-	</xsd:complexType>
-	<xsd:complexType name="testing">
-		<xsd:complexContent>
-			<xsd:restriction base="x:base">
-				<xsd:choice>
-					<xsd:element name="e1" minOccurs="1" maxOccurs="9999999"/>
-					<xsd:element name="e2" minOccurs="1" maxOccurs="9999999"/>
-				</xsd:choice>
-			</xsd:restriction>
-		</xsd:complexContent>
-	</xsd:complexType>
-	<xsd:element name="doc" type="x:testing"/>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/particlesIg004.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xsdtesting" xmlns:x="http://xsdtesting" elementFormDefault="qualified">
-	<xsd:complexType name="base">
-		<xsd:choice>
-			<xsd:element name="e1" block="#all"/>
-			<xsd:element name="e3" block="substitution extension restriction"/>
-			<xsd:element name="e4" block="#all"/>
-		</xsd:choice>
-	</xsd:complexType>
-	<xsd:complexType name="testing">
-		<xsd:complexContent>
-			<xsd:restriction base="x:base">
-				<xsd:choice>
-					<xsd:element name="e1" block="substitution extension restriction"/>
-					<xsd:element name="e3" block="substitution extension restriction"/>
-					<xsd:element name="e4" block="#all"/>
-				</xsd:choice>
-			</xsd:restriction>
-		</xsd:complexContent>
-	</xsd:complexType>
-	<xsd:element name="doc" type="x:testing"/>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/particlesOptimize.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0"?>
-
-<xsd:schema
-  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-  xmlns="test"
-  targetNamespace="test">
-
-     <xsd:element name="a" type="A"/>
-     <xsd:complexType name="A">
-          <xsd:sequence>
-	       <xsd:element name="b" type="xsd:string" maxOccurs="30000"/>
-	  </xsd:sequence>
-     </xsd:complexType>
-
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/particlesQ013.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-
-<a:doc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xsdtesting particlesQ013.xsd" xmlns:a="http://xsdtesting">
-    <elem>
-        <foo/>
-        <e1/>
-        <e1/>
-        <e2/>
-        <e2/>
-        <e1/>
-        <e1/>
-        <e2/>
-        <e2/>
-    </elem>
-</a:doc>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/particlesQ013.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xsdtesting" xmlns:x="http://xsdtesting" xmlns:imp="http://importedXSD">
-    <xsd:complexType name="B">
-        <xsd:sequence>
-            <xsd:element name="foo" minOccurs="1" maxOccurs="1"/>
-            <xsd:any namespace="##any" minOccurs="4" maxOccurs="8"/>
-        </xsd:sequence>
-    </xsd:complexType>
-    <xsd:complexType name="R">
-        <xsd:complexContent>
-            <xsd:restriction base="x:B">
-                <xsd:sequence>
-                    <xsd:element name="foo" minOccurs="1" maxOccurs="1"/>
-                    <xsd:sequence minOccurs="1" maxOccurs="2">
-                        <xsd:element name="e1" minOccurs="2" maxOccurs="2"/>
-                        <xsd:element name="e2" minOccurs="2" maxOccurs="2"/>
-                    </xsd:sequence>
-                </xsd:sequence>
-            </xsd:restriction>
-        </xsd:complexContent>
-    </xsd:complexType>
-    <xsd:element name="doc">
-        <xsd:complexType>
-            <xsd:choice>
-                <xsd:element name="elem" type="x:R"/>
-            </xsd:choice>
-        </xsd:complexType>
-    </xsd:element>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/particlesR005.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xsdtesting" xmlns:x="http://xsdtesting" xmlns:imp="http://importedXSD">
-	<xsd:complexType name="B">
-		<xsd:sequence>
-			<xsd:element name="foo" minOccurs="1" maxOccurs="1"/>
-			<xsd:any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:complexType>
-	<xsd:complexType name="R">
-		<xsd:complexContent>
-			<xsd:restriction base="x:B">
-				<xsd:sequence>
-					<xsd:element name="foo" minOccurs="1" maxOccurs="1"/>
-					<xsd:choice minOccurs="1" maxOccurs="1">
-						<xsd:element name="e1" minOccurs="1" maxOccurs="30000"/>
-					</xsd:choice>
-				</xsd:sequence>
-			</xsd:restriction>
-		</xsd:complexContent>
-	</xsd:complexType>
-	<xsd:element name="doc">
-		<xsd:complexType>
-			<xsd:choice>
-				<xsd:element name="elem" type="x:R"/>
-			</xsd:choice>
-		</xsd:complexType>
-	</xsd:element>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/targetNS00101m2.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema
-  xmlns="IdConstrDefs/targetNS"
-  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-  targetNamespace="IdConstrDefs/targetNS">
-
-  <xsd:include schemaLocation="targetNS00101m2a.xsd"/>
-
-  <xsd:element name="root">
-      <xsd:complexType>
-          <xsd:sequence maxOccurs="unbounded">
-              <xsd:element name="person"/>
-          </xsd:sequence>
-      </xsd:complexType>
-      <xsd:key name="KEY">
-          <xsd:selector xpath="./person"/>
-          <xsd:field xpath="."/>
-      </xsd:key>
-      <xsd:keyref name="KEYREF" refer="KEY">
-          <xsd:selector xpath="./person"/>
-          <xsd:field xpath="@parent"/>
-      </xsd:keyref>
-  </xsd:element>
-
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/targetNS00101m2_stub.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version='1.0'?>
-<sb:stub xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
-       xsi:schemaLocation='IdConstrDefs/targetNS targetNS00101m2_stub.xsd'
-       xmlns:sb='IdConstrDefs/targetNS'>
-    Stub document</sb:stub>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/targetNS00101m2_stub.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'
-       targetNamespace='IdConstrDefs/targetNS'
-       xmlns:sb='IdConstrDefs/targetNS'>
-    <xsd:include schemaLocation='targetNS00101m2.xsd'/>
-    <xsd:element name='stub' type='xsd:string'/>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/targetNS00101m2a.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema
-  xmlns="IdConstrDefs/targetNS"
-  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-  targetNamespace="IdConstrDefs/targetNS">
-
-  <xsd:element name="roota">
-      <xsd:complexType>
-          <xsd:sequence maxOccurs="unbounded">
-              <xsd:element name="person"/>
-          </xsd:sequence>
-      </xsd:complexType>
-      <xsd:key name="KEY">
-          <xsd:selector xpath="./person"/>
-          <xsd:field xpath="."/>
-      </xsd:key>
-      <xsd:keyref name="KEYREF" refer="KEY">
-          <xsd:selector xpath="./person"/>
-          <xsd:field xpath="@parent"/>
-      </xsd:keyref>
-  </xsd:element>
-
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/byte_fractionDigits004.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test byte datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:byte">
-            <xsd:fractionDigits value="1"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/byte_fractionDigits007.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test byte datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:byte">
-            <xsd:fractionDigits value="5"/>
-            <xsd:totalDigits value="5"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/int_fractionDigits004.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test int datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:int">
-            <xsd:fractionDigits value="1"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/int_fractionDigits007.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test int datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:int">
-            <xsd:fractionDigits value="5"/>
-            <xsd:totalDigits value="5"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/integer_fractionDigits004.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test integer datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:integer">
-            <xsd:fractionDigits value="1"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/integer_fractionDigits007.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test integer datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:integer">
-            <xsd:fractionDigits value="5"/>
-            <xsd:totalDigits value="5"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/long_fractionDigits004.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test long datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:long">
-            <xsd:fractionDigits value="1"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/long_fractionDigits007.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test long datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:long">
-            <xsd:fractionDigits value="5"/>
-            <xsd:totalDigits value="5"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/negativeInteger_fractionDigits004.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test negativeInteger datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:negativeInteger">
-            <xsd:fractionDigits value="1"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/negativeInteger_fractionDigits007.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test negativeInteger datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:negativeInteger">
-            <xsd:fractionDigits value="5"/>
-            <xsd:totalDigits value="5"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/nonNegativeInteger_fractionDigits004.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test nonNegativeInteger datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:nonNegativeInteger">
-            <xsd:fractionDigits value="1"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/nonNegativeInteger_fractionDigits007.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test nonNegativeInteger datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:nonNegativeInteger">
-            <xsd:fractionDigits value="5"/>
-            <xsd:totalDigits value="5"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/nonPositiveInteger_fractionDigits004.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test nonPositiveInteger datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:nonPositiveInteger">
-            <xsd:fractionDigits value="1"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/nonPositiveInteger_fractionDigits007.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test nonPositiveInteger datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:nonPositiveInteger">
-            <xsd:fractionDigits value="5"/>
-            <xsd:totalDigits value="5"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/positiveInteger_fractionDigits004.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test positiveInteger datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:positiveInteger">
-            <xsd:fractionDigits value="1"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/positiveInteger_fractionDigits007.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test positiveInteger datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:positiveInteger">
-            <xsd:fractionDigits value="5"/>
-            <xsd:totalDigits value="5"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/short_fractionDigits004.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test short datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:short">
-            <xsd:fractionDigits value="1"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/short_fractionDigits007.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test short datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:short">
-            <xsd:fractionDigits value="5"/>
-            <xsd:totalDigits value="5"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedByte_fractionDigits004.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test unsignedByte datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:unsignedByte">
-            <xsd:fractionDigits value="1"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedByte_fractionDigits007.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test unsignedByte datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:unsignedByte">
-            <xsd:fractionDigits value="5"/>
-            <xsd:totalDigits value="5"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedInt_fractionDigits004.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test unsignedInt datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:unsignedInt">
-            <xsd:fractionDigits value="1"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedInt_fractionDigits007.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test unsignedInt datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:unsignedInt">
-            <xsd:fractionDigits value="5"/>
-            <xsd:totalDigits value="5"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedLong_fractionDigits004.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test unsignedLong datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:unsignedLong">
-            <xsd:fractionDigits value="1"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedLong_fractionDigits007.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test unsignedLong datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:unsignedLong">
-            <xsd:fractionDigits value="5"/>
-            <xsd:totalDigits value="5"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedShort_fractionDigits004.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test unsignedShort datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:unsignedShort">
-            <xsd:fractionDigits value="1"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252In/unsignedShort_fractionDigits007.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version='1.0'?>
-<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
-<!-- Schema to test unsignedShort datatype -->
-  <xsd:element name='test' type='fooType' />
-  <xsd:complexType name='fooType' > 
-    <xsd:sequence>
-      <xsd:element name='foo' >
-        <xsd:simpleType>
-          <xsd:restriction base="xsd:unsignedShort">
-            <xsd:fractionDigits value="5"/>
-            <xsd:totalDigits value="5"/>
-          </xsd:restriction>
-        </xsd:simpleType>
-      </xsd:element>
-    </xsd:sequence>
-  </xsd:complexType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6943252Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation.tck;
-
-import java.io.File;
-
-import javax.xml.XMLConstants;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6943252
- * @summary Test Schema doesn't allow to use value more than allowed by base type.
- */
-public class Bug6943252Test {
-    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 test() {
-
-        String dir = Bug6943252Test.class.getResource("Bug6943252In").getPath();
-        File inputs = new File(dir);
-        File[] files = inputs.listFiles();
-        SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        for (int i = 0; i < files.length; i++) {
-            try {
-                Schema schema = schemaFactory.newSchema(new StreamSource(files[i]));
-                Assert.fail(files[i].getName() + "should fail");
-            } catch (SAXException e) {
-                // expected
-                System.out.println(files[i].getName() + ":");
-                System.out.println(e.getMessage());
-            }
-        }
-
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6963124.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xsdtesting" xmlns:x="http://xsdtesting" elementFormDefault="qualified">
-	<xsd:group name="G">
-		<xsd:all>
-			<xsd:element name="a1"/>
-			<xsd:element name="a2"/>
-		</xsd:all>
-	</xsd:group>
-	<xsd:element name="doc">
-		<xsd:complexType>
-			<xsd:group ref="x:G" minOccurs="1" maxOccurs="2">
-			</xsd:group>
-		</xsd:complexType>
-	</xsd:element>
-</xsd:schema>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6963124Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation.tck;
-
-import javax.xml.XMLConstants;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6963124
- * @summary Test Schema doesn't allow maxOccurs > 1 for reference to all model group.
- */
-public class Bug6963124Test {
-    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 test() {
-        try {
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-
-            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6963124Test.class.getResourceAsStream("Bug6963124.xsd")));
-            Assert.fail("JCK negative test");
-        } catch (SAXException e) {
-            // e.printStackTrace();
-            System.out
-                    .println("The XML Schema spec [1] states that if the {term} property of a particle is a model group with {compositor} all then {maxOccurs} of that particle must equal 1.");
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6963468.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<x:root
-	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://xsdtesting Bug6963468.xsd"
-	xmlns:x="http://xsdtesting">
-
-	<x:E1>1</x:E1>
-	<x:E1>true</x:E1>
-	<x:E1>false</x:E1>
-	<x:E1>x</x:E1>
-	<x:E1>y</x:E1>
-	<x:E2>1</x:E2>
-	<x:E3 x:att1="123"/>
-</x:root>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6963468.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-<xsd:schema id="MyXSD" targetNamespace="http://xsdtesting" xmlns="http://xsdtesting" xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified">
-
-
-	    <xsd:element name="root">
-	      <xsd:complexType>
-		<xsd:choice maxOccurs="unbounded">
-		    <xsd:element ref="E1" minOccurs="0" maxOccurs="20"/>
-		    <xsd:element ref="E3" minOccurs="0" maxOccurs="20"/>
-		</xsd:choice>
-	      </xsd:complexType>
-	    </xsd:element>
-
-	    <xsd:simpleType name="myType9">
-		  <xsd:list itemType="myType10"/>
-	  </xsd:simpleType>
-
-	  <xsd:simpleType name="myType10">
-        	<xsd:union memberTypes="xsd:float xsd:integer">
-          		<xsd:simpleType>
-		            <xsd:restriction base='xsd:boolean'/>
-		        </xsd:simpleType>
-		        <xsd:simpleType>
-		            <xsd:restriction base='xsd:string'>
-		              <xsd:enumeration value='x'/>
-		              <xsd:enumeration value='y'/>
-		            </xsd:restriction>
-		        </xsd:simpleType>
-	        </xsd:union>
-	 </xsd:simpleType>
-
-	<xsd:simpleType name="DeriveUnion">
-	  <xsd:restriction base="myType10">
-	  </xsd:restriction>
-	</xsd:simpleType>
-	<xsd:complexType name="CT1">
-	  <xsd:attribute name="att1" type="myType10"/>
-	</xsd:complexType>
-
-	<xsd:complexType name="CT2">
-	  <xsd:complexContent>
-	    <xsd:restriction base="CT1">
-		<xsd:attribute name="att1" type="xsd:integer"/>
-	    </xsd:restriction>
-	  </xsd:complexContent>
-	</xsd:complexType>
-
-	<xsd:element name="E1" type="myType10"/>
-	<xsd:element name="E2" substitutionGroup="E1" type="xsd:integer"/>
-	<xsd:element name="E3" type="CT2"/>
-</xsd:schema>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6963468Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,144 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation.tck;
-
-import java.io.File;
-import java.io.IOException;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.Validator;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXNotRecognizedException;
-import org.xml.sax.SAXNotSupportedException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 6963468
- * @summary Test Validation allows element a is a union type and element b specifies a as its substitution group and b type is or is derived from one of the member types of the union.
- */
-public class Bug6963468Test {
-    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 test() {
-        try {
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            schemaFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
-
-            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6963468Test.class.getResourceAsStream("Bug6963468.xsd")));
-
-            Validator validator = schema.newValidator();
-            validator.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
-            validator.setErrorHandler(new ErrorHandler() {
-                public void error(SAXParseException exception) throws SAXException {
-                    exception.printStackTrace();
-                }
-
-                public void fatalError(SAXParseException exception) throws SAXException {
-                    exception.printStackTrace();
-                }
-
-                public void warning(SAXParseException exception) throws SAXException {
-                    exception.printStackTrace();
-                }
-            });
-
-            validator.validate(new StreamSource(Bug6963468Test.class.getResourceAsStream("Bug6963468.xml")));
-
-        } catch (SAXException e) {
-            System.out.println(e.getMessage());
-            // fail(e.getMessage());
-
-        } catch (IOException e) {
-            e.printStackTrace();
-            System.out.println(e.getMessage());
-            // fail(e.getMessage());
-        }
-    }
-
-    @Test
-    public void testInstance() throws ParserConfigurationException, SAXException, IOException {
-        System.out.println(Bug6963468Test.class.getResource("Bug6963468.xsd").getPath());
-        File schemaFile = new File(Bug6963468Test.class.getResource("Bug6963468.xsd").getPath());
-        SAXParser parser = createParser(schemaFile);
-
-        try {
-            parser.parse(Bug6963468Test.class.getResource("Bug6963468.xml").getPath(), new DefaultHandler());
-        } catch (SAXException e) {
-            e.printStackTrace();
-            Assert.fail("Fatal Error: " + strException(e));
-        }
-
-    }
-
-    protected SAXParser createParser(File schema) throws ParserConfigurationException, SAXException {
-
-        // create and initialize the parser
-        SAXParserFactory spf = SAXParserFactory.newInstance();
-        spf.setNamespaceAware(true);
-        spf.setValidating(true);
-        SAXParser parser = spf.newSAXParser();
-        parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
-
-        // set schemaLocation if possible
-        try {
-            parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource", schema);
-        } catch (SAXNotRecognizedException e) {
-            System.out.println("Warning: Property 'http://java.sun.com/xml/jaxp/properties/schemaSource' is not recognized.");
-        } catch (SAXNotSupportedException e) {
-            System.out.println("Warning: Property 'http://java.sun.com/xml/jaxp/properties/schemaSource' is not supported.");
-        }
-
-        return parser;
-    }
-
-    protected static String strException(Exception ex) {
-        StringBuffer sb = new StringBuffer();
-
-        while (ex != null) {
-            if (ex instanceof SAXParseException) {
-                SAXParseException e = (SAXParseException) ex;
-                sb.append("" + e.getSystemId() + "(" + e.getLineNumber() + "," + e.getColumnNumber() + "): " + e.getMessage());
-                ex = e.getException();
-            } else {
-                sb.append(ex);
-                ex = null;
-            }
-        }
-        return sb.toString();
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6964720.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="a" xmlns:a="a" xmlns:b="b">
-
- <xs:element name="doc" type="a:derived"/>
- <xs:complexType name="base">
-     <xs:sequence>
-	<xs:element name="sub" type="a:derived2"/>
-     </xs:sequence>
-     <xs:attributeGroup ref="a:attG-a1"/>
- </xs:complexType>
-
- <xs:complexType name="derived">
-    <xs:complexContent>
-	<xs:extension base="a:base">
-     <xs:sequence />
-     <xs:attributeGroup ref="a:attG-a2"/>
-	</xs:extension>
-    </xs:complexContent>
- </xs:complexType>
-
-<xs:complexType name="base2">
-     <xs:sequence />
-     <xs:attributeGroup ref="a:attG1-54"/>
- </xs:complexType>
-
- <xs:complexType name="derived2">
-    <xs:complexContent>
-	<xs:extension base="a:base2">
-     <xs:sequence />
-     <xs:attributeGroup ref="a:attG2-54"/>
-	</xs:extension>
-    </xs:complexContent>
- </xs:complexType>
-
-
- <xs:attribute name="attA"/>
- <xs:attributeGroup name="attG-a1">
-     <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:attributeGroup>
-
- <xs:attributeGroup name="attG-a2">
-     <xs:anyAttribute namespace="##targetNamespace b c" processContents="lax"/>
- </xs:attributeGroup>
-
-<xs:attributeGroup name="attG1-54">
-     <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:attributeGroup>
-
- <xs:attributeGroup name="attG2-54">
-     <xs:anyAttribute namespace="##local b c" processContents="lax"/>
- </xs:attributeGroup>
-
-</xs:schema>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6964720Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation.tck;
-
-import javax.xml.XMLConstants;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6964720
- * @summary Test Schema doesn't allow the inexpressible union of two attribute wildcards.
- */
-public class Bug6964720Test {
-    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 test() {
-        try {
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6964720Test.class.getResourceAsStream("Bug6964720.xsd")));
-            Assert.fail("should produce an error message");
-        } catch (SAXException e) {
-            System.out.println(e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214/RegexTest_1258.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<xs:schema  xmlns:xs='http://www.w3.org/2001/XMLSchema'>
-  
-  <xs:element name='doc'>
-    <xs:complexType>
-      <xs:attribute name='value'>
-        <xs:simpleType>
-          <xs:restriction base='xs:string'>
-            <xs:pattern value='abc)'/>
-          </xs:restriction>
-        </xs:simpleType>
-      </xs:attribute>
-    </xs:complexType>
-  </xs:element>
-
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214/reD10.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
->
-
-<!-- 
-base='string', pattern='(a))', value='', type='error', RULE='2,3,4,5,6,7,8,9'
--->
-
-<xsd:element name="doc">
-    <xsd:complexType>
-            <xsd:choice>
-                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
-            </xsd:choice>
-    </xsd:complexType>
-</xsd:element>
-
-<xsd:simpleType name="Regex">
-       <xsd:restriction base="xsd:string">
-           <xsd:pattern value="(a))"/>    
-       </xsd:restriction>
-</xsd:simpleType>
-
-
-
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214/reD11.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
->
-
-<!-- 
-base='string', pattern='ab|(d))', value='', type='error', RULE='2,3,4,5,6,7,8,9'
--->
-
-<xsd:element name="doc">
-    <xsd:complexType>
-            <xsd:choice>
-                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
-            </xsd:choice>
-    </xsd:complexType>
-</xsd:element>
-
-<xsd:complexType name="Regex">
-   <xsd:attribute name="att">
-       <xsd:simpleType>
-           <xsd:restriction base="xsd:string">
-               <xsd:pattern value="ab|(d))"/>    
-           </xsd:restriction>
-       </xsd:simpleType>
-   </xsd:attribute>
-</xsd:complexType>
-
-
-
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214/reD12.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
->
-
-<!-- 
-base='string', pattern='((a*(b*)((a))*(a))))', value='', type='error', RULE='2,3,4,5,6,7,8,9'
--->
-
-<xsd:element name="doc">
-    <xsd:complexType>
-            <xsd:choice>
-                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
-            </xsd:choice>
-    </xsd:complexType>
-</xsd:element>
-
-<xsd:simpleType name="Regex">
-       <xsd:restriction base="xsd:string">
-           <xsd:pattern value="((a*(b*)((a))*(a))))"/>    
-       </xsd:restriction>
-</xsd:simpleType>
-
-
-
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214/reE9.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
->
-
-<!-- 
-base='string', pattern=')', value='', type='error', RULE='10'
--->
-
-<xsd:element name="doc">
-    <xsd:complexType>
-            <xsd:choice>
-                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
-            </xsd:choice>
-    </xsd:complexType>
-</xsd:element>
-
-<xsd:complexType name="Regex">
-   <xsd:attribute name="att">
-       <xsd:simpleType>
-           <xsd:restriction base="xsd:string">
-               <xsd:pattern value=")"/>    
-           </xsd:restriction>
-       </xsd:simpleType>
-   </xsd:attribute>
-</xsd:complexType>
-
-
-
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6967214Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation.tck;
-
-import java.io.File;
-
-import javax.xml.XMLConstants;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6967214
- * @summary Test Schema doesn't allow unpaired parenthesises in regex.
- */
-public class Bug6967214Test {
-    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 test() {
-        try {
-            File dir = new File(Bug6967214Test.class.getResource("Bug6967214").getPath());
-            File files[] = dir.listFiles();
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            for (int i = 0; i < files.length; i++) {
-                try {
-                    System.out.println(files[i].getName());
-                    Schema schema = schemaFactory.newSchema(new StreamSource(files[i]));
-                    Assert.fail("should report error");
-                } catch (org.xml.sax.SAXParseException spe) {
-                    continue;
-                }
-            }
-        } catch (SAXException e) {
-            e.printStackTrace();
-
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6970890.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<xs:schema  xmlns:xs='http://www.w3.org/2001/XMLSchema'>
-<xs:element name='doc'><xs:complexType><xs:attribute name='value'>
-  <xs:simpleType>
-    <xs:restriction base='xs:string'>
-      <xs:pattern value='a[-]?c'/>
-    </xs:restriction>
-  </xs:simpleType>
-</xs:attribute></xs:complexType>
-</xs:element>
-</xs:schema>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6970890Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation.tck;
-
-import javax.xml.XMLConstants;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6970890
- * @summary Test Schema allows [-] in regex.
- */
-public class Bug6970890Test {
-    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 test_RegexTest_1319() {
-        try {
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6970890Test.class.getResourceAsStream("Bug6970890.xsd")));
-
-        } catch (SAXException e) {
-            e.printStackTrace();
-            Assert.fail("The - character is a valid character range at the beginning or end of a positive character group");
-        }
-    }
-
-    @Test
-    public void test_reH16() {
-        try {
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6970890Test.class.getResourceAsStream("Bug6970890_1.xsd")));
-
-        } catch (SAXException e) {
-            e.printStackTrace();
-            Assert.fail("The - character is a valid character range at the beginning or end of a positive character group");
-
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6970890_1.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
-<!--
-base='string', pattern='[-]', value='-', type='valid', RULE='22'
--->
-
-<xsd:element name="doc">
-    <xsd:complexType>
-            <xsd:choice>
-                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
-            </xsd:choice>
-    </xsd:complexType>
-</xsd:element>
-
-<xsd:simpleType name="Regex">
-       <xsd:restriction base="xsd:string">
-           <xsd:pattern value="[-]"/>
-       </xsd:restriction>
-</xsd:simpleType>
-
-
-</xsd:schema>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6971190.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,210 +0,0 @@
-<?xml version="1.0"?>
-<doc  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
-    xsi:noNamespaceSchemaLocation='Bug6971190.xsd' >
-
-<!--
-base='string', pattern='\d', value='#x1040;', type='valid', RULE='37'
--->
-
-<value>&#x0030;</value>
-<value>&#x0031;</value>
-<value>&#x0032;</value>
-<value>&#x0033;</value>
-<value>&#x0034;</value>
-<value>&#x0035;</value>
-<value>&#x0036;</value>
-<value>&#x0037;</value>
-<value>&#x0038;</value>
-<value>&#x0039;</value>
-<value>&#x0660;</value>
-<value>&#x0661;</value>
-<value>&#x0662;</value>
-<value>&#x0663;</value>
-<value>&#x0664;</value>
-<value>&#x0665;</value>
-<value>&#x0666;</value>
-<value>&#x0667;</value>
-<value>&#x0668;</value>
-<value>&#x0669;</value>
-<value>&#x06F0;</value>
-<value>&#x06F1;</value>
-<value>&#x06F2;</value>
-<value>&#x06F3;</value>
-<value>&#x06F4;</value>
-<value>&#x06F5;</value>
-<value>&#x06F6;</value>
-<value>&#x06F7;</value>
-<value>&#x06F8;</value>
-<value>&#x06F9;</value>
-<value>&#x0966;</value>
-<value>&#x0967;</value>
-<value>&#x0968;</value>
-<value>&#x0969;</value>
-<value>&#x096A;</value>
-<value>&#x096B;</value>
-<value>&#x096C;</value>
-<value>&#x096D;</value>
-<value>&#x096E;</value>
-<value>&#x096F;</value>
-<value>&#x09E6;</value>
-<value>&#x09E7;</value>
-<value>&#x09E8;</value>
-<value>&#x09E9;</value>
-<value>&#x09EA;</value>
-<value>&#x09EB;</value>
-<value>&#x09EC;</value>
-<value>&#x09ED;</value>
-<value>&#x09EE;</value>
-<value>&#x09EF;</value>
-<value>&#x0A66;</value>
-<value>&#x0A67;</value>
-<value>&#x0A68;</value>
-<value>&#x0A69;</value>
-<value>&#x0A6A;</value>
-<value>&#x0A6B;</value>
-<value>&#x0A6C;</value>
-<value>&#x0A6D;</value>
-<value>&#x0A6E;</value>
-<value>&#x0A6F;</value>
-<value>&#x0AE6;</value>
-<value>&#x0AE7;</value>
-<value>&#x0AE8;</value>
-<value>&#x0AE9;</value>
-<value>&#x0AEA;</value>
-<value>&#x0AEB;</value>
-<value>&#x0AEC;</value>
-<value>&#x0AED;</value>
-<value>&#x0AEE;</value>
-<value>&#x0AEF;</value>
-<value>&#x0B66;</value>
-<value>&#x0B67;</value>
-<value>&#x0B68;</value>
-<value>&#x0B69;</value>
-<value>&#x0B6A;</value>
-<value>&#x0B6B;</value>
-<value>&#x0B6C;</value>
-<value>&#x0B6D;</value>
-<value>&#x0B6E;</value>
-<value>&#x0B6F;</value>
-<value>&#x0BE7;</value>
-<value>&#x0BE8;</value>
-<value>&#x0BE9;</value>
-<value>&#x0BEA;</value>
-<value>&#x0BEB;</value>
-<value>&#x0BEC;</value>
-<value>&#x0BED;</value>
-<value>&#x0BEE;</value>
-<value>&#x0BEF;</value>
-<value>&#x0C66;</value>
-<value>&#x0C67;</value>
-<value>&#x0C68;</value>
-<value>&#x0C69;</value>
-<value>&#x0C6A;</value>
-<value>&#x0C6B;</value>
-<value>&#x0C6C;</value>
-<value>&#x0C6D;</value>
-<value>&#x0C6E;</value>
-<value>&#x0C6F;</value>
-<value>&#x0CE6;</value>
-<value>&#x0CE7;</value>
-<value>&#x0CE8;</value>
-<value>&#x0CE9;</value>
-<value>&#x0CEA;</value>
-<value>&#x0CEB;</value>
-<value>&#x0CEC;</value>
-<value>&#x0CED;</value>
-<value>&#x0CEE;</value>
-<value>&#x0CEF;</value>
-<value>&#x0D66;</value>
-<value>&#x0D67;</value>
-<value>&#x0D68;</value>
-<value>&#x0D69;</value>
-<value>&#x0D6A;</value>
-<value>&#x0D6B;</value>
-<value>&#x0D6C;</value>
-<value>&#x0D6D;</value>
-<value>&#x0D6E;</value>
-<value>&#x0D6F;</value>
-<value>&#x0E50;</value>
-<value>&#x0E51;</value>
-<value>&#x0E52;</value>
-<value>&#x0E53;</value>
-<value>&#x0E54;</value>
-<value>&#x0E55;</value>
-<value>&#x0E56;</value>
-<value>&#x0E57;</value>
-<value>&#x0E58;</value>
-<value>&#x0E59;</value>
-<value>&#x0ED0;</value>
-<value>&#x0ED1;</value>
-<value>&#x0ED2;</value>
-<value>&#x0ED3;</value>
-<value>&#x0ED4;</value>
-<value>&#x0ED5;</value>
-<value>&#x0ED6;</value>
-<value>&#x0ED7;</value>
-<value>&#x0ED8;</value>
-<value>&#x0ED9;</value>
-<value>&#x0F20;</value>
-<value>&#x0F21;</value>
-<value>&#x0F22;</value>
-<value>&#x0F23;</value>
-<value>&#x0F24;</value>
-<value>&#x0F25;</value>
-<value>&#x0F26;</value>
-<value>&#x0F27;</value>
-<value>&#x0F28;</value>
-<value>&#x0F29;</value>
-<value>&#x1040;</value>
-<value>&#x1041;</value>
-<value>&#x1042;</value>
-<value>&#x1043;</value>
-<value>&#x1044;</value>
-<value>&#x1045;</value>
-<value>&#x1046;</value>
-<value>&#x1047;</value>
-<value>&#x1048;</value>
-<value>&#x1049;</value>
-<value>&#x1369;</value>
-<value>&#x136A;</value>
-<value>&#x136B;</value>
-<value>&#x136C;</value>
-<value>&#x136D;</value>
-<value>&#x136E;</value>
-<value>&#x136F;</value>
-<value>&#x1370;</value>
-<value>&#x1371;</value>
-<value>&#x17E0;</value>
-<value>&#x17E1;</value>
-<value>&#x17E2;</value>
-<value>&#x17E3;</value>
-<value>&#x17E4;</value>
-<value>&#x17E5;</value>
-<value>&#x17E6;</value>
-<value>&#x17E7;</value>
-<value>&#x17E8;</value>
-<value>&#x17E9;</value>
-<value>&#x1810;</value>
-<value>&#x1811;</value>
-<value>&#x1812;</value>
-<value>&#x1813;</value>
-<value>&#x1814;</value>
-<value>&#x1815;</value>
-<value>&#x1816;</value>
-<value>&#x1817;</value>
-<value>&#x1818;</value>
-<value>&#x1819;</value>
-<value>&#xFF10;</value>
-<value>&#xFF11;</value>
-<value>&#xFF12;</value>
-<value>&#xFF13;</value>
-<value>&#xFF14;</value>
-<value>&#xFF15;</value>
-<value>&#xFF16;</value>
-<value>&#xFF17;</value>
-<value>&#xFF18;</value>
-<value>&#xFF19;</value>
-
-<!--reS21--> <value>&#x1D7CE;</value>
-<!--reS42--> <value>&#x1D7FF;</value>
- </doc>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6971190.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
-<!--
-base='string', pattern='\d', value='#x1040;', type='valid', RULE='37'
--->
-
-<xsd:element name="doc">
-    <xsd:complexType>
-            <xsd:choice>
-                <xsd:element name="value" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
-            </xsd:choice>
-    </xsd:complexType>
-</xsd:element>
-
-<xsd:simpleType name="Regex">
-       <xsd:restriction base="xsd:string">
-           <xsd:pattern value="\d"/>
-       </xsd:restriction>
-</xsd:simpleType>
-
-
-
-</xsd:schema>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6971190Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,98 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation.tck;
-
-import java.io.IOException;
-
-import javax.xml.XMLConstants;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.Validator;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6971190
- * @summary Test Validation accepts UTF lexical presentation.
- */
-public class Bug6971190Test {
-    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 test() {
-        try {
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-
-            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6971190Test.class.getResourceAsStream("Bug6971190.xsd")));
-            Validator validator = schema.newValidator();
-            /**
-             * validator.setErrorHandler(new ErrorHandler() { public void
-             * error(SAXParseException exception) throws SAXException {
-             * exception.printStackTrace(); }
-             *
-             * public void fatalError(SAXParseException exception) throws
-             * SAXException { exception.printStackTrace(); }
-             *
-             * public void warning(SAXParseException exception) throws
-             * SAXException { exception.printStackTrace(); } });
-             */
-            validator.validate(new StreamSource(Bug6971190Test.class.getResourceAsStream("Bug6971190.xml")));
-
-        } catch (SAXException e) {
-            System.out.println(e.getMessage());
-            Assert.fail(e.getMessage());
-
-        } catch (IOException e) {
-            e.printStackTrace();
-            System.out.println(e.getMessage());
-            Assert.fail(e.getMessage());
-        }
-    }
-
-    // test \W negative tests with positibve \w
-    @Test
-    public void testNegative() {
-        try {
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-
-            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6971190Test.class.getResourceAsStream("Bug6971190_v.xsd")));
-            Validator validator = schema.newValidator();
-
-            validator.validate(new StreamSource(Bug6971190Test.class.getResourceAsStream("Bug6971190_v.xml")));
-
-        } catch (SAXException e) {
-            e.printStackTrace();
-            Assert.fail(e.getMessage());
-
-        } catch (IOException e) {
-            e.printStackTrace();
-            System.out.println(e.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6971190_v.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-<?xml version="1.0"?>
-<doc  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
-    xsi:noNamespaceSchemaLocation='Bug6971190_v.xsd' >
-
-<!--
-negative tests
--->
-
-<!--reV10--> <elem>&#x2B0;</elem>
-<!--reV11--> <elem>&#x2B0;</elem>
-<!--reV12--> <elem>&#xFF9F;</elem>
-<!--reV15--> <elem>&#x2FA1D;</elem>
-<!--reV16--> <!--elem>&#x64B;</elem  064b is ARABIC FATHATAN, not a letter according to Character.isLetter, the current range \u0641\u064a (Arabic letters) is correct-->
-<!--reV17--> <!-- elem>&#x1D1AD;</elem MUSICAL SYMBOL COMBINING SNAP PIZZICATO, is not a letter-->
-<!--reV18--> <!-- elem>&#x903;</elem  'DEVANAGARI SIGN VISARGA' , not a letter -->
-<!--reV19--> <!-- elem>&#x1D172;</elem 'MUSICAL SYMBOL COMBINING FLAG-5', not a letter -->
-<!--reV20--> <!-- elem>&#x903;</elem -->
-<!--reV21--> <!-- elem>&#x1D172;</elem -->
-<!--reV22 elem text--> <!-- elem>&#x20DD;</elem 'COMBINING ENCLOSING CIRCLE' , not a letter -->
-<!--reV23 attribute--> <!--elem>&#x20DD;</elem-->
-<!--reV24--> <!-- elem>&#x20E2;</elem 'COMBINING ENCLOSING SCREEN' , not a letter -->
-<!--reV26--> <elem>&#x1D7FF;</elem> <!-- 1D7FF 'MATHEMATICAL MONOSPACE DIGIT NINE', added to digit range -->
-<!--reV27--> <!-- elem>&#x1034A;</elem 'GOTHIC LETTER NINE HUNDRED', not a letter -->
-<!--reV28--> <!--elem>&#x1034A;</elem-->
-<!--reV30--> <!-- elem>&#xB2;</elem 'SUPERSCRIPT TWO', not a letter -->
-<!--reV31--> <!-- elem>&#xB2;</elem-->
-<!--reV32--> <!-- elem>&#x10323;</elem OLD ITALIC NUMERAL FIFTY, not a letter. In fact, none of the OLD ITALIC NUMERALs are considered letter -->
-<!--reV33--> <!-- elem>&#x2044;</elem 'FRACTION SLASH' , not a letter -->
-<!--reV34--> <!-- elem>&#xFFE2;</elem 'FULLWIDTH NOT SIGN', not a letter -->
-<!--reV35--> <!-- elem>&#x20A0;</elem 'EURO-CURRENCY SIGN', not a letter -->
-<!--reV36--> <!-- elem>&#x20A0;</elem -->
-<!--reV37--> <!-- elem>&#xFFE6;</elem 'FULLWIDTH WON SIGN' , not a letter -->
-<!--reV38--> <!-- elem>&#x309B;</elem 'KATAKANA-HIRAGANA VOICED SOUND MARK', not a letter -->
-<!--reV39--> <!-- elem>&#x309B;</elem -->
-<!--reV40--> <!-- elem>&#xFFE3;</elem 'FULLWIDTH MACRON', not a letter -->
-<!--reV41--> <!-- elem>&#x3190;</elem 'IDEOGRAPHIC ANNOTATION LINKING MARK', not a letter -->
-<!--reV42--> <!-- elem>&#x3190;</elem-->
-<!--reV43--> <!-- elem>&#x1D1DD;</elem 'MUSICAL SYMBOL PES SUBPUNCTIS', not a letter -->
-<!--reV3--> <elem>&#x1D7A8;</elem>
-<!--reV6--> <elem>&#x1D7C9;</elem>
-<!--reV7--> <elem>&#x1C5;</elem>
-<!--reV8--> <elem>&#x1C5;</elem>
-
- </doc>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6971190_v.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
-<!--
-base='string', pattern='\d', value='#x1040;', type='valid', RULE='37'
--->
-
-<xsd:element name="doc">
-    <xsd:complexType>
-            <xsd:choice>
-                <xsd:element name="elem" type="RegexW" minOccurs="1" maxOccurs="unbounded"/>
-            </xsd:choice>
-    </xsd:complexType>
-</xsd:element>
-
-<xsd:simpleType name="Regex">
-       <xsd:restriction base="xsd:string">
-           <xsd:pattern value="\d"/>
-       </xsd:restriction>
-</xsd:simpleType>
-
-<xsd:simpleType name="RegexW">
-       <xsd:restriction base="xsd:string">
-           <xsd:pattern value="\w"/>
-       </xsd:restriction>
-</xsd:simpleType>
-
-
-</xsd:schema>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6974551.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Bug6974551.xsd">
-	<fooTest>
-    test
-
-
-
-    information
-	</fooTest>
-</root>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6974551.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<?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>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6974551Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,118 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation.tck;
-
-import java.io.IOException;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.Validator;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 6974551
- * @summary Test Validation for SAXParser can expose whitespace facet for xs:anySimpleType.
- */
-public class Bug6974551Test {
-    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";
-
-    static String _xml = Bug6974551Test.class.getResource("Bug6974551.xml").getPath();
-    static String _xsd = Bug6974551Test.class.getResource("Bug6974551.xsd").getPath();
-
-    @Test
-    public void testSAX() {
-        try {
-            Schema schema = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI).newSchema(new StreamSource(_xsd));
-            SAXParserFactory spf = SAXParserFactory.newInstance();
-            spf.setNamespaceAware(true);
-            spf.setValidating(true);
-            spf.setSchema(schema);
-            SAXParser parser = spf.newSAXParser();
-            MyErrorHandler errorHandler = new MyErrorHandler();
-            parser.parse(_xml, errorHandler);
-            if (!errorHandler.errorOccured) {
-                Assert.fail("should report error");
-            }
-        } catch (Exception e) {
-            System.out.println(e.getMessage());
-        }
-    }
-
-    @Test
-    public void testValidationAPI() {
-        try {
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-
-            Schema schema = schemaFactory.newSchema(new StreamSource(_xsd));
-            Validator validator = schema.newValidator();
-            validator.validate(new StreamSource(_xml));
-
-            Assert.fail("should report error");
-        } catch (SAXException e) {
-            // expected, pass
-            System.out.println(e.getMessage());
-        } catch (IOException e) {
-            Assert.fail(e.getMessage());
-            System.out.println(e.getMessage());
-        }
-    }
-
-    class MyErrorHandler extends DefaultHandler {
-
-        public boolean errorOccured = false;
-
-        public void error(SAXParseException e) throws SAXException {
-
-            System.err.println("Error: " + "[[" + e.getPublicId() + "]" + "[" + e.getSystemId() + "]]" + "[[" + e.getLineNumber() + "]" + "["
-                    + e.getColumnNumber() + "]] " + e);
-
-            errorOccured = true;
-        }
-
-        public void fatalError(SAXParseException e) throws SAXException {
-
-            System.err.println("Fatal Error: " + e);
-
-            errorOccured = true;
-        }
-
-        public void warning(SAXParseException e) throws SAXException {
-
-            System.err.println("Warning: " + e);
-
-            errorOccured = true;
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265/notatF025.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-	<xsd:simpleType name="foo">
-		<xsd:restriction base="xsd:string">
-			<xsd:enumeration value="1 2">
-				<xsd:notation name="jpeg" public="image/jpeg" system="viewer.exe"/>
-			</xsd:enumeration>
-		</xsd:restriction>
-	</xsd:simpleType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265/notatF037.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-	<xsd:element name="foo">
-		<xsd:key name="bar">
-			<xsd:notation name="jpeg" public="image/jpeg" system="viewer.exe"/>
-			<xsd:selector xpath="//"/>
-			<xsd:field/>
-		</xsd:key>
-	</xsd:element>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265/notatF041.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-	<xsd:simpleType name="foo">
-		<xsd:restriction base="xsd:string">
-			<xsd:length value="8">
-				<xsd:notation name="jpeg" public="image/jpeg" system="viewer.exe"/>
-			</xsd:length>
-		</xsd:restriction>
-	</xsd:simpleType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265/notatF045.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-	<xsd:simpleType name="foo">
-		<xsd:restriction base="xsd:integer">
-			<xsd:maxInclusive value="0">
-				<xsd:notation name="jpeg" public="image/jpeg" system="viewer.exe"/>
-			</xsd:maxInclusive>
-		</xsd:restriction>
-	</xsd:simpleType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265/notatF049.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-	<xsd:simpleType name="foo">
-		<xsd:restriction base="xsd:integer">
-			<xsd:minInclusive value="0">
-				<xsd:notation name="jpeg" public="image/jpeg" system="viewer.exe"/>
-			</xsd:minInclusive>
-		</xsd:restriction>
-	</xsd:simpleType>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6975265Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation.tck;
-
-import java.io.File;
-
-import javax.xml.XMLConstants;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6975265
- * @summary Test Schema doesn't allow some Element Information Items contain other element information item.
- */
-public class Bug6975265Test {
-    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 test() {
-        try {
-            File dir = new File(Bug6975265Test.class.getResource("Bug6975265").getPath());
-            File files[] = dir.listFiles();
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            for (int i = 0; i < files.length; i++) {
-                try {
-                    System.out.println(files[i].getName());
-                    Schema schema = schemaFactory.newSchema(new StreamSource(files[i]));
-                    Assert.fail("should report error");
-                } catch (org.xml.sax.SAXParseException spe) {
-                    System.out.println(spe.getMessage());
-                    continue;
-                }
-            }
-        } catch (SAXException e) {
-            e.printStackTrace();
-
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA2.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<doc  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
-    xsi:noNamespaceSchemaLocation='reA2.xsd' >
-
-<!-- 
-base='string', pattern='', value='a', type='invalid', RULE='1'
--->
-
-     <elem>a</elem>
-
- </doc>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA2.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
->
-
-<!-- 
-base='string', pattern='', value='a', type='invalid', RULE='1'
--->
-
-<xsd:element name="doc">
-    <xsd:complexType>
-            <xsd:choice>
-                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
-            </xsd:choice>
-    </xsd:complexType>
-</xsd:element>
-
-<xsd:simpleType name="Regex">
-       <xsd:restriction base="xsd:string">
-           <xsd:pattern value=""/>
-       </xsd:restriction>
-</xsd:simpleType>
-
-
-
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA3.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<doc  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
-    xsi:noNamespaceSchemaLocation='reA3.xsd' >
-
-<!-- 
-base='string', pattern='', value='#x20;', type='invalid', RULE='1'
--->
-
-      <elem att='#x20;'/>
-
- </doc>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA3.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
->
-
-<!-- 
-base='string', pattern='', value='#x20;', type='invalid', RULE='1'
--->
-
-<xsd:element name="doc">
-    <xsd:complexType>
-            <xsd:choice>
-                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
-            </xsd:choice>
-    </xsd:complexType>
-</xsd:element>
-
-<xsd:complexType name="Regex">
-   <xsd:attribute name="att">
-       <xsd:simpleType>
-           <xsd:restriction base="xsd:string">
-               <xsd:pattern value=""/>    
-           </xsd:restriction>
-       </xsd:simpleType>
-   </xsd:attribute>
-</xsd:complexType>
-
-
-
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA4.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<doc  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
-    xsi:noNamespaceSchemaLocation='reA4.xsd' >
-
-<!-- 
-base='string', pattern='', value='#xD;', type='invalid', RULE='1'
--->
-
-     <elem>#xD;</elem>
-
- </doc>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA4.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
->
-
-<!-- 
-base='string', pattern='', value='#xD;', type='invalid', RULE='1'
--->
-
-<xsd:element name="doc">
-    <xsd:complexType>
-            <xsd:choice>
-                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
-            </xsd:choice>
-    </xsd:complexType>
-</xsd:element>
-
-<xsd:simpleType name="Regex">
-       <xsd:restriction base="xsd:string">
-           <xsd:pattern value=""/>    
-       </xsd:restriction>
-</xsd:simpleType>
-
-
-
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA5.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<doc  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
-    xsi:noNamespaceSchemaLocation='reA5.xsd' >
-
-<!-- 
-base='string', pattern='', value='#x9;', type='invalid', RULE='1'
--->
-
-      <elem att='#x9;'/>
-
- </doc>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA5.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
->
-
-<!-- 
-base='string', pattern='', value='#x9;', type='invalid', RULE='1'
--->
-
-<xsd:element name="doc">
-    <xsd:complexType>
-            <xsd:choice>
-                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
-            </xsd:choice>
-    </xsd:complexType>
-</xsd:element>
-
-<xsd:complexType name="Regex">
-   <xsd:attribute name="att">
-       <xsd:simpleType>
-           <xsd:restriction base="xsd:string">
-               <xsd:pattern value=""/>    
-           </xsd:restriction>
-       </xsd:simpleType>
-   </xsd:attribute>
-</xsd:complexType>
-
-
-
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA6.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<doc  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
-    xsi:noNamespaceSchemaLocation='reA6.xsd' >
-
-<!-- 
-base='string', pattern='', value='#xA;', type='invalid', RULE='1'
--->
-
-     <elem>#xA;</elem>
-
- </doc>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201/reA6.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
->
-
-<!-- 
-base='string', pattern='', value='#xA;', type='invalid', RULE='1'
--->
-
-<xsd:element name="doc">
-    <xsd:complexType>
-            <xsd:choice>
-                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
-            </xsd:choice>
-    </xsd:complexType>
-</xsd:element>
-
-<xsd:simpleType name="Regex">
-       <xsd:restriction base="xsd:string">
-           <xsd:pattern value=""/>    
-       </xsd:restriction>
-</xsd:simpleType>
-
-
-
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6977201Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation.tck;
-
-import javax.xml.XMLConstants;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.Validator;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6977201
- * @summary Test Validator interprets regex "" correctly.
- */
-public class Bug6977201Test {
-    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";
-
-    SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-
-    @Test
-    public void test() {
-        validate(Bug6977201Test.class.getResource("Bug6977201/reA2.xsd").getPath(), Bug6977201Test.class.getResource("Bug6977201/reA2.xml").getPath());
-        validate(Bug6977201Test.class.getResource("Bug6977201/reA3.xsd").getPath(), Bug6977201Test.class.getResource("Bug6977201/reA3.xml").getPath());
-        validate(Bug6977201Test.class.getResource("Bug6977201/reA4.xsd").getPath(), Bug6977201Test.class.getResource("Bug6977201/reA4.xml").getPath());
-        validate(Bug6977201Test.class.getResource("Bug6977201/reA5.xsd").getPath(), Bug6977201Test.class.getResource("Bug6977201/reA5.xml").getPath());
-        validate(Bug6977201Test.class.getResource("Bug6977201/reA6.xsd").getPath(), Bug6977201Test.class.getResource("Bug6977201/reA6.xml").getPath());
-    }
-
-    // JCK negative test
-    public void validate(String xsd, String xml) {
-        try {
-            Schema schema = schemaFactory.newSchema(new StreamSource(xsd));
-            Validator validator = schema.newValidator();
-            validator.validate(new StreamSource(xml));
-            Assert.fail("should report error");
-        } catch (Exception e) {
-            System.out.println(e.getMessage());
-            // e.printStackTrace();
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6989956.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Bug6989956.xsd">
-  <c>1</c>
-  <c>x</c>
-  <c>y</c>
-</root>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6989956.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
-  <xsd:simpleType name="u1">
-        <xsd:union>
-          <xsd:simpleType>
-            <xsd:restriction base='xsd:nonNegativeInteger'/>
-          </xsd:simpleType>
-          <xsd:simpleType>
-            <xsd:restriction base='xsd:string'>
-              <xsd:enumeration value='x'/>
-              <xsd:enumeration value='y'/>
-            </xsd:restriction>
-          </xsd:simpleType>
-        </xsd:union>
-  </xsd:simpleType>
-
-  <xsd:simpleType name="u3">
-	<xsd:restriction base="u1">
-              <xsd:enumeration value='x'/>
-              <xsd:enumeration value='y'/>
-              <xsd:enumeration value='1'/>
-	</xsd:restriction>
-  </xsd:simpleType>
-  <xsd:element name="root">
-    <xsd:complexType>
-	<xsd:choice maxOccurs="40">
-		<xsd:element name="c" type="u3" minOccurs="0" maxOccurs="100"/>
-	</xsd:choice>
-    </xsd:complexType>
-  </xsd:element>
-
-
-
-</xsd:schema>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug6989956Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,144 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation.tck;
-
-import java.io.File;
-import java.io.IOException;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.Validator;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXNotRecognizedException;
-import org.xml.sax.SAXNotSupportedException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 6989956
- * @summary Test Validation can process correctly that maxOccurs in Choice less than maxOccurs in Elements contained in the Choice.
- */
-public class Bug6989956Test {
-    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 test() {
-        try {
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            schemaFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
-
-            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6989956Test.class.getResourceAsStream("Bug6989956.xsd")));
-
-            Validator validator = schema.newValidator();
-            validator.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
-            validator.setErrorHandler(new ErrorHandler() {
-                public void error(SAXParseException exception) throws SAXException {
-                    exception.printStackTrace();
-                }
-
-                public void fatalError(SAXParseException exception) throws SAXException {
-                    exception.printStackTrace();
-                }
-
-                public void warning(SAXParseException exception) throws SAXException {
-                    exception.printStackTrace();
-                }
-            });
-
-            validator.validate(new StreamSource(Bug6989956Test.class.getResourceAsStream("Bug6989956.xml")));
-
-        } catch (SAXException e) {
-            System.out.println(e.getMessage());
-            // fail(e.getMessage());
-
-        } catch (IOException e) {
-            e.printStackTrace();
-            System.out.println(e.getMessage());
-            // fail(e.getMessage());
-        }
-    }
-
-    @Test
-    public void testInstance() throws ParserConfigurationException, SAXException, IOException {
-        System.out.println(Bug6989956Test.class.getResource("Bug6989956.xsd").getPath());
-        File schemaFile = new File(Bug6989956Test.class.getResource("Bug6989956.xsd").getPath());
-        SAXParser parser = createParser(schemaFile);
-
-        try {
-            parser.parse(Bug6989956Test.class.getResource("Bug6989956.xml").getPath(), new DefaultHandler());
-        } catch (SAXException e) {
-            e.printStackTrace();
-            Assert.fail("Fatal Error: " + strException(e));
-        }
-
-    }
-
-    protected SAXParser createParser(File schema) throws ParserConfigurationException, SAXException {
-
-        // create and initialize the parser
-        SAXParserFactory spf = SAXParserFactory.newInstance();
-        spf.setNamespaceAware(true);
-        spf.setValidating(true);
-        SAXParser parser = spf.newSAXParser();
-        parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
-
-        // set schemaLocation if possible
-        try {
-            parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource", schema);
-        } catch (SAXNotRecognizedException e) {
-            System.out.println("Warning: Property 'http://java.sun.com/xml/jaxp/properties/schemaSource' is not recognized.");
-        } catch (SAXNotSupportedException e) {
-            System.out.println("Warning: Property 'http://java.sun.com/xml/jaxp/properties/schemaSource' is not supported.");
-        }
-
-        return parser;
-    }
-
-    protected static String strException(Exception ex) {
-        StringBuffer sb = new StringBuffer();
-
-        while (ex != null) {
-            if (ex instanceof SAXParseException) {
-                SAXParseException e = (SAXParseException) ex;
-                sb.append("" + e.getSystemId() + "(" + e.getLineNumber() + "," + e.getColumnNumber() + "): " + e.getMessage());
-                ex = e.getException();
-            } else {
-                sb.append(ex);
-                ex = null;
-            }
-        }
-        return sb.toString();
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug7014246.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" >
-<xs:simpleType name="base">
-	<xs:restriction base="xs:time">
-		<xs:maxInclusive value="12:00:00-10:00"/>
-	</xs:restriction>
-</xs:simpleType>
-<xs:simpleType name="derived">
-	<xs:restriction base="base">
-		<xs:maxInclusive value="12:00:00-14:00"/>
-	</xs:restriction>
-</xs:simpleType>
-</xs:schema>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/tck/Bug7014246Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.validation.tck;
-
-import javax.xml.XMLConstants;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 7014246
- * @summary Test Schema doesn't allow maxInclusive of derived time type greater than the base.
- */
-public class Bug7014246Test {
-    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 test() {
-        try {
-            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-            Schema schema = schemaFactory.newSchema(new StreamSource(Bug7014246Test.class.getResourceAsStream("Bug7014246.xsd")));
-            Assert.fail("STATUS:Failed.The negative testcase unexpectedly passed.");
-        } catch (SAXException e) {
-            e.printStackTrace();
-
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/test-element.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
-    <xsd:element name="CREMAS04">
-    <xsd:complexType>
-        <xsd:sequence>
-            <xsd:element name="E1LFA1H" minOccurs="0" maxOccurs="9999">
-                <xsd:complexType>
-                    <xsd:sequence>
-                        <xsd:element name="MSGFN" minOccurs="0">
-                            <xsd:simpleType>
-                                <xsd:restriction base="xsd:string">
-                                    <xsd:maxLength value="3"/>
-                                </xsd:restriction>
-                            </xsd:simpleType>
-                        </xsd:element>
-                        <xsd:element name="MSGFN2" minOccurs="0">
-                            <xsd:simpleType>
-                                <xsd:restriction base="xsd:string">
-                                    <xsd:maxLength value="3"/>
-                                </xsd:restriction>
-                            </xsd:simpleType>
-                        </xsd:element>
-                    </xsd:sequence>
-                </xsd:complexType>
-            </xsd:element>
-        </xsd:sequence>
-    </xsd:complexType>
-    </xsd:element>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/test-sequence.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
-    <xsd:element name="CREMAS04">
-    <xsd:complexType>
-        <xsd:sequence maxOccurs="10000">
-            <xsd:element name="E1LFA1H" minOccurs="0" maxOccurs="9999">
-                <xsd:complexType>
-                    <xsd:sequence>
-                        <xsd:element name="MSGFN" minOccurs="0">
-                            <xsd:simpleType>
-                                <xsd:restriction base="xsd:string">
-                                    <xsd:maxLength value="3"/>
-                                </xsd:restriction>
-                            </xsd:simpleType>
-                        </xsd:element>
-                        <xsd:element name="MSGFN2" minOccurs="0">
-                            <xsd:simpleType>
-                                <xsd:restriction base="xsd:string">
-                                    <xsd:maxLength value="3"/>
-                                </xsd:restriction>
-                            </xsd:simpleType>
-                        </xsd:element>
-                    </xsd:sequence>
-                </xsd:complexType>
-            </xsd:element>
-        </xsd:sequence>
-    </xsd:complexType>
-    </xsd:element>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/test.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?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" type="xsd:string"/>
-</xsd:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/toys.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-    Document   : toys.xml
-    Created on : August 11, 2003, 6:42 PM
-    Author     : Prasad Subramanian
-    Description:
--->
-
-<toys>
-    <toy>
-        <name>Lego-Model01</name>
-        <price>65.99</price>
-    </toy>
-    <toy>
-        <name>Lego-Model2</name>
-        <price>69.99</price>
-    </toy>
-    <toy>
-        <name>Lego-Model3</name>
-        <price>14.99</price>
-    </toy>
-    <toy>
-        <name>Barbie-Pink</name>
-        <price>12.99</price>
-    </toy>
-    <toy>
-        <name>Barbie-Blue</name>
-        <price>13.99</price>
-    </toy>        
-    <toy>
-        <name>Barbie-White</name>
-        <price>13.99</price>
-    </toy>   
-    <toy>
-        <name>Barbie-Plain</name>
-        <price>13.99</price>
-    </toy>           
-</toys>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/toys.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
-  <xs:element name="toys">
-     <xs:complexType>
-       <xs:sequence>
-         <xs:element name="toy" maxOccurs="7">
-           <xs:complexType>
-             <xs:sequence>
-               <xs:element name="name" type="xs:string" minOccurs="0"/>
-               <xs:element name="price" type="xs:string" minOccurs="0"/>
-             </xs:sequence>
-          </xs:complexType>  
-        </xs:element>
-      </xs:sequence>
-    </xs:complexType>  
-  </xs:element>
-</xs:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/types.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<xs:schema version="1.0" targetNamespace="http://server.type_substitution.fromjava/" xmlns:tns="http://server.type_substitution.fromjava/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
-
-  <xs:element name="getSedans" type="tns:getSedans"/>
-
-  <xs:element name="getSedansResponse" type="tns:getSedansResponse"/>
-
-  <xs:complexType name="toyota">
-    <xs:complexContent>
-      <xs:extension base="tns:car">
-        <xs:sequence>
-          <xs:element name="color" type="xs:string" minOccurs="0"/>
-        </xs:sequence>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="car" abstract="true">
-    <xs:sequence>
-      <xs:element name="make" type="xs:string" minOccurs="0"/>
-      <xs:element name="model" type="xs:string" minOccurs="0"/>
-      <xs:element name="year" type="xs:string" minOccurs="0"/>
-    </xs:sequence>
-  </xs:complexType>
-
-  <xs:complexType name="getSedans"/>
-
-  <xs:complexType name="getSedansResponse">
-    <xs:sequence>
-      <xs:element name="return" type="tns:car" maxOccurs="unbounded" minOccurs="0"/>
-    </xs:sequence>
-  </xs:complexType>
-</xs:schema>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/Bug4991857.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,88 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.xpath;
-
-import javax.xml.xpath.XPath;
-import javax.xml.xpath.XPathConstants;
-import javax.xml.xpath.XPathExpressionException;
-import javax.xml.xpath.XPathFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-
-
-/*
- * @bug 4991857
- * @summary XPath.evaluate(...) throws XPathExpressionException when context is null and expression refers to the context.
- */
-public class Bug4991857 {
-
-    Document d = null;
-
-    XPathFactory xpathFactory = XPathFactory.newInstance();
-
-    @Test
-    public void testXPath09() throws Exception {
-        try {
-            XPath xpath = xpathFactory.newXPath();
-            Assert.assertNotNull(xpath);
-
-            Double result = (Double) xpath.evaluate("1+2", d, XPathConstants.NUMBER);
-        } catch (XPathExpressionException unused) {
-            Assert.fail("Unexpected XPathExpressionException thrown");
-        }
-    }
-
-    @Test
-    public void testXPath10() throws Exception {
-        try {
-            XPath xpath = xpathFactory.newXPath();
-            Assert.assertNotNull(xpath);
-
-            xpath.evaluate(".", d, XPathConstants.STRING);
-            Assert.fail("XPathExpressionException not thrown");
-        } catch (XPathExpressionException e) {
-            // Expected exception as context node is null
-        }
-    }
-
-    @Test
-    public void testXPath11() throws Exception {
-        try {
-            Document d = null;
-
-            XPathFactory xpathFactory = XPathFactory.newInstance();
-            Assert.assertNotNull(xpathFactory);
-
-            XPath xpath = xpathFactory.newXPath();
-            Assert.assertNotNull(xpath);
-
-            String quantity = (String) xpath.evaluate("/widgets/widget[@name='a']/@quantity", d, XPathConstants.STRING);
-            Assert.fail("XPathExpressionException not thrown");
-        } catch (XPathExpressionException e) {
-            // Expected exception as context node is null
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/Bug4991939.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.xpath;
-
-import javax.xml.XMLConstants;
-import javax.xml.namespace.QName;
-import javax.xml.xpath.XPath;
-import javax.xml.xpath.XPathFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 4991939
- * @summary XPath.evaluate(...) throws IllegalArgumentException if returnType is not one of the types defined in XPathConstants.
- */
-public class Bug4991939 {
-
-    @Test
-    public void testXPath13() throws Exception {
-        QName qname = new QName(XMLConstants.XML_NS_URI, "");
-
-        XPathFactory xpathFactory = XPathFactory.newInstance();
-        Assert.assertNotNull(xpathFactory);
-
-        XPath xpath = xpathFactory.newXPath();
-        Assert.assertNotNull(xpath);
-
-        try {
-            xpath.evaluate("1+1", (Object) null, qname);
-            Assert.fail("failed , expected IAE not thrown");
-        } catch (IllegalArgumentException e) {
-            ; // as expected
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/Bug4992788.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.xpath;
-
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.xpath.XPath;
-import javax.xml.xpath.XPathConstants;
-import javax.xml.xpath.XPathFactory;
-import javax.xml.xpath.XPathFactoryConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-
-/*
- * @bug 4992788
- * @summary Test XPath.evaluate(expression,source,returnType) throws NPE if source is null.
- */
-public class Bug4992788 {
-
-    private static String expression = "/widgets/widget[@name='a']/@quantity";
-
-    // test for XPath.evaluate(java.lang.String expression, InputSource source)
-    // - default returnType is String
-    // source is null , should throw NPE
-    @Test
-    public void testXPath23() throws Exception {
-        try {
-            createXPath().evaluate(expression, (InputSource) null);
-            Assert.fail();
-        } catch (NullPointerException e) {
-            ; // as expected
-        }
-    }
-
-    // test for XPath.evaluate(java.lang.String expression, InputSource source,
-    // QName returnType)
-    // source is null , should throw NPE
-    @Test
-    public void testXPath28() throws Exception {
-        try {
-            createXPath().evaluate(expression, (InputSource) null, XPathConstants.STRING);
-            Assert.fail();
-        } catch (NullPointerException e) {
-            ; // as expected
-        }
-    }
-
-    private XPath createXPath() throws XPathFactoryConfigurationException {
-        XPathFactory xpathFactory = XPathFactory.newInstance();
-        Assert.assertNotNull(xpathFactory);
-        XPath xpath = xpathFactory.newXPath();
-        Assert.assertNotNull(xpath);
-        return xpath;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/Bug4992793.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.xpath;
-
-import java.io.StringReader;
-
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.xpath.XPath;
-import javax.xml.xpath.XPathConstants;
-import javax.xml.xpath.XPathFactory;
-import javax.xml.xpath.XPathFactoryConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-
-/*
- * @bug 4992793
- * @summary Test XPath.evaluate(expression,source,returnType) throws NPE if expression is null.
- */
-public class Bug4992793 {
-
-
-    // test for XPath.evaluate(java.lang.String expression, InputSource source)
-    // - default returnType is String
-    // source is null , should throw NPE
-    @Test
-    public void testXPath24() throws Exception {
-        try {
-            createXPath().evaluate(null, new InputSource(new StringReader("<root/>")));
-            Assert.fail();
-        } catch (NullPointerException e) {
-            ; // as expected
-        }
-    }
-
-    // test for XPath.evaluate(java.lang.String expression, InputSource source,
-    // QName returnType)
-    // source is null , should throw NPE
-    @Test
-    public void testXPath29() throws Exception {
-        try {
-            createXPath().evaluate(null, new InputSource(new StringReader("<root/>")), XPathConstants.STRING);
-            Assert.fail();
-        } catch (NullPointerException e) {
-            ; // as expected
-        }
-    }
-
-    private XPath createXPath() throws XPathFactoryConfigurationException {
-        XPathFactory xpathFactory = XPathFactory.newInstance();
-        Assert.assertNotNull(xpathFactory);
-        XPath xpath = xpathFactory.newXPath();
-        Assert.assertNotNull(xpath);
-        return xpath;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/Bug4992805.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.xpath;
-
-import java.io.StringReader;
-
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.xpath.XPath;
-import javax.xml.xpath.XPathFactory;
-import javax.xml.xpath.XPathFactoryConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-
-/*
- * @bug 4992805
- * @summary Test XPath.evaluate(expression,source,returnType) throws NPE if returnType is null.
- */
-public class Bug4992805 {
-
-    private static String expression = "/widgets/widget[@name='a']/@quantity";
-
-    // test for XPath.evaluate(java.lang.String expression, InputSource source,
-    // QName returnType)
-    // source is null , should throw NPE
-    @Test
-    public void testXPath30() throws Exception {
-        try {
-            createXPath().evaluate(expression, new InputSource(new StringReader("<root/>")), null);
-            Assert.fail();
-        } catch (NullPointerException e) {
-            ; // as expected
-        }
-    }
-
-    private XPath createXPath() throws XPathFactoryConfigurationException {
-        XPathFactory xpathFactory = XPathFactory.newInstance();
-        Assert.assertNotNull(xpathFactory);
-        XPath xpath = xpathFactory.newXPath();
-        Assert.assertNotNull(xpath);
-        return xpath;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/ClassLoaderTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.xpath;
-
-import javax.xml.xpath.XPathFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6354969
- * @summary Test XPathFactory newInstance() with ContextClassLoader.
- */
-public class ClassLoaderTest {
-
-    @Test
-    public void testClassLoader() {
-        MyClassLoader cl = new MyClassLoader();
-        Thread.currentThread().setContextClassLoader(cl);
-        XPathFactory xPathFactory = XPathFactory.newInstance();
-
-        if (!cl.isCalled()) {
-            Assert.fail("Context class loader should be used.");
-        }
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/MyClassLoader.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.xpath;
-
-import java.io.IOException;
-import java.net.URL;
-import java.util.Enumeration;
-
-public class MyClassLoader extends ClassLoader {
-    boolean isCalled = false;
-
-    public URL getResource(String name) {
-        isCalled = true;
-        return super.getResource(name);
-    }
-
-    public Enumeration getResources(String name) throws IOException {
-        isCalled = true;
-        return super.getResources(name);
-    }
-
-    public void reset() {
-        isCalled = false;
-    }
-
-    public boolean isCalled() {
-        return isCalled;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/SecureProcessingTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,194 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.xpath;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.Iterator;
-import java.util.List;
-
-import javax.xml.XMLConstants;
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.xml.sax.SAXException;
-
-/*
- * @summary Test when FEATURE_SECURE_PROCESSING is true, calling an external function will cause XPathFunctionException.
- */
-public class SecureProcessingTest {
-    static boolean _isSecureMode = false;
-    static {
-        if (System.getSecurityManager() != null) {
-            _isSecureMode = true;
-            System.out.println("Security Manager is present");
-        } else {
-            System.out.println("Security Manager is NOT present");
-        }
-    }
-
-    @Test
-    public final void testSecureProcessing() {
-
-        final String XPATH_EXPRESSION = "ext:helloWorld()";
-
-        // the xml source
-        InputStream xmlStream = this.getClass().getResourceAsStream("SecureProcessingTest.xml");
-
-        DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
-        DocumentBuilder documentBuilder = null;
-        Document document = null;
-
-        try {
-            documentBuilder = documentBuilderFactory.newDocumentBuilder();
-            document = documentBuilder.parse(xmlStream);
-        } catch (ParserConfigurationException parserConfigurationException) {
-            parserConfigurationException.printStackTrace();
-            Assert.fail(parserConfigurationException.toString());
-        } catch (SAXException saxException) {
-            saxException.printStackTrace();
-            Assert.fail(saxException.toString());
-        } catch (IOException ioException) {
-            ioException.printStackTrace();
-            Assert.fail(ioException.toString());
-        }
-
-        // the XPath
-        XPathFactory xPathFactory = null;
-        XPath xPath = null;
-        String xPathResult = null;
-
-        // SECURE_PROCESSING == false
-        // evaluate an expression with a user defined function with a non-secure
-        // XPath
-        // expect success
-        if (!_isSecureMode) { // jaxp secure feature can not be turned off when
-                              // security manager is present
-            try {
-                xPathFactory = xPathFactory.newInstance();
-                xPathFactory.setXPathFunctionResolver(new MyXPathFunctionResolver());
-                xPathFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false);
-
-                xPath = xPathFactory.newXPath();
-                xPath.setNamespaceContext(new MyNamespaceContext());
-
-                xPathResult = xPath.evaluate(XPATH_EXPRESSION, document);
-            } catch (XPathFactoryConfigurationException xPathFactoryConfigurationException) {
-                xPathFactoryConfigurationException.printStackTrace();
-                Assert.fail(xPathFactoryConfigurationException.toString());
-            } catch (XPathExpressionException xPathExpressionException) {
-                xPathExpressionException.printStackTrace();
-                Assert.fail(xPathExpressionException.toString());
-            }
-
-            // expected success
-            System.out.println("XPath result (SECURE_PROCESSING == false) = \"" + xPathResult + "\"");
-        }
-        // now try with SECURE_PROCESSING == true
-        // evaluate an expression with a user defined function with a secure
-        // XPath
-        // expect Exception
-        boolean securityException = false;
-        try {
-            xPathFactory = xPathFactory.newInstance();
-            xPathFactory.setXPathFunctionResolver(new MyXPathFunctionResolver());
-            xPathFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
-
-            xPath = xPathFactory.newXPath();
-            xPath.setNamespaceContext(new MyNamespaceContext());
-
-            xPathResult = xPath.evaluate(XPATH_EXPRESSION, document);
-        } catch (XPathFactoryConfigurationException xPathFactoryConfigurationException) {
-            xPathFactoryConfigurationException.printStackTrace();
-            Assert.fail(xPathFactoryConfigurationException.toString());
-        } catch (XPathFunctionException xPathFunctionException) {
-            // expected security exception
-            securityException = true;
-            xPathFunctionException.printStackTrace(System.out);
-        } catch (XPathExpressionException xPathExpressionException) {
-            xPathExpressionException.printStackTrace();
-            Assert.fail(xPathExpressionException.toString());
-        }
-
-        // expected Exception
-        if (!securityException) {
-            Assert.fail("XPath result (SECURE_PROCESSING == true) = \"" + xPathResult + "\"");
-        }
-    }
-
-    public class MyXPathFunctionResolver implements XPathFunctionResolver {
-
-        public XPathFunction resolveFunction(QName functionName, int arity) {
-
-            // not a real ewsolver, always return a default XPathFunction
-            return new MyXPathFunction();
-        }
-    }
-
-    public class MyXPathFunction implements XPathFunction {
-
-        public Object evaluate(List list) throws XPathFunctionException {
-
-            return "Hello World";
-        }
-    }
-
-    public class MyNamespaceContext implements NamespaceContext {
-
-        public String getNamespaceURI(String prefix) {
-            if (prefix == null) {
-                throw new IllegalArgumentException("The prefix cannot be null.");
-            }
-
-            if (prefix.equals("ext")) {
-                return "http://ext.com";
-            } else {
-                return null;
-            }
-        }
-
-        public String getPrefix(String namespace) {
-
-            if (namespace == null) {
-                throw new IllegalArgumentException("The namespace uri cannot be null.");
-            }
-
-            if (namespace.equals("http://ext.com")) {
-                return "ext";
-            } else {
-                return null;
-            }
-        }
-
-        public Iterator getPrefixes(String namespace) {
-            return null;
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/SecureProcessingTest.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0"?>
-<helloWorld/>
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/XPathAnyTypeTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,190 +0,0 @@
-/*
- * Copyright (c) 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 javax.xml.xpath;
-
-import java.io.File;
-import javax.xml.xpath.*;
-import static org.testng.Assert.assertEquals;
-import static org.testng.Assert.assertTrue;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-
-/*
- * @bug 8054196
- * @summary Test for the project XPath: support any type. This test covers the new
- * evaluateExpression methods of XPath, as well as XPathNodes and XPathEvaluationResult.
- */
-public class XPathAnyTypeTest extends XPathTestBase {
-    /*
-     Test for resolveFunction(QName functionName,int arity); evaluate throws
-     NPE if functionName  is null.
-     */
-
-    @Test(dataProvider = "xpath", expectedExceptions = NullPointerException.class)
-    public void testCheckXPathFunctionResolver02(XPath xpath) throws XPathExpressionException {
-        xpath.setXPathFunctionResolver((functionName, arity) -> null);
-        assertEquals(xpath.evaluate(null, "5"), "2");
-    }
-    /*
-     Check that NPE is thrown when expression is null.
-     */
-
-    @Test(dataProvider = "xpath", expectedExceptions = NullPointerException.class)
-    public void test01(XPath xpath) throws XPathExpressionException {
-        double result = xpath.evaluateExpression(null, (Object) null, Double.class);
-    }
-
-    /*
-     Check that NPE is thrown when the class type is null.
-     */
-    @Test(dataProvider = "xpath", expectedExceptions = NullPointerException.class)
-    public void test02(XPath xpath) throws XPathExpressionException {
-        double result = xpath.evaluateExpression("1+1", (Object) null, null);
-    }
-
-    /*
-     Parameter item can be null when the expression does not depends on the
-     context.
-     */
-    @Test(dataProvider = "xpath")
-    public void test03(XPath xpath) throws XPathExpressionException {
-        int result = xpath.evaluateExpression("1+1", (Object) null, Integer.class);
-        assertTrue(result == 2);
-    }
-
-    /*
-     * Test return type: boolean.
-     */
-    @Test(dataProvider = "document")
-    public void test04(XPath xpath, Document doc) throws XPathExpressionException {
-        boolean result1 = xpath.evaluateExpression("boolean(/Customers/Customer[@id=3])", doc, Boolean.class);
-        assertTrue(result1);
-    }
-
-    /*
-     * Test return type: numeric. Subtypes supported: Double, Integer and Long
-     */
-    @Test(dataProvider = "document")
-    public void test05(XPath xpath, Document doc) throws XPathExpressionException {
-        double result1 = xpath.evaluateExpression("count(/Customers/Customer)", doc, Double.class);
-        assertTrue(result1 == 3.0);
-        int result2 = xpath.evaluateExpression("count(/Customers/Customer)", doc, Integer.class);
-        assertTrue(result2 == 3);
-        long result3 = xpath.evaluateExpression("count(/Customers/Customer)", doc, Long.class);
-        assertTrue(result3 == 3);
-    }
-
-    /*
-     * Test return type: numeric.  Of the subtypes of Number, only Double,
-     * Integer and Long are required.
-     */
-    @Test(dataProvider = "invalidNumericTypes", expectedExceptions = IllegalArgumentException.class)
-    public void test06(XPath xpath, Class<Number> type) throws XPathExpressionException {
-        xpath.evaluateExpression("1+1", (Object) null, type);
-    }
-
-    /*
-     * Test return type: String.
-     */
-    @Test(dataProvider = "document")
-    public void test07(XPath xpath, Document doc) throws XPathExpressionException {
-        String result1 = xpath.evaluateExpression("string(/Customers/Customer[@id=3]/Phone/text())", doc, String.class);
-        assertTrue(result1.equals("3333333333"));
-    }
-
-    /*
-     * Test return type: NodeSet.
-     */
-    @Test(dataProvider = "document")
-    public void test08(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathNodes nodes = xpath.evaluateExpression("/Customers/Customer", doc, XPathNodes.class);
-        assertTrue(nodes.size() == 3);
-        for (Node n : nodes) {
-            assertEquals(n.getLocalName(), "Customer");
-        }
-    }
-
-    /*
-     * Test return type: Node.
-     */
-    @Test(dataProvider = "document")
-    public void test09(XPath xpath, Document doc) throws XPathExpressionException {
-        Node n = xpath.evaluateExpression("/Customers/Customer[@id=3]", doc, Node.class);
-        assertEquals(n.getLocalName(), "Customer");
-    }
-
-    /*
-     * Test return type: Unsupported type.
-     */
-    @Test(dataProvider = "document", expectedExceptions = IllegalArgumentException.class)
-    public void test10(XPath xpath, Document doc) throws XPathExpressionException {
-        File n = xpath.evaluateExpression("/Customers/Customer[@id=3]", doc, File.class);
-    }
-
-    /*
-     * Test return type: Any::Boolean.
-     */
-    @Test(dataProvider = "document")
-    public void test11(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathEvaluationResult<?> result = xpath.evaluateExpression("boolean(/Customers/Customer[@id=3])", doc);
-        verifyResult(result, true);
-    }
-
-    /*
-     * Test return type: Any::Number.
-     */
-    @Test(dataProvider = "document")
-    public void test12(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathEvaluationResult<?> result = xpath.evaluateExpression("count(/Customers/Customer)", doc);
-        verifyResult(result, 3.0);
-    }
-
-    /*
-     * Test return type: Any::String.
-     */
-    @Test(dataProvider = "document")
-    public void test13(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathEvaluationResult<?> result = xpath.evaluateExpression(
-                "string(/Customers/Customer[@id=3]/Phone/text())", doc, XPathEvaluationResult.class);
-        verifyResult(result, "3333333333");
-    }
-
-    /*
-     * Test return type: Any::Nodeset.
-     */
-    @Test(dataProvider = "document")
-    public void test14(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathEvaluationResult<?> result = xpath.evaluateExpression("/Customers/Customer", doc);
-        verifyResult(result, "Customer");
-    }
-
-    /*
-     * Test return type: Any::Node.
-     */
-    @Test(dataProvider = "document")
-    public void test15(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathEvaluationResult<?> result = xpath.evaluateExpression("/Customers/Customer[@id=3]", doc);
-        verifyResult(result, "Customer");
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/XPathExpAnyTypeTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,176 +0,0 @@
-/*
- * Copyright (c) 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 javax.xml.xpath;
-
-import java.io.File;
-import javax.xml.xpath.*;
-import static org.testng.Assert.assertEquals;
-import static org.testng.Assert.assertTrue;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-
-/*
- * @bug 8054196
- * @summary Test for the project XPath: support any type. This test covers the new
- * evaluateExpression methods of XPathExpression.
- */
-public class XPathExpAnyTypeTest extends XPathTestBase {
-
-    /*
-     * Check that NPE is thrown when the class type is null.
-     */
-    @Test(dataProvider = "xpath", expectedExceptions = NullPointerException.class)
-    public void test02(XPath xpath) throws XPathExpressionException {
-        XPathExpression exp = xpath.compile("1+1");
-        double result = exp.evaluateExpression((Object)null, null);
-    }
-
-    /*
-     * Parameter item can be null when the expression does not depends on the
-     * context.
-     */
-    @Test(dataProvider = "xpath")
-    public void test03(XPath xpath) throws XPathExpressionException {
-        XPathExpression exp = xpath.compile("1+1");
-        int result = exp.evaluateExpression((Object)null, Integer.class);
-        assertTrue(result == 2);
-    }
-
-    /*
-     * Test return type: boolean.
-     */
-    @Test(dataProvider = "document")
-    public void test04(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathExpression exp = xpath.compile("boolean(/Customers/Customer[@id=3])");
-        boolean result1 = exp.evaluateExpression(doc, Boolean.class);
-        assertTrue(result1);
-    }
-
-    /*
-     * Test return type: numeric.
-     */
-    @Test(dataProvider = "document")
-    public void test05(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathExpression exp = xpath.compile("count(/Customers/Customer)");
-        double result1 = exp.evaluateExpression(doc, Double.class);
-        assertTrue(result1 == 3.0);
-
-        int result2 = exp.evaluateExpression(doc, Integer.class);
-        assertTrue(result2 == 3);
-    }
-
-    /*
-     * Test return type: String.
-     */
-    @Test(dataProvider = "document")
-    public void test06(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathExpression exp = xpath.compile("string(/Customers/Customer[@id=3]/Phone/text())");
-        String result1 = exp.evaluateExpression(doc, String.class);
-        assertTrue(result1.equals("3333333333"));
-    }
-
-    /*
-     * Test return type: NodeSet.
-     */
-    @Test(dataProvider = "document")
-    public void test07(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathExpression exp = xpath.compile("/Customers/Customer");
-        XPathNodes nodes = exp.evaluateExpression(doc, XPathNodes.class);
-        assertTrue(nodes.size() == 3);
-        for (Node n : nodes) {
-            assertEquals(n.getLocalName(), "Customer");
-        }
-    }
-
-    /*
-     * Test return type: Node.
-     */
-    @Test(dataProvider = "document")
-    public void test08(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathExpression exp = xpath.compile("/Customers/Customer[@id=3]");
-        Node n = exp.evaluateExpression(doc, Node.class);
-        assertEquals(n.getLocalName(), "Customer");
-    }
-
-    /*
-     * Test return type: Unsupported type.
-     */
-    @Test(dataProvider = "document", expectedExceptions = IllegalArgumentException.class)
-    public void test09(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathExpression exp = xpath.compile("/Customers/Customer[@id=3]");
-        File n = exp.evaluateExpression(doc, File.class);
-    }
-
-    /*
-     * Test return type: Any::Boolean.
-     */
-    @Test(dataProvider = "document")
-    public void test10(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathExpression exp = xpath.compile("boolean(/Customers/Customer[@id=3])");
-        XPathEvaluationResult<?> result = exp.evaluateExpression(doc);
-        verifyResult(result, true);
-    }
-
-    /*
-     * Test return type: Any::Number.
-     */
-    @Test(dataProvider = "document")
-    public void test11(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathExpression exp = xpath.compile("count(/Customers/Customer)");
-        XPathEvaluationResult<?> result = exp.evaluateExpression(doc);
-        verifyResult(result, 3.0);
-    }
-
-    /*
-     * Test return type: Any::String.
-     */
-    @Test(dataProvider = "document")
-    public void test12(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathExpression exp = xpath.compile("string(/Customers/Customer[@id=3]/Phone/text())");
-        XPathEvaluationResult<?> result = exp.evaluateExpression(doc, XPathEvaluationResult.class);
-        verifyResult(result, "3333333333");
-    }
-
-    /*
-     * Test return type: Any::Nodeset.
-     */
-    @Test(dataProvider = "document")
-    public void test13(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathExpression exp = xpath.compile("/Customers/Customer");
-        XPathEvaluationResult<?> result = exp.evaluateExpression(doc);
-        verifyResult(result, "Customer");
-    }
-
-    /*
-     * Test return type: Any::Node.
-     */
-    @Test(dataProvider = "document")
-    public void test14(XPath xpath, Document doc) throws XPathExpressionException {
-        XPathExpression exp = xpath.compile("/Customers/Customer[@id=3]");
-        XPathEvaluationResult<?> result = exp.evaluateExpression(doc);
-        verifyResult(result, "Customer");
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/XPathTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2014, 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 javax.xml.xpath;
-
-import javax.xml.namespace.NamespaceContext;
-
-import org.testng.annotations.Test;
-
-/*
- * @bug 6376058
- * @summary Test XPath.getNamespaceContext() is supported.
- */
-public class XPathTest {
-
-    @Test
-    public void testNamespaceContext() {
-
-        XPathFactory xPathFactory = XPathFactory.newInstance();
-        XPath xPath = xPathFactory.newXPath();
-
-        NamespaceContext namespaceContext = xPath.getNamespaceContext();
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/XPathTestBase.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,140 +0,0 @@
-/*
- * Copyright (c) 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 javax.xml.xpath;
-
-import java.io.ByteArrayInputStream;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.util.concurrent.atomic.AtomicInteger;
-import java.util.concurrent.atomic.AtomicLong;
-import javax.xml.parsers.DocumentBuilderFactory;
-import static org.testng.Assert.assertEquals;
-import static org.testng.Assert.assertFalse;
-import static org.testng.Assert.assertTrue;
-import org.testng.annotations.DataProvider;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-
-/*
- * Base class for XPath test
- */
-class XPathTestBase {
-
-    static final String rawXML
-            = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>"
-            + "<Customers>"
-            + "    <Customer id=\"1\">"
-            + "        <Name>name1</Name>"
-            + "        <Phone>1111111111</Phone>"
-            + "        <Email>123@xyz.com</Email>"
-            + "        <Address>"
-            + "            <Street>1111 111st ave</Street>"
-            + "            <City>The City</City>"
-            + "            <State>The State</State>"
-            + "        </Address>"
-            + "    </Customer>"
-            + "    <Customer id=\"2\">"
-            + "        <Name>name1</Name>"
-            + "        <Phone>2222222222</Phone>"
-            + "        <Email>123@xyz.com</Email>"
-            + "        <Address>"
-            + "            <Street>2222 222nd ave</Street>"
-            + "            <City>The City</City>"
-            + "            <State>The State</State>"
-            + "        </Address>"
-            + "    </Customer>"
-            + "    <Customer id=\"3\">"
-            + "        <Name>name1</Name>"
-            + "        <Phone>3333333333</Phone>"
-            + "        <Email>123@xyz.com</Email>"
-            + "        <Address>"
-            + "            <Street>3333 333rd ave</Street>"
-            + "            <City>The City</City>"
-            + "            <State>The State</State>"
-            + "        </Address>"
-            + "    </Customer>"
-            + "</Customers>";
-
-    void verifyResult(XPathEvaluationResult<?> result, Object expected) {
-        switch (result.type()) {
-            case BOOLEAN:
-                assertTrue(((Boolean) result.value()).equals(expected));
-                return;
-            case NUMBER:
-                assertTrue(((Double) result.value()).equals(expected));
-                return;
-            case STRING:
-                assertTrue(((String) result.value()).equals(expected));
-                return;
-            case NODESET:
-                XPathNodes nodes = (XPathNodes) result.value();
-                for (Node n : nodes) {
-                    assertEquals(n.getLocalName(), expected);
-                }
-                return;
-            case NODE:
-                assertTrue(((Node) result.value()).getLocalName().equals(expected));
-                return;
-        }
-        assertFalse(true, "Unsupported type");
-    }
-
-    /*
-     * DataProvider: XPath object
-     */
-    @DataProvider(name = "xpath")
-    Object[][] getXPath() {
-        return new Object[][]{{XPathFactory.newInstance().newXPath()}};
-    }
-
-    /*
-     * DataProvider: Numeric types not supported
-     */
-    @DataProvider(name = "invalidNumericTypes")
-    Object[][] getInvalidNumericTypes() {
-        XPath xpath = XPathFactory.newInstance().newXPath();
-        return new Object[][]{{xpath, AtomicInteger.class},
-            {xpath, AtomicInteger.class},
-            {xpath, AtomicLong.class},
-            {xpath, BigDecimal.class},
-            {xpath, BigInteger.class},
-            {xpath, Byte.class},
-            {xpath, Float.class},
-            {xpath, Short.class}
-        };
-    }
-
-    /*
-     * DataProvider: XPath and Document objects
-     */
-    @DataProvider(name = "document")
-    Object[][] getDocument() throws Exception {
-        DocumentBuilderFactory dBF = DocumentBuilderFactory.newInstance();
-        dBF.setValidating(false);
-        dBF.setNamespaceAware(true);
-        Document doc = dBF.newDocumentBuilder().parse(
-                new ByteArrayInputStream(rawXML.getBytes("UTF-8")));
-
-        return new Object[][]{{XPathFactory.newInstance().newXPath(), doc}};
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4915524.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.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);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4915748.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.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]);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966082.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.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);
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966082.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE root [
-	<!ELEMENT root (#PCDATA)>
-]>
-<root>xxx</root>
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966138.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.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");
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966142.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.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));
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966142.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version='1.0'?>
-<test5 xmlns="testNS">the test</test5>
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966142.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-<?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>
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966143.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.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));
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966143.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version='1.0'?>
-<test6 xmlns="testNS" attr="x"><code/></test6>
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug4966143.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?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>
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6339023.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,135 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.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());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6355326.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,114 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom;
-
-import java.io.ByteArrayInputStream;
-import java.io.IOException;
-import java.io.StringBufferInputStream;
-import java.io.UnsupportedEncodingException;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.BeforeMethod;
-import org.testng.annotations.Test;
-import org.w3c.dom.DOMImplementation;
-import org.w3c.dom.Document;
-import org.w3c.dom.ls.DOMImplementationLS;
-import org.w3c.dom.ls.LSInput;
-import org.w3c.dom.ls.LSParser;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6355326
- * @summary Test DOM implementation encoding.
- */
-public class Bug6355326 {
-
-    DOMImplementationLS implLS = null;
-    String encodingXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><encodingXML/>";
-
-    @BeforeMethod
-    protected void setUp() {
-        Document doc = null;
-        DocumentBuilder parser = null;
-        String xml1 = "<?xml version=\"1.0\"?><ROOT></ROOT>";
-        try {
-            parser = DocumentBuilderFactory.newInstance().newDocumentBuilder();
-        } catch (ParserConfigurationException e) {
-            e.printStackTrace();
-        }
-        StringBufferInputStream is = new StringBufferInputStream(xml1);
-        try {
-            doc = parser.parse(is);
-        } catch (SAXException e) {
-            e.printStackTrace();
-        } catch (IOException e) {
-            e.printStackTrace();
-        }
-        DOMImplementation impl = doc.getImplementation();
-        implLS = (DOMImplementationLS) impl.getFeature("LS", "3.0");
-    }
-
-    @Test
-    public void testExternalEncoding() {
-
-        try {
-            LSInput src = null;
-            LSParser dp = null;
-
-            src = createLSInputEncoding();
-            dp = createLSParser();
-
-            src.setEncoding("UTF-16");
-            Document doc = dp.parse(src);
-            Assert.assertTrue("encodingXML".equals(doc.getDocumentElement().getNodeName()), "XML document is not parsed correctly");
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    private LSInput createLSInputEncoding() {
-        LSInput src = implLS.createLSInput();
-        Assert.assertFalse(src == null, "Could not create LSInput from DOMImplementationLS");
-
-        try {
-            src.setByteStream(new ByteArrayInputStream(encodingXML.getBytes("UTF-16")));
-        } catch (UnsupportedEncodingException e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-        return src;
-    }
-
-    private LSParser createLSParser() {
-        LSParser p = implLS.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, "http://www.w3.org/2001/XMLSchema");
-        Assert.assertFalse(p == null, "Could not create Synchronous LSParser from DOMImplementationLS");
-        return p;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6367542.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.DOMImplementation;
-import org.w3c.dom.bootstrap.DOMImplementationRegistry;
-
-/*
- * @bug 6367542
- * @summary Test DOMImplementationRegistry.getDOMImplementation("XML") returns a DOMImplementation instance.
- */
-public class Bug6367542 {
-
-    @Test
-    public void testDOMImplementationRegistry() {
-        try {
-            DOMImplementationRegistry registry = DOMImplementationRegistry.newInstance();
-            DOMImplementation domImpl = registry.getDOMImplementation("XML");
-            Assert.assertTrue(domImpl != null, "Non null implementation is expected for getDOMImplementation('XML')");
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6520131.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.DOMConfiguration;
-import org.w3c.dom.DOMError;
-import org.w3c.dom.DOMErrorHandler;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Text;
-
-/*
- * @bug 6520131
- * @summary Test DOMErrorHandler reports an error for invalid character.
- */
-public class Bug6520131 {
-
-    @Test
-    public void test() {
-        String string = new String("\u0001");
-
-        try {
-            // create document
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            DocumentBuilder documentBuilder = dbf.newDocumentBuilder();
-            Document document = documentBuilder.newDocument();
-
-            DOMConfiguration domConfig = document.getDomConfig();
-            domConfig.setParameter("well-formed", Boolean.TRUE);
-            domConfig.setParameter("error-handler", new DOMErrorHandler() {
-                public boolean handleError(DOMError e) {
-                    throw new RuntimeException(e.getMessage());
-                }
-            });
-
-            // add text element
-            Element textElement = document.createElementNS("", "Text");
-            Text text = document.createTextNode(string);
-            textElement.appendChild(text);
-            document.appendChild(textElement);
-
-            // normalize document
-            document.normalizeDocument();
-
-            Assert.fail("Invalid character exception not thrown");
-        } catch (ParserConfigurationException e) {
-            Assert.fail("Unable to configure parser");
-        } catch (RuntimeException e) {
-            // This exception is expected!
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6521260.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom;
-
-import java.io.ByteArrayInputStream;
-import java.io.IOException;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6521260
- * @summary Test setAttributeNS doesn't result in an unsorted internal list of attributes.
- */
-public class Bug6521260 {
-
-    @Test
-    public void test() throws ParserConfigurationException, SAXException, IOException {
-        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
-        factory.setNamespaceAware(true);
-        DocumentBuilder builder = factory.newDocumentBuilder();
-
-        String docStr = "<system systemId='http://www.w3.org/2001/rddl/rddl-xhtml.dtd'" + " uri='/cache/data/xrc36316.bin'"
-                + " xmlns:xr='urn:oasis:names:tc:entity:xmlns:xml:catalog'" + " xr:systemId='http://www.w3.org/2001/rddl/rddl-xhtml.dtd'"
-                + " xmlns:NS1='http://xmlresolver.org/ns/catalog'" + " NS1:time='1170267571097'/>";
-
-        ByteArrayInputStream bais = new ByteArrayInputStream(docStr.getBytes());
-
-        Document doc = builder.parse(bais);
-
-        Element root = doc.getDocumentElement();
-
-        String systemId = root.getAttribute("systemId");
-
-        // Change the prefix on the "time" attribute so that the list would
-        // become unsorted
-        // before my fix to
-        // xml-xerces/java/src/com/sun/org/apache/xerces/internal/dom/ElementImpl.java
-        root.setAttributeNS("http://xmlresolver.org/ns/catalog", "xc:time", "100");
-
-        String systemId2 = root.getAttribute("systemId");
-
-        Assert.assertEquals(systemId, systemId2);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6582545.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<SimulationIcp Object="Configuration"><!--Configuration ICP-->
-<FWS1
-	KEY_TO_CONFIG="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_TO_CONFIG"
-	KEY_NORM_C_L="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_NORM_CL"
-	KEY_VALID_LEFT="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_VALID1"
-	KEY_VALID_RIGHT="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_VALID2"
-	KEY_ABN_PROC="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_ABN_PROC"
-	KEY_EMER_CANC="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_EMER_CANC"
-	KEY_ARROW_UP="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_ARROW_UP"
-	KEY_ARROW_DOWN="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_ARROW_DOWN"
-	KEY_CLR_LEFT="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_CLR1"
-	KEY_UNDO_CLR="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_UNDO_CLR"
-	KEY_STS="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_STS"
-	KEY_MORE="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_MORE"
-	KEY_RCL="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_RCL"
-	KEY_CLR_RIGHT="root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_CLR2"
-/>
-</SimulationIcp>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6582545Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,112 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom;
-
-import java.io.File;
-import java.io.IOException;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6582545
- * @summary Test the value is correct when iterating attributes.
- */
-public class Bug6582545Test {
-    private DocumentBuilder xmlParser = null;
-    private Document document = null;
-    private String FWS1 = "FWS1";
-    private String KEY_ARROW_UP = "KEY_ARROW_UP";
-    private String VALUE_ARROW_UP = "root%LRM%Tmp_CPIOM-C1%VLIN_For_ECP%ECP_IN_Port_1%IOM-A7_Msg_cd30%FDS_1_ECP_to_FWS-1%A31_ECP_ARROW_UP";
-
-    @Test
-    public void testAttributeCaching() {
-
-        File xmlFile = new File(getClass().getResource("Bug6582545.xml").getFile());
-
-        try {
-            DocumentBuilderFactory aDocumentBuilderFactory = DocumentBuilderFactory.newInstance();
-            xmlParser = aDocumentBuilderFactory.newDocumentBuilder();
-
-            // works fine with JDK 1.4.2, 1.5
-            // does not work with JDK 1.6
-            document = xmlParser.parse(xmlFile);
-            printNode(FWS1);
-        } catch (SAXException saxException) {
-            saxException.printStackTrace();
-        } catch (ParserConfigurationException parserConfigurationException) {
-            parserConfigurationException.printStackTrace();
-        } catch (IOException ioException) {
-            ioException.printStackTrace();
-        } catch (IllegalArgumentException illegalArgumentException) {
-            illegalArgumentException.printStackTrace();
-        }
-    }
-
-    private void printNode(String aNode) {
-        boolean error = true;
-        NodeList nodeList;
-        NamedNodeMap attributes;
-
-        nodeList = document.getElementsByTagName(aNode);
-        attributes = nodeList.item(0).getAttributes();
-
-        String name;
-        String value;
-        // Print all nodes
-        for (int k = 0; k < attributes.getLength(); k++) {
-            name = attributes.item(k).getNodeName();
-            value = attributes.item(k).getNodeValue();
-            System.out.println(name + "=" + value);
-        }
-
-        // Test specifique a node
-        String javaSpecificationVersion = System.getProperty("java.specification.version");
-        for (int k = 0; k < attributes.getLength(); k++) {
-            name = attributes.item(k).getNodeName();
-            value = attributes.item(k).getNodeValue();
-            if (KEY_ARROW_UP.equals(name)) {
-                if (VALUE_ARROW_UP.equals(value)) {
-                    // Parser OK
-                    System.out.println("Parser in Java " + javaSpecificationVersion + " returned correct value.");
-                    error = false;
-                } else {
-                    // Parser NOK
-                    System.out.println("Parser in Java " + javaSpecificationVersion + " returned wrong value");
-                }
-                System.out.println("for node         = " + KEY_ARROW_UP);
-                System.out.println("expecting value  =" + VALUE_ARROW_UP);
-                System.out.println("value from parser=" + value);
-            }
-        }
-
-        Assert.assertTrue(!error);
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6879614.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,722 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "&#160;">]>
-
-<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
-  <xsl:output method="html" version="4" encoding="UTF-8"/>
-
-  <!--
-*******************************************************************************
-   * Output HTML fields to keep the current context
-   * @param searchresult The current search result tree
-   * @param expandedgroups A tree representing the groups that have been expanded
-*******************************************************************************
-   -->
-   <xsl:template name="contextKeeper">
-     <xsl:param name="pagedSearch"/>
-
-     <input type="hidden" name="stopsearch" value=""/>
-     <input type="hidden" name="expandgroup" value=""/>
-     <input type="hidden" name="expandselectedgroup" value=""/>
-     <input type="hidden" name="expandonmissing" value=""/>
-     <input type="hidden" name="nextview" value="{/xslui/@nextview}" />
-     <input type="hidden" name="bookid">
-       <xsl:attribute name="value">
-         <xsl:if test="$pagedSearch and $pagedSearch/searchresult and $pagedSearch/searchresult/@bookid">
-           <xsl:value-of select="$pagedSearch/searchresult/@bookid"/>
-         </xsl:if>
-       </xsl:attribute>
-     </input>
-     <input type="hidden" name="actionbookid">
-       <xsl:attribute name="value">
-         <xsl:if test="$pagedSearch and $pagedSearch/searchresult and $pagedSearch/searchresult/@bookid">
-           <xsl:value-of select="$pagedSearch/searchresult/@bookid"/>
-         </xsl:if>
-       </xsl:attribute>
-     </input>
-     <xsl:if test="$pagedSearch/searchresult">
-      <xsl:variable name="searchResult" select="$pagedSearch/searchresult"/>
-
-       <xsl:if test="/xslui/iab/pagedsearch/searchresult/@searchid">
-         <input type="hidden" name="searchid" value="{$searchResult/@searchid}"/>
-       </xsl:if>
-
-       <input type="hidden" name="filter" value="{$searchResult/@filter}"/>
-       <input type="hidden" name="firstentry" value="{$searchResult/@firstentry}"/>
-       <input type="hidden" name="sortby" value="{$searchResult/@sortby}"/>
-
-       <xsl:if test="$pagedSearch/expandedgroups">
-         <xsl:variable name="expandedGroups" select="$pagedSearch/expandedgroups"/>
-         <xsl:if test="$expandedGroups/expandedgroup">
-           <xsl:for-each select="$expandedGroups/expandedgroup">
-             <input type="hidden" name="expandedgroup" value="{@entryID}"/>
-           </xsl:for-each>
-         </xsl:if>
-       </xsl:if>
-     </xsl:if>
-   </xsl:template>
-
-   <!-- template to replace a string with another -->
-   <xsl:template name="replace-string">
-    <xsl:param name="text"/>
-    <xsl:param name="replace"/>
-    <xsl:param name="with"/>
-    <xsl:choose>
-      <xsl:when test="contains($text,$replace)">
-        <xsl:value-of select="substring-before($text,$replace)"/>
-        <xsl:value-of select="$with"/>
-        <xsl:call-template name="replace-string">
-          <xsl:with-param name="text"
-select="substring-after($text,$replace)"/>
-          <xsl:with-param name="replace" select="$replace"/>
-          <xsl:with-param name="with" select="$with"/>
-        </xsl:call-template>
-      </xsl:when>
-      <xsl:otherwise>
-        <xsl:value-of select="$text"/>
-      </xsl:otherwise>
-    </xsl:choose>
- </xsl:template>
-
- <!-- escapes quotes -->
-  <xsl:template name="escape">
-     <xsl:param name="text"/>
-     <xsl:call-template name="replace-string">
-       <xsl:with-param name="text" select="$text"/>
-       <xsl:with-param name="replace" select="'&quot;'"/>
-       <xsl:with-param name="with" select="'\&quot;'"/>
-     </xsl:call-template>
-  </xsl:template>
-
-  <!--
-*******************************************************************************
-  * This template displays the banner indicating the user the actual context.
-  * @param text The text to display in the banner
-*******************************************************************************
-  -->
-  <xsl:template name="contextBanner">
-    <xsl:param name="text" select="''" />
-
-    <table width="100&#37;" border="0" cellspacing="0" cellpadding="0" class="first-strip" summary="This table displays the context banner" >
-      <tr>
-        <td>
-          <table border="0" cellspacing="0" cellpadding="0">
-            <tr>
-              <td>
-                <img alt="" src="{$spacer.gif}" width="17" height="25"/>
-              </td>
-              <td>
-                <xsl:attribute name="nowrap"/>
-                <span class="areatitle-large">
-                  <xsl:value-of select="$text" />
-                </span>
-              </td>
-            </tr>
-          </table>
-        </td>
-        <td align="right">&nbsp;</td>
-      </tr>
-    </table>
-  </xsl:template>
-
-  <xsl:template name="uwcbutton">
-    <xsl:param name="class" />
-    <xsl:param name="title"/>
-    <xsl:param name="tabindex" select="1"/>
-    <xsl:param name="type" select="button"/>
-    <xsl:param name="id" />
-    <xsl:param name="name" />
-    <xsl:param name="value" />
-    <xsl:param name="onclick" />
-    <input>
-     <xsl:attribute name="name">
-      <xsl:value-of select="$name" />
-     </xsl:attribute>
-     <xsl:attribute name="class">
-      <xsl:value-of select="$class" />
-     </xsl:attribute>
-     <xsl:attribute name="title">
-      <xsl:value-of select="$title" />
-     </xsl:attribute>
-     <xsl:attribute name="type">
-      <xsl:value-of select="$type" />
-     </xsl:attribute>
-     <xsl:attribute name="id">
-      <xsl:value-of select="$id" />
-     </xsl:attribute>
-     <xsl:attribute name="tabindex">
-      <xsl:value-of select="$tabindex" />
-     </xsl:attribute>
-     <xsl:attribute name="onclick">
-      <xsl:value-of select="$onclick" />
-     </xsl:attribute>
-     <xsl:attribute name="value">
-      <xsl:value-of select="$value" />
-     </xsl:attribute>
-     <xsl:attribute name="onblur">
-       <xsl:text>if (this.disabled==0) this.className='</xsl:text><xsl:value-of select="$class" /><xsl:text>'</xsl:text>
-     </xsl:attribute>
-     <xsl:attribute name="onmouseOver">
-       <xsl:text>if (this.disabled==0) this.className='</xsl:text><xsl:value-of select="$class" /><xsl:text>Hov'</xsl:text>
-     </xsl:attribute>
-    <xsl:attribute name="onFocus">
-       <xsl:text>if (this.disabled==0) this.className='</xsl:text><xsl:value-of select="$class" /><xsl:text>Hov'</xsl:text>
-     </xsl:attribute>
-     <xsl:attribute name="onmouseOut">
-       <xsl:text>if (this.disabled==0) this.className='</xsl:text><xsl:value-of select="$class" /><xsl:text>'</xsl:text>
-     </xsl:attribute>
-    </input>
- </xsl:template>
-
-
-
-  <!--
-*******************************************************************************
-  * This template prints HTML code for a button
-  * @param label The label of the button
-  * @param href The content of the href represented by the button
-  * @param class [Optional] The css class to use to print the label of the button, default is "button"
-  * @param color [Optional] The color of the button, default is defined by css-select.css depending on the colorset
-  * @param bgColorIndex [Optional] The background color index ('b', 'w' or 'h') on wich the button is going to be output, default is 'b'
-*******************************************************************************
-  -->
-  <xsl:template name="button">
-    <xsl:param name="label" />
-    <xsl:param name="href" select="'javascript:urlNotYetAvailable()'"/>
-    <xsl:param name="target" select="'_self'"/>
-    <xsl:param name="disabled" select="false()" />
-    <xsl:param name="color" select="$buttonColor"/>
-    <xsl:param name="bgColorIndex" select="'b'" />
-
-    <xsl:variable name="path" select="concat('../absimx/', $colorTheme, '/')"/>
-    <xsl:variable name="lowerLeft.gif">
-      <xsl:value-of select="$path" />
-      <xsl:value-of select="'LL_corner_'" />
-      <xsl:if test="not($disabled)">
-        <xsl:value-of select="concat($color, '_')" />
-      </xsl:if>
-      <xsl:value-of select="concat($bgColorIndex,'.gif')" />
-    </xsl:variable>
-    <xsl:variable name="lowerRight.gif">
-      <xsl:value-of select="$path" />
-      <xsl:value-of select="'LR_corner_'" />
-      <xsl:if test="not($disabled)">
-        <xsl:value-of select="concat($color, '_')" />
-      </xsl:if>
-      <xsl:value-of select="concat($bgColorIndex,'.gif')" />
-    </xsl:variable>
-    <xsl:variable name="upperLeft.gif">
-      <xsl:value-of select="$path" />
-      <xsl:value-of select="'UL_corner_'" />
-      <xsl:if test="not($disabled)">
-        <xsl:value-of select="concat($color, '_')" />
-      </xsl:if>
-      <xsl:value-of select="concat($bgColorIndex,'.gif')" />
-    </xsl:variable>
-    <xsl:variable name="upperRight.gif">
-      <xsl:value-of select="$path" />
-      <xsl:value-of select="'UR_corner_'" />
-      <xsl:if test="not($disabled)">
-        <xsl:value-of select="concat($color, '_')" />
-      </xsl:if>
-      <xsl:value-of select="concat($bgColorIndex,'.gif')" />
-    </xsl:variable>
-
-    <table cellspacing="0" cellpadding="0" border="0">
-      <xsl:attribute name="style">
-        <xsl:value-of select="'background-color: #'" />
-        <xsl:choose>
-          <xsl:when test="$disabled">
-            <xsl:value-of select="'999999'" />
-          </xsl:when>
-          <xsl:otherwise>
-            <xsl:value-of select="$color" />
-          </xsl:otherwise>
-        </xsl:choose>
-      </xsl:attribute>
-
-      <tbody>
-        <tr>
-          <!-- Start of button1 TOP -->
-          <td valign="top">
-            <xsl:choose>
-              <xsl:when test="not($disabled)">
-                <a href="{$href}" target="{$target}">
-                  <img height="8" alt=" " src="{$upperLeft.gif}" width="8" border="0"/>
-                </a>
-              </xsl:when>
-              <xsl:otherwise>
-                <img height="8" alt=" " src="{$upperLeft.gif}" width="8" border="0"/>
-              </xsl:otherwise>
-            </xsl:choose>
-          </td>
-
-          <td valign="center" align="middle" rowspan="2">
-            <xsl:attribute name="nowrap" />
-            <xsl:choose>
-              <xsl:when test="$disabled">
-                <span class="button-disabled">
-                  <xsl:value-of select="$label" />
-                </span>
-              </xsl:when>
-              <xsl:otherwise>
-                <a target="{$target}" href="{$href}" class="button">
-                  <xsl:value-of select="$label" />
-                </a>
-              </xsl:otherwise>
-            </xsl:choose>
-           </td>
-
-          <td valign="top">
-            <xsl:choose>
-              <xsl:when test="not($disabled)">
-                <a target="{$target}" href="{$href}">
-                  <img height="8" alt=" " src="{$upperRight.gif}" width="8" border="0"/>
-                </a>
-              </xsl:when>
-              <xsl:otherwise>
-                <img height="8" alt=" " src="{$upperRight.gif}" width="8" border="0"/>
-              </xsl:otherwise>
-            </xsl:choose>
-          </td>
-          <!-- End of button1 TOP -->
-        </tr>
-        <tr>
-          <!-- Start of button1 BOTTOM -->
-          <td valign="bottom">
-            <xsl:choose>
-              <xsl:when test="not($disabled)">
-                <a target="{$target}" href="{$href}">
-                  <img height="8" alt=" " src="{$lowerLeft.gif}" width="8" border="0"/>
-                </a>
-              </xsl:when>
-              <xsl:otherwise>
-                <img height="8" alt=" " src="{$lowerLeft.gif}" width="8" border="0"/>
-              </xsl:otherwise>
-            </xsl:choose>
-          </td>
-          <td valign="bottom">
-            <xsl:choose>
-              <xsl:when test="not($disabled)">
-                <a target="{$target}" href="{$href}">
-                  <img height="8" alt=" " src="{$lowerRight.gif}" width="8" border="0"/>
-                </a>
-              </xsl:when>
-              <xsl:otherwise>
-                <img height="8" alt=" " src="{$lowerRight.gif}" width="8" border="0"/>
-              </xsl:otherwise>
-            </xsl:choose>
-          </td>
-          <!-- End of button1 bottom -->
-        </tr>
-      </tbody>
-    </table>
-  </xsl:template>
-
-  <!--
-*******************************************************************************
-  * This template prints the action buttons Save, Cancel and Help
-  * For each button is called the javascript function of the same name :
-  *   save(), cancel(), help()
-  * The core of those functions must be declared in the main template
-*******************************************************************************
-  -->
-  <xsl:template name="save-cancel-help-bar">
-    <xsl:param name="actionframe"/>
-    <table border="0" cellspacing="0" cellpadding="0" width="100&#37;" summary="This table displays the save, canceland help buttons">
-      <tbody>
-      <tr>
-      <td align="right">
-        <input class="Btn1" type="submit" name="Button5" id="button" onMouseOver="if (this.disabled==0) this.className='Btn1Hov'" onFocus="if (this.disabled==0) this.className='Btn1Hov'" onMouseOut="if (this.disabled==0) this.className='Btn1'" onBlur="if (this.disabled==0) this.className='Btn1'" tabindex="2">
-          <xsl:attribute name="value">
-             <xsl:text>_Save</xsl:text>
-          </xsl:attribute>
-          <xsl:attribute name="title">
-             <xsl:text>_Save</xsl:text>
-          </xsl:attribute>
-          <xsl:attribute name="onClick">
-            <xsl:text>javascript:</xsl:text>
-            <xsl:if test="string-length($actionframe) &gt; 0">
-              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
-            </xsl:if>
-            <xsl:text>save()</xsl:text>
-          </xsl:attribute>
-        </input>
-        &nbsp;
-        <input class="Btn2" type="submit" name="Button5" id="button" onMouseOver="if (this.disabled==0) this.className='Btn2Hov'" onFocus="if (this.disabled==0) this.className='Btn2Hov'" onMouseOut="if (this.disabled==0) this.className='Btn2'" onBlur="if (this.disabled==0) this.className='Btn2'" tabindex="3">
-          <xsl:attribute name="value">
-             <xsl:text>_Cancel</xsl:text>
-          </xsl:attribute>
-          <xsl:attribute name="title">
-             <xsl:text>_Cancel</xsl:text>
-          </xsl:attribute>
-          <xsl:attribute name="onClick">
-            <xsl:text>javascript:</xsl:text>
-            <xsl:if test="string-length($actionframe) &gt; 0">
-              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
-            </xsl:if>
-            <xsl:text>cancel()</xsl:text>
-          </xsl:attribute>
-        </input>
-        &nbsp;
-        <input class="Btn2" type="submit" name="Button52" id="button" onMouseOver="if (this.disabled==0) this.className='Btn2Hov'" onFocus="if (this.disabled==0) this.className='Btn2Hov'" onMouseOut="if (this.disabled==0) this.className='Btn2'" onBlur="if (this.disabled==0) this.className='Btn2'" tabindex="4">
-         <xsl:attribute name="value">
-             <xsl:text>_Help</xsl:text>
-          </xsl:attribute>
-          <xsl:attribute name="title">
-             <xsl:text>_Help</xsl:text>
-          </xsl:attribute>
-      <xsl:attribute name="onClick">
-                <xsl:text>javascript:</xsl:text>
-                <xsl:if test="string-length($actionframe) &gt; 0">
-<xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
-                </xsl:if>
-                <xsl:text>help()</xsl:text>
-              </xsl:attribute>
-            </input>
-      </td>
-     </tr>
-     <tr>
-       <td colspan="3"><img alt="" src="{$spacer.gif}" width="1" height="6"/></td>
-     </tr>
-     </tbody>
-    </table>
-  </xsl:template>
-
-
-<xsl:template name="edit-delete-cancel-help-bar">
-    <xsl:param name="helpurl" select="'javascript:urlNotYetAvailable()'" />
-    <xsl:param name="actionframe"/>
-    <xsl:param name="group"/>
-    <td>
-       <input class="Btn2" id="delete" onblur="if (this.disabled==0) this.className='Btn2'" onmouseover="if (this.disabled==0) this.className='Btn2Hov'" onfocus="if (this.disabled==0) this.className='Btn2Hov'" tabIndex="5" onmouseout="if (this.disabled==0) this.className='Btn2'" type="button" name="delete">
-        <xsl:attribute name="value">
-             <xsl:text>_Delete</xsl:text>
-          </xsl:attribute>
-          <xsl:attribute name="title">
-             <xsl:text>_Delete</xsl:text>
-          </xsl:attribute>
-       <xsl:attribute name="onClick">
-            <xsl:text>javascript:</xsl:text>
-               <xsl:if test="string-length($actionframe) &gt; 0">
-<xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
-               </xsl:if>
-<xsl:text>deleteSelectedGroup()</xsl:text>
-          </xsl:attribute>
-        </input>
-        &nbsp;
-       <input class="Btn2" id="edit" onBlur="if (this.disabled==0) this.className='Btn2'" onMouseOver="if (this.disabled==0) this.className='Btn2Hov'" onFocus="if (this.disabled==0) this.className='Btn2Hov'" tabindex="4" onMouseOut="if (this.disabled==0) this.className='Btn2'" type="button" name="edit">
-        <xsl:attribute name="value">
-             <xsl:text>_Edit</xsl:text>
-          </xsl:attribute>
-          <xsl:attribute name="title">
-             <xsl:text>_Edit</xsl:text>
-          </xsl:attribute>
-       <xsl:attribute name="onClick">
-            <xsl:text>javascript:</xsl:text>
-            <xsl:if test="string-length($actionframe) &gt; 0">
-              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
-            </xsl:if>
-            <xsl:text>editSelectedGroup()</xsl:text>
-        </xsl:attribute>
-       </input>
-       </td>
-      <td align="right">
-      <input class="Btn1" id="save" onblur="if (this.disabled==0) this.className='Btn1'" onmouseover="if (this.disabled==0) this.className='Btn1Hov'" onfocus="if (this.disabled==0) this.className='Btn1Hov'" tabIndex="1" onmouseout="if (this.disabled==0) this.className='Btn1'" type="button" name="close">
-         <xsl:attribute name="value">
-             <xsl:text>_Close</xsl:text>
-          </xsl:attribute>
-          <xsl:attribute name="title">
-             <xsl:text>_Close</xsl:text>
-          </xsl:attribute>
-         <xsl:attribute name="onClick">
-            <xsl:text>javascript:</xsl:text>
-            <xsl:if test="string-length($actionframe) &gt; 0">
-              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
-            </xsl:if>
-            <xsl:text>cancel()</xsl:text>
-         </xsl:attribute>
-       </input>&nbsp;
-       <input class="Btn2" id="help" onblur="if (this.disabled==0) this.className='Btn2'" onmouseover="if (this.disabled==0) this.className='Btn2Hov'" onfocus="if (this.disabled==0) this.className='Btn2Hov'"  tabIndex="3" onmouseout="if (this.disabled==0) this.className='Btn2'" type="button" name="help">
-          <xsl:attribute name="value">
-             <xsl:text>_Help</xsl:text>
-          </xsl:attribute>
-          <xsl:attribute name="title">
-             <xsl:text>_Help</xsl:text>
-          </xsl:attribute>
-        <xsl:attribute name="onClick">
-         <xsl:text>javascript:</xsl:text>
-            <xsl:if test="string-length($actionframe) &gt; 0">
-              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
-            </xsl:if>
-            <xsl:text>help()</xsl:text>
-         </xsl:attribute>
-         </input>
-          </td>
-</xsl:template>
-
-
-  <!--
-*******************************************************************************
-  * This template prints the action buttons Save, 'Save and Add Another', Cancel and Help
-  * For each button is called the javascript function of the same name :
-  *   save(), saveAndAddAnother(), cancel(), help()
-  * The core of those functions must be declared in the main template
-*******************************************************************************
-  -->
-  <xsl:template name="save-saveandaddanother-cancel-help-bar">
-    <xsl:param name="actionframe"/>
-    <table border="0" cellspacing="0" cellpadding="0" width="100&#37;" summary="This table displays the save, save-and-add-another,  cancel and help buttons">
-      <tbody>
-      <tr>
-      <td align="right">
-        <input class="Btn1" type="submit" name="Button5" id="button" onMouseOver="if (this.disabled==0) this.className='Btn1Hov'" onFocus="if (this.disabled==0) this.className='Btn1Hov'" onMouseOut="if (this.disabled==0) this.className='Btn1'" onBlur="if (this.disabled==0) this.className='Btn1'" tabindex="2">
-          <xsl:attribute name="value">
-             <xsl:text>_Save</xsl:text>
-          </xsl:attribute>
-          <xsl:attribute name="title">
-             <xsl:text>_Save</xsl:text>
-          </xsl:attribute>
-          <xsl:attribute name="onClick">
-            <xsl:text>javascript:</xsl:text>
-            <xsl:if test="string-length($actionframe) &gt; 0">
-              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
-            </xsl:if>
-            <xsl:text>save()</xsl:text>
-          </xsl:attribute>
-        </input>
-        &nbsp;
-        <input class="Btn1" type="submit" name="Button5" id="button" onMouseOver="if (this.disabled==0) this.className='Btn1Hov'" onFocus="if (this.disabled==0) this.className='Btn1Hov'" onMouseOut="if (this.disabled==0) this.className='Btn1'" onBlur="if (this.disabled==0) this.className='Btn1'" tabindex="3">
-            <xsl:attribute name="value">
-             <xsl:text>_Save and Add Another</xsl:text>
-          </xsl:attribute>
-          <xsl:attribute name="title">
-             <xsl:text>_Save and Add Another</xsl:text>
-          </xsl:attribute>
-          <xsl:attribute name="onClick">
-            <xsl:text>javascript:</xsl:text>
-            <xsl:if test="string-length($actionframe) &gt; 0">
-              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
-            </xsl:if>
-            <xsl:text>save(true)</xsl:text>
-          </xsl:attribute>
-        </input>
-        &nbsp;
-        <input class="Btn2" type="submit" name="Button51" id="button" onMouseOver="if (this.disabled==0) this.className='Btn2Hov'" onFocus="if (this.disabled==0) this.className='Btn2Hov'" onMouseOut="if (this.disabled==0) this.className='Btn2'" onBlur="if (this.disabled==0) this.className='Btn2'" tabindex="4">
-            <xsl:attribute name="value">
-             <xsl:text>_Cancel</xsl:text>
-          </xsl:attribute>
-          <xsl:attribute name="title">
-             <xsl:text>_Cancel</xsl:text>
-          </xsl:attribute>
-          <xsl:attribute name="onClick">
-            <xsl:text>javascript:</xsl:text>
-            <xsl:if test="string-length($actionframe) &gt; 0">
-              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
-            </xsl:if>
-            <xsl:text>cancel()</xsl:text>
-          </xsl:attribute>
-        </input>
-        &nbsp;
-        <input class="Btn2" type="submit" name="Button52" id="button" onMouseOver="if (this.disabled==0) this.className='Btn2Hov'" onFocus="if (this.disabled==0) this.className='Btn2Hov'" onMouseOut="if (this.disabled==0) this.className='Btn2'" onBlur="if (this.disabled==0) this.className='Btn2'" onClick="" tabindex="5">
-         <xsl:attribute name="value">
-             <xsl:text>_Help</xsl:text>
-          </xsl:attribute>
-          <xsl:attribute name="title">
-             <xsl:text>_Help</xsl:text>
-          </xsl:attribute>
-      <xsl:attribute name="onClick">
-                <xsl:text>javascript:</xsl:text>
-                <xsl:if test="string-length($actionframe) &gt; 0">
-<xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
-                </xsl:if>
-                <xsl:text>help()</xsl:text>
-              </xsl:attribute>
-            </input>
-      </td>
-     </tr>
-     <tr>
-       <td colspan="3"><img alt="" src="{$spacer.gif}" width="1" height="6"/></td>
-     </tr>
-     </tbody>
-    </table>
-  </xsl:template>
-
-  <!--
-*******************************************************************************
-  * This template prints the action buttons Ok, Cancel and Help
-  * For each button is called the javascript function of the same name :
-  *   ok(), cancel(), help()
-  * The core of those functions must be declared in the main template
-*******************************************************************************
-  -->
-  <xsl:template name="ok-cancel-help-bar">
-    <xsl:param name="buttontext" select="'OK'" />
-    <xsl:param name="buttoncontext" select="'_OK'" />
-    <xsl:param name="language" select="'en'"/>
-    <xsl:param name="actionframe"/>
-    <table border="0" cellspacing="0" cellpadding="0" width="100&#37;" summary="This table displays the ok, cancel and help buttons">
-      <tbody>
-      <tr>
-      <td align="right">
-        <input class="Btn1" type="submit" name="Button" id="button" onmouseover="if (this.disabled==0) this.className='Btn1Hov'" onfocus="if (this.disabled==0) this.className='Btn1Hov'" onmouseout="if (this.disabled==0) this.className='Btn1'" onblur="if (this.disabled==0) this.className='Btn1'" tabindex="1">
-          <xsl:attribute name="value"><xsl:value-of select="$buttontext"/></xsl:attribute>
-          <xsl:attribute name="title"><xsl:value-of select="$buttontext"/></xsl:attribute>
-          <xsl:attribute name="onClick">
-            <xsl:text>javascript:</xsl:text>
-            <xsl:if test="string-length($actionframe) &gt; 0">
-              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/>
-              <xsl:text>.</xsl:text>
-            </xsl:if>
-            <xsl:text>ok()</xsl:text>
-          </xsl:attribute>
-        </input>
-        &nbsp;
-        <input class="Btn2" type="submit" name="Button5" id="button" onMouseOver="if (this.disabled==0) this.className='Btn2Hov'" onFocus="if (this.disabled==0) this.className='Btn2Hov'" onMouseOut="if (this.disabled==0) this.className='Btn2'" onBlur="if (this.disabled==0) this.className='Btn2'" tabindex="3">
-         <xsl:attribute name="value">
-          <xsl:text>_Cancel</xsl:text>
-         </xsl:attribute>
-         <xsl:attribute name="title">
-           <xsl:text>_Cancel</xsl:text>
-         </xsl:attribute>
-          <xsl:attribute name="onClick">
-            <xsl:text>javascript:</xsl:text>
-            <xsl:if test="string-length($actionframe) &gt; 0">
-              <xsl:text>top.</xsl:text><xsl:value-of select="$actionframe"/><xsl:text>.</xsl:text>
-            </xsl:if>
-            <xsl:text>cancel()</xsl:text>
-          </xsl:attribute>
-        </input>
-        &nbsp;
-        <input class="Btn2" type="submit" name="Button52" id="button" onMouseOver="if (this.disabled==0) this.className='Btn2Hov'" onFocus="if (this.disabled==0) this.className='Btn2Hov'" onMouseOut="if (this.disabled==0) this.className='Btn2'" onBlur="if (this.disabled==0) this.className='Btn2'" onClick="" tabindex="4">
-         <xsl:attribute name="value">
-          <xsl:text>_Help</xsl:text>
-         </xsl:attribute>
-         <xsl:attribute name="title">
-           <xsl:text>_Help</xsl:text>
-         </xsl:attribute>
-         <xsl:attribute name="onClick">
-           <xsl:text>javascript:openhelp('</xsl:text>
-           <xsl:choose>
-           <xsl:when test="$buttoncontext='AddInvitees'">
-             <xsl:value-of select="/xslui/@contexturi"/>
-             <xsl:text>/help/</xsl:text><xsl:value-of select="$language"/><xsl:text>/p5.html#aefay');</xsl:text>
-           </xsl:when>
-           <xsl:when test="$buttoncontext='_addaddresses' or $buttoncontext='addaddresses'" >
-            <xsl:value-of select="/xslui/@contexturi"/>
-            <xsl:text>/help/</xsl:text><xsl:value-of select="$language"/><xsl:text>/p5.html#aefaz');</xsl:text>
-           </xsl:when>
-           <xsl:when test="$buttoncontext='_addrecipients'">
-             <xsl:value-of select="/xslui/@contexturi"/>
-             <xsl:text>/help/</xsl:text><xsl:value-of select="$language"/><xsl:text>/p6.html#aefba');</xsl:text>
-           </xsl:when>
-          <xsl:when test="$buttoncontext='Subscribe'">
-             <xsl:value-of select="/xslui/@contexturi"/>
-             <xsl:text>/help/</xsl:text><xsl:value-of select="$language"/><xsl:text>/p9.html#gbmoc');</xsl:text>
-           </xsl:when>
-          <xsl:when test="$buttoncontext='_addaddress'">
-             <xsl:value-of select="/xslui/@contexturi"/>
-             <xsl:text>/help/</xsl:text><xsl:value-of select="$language"/><xsl:text>/p36.html#gbfgy');</xsl:text>
-           </xsl:when>
-         <xsl:otherwise>
-           <xsl:value-of select="/xslui/@contexturi"/>
-           <xsl:text>/help/</xsl:text><xsl:value-of select="$language"/><xsl:text>/p6.html#aefbb');</xsl:text>
-         </xsl:otherwise>
-       </xsl:choose>
-      </xsl:attribute>
-      </input>
-      </td>
-     </tr>
-     <tr>
-       <td colspan="3"><img alt="" src="{$spacer.gif}" width="1" height="6"/></td>
-     </tr>
-     </tbody>
-    </table>
-  </xsl:template>
-
-  <!--
-*******************************************************************************
-  * This template prints the action buttons Return and Help
-  * For each button is called the javascript function of the same name :
-  *   goBack(), help()
-  * The core of those functions must be declared in the main template
-*******************************************************************************
-  -->
-  <xsl:template name="close-help-bar">
-    <xsl:param name="helpurl" select="'javascript:urlNotYetAvailable()'" />
-    <table cellspacing="0" cellpadding="0" border="0" summary="This table displays the goback and help buttons">
-      <tbody>
-        <tr>
-          <td><img alt="" height="9" src="{$spacer.gif}" width="1" /></td>
-        </tr>
-        <tr>
-          <td>
-            <xsl:call-template name="button">
-              <xsl:with-param name="label">
-                <xsl:text>_Close</xsl:text>
-              </xsl:with-param>
-              <xsl:with-param name="href">
-                <xsl:text>javascript:goBack()</xsl:text>
-              </xsl:with-param>
-              <xsl:with-param name="bgColorIndex" select="'w'"/>
-            </xsl:call-template>
-          </td>
-          <td>
-            <img height="1" alt=" " src="{$spacer.gif}" width="5" border="0"/>
-          </td>
-          <td>
-            <xsl:call-template name="button">
-              <xsl:with-param name="label">
-                <xsl:text>_Help</xsl:text>
-              </xsl:with-param>
-              <xsl:with-param name="href">
-<xsl:text>javascript:openhelp('</xsl:text>
-                <xsl:value-of select="$helpurl"/>
-                <xsl:text>')</xsl:text>
-              </xsl:with-param>
-              <xsl:with-param name="bgColorIndex" select="'w'"/>
-            </xsl:call-template>
-          </td>
-        </tr>
-        <tr>
-          <td><img alt="" height="9" src="{$spacer.gif}" width="1" /></td>
-        </tr>
-      </tbody>
-    </table>
-  </xsl:template>
-
-  <!--
-*****************************************************************************
-  * This template prints a legend concerning required info.
-*****************************************************************************
-  -->
-  <xsl:template name="requiredInfo">
-    <table cellspacing="0" cellpadding="0" border="0" bgcolor="#FFFFFF" width="100&#37;" summary="This table contains the legend concerning required info">
-      <tr>
-        <td colspan="3">
-          <img alt="" src="{$spacer.gif}" width="1" height="3" />
-        </td>
-      </tr>
-      <tr>
-      <td>&nbsp;</td>
-      <td>
-        <table cellspacing="0" cellpadding="0" border="0">
-          <tr>
-            <td valign="top">
-              <font color="#0000FF" class="bold">*</font>
-            </td>
-            <td>&nbsp;</td>
-            <td>
-              <span class="reduced-text">
-                <xsl:text>_Indicates required information</xsl:text>
-              </span>
-            </td>
-          </tr>
-        </table>
-      </td>
-      <td>&nbsp;</td>
-      </tr>
-    </table>
-  </xsl:template>
-
-</xsl:stylesheet>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/Bug6879614Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom;
-
-import java.io.File;
-import java.io.IOException;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6879614
- * @summary Test DocumentBuilder can parse the certain xml.
- */
-public class Bug6879614Test {
-
-    @Test
-    public void testAttributeCaching() {
-        File xmlFile = new File(getClass().getResource("Bug6879614.xml").getFile());
-        DocumentBuilderFactory _documentBuilderFactory = DocumentBuilderFactory.newInstance();
-        _documentBuilderFactory.setValidating(false);
-        _documentBuilderFactory.setIgnoringComments(true);
-        _documentBuilderFactory.setIgnoringElementContentWhitespace(true);
-        _documentBuilderFactory.setCoalescing(true);
-        _documentBuilderFactory.setExpandEntityReferences(true);
-        _documentBuilderFactory.setNamespaceAware(true);
-        DocumentBuilder _documentBuilder = null;
-        try {
-            _documentBuilder = _documentBuilderFactory.newDocumentBuilder();
-        } catch (ParserConfigurationException pce) {
-            pce.printStackTrace();
-        }
-
-        Document xmlDoc = null;
-        try {
-            xmlDoc = _documentBuilder.parse(xmlFile);
-            if (xmlDoc == null) {
-                System.out.println("Hello!!!, there is a problem here");
-            } else {
-                System.out.println("Good, the parsing went through fine.");
-            }
-        } catch (SAXException se) {
-            se.printStackTrace();
-        } catch (IOException ioe) {
-            ioe.printStackTrace();
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/CR6333993Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom;
-
-import java.io.ByteArrayInputStream;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.xpath.XPath;
-import javax.xml.xpath.XPathConstants;
-import javax.xml.xpath.XPathExpression;
-import javax.xml.xpath.XPathFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 6333993
- * @summary Test NodeList.item(valid index) returns value after NodeList.item(NodeList.getLength()).
- */
-public class CR6333993Test {
-
-    @Test
-    public void testNodeList() {
-        int n = 5;
-        while (0 != (n--))
-            ;
-        System.out.println("n=" + n);
-        try {
-            String testXML = "<root>" + "  <node/>" + "  <node/>" + "  <node/>" + "  <node/>" + "</root>\n";
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            // dbf.setNamespaceAware(true);
-            DocumentBuilder builder = dbf.newDocumentBuilder();
-            ByteArrayInputStream bis = new ByteArrayInputStream(testXML.getBytes());
-            Document testDoc = builder.parse(bis);
-            XPathFactory xpathFactory = XPathFactory.newInstance();
-            XPath xpath = xpathFactory.newXPath();
-            XPathExpression expr = xpath.compile("/root/node");
-            NodeList testNodes = (NodeList) expr.evaluate(testDoc, XPathConstants.NODESET);
-            // Node list appears to work correctly
-            System.out.println("testNodes.getLength() = " + testNodes.getLength());
-            System.out.println("testNodes[0] = " + testNodes.item(0));
-            System.out.println("testNodes[0] = " + testNodes.item(0));
-            System.out.println("testNodes.getLength() = " + testNodes.getLength());
-            // Access past the end of the NodeList correctly returns null
-            System.out.println("testNodes[testNodes.getLength()] = " + testNodes.item(testNodes.getLength()));
-            // BUG! First access of valid node after accessing past the end
-            // incorrectly returns null
-            if (testNodes.item(0) == null) {
-                System.out.println("testNodes[0] = null");
-                Assert.fail("First access of valid node after accessing past the end incorrectly returns null");
-            }
-            // Subsequent access of valid node correctly returns the node
-            System.out.println("testNodes[0] = " + testNodes.item(0));
-        } catch (Exception ex) {
-            ex.printStackTrace();
-        }
-
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/CR6517707Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,121 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom;
-
-import java.io.ByteArrayInputStream;
-import java.io.IOException;
-import java.io.InputStreamReader;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6517707
- * @summary Test Node.setNodeValue(value) shall throw DOMException.NO_MODIFICATION_ALLOWED_ERR if the node is read-only.
- */
-public class CR6517707Test {
-
-    @Test
-    public void testCanonicalForm001() {
-        String data = "<?xml version=\"1.0\" ?>" + "<!DOCTYPE root [" + "<!ELEMENT root ANY>" + "<!ENTITY ent \"foo\">"
-                + "<!NOTATION not PUBLIC \"http://xxx.xxx.xx/x.txt\">" + "]>" + "<root>" + "</root>";
-
-        Document document = null;
-        try {
-            DocumentBuilderFactory docBF = DocumentBuilderFactory.newInstance();
-            docBF.setNamespaceAware(true);
-            DocBuilderWrapper docBuilder = new DocBuilderWrapper(docBF.newDocumentBuilder());
-            document = docBuilder.parse(data);
-        } catch (ParserConfigurationException e) {
-            // return Status.failed(e.toString());
-        } catch (IOException e) {
-            // return Status.failed(e.toString());
-        } catch (SAXException e) {
-            // return Status.failed(e.toString());
-        }
-
-        Entity anEntity = (Entity) document.getDoctype().getEntities().item(0);
-        boolean success = false;
-        try {
-            anEntity.setNodeValue("someValue"); // on jdk 6, not even throwing
-                                                // exception
-
-            System.out.println("Should throw DOMException: NO_MODIFICATION_ALLOWED_ERR ");
-        } catch (DOMException e) {
-            if (e.code == DOMException.NO_MODIFICATION_ALLOWED_ERR) {
-                System.out.println(e.getMessage());
-                success = true;
-            } else {
-                System.out.println("should throw DOMException.NO_MODIFICATION_ALLOWED_ERR (7). The error returned is " + e.code);
-            }
-        }
-        if (!success) {
-            Assert.fail("should throw DOMException.NO_MODIFICATION_ALLOWED_ERR (7).");
-        }
-    }
-
-    class DocBuilderWrapper {
-
-        private DocumentBuilder docBuilder;
-        private final String ENCODING = "UTF-8";
-
-        public DocBuilderWrapper() throws ParserConfigurationException {
-            this.docBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
-        }
-
-        public DocBuilderWrapper(DocumentBuilder docBuilder) {
-            setDocumentBuilder(docBuilder);
-        }
-
-        public DocumentBuilder getDocumentBuilder() {
-            return docBuilder;
-        }
-
-        public void setDocumentBuilder(DocumentBuilder docBuilder) {
-            if (docBuilder == null) {
-                new IllegalArgumentException("DocumentBuilder cannot be null");
-            }
-
-            this.docBuilder = docBuilder;
-        }
-
-        public Document parse(String xmlData) throws IOException, SAXException {
-            if (xmlData == null) {
-                new IllegalArgumentException("String cannot be null");
-            }
-
-            ByteArrayInputStream bis = new ByteArrayInputStream(xmlData.getBytes(ENCODING));
-            InputStreamReader isr = new InputStreamReader(bis, ENCODING);
-            InputSource source = new InputSource(isr);
-            return docBuilder.parse(source);
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/CR6517717Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom;
-
-import java.io.IOException;
-import java.io.StringReader;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 6517717
- * @summary Test Node.setPrefix(prefix) shall throw DOMException.NO_MODIFICATION_ALLOWED_ERR if the node is read-only.
- */
-public class CR6517717Test {
-
-    @Test
-    public void testCanonicalForm001() {
-        String data = "<?xml version=\"1.0\" ?>" + "<!DOCTYPE test:root [" + "<!ELEMENT test:root ANY>" + "<!ENTITY ent \"foo\">"
-                + "<!ATTLIST test:root test:a CDATA #FIXED \"qqq\">" + "]>" + "<test:root xmlns:test=\"http://xxxx.xx/\">" + "</test:root>";
-
-        Document document = null;
-        try {
-            DocumentBuilder docBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
-            document = docBuilder.parse(new InputSource(new StringReader(data)));
-        } catch (ParserConfigurationException e) {
-            System.out.println(e.toString());
-        } catch (IOException e) {
-            System.out.println(e.toString());
-        } catch (SAXException e) {
-            System.out.println(e.toString());
-        }
-
-        Entity anEntity = (Entity) document.getDoctype().getEntities().item(0);
-        boolean success = false;
-        try {
-            anEntity.setPrefix("test1");
-            System.out.println("Should throw DOMException: NO_MODIFICATION_ALLOWED_ERR ");
-        } catch (DOMException e) {
-            if (e.code == DOMException.NO_MODIFICATION_ALLOWED_ERR) {
-                System.out.println("OK");
-                success = true;
-            } else {
-                System.out.println("should throw DOMException.NO_MODIFICATION_ALLOWED_ERR (7). The error returned is (" + e.code + ")" + e.getMessage());
-            }
-        }
-        if (!success) {
-            Assert.fail("should throw DOMException.NO_MODIFICATION_ALLOWED_ERR (7).");
-        }
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/CR6909336Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom;
-
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamWriter;
-import javax.xml.transform.dom.DOMResult;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.bootstrap.DOMImplementationRegistry;
-
-/*
- * @bug 6909336
- * @summary Test DOM writer can write more that 20 nested elements.
- */
-public class CR6909336Test {
-
-    @Test
-    public void test() {
-        try {
-            Document doc = DOMImplementationRegistry.newInstance().getDOMImplementation("XML 3.0").createDocument("", "root", null);
-            XMLStreamWriter xsw = XMLOutputFactory.newInstance().createXMLStreamWriter(new DOMResult(doc.getDocumentElement()));
-            for (int i = 0; i < 30; ++i) {
-                xsw.writeStartElement("nested");
-            }
-        } catch (RuntimeException ex) {
-            System.out.println("RuntimeException ex" + ex.getMessage());
-            if (ex.getMessage().equals("20")) {
-                Assert.fail("XMLDOMWriter cannot write more that 20 nested elements");
-            }
-        } catch (XMLStreamException ex) {
-            System.out.println("XMLStreamException ex" + ex.getMessage());
-        } catch (ClassNotFoundException ex) {
-            System.out.println("ClassNotFoundException ex" + ex.getMessage());
-        } catch (InstantiationException ex) {
-            System.out.println("InstantiationException ex" + ex.getMessage());
-        } catch (IllegalAccessException ex) {
-            System.out.println("IllegalAccessException ex" + ex.getMessage());
-
-        }
-
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/DOMConfigurationTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1609 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom;
-
-import java.io.IOException;
-import java.io.StringReader;
-import java.net.URISyntaxException;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.FactoryConfigurationError;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.ls.DOMImplementationLS;
-import org.w3c.dom.ls.LSInput;
-import org.w3c.dom.ls.LSParser;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-
-/*
- * @summary Test DOMConfiguration for supported properties.
- */
-public class DOMConfigurationTest {
-
-    static class TestHandler implements DOMErrorHandler {
-        private String warning;
-        private String error;
-        private String fatalError;
-
-        public String getError() {
-            return error;
-        }
-
-        public String getFatalError() {
-            return fatalError;
-        }
-
-        public String getWarning() {
-            return warning;
-        }
-
-        public boolean handleError(DOMError error) {
-            if (error.getSeverity() == DOMError.SEVERITY_ERROR) {
-                this.error = "" + error.getMessage();
-                return false;
-            }
-            if (error.getSeverity() == DOMError.SEVERITY_FATAL_ERROR) {
-                this.fatalError = "" + error.getMessage();
-                return false;
-            }
-            this.warning = "" + error.getMessage();
-            return true; // warning
-        }
-    }
-
-    static class TestFailureHandler implements DOMErrorHandler {
-        public boolean handleError(DOMError error) {
-            if (error.getSeverity() == DOMError.SEVERITY_ERROR) {
-                Assert.fail("Error: " + error.getMessage());
-            }
-            if (error.getSeverity() == DOMError.SEVERITY_FATAL_ERROR) {
-                Assert.fail("Fatal error: " + error.getMessage());
-            }
-            return true; // warning
-        }
-    }
-
-    void setHandler(Document doc) {
-        doc.getDomConfig().setParameter("error-handler", new TestFailureHandler());
-    }
-
-    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";
-
-    static final String XMLNS = "http://www.w3.org/2000/xmlns/";
-
-    static Document loadDocument(String schemaURL, String instanceText) {
-        Document document = null;
-        try {
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            dbf.setNamespaceAware(true);
-            dbf.setValidating(true);
-            if (schemaURL != null) {
-                dbf.setAttribute(SCHEMA_LANGUAGE, XMLConstants.W3C_XML_SCHEMA_NS_URI);
-                dbf.setAttribute(SCHEMA_SOURCE, schemaURL);
-            }
-            DocumentBuilder parser = dbf.newDocumentBuilder();
-
-            InputSource inSource = new InputSource(new StringReader(instanceText));
-            inSource.setSystemId("doc.xml");
-            document = parser.parse(inSource);
-        } catch (ParserConfigurationException e) {
-            Assert.fail(e.toString());
-        } catch (IOException e) {
-            Assert.fail(e.toString());
-        } catch (SAXException e) {
-            Assert.fail(e.toString());
-        }
-
-        return document;
-    }
-
-    static final String test_xml = "<?xml version=\"1.0\"?>\n" + "<test:root xmlns:test=\"test\" \n"
-            + "           xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" \n" + ">&#x9;&#xA;&#xD; 1 </test:root>\n";
-
-    static final String test1_xml = "<?xml version=\"1.0\"?>\n" + "<!DOCTYPE root [\n" + "    <!ELEMENT root ANY>\n" + "    <!ENTITY x \"X\">\n" + "]>\n"
-            + "<root/>\n";
-
-    static final String test2_xml = "<?xml version=\"1.0\"?>\n" + "<!DOCTYPE root [\n" + "    <!ELEMENT root ANY>\n"
-            + "    <!ATTLIST root attr CDATA #REQUIRED>\n" + "    <!ENTITY x \"<\">\n" + "]>\n" + "<root attr=\"x\"/>\n";
-
-    static final String test3_xml = "<?xml version=\"1.0\"?>\n" + "<!DOCTYPE root [\n" + "    <!ELEMENT root (elem*)>\n" + "    <!ELEMENT elem EMPTY>\n"
-            + "]>\n" + "<root/>\n";
-
-    static String test1_xsd_url;
-    static {
-        try {
-            test1_xsd_url = DOMConfigurationTest.class.getResource("DOMConfigurationTest.xsd").toURI().toString();
-        } catch (URISyntaxException uriSyntaxException) {
-            Assert.fail(uriSyntaxException.toString());
-        }
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the doc contains two subsequent processing
-     * instrictions, <br>
-     * <b>name</b>: canonical-form <br>
-     * <b>value</b>: true. <br>
-     * <b>Expected results</b>: the subsequent processing instrictions are
-     * separated with a single line break
-     */
-    @Test
-    public void testCanonicalForm001() {
-        DOMImplementation domImpl = null;
-        try {
-            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
-
-        DOMConfiguration config = doc.getDomConfig();
-
-        Element root = doc.getDocumentElement();
-        ProcessingInstruction pi1 = doc.createProcessingInstruction("target1", "data1");
-        ProcessingInstruction pi2 = doc.createProcessingInstruction("target2", "data2");
-
-        root.appendChild(pi1);
-        root.appendChild(pi2);
-
-        if (!config.canSetParameter("canonical-form", Boolean.TRUE)) {
-            System.out.println("OK, setting 'canonical-form' to true is not supported");
-            return;
-        }
-
-        config.setParameter("canonical-form", Boolean.TRUE);
-        setHandler(doc);
-        doc.normalizeDocument();
-
-        Node child1 = root.getFirstChild();
-        Node child2 = child1.getNextSibling();
-
-        if (child2.getNodeType() == Node.PROCESSING_INSTRUCTION_NODE) {
-            Assert.fail("the second child is expected to be a" + "single line break, returned: " + child2);
-        }
-
-        // return Status.passed("OK");
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the parameters "namespaces",
-     * "namespace-declarations", "well-formed", "element-content-whitespace" are
-     * set to false if possible; the parameters "entities",
-     * "normalize-characters", "cdata-sections" are set to true if possible, <br>
-     * <b>name</b>: canonical-form <br>
-     * <b>value</b>: true. <br>
-     * <b>Expected results</b>: the parameters "namespaces",
-     * "namespace-declarations", "well-formed", "element-content-whitespace" are
-     * set to true; the parameters "entities", "normalize-characters",
-     * "cdata-sections" are set to false
-     */
-    @Test
-    public void testCanonicalForm002() {
-        Object[][] params = { { "namespaces", Boolean.TRUE }, { "namespace-declarations", Boolean.TRUE }, { "well-formed", Boolean.TRUE },
-                { "element-content-whitespace", Boolean.TRUE },
-
-                { "entities", Boolean.FALSE }, { "normalize-characters", Boolean.FALSE }, { "cdata-sections", Boolean.FALSE }, };
-
-        DOMImplementation domImpl = null;
-        try {
-            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
-
-        DOMConfiguration config = doc.getDomConfig();
-
-        if (!config.canSetParameter("canonical-form", Boolean.TRUE)) {
-            System.out.println("OK, setting 'canonical-form' to true is not supported");
-            return;
-        }
-
-        for (int i = params.length; --i >= 0;) {
-            Boolean reset = params[i][1].equals(Boolean.TRUE) ? Boolean.FALSE : Boolean.TRUE;
-            if (config.canSetParameter(params[i][0].toString(), reset)) {
-                config.setParameter(params[i][0].toString(), reset);
-            }
-        }
-
-        config.setParameter("canonical-form", Boolean.TRUE);
-
-        StringBuffer result = new StringBuffer();
-
-        for (int i = params.length; --i >= 0;) {
-            Object param = config.getParameter(params[i][0].toString());
-            if (!params[i][1].equals(param)) {
-                result.append("; the parameter \'" + params[i][0] + "\' is set to " + param + ", expected: " + params[i][1]);
-            }
-        }
-
-        if (result.length() > 0) {
-            Assert.fail(result.toString().substring(2));
-        }
-
-        return; // Status.passed("OK");
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the doc's root element contains superfluous
-     * namespace declarations, <br>
-     * <b>name</b>: canonical-form <br>
-     * <b>value</b>: true. <br>
-     * <b>Expected results</b>: the superfluous namespace declarations are
-     * removed
-     */
-    @Test
-    public void testCanonicalForm003() {
-        DOMImplementation domImpl = null;
-        try {
-            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
-
-        DOMConfiguration config = doc.getDomConfig();
-
-        Element root = doc.getDocumentElement();
-        String XMLNS = "http://www.w3.org/2000/xmlns/";
-        root.setAttributeNS(XMLNS, "xmlns:extra1", "ExtraNS1");
-        root.setAttributeNS(XMLNS, "xmlns:extra2", "ExtraNS2");
-
-        if (!config.canSetParameter("canonical-form", Boolean.TRUE)) {
-            System.out.println("OK, setting 'canonical-form' to true is not supported");
-            return;
-        }
-        config.setParameter("canonical-form", Boolean.TRUE);
-        setHandler(doc);
-        doc.normalizeDocument();
-
-        String xmlns2 = root.getAttributeNS(XMLNS, "extra1");
-        if (xmlns2 == null || xmlns2.length() != 0) {
-            Assert.fail("superfluous namespace declarations is not removed: xmlns:extra2 = " + xmlns2);
-        }
-
-        return; // Status.passed("OK");
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: setting the "canonical-form" to true is supported, <br>
-     * <b>name</b>: canonical-form <br>
-     * <b>value</b>: true. <br>
-     * <b>Expected results</b>: one of the following parameters is changed:
-     * "namespaces", "namespace-declarations", "well-formed",
-     * "element-content-whitespace", "entities", "normalize-characters",
-     * "cdata-sections" then "canonical-form" becomes false
-     */
-    @Test
-    public void testCanonicalForm004() {
-        Object[][] params = { { "namespaces", Boolean.TRUE }, { "namespace-declarations", Boolean.TRUE }, { "well-formed", Boolean.TRUE },
-                { "element-content-whitespace", Boolean.TRUE },
-
-                { "entities", Boolean.FALSE }, { "normalize-characters", Boolean.FALSE }, { "cdata-sections", Boolean.FALSE }, };
-
-        DOMImplementation domImpl = null;
-        try {
-            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
-
-        DOMConfiguration config = doc.getDomConfig();
-
-        if (!config.canSetParameter("canonical-form", Boolean.TRUE)) {
-            System.out.println("OK, setting 'canonical-form' to true is not supported");
-            return;
-        }
-
-        StringBuffer result = new StringBuffer();
-
-        for (int i = params.length; --i >= 0;) {
-            config.setParameter("canonical-form", Boolean.TRUE);
-            Boolean changedValue = (params[i][1].equals(Boolean.TRUE)) ? Boolean.FALSE : Boolean.TRUE;
-            if (config.canSetParameter(params[i][0].toString(), changedValue)) {
-                config.setParameter(params[i][0].toString(), changedValue);
-                Object param = config.getParameter("canonical-form");
-                if (!Boolean.FALSE.equals(param)) {
-                    result.append("; setting the parameter '" + params[i][0] + "' to " + changedValue + " does not change 'canonical-form' to false");
-                }
-            }
-        }
-
-        if (result.length() > 0) {
-            Assert.fail(result.toString().substring(2));
-        }
-
-        return; // Status.passed("OK");
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the root element has one CDATASection followed by
-     * one Text node, <br>
-     * <b>name</b>: cdata-sections <br>
-     * <b>value</b>: true. <br>
-     * <b>Expected results</b>: the CDATASection is left intact
-     */
-    @Test
-    public void testCdataSections001() {
-        DOMImplementation domImpl = null;
-        try {
-            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
-
-        String cdataText = "CDATA CDATA CDATA";
-        String textText = "text text text";
-
-        CDATASection cdata = doc.createCDATASection(cdataText);
-        Text text = doc.createTextNode(textText);
-
-        DOMConfiguration config = doc.getDomConfig();
-        config.setParameter("cdata-sections", Boolean.TRUE);
-
-        Element root = doc.getDocumentElement();
-        root.appendChild(cdata);
-        root.appendChild(text);
-
-        setHandler(doc);
-        doc.normalizeDocument();
-
-        Node returned = root.getFirstChild();
-
-        if (returned.getNodeType() != Node.CDATA_SECTION_NODE) {
-            Assert.fail("reurned: " + returned + ", expected: CDATASection");
-        }
-
-        return; // Status.passed("OK");
-
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the root element has one CDATASection followed by
-     * one Text node, <br>
-     * <b>name</b>: cdata-sections <br>
-     * <b>value</b>: false. <br>
-     * <b>Expected results</b>: the root element has one Text node with text of
-     * the CDATASection and the Text node
-     */
-    @Test
-    public void testCdataSections002() {
-        DOMImplementation domImpl = null;
-        try {
-            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
-
-        String cdataText = "CDATA CDATA CDATA";
-        String textText = "text text text";
-
-        CDATASection cdata = doc.createCDATASection(cdataText);
-        Text text = doc.createTextNode(textText);
-
-        DOMConfiguration config = doc.getDomConfig();
-        config.setParameter("cdata-sections", Boolean.FALSE);
-
-        Element root = doc.getDocumentElement();
-        root.appendChild(cdata);
-        root.appendChild(text);
-
-        setHandler(doc);
-        doc.normalizeDocument();
-
-        Node returned = root.getFirstChild();
-
-        if (returned.getNodeType() != Node.TEXT_NODE) {
-            Assert.fail("reurned: " + returned + ", expected: TEXT_NODE");
-        }
-
-        String returnedText = returned.getNodeValue();
-        if (!(cdataText + textText).equals(returnedText)) {
-            Assert.fail("reurned: " + returnedText + ", expected: \"" + cdataText + textText + "\"");
-        }
-
-        return; // Status.passed("OK");
-
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the root element has one Text node with not fully
-     * normalized characters, the 'check-character-normalization' parameter set
-     * to true, <br>
-     * <b>name</b>: error-handler <br>
-     * <b>value</b>: DOMErrorHandler. <br>
-     * <b>Expected results</b>: LSParser calls the specified error handler
-     */
-    @Test
-    public void testCheckCharNorm001() {
-        DOMImplementation domImpl = null;
-        try {
-            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        DOMImplementationLS lsImpl = (DOMImplementationLS) domImpl.getFeature("LS", "3.0");
-
-        if (lsImpl == null) {
-            System.out.println("OK, the DOM implementation does not support the LS 3.0");
-            return;
-        }
-
-        LSParser lsParser = lsImpl.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, null);
-
-        DOMConfiguration config = lsParser.getDomConfig();
-
-        if (!config.canSetParameter("check-character-normalization", Boolean.TRUE)) {
-            System.out.println("OK, setting 'check-character-normalization' to true is not supported");
-            return;
-        }
-
-        config.setParameter("check-character-normalization", Boolean.TRUE);
-
-        TestHandler testHandler = new TestHandler();
-        config.setParameter("error-handler", testHandler);
-
-        LSInput lsInput = lsImpl.createLSInput();
-        lsInput.setStringData("<root>\u0073\u0075\u0063\u0327\u006F\u006E</root>");
-        Document doc = lsParser.parse(lsInput);
-
-        if (null == testHandler.getError()) {
-            Assert.fail("no error is reported, expected 'check-character-normalization-failure'");
-
-        }
-
-        return; // Status.passed("OK");
-
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the root element contains a fully-normalized text, <br>
-     * <b>name</b>: check-character-normalization <br>
-     * <b>value</b>: false. <br>
-     * <b>Expected results</b>: LSParser reports no errors
-     */
-    @Test
-    public void testCheckCharNorm002() {
-        DOMImplementation domImpl = null;
-        try {
-            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        DOMImplementationLS lsImpl = (DOMImplementationLS) domImpl.getFeature("LS", "3.0");
-
-        if (lsImpl == null) {
-            System.out.println("OK, the DOM implementation does not support the LS 3.0");
-            return;
-        }
-
-        LSParser lsParser = lsImpl.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, null);
-
-        DOMConfiguration config = lsParser.getDomConfig();
-
-        if (!config.canSetParameter("check-character-normalization", Boolean.FALSE)) {
-            Assert.fail("setting 'check-character-normalization' to false is not supported");
-        }
-
-        config.setParameter("check-character-normalization", Boolean.FALSE);
-
-        TestHandler testHandler = new TestHandler();
-        config.setParameter("error-handler", testHandler);
-
-        LSInput lsInput = lsImpl.createLSInput();
-        lsInput.setStringData("<root>fully-normalized</root>");
-        Document doc = lsParser.parse(lsInput);
-
-        if (null != testHandler.getError()) {
-            Assert.fail("no error is expected, but reported: " + testHandler.getError());
-
-        }
-
-        return; // Status.passed("OK");
-
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the root element has two Comment nodes, <br>
-     * <b>name</b>: comments <br>
-     * <b>value</b>: true. <br>
-     * <b>Expected results</b>: the Comment nodes belong to the root element
-     */
-    @Test
-    public void testComments001() {
-        DOMImplementation domImpl = null;
-        try {
-            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
-
-        Comment comment1 = doc.createComment("comment1");
-        Comment comment2 = doc.createComment("comment2");
-
-        DOMConfiguration config = doc.getDomConfig();
-        config.setParameter("comments", Boolean.TRUE);
-
-        Element root = doc.getDocumentElement();
-        root.appendChild(comment1);
-        root.appendChild(comment2);
-
-        setHandler(doc);
-        doc.normalizeDocument();
-
-        if (comment1.getParentNode() != root) {
-            Assert.fail("comment1 is attached to " + comment1.getParentNode() + ", but expected to be a child of root");
-        }
-
-        if (comment2.getParentNode() != root) {
-            Assert.fail("comment1 is attached to " + comment2.getParentNode() + ", but expected to be a child of root");
-        }
-
-        return; // Status.passed("OK");
-
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the root element has two Comment nodes, <br>
-     * <b>name</b>: comments <br>
-     * <b>value</b>: false. <br>
-     * <b>Expected results</b>: the root element has no children
-     */
-    @Test
-    public void testComments002() {
-        DOMImplementation domImpl = null;
-        try {
-            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
-
-        Comment comment1 = doc.createComment("comment1");
-        Comment comment2 = doc.createComment("comment2");
-
-        DOMConfiguration config = doc.getDomConfig();
-        config.setParameter("comments", Boolean.FALSE);
-
-        Element root = doc.getDocumentElement();
-        root.appendChild(comment1);
-        root.appendChild(comment2);
-
-        doc.normalizeDocument();
-
-        if (root.getFirstChild() != null) {
-            Assert.fail("root has a child " + root.getFirstChild() + ", but expected to has none");
-        }
-
-        return; // Status.passed("OK");
-
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the root element is declared as int and its value
-     * has subsequent characters #x9 (tab), #xA (line feed) and #xD (carriage
-     * return) , #x20 (space), '1', #x20 (space), <br>
-     * <b>name</b>: datatype-normalization <br>
-     * <b>value</b>: true. <br>
-     * <b>Expected results</b>: after Document.normalizeDocument() is called the
-     * content of the root is '1'
-     */
-    @Test
-    public void testDatatypeNormalization001() {
-        Document doc = null;
-        try {
-            doc = loadDocument(test1_xsd_url, test_xml);
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-
-        DOMConfiguration config = doc.getDomConfig();
-
-        if (!config.canSetParameter("schema-location", test1_xsd_url) || !config.canSetParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI)) {
-            System.out.println("cannot set the parameters 'schema-location' and 'schema-type'" + " to '" + test1_xsd_url + "' and '"
-                    + XMLConstants.W3C_XML_SCHEMA_NS_URI + "' respectively");
-            return;
-        }
-        config.setParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        config.setParameter("schema-location", test1_xsd_url);
-
-        if (!config.canSetParameter("validate", Boolean.TRUE)) {
-            System.out.println("OK, setting 'validate' to true is not supported");
-            return;
-        }
-        config.setParameter("validate", Boolean.TRUE);
-
-        if (!config.canSetParameter("datatype-normalization", Boolean.TRUE)) {
-            System.out.println("OK, setting 'datatype-normalization' to true is not supported");
-            return;
-        }
-        config.setParameter("datatype-normalization", Boolean.TRUE);
-
-        Element root = doc.getDocumentElement();
-        while (root.getFirstChild() != null) {
-            root.removeChild(root.getFirstChild());
-        }
-        root.appendChild(doc.createTextNode("\t\r\n 1 "));
-
-        setHandler(doc);
-        doc.normalizeDocument();
-
-        Node child = root.getFirstChild();
-        if (child == null || child.getNodeType() != Node.TEXT_NODE || !"1".equals(child.getNodeValue())) {
-            Assert.fail("child: " + child + ", expected: text node '1'");
-        }
-
-        return; // Status.passed("OK");
-
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the root element is declared as int and its value
-     * has subsequent characters #x9 (tab), #xA (line feed) and #xD (carriage
-     * return) , #x20 (space), '1', #x20 (space), <br>
-     * <b>name</b>: datatype-normalization <br>
-     * <b>value</b>: false. <br>
-     * <b>Expected results</b>: after Document.normalizeDocument() is called the
-     * value is left unchanged
-     */
-    @Test
-    public void testDatatypeNormalization002() {
-        Document doc = null;
-        try {
-            doc = loadDocument(test1_xsd_url, test_xml);
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-
-        DOMConfiguration config = doc.getDomConfig();
-
-        if (!config.canSetParameter("schema-location", test1_xsd_url) || !config.canSetParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI)) {
-            System.out.println("cannot set the parameters 'schema-location' and 'schema-type'" + " to '" + test1_xsd_url + "' and '"
-                    + XMLConstants.W3C_XML_SCHEMA_NS_URI + "' respectively");
-            return;
-        }
-        config.setParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        config.setParameter("schema-location", test1_xsd_url);
-
-        if (config.canSetParameter("validate", Boolean.TRUE)) {
-            config.setParameter("validate", Boolean.TRUE);
-        }
-
-        if (!config.canSetParameter("datatype-normalization", Boolean.FALSE)) {
-            Assert.fail("datatype-normalization' to false is not supported");
-        }
-        config.setParameter("datatype-normalization", Boolean.FALSE);
-
-        Element root = doc.getDocumentElement();
-        while (root.getFirstChild() != null) {
-            root.removeChild(root.getFirstChild());
-        }
-        String value = "\t\r\n 1 ";
-        root.appendChild(doc.createTextNode(value));
-
-        setHandler(doc);
-        doc.normalizeDocument();
-
-        Node child = root.getFirstChild();
-        if (child == null || child.getNodeType() != Node.TEXT_NODE || !value.equals(child.getNodeValue())) {
-            Assert.fail("child: " + child + ", expected: '\\t\\r\\n 1 '");
-        }
-
-        return; // Status.passed("OK");
-
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the doc contains one entity and one entity
-     * reference, <br>
-     * <b>name</b>: entities <br>
-     * <b>value</b>: true. <br>
-     * <b>Expected results</b>: the entity and the entity reference are left
-     * unchanged
-     */
-    @Test
-    public void testEntities001() {
-        Document doc = null;
-        try {
-            doc = loadDocument(null, test1_xml);
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-
-        DOMConfiguration config = doc.getDomConfig();
-        if (!config.canSetParameter("entities", Boolean.TRUE)) {
-            Assert.fail("setting 'entities' to true is not supported");
-        }
-
-        Element root = doc.getDocumentElement();
-        root.appendChild(doc.createEntityReference("x"));
-
-        config.setParameter("entities", Boolean.TRUE);
-
-        setHandler(doc);
-        doc.normalizeDocument();
-        Node child = root.getFirstChild();
-        if (child == null) {
-            Assert.fail("root has no child");
-        }
-        if (child.getNodeType() != Node.ENTITY_REFERENCE_NODE) {
-            Assert.fail("root's child is " + child + ", expected entity reference &x;");
-        }
-
-        if (doc.getDoctype() == null) {
-            Assert.fail("no doctype found");
-        }
-
-        if (doc.getDoctype().getEntities() == null) {
-            Assert.fail("no entitiy found");
-        }
-
-        if (doc.getDoctype().getEntities().getNamedItem("x") == null) {
-            Assert.fail("no entitiy with name 'x' found");
-        }
-
-        return; // Status.passed("OK");
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the doc contains one entity and one entity
-     * reference, <br>
-     * <b>name</b>: entities <br>
-     * <b>value</b>: false. <br>
-     * <b>Expected results</b>: the entity and the entity reference are removed
-     */
-    @Test
-    public void testEntities002() {
-        Document doc = null;
-        try {
-            doc = loadDocument(null, test1_xml);
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-
-        DOMConfiguration config = doc.getDomConfig();
-        if (!config.canSetParameter("entities", Boolean.FALSE)) {
-            Assert.fail("setting 'entities' to false is not supported");
-        }
-
-        Element root = doc.getDocumentElement();
-        root.appendChild(doc.createEntityReference("x"));
-
-        // TODO: remove debug
-        NamedNodeMap entities = doc.getDoctype().getEntities();
-        Entity entityX = (Entity) entities.getNamedItem("x");
-        System.err.println();
-        System.err.println("Entity x: " + entityX.getTextContent());
-        System.err.println();
-
-        config.setParameter("entities", Boolean.FALSE);
-
-        setHandler(doc);
-        doc.normalizeDocument();
-        Node child = root.getFirstChild();
-
-        // TODO: restore test, exclude for now to allow other tests to run
-        /*
-         * if (child == null) { fail("root has no child"); } if
-         * (child.getNodeType() != Node.TEXT_NODE ||
-         * !"X".equals(child.getNodeValue())) { fail("root's child is " + child
-         * + ", expected text node with value 'X'"); }
-         *
-         * if (doc.getDoctype() == null) { fail("no doctype found"); }
-         *
-         * if (doc.getDoctype().getEntities() != null &&
-         * doc.getDoctype().getEntities().getNamedItem("x") != null) {
-         * fail("entity with name 'x' is found, expected to be removed"); }
-         */
-
-        return; // Status.passed("OK");
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the 'infoset' parameter is set to true, <br>
-     * <b>name</b>: infoset <br>
-     * <b>value</b>: false. <br>
-     * <b>Expected results</b>: the parameters "validate-if-schema", "entities",
-     * "datatype-normalization", "cdata-sections", "namespace-declarations",
-     * "well-formed", "element-content-whitespace", "comments", "namespaces" are
-     * left unchanged
-     */
-    @Test
-    public void testInfoset001() {
-        Object[][] params = { { "validate-if-schema", Boolean.FALSE }, { "entities", Boolean.FALSE }, { "datatype-normalization", Boolean.FALSE },
-                { "cdata-sections", Boolean.FALSE },
-
-                { "namespace-declarations", Boolean.TRUE }, { "well-formed", Boolean.TRUE }, { "element-content-whitespace", Boolean.TRUE },
-                { "comments", Boolean.TRUE }, { "namespaces", Boolean.TRUE }, };
-
-        DOMImplementation domImpl = null;
-        try {
-            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
-
-        DOMConfiguration config = doc.getDomConfig();
-
-        if (!config.canSetParameter("infoset", Boolean.TRUE)) {
-            Assert.fail("setting 'infoset' to true is not supported");
-        }
-
-        for (int i = params.length; --i >= 0;) {
-            Boolean reset = params[i][1].equals(Boolean.TRUE) ? Boolean.FALSE : Boolean.TRUE;
-            if (config.canSetParameter(params[i][0].toString(), reset)) {
-                config.setParameter(params[i][0].toString(), reset);
-            }
-        }
-
-        config.setParameter("infoset", Boolean.TRUE);
-        config.setParameter("infoset", Boolean.FALSE); // has no effect
-
-        StringBuffer result = new StringBuffer();
-
-        for (int i = params.length; --i >= 0;) {
-            Object param = config.getParameter(params[i][0].toString());
-            if (!params[i][1].equals(param)) {
-                result.append("; the parameter \'" + params[i][0] + "\' is set to " + param + ", expected: " + params[i][1]);
-            }
-        }
-
-        if (result.length() > 0) {
-            Assert.fail(result.toString().substring(2));
-        }
-
-        return; // Status.passed("OK");
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: A document with one root element created. The
-     * prefix 'ns' is bound to 'namespaceURI'. The 'namespaces' parameter is set
-     * to true, <br>
-     * <b>name</b>: namespace-declarations <br>
-     * <b>value</b>: false. <br>
-     * <b>Expected results</b>: Attribute xmlns:ns="namespaceURI" is not added
-     * to the root element
-     */
-    @Test
-    public void testNamespaces001() {
-        DOMImplementation domImpl = null;
-        try {
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            dbf.setNamespaceAware(true);
-            domImpl = dbf.newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
-        setHandler(doc);
-        Element root = doc.getDocumentElement();
-        DOMConfiguration config = doc.getDomConfig();
-
-        StringBuffer result = new StringBuffer();
-        if (config.canSetParameter("namespaces", Boolean.FALSE)) {
-            config.setParameter("namespaces", Boolean.FALSE);
-
-            // namespaces = false
-            // namespace-declarations = true (default)
-            doc.normalizeDocument();
-            String xmlnsNS = root.getAttributeNS(XMLNS, "ns");
-            if (xmlnsNS.length() > 0) {
-                result.append("; the 'namespaces' parameter is set to false but" + "Namespace normalization is performed, attribute" + " xmlns:ns=\"" + xmlnsNS
-                        + "\" is added");
-            }
-        }
-
-        doc = domImpl.createDocument("namespaceURI", "ns:root", null);
-        root = doc.getDocumentElement();
-        config = doc.getDomConfig();
-
-        if (!config.canSetParameter("namespaces", Boolean.TRUE)) {
-            result.append("; setting 'namespaces' to true is not supported");
-        } else {
-
-            config.setParameter("namespaces", Boolean.TRUE);
-
-            if (!config.canSetParameter("namespace-declarations", Boolean.FALSE)) {
-                result.append("; setting 'namespace-declarations' to false is not supported");
-            } else {
-                config.setParameter("namespace-declarations", Boolean.FALSE);
-
-                // namespaces = true
-                // namespace-declarations = false
-                doc.normalizeDocument();
-
-                String xmlnsNS = root.getAttributeNS(XMLNS, "ns");
-                if (xmlnsNS.length() > 0) {
-                    result.append("; namespaces = true, namespace-declarations = false, but" + " xmlns:ns=\"" + xmlnsNS + "\"");
-                }
-            }
-
-            doc = domImpl.createDocument("namespaceURI", "ns:root", null);
-            setHandler(doc);
-            root = doc.getDocumentElement();
-            config = doc.getDomConfig();
-
-            config.setParameter("namespaces", Boolean.TRUE);
-
-            if (!config.canSetParameter("namespace-declarations", Boolean.TRUE)) {
-                result.append("; setting 'namespace-declarations' to true is not supported");
-            } else {
-                config.setParameter("namespace-declarations", Boolean.TRUE);
-
-                // namespaces = true
-                // namespace-declarations = true
-                doc.normalizeDocument();
-
-                String xmlnsNS = root.getAttributeNS(XMLNS, "ns");
-                if (!"namespaceURI".equals(xmlnsNS)) {
-                    result.append("; namespaces = true, namespace-declarations = true, but" + " xmlns:ns=\"" + xmlnsNS + "\"");
-                }
-            }
-        }
-
-        if (result.length() > 0) {
-            Assert.fail(result.toString().substring(2));
-        }
-        return; // Status.passed("OK");
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: an attribute value is not fully normalized, <br>
-     * <b>name</b>: normalize-characters <br>
-     * <b>value</b>: false. <br>
-     * <b>Expected results</b>: Node.normalize() leaves the value unchanged
-     */
-    @Test
-    public void testNormalizeCharacters001() {
-        DOMImplementation domImpl = null;
-        try {
-            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        Document doc = domImpl.createDocument(null, null, null);
-
-        Attr attr = doc.createAttribute("attr");
-        String notNormalized = " \u0073\u0075\u0063\u0327\u006F\u006E ";
-        attr.setValue(notNormalized);
-
-        DOMConfiguration config = doc.getDomConfig();
-
-        StringBuffer result = new StringBuffer();
-        if (!config.canSetParameter("normalize-characters", Boolean.FALSE)) {
-            result.append("; setting 'normalize-characters' to false is not supported");
-        } else {
-
-            config.setParameter("normalize-characters", Boolean.FALSE);
-
-            attr.normalize();
-
-            String value = attr.getValue();
-            if (!notNormalized.equals(value)) {
-                result.append("; the value is normalized to '" + value + "', expected to stay unchanged");
-            }
-        }
-
-        if (config.canSetParameter("normalize-characters", Boolean.TRUE)) {
-            config.setParameter("normalize-characters", Boolean.TRUE);
-
-            attr.setValue(notNormalized);
-            attr.normalize();
-
-            String value = attr.getValue();
-            if (notNormalized.equals(value)) {
-                result.append("; the value is not normalized: '" + value + "', expected: '\u0073\u0075\u00E7\u006F\u006E'");
-            }
-        }
-
-        if (result.length() > 0) {
-            Assert.fail(result.toString().substring(2));
-        }
-        return; // Status.passed("OK");
-
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: The root element has invalid content. The
-     * 'validate' parameter is set to true. The 'schema-location' parameter is
-     * set to 'DOMConfigurationTest.xsd'., <br>
-     * <b>name</b>: schema-type <br>
-     * <b>value</b>: http://www.w3.org/2001/XMLSchema. <br>
-     * <b>Expected results</b>: An error is reported
-     */
-    @Test
-    public void testValidate001() {
-        DOMImplementation domImpl = null;
-        try {
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            dbf.setNamespaceAware(true);
-            dbf.setValidating(true);
-            domImpl = dbf.newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        Document doc = domImpl.createDocument("test", "ns:root", null);
-
-        Element root = doc.getDocumentElement();
-        root.appendChild(doc.createTextNode("xxx")); // invalid value
-
-        DOMConfiguration config = doc.getDomConfig();
-
-        if (!config.canSetParameter("schema-location", test1_xsd_url) || !config.canSetParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI)) {
-            System.out.println("cannot set the parameters 'schema-location' and 'schema-type'" + " to '" + test1_xsd_url + "' and '"
-                    + XMLConstants.W3C_XML_SCHEMA_NS_URI + "' respectively");
-            return;
-        }
-        config.setParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        config.setParameter("schema-location", test1_xsd_url);
-
-        String resultOK = "OK";
-        StringBuffer result = new StringBuffer();
-        if (!config.canSetParameter("validate", Boolean.TRUE)) {
-            resultOK = "OK, setting the parameter 'validate' to true is not supported";
-        } else {
-            config.setParameter("validate", Boolean.TRUE);
-            TestHandler testHandler = new TestHandler();
-            config.setParameter("error-handler", testHandler);
-            doc.normalizeDocument();
-            if (testHandler.getError() == null && null == testHandler.getFatalError()) {
-                result.append("; no error was reported when the 'validate' is set to true");
-            }
-        }
-
-        if (!config.canSetParameter("validate", Boolean.FALSE)) {
-            result.append("; cannot set the parameters 'validate' to false");
-        } else {
-            config.setParameter("validate", Boolean.FALSE);
-            TestHandler testHandler = new TestHandler();
-            config.setParameter("error-handler", testHandler);
-            doc.normalizeDocument();
-            if (testHandler.getError() != null || null != testHandler.getFatalError()) {
-                result.append("; unexpected error: " + testHandler.getFatalError() + "; " + testHandler.getError());
-            }
-        }
-
-        if (result.length() > 0) {
-            Assert.fail(result.toString().substring(2));
-        }
-        return; // Status.passed(resultOK);
-
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: The root contains a CDATASection with the
-     * termination marker ']]&gt;', <br>
-     * <b>name</b>: split-cdata-sections <br>
-     * <b>value</b>: true. <br>
-     * <b>Expected results</b>: A warning is reported when the section is
-     * splitted
-     */
-    @Test
-    public void testSplitCDATA001() {
-        DOMImplementation domImpl = null;
-        try {
-            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
-
-        DOMConfiguration config = doc.getDomConfig();
-        CDATASection cdata = doc.createCDATASection("text]" + "]>text");
-        doc.getDocumentElement().appendChild(cdata);
-
-        TestHandler testHandler = new TestHandler();
-        config.setParameter("error-handler", testHandler);
-
-        if (!config.canSetParameter("split-cdata-sections", Boolean.TRUE)) {
-            Assert.fail("cannot set the parameters 'split-cdata-sections' to true");
-        }
-        config.setParameter("split-cdata-sections", Boolean.TRUE);
-
-        doc.normalizeDocument();
-        if (null == testHandler.getWarning()) {
-            Assert.fail("no warning is reported");
-        }
-
-        return; // Status.passed("OK");
-
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: The root contains a CDATASection with the
-     * termination marker ']]&gt;', <br>
-     * <b>name</b>: split-cdata-sections <br>
-     * <b>value</b>: false. <br>
-     * <b>Expected results</b>: No warning is reported
-     */
-    @Test
-    public void testSplitCDATA002() {
-        DOMImplementation domImpl = null;
-        try {
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            dbf.setNamespaceAware(true);
-            dbf.setValidating(true);
-            domImpl = dbf.newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        Document doc = domImpl.createDocument("namespaceURI", "ns:root", null);
-
-        DOMConfiguration config = doc.getDomConfig();
-        CDATASection cdata = doc.createCDATASection("text]" + "]>text");
-        doc.getDocumentElement().appendChild(cdata);
-
-        TestHandler testHandler = new TestHandler();
-        config.setParameter("error-handler", testHandler);
-
-        if (!config.canSetParameter("split-cdata-sections", Boolean.FALSE)) {
-            Assert.fail("cannot set the parameters 'split-cdata-sections' to false");
-        }
-        config.setParameter("split-cdata-sections", Boolean.FALSE);
-
-        doc.normalizeDocument();
-        if (null == testHandler.getError()) {
-            Assert.fail("no error is reported");
-        }
-
-        return; // Status.passed("OK");
-
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: The root element has invalid content. The schema
-     * is specified by setting the 'schema-location' and the 'schema-type'
-     * parameters., <br>
-     * <b>name</b>: validate-if-schema <br>
-     * <b>value</b>: false. <br>
-     * <b>Expected results</b>: No error is reported
-     */
-    @Test
-    public void testValidateIfSchema001() {
-        DOMImplementation domImpl = null;
-        try {
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            dbf.setNamespaceAware(true);
-            dbf.setValidating(true);
-            domImpl = dbf.newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        Document doc = domImpl.createDocument("test", "ns:root", null);
-
-        Element root = doc.getDocumentElement();
-        root.appendChild(doc.createTextNode("xxx")); // invalid value
-
-        DOMConfiguration config = doc.getDomConfig();
-
-        if (!config.canSetParameter("schema-location", test1_xsd_url) || !config.canSetParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI)) {
-            System.out.println("cannot set the parameters 'schema-location' and 'schema-type'" + " to 'DOMConfigurationTest.xsd' and '"
-                    + XMLConstants.W3C_XML_SCHEMA_NS_URI + "' respectively");
-            return;
-        }
-        config.setParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        config.setParameter("schema-location", test1_xsd_url);
-
-        String resultOK = "OK";
-        StringBuffer result = new StringBuffer();
-        if (!config.canSetParameter("validate-if-schema", Boolean.FALSE)) {
-            result.append("; cannot set the parameters 'validate-if-schema' to false");
-        } else {
-            config.setParameter("validate-if-schema", Boolean.FALSE);
-            TestHandler testHandler = new TestHandler();
-            config.setParameter("error-handler", testHandler);
-            doc.normalizeDocument();
-            if (testHandler.getError() != null || null != testHandler.getFatalError()) {
-                result.append("; unexpected error: " + testHandler.getFatalError() + "; " + testHandler.getError());
-            }
-        }
-
-        if (!config.canSetParameter("validate-if-schema", Boolean.TRUE)) {
-            resultOK = "OK, setting the parameter 'validate-if-schema' to true is not supported";
-        } else {
-            config.setParameter("validate-if-schema", Boolean.TRUE);
-            TestHandler testHandler = new TestHandler();
-            config.setParameter("error-handler", testHandler);
-            doc.normalizeDocument();
-            if (testHandler.getError() == null && null == testHandler.getFatalError()) {
-                result.append("; no error was reported when the 'validate-if-schema' is set to true");
-            }
-        }
-
-        if (result.length() > 0) {
-            Assert.fail(result.toString().substring(2));
-        }
-        return; // Status.passed(resultOK);
-
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: The root element is not declared in the schema
-     * specified by setting the 'schema-location' and the 'schema-type'
-     * parameters., <br>
-     * <b>name</b>: validate-if-schema <br>
-     * <b>value</b>: true. <br>
-     * <b>Expected results</b>: No error is reported
-     */
-    @Test
-    public void testValidateIfSchema002() {
-        DOMImplementation domImpl = null;
-        try {
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            dbf.setNamespaceAware(true);
-            dbf.setValidating(true);
-            domImpl = dbf.newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException pce) {
-            Assert.fail(pce.toString());
-        } catch (FactoryConfigurationError fce) {
-            Assert.fail(fce.toString());
-        }
-
-        Document doc = domImpl.createDocument("test", "ns:undeclared_root", null);
-
-        Element root = doc.getDocumentElement();
-        root.appendChild(doc.createTextNode("xxx"));
-
-        DOMConfiguration config = doc.getDomConfig();
-
-        if (!config.canSetParameter("schema-location", test1_xsd_url) || !config.canSetParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI)) {
-            System.out.println("cannot set the parameters 'schema-location' and 'schema-type'" + " to 'DOMConfigurationTest.xsd' and '"
-                    + XMLConstants.W3C_XML_SCHEMA_NS_URI + "' respectively");
-            return;
-        }
-        config.setParameter("schema-type", XMLConstants.W3C_XML_SCHEMA_NS_URI);
-        config.setParameter("schema-location", test1_xsd_url);
-
-        if (!config.canSetParameter("validate-if-schema", Boolean.TRUE)) {
-            System.out.println("OK, setting the parameter 'validate-if-schema'" + " to true is not supported");
-            return;
-        }
-
-        config.setParameter("validate-if-schema", Boolean.TRUE);
-        TestHandler testHandler = new TestHandler();
-        config.setParameter("error-handler", testHandler);
-        doc.normalizeDocument();
-        if (testHandler.getError() != null || null != testHandler.getFatalError()) {
-            Assert.fail("unexpected error: " + testHandler.getFatalError() + "; " + testHandler.getError());
-        }
-        return; // Status.passed("OK");
-
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the attribute has EntityReference to '&lt;', <br>
-     * <b>name</b>: well-formed <br>
-     * <b>value</b>: true. <br>
-     * <b>Expected results</b>: An error is reported
-     */
-    @Test
-    public void testWellFormed001() {
-        Document doc = null;
-        try {
-            doc = loadDocument(null, test2_xml);
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-
-        DOMConfiguration config = doc.getDomConfig();
-        if (!config.canSetParameter("well-formed", Boolean.TRUE)) {
-            Assert.fail("setting 'well-formed' to true is not supported");
-        }
-        config.setParameter("well-formed", Boolean.TRUE);
-
-        Element root = doc.getDocumentElement();
-
-        Attr attr = doc.createAttributeNS(null, "attr");
-
-        try {
-            attr.appendChild(doc.createEntityReference("<"));
-        } catch (DOMException domException) {
-            System.out.println("testWellFormed001: Expected DOMException for Attribute value = '<'" + domException.toString());
-            return; // OK
-        }
-
-        root.setAttributeNode(attr);
-
-        TestHandler testHandler = new TestHandler();
-        config.setParameter("error-handler", testHandler);
-
-        doc.normalizeDocument();
-
-        if (testHandler.getError() == null && null == testHandler.getFatalError()) {
-            Assert.fail("no error was reported when attribute has <");
-        }
-
-        return; // Status.passed("OK");
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the attribute has EntityReference to '&lt;', <br>
-     * <b>name</b>: well-formed <br>
-     * <b>value</b>: false. <br>
-     * <b>Expected results</b>: No error is reported
-     */
-    @Test
-    public void testWellFormed002() {
-        Document doc = null;
-        try {
-            doc = loadDocument(null, test2_xml);
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-
-        DOMConfiguration config = doc.getDomConfig();
-        if (!config.canSetParameter("well-formed", Boolean.FALSE)) {
-            System.out.println("OK, setting 'well-formed' to false is not supported");
-            return;
-        }
-        config.setParameter("well-formed", Boolean.FALSE);
-
-        Element root = doc.getDocumentElement();
-
-        Attr attr = doc.createAttributeNS(null, "attr");
-        attr.appendChild(doc.createEntityReference("x"));
-
-        root.setAttributeNode(attr);
-
-        TestHandler testHandler = new TestHandler();
-        config.setParameter("error-handler", testHandler);
-
-        doc.normalizeDocument();
-
-        if (testHandler.getError() != null || null != testHandler.getFatalError()) {
-            Assert.fail("unexpected error: " + testHandler.getFatalError() + "; " + testHandler.getError());
-        }
-
-        return; // Status.passed("OK");
-
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the document root element has a text node with
-     * four white space characters, <br>
-     * <b>name</b>: element-content-whitespace <br>
-     * <b>value</b>: true. <br>
-     * <b>Expected results</b>: the text node is preserved
-     */
-    @Test
-    public void testECWhitespace001() {
-        Document doc = null;
-        try {
-            doc = loadDocument(null, test3_xml);
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-
-        Element root = doc.getDocumentElement();
-        Text text = doc.createTextNode("\t\n\r ");
-        root.appendChild(text);
-
-        DOMConfiguration config = doc.getDomConfig();
-        if (!config.canSetParameter("element-content-whitespace", Boolean.TRUE)) {
-            Assert.fail("setting 'element-content-whitespace' to true is not supported");
-        }
-        config.setParameter("element-content-whitespace", Boolean.TRUE);
-
-        if (!config.canSetParameter("validate", Boolean.TRUE)) {
-            System.out.println("OK, setting 'validate' to true is not supported");
-            return;
-        }
-        config.setParameter("validate", Boolean.TRUE);
-
-        setHandler(doc);
-        doc.normalizeDocument();
-
-        Node firstChild = root.getFirstChild();
-        if (firstChild == null || firstChild.getNodeType() != Node.TEXT_NODE || !((Text) firstChild).isElementContentWhitespace()) {
-            Assert.fail("the first child is " + firstChild + ", expected a text node with the four whitespace characters");
-        }
-
-        return; // Status.passed("OK");
-
-    }
-
-    /**
-     * Equivalence class partitioning with state and input values orientation
-     * for public void setParameter(String name, Object value) throws
-     * DOMException, <br>
-     * <b>pre-conditions</b>: the document root element has a text node with
-     * four white space characters, <br>
-     * <b>name</b>: element-content-whitespace <br>
-     * <b>value</b>: false. <br>
-     * <b>Expected results</b>: the text node is discarded
-     */
-    @Test
-    public void testECWhitespace002() {
-        Document doc = null;
-        try {
-            doc = loadDocument(null, test3_xml);
-        } catch (Exception e) {
-            Assert.fail(e.getMessage());
-        }
-
-        Element root = doc.getDocumentElement();
-        Text text = doc.createTextNode("\t\n\r ");
-        root.appendChild(text);
-
-        DOMConfiguration config = doc.getDomConfig();
-        if (!config.canSetParameter("element-content-whitespace", Boolean.FALSE)) {
-            System.out.println("OK, setting 'element-content-whitespace' to false is not supported");
-            return;
-        }
-        config.setParameter("element-content-whitespace", Boolean.FALSE);
-
-        if (!config.canSetParameter("validate", Boolean.TRUE)) {
-            System.out.println("OK, setting 'validate' to true is not supported");
-            return;
-        }
-        config.setParameter("validate", Boolean.TRUE);
-
-        setHandler(doc);
-        doc.normalizeDocument();
-
-        Node firstChild = root.getFirstChild();
-        if (firstChild != null) {
-            Assert.fail("the first child is " + firstChild + ", but no child is expected");
-        }
-
-        return; // Status.passed("OK");
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/DOMConfigurationTest.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-            targetNamespace="test">
-    <xsd:element name="root" type="xsd:int"/>
-</xsd:schema>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/DOMXPathTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-/*
- * Copyright (c) 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 org.w3c.dom;
-
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 8042244
- * @summary Verifies that the experimental DOM L3 XPath implementation is no longer available.
- */
-public class DOMXPathTest {
-    /*
-       Verifies that DOMImplementation::hasFeature returns false and getFeature
-       returns null for DOM L3 XPath.
-     */
-    @Test
-    public void test() throws ParserConfigurationException {
-        DOMImplementation domImpl = DocumentBuilderFactory.newInstance()
-                .newDocumentBuilder()
-                .getDOMImplementation();
-
-        Assert.assertFalse(domImpl.hasFeature("+XPath", "3.0"));
-        Assert.assertEquals(domImpl.getFeature("+XPath", "3.0"), null);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/JdkXmlDomTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 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 org.w3c.dom;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/*
- * @bug 8078139
- * @summary Verifies that jdk.xml.dom classes are loaded by the ext class loader.
- */
-public class JdkXmlDomTest {
-    @Test
-    public void test() throws ClassNotFoundException {
-        ClassLoader cl = ClassLoader.getSystemClassLoader().getParent();
-        Class<?> cls = Class.forName("org.w3c.dom.xpath.XPathEvaluator", false, cl);
-
-        Assert.assertTrue(cls.getClassLoader() != null);
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/TCKEncodingTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,97 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom;
-
-import java.io.IOException;
-import java.io.StringReader;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-
-/*
- * @summary Test Document.getInputEncoding().
- */
-public class TCKEncodingTest {
-
-    /**
-     * Assertion testing
-     * for public String getInputEncoding(),
-     * An attribute specifying the actual encoding of this document..
-     */
-    @Test
-    public void testGetInputEncoding001() {
-        String data = "<?xml version=\"1.0\"?>" + "<!DOCTYPE root [" + "<!ELEMENT root ANY>" + "]>" + "<root/>";
-
-        Document doc = null;
-        try {
-            DocumentBuilder docBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
-            InputSource inSource = new InputSource(new StringReader(data));
-            inSource.setEncoding("UTF-8");
-            inSource.setSystemId("test.xml");
-            doc = docBuilder.parse(inSource);
-        } catch (ParserConfigurationException e) {
-            Assert.fail(e.toString());
-        } catch (IOException e) {
-            Assert.fail(e.toString());
-        } catch (SAXException e) {
-            Assert.fail(e.toString());
-        }
-
-        String encoding = doc.getInputEncoding();
-        if (encoding == null || !encoding.equals("UTF-8")) {
-            Assert.fail("expected encoding: UTF-8, returned: " + encoding);
-        }
-
-        System.out.println("OK");
-    }
-
-    /**
-     * Assertion testing
-     * for public String getInputEncoding(),
-     * Encoding is not specified. getInputEncoding returns null..
-     */
-    @Test
-    public void testGetInputEncoding002() {
-        Document doc = null;
-        try {
-            DocumentBuilder db = DocumentBuilderFactory.newInstance().newDocumentBuilder();
-            doc = db.newDocument();
-        } catch (ParserConfigurationException e) {
-            Assert.fail(e.toString());
-        }
-
-        String encoding = doc.getInputEncoding();
-        if (encoding != null) {
-            Assert.fail("expected encoding: null, returned: " + encoding);
-        }
-
-        System.out.println("OK");
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/Bug4973153.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,200 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom.ls;
-
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.StringBufferInputStream;
-import java.io.Writer;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.AfterMethod;
-import org.testng.annotations.BeforeMethod;
-import org.testng.annotations.Test;
-import org.w3c.dom.DOMError;
-import org.w3c.dom.DOMErrorHandler;
-import org.w3c.dom.DOMImplementation;
-import org.w3c.dom.Document;
-import org.w3c.dom.ls.DOMImplementationLS;
-import org.w3c.dom.ls.LSInput;
-import org.w3c.dom.ls.LSOutput;
-import org.w3c.dom.ls.LSParser;
-import org.w3c.dom.ls.LSSerializer;
-import org.xml.sax.SAXException;
-
-/*
- * @bug 4973153
- * @summary Test LSSerialiser.setEncoding() raises 'unsupported-encoding' error if encoding is invalid.
- */
-public class Bug4973153 {
-
-    DOMImplementationLS implLS = null;
-    public String xml1 = "<?xml version=\"1.0\"?><ROOT><ELEMENT1></ELEMENT1><ELEMENT2></ELEMENT2></ROOT>";
-
-    @Test
-    public void testOne() {
-        LSParser db = createLSParser();
-        if (db == null) {
-            System.out.println("Unable to create LSParser !");
-            return;
-        }
-        LSSerializer dw = createLSSerializer();
-        if (dw == null) {
-            System.out.println("Unable to create LSSerializer!");
-            return;
-        }
-
-        DOMErrorHandlerImpl eh = new DOMErrorHandlerImpl();
-        dw.getDomConfig().setParameter("error-handler", eh);
-        Document doc = db.parse(getXml1Source());
-
-        Output out = new Output();
-        out.setByteStream(new ByteArrayOutputStream());
-        out.setEncoding("WrOnG_EnCoDiNg");
-        try {
-            if (dw.write(doc, out)) {
-                System.out.println("Expected result value - false");
-                return;
-            }
-        } catch (Exception ex) {
-            // This is bad.
-        }
-        if (!eh.WrongEncodingErrorReceived) {
-            Assert.fail("'unsupported-encoding' error was expected ");
-            return;
-        }
-        System.out.println("OKAY");
-        return;
-    }
-
-    @BeforeMethod
-    protected void setUp() {
-        Document doc = null;
-        DocumentBuilder parser = null;
-        try {
-            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
-            parser = factory.newDocumentBuilder();
-        } catch (ParserConfigurationException e) {
-            e.printStackTrace();
-        }
-        StringBufferInputStream is = new StringBufferInputStream(xml1);
-        try {
-            doc = parser.parse(is);
-        } catch (SAXException e) {
-            e.printStackTrace();
-        } catch (IOException e) {
-            e.printStackTrace();
-        }
-        DOMImplementation impl = doc.getImplementation();
-        implLS = (DOMImplementationLS) impl.getFeature("LS", "3.0");
-    }
-
-    @AfterMethod
-    protected void tearDown() {
-        implLS = null;
-    }
-
-    public LSParser createLSParser() {
-        return implLS.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, "http://www.w3.org/2001/XMLSchema");
-    }
-
-    public LSSerializer createLSSerializer() {
-        return implLS.createLSSerializer();
-    }
-
-    public LSInput createLSInput() {
-        return implLS.createLSInput();
-    }
-
-    public LSInput getXml1Source() {
-        LSInput src = createLSInput();
-        src.setStringData(xml1);
-        return src;
-    }
-}
-
-class Output implements LSOutput {
-    OutputStream bs;
-    Writer cs;
-    String sId;
-    String enc;
-
-    public Output() {
-        bs = null;
-        cs = null;
-        sId = null;
-        enc = "UTF-8";
-    }
-
-    public OutputStream getByteStream() {
-        return bs;
-    }
-
-    public void setByteStream(OutputStream byteStream) {
-        bs = byteStream;
-    }
-
-    public Writer getCharacterStream() {
-        return cs;
-    }
-
-    public void setCharacterStream(Writer characterStream) {
-        cs = characterStream;
-    }
-
-    public String getSystemId() {
-        return sId;
-    }
-
-    public void setSystemId(String systemId) {
-        sId = systemId;
-    }
-
-    public String getEncoding() {
-        return enc;
-    }
-
-    public void setEncoding(String encoding) {
-        enc = encoding;
-    }
-}
-
-class DOMErrorHandlerImpl implements DOMErrorHandler {
-    boolean NoOutputSpecifiedErrorReceived = false;
-    boolean WrongEncodingErrorReceived = false;
-
-    public boolean handleError(DOMError error) {
-        if ("no-output-specified".equalsIgnoreCase(error.getType())) {
-            NoOutputSpecifiedErrorReceived = true;
-        } else if ("unsupported-encoding".equalsIgnoreCase(error.getType())) {
-            WrongEncodingErrorReceived = true;
-        }
-        return true;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/Bug6290947.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,143 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom.ls;
-
-import java.io.StringBufferInputStream;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.DOMConfiguration;
-import org.w3c.dom.DOMImplementation;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-import org.w3c.dom.ls.DOMImplementationLS;
-import org.w3c.dom.ls.LSInput;
-import org.w3c.dom.ls.LSParser;
-import org.w3c.dom.ls.LSSerializer;
-import org.w3c.dom.ls.LSSerializerFilter;
-import org.w3c.dom.traversal.NodeFilter;
-
-/*
- * @bug 6290947
- * @summary Test LSSerializer writes the XML declaration when LSSerializerFilter is set that rejects all nodes and
- * LSSerializer's configuration set parameter "xml-declaration" to "true".
- */
-public class Bug6290947 {
-
-    private static String XML_STRING = "<?xml version=\"1.0\"?><ROOT><ELEMENT1><CHILD1/><CHILD1><COC1/></CHILD1></ELEMENT1><ELEMENT2>test1<CHILD2/></ELEMENT2></ROOT>";
-    private static DOMImplementationLS implLS;
-    private final String XML_FILE_INTERNAL_DTD = "note_in_dtd.xml";
-
-    @Test
-    public void testStringSourceWithXmlDecl() {
-        String result = prepare(XML_STRING, true);
-        System.out.println("testStringSource: output: " + result);
-        Assert.assertTrue(result.indexOf("<?xml")>-1, "XML Declaration expected in output");
-    }
-
-    @Test
-    public void testStringSourceWithOutXmlDecl() {
-        String result = prepare(XML_STRING, false);
-        System.out.println("testStringSource: output: " + result);
-        Assert.assertTrue(result.indexOf("<?xml")==-1, "XML Declaration is not expected in output");
-    }
-
-    @Test
-    public void testXmlWithInternalDTD1() {
-        String result = prepare(XML_FILE_INTERNAL_DTD, true);
-        System.out.println("testStringSource: output: " + result);
-        Assert.assertTrue(result.indexOf("<!DOCTYPE")>0, "XML Declaration and DTD are expected in output");
-    }
-
-    @Test
-    public void testXmlWithInternalDTD2() {
-        String result = prepare(XML_FILE_INTERNAL_DTD, false);
-        System.out.println("testStringSource: output: " + result);
-        Assert.assertTrue(result.indexOf("<!DOCTYPE")>-1, "DTD is expected in output");
-    }
-
-    private String prepare(String source, boolean xmlDeclFlag) {
-        Document startDoc = null;
-        DocumentBuilder domParser = null;
-        try {
-            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
-            domParser = factory.newDocumentBuilder();
-        } catch (ParserConfigurationException e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-
-        final StringBufferInputStream is = new StringBufferInputStream(XML_STRING);
-        try {
-            startDoc = domParser.parse(is);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-
-        DOMImplementation impl = startDoc.getImplementation();
-        implLS = (DOMImplementationLS) impl.getFeature("LS", "3.0");
-        LSParser parser = implLS.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, "http://www.w3.org/2001/XMLSchema");
-
-        LSInput src = getXmlSource(source);
-
-        LSSerializer writer = implLS.createLSSerializer();
-
-        DOMConfiguration conf = writer.getDomConfig();
-        conf.setParameter("xml-declaration", Boolean.valueOf(xmlDeclFlag));
-
-        // set filter
-        writer.setFilter(new LSSerializerFilter() {
-            public short acceptNode(Node enode) {
-                return FILTER_REJECT;
-
-            }
-
-            public int getWhatToShow() {
-                return NodeFilter.SHOW_ELEMENT;
-            }
-        });
-
-        Document doc = parser.parse(src);
-        return writer.writeToString(doc);
-    }
-
-    private LSInput getXmlSource(String xml1) {
-        LSInput src = implLS.createLSInput();
-        try {
-            if (xml1.endsWith(".xml"))
-                src.setByteStream(this.getClass().getResourceAsStream(XML_FILE_INTERNAL_DTD));
-            else
-                src.setStringData(xml1);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-        return src;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/Bug6354955.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,138 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom.ls;
-
-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.Comment;
-import org.w3c.dom.Document;
-import org.w3c.dom.EntityReference;
-import org.w3c.dom.Node;
-import org.w3c.dom.ProcessingInstruction;
-import org.w3c.dom.Text;
-import org.w3c.dom.ls.DOMImplementationLS;
-import org.w3c.dom.ls.LSSerializer;
-
-
-/*
- * @bug 6354955
- * @summary Test LSSerializer can writeToString on DOM Text node with white space.
- */
-public class Bug6354955 {
-
-    @Test
-    public void testTextNode() {
-        try {
-            Document xmlDocument = createNewDocument();
-
-            String whitespace = "\r\n    ";
-            Text textNode = xmlDocument.createTextNode(whitespace);
-
-            System.out.println("original text is:\r\n\"" + whitespace + "\"");
-            String outerXML = getOuterXML(textNode);
-            System.out.println("OuterXML Text Node is:\r\n\"" + outerXML + "\"");
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testCommentNode() {
-        try {
-            Document xmlDocument = createNewDocument();
-            String commentStr = "This is a comment node";
-            Comment cmtNode = xmlDocument.createComment(commentStr);
-            String outerXML = getOuterXML(cmtNode);
-            System.out.println("OuterXML of Comment Node is:" + outerXML);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testPINode() {
-        try {
-            Document xmlDocument = createNewDocument();
-            ProcessingInstruction piNode = xmlDocument.createProcessingInstruction("execute", "test");
-            String outerXML = getOuterXML(piNode);
-            System.out.println("OuterXML of Comment Node is:" + outerXML);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testCDATA() {
-        try {
-            Document xmlDocument = createNewDocument();
-            CDATASection cdataNode = xmlDocument.createCDATASection("See Data!!");
-            String outerXML = getOuterXML(cdataNode);
-            System.out.println("OuterXML of Comment Node is:" + outerXML);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    @Test
-    public void testEntityReference() {
-        try {
-            Document xmlDocument = createNewDocument();
-            EntityReference erefNode = xmlDocument.createEntityReference("entityref");
-            String outerXML = getOuterXML(erefNode);
-            System.out.println("OuterXML of Comment Node is:" + outerXML);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-    }
-
-    private String getOuterXML(Node node) {
-        DOMImplementationLS domImplementation = (DOMImplementationLS) node.getOwnerDocument().getImplementation();
-        LSSerializer lsSerializer = domImplementation.createLSSerializer();
-        if (!(node instanceof Document)) {
-            lsSerializer.getDomConfig().setParameter("xml-declaration", false);
-        }
-        return lsSerializer.writeToString(node);
-    }
-
-    private Document createNewDocument() throws Exception {
-        DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
-        documentBuilderFactory.setNamespaceAware(true);
-        DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
-        return documentBuilder.newDocument();
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/Bug6376823.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,117 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom.ls;
-
-import java.io.StringBufferInputStream;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.DOMConfiguration;
-import org.w3c.dom.DOMImplementation;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-import org.w3c.dom.ls.DOMImplementationLS;
-import org.w3c.dom.ls.LSInput;
-import org.w3c.dom.ls.LSParser;
-import org.w3c.dom.ls.LSSerializer;
-import org.w3c.dom.ls.LSSerializerFilter;
-import org.w3c.dom.traversal.NodeFilter;
-
-/*
- * @bug 6376823
- * @summary Test LSSerializer works.
- */
-public class Bug6376823 {
-
-    private static String XML_STRING = "<?xml version=\"1.0\"?><ROOT><ELEMENT1><CHILD1/><CHILD1><COC1/></CHILD1></ELEMENT1><ELEMENT2>test1<CHILD2/></ELEMENT2></ROOT>";
-    private static DOMImplementationLS implLS;
-
-    @Test
-    public void testStringSourceWithXmlDecl() {
-        String result = prepare(XML_STRING, true);
-        System.out.println("testStringSource: output: " + result);
-        Assert.assertTrue(result.indexOf("<?xml", 5) < 0, "XML Declaration expected in output");
-    }
-
-    private String prepare(String source, boolean xmlDeclFlag) {
-        Document startDoc = null;
-        DocumentBuilder domParser = null;
-        try {
-            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
-            domParser = factory.newDocumentBuilder();
-        } catch (ParserConfigurationException e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-
-        final StringBufferInputStream is = new StringBufferInputStream(XML_STRING);
-        try {
-            startDoc = domParser.parse(is);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-
-        DOMImplementation impl = startDoc.getImplementation();
-        implLS = (DOMImplementationLS) impl.getFeature("LS", "3.0");
-        LSParser parser = implLS.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, "http://www.w3.org/2001/XMLSchema");
-
-        LSInput src = getXmlSource(source);
-
-        LSSerializer writer = implLS.createLSSerializer();
-
-        DOMConfiguration conf = writer.getDomConfig();
-        conf.setParameter("xml-declaration", Boolean.valueOf(xmlDeclFlag));
-
-        // set filter
-        writer.setFilter(new LSSerializerFilter() {
-            public short acceptNode(Node enode) {
-                return FILTER_ACCEPT;
-
-            }
-
-            public int getWhatToShow() {
-                return NodeFilter.SHOW_ALL;
-            }
-        });
-
-        Document doc = parser.parse(src);
-        return writer.writeToString(doc);
-    }
-
-    private LSInput getXmlSource(String xml1) {
-        LSInput src = implLS.createLSInput();
-        try {
-            src.setStringData(xml1);
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Exception occured: " + e.getMessage());
-        }
-        return src;
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/Bug6710741Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom.ls;
-
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-/*
- * @bug 6710741
- * @summary Test there should be stack trace information if LSSerializer().writeToString reports an exception.
- */
-public class Bug6710741Test {
-
-    @Test
-    public final void test() {
-        try {
-            Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
-            Element el = doc.createElement("x");
-            DOMImplementationLS ls = (DOMImplementationLS) doc.getImplementation().getFeature("LS", "3.0");
-            System.out.println(ls.createLSSerializer().writeToString(el));
-        } catch (ParserConfigurationException ex) {
-            ex.printStackTrace();
-            Assert.fail(ex.getMessage());
-        } catch (LSException ex) {
-            ex.printStackTrace();
-            System.out.println("cause: " + ex.getCause());
-            if (ex.getCause() == null) {
-                Assert.fail("should set cause.");
-            }
-        }
-    }
-
-    @Test
-    public void testWorkaround() {
-        Document doc;
-        try {
-            doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
-            Element el = doc.createElement("x");
-            doc.appendChild(el);
-            DOMImplementationLS ls = (DOMImplementationLS) doc.getImplementation().getFeature("LS", "3.0");
-            System.out.println(ls.createLSSerializer().writeToString(doc));
-        } catch (ParserConfigurationException ex) {
-            ex.printStackTrace();
-            Assert.fail(ex.getMessage());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/LSParserTCKTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,576 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom.ls;
-
-import java.io.IOException;
-import java.io.StringBufferInputStream;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.Attr;
-import org.w3c.dom.DOMImplementation;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import org.w3c.dom.traversal.NodeFilter;
-import org.xml.sax.SAXException;
-
-/*
- * @summary Test Specifications and Descriptions for LSParser.
- */
-public class LSParserTCKTest {
-
-    DOMImplementationLS implLS = null;
-    public String xml1 = "<?xml version=\"1.0\"?><ROOT><ELEMENT1><CHILD1/><CHILD1><COC1/></CHILD1></ELEMENT1><ELEMENT2>test1<CHILD2/></ELEMENT2></ROOT>";
-
-    /**
-     * Equivalence class partitioning
-     * with state, input and output values orientation
-     * for public Document parse(LSInput is),
-     * <br><b>pre-conditions</b>: set filter that REJECTs any CHILD* node,
-     * <br><b>is</b>: xml1
-     * <br><b>output</b>: XML document with ELEMNENT1 and ELEMENT2 only.
-     */
-    @Test
-    public void testfilter0001() {
-        LSParser parser = createLSParser();
-        if (parser == null) {
-            Assert.fail("Unable to create LSParser!");
-        }
-        // set filter
-        parser.setFilter(new LSParserFilter() {
-            public short startElement(Element elt) {
-                return FILTER_ACCEPT;
-            }
-
-            public short acceptNode(Node enode) {
-                if (enode.getNodeName().startsWith("CHILD")) {
-                    return FILTER_REJECT;
-                }
-                return FILTER_ACCEPT;
-            }
-
-            public int getWhatToShow() {
-                return NodeFilter.SHOW_ALL;
-            }
-        });
-        String expected = "<?xml version=\"1.0\"?><ROOT><ELEMENT1></ELEMENT1><ELEMENT2>test1</ELEMENT2></ROOT>";
-        Document doc = parser.parse(getXmlSource(xml1));
-        if (!match(expected, doc)) {
-            Assert.fail("DOM structure after parsing is not equal to a structure of XML document, that being parsed");
-        }
-
-        System.out.println("OKAY");
-    }
-
-    public LSParserTCKTest(String name) {
-        init();
-    }
-
-    protected void init() {
-        Document doc = null;
-        DocumentBuilder parser = null;
-        try {
-            parser = DocumentBuilderFactory.newInstance().newDocumentBuilder();
-        } catch (ParserConfigurationException e) {
-            e.printStackTrace();
-        }
-        StringBufferInputStream is = new StringBufferInputStream(xml1);
-        try {
-            doc = parser.parse(is);
-        } catch (SAXException e) {
-            e.printStackTrace();
-        } catch (IOException e) {
-            e.printStackTrace();
-        }
-        DOMImplementation impl = doc.getImplementation();
-        implLS = (DOMImplementationLS) impl.getFeature("LS", "3.0");
-    }
-
-    public LSInput getXmlSource(String xmldoc) {
-        LSInput srcdoc = createLSInput();
-        srcdoc.setStringData(xmldoc);
-        return srcdoc;
-    }
-
-    public LSInput createLSInput() {
-        return implLS.createLSInput();
-    }
-
-    public LSParser createLSParser() {
-        return implLS.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, "http://www.w3.org/2001/XMLSchema");
-    }
-
-    public boolean match(String template, Node source) {
-        LSParser dp = createLSParser();
-        if (dp == null) {
-            System.out.println("Can not create LSParser.");
-            return false;
-        }
-        LSInput src = getXmlSource(template);
-        Document doc = dp.parse(src);
-        return checkXMLs(doc, source);
-    }
-
-    // ========================== XML comparison code ==============
-    public boolean checkXMLs(Node template, Node source) {
-        if (source == null || template == null) {
-            return template == source;
-        }
-        String tname = template.getLocalName();
-        String tvalue = template.getNodeValue();
-        NamedNodeMap tattr = template.getAttributes();
-        NodeList tchildren = template.getChildNodes();
-
-        String sname = source.getLocalName();
-        String svalue = source.getNodeValue();
-        NamedNodeMap sattr = source.getAttributes();
-        NodeList schildren = source.getChildNodes();
-        if (tname != null && !tname.equals(sname)) {
-            return false;
-        }
-        if (tvalue != null && !tvalue.equals(svalue)) {
-            return false;
-        }
-        if (tattr != null && sattr != null) {
-            if (sattr.getLength() != tattr.getLength()) {
-                return false;
-            }
-            for (int i = 0; i < tattr.getLength(); i++) {
-                Attr t = (Attr) tattr.item(i);
-                Attr s = (Attr) sattr.getNamedItem(t.getName());
-                if (!checkXMLAttrs(t, s)) {
-                    // ref.println(sname+": [expected attr: " + t +
-                    // "; actual attr: " +s+"]");
-                    return false;
-                }
-            }
-        } else if (tattr != null || sattr != null) {
-            return false;
-        }
-
-        for (int i = 0; i < tchildren.getLength(); i++) {
-            if (!checkXMLs(tchildren.item(i), schildren.item(i))) {
-                // ref.println(sname+": [expected node: "+tchildren.item(i)
-                // +"; actual node: "+schildren.item(i)+"]");
-                return false;
-            }
-        }
-        return true;
-    }
-
-    public boolean checkXMLAttrs(Attr template, Attr source) {
-        if (source == null || template == null) {
-            return template == source;
-        }
-        String tname = template.getName();
-        String tvalue = template.getValue();
-        String sname = source.getName();
-        String svalue = source.getValue();
-        System.out.println("Attr:" + tname + "?" + sname);
-        if (tname != null && !tname.equals(sname)) {
-            // ref.println("Attr Name:" + tname + "!=" + sname);
-            return false;
-        }
-        if (tvalue != null && !tvalue.equals(svalue)) {
-            // ref.println("Attr value:" + tvalue + "!=" + svalue);
-            return false;
-        }
-        // ref.println("Attr:" + tname + ":" + tvalue + "=" + sname + ":" +
-        // svalue);
-        return true;
-    }
-
-    /**
-     * Equivalence class partitioning with state, input and output values
-     * orientation for public Document parse(LSInput is), <br>
-     * <b>pre-conditions</b>: set filter that SKIPs ELEMENT1 node, <br>
-     * <b>is</b>: xml1 <br>
-     * <b>output</b>: XML document with CHILD1 and ELEMENT2 only.
-     */
-    @Test
-    public void testFilter0002() {
-        LSParser parser = createLSParser();
-        if (parser == null) {
-            Assert.fail("Unable to create LSParser!");
-        }
-        // set filter
-        parser.setFilter(new LSParserFilter() {
-            public short startElement(Element elt) {
-                return FILTER_ACCEPT;
-            }
-
-            public short acceptNode(Node enode) {
-                if (enode.getNodeName().startsWith("ELEMENT1")) {
-                    return FILTER_SKIP;
-                }
-                return FILTER_ACCEPT;
-            }
-
-            public int getWhatToShow() {
-                return NodeFilter.SHOW_ALL;
-            }
-        });
-        String expected = "<?xml version=\"1.0\"?><ROOT><CHILD1/><CHILD1><COC1/></CHILD1><ELEMENT2>test1<CHILD2/></ELEMENT2></ROOT>";
-        Document doc = parser.parse(getXmlSource(xml1));
-        if (!match(expected, doc)) {
-            Assert.fail("DOM structure after parsing is not equal to a structure of XML document, that being parsed");
-        }
-        System.out.println("OKAY");
-    }
-
-    /**
-     * Equivalence class partitioning with state, input and output values
-     * orientation for public Document parse(LSInput is), <br>
-     * <b>pre-conditions</b>: set filter that SKIPs ELEMENT1 node, <br>
-     * <b>is</b>: xml1 <br>
-     * <b>output</b>: XML document with ELEMENT1 only.
-     */
-    @Test
-    public void testFilter0003() {
-        LSParser parser = createLSParser();
-        if (parser == null) {
-            Assert.fail("Unable to create LSParser!");
-        }
-        // set filter
-        parser.setFilter(new LSParserFilter() {
-            public short startElement(Element elt) {
-                return FILTER_ACCEPT;
-            }
-
-            public short acceptNode(Node enode) {
-                if (enode.getNodeName().startsWith("ELEMENT2")) {
-                    return FILTER_INTERRUPT;
-                }
-                return FILTER_ACCEPT;
-            }
-
-            public int getWhatToShow() {
-                return NodeFilter.SHOW_ALL;
-            }
-        });
-        String expected = "<ROOT><ELEMENT1><CHILD1/><CHILD1><COC1/></CHILD1></ELEMENT1></ROOT>";
-        Document doc = parser.parse(getXmlSource(xml1));
-        if (!match(expected, doc)) {
-            Assert.fail("DOM structure after parsing is not equal to a structure of XML document, that being parsed");
-        }
-        System.out.println("OKAY");
-    }
-
-    /**
-     * Equivalence class partitioning with state, input and output values
-     * orientation for public Document parse(LSInput is), <br>
-     * <b>pre-conditions</b>: set filter that accepts all, <br>
-     * <b>is</b>: xml1 <br>
-     * <b>output</b>: full XML document.
-     */
-    @Test
-    public void testFilter0004() {
-        LSParser parser = createLSParser();
-        if (parser == null) {
-            Assert.fail("Unable to create LSParser!");
-        }
-        // set filter
-        parser.setFilter(new LSParserFilter() {
-            public short startElement(Element elt) {
-                return FILTER_ACCEPT;
-            }
-
-            public short acceptNode(Node enode) {
-                return FILTER_ACCEPT;
-            }
-
-            public int getWhatToShow() {
-                return NodeFilter.SHOW_ALL;
-            }
-        });
-        String expected = "<ROOT><ELEMENT1><CHILD1/><CHILD1><COC1/></CHILD1></ELEMENT1><ELEMENT2>test1<CHILD2/></ELEMENT2></ROOT>";
-        Document doc = parser.parse(getXmlSource(xml1));
-        if (!match(expected, doc)) {
-            Assert.fail("DOM structure after parsing is not equal to a structure of XML document, that being parsed");
-        }
-        System.out.println("OKAY");
-    }
-
-    /**
-     * Equivalence class partitioning with state, input and output values
-     * orientation for public Document parse(LSInput is), <br>
-     * <b>pre-conditions</b>: set filter that REJECTs all, <br>
-     * <b>is</b>: xml1 <br>
-     * <b>output</b>: empty XML document.
-     */
-    @Test
-    public void testFilter0005() {
-        LSParser parser = createLSParser();
-        if (parser == null) {
-            Assert.fail("Unable to create LSParser!");
-        }
-        // set filter
-        parser.setFilter(new LSParserFilter() {
-            public short startElement(Element elt) {
-                return FILTER_ACCEPT;
-            }
-
-            public short acceptNode(Node enode) {
-                return FILTER_REJECT;
-            }
-
-            public int getWhatToShow() {
-                return NodeFilter.SHOW_ALL;
-            }
-        });
-        Document doc = parser.parse(getXmlSource(xml1));
-        NodeList children = doc.getDocumentElement().getChildNodes();
-        if (children.getLength() != 0) {
-            Assert.fail("Not all children skipped");
-        }
-        System.out.println("OKAY");
-    }
-
-    /**
-     * Equivalence class partitioning with state, input and output values
-     * orientation for public Document parse(LSInput is), <br>
-     * <b>pre-conditions</b>: set filter that SKIPs all, <br>
-     * <b>is</b>: xml1 <br>
-     * <b>output</b>: empty XML document.
-     */
-    @Test
-    public void testFilter0006() {
-        LSParser parser = createLSParser();
-        if (parser == null) {
-            Assert.fail("Unable to create LSParser!");
-        }
-        // set filter
-        parser.setFilter(new LSParserFilter() {
-            public short startElement(Element elt) {
-                return FILTER_ACCEPT;
-            }
-
-            public short acceptNode(Node enode) {
-                return FILTER_SKIP;
-            }
-
-            public int getWhatToShow() {
-                return NodeFilter.SHOW_ALL;
-            }
-        });
-        Document doc = parser.parse(getXmlSource(xml1));
-        NodeList children = doc.getDocumentElement().getChildNodes();
-        if (children.getLength() != 0) {
-            Assert.fail("Not all children skipped");
-        }
-        System.out.println("OKAY");
-    }
-
-    /**
-     * Equivalence class partitioning with state, input and output values
-     * orientation for public Document parse(LSInput is), <br>
-     * <b>pre-conditions</b>: set filter that REJECTs any CHILD* start element, <br>
-     * <b>is</b>: xml1 <br>
-     * <b>output</b>: XML document with ELEMENT1 and ELEMENT2 only.
-     */
-    @Test
-    public void testFilter0007() {
-        LSParser parser = createLSParser();
-        if (parser == null) {
-            Assert.fail("Unable to create LSParser!");
-        }
-        // set filter
-        parser.setFilter(new LSParserFilter() {
-            public short startElement(Element elt) {
-                if (elt.getTagName().startsWith("CHILD")) {
-                    return FILTER_REJECT;
-                }
-                return FILTER_ACCEPT;
-            }
-
-            public short acceptNode(Node enode) {
-                return FILTER_ACCEPT;
-            }
-
-            public int getWhatToShow() {
-                return NodeFilter.SHOW_ALL;
-            }
-        });
-        String expected = "<?xml version=\"1.0\"?><ROOT><ELEMENT1></ELEMENT1><ELEMENT2>test1</ELEMENT2></ROOT>";
-        Document doc = parser.parse(getXmlSource(xml1));
-        if (!match(expected, doc)) {
-            Assert.fail("DOM structure after parsing is not equal to a structure of XML document, that being parsed");
-        }
-        System.out.println("OKAY");
-    }
-
-    /**
-     * Equivalence class partitioning with state, input and output values
-     * orientation for public Document parse(LSInput is), <br>
-     * <b>pre-conditions</b>: set filter that SKIPs ELEMENT1 start element, <br>
-     * <b>is</b>: xml1 <br>
-     * <b>output</b>: XML document with CHILD1 and ELEMENT2 only.
-     */
-    @Test
-    public void testFilter0008() {
-        LSParser parser = createLSParser();
-        if (parser == null) {
-            Assert.fail("Unable to create LSParser!");
-        }
-        // set filter
-        parser.setFilter(new LSParserFilter() {
-            public short startElement(Element elt) {
-                if (elt.getTagName().equals("ELEMENT1")) {
-                    return FILTER_SKIP;
-                }
-                return FILTER_ACCEPT;
-            }
-
-            public short acceptNode(Node enode) {
-                return FILTER_ACCEPT;
-            }
-
-            public int getWhatToShow() {
-                return NodeFilter.SHOW_ALL;
-            }
-        });
-        String expected = "<?xml version=\"1.0\"?><ROOT><CHILD1/><CHILD1><COC1/></CHILD1><ELEMENT2>test1<CHILD2/></ELEMENT2></ROOT>";
-        Document doc = parser.parse(getXmlSource(xml1));
-        if (!match(expected, doc)) {
-            Assert.fail("DOM structure after parsing is not equal to a structure of XML document, that being parsed");
-        }
-        System.out.println("OKAY");
-    }
-
-    /**
-     * Equivalence class partitioning with state, input and output values
-     * orientation for public Document parse(LSInput is), <br>
-     * <b>pre-conditions</b>: set filter that SKIPs ELEMENT1 start element, <br>
-     * <b>is</b>: xml1 <br>
-     * <b>output</b>: XML document with ELEMENT1 only.
-     */
-    @Test
-    public void testFilter0009() {
-        LSParser parser = createLSParser();
-        if (parser == null) {
-            Assert.fail("Unable to create LSParser!");
-        }
-        // set filter
-        parser.setFilter(new LSParserFilter() {
-            public short startElement(Element elt) {
-                if (elt.getTagName().startsWith("ELEMENT2")) {
-                    return FILTER_INTERRUPT;
-                }
-                return FILTER_ACCEPT;
-            }
-
-            public short acceptNode(Node enode) {
-                return FILTER_ACCEPT;
-            }
-
-            public int getWhatToShow() {
-                return NodeFilter.SHOW_ALL;
-            }
-        });
-        String expected = "<ROOT><ELEMENT1><CHILD1/><CHILD1><COC1/></CHILD1></ELEMENT1></ROOT>";
-        Document doc = parser.parse(getXmlSource(xml1));
-        if (!match(expected, doc)) {
-            Assert.fail("DOM structure after parsing is not equal to a structure of XML document, that being parsed");
-        }
-        System.out.println("OKAY");
-    }
-
-    /**
-     * Equivalence class partitioning with state, input and output values
-     * orientation for public Document parse(LSInput is), <br>
-     * <b>pre-conditions</b>: set filter that REJECTs all start element, <br>
-     * <b>is</b>: xml1 <br>
-     * <b>output</b>: empty XML document.
-     */
-    @Test
-    public void testFilter0010() {
-        LSParser parser = createLSParser();
-        if (parser == null) {
-            Assert.fail("Unable to create LSParser");
-        }
-        // set filter
-        parser.setFilter(new LSParserFilter() {
-            public short startElement(Element elt) {
-                return FILTER_REJECT;
-            }
-
-            public short acceptNode(Node enode) {
-                return FILTER_ACCEPT;
-            }
-
-            public int getWhatToShow() {
-                return NodeFilter.SHOW_ALL;
-            }
-        });
-        Document doc = parser.parse(getXmlSource(xml1));
-        NodeList children = doc.getDocumentElement().getChildNodes();
-        if (children.getLength() != 0) {
-            Assert.fail("Not all children skipped");
-        }
-        System.out.println("OKAY");
-    }
-
-    /**
-     * Equivalence class partitioning with state, input and output values
-     * orientation for public Document parse(LSInput is), <br>
-     * <b>pre-conditions</b>: set filter that SKIPs all, <br>
-     * <b>is</b>: xml1 <br>
-     * <b>output</b>: empty XML document.
-     */
-    @Test
-    public void testFilter0011() {
-        LSParser parser = createLSParser();
-        if (parser == null) {
-            Assert.fail("Unable to create LSParser");
-        }
-        // set filter
-        parser.setFilter(new LSParserFilter() {
-            public short startElement(Element elt) {
-                return FILTER_SKIP;
-            }
-
-            public short acceptNode(Node enode) {
-                return FILTER_ACCEPT;
-            }
-
-            public int getWhatToShow() {
-                return NodeFilter.SHOW_ALL;
-            }
-        });
-        Document doc = parser.parse(getXmlSource(xml1));
-        NodeList children = doc.getDocumentElement().getChildNodes();
-        if (children.getLength() != 1) {
-            Assert.fail("Not all Element nodes skipped");
-        }
-        System.out.println("OKAY");
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/LSParserTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,101 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.w3c.dom.ls;
-
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.DOMConfiguration;
-import org.w3c.dom.DOMError;
-import org.w3c.dom.DOMErrorHandler;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.DOMImplementation;
-
-/*
- * @summary Test LSParser's DOMConfiguration for supported properties.
- */
-public class LSParserTest {
-
-    @Test
-    public void testDOMConfiguration() {
-
-        final DOMErrorHandler handler = new DOMErrorHandler() {
-            public boolean handleError(final DOMError error) {
-                return false;
-            }
-        };
-
-        final LSResourceResolver resolver = new LSResourceResolver() {
-            public LSInput resolveResource(final String type, final String namespaceURI, final String publicId, final String systemId, final String baseURI) {
-                return null;
-            }
-        };
-
-        final Object[][] values = {
-                // parameter, value
-                { "canonical-form", Boolean.FALSE }, { "cdata-sections", Boolean.FALSE }, { "cdata-sections", Boolean.TRUE },
-                { "check-character-normalization", Boolean.FALSE }, { "comments", Boolean.FALSE }, { "comments", Boolean.TRUE },
-                { "datatype-normalization", Boolean.FALSE }, { "entities", Boolean.FALSE }, { "entities", Boolean.TRUE }, { "error-handler", handler },
-                { "infoset", Boolean.TRUE }, { "namespaces", Boolean.TRUE }, { "namespace-declarations", Boolean.TRUE },
-                { "namespace-declarations", Boolean.FALSE }, { "normalize-characters", Boolean.FALSE }, { "split-cdata-sections", Boolean.TRUE },
-                { "split-cdata-sections", Boolean.FALSE }, { "validate", Boolean.FALSE }, { "validate-if-schema", Boolean.FALSE },
-                { "well-formed", Boolean.TRUE }, { "element-content-whitespace", Boolean.TRUE },
-
-                { "charset-overrides-xml-encoding", Boolean.TRUE }, { "charset-overrides-xml-encoding", Boolean.FALSE }, { "disallow-doctype", Boolean.FALSE },
-                { "ignore-unknown-character-denormalizations", Boolean.TRUE }, { "resource-resolver", resolver }, { "resource-resolver", null },
-                { "supported-media-types-only", Boolean.FALSE }, };
-
-        DOMImplementation domImpl = null;
-        try {
-            domImpl = DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
-        } catch (ParserConfigurationException parserConfigurationException) {
-            parserConfigurationException.printStackTrace();
-            Assert.fail(parserConfigurationException.toString());
-        }
-
-        DOMImplementationLS lsImpl = (DOMImplementationLS) domImpl.getFeature("LS", "3.0");
-
-        LSParser lsParser = lsImpl.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS, null);
-
-        DOMConfiguration config = lsParser.getDomConfig();
-
-        for (int i = values.length; --i >= 0;) {
-            Object val = values[i][1];
-            String param = (String) values[i][0];
-            try {
-                config.setParameter(param, val);
-                Object returned = config.getParameter(param);
-                Assert.assertEquals(val, returned, "'" + param + "' is set to " + returned + ", but expected " + val);
-                System.out.println("set '" + param + "'" + " to '" + val + "'" + " and returned '" + returned + "'");
-            } catch (DOMException e) {
-                String settings = "setting '" + param + "' to " + val;
-                System.err.println(settings);
-                e.printStackTrace();
-                Assert.fail(settings + ", " + e.toString());
-            }
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/LSSerializerTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,311 +0,0 @@
-/*
- * 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 org.w3c.dom.ls;
-
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.StringReader;
-import java.io.Writer;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.w3c.dom.DOMConfiguration;
-import org.w3c.dom.DOMError;
-import org.w3c.dom.DOMErrorHandler;
-import org.w3c.dom.DOMImplementation;
-import org.w3c.dom.Document;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-
-
-/*
- * @bug 6439439 8080906
- * @summary Test LSSerializer.
- */
-public class LSSerializerTest {
-    private static final String DOM_FORMAT_PRETTY_PRINT = "format-pretty-print";
-
-    class DOMErrorHandlerImpl implements DOMErrorHandler {
-
-        boolean NoOutputSpecifiedErrorReceived = false;
-
-        public boolean handleError(final DOMError error) {
-            // consume "no-output-specified" errors
-            if ("no-output-specified".equalsIgnoreCase(error.getType())) {
-                NoOutputSpecifiedErrorReceived = true;
-                return true;
-            }
-
-            // unexpected error
-            Assert.fail("Unexpected Error Type: " + error.getType() + " @ (" + error.getLocation().getLineNumber() + ", "
-                    + error.getLocation().getColumnNumber() + ")" + ", " + error.getMessage());
-
-            return false;
-        }
-    }
-
-    class Output implements LSOutput {
-        public OutputStream getByteStream() {
-            return null;
-        }
-
-        public void setByteStream(final OutputStream byteStream) {
-        }
-
-        public Writer getCharacterStream() {
-            return null;
-        }
-
-        public void setCharacterStream(final Writer characterStream) {
-        }
-
-        public String getSystemId() {
-            return null;
-        }
-
-        public void setSystemId(final String systemId) {
-        }
-
-        public String getEncoding() {
-            return "UTF8";
-        }
-
-        public void setEncoding(final String encoding) {
-        }
-    }
-
-    /*
-     * @bug 8080906
-     */
-    @Test
-    public void testDefaultLSSerializer() throws Exception {
-        DOMImplementationLS domImpl = (DOMImplementationLS) DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
-        LSSerializer lsSerializer = domImpl.createLSSerializer();
-        Assert.assertTrue(lsSerializer.getClass().getName().endsWith("dom3.LSSerializerImpl"));
-    }
-
-    @Test
-    public void testDOMErrorHandler() {
-
-        final String XML_DOCUMENT = "<?xml version=\"1.0\"?>" + "<hello>" + "world" + "</hello>";
-
-        StringReader stringReader = new StringReader(XML_DOCUMENT);
-        InputSource inputSource = new InputSource(stringReader);
-        Document doc = null;
-        try {
-            DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
-            // LSSerializer defaults to Namespace processing
-            // so parsing must also
-            documentBuilderFactory.setNamespaceAware(true);
-            DocumentBuilder parser = documentBuilderFactory.newDocumentBuilder();
-            doc = parser.parse(inputSource);
-
-        } catch (Throwable e) {
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-
-        DOMImplementation impl = doc.getImplementation();
-        DOMImplementationLS implLS = (DOMImplementationLS) impl.getFeature("LS", "3.0");
-        LSSerializer writer = implLS.createLSSerializer();
-
-        System.out.println("Serializer is: " + implLS.getClass().getName() + " " + implLS);
-
-        DOMErrorHandlerImpl eh = new DOMErrorHandlerImpl();
-        writer.getDomConfig().setParameter("error-handler", eh);
-
-        boolean serialized = false;
-        try {
-            serialized = writer.write(doc, new Output());
-
-            // unexpected success
-            Assert.fail("Serialized without raising an LSException due to " + "'no-output-specified'.");
-        } catch (LSException lsException) {
-            // expected exception
-            System.out.println("Expected LSException: " + lsException.toString());
-            // continue processing
-        }
-
-        Assert.assertFalse(serialized, "Expected writer.write(doc, new Output()) == false");
-
-        Assert.assertTrue(eh.NoOutputSpecifiedErrorReceived, "'no-output-specified' error was expected");
-    }
-
-    @Test
-    public void testFormatPrettyPrint() {
-
-        final String XML_DOCUMENT = "<?xml version=\"1.0\" encoding=\"UTF-16\"?>\n" + "<hello>" + "world" + "<child><children/><children/></child>"
-                + "</hello>";
-        /**JDK-8035467
-         * no newline in default output
-         */
-        final String XML_DOCUMENT_DEFAULT_PRINT =
-                "<?xml version=\"1.0\" encoding=\"UTF-16\"?>"
-                + "<hello>"
-                + "world"
-                + "<child><children/><children/></child>"
-                + "</hello>";
-
-        final String XML_DOCUMENT_PRETTY_PRINT = "<?xml version=\"1.0\" encoding=\"UTF-16\"?>" + "<hello>" + "world" + "<child>" + "\n" + "        "
-                + "<children/>" + "\n" + "        " + "<children/>" + "\n" + "    " + "</child>" + "\n" + "</hello>" + "\n";
-
-        // it all begins with a Document
-        DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
-        DocumentBuilder documentBuilder = null;
-        try {
-            documentBuilder = documentBuilderFactory.newDocumentBuilder();
-        } catch (ParserConfigurationException parserConfigurationException) {
-            parserConfigurationException.printStackTrace();
-            Assert.fail(parserConfigurationException.toString());
-        }
-        Document document = null;
-
-        StringReader stringReader = new StringReader(XML_DOCUMENT);
-        InputSource inputSource = new InputSource(stringReader);
-        try {
-            document = documentBuilder.parse(inputSource);
-        } catch (SAXException saxException) {
-            saxException.printStackTrace();
-            Assert.fail(saxException.toString());
-        } catch (IOException ioException) {
-            ioException.printStackTrace();
-            Assert.fail(ioException.toString());
-        }
-
-        // query DOM Interfaces to get to a LSSerializer
-        DOMImplementation domImplementation = documentBuilder.getDOMImplementation();
-        DOMImplementationLS domImplementationLS = (DOMImplementationLS) domImplementation;
-        LSSerializer lsSerializer = domImplementationLS.createLSSerializer();
-
-        System.out.println("Serializer is: " + lsSerializer.getClass().getName() + " " + lsSerializer);
-
-        // get configuration
-        DOMConfiguration domConfiguration = lsSerializer.getDomConfig();
-
-        // query current configuration
-        Boolean defaultFormatPrettyPrint = (Boolean) domConfiguration.getParameter(DOM_FORMAT_PRETTY_PRINT);
-        Boolean canSetFormatPrettyPrintFalse = (Boolean) domConfiguration.canSetParameter(DOM_FORMAT_PRETTY_PRINT, Boolean.FALSE);
-        Boolean canSetFormatPrettyPrintTrue = (Boolean) domConfiguration.canSetParameter(DOM_FORMAT_PRETTY_PRINT, Boolean.TRUE);
-
-        System.out.println(DOM_FORMAT_PRETTY_PRINT + " default/can set false/can set true = " + defaultFormatPrettyPrint + "/"
-                + canSetFormatPrettyPrintFalse + "/" + canSetFormatPrettyPrintTrue);
-
-        // test values
-        Assert.assertEquals(defaultFormatPrettyPrint, Boolean.FALSE, "Default value of " + DOM_FORMAT_PRETTY_PRINT + " should be " + Boolean.FALSE);
-
-        Assert.assertEquals(canSetFormatPrettyPrintFalse, Boolean.TRUE, "Can set " + DOM_FORMAT_PRETTY_PRINT + " to " + Boolean.FALSE + " should be "
-                + Boolean.TRUE);
-
-        Assert.assertEquals(canSetFormatPrettyPrintTrue, Boolean.TRUE, "Can set " + DOM_FORMAT_PRETTY_PRINT + " to " + Boolean.TRUE + " should be "
-                + Boolean.TRUE);
-
-        // get default serialization
-        String prettyPrintDefault = lsSerializer.writeToString(document);
-        System.out.println("(default) " + DOM_FORMAT_PRETTY_PRINT + "==" + (Boolean) domConfiguration.getParameter(DOM_FORMAT_PRETTY_PRINT)
-                + ": \n\"" + prettyPrintDefault + "\"");
-
-        Assert.assertEquals(XML_DOCUMENT_DEFAULT_PRINT, prettyPrintDefault, "Invalid serialization with default value, " + DOM_FORMAT_PRETTY_PRINT + "=="
-                + (Boolean) domConfiguration.getParameter(DOM_FORMAT_PRETTY_PRINT));
-
-        // configure LSSerializer to not format-pretty-print
-        domConfiguration.setParameter(DOM_FORMAT_PRETTY_PRINT, Boolean.FALSE);
-        String prettyPrintFalse = lsSerializer.writeToString(document);
-        System.out.println("(FALSE) " + DOM_FORMAT_PRETTY_PRINT + "==" + (Boolean) domConfiguration.getParameter(DOM_FORMAT_PRETTY_PRINT)
-                + ": \n\"" + prettyPrintFalse + "\"");
-
-        Assert.assertEquals(XML_DOCUMENT_DEFAULT_PRINT, prettyPrintFalse, "Invalid serialization with FALSE value, " + DOM_FORMAT_PRETTY_PRINT + "=="
-                + (Boolean) domConfiguration.getParameter(DOM_FORMAT_PRETTY_PRINT));
-
-        // configure LSSerializer to format-pretty-print
-        domConfiguration.setParameter(DOM_FORMAT_PRETTY_PRINT, Boolean.TRUE);
-        String prettyPrintTrue = lsSerializer.writeToString(document);
-        System.out.println("(TRUE) " + DOM_FORMAT_PRETTY_PRINT + "==" + (Boolean) domConfiguration.getParameter(DOM_FORMAT_PRETTY_PRINT)
-                + ": \n\"" + prettyPrintTrue + "\"");
-
-        Assert.assertEquals(XML_DOCUMENT_PRETTY_PRINT, prettyPrintTrue, "Invalid serialization with TRUE value, " + DOM_FORMAT_PRETTY_PRINT + "=="
-                + (Boolean) domConfiguration.getParameter(DOM_FORMAT_PRETTY_PRINT));
-    }
-
-    @Test
-    public void testXML11() {
-
-        /**
-         * XML 1.1 document to parse.
-         */
-        final String XML11_DOCUMENT = "<?xml version=\"1.1\" encoding=\"UTF-16\"?>\n" + "<hello>" + "world" + "<child><children/><children/></child>"
-                + "</hello>";
-
-        /**JDK-8035467
-         * no newline in default output
-         */
-        final String XML11_DOCUMENT_OUTPUT =
-                "<?xml version=\"1.1\" encoding=\"UTF-16\"?>"
-                + "<hello>"
-                + "world"
-                + "<child><children/><children/></child>"
-                + "</hello>";
-
-        // it all begins with a Document
-        DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
-        DocumentBuilder documentBuilder = null;
-        try {
-            documentBuilder = documentBuilderFactory.newDocumentBuilder();
-        } catch (ParserConfigurationException parserConfigurationException) {
-            parserConfigurationException.printStackTrace();
-            Assert.fail(parserConfigurationException.toString());
-        }
-        Document document = null;
-
-        StringReader stringReader = new StringReader(XML11_DOCUMENT);
-        InputSource inputSource = new InputSource(stringReader);
-        try {
-            document = documentBuilder.parse(inputSource);
-        } catch (SAXException saxException) {
-            saxException.printStackTrace();
-            Assert.fail(saxException.toString());
-        } catch (IOException ioException) {
-            ioException.printStackTrace();
-            Assert.fail(ioException.toString());
-        }
-
-        // query DOM Interfaces to get to a LSSerializer
-        DOMImplementation domImplementation = documentBuilder.getDOMImplementation();
-        DOMImplementationLS domImplementationLS = (DOMImplementationLS) domImplementation;
-        LSSerializer lsSerializer = domImplementationLS.createLSSerializer();
-
-        System.out.println("Serializer is: " + lsSerializer.getClass().getName() + " " + lsSerializer);
-
-        // get default serialization
-        String defaultSerialization = lsSerializer.writeToString(document);
-
-        System.out.println("XML 1.1 serialization = \"" + defaultSerialization + "\"");
-
-        // output should == input
-        Assert.assertEquals(XML11_DOCUMENT_OUTPUT, defaultSerialization, "Invalid serialization of XML 1.1 document: ");
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/ls/note_in_dtd.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0"?>
-<!-- Comment node-->
-<!DOCTYPE note [
-  <!ELEMENT note    (to,from,heading,body)>
-  <!ELEMENT to      (#PCDATA)>
-  <!ELEMENT from    (#PCDATA)>
-  <!ELEMENT heading (#PCDATA)>
-  <!ELEMENT body    (#PCDATA)>
-]>
-<note>
-<to>Tove</to>
-<from>Jani</from>
-<heading>Reminder</heading>
-<body>Don't forget me this weekend!</body>
-</note> 
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/test.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version='1.0'?>
-<test5 xmlns="testNS">the test</test5>
--- a/jaxp/test/javax/xml/jaxp/unittest/org/w3c/dom/test.xsd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?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:schema>
--- a/jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/Attributes2ImplTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,149 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.xml.sax;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.ext.Attributes2Impl;
-
-/*
- * @summary Test Attributes2Impl.
- */
-public class Attributes2ImplTest {
-
-    @Test
-    public void test01() {
-        System.out.println("===in test01()===");
-        Attributes2Impl impl = new Attributes2Impl();
-        impl.addAttribute("http://www.cars.com/xml", "attr1", "Qname1", "type", "value");
-        impl.addAttribute("http://www.cars.com/xml", "attr2", "Qname2", "type", "value");
-        impl.addAttribute("http://www.cars.com/xml", "attr3", "Qname3", "type", "value");
-
-        Assert.assertTrue(impl.isDeclared(0));
-        impl.setDeclared(0, false);
-        Assert.assertFalse(impl.isDeclared(0));
-
-        Assert.assertTrue(impl.isDeclared("Qname2"));
-        impl.setDeclared(1, false);
-        Assert.assertFalse(impl.isDeclared("Qname2"));
-
-        Assert.assertTrue(impl.isDeclared("http://www.cars.com/xml", "attr3"));
-        impl.setDeclared(2, false);
-        Assert.assertFalse(impl.isDeclared(2));
-
-        try {
-            impl.isDeclared(3);
-        } catch (ArrayIndexOutOfBoundsException e) {
-            System.out.println("Expected ArrayIndexOutOfBoundsException");
-        }
-
-        try {
-            impl.isDeclared("wrongQname");
-        } catch (IllegalArgumentException e) {
-            System.out.println("Expected IllegalArgumentException");
-        }
-
-        try {
-            impl.isDeclared("http://www.cars.com/xml", "attr4");
-        } catch (IllegalArgumentException e) {
-            System.out.println("Expected IllegalArgumentException");
-        }
-
-        impl.removeAttribute(2);
-        try {
-            impl.isDeclared(2);
-        } catch (ArrayIndexOutOfBoundsException e) {
-            System.out.println("Expected ArrayIndexOutOfBoundsException on index=2 after removing");
-        }
-    }
-
-    @Test
-    public void test02() {
-        System.out.println("===in test02()===");
-        Attributes2Impl impl = new Attributes2Impl();
-        impl.addAttribute("http://www.cars.com/xml", "attr1", "Qname1", "type", "value");
-        impl.addAttribute("http://www.cars.com/xml", "attr2", "Qname2", "type", "value");
-        impl.addAttribute("http://www.cars.com/xml", "attr3", "Qname3", "type", "value");
-
-        Assert.assertTrue(impl.isSpecified(0));
-        impl.setSpecified(0, false);
-        Assert.assertFalse(impl.isSpecified(0));
-
-        Assert.assertTrue(impl.isSpecified("Qname2"));
-        impl.setSpecified(1, false);
-        Assert.assertFalse(impl.isSpecified("Qname2"));
-
-        Assert.assertTrue(impl.isSpecified("http://www.cars.com/xml", "attr3"));
-        impl.setSpecified(2, false);
-        Assert.assertFalse(impl.isSpecified(2));
-
-        try {
-            impl.isSpecified(3);
-        } catch (ArrayIndexOutOfBoundsException e) {
-            System.out.println("Expected ArrayIndexOutOfBoundsException");
-        }
-
-        try {
-            impl.isSpecified("wrongQname");
-        } catch (IllegalArgumentException e) {
-            System.out.println("Expected IllegalArgumentException");
-        }
-
-        try {
-            impl.isSpecified("http://www.cars.com/xml", "attr4");
-        } catch (IllegalArgumentException e) {
-            System.out.println("Expected IllegalArgumentException");
-        }
-
-        impl.removeAttribute(2);
-        try {
-            impl.isSpecified(2);
-        } catch (ArrayIndexOutOfBoundsException e) {
-            System.out.println("Expected ArrayIndexOutOfBoundsException on index=2 after removing");
-        }
-    }
-
-    @Test
-    public void test03() {
-        System.out.println("===in test03()===");
-        Attributes2Impl impl1 = new Attributes2Impl();
-        impl1.addAttribute("http://www.cars.com/xml", "attr1", "Qname1", "type", "value");
-        impl1.addAttribute("http://www.cars.com/xml", "attr2", "Qname2", "type", "value");
-        impl1.addAttribute("http://www.cars.com/xml", "attr3", "Qname3", "type", "value");
-
-        Attributes2Impl impl2 = new Attributes2Impl(impl1);
-
-        Attributes2Impl impl3 = new Attributes2Impl();
-        impl3.setAttributes(impl1);
-
-        Assert.assertTrue(impl1.getQName(0).equals(impl2.getQName(0)));
-        Assert.assertTrue(impl1.getQName(0).equals(impl3.getQName(0)));
-
-        Assert.assertTrue(impl1.getQName(1).equals(impl2.getQName(1)));
-        Assert.assertTrue(impl1.getQName(1).equals(impl3.getQName(1)));
-
-        Assert.assertTrue(impl1.getQName(2).equals(impl2.getQName(2)));
-        Assert.assertTrue(impl1.getQName(2).equals(impl3.getQName(2)));
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/Bug6889654Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,83 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.xml.sax;
-
-import java.io.IOException;
-import java.io.StringReader;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 6889654
- * @summary Test SAXException includes whole information.
- */
-public class Bug6889654Test {
-
-    final String MSG = "Failed to parse XML";
-
-    @Test
-    public void testException() {
-        try {
-            parse();
-        } catch (SAXException e) {
-            // e.printStackTrace();
-            String msg = e.toString();
-            if (msg.indexOf("systemId") == -1) {
-                Assert.fail("CR6889654 -- details should be returned.");
-            }
-            if (msg.indexOf(MSG) == -1) {
-                Assert.fail("CR6889649 -- additional error message not returned.");
-            }
-            System.out.println("error message:\n" + msg);
-        }
-    }
-
-    void parse() throws SAXException {
-        String xml = "<data>\n<broken/>\u0000</data>";
-
-        try {
-            InputSource is = new InputSource(new StringReader(xml));
-            is.setSystemId("file:///path/to/some.xml");
-            // notice that exception thrown here doesn't include the line number
-            // information when reported by JVM -- CR6889654
-            SAXParserFactory.newInstance().newSAXParser().parse(is, new DefaultHandler());
-        } catch (SAXException e) {
-            // notice that this message isn't getting displayed -- CR6889649
-            throw new SAXException(MSG, e);
-        } catch (ParserConfigurationException pce) {
-
-        } catch (IOException ioe) {
-
-        }
-
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/Bug6925410Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.xml.sax;
-
-import javax.xml.datatype.DatatypeConfigurationException;
-
-import org.testng.annotations.Test;
-import org.testng.Assert;
-import org.xml.sax.helpers.XMLReaderFactory;
-
-/*
- * @bug 6925410
- * @summary Test XMLReaderFactory can createXMLReader repeatedly.
- */
-public class Bug6925410Test {
-
-    @Test
-    public void test() throws DatatypeConfigurationException {
-        try {
-            int times = 100;
-            long start = System.currentTimeMillis();
-            for (int i = 0; i < times; i++) {
-                XMLReaderFactory.createXMLReader();
-            }
-            long end = System.currentTimeMillis();
-            double speed = ((end - start));
-            System.out.println(speed + "ms");
-        } catch (Throwable e) {
-            e.printStackTrace();
-            Assert.fail(e.toString());
-        }
-
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/Bug6949607Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.xml.sax;
-
-import java.io.ByteArrayInputStream;
-
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.Attributes;
-import org.xml.sax.SAXException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 6949607
- * @summary Test Attributes.getValue returns null when parameter uri is empty.
- */
-public class Bug6949607Test {
-
-    final String MSG = "Failed to parse XML";
-    String textXML = "<prefix:rootElem xmlns:prefix=\"something\" prefix:attr=\"attrValue\" />";
-
-    @Test
-    public void testException() {
-        try {
-            SAXParserFactory factory = SAXParserFactory.newInstance();
-            factory.setNamespaceAware(true);
-            factory.setValidating(true);
-            SAXParser saxParser = factory.newSAXParser();
-
-            saxParser.parse(new ByteArrayInputStream(textXML.getBytes()), new TestFilter());
-
-        } catch (Throwable t) {
-            t.printStackTrace();
-        }
-    }
-
-    class TestFilter extends DefaultHandler {
-        @Override
-        public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException {
-            super.startElement(uri, localName, qName, atts);
-
-            String attr_WithNs = atts.getValue("something", "attr");
-            String attr_NoNs = atts.getValue("", "attr");
-
-            System.out.println("withNs: " + attr_WithNs);
-            System.out.println("NoNs: " + attr_NoNs);
-
-            Assert.assertTrue(attr_NoNs == null, "Should return null when uri is empty.");
-
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/Bug6992561Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.xml.sax;
-
-import java.io.ByteArrayInputStream;
-import java.io.IOException;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.ContentHandler;
-import org.xml.sax.InputSource;
-import org.xml.sax.Locator;
-import org.xml.sax.SAXException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 6992561
- * @summary Test encoding of SystemId in Locator.
- */
-public class Bug6992561Test {
-
-    @Test
-    public void test() {
-        ContentHandler handler = new DefaultHandler() {
-            public void setDocumentLocator(Locator locator) {
-                String sysId = locator.getSystemId();
-                System.out.println(locator.getSystemId());
-                if (sysId.indexOf("%7") > 0) {
-                    Assert.fail("the original system id should be left as is and not encoded.");
-                }
-            }
-        };
-
-        SAXParserFactory spf = SAXParserFactory.newInstance();
-        SAXParser parser;
-        try {
-            parser = spf.newSAXParser();
-
-            XMLReader reader = parser.getXMLReader();
-            reader.setContentHandler(handler);
-            String xml = "<test>abc</test>";
-            ByteArrayInputStream bis = new ByteArrayInputStream(xml.getBytes());
-            InputSource is = new InputSource("file:/home2/ramapulavarthi/w/bugs/jaxws861/foo~bla/test/src/wsdl/HelloTypes.xsd");
-            is.setByteStream(bis);
-            reader.parse(is);
-
-        } catch (ParserConfigurationException ex) {
-            Assert.fail(ex.toString());
-        } catch (SAXException ex) {
-            Assert.fail(ex.toString());
-        } catch (IOException ex) {
-            Assert.fail(ex.toString());
-        }
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/Bug7057778.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-
-
-
--- a/jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/Bug7057778Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,189 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.xml.sax;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.OutputStreamWriter;
-import java.io.UnsupportedEncodingException;
-import java.io.Writer;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.testng.annotations.Test;
-import org.testng.Assert;
-import org.xml.sax.Attributes;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.ext.DefaultHandler2;
-
-/*
- * @bug 7057778
- * @summary Test the file can be deleted after SAXParser.parse(File, DefaultHandler).
- */
-public class Bug7057778Test {
-
-    static final String xml = "Bug7057778.xml";
-    static final String xml1 = "Bug7057778_1.xml";
-
-    @Test
-    public void testParse() {
-        File src = new File(getClass().getResource(xml).getFile());
-        File dst = new File(src.getParent() + File.separator + xml1);
-        try {
-            copyFile(src, dst);
-            SAXParserFactory spf = SAXParserFactory.newInstance();
-            SAXParser parser = spf.newSAXParser();
-            XMLReader xmlReader = parser.getXMLReader();
-            xmlReader.setProperty("http://xml.org/sax/properties/lexical-handler", new MyHandler1());
-            parser.parse(dst, new MyHandler1());
-        } catch (SAXException ex) {
-            ex.printStackTrace();
-        } catch (IOException ex) {
-            // shouldn't happen
-        } catch (ParserConfigurationException ex) {
-            // shouldn't happen
-        }
-        if (dst != null) {
-            if (dst.delete()) {
-                System.out.println("Delete: OK");
-            } else {
-                System.out.println("Delete: NG");
-                Assert.fail("Error: denied to delete the file");
-            }
-        }
-
-    }
-
-    private void copyFile(File src, File dst) throws FileNotFoundException, IOException {
-        InputStream in = new FileInputStream(src);
-        OutputStream out = new FileOutputStream(dst);
-        // Transfer bytes
-        byte[] buf = new byte[1024];
-        int len;
-        while ((len = in.read(buf)) > 0) {
-            out.write(buf, 0, len);
-        }
-        in.close();
-        out.close();
-    }
-
-    public class MyHandler1 extends DefaultHandler2 implements ErrorHandler {
-        private Writer out;
-
-        StringBuffer textBuffer;
-        private String indentString = "    "; // Amount to indent
-        private int indentLevel = 0;
-
-        public MyHandler1() {
-            try {
-                out = new OutputStreamWriter(System.out, "UTF8");
-            } catch (UnsupportedEncodingException ex) {
-                ex.printStackTrace();
-            }
-        }
-
-        public void startDocument() throws SAXException {
-        }
-
-        public void endDocument() throws SAXException {
-        }
-
-        public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
-            try {
-                System.out.println("uri: " + uri);
-                System.out.println("localName: " + localName);
-                System.out.println("qName: " + qName);
-            } catch (Exception e) {
-                throw new SAXException(e);
-            }
-
-        }
-
-        public void endElement(String uri, String localName, String qName) throws SAXException {
-        }
-
-        public void characters(char ch[], int start, int length) throws SAXException {
-        }
-
-        public void comment(char[] ch, int start, int length) {
-            String text = new String(ch, start, length);
-            // System.out.println(text);
-            try {
-                nl();
-                emit("COMMENT: " + text);
-            } catch (Exception e) {
-                e.printStackTrace();
-            }
-        }
-
-        public void error(SAXParseException exception) {
-            exception.printStackTrace();
-        }
-
-        public void fatalError(SAXParseException exception) {
-            exception.printStackTrace();
-        }
-
-        public void warning(SAXParseException exception) {
-            exception.printStackTrace();
-        }
-
-        // Wrap I/O exceptions in SAX exceptions, to
-        // suit handler signature requirements
-        private void emit(String s) throws SAXException {
-            try {
-                out.write(s);
-                out.flush();
-            } catch (IOException e) {
-                throw new SAXException("I/O error", e);
-            }
-        }
-
-        // Start a new line
-        // and indent the next line appropriately
-        private void nl() throws SAXException {
-            String lineEnd = System.getProperty("line.separator");
-
-            try {
-                out.write(lineEnd);
-
-                for (int i = 0; i < indentLevel; i++)
-                    out.write(indentString);
-            } catch (IOException e) {
-                throw new SAXException("I/O error", e);
-            }
-        }
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/DefaultHandler2Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,247 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.xml.sax;
-
-import java.io.IOException;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.testng.Assert;
-import org.testng.AssertJUnit;
-import org.testng.annotations.Test;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXNotRecognizedException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.ext.DefaultHandler2;
-import org.xml.sax.helpers.DefaultHandler;
-import org.xml.sax.helpers.ParserAdapter;
-import org.xml.sax.helpers.XMLFilterImpl;
-import org.xml.sax.helpers.XMLReaderFactory;
-
-/*
- * @summary Test DefaultHandler2.
- */
-public class DefaultHandler2Test {
-
-    @Test
-    public void testParse01() {
-        System.out.println("===in testParse01===");
-        try {
-            DefaultHandler handler = new MyDefaultHandler2();
-            SAXParserFactory saxFac = SAXParserFactory.newInstance();
-            System.out.println(saxFac.getFeature("http://xml.org/sax/features/use-locator2"));
-
-            // set use-entity-resolver2 as FALSE to use EntityResolver firstly.
-            saxFac.setFeature("http://xml.org/sax/features/use-entity-resolver2", false);
-            saxFac.setValidating(true);
-
-            SAXParser parser = saxFac.newSAXParser();
-            parser.setProperty("http://xml.org/sax/properties/lexical-handler", handler);
-            parser.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
-
-            parser.parse(this.getClass().getResource("toys.xml").getFile(), handler);
-        } catch (ParserConfigurationException e) {
-            e.printStackTrace();
-            Assert.fail("ParserConfigurationException in testParse01()");
-        } catch (SAXException e) {
-            e.printStackTrace();
-            Assert.fail("SAXException in testParse01()");
-        } catch (IOException e) {
-            e.printStackTrace();
-            Assert.fail("IOException in testParse01()");
-        }
-    }
-
-    @Test
-    public void testParse02() {
-        System.out.println("===in testParse02===");
-        try {
-            DefaultHandler handler = new MyDefaultHandler2();
-            SAXParserFactory saxFac = SAXParserFactory.newInstance();
-            System.out.println(saxFac.getFeature("http://xml.org/sax/features/use-locator2"));
-
-            // Enable namespace parsing
-            System.out.println(saxFac.getFeature("http://xml.org/sax/features/namespaces"));
-            saxFac.setNamespaceAware(true);
-
-            saxFac.setValidating(true);
-            SAXParser parser = saxFac.newSAXParser();
-            parser.setProperty("http://xml.org/sax/properties/lexical-handler", handler);
-            parser.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
-
-            parser.parse(this.getClass().getResource("toys.xml").getFile(), handler);
-        } catch (ParserConfigurationException e) {
-            e.printStackTrace();
-            Assert.fail("ParserConfigurationException in testParse02()");
-        } catch (SAXException e) {
-            e.printStackTrace();
-            Assert.fail("SAXException in testParse02()");
-        } catch (IOException e) {
-            e.printStackTrace();
-            Assert.fail("IOException in testParse02()");
-        }
-    }
-
-    @Test
-    public void testParse03() {
-        System.out.println("===in testParse03===");
-        try {
-            DefaultHandler handler = new MyDefaultHandler2();
-
-            XMLReader xmlReader = XMLReaderFactory.createXMLReader();
-            xmlReader.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
-            System.out.println("XMLReader : " + xmlReader.getProperty("http://xml.org/sax/properties/declaration-handler"));
-
-            SAXParserFactory saxFac = SAXParserFactory.newInstance();
-            SAXParser parser = saxFac.newSAXParser();
-            parser.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
-            System.out.println("SAXParser : " + parser.getProperty("http://xml.org/sax/properties/declaration-handler"));
-
-            // From https://docs.oracle.com/javase/7/docs/api,
-            // ParserAdapter.setProperty() and ParserAdapter.getProperty() does
-            // not support any property currently.
-            try {
-                ParserAdapter adapter = new ParserAdapter(parser.getParser());
-                System.out.println("ParserAdapter : " + adapter.getProperty("http://xml.org/sax/properties/declaration-handler"));
-            } catch (SAXNotRecognizedException e) {
-                System.out.println("Expected  SAXNotRecognizedException since ParserAdapter.getProperty() does not support any property currently");
-            }
-            try {
-                ParserAdapter adapter = new ParserAdapter(parser.getParser());
-                adapter.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
-            } catch (SAXNotRecognizedException e) {
-                System.out.println("Expected  SAXNotRecognizedException since ParserAdapter.setProperty() does not support any property currently");
-            }
-        } catch (SAXException e) {
-            e.printStackTrace();
-            Assert.fail("SAXException in testParse03()");
-        } catch (ParserConfigurationException e) {
-            e.printStackTrace();
-            Assert.fail("ParserConfigurationException in testParse03()");
-        }
-
-    }
-
-    @Test
-    public void testParse04() {
-        System.out.println("===in testParse04===");
-        try {
-            DefaultHandler handler = new MyDefaultHandler2();
-            XMLReader xmlReader = XMLReaderFactory.createXMLReader();
-            System.out.println(xmlReader.getFeature("http://xml.org/sax/features/namespaces"));
-            xmlReader.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
-            xmlReader.setProperty("http://xml.org/sax/properties/lexical-handler", handler);
-            xmlReader.setContentHandler(handler);
-
-            xmlReader.parse(this.getClass().getResource("toys.xml").getFile());
-
-        } catch (SAXException e) {
-            e.printStackTrace();
-            Assert.fail("SAXException in testParse04()");
-        } catch (IOException e) {
-            e.printStackTrace();
-            Assert.fail("IOException in testParse04()");
-        }
-    }
-
-    @Test
-    public void testParse05() {
-        System.out.println("===in testParse05===");
-        try {
-            DefaultHandler handler = new MyDefaultHandler2();
-            XMLReader xmlReader = XMLReaderFactory.createXMLReader();
-            XMLFilterImpl filterImpl = new XMLFilterImpl(xmlReader);
-            System.out.println(xmlReader.getFeature("http://xml.org/sax/features/namespaces"));
-            filterImpl.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
-            filterImpl.setProperty("http://xml.org/sax/properties/lexical-handler", handler);
-            filterImpl.setContentHandler(handler);
-
-            filterImpl.parse(this.getClass().getResource("toys.xml").getFile());
-
-        } catch (SAXException e) {
-            e.printStackTrace();
-            Assert.fail("SAXException in testParse05()");
-        } catch (IOException e) {
-            e.printStackTrace();
-            Assert.fail("IOException in testParse05()");
-        }
-    }
-
-    @Test
-    public void testParse06() {
-        System.out.println("===in testParse06===");
-        try {
-            DefaultHandler handler = new MyDefaultHandler2();
-            XMLReader xmlReader = XMLReaderFactory.createXMLReader();
-            XMLFilterImpl filterImpl = new XMLFilterImpl(xmlReader);
-            System.out.println(xmlReader.getFeature("http://xml.org/sax/features/namespaces"));
-            filterImpl.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
-            filterImpl.setProperty("http://xml.org/sax/properties/lexical-handler", handler);
-            filterImpl.setContentHandler(handler);
-
-            AssertJUnit.assertTrue(filterImpl.getProperty("http://xml.org/sax/properties/declaration-handler") instanceof DefaultHandler2);
-
-            // filterImpl.setFeature("http://xml.org/sax/features/external-general-entities",
-            // false) ;
-            // filterImpl.setFeature("http://xml.org/sax/features/external-parameter-entities",
-            // false) ;
-            filterImpl.skippedEntity("name2");
-
-            filterImpl.parse(this.getClass().getResource("toys.xml").getFile());
-        } catch (SAXException e) {
-            e.printStackTrace();
-            Assert.fail("SAXException in testParse06()");
-        } catch (IOException e) {
-            e.printStackTrace();
-            Assert.fail("IOException in testParse06()");
-        }
-    }
-
-    @Test
-    public void testParse07() {
-        System.out.println("===in testParse07===");
-        try {
-            DefaultHandler handler = new MyDefaultHandler2();
-            XMLReader xmlReader = XMLReaderFactory.createXMLReader();
-            XMLFilterImpl filterImpl = new XMLFilterImpl(xmlReader);
-            System.out.println(xmlReader.getFeature("http://xml.org/sax/features/namespaces"));
-            filterImpl.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
-            filterImpl.setProperty("http://xml.org/sax/properties/lexical-handler", handler);
-            filterImpl.setContentHandler(handler);
-            filterImpl.setErrorHandler(handler);
-            AssertJUnit.assertTrue(filterImpl.getProperty("http://xml.org/sax/properties/declaration-handler") instanceof DefaultHandler2);
-
-            filterImpl.setFeature("http://apache.org/xml/features/continue-after-fatal-error", true);
-            filterImpl.parse(this.getClass().getResource("toys_error.xml").getFile());
-        } catch (SAXException e) {
-            e.printStackTrace();
-            Assert.fail("SAXException in testParse07()");
-        } catch (IOException e) {
-            e.printStackTrace();
-            Assert.fail("IOException in testParse07()");
-        }
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/IssueTracker56Test.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,138 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.xml.sax;
-
-import java.io.IOException;
-import java.io.StringReader;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.testng.Assert;
-import org.testng.annotations.Test;
-import org.xml.sax.Attributes;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/*
- * @bug 6809409
- * @summary Test SAXException has Cause.
- */
-public class IssueTracker56Test {
-
-    @Test
-    public void testException() {
-        try {
-            SAXParserFactory spf = SAXParserFactory.newInstance();
-            SAXParser parser = spf.newSAXParser();
-            String xmlToParse = "<root>Issue 56: SAXException does not do the exception chaining properly</root>";
-            InputSource source = new InputSource(new StringReader(xmlToParse));
-            parser.parse(source, new MyHandler());
-        } catch (SAXException ex) {
-            System.out.println(ex.getCause());
-            if (ex.getCause() == null)
-                Assert.fail("failed chaining exception properly.");
-            // ex.printStackTrace(); //will not print out root cause without the
-            // fix
-        } catch (IOException ex) {
-            // shouldn't happen
-        } catch (ParserConfigurationException ex) {
-            // shouldn't happen
-        }
-    }
-
-    @Test
-    public void testWorkAround() throws Exception {
-        try {
-            SAXParserFactory spf = SAXParserFactory.newInstance();
-            SAXParser parser = spf.newSAXParser();
-            String xmlToParse = "<root>Issue 56: SAXException does not do the exception chaining properly</root>";
-            InputSource source = new InputSource(new StringReader(xmlToParse));
-            parser.parse(source, new MyHandler1());
-        } catch (SAXException ex) {
-            System.out.println(ex.getCause());
-            // ex.printStackTrace(); //will print out root cause
-        } catch (IOException ex) {
-            // shouldn't happen
-        } catch (ParserConfigurationException ex) {
-            // shouldn't happen
-        }
-
-    }
-
-    public class MyHandler extends DefaultHandler implements ErrorHandler {
-
-        public void startDocument() throws SAXException {
-        }
-
-        public void endDocument() throws SAXException {
-        }
-
-        public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
-            try {
-                System.out.println(uri);
-                System.out.println(uri.charAt(56));
-            } catch (Exception e) {
-                throw new SAXException(e);
-            }
-
-        }
-
-        public void endElement(String uri, String localName, String qName) throws SAXException {
-        }
-
-        public void characters(char ch[], int start, int length) throws SAXException {
-        }
-
-    }
-
-    public class MyHandler1 extends DefaultHandler implements ErrorHandler {
-
-        public void startDocument() throws SAXException {
-        }
-
-        public void endDocument() throws SAXException {
-        }
-
-        public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXExceptionExt {
-            try {
-                System.out.println(uri);
-                System.out.println(uri.charAt(56));
-            } catch (Exception e) {
-                throw new SAXExceptionExt(e);
-            }
-
-        }
-
-        public void endElement(String uri, String localName, String qName) throws SAXException {
-        }
-
-        public void characters(char ch[], int start, int length) throws SAXException {
-        }
-
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/MyDefaultHandler2.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,200 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.xml.sax;
-
-import java.io.IOException;
-
-import org.xml.sax.Attributes;
-import org.xml.sax.InputSource;
-import org.xml.sax.Locator;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.ext.Attributes2Impl;
-import org.xml.sax.ext.DefaultHandler2;
-import org.xml.sax.ext.Locator2;
-import org.xml.sax.ext.Locator2Impl;
-import org.xml.sax.helpers.XMLFilterImpl;
-import org.xml.sax.helpers.XMLReaderAdapter;
-
-public class MyDefaultHandler2 extends DefaultHandler2 {
-    Locator2Impl locator = new Locator2Impl();
-    StringBuffer currentValue = new StringBuffer();
-    String version = "customVersion";
-    String encoding = "customEncoding";
-
-    public void setDocumentLocator(Locator locator) {
-        this.locator = new Locator2Impl((Locator2) locator);
-        this.locator.setXMLVersion(version);
-        this.locator.setEncoding(encoding);
-    }
-
-    public void startDocument() throws SAXException {
-        super.startDocument();
-        System.out.println("startDocument() is invoked");
-        System.out.println(locator.getXMLVersion());
-        System.out.println(locator.getEncoding());
-    }
-
-    public void attributeDecl(String ename, String aname, String type, String mode, String value) throws SAXException {
-        super.attributeDecl(ename, aname, type, mode, value);
-        System.out.println("attributeDecl() is invoked for attr :" + aname);
-    }
-
-    public void elementDecl(String name, String model) throws SAXException {
-        super.elementDecl(name, model);
-        System.out.println("elementDecl() is invoked for element : " + name);
-    }
-
-    public void internalEntityDecl(String name, String value) throws SAXException {
-        super.internalEntityDecl(name, value);
-        System.out.println("internalEntityDecl() is invoked for entity : " + name);
-    }
-
-    public void externalEntityDecl(String name, String publicId, String systemId) throws SAXException {
-        super.externalEntityDecl(name, publicId, systemId);
-        System.out.println("externalEntityDecl() is invoked for entity : " + name);
-    }
-
-    public void comment(char[] ch, int start, int length) throws SAXException {
-        super.comment(ch, start, length);
-        System.out.println(new String(ch, start, length));
-    }
-
-    public void endDocument() throws SAXException {
-        super.endDocument();
-        System.out.println("\nendDocument() is invoked");
-    }
-
-    public void startCDATA() throws SAXException {
-        super.startCDATA();
-        System.out.println("startCDATA() is invoked");
-    }
-
-    public void endCDATA() throws SAXException {
-        super.endCDATA();
-        System.out.println("endCDATA() is invoked");
-    }
-
-    public void startEntity(String name) throws SAXException {
-        super.startEntity(name);
-        // System.out.println("startEntity() is invoked for entity : " + name) ;
-    }
-
-    public void endEntity(String name) throws SAXException {
-        super.endEntity(name);
-        // System.out.println("endEntity() is invoked for entity : " + name) ;
-    }
-
-    public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
-        super.startElement(uri, localName, qName, attributes);
-        if (qName.equals("toy")) {
-            Attributes2Impl impl = new Attributes2Impl();
-            impl.setAttributes(attributes);
-            System.out.println("\ntoy id=" + impl.getValue("id"));
-        } else if (qName.equals("price") || qName.equals("name")) {
-            System.out.print("       " + qName + " : ");
-            currentValue = new StringBuffer();
-        }
-    }
-
-    public void endElement(String uri, String localName, String qName) throws SAXException {
-        super.endElement(uri, localName, qName);
-        if (qName.equals("price") || qName.equals("name")) {
-            System.out.print(currentValue.toString());
-        }
-    }
-
-    public void startDTD(String name, String publicId, String systemId) throws SAXException {
-        super.startDTD(name, publicId, systemId);
-        System.out.println("startDTD() is invoked");
-    }
-
-    public void endDTD() throws SAXException {
-        super.endDTD();
-        System.out.println("endDTD() is invoked");
-    }
-
-    public void characters(char[] ch, int start, int length) {
-        // System.out.println(start + " " + length) ;
-        currentValue.append(ch, start, length);
-    }
-
-    public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException {
-        System.out.println("resolveEntity(publicId, systemId) is invoked");
-        return super.resolveEntity(publicId, systemId);
-    }
-
-    public InputSource resolveEntity(String name, String publicId, String baseURI, String systemId) throws SAXException, IOException {
-        System.out.println("resolveEntity(name, publicId, baseURI, systemId) is invoked");
-        return super.resolveEntity(name, publicId, baseURI, systemId);
-    }
-
-    public InputSource getExternalSubset(String name, String baseURI) throws SAXException, IOException {
-        System.out.println("getExternalSubset() is invoked");
-        return super.getExternalSubset(name, baseURI);
-    }
-
-    public void startPrefixMapping(String prefix, String uri) {
-        System.out.println("startPrefixMapping() is invoked for " + prefix + " : " + uri);
-        try {
-            new XMLReaderAdapter().startPrefixMapping(prefix, uri);
-        } catch (SAXException e) {
-            e.printStackTrace();
-        }
-    }
-
-    public void endPrefixMapping(String prefix) {
-        System.out.println("\nendPrefixMapping() is invoked for " + prefix);
-        try {
-            new XMLReaderAdapter().endPrefixMapping(prefix);
-        } catch (SAXException e) {
-            e.printStackTrace();
-        }
-    }
-
-    public void skippedEntity(String name) {
-        try {
-            System.out.println("skippedEntity() is invoked for : " + name);
-            new XMLReaderAdapter().skippedEntity(name);
-        } catch (SAXException e) {
-            e.printStackTrace();
-        }
-    }
-
-    public void error(SAXParseException e) throws SAXException {
-        System.out.println("error() is invoked for in ErrorHandler");
-        new XMLFilterImpl().warning(e);
-    }
-
-    public void fatalError(SAXParseException e) throws SAXException {
-        System.out.println("fatalError() is invoked for in ErrorHandler");
-        new XMLFilterImpl().warning(e);
-    }
-
-    public void warning(SAXParseException e) throws SAXException {
-        System.out.println("warning() is invoked for in ErrorHandler");
-        new XMLFilterImpl().warning(e);
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/NSSupportTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,228 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.xml.sax;
-
-import java.util.Enumeration;
-
-import org.testng.Assert;
-import org.testng.AssertJUnit;
-import org.testng.annotations.Test;
-import org.xml.sax.helpers.NamespaceSupport;
-
-/*
- * @summary Test NamespaceSupport.
- */
-public class NSSupportTest {
-
-    @Test
-    public void testProcessName() {
-        NamespaceSupport nssupport = new NamespaceSupport();
-
-        nssupport.pushContext();
-        nssupport.declarePrefix("", "http://www.java.com");
-        nssupport.declarePrefix("dc", "http://www.purl.org/dc");
-
-        String[] parts = new String[3];
-        nssupport.processName("dc:name1", parts, false);
-        Assert.assertTrue(parts[0].equals("http://www.purl.org/dc"));
-        Assert.assertTrue(parts[1].equals("name1"));
-        Assert.assertTrue(parts[2].equals("dc:name1"));
-
-        nssupport.processName("name2", parts, false);
-        Assert.assertTrue(parts[0].equals("http://www.java.com"));
-        Assert.assertTrue(parts[1].equals("name2"));
-        Assert.assertTrue(parts[2].equals("name2"));
-    }
-
-    @Test
-    public void testNamespaceDeclUris() {
-        String[] parts = new String[3];
-        NamespaceSupport nssupport = new NamespaceSupport();
-
-        nssupport.pushContext();
-        Assert.assertFalse(nssupport.isNamespaceDeclUris());
-        nssupport.declarePrefix("xmlns", "");
-        nssupport.processName("xmlns:name", parts, true);
-        Assert.assertNull(parts[0]);
-        Assert.assertNull(parts[1]);
-        Assert.assertNull(parts[2]);
-
-        nssupport.reset();
-
-        nssupport.setNamespaceDeclUris(true);
-        nssupport.declarePrefix("xmlns", "");
-        nssupport.processName("xmlns:name", parts, true);
-        Assert.assertTrue(parts[0].equals(NamespaceSupport.NSDECL));
-        Assert.assertTrue(parts[1].equals("name"));
-        Assert.assertTrue(parts[2].equals("xmlns:name"));
-
-        nssupport.reset();
-
-        nssupport.setNamespaceDeclUris(true);
-        nssupport.declarePrefix("xml", "");
-        nssupport.processName("xml:name", parts, true);
-        Assert.assertTrue(parts[0].equals(NamespaceSupport.XMLNS));
-        Assert.assertTrue(parts[1].equals("name"));
-        Assert.assertTrue(parts[2].equals("xml:name"));
-
-    }
-
-    @Test
-    public void testPopContext() {
-        String[] parts = new String[3];
-        NamespaceSupport nssupport = new NamespaceSupport();
-
-        nssupport.pushContext();
-        nssupport.declarePrefix("dc", "http://www.purl.org/dc");
-        Assert.assertEquals(nssupport.getPrefix("http://www.purl.org/dc"), "dc");
-
-        nssupport.popContext();
-        Assert.assertNull(nssupport.getPrefix("http://www.purl.org/dc"));
-        nssupport.processName("dc:name1", parts, false);
-        Assert.assertNull(parts[0]);
-        Assert.assertNull(parts[1]);
-        Assert.assertNull(parts[2]);
-    }
-
-    @Test
-    public void testPrefixAndUri1() {
-        boolean hasdc = false;
-        boolean hasdc1 = false;
-        boolean hasdc2 = false;
-        boolean hasdcnew = false;
-        NamespaceSupport nssupport = new NamespaceSupport();
-
-        nssupport.pushContext();
-        nssupport.declarePrefix("dc", "http://www.purl.org/dc");
-
-        nssupport.pushContext();
-        nssupport.declarePrefix("dc1", "http://www.purl.org/dc");
-        nssupport.declarePrefix("dc2", "http://www.purl.org/dc2");
-        nssupport.declarePrefix("dcnew", "http://www.purl.org/dcnew");
-
-        Enumeration enu1 = nssupport.getDeclaredPrefixes();
-        while (enu1.hasMoreElements()) {
-            String str = (String) enu1.nextElement();
-            if (str.equals("dc")) {
-                hasdc = true;
-            } else if (str.equals("dc1")) {
-                hasdc1 = true;
-            } else if (str.equals("dc2")) {
-                hasdc2 = true;
-            } else if (str.equals("dcnew")) {
-                hasdcnew = true;
-            }
-        }
-        AssertJUnit.assertTrue(hasdcnew && hasdc1 && hasdc2);
-        AssertJUnit.assertFalse(hasdc);
-    }
-
-    @Test
-    public void testPrefixAndUri2() {
-        boolean hasdc = false;
-        boolean hasdc1 = false;
-        boolean hasdc2 = false;
-        boolean hasdcnew = false;
-        NamespaceSupport nssupport = new NamespaceSupport();
-
-        nssupport.pushContext();
-        nssupport.declarePrefix("dc", "http://www.purl.org/dc");
-
-        nssupport.pushContext();
-        nssupport.declarePrefix("dc1", "http://www.purl.org/dc");
-        nssupport.declarePrefix("dc2", "http://www.purl.org/dc2");
-        nssupport.declarePrefix("dcnew", "http://www.purl.org/dcnew");
-
-        Enumeration enu1 = nssupport.getPrefixes();
-        while (enu1.hasMoreElements()) {
-            String str = (String) enu1.nextElement();
-            if (str.equals("dc")) {
-                hasdc = true;
-            } else if (str.equals("dc1")) {
-                hasdc1 = true;
-            } else if (str.equals("dc2")) {
-                hasdc2 = true;
-            } else if (str.equals("dcnew")) {
-                hasdcnew = true;
-            }
-        }
-        AssertJUnit.assertTrue(hasdcnew && hasdc1 && hasdc2 && hasdc);
-    }
-
-    @Test
-    public void testPrefixAndUri3() {
-        boolean hasdc = false;
-        boolean hasdc1 = false;
-        boolean hasdc2 = false;
-        boolean hasdcnew = false;
-        NamespaceSupport nssupport = new NamespaceSupport();
-
-        nssupport.pushContext();
-        nssupport.declarePrefix("dc", "http://www.purl.org/dc");
-
-        nssupport.pushContext();
-        nssupport.declarePrefix("dc1", "http://www.purl.org/dc");
-        nssupport.declarePrefix("dc2", "http://www.purl.org/dc2");
-        nssupport.declarePrefix("dcnew", "http://www.purl.org/dcnew");
-
-        Enumeration enu1 = nssupport.getPrefixes("http://www.purl.org/dc");
-        while (enu1.hasMoreElements()) {
-            String str = (String) enu1.nextElement();
-            if (str.equals("dc")) {
-                hasdc = true;
-            } else if (str.equals("dc1")) {
-                hasdc1 = true;
-            } else if (str.equals("dc2")) {
-                hasdc2 = true;
-            } else if (str.equals("dcnew")) {
-                hasdcnew = true;
-            }
-        }
-        AssertJUnit.assertTrue(hasdc1 && hasdc);
-        AssertJUnit.assertFalse(hasdc2);
-        AssertJUnit.assertFalse(hasdcnew);
-    }
-
-    @Test
-    public void testPrefixAndUri4() {
-        NamespaceSupport nssupport = new NamespaceSupport();
-
-        nssupport.pushContext();
-        nssupport.declarePrefix("dc", "http://www.purl.org/dc");
-
-        nssupport.pushContext();
-        nssupport.declarePrefix("dc1", "http://www.purl.org/dc");
-        nssupport.declarePrefix("dc2", "http://www.purl.org/dc2");
-        nssupport.declarePrefix("dcnew", "http://www.purl.org/dcnew");
-
-        AssertJUnit.assertTrue(nssupport.getURI("dc").equals("http://www.purl.org/dc"));
-        AssertJUnit.assertTrue(nssupport.getURI("dc1").equals("http://www.purl.org/dc"));
-        AssertJUnit.assertTrue(nssupport.getURI("dc2").equals("http://www.purl.org/dc2"));
-        AssertJUnit.assertTrue(nssupport.getURI("dcnew").equals("http://www.purl.org/dcnew"));
-
-        // Negative test
-        Assert.assertNull(nssupport.getURI("wrong_prefix"));
-        Assert.assertNull(nssupport.getURI(""));
-    }
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/SAXExceptionExt.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2014, 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 org.xml.sax;
-
-import org.xml.sax.SAXException;
-
-public class SAXExceptionExt extends SAXException {
-    private Exception exception;
-
-    public SAXExceptionExt(Exception e) {
-        super(e);
-        exception = e;
-    }
-
-    public Throwable getCause() {
-        return exception;
-    }
-
-}
--- a/jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/externalDTD.dtd	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<!ENTITY  name2 "toy2's name">
-<!ELEMENT name (#PCDATA)>
-<!ELEMENT price (#PCDATA)>
--- a/jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/toys.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE toys  [
-<!ENTITY   % external SYSTEM "externalDTD.dtd">
-%external;
-<!ELEMENT toys (toy*)>
-<!ELEMENT toy (name,price)>
-<!ATTLIST toy id CDATA #REQUIRED>
-<!ENTITY name1 "toy1's name">
-]>
-
-
-
-<!--
-    Document   : toys.xml
-    Created on : August 21, 2012
-    Author     : Patrick Zhang
-    Description: Sample test file for org.xml.sax.ext.DefaultHandler2
--->
-
-<ns1:toys xmlns:ns1="http://ns1.java.com">
-	<![CDATA[<greeting>Hello</greeting>]]>
-    <toy id="1">	
-        <name>&name1;</name>
-        <price>98470</price>
-    </toy>
-    <toy id="2">
-        <name>&name2;</name>
-        <price>345</price>
-    </toy>         
-</ns1:toys>
-
--- a/jaxp/test/javax/xml/jaxp/unittest/org/xml/sax/toys_error.xml	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE toys  [
-<!ENTITY   % external SYSTEM "externalDTD.dtd">
-%external;
-<!ELEMENT toys (toy*)>
-<!ELEMENT toy (name,price)>
-<!ATTLIST toy id CDATA #REQUIRED>
-<!ENTITY name1 "toy1's name">
-]>
-
-
-
-<!--
-    Document   : toys.xml
-    Created on : August 21, 2012
-    Author     : Patrick Zhang
-    Description: Sample test file for org.xml.sax.ext.DefaultHandler2
--->
-
-<ns1:toys xmlns:ns1="http://ns1.java.com">
-	<![CDATA[<greeting>Hello</greeting>]]>
-    <toy id="1">	
-        <name>&name1;</name>
-        <price>98470</price>
-    </toy>
-    <toy id="2">
-        <name>&name3;</name>
-        <price>345</price>
-    </toy>         
-</ns1:toys>
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug4674384_MAX_OCCURS_Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,66 @@
+/*
+ * 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 parsers;
+
+import java.io.File;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 4674384
+ * @summary Test large maxOccurs.
+ */
+public class Bug4674384_MAX_OCCURS_Test {
+
+    @Test
+    public final void testLargeMaxOccurs() {
+
+        String XML_FILE_NAME = "Bug4674384_MAX_OCCURS_Test.xml";
+
+        try {
+            // create and initialize the parser
+            SAXParserFactory spf = SAXParserFactory.newInstance();
+            spf.setNamespaceAware(true);
+            spf.setValidating(true);
+
+            SAXParser parser = spf.newSAXParser();
+            parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
+
+            File xmlFile = new File(getClass().getResource(XML_FILE_NAME).getPath());
+
+            parser.parse(xmlFile, new DefaultHandler());
+        } catch (Exception e) {
+            System.err.println("Failure: File " + XML_FILE_NAME + " was parsed with a large value of maxOccurs.");
+            e.printStackTrace();
+            Assert.fail("Failure: File " + XML_FILE_NAME + " was parsed with a large value of maxOccurs.  " + e.getMessage());
+        }
+
+        System.out.println("Success: File " + XML_FILE_NAME + " was parsed with a large value of maxOccurs.");
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug4674384_MAX_OCCURS_Test.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<test:a
+    xmlns:test="test"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="test Bug4674384_MAX_OCCURS_Test.xsd">
+<b>1</b>
+<b>2</b>
+</test:a>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug4674384_MAX_OCCURS_Test.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+
+<xsd:schema
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  xmlns="test"
+  targetNamespace="test">
+
+     <xsd:element name="a" type="A"/>
+     <xsd:complexType name="A">
+          <xsd:sequence>
+	       <xsd:element name="b" type="xsd:string" maxOccurs="3000"/>
+	  </xsd:sequence>
+     </xsd:complexType>
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug4934208.java	Mon Aug 17 11:18:31 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 parsers;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import org.xml.sax.XMLReader;
+
+import util.DraconianErrorHandler;
+
+/*
+ * @bug 4934208
+ * @summary Test SAXParser can parse keyref constraint with a selector that is a union xpath expression selecting a node and its child.
+ */
+public class Bug4934208 {
+    @Test
+    public void test1() throws Exception {
+        parse(new InputSource(Bug4934208.class.getResourceAsStream("test1.xml")));
+    }
+
+    @Test
+    public void test2() throws Exception {
+        try {
+            parse(new InputSource(Bug4934208.class.getResourceAsStream("test2.xml")));
+        } catch (SAXException e) {
+            Assert.assertTrue(e.getMessage().startsWith("cvc-complex-type.2.4.a"));
+        }
+    }
+
+    private void parse(InputSource is) throws Exception {
+        SAXParserFactory spf = SAXParserFactory.newInstance();
+        spf.setNamespaceAware(true);
+        spf.setValidating(true);
+        SAXParser parser = spf.newSAXParser();
+
+        parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
+        parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource", Bug4934208.class.getResourceAsStream("test.xsd"));
+
+        XMLReader r = parser.getXMLReader();
+
+        r.setErrorHandler(new DraconianErrorHandler());
+        r.parse(is);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug4967002.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,97 @@
+/*
+ * 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 parsers;
+
+import java.io.StringReader;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+
+/*
+ * @bug 4967002
+ * @summary Test DocumentBuilderFactory.newDocumentBuilder() throws ParserConfigurationException
+ * when it uses the "http://java.sun.com/xml/jaxp/properties/schemaSource" property
+ * and/or the "http://java.sun.com/xml/jaxp/properties/schemaLanguage" property
+ * in conjunction with setting a Schema object.
+ */
+public class Bug4967002 {
+    String schemaSource = "<?xml version='1.0'?>\n" + "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'>\n" + "  <xsd:element name='test101'>\n"
+            + "    <xsd:complexType>\n" + "      <xsd:attribute name='attr'/>\n" + "      <xsd:attribute name='attr2' default='DEF'/>\n"
+            + "    </xsd:complexType>\n" + "  </xsd:element>\n" + "</xsd:schema>\n";
+
+    Schema createSchema() {
+        SchemaFactory schFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        try {
+            Schema sch = schFactory.newSchema(new StreamSource(new StringReader(schemaSource)));
+            return sch;
+        } catch (Exception se) {
+            throw new IllegalStateException("No Schema : " + se);
+        }
+    }
+
+    @Test
+    public void test1() {
+        setAttr(true);
+    }
+
+    @Test
+    public void test2() {
+        setAttr(false);
+    }
+
+    void setAttr(boolean setSrc) {
+        DocumentBuilderFactory docBFactory = DocumentBuilderFactory.newInstance();
+        Schema sch = createSchema();
+        docBFactory.setSchema(sch);
+        docBFactory.setNamespaceAware(true);
+        docBFactory.setValidating(true);
+
+        final String aSchemaLanguage = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
+        final String aSchemaSource = "http://java.sun.com/xml/jaxp/properties/schemaSource";
+
+        docBFactory.setAttribute(aSchemaLanguage, "http://www.w3.org/2001/XMLSchema");
+        // System.out.println("---- Set schemaLanguage: " +
+        // docBFactory.getAttribute(aSchemaLanguage));
+        if (setSrc) {
+            docBFactory.setAttribute(aSchemaSource, new InputSource(new StringReader(schemaSource)));
+            // System.out.println("---- Set schemaSource: " +
+            // docBFactory.getAttribute(aSchemaSource));
+        }
+
+        try {
+            docBFactory.newDocumentBuilder();
+            Assert.fail("ParserConfigurationException expected");
+        } catch (ParserConfigurationException pce) {
+            return; // success
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug4985486.java	Mon Aug 17 11:18:31 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 parsers;
+
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 4985486
+ * @summary Test SAXParser can parse large characters(more than 10000).
+ */
+public class Bug4985486 {
+
+    @Test
+    public void test1() throws Exception {
+        SAXParserFactory spf = SAXParserFactory.newInstance();
+        System.out.println(spf.getClass().getName());
+        spf.setNamespaceAware(true);
+        spf.newSAXParser().parse(Bug4985486.class.getResourceAsStream("Bug4985486.xml"), new Handler());
+    }
+
+    private class Handler extends DefaultHandler {
+        StringBuffer buf = new StringBuffer();
+
+        public void characters(char[] ch, int start, int length) throws SAXException {
+            buf.append(ch, start, length);
+        }
+
+        public void endDocument() throws SAXException {
+            String contents = buf.toString();
+            Assert.assertTrue(contents.endsWith("[END]"));
+            while (contents.length() >= 10) {
+                Assert.assertTrue(contents.startsWith("0123456789"));
+                contents = contents.substring(10);
+            }
+        }
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug4985486.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.0"?>
+<root>0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789[END]</root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug4991020.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,52 @@
+/*
+ * 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 parsers;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.annotations.Test;
+
+/*
+ * @bug 4991020
+ * @summary Test XPath like "node_name/." can be parsed.
+ */
+public class Bug4991020 {
+
+    protected static SAXParser createParser() throws Exception {
+        SAXParserFactory spf = SAXParserFactory.newInstance();
+        spf.setNamespaceAware(true);
+        spf.setValidating(true);
+        SAXParser parser = spf.newSAXParser();
+        parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
+
+        return parser;
+    }
+
+    @Test
+    public void test1() throws Exception {
+        SAXParser parser = createParser();
+        parser.parse(Bug4991020.class.getResource("Bug4991020.xml").toExternalForm(), new util.DraconianErrorHandler());
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug4991020.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<test:root xmlns:test="test"
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            xsi:schemaLocation="test Bug4991020.xsd"
+><child>123</child></test:root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug4991020.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+             targetNamespace="test">
+     <xsd:element name="root">
+         <xsd:complexType>
+             <xsd:sequence>
+                 <xsd:element name="child" type="xsd:string"/>
+             </xsd:sequence>
+         </xsd:complexType>
+
+         <xsd:key name="key1">
+             <xsd:selector xpath="."/>
+             <xsd:field xpath="child/."/>
+         </xsd:key>
+     </xsd:element>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug4991946.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,52 @@
+/*
+ * 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 parsers;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.annotations.Test;
+
+/*
+ * @bug 4991946
+ * @summary Can parse the element type is anyType in the schema and is substituted by the simple type via the 'xsi:type' attribute in xml document.
+ */
+public class Bug4991946 {
+
+    protected static SAXParser createParser() throws Exception {
+        SAXParserFactory spf = SAXParserFactory.newInstance();
+        spf.setNamespaceAware(true);
+        spf.setValidating(true);
+        SAXParser parser = spf.newSAXParser();
+        parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
+
+        return parser;
+    }
+
+    @Test
+    public void test1() throws Exception {
+        SAXParser parser = createParser();
+        parser.parse(Bug4991946.class.getResource("Bug4991946.xml").toExternalForm(), new util.DraconianErrorHandler());
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug4991946.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<test:root xmlns:test="test"
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            xsi:schemaLocation="test Bug4991946.xsd"
+            xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+   <child xsi:type="xsd:string">123</child>
+</test:root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug4991946.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+             targetNamespace="test">
+     <xsd:element name="root">
+         <xsd:complexType>
+             <xsd:sequence>
+                 <xsd:element name="child" type="xsd:anyType"/>
+             </xsd:sequence>
+         </xsd:complexType>
+
+         <xsd:key name="key1">
+             <xsd:selector xpath="."/>
+             <xsd:field xpath="child"/>
+         </xsd:key>
+     </xsd:element>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug5010072.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,73 @@
+/*
+ * 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 parsers;
+
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 5010072
+ * @summary Test SchemaFactory throws SAXException if xpath is "@".
+ */
+public class Bug5010072 {
+
+    protected static class ErrorHandler extends DefaultHandler {
+        public int errorCounter = 0;
+
+        public void error(SAXParseException e) throws SAXException {
+
+            System.err.println("Error: " + "[[" + e.getPublicId() + "][" + e.getSystemId() + "]]" + "[[" + e.getLineNumber() + "][" + e.getColumnNumber()
+                    + "]]" + e);
+
+            errorCounter++;
+
+            throw e;
+        }
+
+        public void fatalError(SAXParseException e) throws SAXException {
+            System.err.println("Fatal Error: " + e);
+            errorCounter++;
+        }
+    }
+
+    @Test
+    public void test1() throws Exception {
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+        ErrorHandler errorHandler = new ErrorHandler();
+        schemaFactory.setErrorHandler(errorHandler);
+
+        try {
+            schemaFactory.newSchema(Bug5010072.class.getResource("Bug5010072.xsd"));
+            Assert.fail("should fail to compile");
+        } catch (SAXException e) {
+            ; // as expected
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug5010072.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+	<xsd:element name="root">
+		<xsd:complexType>
+			<xsd:sequence>
+				<xsd:element name="tid" maxOccurs="unbounded"/>
+			</xsd:sequence>
+		</xsd:complexType>
+		<xsd:unique id="foo123" name="uid">
+			<xsd:selector xpath=".//tid"/>
+			<xsd:field xpath="@"/>
+		</xsd:unique>
+	</xsd:element>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug5025825.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,85 @@
+/*
+ * 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 parsers;
+
+import java.io.StringReader;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 5025825
+ * @summary Test if SAXParserFactory set a Schema object, when SAXParser sets "http://java.sun.com/xml/jaxp/properties/schemaSource" property
+ * and/or "http://java.sun.com/xml/jaxp/properties/schemaLanguage" property, it shall throw SAXException.
+ */
+public class Bug5025825 {
+
+    String schemaSource = "<?xml version='1.0'?>\n" + "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'>\n" + "  <xsd:element name='test101'>\n"
+            + "    <xsd:complexType>\n" + "      <xsd:attribute name='attr'/>\n" + "      <xsd:attribute name='attr2' default='DEF'/>\n"
+            + "    </xsd:complexType>\n" + "  </xsd:element>\n" + "</xsd:schema>\n";
+
+    private Schema createSchema() throws SAXException {
+        SchemaFactory schFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        return schFactory.newSchema(new StreamSource(new StringReader(schemaSource)));
+    }
+
+    @Test
+    public void test1() throws Exception {
+        Schema sch = createSchema();
+        Assert.assertNotNull(sch);
+
+        SAXParserFactory spFactory = SAXParserFactory.newInstance();
+        spFactory.setNamespaceAware(true);
+        spFactory.setValidating(true);
+        spFactory.setSchema(sch);
+
+        SAXParser sParser = spFactory.newSAXParser();
+
+        final String aSchemaLanguage = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
+        final String aSchemaSource = "http://java.sun.com/xml/jaxp/properties/schemaSource";
+
+        try {
+            sParser.setProperty(aSchemaLanguage, "http://www.w3.org/2001/XMLSchema");
+            Assert.fail("---- Set schemaLanguage: " + sParser.getProperty(aSchemaLanguage));
+        } catch (SAXException e) {
+            ; // as expected
+        }
+
+        try {
+            sParser.setProperty(aSchemaSource, new InputSource(new StringReader(schemaSource)));
+            Assert.fail("---- Set schemaSource: " + sParser.getProperty(aSchemaSource));
+        } catch (SAXException e) {
+            ; // as expected
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6309988.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,380 @@
+/*
+ * 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 parsers;
+
+import java.io.File;
+import java.io.InputStream;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @bug 6309988
+ * @summary Test elementAttributeLimit, maxOccurLimit, entityExpansionLimit.
+ */
+public class Bug6309988 {
+
+    DocumentBuilderFactory dbf = null;
+    static boolean _isSecureMode = false;
+    static {
+        if (System.getSecurityManager() != null) {
+            _isSecureMode = true;
+            System.out.println("Security Manager is present");
+        } else {
+            System.out.println("Security Manager is NOT present");
+        }
+    }
+
+    /*
+     * Given XML document has more than 10000 attributes. Exception is expected
+     */
+    @Test
+    public void testDOMParserElementAttributeLimit() {
+        try {
+            dbf = DocumentBuilderFactory.newInstance();
+            DocumentBuilder parser = dbf.newDocumentBuilder();
+            Document doc = parser.parse(this.getClass().getResourceAsStream("DosTest.xml"));
+            Assert.fail("SAXParserException is expected, as given XML document contains more than 10000 attributes");
+        } catch (SAXParseException e) {
+            System.out.println(e.getMessage());
+        } catch (Exception e) {
+            Assert.fail("Exception " + e.getMessage());
+        }
+    }
+
+    /*
+     * Given XML document has more than 10000 attributes. It should report an
+     * error.
+     */
+    @Test
+    public void testDOMNSParserElementAttributeLimit() {
+        try {
+            dbf = DocumentBuilderFactory.newInstance();
+            dbf.setNamespaceAware(true);
+            DocumentBuilder parser = dbf.newDocumentBuilder();
+            Document doc = parser.parse(this.getClass().getResourceAsStream("DosTest.xml"));
+            Assert.fail("SAXParserException is expected, as given XML document contains more than 10000 attributes");
+        } catch (SAXParseException e) {
+            System.out.println(e.getMessage());
+        } catch (Exception e) {
+            Assert.fail("Exception " + e.getMessage());
+        }
+    }
+
+    /*
+     * Given XML document has more than 10000 attributes. Parsing this XML
+     * document in non-secure mode, should not report any error.
+     */
+    @Test
+    public void testDOMNSParserElementAttributeLimitWithoutSecureProcessing() {
+        if (_isSecureMode)
+            return; // jaxp secure feature can not be turned off when security
+                    // manager is present
+        try {
+            dbf = DocumentBuilderFactory.newInstance();
+            dbf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false);
+            dbf.setNamespaceAware(true);
+            DocumentBuilder parser = dbf.newDocumentBuilder();
+            Document doc = parser.parse(this.getClass().getResourceAsStream("DosTest.xml"));
+
+        } catch (SAXParseException e) {
+            Assert.fail(e.getMessage());
+        } catch (Exception e) {
+            Assert.fail("Exception " + e.getMessage());
+        }
+    }
+
+    /*
+     * Before 8014530: Given XML document has 3 attributes and System property
+     * is set to 2. Parsing this XML document in non-secure mode, should not
+     * report an error.
+     * After 8014530: System properties will override FSP, the result of this
+     * test should be the same as
+     * testSystemElementAttributeLimitWithSecureProcessing
+     */
+    @Test
+    public void testSystemElementAttributeLimitWithoutSecureProcessing() {
+        if (_isSecureMode)
+            return; // jaxp secure feature can not be turned off when security
+                    // manager is present
+        try {
+            dbf = DocumentBuilderFactory.newInstance();
+            dbf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false);
+            dbf.setNamespaceAware(true);
+            System.setProperty("elementAttributeLimit", "2");
+            DocumentBuilder parser = dbf.newDocumentBuilder();
+            Document doc = parser.parse(this.getClass().getResourceAsStream("DosTest3.xml"));
+
+            Assert.fail("SAXParserException is expected, as given XML document contains more than 2 attributes");
+        } catch (Exception e) {
+            String errMsg = e.getMessage();
+            Throwable cause = e.getCause();
+            if (cause != null) {
+                errMsg += cause.getMessage();
+            }
+            if (errMsg.contains("JAXP0001")) {
+                // expected
+            } else {
+                Assert.fail("Unexpected error: " + e.getMessage());
+            }
+        } finally {
+            System.clearProperty("elementAttributeLimit");
+        }
+    }
+
+    /*
+     * Given XML document has 3 attributes and System property is set to 2.
+     * Parsing this XML document in secure mode, should report an error.
+     */
+    @Test
+    public void testSystemElementAttributeLimitWithSecureProcessing() {
+        try {
+            dbf = DocumentBuilderFactory.newInstance();
+            dbf.setNamespaceAware(true);
+            System.setProperty("elementAttributeLimit", "2");
+            DocumentBuilder parser = dbf.newDocumentBuilder();
+            Document doc = parser.parse(this.getClass().getResourceAsStream("DosTest3.xml"));
+            Assert.fail("SAXParserException is expected, as given XML document contains more than 2 attributes");
+        } catch (SAXParseException e) {
+            System.out.println(e.getMessage());
+        } catch (Exception e) {
+            Assert.fail("Exception " + e.getMessage());
+        } finally {
+            System.setProperty("elementAttributeLimit", "");
+        }
+    }
+
+    /*
+     * Default value for secure processing feature should be true.
+     */
+    @Test
+    public void testDOMSecureProcessingDefaultValue() {
+        try {
+            dbf = DocumentBuilderFactory.newInstance();
+            Assert.assertTrue(dbf.getFeature(XMLConstants.FEATURE_SECURE_PROCESSING), "Default value for secureProcessing feature should be true");
+
+        } catch (Exception e) {
+            Assert.fail("Exception " + e.getMessage());
+        }
+    }
+
+    /*
+     * Default value for secure processing feature should be true.
+     */
+    @Test
+    public void testSAXSecureProcessingDefaultValue() {
+        try {
+            SAXParserFactory spf = SAXParserFactory.newInstance();
+            Assert.assertTrue(spf.getFeature(XMLConstants.FEATURE_SECURE_PROCESSING), "Default value for secureProcessing feature should be true");
+
+        } catch (Exception e) {
+            Assert.fail("Exception " + e.getMessage());
+        }
+    }
+
+    /*
+     * This method sets system property for maxOccurLimit=2 and secure process
+     * feature is off. Given doument contains more than 2 elements and hence an
+     * error should be reported.
+     */
+    @Test
+    public void testSystemMaxOccurLimitWithoutSecureProcessing() {
+        if (_isSecureMode)
+            return; // jaxp secure feature can not be turned off when security
+                    // manager is present
+        try {
+            SAXParserFactory spf = SAXParserFactory.newInstance();
+            spf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false);
+            spf.setValidating(true);
+            System.setProperty("maxOccurLimit", "2");
+            // Set the properties for Schema Validation
+            String SCHEMA_LANG = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
+            String SCHEMA_TYPE = "http://www.w3.org/2001/XMLSchema";
+            // Get the Schema location as a File object
+            File schemaFile = new File(this.getClass().getResource("toys.xsd").toURI());
+            // Get the parser
+            SAXParser parser = spf.newSAXParser();
+            parser.setProperty(SCHEMA_LANG, SCHEMA_TYPE);
+            parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource", schemaFile);
+
+            InputStream is = this.getClass().getResourceAsStream("toys.xml");
+            MyErrorHandler eh = new MyErrorHandler();
+            parser.parse(is, eh);
+            Assert.assertFalse(eh.errorOccured, "Not Expected Error");
+            System.setProperty("maxOccurLimit", "");
+        } catch (Exception e) {
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    /*
+     * This test will take longer time to execute( abt 120sec). This method
+     * tries to validate a document. This document contains an element whose
+     * maxOccur is '3002'. Since secure processing feature is off, document
+     * should be parsed without any errors.
+     */
+    @Test
+    public void testValidMaxOccurLimitWithOutSecureProcessing() {
+        if (_isSecureMode)
+            return; // jaxp secure feature can not be turned off when security
+                    // manager is present
+        try {
+            SAXParserFactory spf = SAXParserFactory.newInstance();
+            spf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false);
+            spf.setValidating(true);
+            // Set the properties for Schema Validation
+            String SCHEMA_LANG = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
+            String SCHEMA_TYPE = "http://www.w3.org/2001/XMLSchema";
+            // Get the Schema location as a File object
+            File schemaFile = new File(this.getClass().getResource("toys3002.xsd").toURI());
+            // Get the parser
+            SAXParser parser = spf.newSAXParser();
+            parser.setProperty(SCHEMA_LANG, SCHEMA_TYPE);
+            parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource", schemaFile);
+
+            InputStream is = this.getClass().getResourceAsStream("toys.xml");
+            MyErrorHandler eh = new MyErrorHandler();
+            parser.parse(is, eh);
+            Assert.assertFalse(eh.errorOccured, "Expected Error as maxOccurLimit is exceeded");
+
+        } catch (Exception e) {
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    /*
+     * Before 8014530: System property is set to 2. Given XML document has more
+     * than 2 entity references. Parsing this document in non-secure mode,
+     * should *not* report an error.
+     * After 8014530: System properties will override FSP, the result of this
+     * test should be the same as
+     * testSystemElementAttributeLimitWithSecureProcessing
+     */
+    @Test
+    public void testSystemEntityExpansionLimitWithOutSecureProcessing() {
+        if (_isSecureMode)
+            return; // jaxp secure feature can not be turned off when security
+                    // manager is present
+        try {
+            System.setProperty("entityExpansionLimit", "2");
+            dbf = DocumentBuilderFactory.newInstance();
+            dbf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false);
+            dbf.setValidating(true);
+            DocumentBuilder parser = dbf.newDocumentBuilder();
+            Document doc = parser.parse(this.getClass().getResourceAsStream("entity.xml"));
+            Assert.fail("SAXParserException is expected, as given XML document contains more 2 entity references");
+        } catch (Exception e) {
+            String errMsg = e.getMessage();
+            Throwable cause = e.getCause();
+            if (cause != null) {
+                errMsg += cause.getMessage();
+            }
+            if (errMsg.contains("JAXP0001")) {
+                // expected
+            } else {
+                Assert.fail("Unexpected error: " + e.getMessage());
+            }
+        } finally {
+            System.clearProperty("entityExpansionLimit");
+        }
+    }
+
+    /*
+     * System property is set to 2. Given XML document has more than 2 entity
+     * references. Parsing this document in secure mode, should report an error.
+     */
+    @Test
+    public void testSystemEntityExpansionLimitWithSecureProcessing() {
+        try {
+            dbf = DocumentBuilderFactory.newInstance();
+            dbf.setValidating(true);
+            System.setProperty("entityExpansionLimit", "2");
+            DocumentBuilder parser = dbf.newDocumentBuilder();
+            Document doc = parser.parse(this.getClass().getResourceAsStream("entity.xml"));
+            Assert.fail("SAXParserException is expected, as given XML document contains more 2 entity references");
+
+        } catch (SAXParseException e) {
+            System.out.println(e.getMessage());
+        } catch (Exception e) {
+            Assert.fail("Exception " + e.getMessage());
+        } finally {
+            System.setProperty("entityExpansionLimit", "");
+        }
+    }
+
+    /*
+     * Given XML document has more than 64000 entity references. Parsing this
+     * document in secure mode, should report an error.
+     */
+    @Test
+    public void testEntityExpansionLimitWithSecureProcessing() {
+        try {
+            dbf = DocumentBuilderFactory.newInstance();
+            dbf.setValidating(true);
+            DocumentBuilder parser = dbf.newDocumentBuilder();
+            Document doc = parser.parse(this.getClass().getResourceAsStream("entity64K.xml"));
+            Assert.fail("SAXParserException is expected, as given XML document contains more 2 entity references");
+
+        } catch (SAXParseException e) {
+            System.out.println(e.getMessage());
+        } catch (Exception e) {
+            Assert.fail("Exception " + e.getMessage());
+        } finally {
+            System.setProperty("entityExpansionLimit", "");
+        }
+    }
+
+    /*
+     * Given XML document has more than 64000 entity references. Parsing this
+     * document in non-secure mode, should not report any error.
+     */
+    @Test
+    public void testEntityExpansionLimitWithOutSecureProcessing() {
+        if (_isSecureMode)
+            return; // jaxp secure feature can not be turned off when security
+                    // manager is present
+        try {
+            dbf = DocumentBuilderFactory.newInstance();
+            dbf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false);
+            dbf.setValidating(true);
+            DocumentBuilder parser = dbf.newDocumentBuilder();
+            Document doc = parser.parse(this.getClass().getResourceAsStream("entity64K.xml"));
+
+        } catch (SAXParseException e) {
+            Assert.fail("Exception " + e.getMessage());
+        } catch (Exception e) {
+            Assert.fail("Exception " + e.getMessage());
+        } finally {
+            System.setProperty("entityExpansionLimit", "");
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6341770.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,74 @@
+/*
+ * 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 parsers;
+
+import java.io.File;
+import java.io.FileWriter;
+import java.io.PrintWriter;
+
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.Attributes;
+import org.xml.sax.SAXException;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 6341770
+ * @summary Test external entity linked to non-ASCII base URL.
+ */
+public class Bug6341770 {
+
+    // naming a file "aux" would fail on windows.
+    @Test
+    public void testNonAsciiURI() {
+        try {
+            File dir = File.createTempFile("sko\u0159ice", null);
+            dir.delete();
+            dir.mkdir();
+            File main = new File(dir, "main.xml");
+            PrintWriter w = new PrintWriter(new FileWriter(main));
+            w.println("<!DOCTYPE r [<!ENTITY aux SYSTEM \"aux1.xml\">]>");
+            w.println("<r>&aux;</r>");
+            w.flush();
+            w.close();
+            File aux = new File(dir, "aux1.xml");
+            w = new PrintWriter(new FileWriter(aux));
+            w.println("<x/>");
+            w.flush();
+            w.close();
+            System.out.println("Parsing: " + main);
+            SAXParserFactory.newInstance().newSAXParser().parse(main, new DefaultHandler() {
+                public void startElement(String uri, String localname, String qname, Attributes attr) throws SAXException {
+                    System.out.println("encountered <" + qname + ">");
+                }
+            });
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception: " + e.getMessage());
+        }
+        System.out.println("OK.");
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6361283.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,52 @@
+/*
+ * 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 parsers;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6361283
+ * @summary Test SAXParser returns version as 1.1 for XML 1.1 document.
+ */
+public class Bug6361283 {
+
+    @Test
+    public void testXMLVersion() {
+        try {
+            SAXParserFactory factory = SAXParserFactory.newInstance();
+            SAXParser parser = factory.newSAXParser();
+            Assert.assertTrue(factory.getFeature("http://xml.org/sax/features/use-locator2"), "use-locator2 should have value as true");
+            MyDefaultHandler dh = new MyDefaultHandler();
+            parser.parse(this.getClass().getResourceAsStream("catalog.xml"), dh);
+            Assert.assertTrue(dh.xmlVersion.equals("1.1"), "XML Document version should be 1.1");
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6506304Test.java	Mon Aug 17 11:18:31 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 parsers;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.XMLReader;
+
+/*
+ * @bug 6506304
+ * @summary Test MalformedURLException: unknown protocol won't be thrown when there is a space within the full path file name.
+ */
+public class Bug6506304Test {
+    public static boolean isWindows = false;
+    static {
+        if (System.getProperty("os.name").indexOf("Windows") > -1) {
+            isWindows = true;
+        }
+    };
+
+    @Test
+    public void testPath() throws Exception {
+        if (isWindows) {
+            try {
+                SAXParserFactory factory = SAXParserFactory.newInstance();
+                factory.setNamespaceAware(true);
+                SAXParser jaxpParser = factory.newSAXParser();
+                XMLReader reader = jaxpParser.getXMLReader();
+                reader.parse("C:/space error/x.xml");
+                System.exit(0);
+            } catch (Exception e) {
+                System.out.println(e.getMessage());
+                if (e.getMessage().equalsIgnoreCase("unknown protocol: c")) {
+                    Assert.fail("jdk5 allowed the above form");
+                } else if (e.getMessage().indexOf("(The system cannot find the path specified)") > 0) {
+                    // expected
+                }
+            }
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6518733.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,63 @@
+/*
+ * 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 parsers;
+
+import java.io.FileReader;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.Attributes;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6518733
+ * @summary Test SAX parser handles several attributes that each contain a newline within the attribute value.
+ */
+public class Bug6518733 {
+
+    @Test
+    public void test() {
+        SAXParserFactory factory = SAXParserFactory.newInstance();
+        try {
+            SAXParser saxParser = factory.newSAXParser();
+            saxParser.parse(new InputSource(new FileReader(getClass().getResource("Bug6518733.xml").getFile())), new Handler());
+        } catch (Exception ex) {
+            ex.printStackTrace();
+        }
+    }
+
+    static class Handler extends org.xml.sax.helpers.DefaultHandler {
+        public void startElement(String uri, String localName, String qName, Attributes attrs) throws SAXException {
+            // Make sure that the value of attribute q7 is "7 G"
+            if (qName.equals("obj")) {
+                Assert.assertTrue(attrs.getValue("", "q7").equals("7 G"));
+            }
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6518733.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+
+<obj
+
+q1="1
+A"
+
+q2="2
+B"
+
+q3="3
+C"
+
+q4="4
+D"
+
+q5="5
+E"
+
+q6="6
+F"
+
+q7="7
+G"
+
+q8="8
+H"
+
+q9="9
+I"
+
+/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6564400.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,176 @@
+/*
+ * 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 parsers;
+
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.Node;
+import org.w3c.dom.Text;
+import org.xml.sax.SAXException;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 6564400
+ * @summary Test ignorable whitespace handling with schema validation.
+ */
+public class Bug6564400 {
+    private boolean sawIgnorable = false;
+    Schema schema = null;
+
+    public Bug6564400(String name) {
+        String xsdFile = "Bug6564400.xsd";
+        File schemaFile = new File(xsdFile);
+
+        // Now attempt to load up the schema
+        try {
+            SchemaFactory schFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            schema = schFactory.newSchema(new StreamSource(getClass().getResourceAsStream(xsdFile)));
+        } catch (Exception e) {
+            // Nevermind, bad things will happen later
+        }
+    }
+
+    @Test
+    public void testDOM() throws ParserConfigurationException, SAXException, IOException {
+        InputStream xmlFile = getClass().getResourceAsStream("Bug6564400.xml");
+
+        // Set the options on the DocumentFactory to remove comments, remove
+        // whitespace
+        // and validate against the schema.
+        DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance();
+        docFactory.setIgnoringComments(true);
+        docFactory.setIgnoringElementContentWhitespace(true);
+        docFactory.setSchema(schema);
+
+        DocumentBuilder parser = docFactory.newDocumentBuilder();
+        Document xmlDoc = parser.parse(xmlFile);
+
+        boolean ok = dump(xmlDoc, true);
+        Assert.assertEquals(true, ok);
+    }
+
+    @Test
+    public void testSAX() throws ParserConfigurationException, SAXException, IOException {
+        InputStream xmlFile = getClass().getResourceAsStream("Bug6564400.xml");
+
+        // Parse with SAX
+        SAXParserFactory saxFactory = SAXParserFactory.newInstance();
+        saxFactory.setSchema(schema);
+
+        SAXParser saxparser = saxFactory.newSAXParser();
+
+        sawIgnorable = false;
+        saxparser.parse(xmlFile, new MyHandler());
+        Assert.assertEquals(true, sawIgnorable);
+    }
+
+    @Test
+    public void testConformantDOM() throws ParserConfigurationException, SAXException, IOException {
+        InputStream xmlFile = getClass().getResourceAsStream("Bug6564400.xml");
+
+        // Set the options on the DocumentFactory to remove comments, remove
+        // whitespace
+        // and validate against the schema.
+        DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance();
+        docFactory.setIgnoringComments(true);
+        docFactory.setIgnoringElementContentWhitespace(true);
+        docFactory.setSchema(schema);
+        docFactory.setFeature("http://java.sun.com/xml/schema/features/report-ignored-element-content-whitespace", true);
+
+        DocumentBuilder parser = docFactory.newDocumentBuilder();
+        Document xmlDoc = parser.parse(xmlFile);
+
+        boolean ok = dump(xmlDoc, true);
+        Assert.assertEquals(false, ok);
+    }
+
+    @Test
+    public void testConformantSAX() throws ParserConfigurationException, SAXException, IOException {
+        InputStream xmlFile = getClass().getResourceAsStream("Bug6564400.xml");
+
+        // Parse with SAX
+        SAXParserFactory saxFactory = SAXParserFactory.newInstance();
+        saxFactory.setSchema(schema);
+        saxFactory.setFeature("http://java.sun.com/xml/schema/features/report-ignored-element-content-whitespace", true);
+
+        SAXParser saxparser = saxFactory.newSAXParser();
+
+        sawIgnorable = false;
+        saxparser.parse(xmlFile, new MyHandler());
+        Assert.assertEquals(false, sawIgnorable);
+    }
+
+    private boolean dump(Node node) {
+        return dump(node, false);
+    }
+
+    private boolean dump(Node node, boolean silent) {
+        return dump(node, silent, 0);
+    }
+
+    private boolean dump(Node node, boolean silent, int depth) {
+        boolean ok = true;
+        if (!silent) {
+            for (int i = 0; i < depth; i++) {
+                System.out.print("  ");
+            }
+            System.out.println(node);
+        }
+
+        if (node.getNodeType() == Node.TEXT_NODE) {
+            String text = ((Text) node).getData();
+            ok = ok && text.trim().length() > 0;
+        }
+
+        if (node.getNodeType() == Node.ELEMENT_NODE || node.getNodeType() == Node.DOCUMENT_NODE) {
+            Node child = node.getFirstChild();
+            while (child != null) {
+                ok = ok && dump(child, silent, depth + 1);
+                child = child.getNextSibling();
+            }
+        }
+        return ok;
+    }
+
+    public class MyHandler extends DefaultHandler {
+        public void ignorableWhitespace(char[] ch, int start, int length) {
+            sawIgnorable = true;
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6564400.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,4 @@
+<Person>
+        <FirstName>Doofus</FirstName><!-- MONKEY -->
+        <LastName>McGee</LastName>
+</Person>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6564400.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,9 @@
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+  <xsd:element name='Person' type='PersonType'/>
+  <xsd:complexType name='PersonType'>
+                <xsd:sequence>
+                        <xsd:element name='FirstName' type='xsd:string'/>
+                        <xsd:element name='LastName' type='xsd:string'/>
+                </xsd:sequence>
+        </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6573786.java	Mon Aug 17 11:18:31 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 parsers;
+
+import java.io.InputStream;
+import java.io.StringBufferInputStream;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6573786
+ * @summary Test parser error messages are formatted.
+ */
+public class Bug6573786 {
+    String _cache = "";
+
+    @Test
+    public void test() {
+        final String XML = "" + "<?xml version='1.0' encoding='UTF-8' standalone='bad_value' ?>" + "<root />";
+
+        runTest(XML);
+
+    }
+
+    @Test
+    public void test1() {
+        final String XML = "" + "<?xml version='1.0' standalone='bad_value' encoding='UTF-8' ?>" + "<root />";
+        runTest(XML);
+
+    }
+
+    void runTest(String xmlString) {
+        Bug6573786ErrorHandler handler = new Bug6573786ErrorHandler();
+        try {
+            InputStream is = new StringBufferInputStream(xmlString);
+            SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
+            parser.parse(is, handler);
+        } catch (Exception e) {
+            if (handler.fail) {
+                Assert.fail("The value of standalone attribute should be merged into the error message.");
+            }
+        }
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6573786ErrorHandler.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,47 @@
+/*
+ * 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 parsers;
+
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+import org.xml.sax.helpers.DefaultHandler;
+
+public class Bug6573786ErrorHandler extends DefaultHandler {
+    public boolean fail = false;
+
+    public void fatalError(SAXParseException e) throws SAXException {
+        System.out.println(e.getMessage());
+        if (e.getMessage().indexOf("bad_value") < 0) {
+            fail = true;
+        }
+    } // fatalError ()
+
+    public void error(SAXParseException e) throws SAXException {
+        System.out.println(e.getMessage());
+    } // error ()
+
+    public void warning(SAXParseException e) throws SAXException {
+        System.out.println(e.getMessage());
+    } // warning ()
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6594813.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,171 @@
+/*
+ * 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 parsers;
+
+import java.io.StringReader;
+import java.io.StringWriter;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.sax.SAXSource;
+import javax.xml.transform.stream.StreamResult;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 6594813
+ * @summary Test SAXParser output is wellformed with name space.
+ */
+public class Bug6594813 {
+
+    public Bug6594813(String name) {
+    }
+
+    private static final String TESTXML = "<?xml version='1.0' ?>\n"
+            + "<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:ns1='http://faulttestservice.org/wsdl'>\n"
+            + "<soapenv:Body>\n" + "<soapenv:Fault xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'>\n" + "<faultcode>\n"
+            + "soapenv:Server</faultcode>\n" + "<faultstring>\n" + "com.sun.ts.tests.jaxws.sharedwebservices.faultservice.DummyException</faultstring>\n"
+            + "<detail>\n" + "<ns1:DummyException>\n" + "<dummyField1>\n" + "dummyString1</dummyField1>\n" + "<dummyField2>\n" + "dummyString2</dummyField2>\n"
+            + "</ns1:DummyException>\n" + "</detail>\n" + "</soapenv:Fault>\n" + "</soapenv:Body>\n" + "</soapenv:Envelope>\n";
+
+    // simplest XML to re-declare same prefix/namespace mappings
+    private static final String SIMPLE_TESTXML = "<?xml version='1.0' ?>\n" + "<prefix:ElementName xmlns:prefix='URI'>\n"
+            + "<prefix:ElementName xmlns:prefix='URI'>\n" + "</prefix:ElementName>\n" + "</prefix:ElementName>\n";
+
+    private String runTransform(SAXParser sp) throws Exception {
+        // Run identity transform using SAX parser
+        SAXSource src = new SAXSource(sp.getXMLReader(), new InputSource(new StringReader(TESTXML)));
+        Transformer transformer = TransformerFactory.newInstance().newTransformer();
+        StringWriter sw = new StringWriter();
+        transformer.transform(src, new StreamResult(sw));
+
+        String result = sw.getBuffer().toString();
+        // System.out.println(result);
+        return result;
+    }
+
+    private void checkWellFormedness(String xml) throws Exception {
+        SAXParserFactory spf = SAXParserFactory.newInstance();
+        spf.setNamespaceAware(true); // Same as default
+        spf.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
+        SAXParser sp = spf.newSAXParser();
+
+        // Re-parse output to make sure that it is well formed
+        sp.parse(new InputSource(new StringReader(xml)), new DefaultHandler());
+    }
+
+    /**
+     * Test an identity transform of an XML document with NS decls using a
+     * non-ns-aware parser. Output result to a StreamSource. Set ns-awareness to
+     * FALSE and prefixes to FALSE.
+     */
+    @Test
+    public void testXMLNoNsAwareStreamResult1() {
+        try {
+            // Create SAX parser *without* enabling ns
+            SAXParserFactory spf = SAXParserFactory.newInstance();
+            spf.setNamespaceAware(false); // Same as default
+            spf.setFeature("http://xml.org/sax/features/namespace-prefixes", false);
+            SAXParser sp = spf.newSAXParser();
+
+            // Make sure that the output is well formed
+            String xml = runTransform(sp);
+            checkWellFormedness(xml);
+        } catch (Throwable ex) {
+            Assert.fail(ex.toString());
+        }
+    }
+
+    /**
+     * Test an identity transform of an XML document with NS decls using a
+     * non-ns-aware parser. Output result to a StreamSource. Set ns-awareness to
+     * FALSE and prefixes to TRUE.
+     */
+    @Test
+    public void testXMLNoNsAwareStreamResult2() {
+        try {
+            // Create SAX parser *without* enabling ns
+            SAXParserFactory spf = SAXParserFactory.newInstance();
+            spf.setNamespaceAware(false); // Same as default
+            spf.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
+            SAXParser sp = spf.newSAXParser();
+
+            // Make sure that the output is well formed
+            String xml = runTransform(sp);
+            checkWellFormedness(xml);
+        } catch (Throwable ex) {
+            Assert.fail(ex.toString());
+        }
+    }
+
+    /**
+     * Test an identity transform of an XML document with NS decls using a
+     * non-ns-aware parser. Output result to a StreamSource. Set ns-awareness to
+     * TRUE and prefixes to FALSE.
+     */
+    @Test
+    public void testXMLNoNsAwareStreamResult3() {
+        try {
+            // Create SAX parser *without* enabling ns
+            SAXParserFactory spf = SAXParserFactory.newInstance();
+            spf.setNamespaceAware(true); // Same as default
+            spf.setFeature("http://xml.org/sax/features/namespace-prefixes", false);
+            SAXParser sp = spf.newSAXParser();
+
+            // Make sure that the output is well formed
+            String xml = runTransform(sp);
+            checkWellFormedness(xml);
+        } catch (Throwable ex) {
+            Assert.fail(ex.toString());
+        }
+    }
+
+    /**
+     * Test an identity transform of an XML document with NS decls using a
+     * non-ns-aware parser. Output result to a StreamSource. Set ns-awareness to
+     * TRUE and prefixes to TRUE.
+     */
+    @Test
+    public void testXMLNoNsAwareStreamResult4() {
+        try {
+            // Create SAX parser *without* enabling ns
+            SAXParserFactory spf = SAXParserFactory.newInstance();
+            spf.setNamespaceAware(true); // Same as default
+            spf.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
+            SAXParser sp = spf.newSAXParser();
+
+            // Make sure that the output is well formed
+            String xml = runTransform(sp);
+            checkWellFormedness(xml);
+        } catch (Throwable ex) {
+            Assert.fail(ex.toString());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6608841.dtd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,3 @@
+<!ENTITY % label.qname "IGNORE" >
+<!ENTITY % xhtml PUBLIC "-//W3C//DTD XHTML 1.1//EN" "Bug6608841_xhtml11-flat.dtd">
+%xhtml;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6608841.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,55 @@
+/*
+ * 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 parsers;
+
+import java.io.File;
+import java.io.IOException;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 6608841
+ * @summary Test SAX parses external parameter entity.
+ */
+public class Bug6608841 {
+    public Bug6608841(String name) {
+    }
+
+    @Test
+    public void testParse() throws ParserConfigurationException, SAXException, IOException {
+        String file = getClass().getResource("Bug6608841.xml").getFile();
+        SAXParserFactory spf = SAXParserFactory.newInstance();
+        SAXParser parser = spf.newSAXParser();
+        parser.parse(new File(file), new MyHandler());
+    }
+
+    public class MyHandler extends DefaultHandler {
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6608841.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,10 @@
+<!DOCTYPE html SYSTEM "Bug6608841.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Some Title</title>
+</head>
+<body>
+<h1>Some Title</h1>
+<p>This is a test. This is only a test.</p>
+</body>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6608841_xhtml11-flat.dtd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,1 @@
+<?doc type="doctype" role="title" { XHTML 1.1 } ?>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6690015.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,83 @@
+/*
+ * 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 parsers;
+
+import java.io.FileInputStream;
+
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.NamedNodeMap;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+import org.xml.sax.InputSource;
+
+/*
+ * @bug 6518733
+ * @summary Test SAX parser handles several attributes with newlines.
+ */
+public class Bug6690015 {
+
+    public Bug6690015() {
+    }
+
+    @Test
+    public void test() {
+        try {
+            FileInputStream fis = new FileInputStream(getClass().getResource("bug6690015.xml").getFile());
+
+            Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new InputSource(fis));
+            Element root = doc.getDocumentElement();
+            NodeList textnodes = root.getElementsByTagName("text");
+            int len = textnodes.getLength();
+            int index = 0;
+            int attindex = 0;
+            int attrlen = 0;
+            NamedNodeMap attrs = null;
+
+            while (index < len) {
+                Element te = (Element) textnodes.item(index);
+                attrs = te.getAttributes();
+                attrlen = attrs.getLength();
+                attindex = 0;
+                Node node = null;
+
+                while (attindex < attrlen) {
+                    node = attrs.item(attindex);
+                    System.out.println("attr: " + node.getNodeName() + " is shown holding value: " + node.getNodeValue());
+                    attindex++;
+                }
+                index++;
+                System.out.println("-------------");
+            }
+            fis.close();
+        } catch (Exception e) {
+            Assert.fail("Exception: " + e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6760982.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,164 @@
+/*
+ * 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 parsers;
+
+import java.io.File;
+import java.io.FileReader;
+import java.io.Reader;
+
+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.NamedNodeMap;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+import org.xml.sax.InputSource;
+
+/*
+ * @bug 6518733
+ * @summary Test SAX parser handles several attributes with containing "&gt;".
+ */
+public class Bug6760982 {
+
+    @Test
+    public void test() {
+        try {
+            Document xmlDoc = _Parse(new File(getClass().getResource("bug6760982.xml").getFile()));
+            Node node = xmlDoc.getDocumentElement();
+
+            _ProcessNode(node, 0);
+            _Flush();
+        } catch (Exception e) {
+            _ErrPrintln("Exception: " + e.toString());
+            Assert.fail("Exception: " + e.getMessage());
+        }
+    }
+
+    private static void _Flush() {
+        System.out.flush();
+        System.err.flush();
+    }
+
+    private static void _Println(String str, int level) {
+        for (int i = 0; i < level; i++)
+            System.out.print("    ");
+
+        System.out.println(str);
+        System.out.flush();
+    }
+
+    private static void _ErrPrintln(String aStr) {
+        System.out.flush();
+        System.err.println(aStr);
+        System.err.flush();
+    }
+
+    private static Document _Parse(File f) throws Exception {
+        FileReader rd = new FileReader(f);
+        Document doc = _Parse(rd);
+
+        rd.close();
+
+        return doc;
+    }
+
+    private static Document _Parse(Reader src) throws Exception {
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+
+        dbf.setValidating(false); // to improve performance
+
+        DocumentBuilder xmlParser = dbf.newDocumentBuilder();
+        InputSource is = new InputSource(src);
+
+        return xmlParser.parse(is);
+    }
+
+    private static void _PrintAttributes(Node n, int level) {
+        NamedNodeMap nnmap = n.getAttributes();
+
+        if (nnmap != null && nnmap.getLength() > 0) {
+            _Println("<attribs> (" + nnmap.getClass() + "):", level + 1);
+
+            for (int i = 0; i < nnmap.getLength(); i++) {
+                Node an = nnmap.item(i);
+
+                String nameStr = an.getNodeName();
+                String valueStr = an.getNodeValue();
+
+                if (valueStr != "")
+                    nameStr += " = " + valueStr;
+
+                _Println(nameStr, level + 2);
+            }
+        }
+    }
+
+    private static void _ProcessChildren(Node n, int level) throws Exception {
+        NodeList nlist = n.getChildNodes();
+
+        if (nlist != null)
+            for (int i = 0; i < nlist.getLength(); i++)
+                _ProcessNode(nlist.item(i), level + 1);
+    }
+
+    private static void _ProcessNode(Node n, int level) throws Exception {
+        n.getAttributes();
+        n.getChildNodes();
+
+        // At this point, for JVM 1.6 and Xerces <= 1.3.1,
+        // Test-XML.xml::mytest:Y's attribute is (already) bad.
+
+        switch (n.getNodeType()) {
+
+            case Node.TEXT_NODE:
+                String str = n.getNodeValue().trim();
+
+                /* ...Only print non-empty strings... */
+                if (str.length() > 0) {
+                    String valStr = n.getNodeValue();
+
+                    _Println(valStr, level);
+                }
+                break;
+
+            case Node.COMMENT_NODE:
+                break;
+
+            default: {
+                String nodeNameStr = n.getNodeName();
+
+                _Println(nodeNameStr + " (" + n.getClass() + "):", level);
+
+                /* ...Print children... */
+                _ProcessChildren(n, level);
+
+                /* ...Print optional node attributes... */
+                _PrintAttributes(n, level);
+            }
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug6849942Test.java	Mon Aug 17 11:18:31 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 parsers;
+
+import java.io.ByteArrayInputStream;
+
+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.ProcessingInstruction;
+import org.xml.sax.InputSource;
+
+/*
+ * @bug 6849942
+ * @summary Test parsing an XML that starts with a processing instruction and no prolog.
+ */
+public class Bug6849942Test {
+
+    @Test
+    public void test() throws Exception {
+        try {
+            ByteArrayInputStream bais = new ByteArrayInputStream("<?xmltarget foo?><test></test>".getBytes());
+            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+            DocumentBuilder xmlParser = factory.newDocumentBuilder();
+            // DOMParser p = new DOMParser();
+            Document document = xmlParser.parse(new InputSource(bais));
+            String result = ((ProcessingInstruction) document.getFirstChild()).getData();
+            System.out.println(result);
+            if (!result.equalsIgnoreCase("foo")) {
+                Assert.fail("missing PI data");
+            }
+
+        } catch (Exception e) {
+        }
+    }
+
+    @Test
+    public void testWProlog() throws Exception {
+        try {
+            ByteArrayInputStream bais = new ByteArrayInputStream("<?xml version=\"1.1\" encoding=\"UTF-8\"?><?xmltarget foo?><test></test>".getBytes());
+            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+            DocumentBuilder xmlParser = factory.newDocumentBuilder();
+            // DOMParser p = new DOMParser();
+            Document document = xmlParser.parse(new InputSource(bais));
+            String result = ((ProcessingInstruction) document.getFirstChild()).getData();
+            System.out.println(result);
+            if (!result.equalsIgnoreCase("foo")) {
+                Assert.fail("missing PI data");
+            }
+        } catch (Exception e) {
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug7157608.dtd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,1 @@
+<!ELEMENT arg (#PCDATA)>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug7157608.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+    Document   : test1.xml
+    Created on : 2012/04/13, 18:21
+    Author     : 10385373
+    Description:
+        Purpose of the document follows.
+-->
+
+<root>
+
+</root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug7157608Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,212 @@
+/*
+ * 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 parsers;
+
+import java.io.File;
+import java.io.IOException;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 7157608
+ * @summary Test feature standard-uri-conformant works.
+ */
+public class Bug7157608Test {
+    public static boolean isWindows = false;
+    static {
+        if (System.getProperty("os.name").indexOf("Windows") > -1) {
+            isWindows = true;
+        }
+    };
+
+    String xml1, xml2;
+
+    @BeforeMethod
+    protected void setUp() throws IOException {
+        File file1 = new File(getClass().getResource("Bug7157608.xml").getFile());
+        xml1 = file1.getPath().replace("\\", "\\\\");
+        File file2 = new File(getClass().getResource("Bug7157608_1.xml").getFile());
+        xml2 = file2.getPath();
+    }
+
+    // case 1
+    // standard-uri-confomant is false
+    // dtd-validation is false
+    @Test
+    public void test1() {
+        if (isWindows) {
+            try {
+                ParserSettings ps = new ParserSettings();
+
+                DocumentBuilder db = getDocumentBuilder(ps);
+                InputSource is = new InputSource();
+                is.setSystemId(xml1);
+                Document doc = db.parse(is);
+                System.out.println("test1() :OK");
+            } catch (Exception e) {
+                Assert.fail("test1() :NG");
+
+            }
+        }
+    }
+
+    // case 2
+    // standard-uri-confomant is false
+    // dtd-validation is true
+    @Test
+    public void test2() {
+        if (isWindows) {
+            try {
+                ParserSettings ps = new ParserSettings();
+                ps.validating = true;
+
+                DocumentBuilder db = getDocumentBuilder(ps);
+                InputSource is = new InputSource(xml2);
+                Document doc = db.parse(is);
+                System.out.println("test2() :OK");
+            } catch (Exception e) {
+                Assert.fail("test2() :NG");
+                // logger.info(e.getMessage());
+            }
+        }
+    }
+
+    // case 3
+    // standard-uri-confomant is true
+    @Test
+    public void test3() {
+        if (isWindows) {
+            try {
+                ParserSettings ps = new ParserSettings();
+                ps.standardUriConformant = true;
+
+                DocumentBuilder db = getDocumentBuilder(ps);
+                InputSource is = new InputSource();
+                is.setSystemId(xml1);
+                Document doc = db.parse(is);
+                Assert.fail("test3() :NG");
+            } catch (IOException e) {
+                String returnedErr = e.getMessage();
+                String expectedStr = "Opaque part contains invalid character";
+
+                if (returnedErr.indexOf(expectedStr) >= 0) {
+                    System.out.println("test3() :OK");
+                } else {
+                    Assert.fail("test3() :NG");
+                }
+            } catch (Exception e) {
+                System.out.println("test3() :NG");
+            }
+        }
+    }
+
+    // case 4
+    // standard-uri-confomant is true
+    // dtd-validation is true
+    @Test
+    public void test4() {
+        if (isWindows) {
+            try {
+                ParserSettings ps = new ParserSettings();
+                ps.standardUriConformant = true;
+                ps.validating = true;
+
+                DocumentBuilder db = getDocumentBuilder(ps);
+                InputSource is = new InputSource(xml2);
+                Document doc = db.parse(is);
+                Assert.fail("test4() :NG");
+            } catch (IOException e) {
+                String returnedErr = e.getMessage();
+                String expectedStr = "Opaque part contains invalid character";
+
+                if (returnedErr.indexOf(expectedStr) >= 0) {
+                    System.out.println("test3() :OK");
+                } else {
+                    Assert.fail("test3() :NG");
+                }
+            } catch (Exception e) {
+                Assert.fail("test4() :NG");
+            }
+        }
+    }
+
+    public DocumentBuilder getDocumentBuilder(ParserSettings ps) {
+        DocumentBuilder db = null;
+        try {
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            if (ps.standardUriConformant) {
+                dbf.setFeature("http://apache.org/xml/features/standard-uri-conformant", true);
+            }
+            dbf.setValidating(ps.validating);
+            db = dbf.newDocumentBuilder();
+            db.setErrorHandler(new MyHandler());
+        } catch (Exception e) {
+            Assert.fail("standard-uri-conformant not recognized");
+        }
+        return db;
+    }
+
+    class MyHandler extends DefaultHandler {
+        @Override
+        public void warning(SAXParseException e) throws SAXException {
+            printDetail("**Warning**", e);
+        }
+
+        @Override
+        public void error(SAXParseException e) throws SAXException {
+            printDetail("**Error**", e);
+            throw new SAXException("Error encountered");
+        }
+
+        @Override
+        public void fatalError(SAXParseException e) throws SAXException {
+            printDetail("**Fatal Error**", e);
+            throw new SAXException("Fatal Error encountered");
+        }
+
+        public void printDetail(String msg, SAXParseException e) {
+            System.out.println(msg);
+            System.out.println(e.getMessage());
+            System.out.println("  Line:    " + e.getLineNumber());
+            System.out.println("  Column:  " + e.getColumnNumber());
+            System.out.println("  URI:     " + e.getSystemId());
+        }
+
+    }
+
+    class ParserSettings {
+        boolean standardUriConformant = false;
+        boolean validating = false;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug7157608_1.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+    Document   : test2.xml
+    Created on : 2012/04/13, 20:08
+    Author     : 10385373
+    Description:
+        Purpose of the document follows.
+-->
+
+<!DOCTYPE arg PUBLIC '-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN' 'Bug7157608.dtd'>
+<arg>
+test
+</arg>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug7166896Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,76 @@
+/*
+ * 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 parsers;
+
+import java.io.IOException;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 7166896
+ * @summary Test DocumentBuilder.parse(String uri) supports IPv6 format.
+ */
+public class Bug7166896Test {
+
+    @Test
+    public void test() throws Exception {
+        final String url = "http://[fe80::la03:73ff:fead:f7b0]/note.xml";
+        final DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
+        domFactory.setNamespaceAware(true);
+        DocumentBuilder builder;
+        Document doc = null;
+        System.out.println("URL is " + url);
+        try {
+            builder = domFactory.newDocumentBuilder();
+            // here comes the MalformedURLException. With Java6 / 7 it looks
+            // like this:
+            // java.net.MalformedURLException: For input string:
+            // ":la03:73ff:fead:f7b0%5D"
+            // which is not fine.
+            // with xerces 2.11.0 it complains about a non-existing host, which
+            // is fine
+            System.out.println("passing URL to DocumentBuilder.parse()");
+            doc = builder.parse(url);
+
+        } catch (SAXException e) {
+            e.printStackTrace();
+        } catch (IOException e) {
+            String em = e.getMessage();
+            System.err.println("Error message: " + em);
+            if (em.contains("For input string: \":la03:73ff:fead:f7b0%5D\"")) {
+                Assert.fail("failed to accept IPv6 address");
+            }
+        } catch (ParserConfigurationException e) {
+            e.printStackTrace();
+        }
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/Bug8073385.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,93 @@
+/*
+ * Copyright (c) 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 parsers;
+
+import java.io.StringReader;
+import java.util.Locale;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.DocumentBuilder;
+import org.xml.sax.SAXException;
+import org.xml.sax.InputSource;
+
+import org.testng.annotations.AfterClass;
+import org.testng.annotations.BeforeClass;
+import org.testng.annotations.DataProvider;
+import org.testng.annotations.Test;
+import static org.testng.Assert.assertTrue;
+
+/**
+ * @bug 8073385
+ * @summary test that invalid XML character exception string contains
+ *     information about character value, element and attribute names
+ */
+public class Bug8073385 {
+
+    private Locale defLoc;
+
+    @BeforeClass
+    private void setup() {
+        defLoc = Locale.getDefault();
+        Locale.setDefault(Locale.ENGLISH);
+    }
+
+    @AfterClass
+    private void cleanup() {
+        Locale.setDefault(defLoc);
+    }
+
+    @DataProvider(name = "illegalCharactersData")
+    public static Object[][] illegalCharactersData() {
+        return new Object[][]{
+            {0x00},
+            {0xFFFE},
+            {0xFFFF}
+        };
+    }
+
+    @Test(dataProvider = "illegalCharactersData")
+    public void test(int character) throws Exception {
+        // Construct the XML document as a String
+        int[] cps = new int[]{character};
+        String txt = new String(cps, 0, cps.length);
+        String inxml = "<topElement attTest=\'" + txt + "\'/>";
+        String exceptionText = "NO EXCEPTION OBSERVED";
+        String hexString = "0x" + Integer.toHexString(character);
+
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        dbf.setValidating(false);
+        DocumentBuilder db = dbf.newDocumentBuilder();
+        InputSource isrc = new InputSource(new StringReader(inxml));
+
+        try {
+            db.parse(isrc);
+        } catch (SAXException e) {
+            exceptionText = e.toString();
+        }
+        System.out.println("Got Exception:" + exceptionText);
+        assertTrue(exceptionText.contains("attribute \"attTest\""));
+        assertTrue(exceptionText.contains("element is \"topElement\""));
+        assertTrue(exceptionText.contains("Unicode: " + hexString));
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/DosTest.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2031 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<personnel>
+
+<person id="Big.Boss"  A100 = "" 
+A101 = "" A102 = "" A103 = "" A104 = "" A105 = "" A106 = "" A107 = "" A108 = "" A109 = "" A110 = "" 
+A111 = "" A112 = "" A113 = "" A114 = "" A115 = "" A116 = "" A117 = "" A118 = "" A119 = "" A120 = "" 
+A121 = "" A122 = "" A123 = "" A124 = "" A125 = "" A126 = "" A127 = "" A128 = "" A129 = "" A130 = "" 
+A131 = "" A132 = "" A133 = "" A134 = "" A135 = "" A136 = "" A137 = "" A138 = "" A139 = "" A140 = "" 
+A141 = "" A142 = "" A143 = "" A144 = "" A145 = "" A146 = "" A147 = "" A148 = "" A149 = "" A150 = "" 
+A151 = "" A152 = "" A153 = "" A154 = "" A155 = "" A156 = "" A157 = "" A158 = "" A159 = "" A160 = "" 
+A161 = "" A162 = "" A163 = "" A164 = "" A165 = "" A166 = "" A167 = "" A168 = "" A169 = "" A170 = "" 
+A171 = "" A172 = "" A173 = "" A174 = "" A175 = "" A176 = "" A177 = "" A178 = "" A179 = "" A180 = "" 
+A181 = "" A182 = "" A183 = "" A184 = "" A185 = "" A186 = "" A187 = "" A188 = "" A189 = "" A190 = "" 
+A191 = "" A192 = "" A193 = "" A194 = "" A195 = "" A196 = "" A197 = "" A198 = "" A199 = "" A200 = "" 
+A201 = "" A202 = "" A203 = "" A204 = "" A205 = "" A206 = "" A207 = "" A208 = "" A209 = "" A210 = "" 
+A211 = "" A212 = "" A213 = "" A214 = "" A215 = "" A216 = "" A217 = "" A218 = "" A219 = "" A220 = "" 
+A221 = "" A222 = "" A223 = "" A224 = "" A225 = "" A226 = "" A227 = "" A228 = "" A229 = "" A230 = "" 
+A231 = "" A232 = "" A233 = "" A234 = "" A235 = "" A236 = "" A237 = "" A238 = "" A239 = "" A240 = "" 
+A241 = "" A242 = "" A243 = "" A244 = "" A245 = "" A246 = "" A247 = "" A248 = "" A249 = "" A250 = "" 
+A251 = "" A252 = "" A253 = "" A254 = "" A255 = "" A256 = "" A257 = "" A258 = "" A259 = "" A260 = "" 
+A261 = "" A262 = "" A263 = "" A264 = "" A265 = "" A266 = "" A267 = "" A268 = "" A269 = "" A270 = "" 
+A271 = "" A272 = "" A273 = "" A274 = "" A275 = "" A276 = "" A277 = "" A278 = "" A279 = "" A280 = "" 
+A281 = "" A282 = "" A283 = "" A284 = "" A285 = "" A286 = "" A287 = "" A288 = "" A289 = "" A290 = "" 
+A291 = "" A292 = "" A293 = "" A294 = "" A295 = "" A296 = "" A297 = "" A298 = "" A299 = "" A300 = "" 
+A301 = "" A302 = "" A303 = "" A304 = "" A305 = "" A306 = "" A307 = "" A308 = "" A309 = "" A310 = "" 
+A311 = "" A312 = "" A313 = "" A314 = "" A315 = "" A316 = "" A317 = "" A318 = "" A319 = "" A320 = "" 
+A321 = "" A322 = "" A323 = "" A324 = "" A325 = "" A326 = "" A327 = "" A328 = "" A329 = "" A330 = "" 
+A331 = "" A332 = "" A333 = "" A334 = "" A335 = "" A336 = "" A337 = "" A338 = "" A339 = "" A340 = "" 
+A341 = "" A342 = "" A343 = "" A344 = "" A345 = "" A346 = "" A347 = "" A348 = "" A349 = "" A350 = "" 
+A351 = "" A352 = "" A353 = "" A354 = "" A355 = "" A356 = "" A357 = "" A358 = "" A359 = "" A360 = "" 
+A361 = "" A362 = "" A363 = "" A364 = "" A365 = "" A366 = "" A367 = "" A368 = "" A369 = "" A370 = "" 
+A371 = "" A372 = "" A373 = "" A374 = "" A375 = "" A376 = "" A377 = "" A378 = "" A379 = "" A380 = "" 
+A381 = "" A382 = "" A383 = "" A384 = "" A385 = "" A386 = "" A387 = "" A388 = "" A389 = "" A390 = "" 
+A391 = "" A392 = "" A393 = "" A394 = "" A395 = "" A396 = "" A397 = "" A398 = "" A399 = "" A400 = "" 
+A401 = "" A402 = "" A403 = "" A404 = "" A405 = "" A406 = "" A407 = "" A408 = "" A409 = "" A410 = "" 
+A411 = "" A412 = "" A413 = "" A414 = "" A415 = "" A416 = "" A417 = "" A418 = "" A419 = "" A420 = "" 
+A421 = "" A422 = "" A423 = "" A424 = "" A425 = "" A426 = "" A427 = "" A428 = "" A429 = "" A430 = "" 
+A431 = "" A432 = "" A433 = "" A434 = "" A435 = "" A436 = "" A437 = "" A438 = "" A439 = "" A440 = "" 
+A441 = "" A442 = "" A443 = "" A444 = "" A445 = "" A446 = "" A447 = "" A448 = "" A449 = "" A450 = "" 
+A451 = "" A452 = "" A453 = "" A454 = "" A455 = "" A456 = "" A457 = "" A458 = "" A459 = "" A460 = "" 
+A461 = "" A462 = "" A463 = "" A464 = "" A465 = "" A466 = "" A467 = "" A468 = "" A469 = "" A470 = "" 
+A471 = "" A472 = "" A473 = "" A474 = "" A475 = "" A476 = "" A477 = "" A478 = "" A479 = "" A480 = "" 
+A481 = "" A482 = "" A483 = "" A484 = "" A485 = "" A486 = "" A487 = "" A488 = "" A489 = "" A490 = "" 
+A491 = "" A492 = "" A493 = "" A494 = "" A495 = "" A496 = "" A497 = "" A498 = "" A499 = "" A500 = "" 
+A501 = "" A502 = "" A503 = "" A504 = "" A505 = "" A506 = "" A507 = "" A508 = "" A509 = "" A510 = "" 
+A511 = "" A512 = "" A513 = "" A514 = "" A515 = "" A516 = "" A517 = "" A518 = "" A519 = "" A520 = "" 
+A521 = "" A522 = "" A523 = "" A524 = "" A525 = "" A526 = "" A527 = "" A528 = "" A529 = "" A530 = "" 
+A531 = "" A532 = "" A533 = "" A534 = "" A535 = "" A536 = "" A537 = "" A538 = "" A539 = "" A540 = "" 
+A541 = "" A542 = "" A543 = "" A544 = "" A545 = "" A546 = "" A547 = "" A548 = "" A549 = "" A550 = "" 
+A551 = "" A552 = "" A553 = "" A554 = "" A555 = "" A556 = "" A557 = "" A558 = "" A559 = "" A560 = "" 
+A561 = "" A562 = "" A563 = "" A564 = "" A565 = "" A566 = "" A567 = "" A568 = "" A569 = "" A570 = "" 
+A571 = "" A572 = "" A573 = "" A574 = "" A575 = "" A576 = "" A577 = "" A578 = "" A579 = "" A580 = "" 
+A581 = "" A582 = "" A583 = "" A584 = "" A585 = "" A586 = "" A587 = "" A588 = "" A589 = "" A590 = "" 
+A591 = "" A592 = "" A593 = "" A594 = "" A595 = "" A596 = "" A597 = "" A598 = "" A599 = "" A600 = "" 
+A601 = "" A602 = "" A603 = "" A604 = "" A605 = "" A606 = "" A607 = "" A608 = "" A609 = "" A610 = "" 
+A611 = "" A612 = "" A613 = "" A614 = "" A615 = "" A616 = "" A617 = "" A618 = "" A619 = "" A620 = "" 
+A621 = "" A622 = "" A623 = "" A624 = "" A625 = "" A626 = "" A627 = "" A628 = "" A629 = "" A630 = "" 
+A631 = "" A632 = "" A633 = "" A634 = "" A635 = "" A636 = "" A637 = "" A638 = "" A639 = "" A640 = "" 
+A641 = "" A642 = "" A643 = "" A644 = "" A645 = "" A646 = "" A647 = "" A648 = "" A649 = "" A650 = "" 
+A651 = "" A652 = "" A653 = "" A654 = "" A655 = "" A656 = "" A657 = "" A658 = "" A659 = "" A660 = "" 
+A661 = "" A662 = "" A663 = "" A664 = "" A665 = "" A666 = "" A667 = "" A668 = "" A669 = "" A670 = "" 
+A671 = "" A672 = "" A673 = "" A674 = "" A675 = "" A676 = "" A677 = "" A678 = "" A679 = "" A680 = "" 
+A681 = "" A682 = "" A683 = "" A684 = "" A685 = "" A686 = "" A687 = "" A688 = "" A689 = "" A690 = "" 
+A691 = "" A692 = "" A693 = "" A694 = "" A695 = "" A696 = "" A697 = "" A698 = "" A699 = "" A700 = "" 
+A701 = "" A702 = "" A703 = "" A704 = "" A705 = "" A706 = "" A707 = "" A708 = "" A709 = "" A710 = "" 
+A711 = "" A712 = "" A713 = "" A714 = "" A715 = "" A716 = "" A717 = "" A718 = "" A719 = "" A720 = "" 
+A721 = "" A722 = "" A723 = "" A724 = "" A725 = "" A726 = "" A727 = "" A728 = "" A729 = "" A730 = "" 
+A731 = "" A732 = "" A733 = "" A734 = "" A735 = "" A736 = "" A737 = "" A738 = "" A739 = "" A740 = "" 
+A741 = "" A742 = "" A743 = "" A744 = "" A745 = "" A746 = "" A747 = "" A748 = "" A749 = "" A750 = "" 
+A751 = "" A752 = "" A753 = "" A754 = "" A755 = "" A756 = "" A757 = "" A758 = "" A759 = "" A760 = "" 
+A761 = "" A762 = "" A763 = "" A764 = "" A765 = "" A766 = "" A767 = "" A768 = "" A769 = "" A770 = "" 
+A771 = "" A772 = "" A773 = "" A774 = "" A775 = "" A776 = "" A777 = "" A778 = "" A779 = "" A780 = "" 
+A781 = "" A782 = "" A783 = "" A784 = "" A785 = "" A786 = "" A787 = "" A788 = "" A789 = "" A790 = "" 
+A791 = "" A792 = "" A793 = "" A794 = "" A795 = "" A796 = "" A797 = "" A798 = "" A799 = "" A800 = "" 
+A801 = "" A802 = "" A803 = "" A804 = "" A805 = "" A806 = "" A807 = "" A808 = "" A809 = "" A810 = "" 
+A811 = "" A812 = "" A813 = "" A814 = "" A815 = "" A816 = "" A817 = "" A818 = "" A819 = "" A820 = "" 
+A821 = "" A822 = "" A823 = "" A824 = "" A825 = "" A826 = "" A827 = "" A828 = "" A829 = "" A830 = "" 
+A831 = "" A832 = "" A833 = "" A834 = "" A835 = "" A836 = "" A837 = "" A838 = "" A839 = "" A840 = "" 
+A841 = "" A842 = "" A843 = "" A844 = "" A845 = "" A846 = "" A847 = "" A848 = "" A849 = "" A850 = "" 
+A851 = "" A852 = "" A853 = "" A854 = "" A855 = "" A856 = "" A857 = "" A858 = "" A859 = "" A860 = "" 
+A861 = "" A862 = "" A863 = "" A864 = "" A865 = "" A866 = "" A867 = "" A868 = "" A869 = "" A870 = "" 
+A871 = "" A872 = "" A873 = "" A874 = "" A875 = "" A876 = "" A877 = "" A878 = "" A879 = "" A880 = "" 
+A881 = "" A882 = "" A883 = "" A884 = "" A885 = "" A886 = "" A887 = "" A888 = "" A889 = "" A890 = "" 
+A891 = "" A892 = "" A893 = "" A894 = "" A895 = "" A896 = "" A897 = "" A898 = "" A899 = "" A900 = "" 
+A901 = "" A902 = "" A903 = "" A904 = "" A905 = "" A906 = "" A907 = "" A908 = "" A909 = "" A910 = "" 
+A911 = "" A912 = "" A913 = "" A914 = "" A915 = "" A916 = "" A917 = "" A918 = "" A919 = "" A920 = "" 
+A921 = "" A922 = "" A923 = "" A924 = "" A925 = "" A926 = "" A927 = "" A928 = "" A929 = "" A930 = "" 
+A931 = "" A932 = "" A933 = "" A934 = "" A935 = "" A936 = "" A937 = "" A938 = "" A939 = "" A940 = "" 
+A941 = "" A942 = "" A943 = "" A944 = "" A945 = "" A946 = "" A947 = "" A948 = "" A949 = "" A950 = "" 
+A951 = "" A952 = "" A953 = "" A954 = "" A955 = "" A956 = "" A957 = "" A958 = "" A959 = "" A960 = "" 
+A961 = "" A962 = "" A963 = "" A964 = "" A965 = "" A966 = "" A967 = "" A968 = "" A969 = "" A970 = "" 
+A971 = "" A972 = "" A973 = "" A974 = "" A975 = "" A976 = "" A977 = "" A978 = "" A979 = "" A980 = "" 
+A981 = "" A982 = "" A983 = "" A984 = "" A985 = "" A986 = "" A987 = "" A988 = "" A989 = "" A990 = "" 
+A991 = "" A992 = "" A993 = "" A994 = "" A995 = "" A996 = "" A997 = "" A998 = "" A999 = "" A1000 = "" 
+A1001 = "" A1002 = "" A1003 = "" A1004 = "" A1005 = "" A1006 = "" A1007 = "" A1008 = "" A1009 = "" A1010 = "" 
+A1011 = "" A1012 = "" A1013 = "" A1014 = "" A1015 = "" A1016 = "" A1017 = "" A1018 = "" A1019 = "" A1020 = "" 
+A1021 = "" A1022 = "" A1023 = "" A1024 = "" A1025 = "" A1026 = "" A1027 = "" A1028 = "" A1029 = "" A1030 = "" 
+A1031 = "" A1032 = "" A1033 = "" A1034 = "" A1035 = "" A1036 = "" A1037 = "" A1038 = "" A1039 = "" A1040 = "" 
+A1041 = "" A1042 = "" A1043 = "" A1044 = "" A1045 = "" A1046 = "" A1047 = "" A1048 = "" A1049 = "" A1050 = "" 
+A1051 = "" A1052 = "" A1053 = "" A1054 = "" A1055 = "" A1056 = "" A1057 = "" A1058 = "" A1059 = "" A1060 = "" 
+A1061 = "" A1062 = "" A1063 = "" A1064 = "" A1065 = "" A1066 = "" A1067 = "" A1068 = "" A1069 = "" A1070 = "" 
+A1071 = "" A1072 = "" A1073 = "" A1074 = "" A1075 = "" A1076 = "" A1077 = "" A1078 = "" A1079 = "" A1080 = "" 
+A1081 = "" A1082 = "" A1083 = "" A1084 = "" A1085 = "" A1086 = "" A1087 = "" A1088 = "" A1089 = "" A1090 = "" 
+A1091 = "" A1092 = "" A1093 = "" A1094 = "" A1095 = "" A1096 = "" A1097 = "" A1098 = "" A1099 = "" A1100 = "" 
+A1101 = "" A1102 = "" A1103 = "" A1104 = "" A1105 = "" A1106 = "" A1107 = "" A1108 = "" A1109 = "" A1110 = "" 
+A1111 = "" A1112 = "" A1113 = "" A1114 = "" A1115 = "" A1116 = "" A1117 = "" A1118 = "" A1119 = "" A1120 = "" 
+A1121 = "" A1122 = "" A1123 = "" A1124 = "" A1125 = "" A1126 = "" A1127 = "" A1128 = "" A1129 = "" A1130 = "" 
+A1131 = "" A1132 = "" A1133 = "" A1134 = "" A1135 = "" A1136 = "" A1137 = "" A1138 = "" A1139 = "" A1140 = "" 
+A1141 = "" A1142 = "" A1143 = "" A1144 = "" A1145 = "" A1146 = "" A1147 = "" A1148 = "" A1149 = "" A1150 = "" 
+A1151 = "" A1152 = "" A1153 = "" A1154 = "" A1155 = "" A1156 = "" A1157 = "" A1158 = "" A1159 = "" A1160 = "" 
+A1161 = "" A1162 = "" A1163 = "" A1164 = "" A1165 = "" A1166 = "" A1167 = "" A1168 = "" A1169 = "" A1170 = "" 
+A1171 = "" A1172 = "" A1173 = "" A1174 = "" A1175 = "" A1176 = "" A1177 = "" A1178 = "" A1179 = "" A1180 = "" 
+A1181 = "" A1182 = "" A1183 = "" A1184 = "" A1185 = "" A1186 = "" A1187 = "" A1188 = "" A1189 = "" A1190 = "" 
+A1191 = "" A1192 = "" A1193 = "" A1194 = "" A1195 = "" A1196 = "" A1197 = "" A1198 = "" A1199 = "" A1200 = "" 
+A1201 = "" A1202 = "" A1203 = "" A1204 = "" A1205 = "" A1206 = "" A1207 = "" A1208 = "" A1209 = "" A1210 = "" 
+A1211 = "" A1212 = "" A1213 = "" A1214 = "" A1215 = "" A1216 = "" A1217 = "" A1218 = "" A1219 = "" A1220 = "" 
+A1221 = "" A1222 = "" A1223 = "" A1224 = "" A1225 = "" A1226 = "" A1227 = "" A1228 = "" A1229 = "" A1230 = "" 
+A1231 = "" A1232 = "" A1233 = "" A1234 = "" A1235 = "" A1236 = "" A1237 = "" A1238 = "" A1239 = "" A1240 = "" 
+A1241 = "" A1242 = "" A1243 = "" A1244 = "" A1245 = "" A1246 = "" A1247 = "" A1248 = "" A1249 = "" A1250 = "" 
+A1251 = "" A1252 = "" A1253 = "" A1254 = "" A1255 = "" A1256 = "" A1257 = "" A1258 = "" A1259 = "" A1260 = "" 
+A1261 = "" A1262 = "" A1263 = "" A1264 = "" A1265 = "" A1266 = "" A1267 = "" A1268 = "" A1269 = "" A1270 = "" 
+A1271 = "" A1272 = "" A1273 = "" A1274 = "" A1275 = "" A1276 = "" A1277 = "" A1278 = "" A1279 = "" A1280 = "" 
+A1281 = "" A1282 = "" A1283 = "" A1284 = "" A1285 = "" A1286 = "" A1287 = "" A1288 = "" A1289 = "" A1290 = "" 
+A1291 = "" A1292 = "" A1293 = "" A1294 = "" A1295 = "" A1296 = "" A1297 = "" A1298 = "" A1299 = "" A1300 = "" 
+A1301 = "" A1302 = "" A1303 = "" A1304 = "" A1305 = "" A1306 = "" A1307 = "" A1308 = "" A1309 = "" A1310 = "" 
+A1311 = "" A1312 = "" A1313 = "" A1314 = "" A1315 = "" A1316 = "" A1317 = "" A1318 = "" A1319 = "" A1320 = "" 
+A1321 = "" A1322 = "" A1323 = "" A1324 = "" A1325 = "" A1326 = "" A1327 = "" A1328 = "" A1329 = "" A1330 = "" 
+A1331 = "" A1332 = "" A1333 = "" A1334 = "" A1335 = "" A1336 = "" A1337 = "" A1338 = "" A1339 = "" A1340 = "" 
+A1341 = "" A1342 = "" A1343 = "" A1344 = "" A1345 = "" A1346 = "" A1347 = "" A1348 = "" A1349 = "" A1350 = "" 
+A1351 = "" A1352 = "" A1353 = "" A1354 = "" A1355 = "" A1356 = "" A1357 = "" A1358 = "" A1359 = "" A1360 = "" 
+A1361 = "" A1362 = "" A1363 = "" A1364 = "" A1365 = "" A1366 = "" A1367 = "" A1368 = "" A1369 = "" A1370 = "" 
+A1371 = "" A1372 = "" A1373 = "" A1374 = "" A1375 = "" A1376 = "" A1377 = "" A1378 = "" A1379 = "" A1380 = "" 
+A1381 = "" A1382 = "" A1383 = "" A1384 = "" A1385 = "" A1386 = "" A1387 = "" A1388 = "" A1389 = "" A1390 = "" 
+A1391 = "" A1392 = "" A1393 = "" A1394 = "" A1395 = "" A1396 = "" A1397 = "" A1398 = "" A1399 = "" A1400 = "" 
+A1401 = "" A1402 = "" A1403 = "" A1404 = "" A1405 = "" A1406 = "" A1407 = "" A1408 = "" A1409 = "" A1410 = "" 
+A1411 = "" A1412 = "" A1413 = "" A1414 = "" A1415 = "" A1416 = "" A1417 = "" A1418 = "" A1419 = "" A1420 = "" 
+A1421 = "" A1422 = "" A1423 = "" A1424 = "" A1425 = "" A1426 = "" A1427 = "" A1428 = "" A1429 = "" A1430 = "" 
+A1431 = "" A1432 = "" A1433 = "" A1434 = "" A1435 = "" A1436 = "" A1437 = "" A1438 = "" A1439 = "" A1440 = "" 
+A1441 = "" A1442 = "" A1443 = "" A1444 = "" A1445 = "" A1446 = "" A1447 = "" A1448 = "" A1449 = "" A1450 = "" 
+A1451 = "" A1452 = "" A1453 = "" A1454 = "" A1455 = "" A1456 = "" A1457 = "" A1458 = "" A1459 = "" A1460 = "" 
+A1461 = "" A1462 = "" A1463 = "" A1464 = "" A1465 = "" A1466 = "" A1467 = "" A1468 = "" A1469 = "" A1470 = "" 
+A1471 = "" A1472 = "" A1473 = "" A1474 = "" A1475 = "" A1476 = "" A1477 = "" A1478 = "" A1479 = "" A1480 = "" 
+A1481 = "" A1482 = "" A1483 = "" A1484 = "" A1485 = "" A1486 = "" A1487 = "" A1488 = "" A1489 = "" A1490 = "" 
+A1491 = "" A1492 = "" A1493 = "" A1494 = "" A1495 = "" A1496 = "" A1497 = "" A1498 = "" A1499 = "" A1500 = "" 
+A1501 = "" A1502 = "" A1503 = "" A1504 = "" A1505 = "" A1506 = "" A1507 = "" A1508 = "" A1509 = "" A1510 = "" 
+A1511 = "" A1512 = "" A1513 = "" A1514 = "" A1515 = "" A1516 = "" A1517 = "" A1518 = "" A1519 = "" A1520 = "" 
+A1521 = "" A1522 = "" A1523 = "" A1524 = "" A1525 = "" A1526 = "" A1527 = "" A1528 = "" A1529 = "" A1530 = "" 
+A1531 = "" A1532 = "" A1533 = "" A1534 = "" A1535 = "" A1536 = "" A1537 = "" A1538 = "" A1539 = "" A1540 = "" 
+A1541 = "" A1542 = "" A1543 = "" A1544 = "" A1545 = "" A1546 = "" A1547 = "" A1548 = "" A1549 = "" A1550 = "" 
+A1551 = "" A1552 = "" A1553 = "" A1554 = "" A1555 = "" A1556 = "" A1557 = "" A1558 = "" A1559 = "" A1560 = "" 
+A1561 = "" A1562 = "" A1563 = "" A1564 = "" A1565 = "" A1566 = "" A1567 = "" A1568 = "" A1569 = "" A1570 = "" 
+A1571 = "" A1572 = "" A1573 = "" A1574 = "" A1575 = "" A1576 = "" A1577 = "" A1578 = "" A1579 = "" A1580 = "" 
+A1581 = "" A1582 = "" A1583 = "" A1584 = "" A1585 = "" A1586 = "" A1587 = "" A1588 = "" A1589 = "" A1590 = "" 
+A1591 = "" A1592 = "" A1593 = "" A1594 = "" A1595 = "" A1596 = "" A1597 = "" A1598 = "" A1599 = "" A1600 = "" 
+A1601 = "" A1602 = "" A1603 = "" A1604 = "" A1605 = "" A1606 = "" A1607 = "" A1608 = "" A1609 = "" A1610 = "" 
+A1611 = "" A1612 = "" A1613 = "" A1614 = "" A1615 = "" A1616 = "" A1617 = "" A1618 = "" A1619 = "" A1620 = "" 
+A1621 = "" A1622 = "" A1623 = "" A1624 = "" A1625 = "" A1626 = "" A1627 = "" A1628 = "" A1629 = "" A1630 = "" 
+A1631 = "" A1632 = "" A1633 = "" A1634 = "" A1635 = "" A1636 = "" A1637 = "" A1638 = "" A1639 = "" A1640 = "" 
+A1641 = "" A1642 = "" A1643 = "" A1644 = "" A1645 = "" A1646 = "" A1647 = "" A1648 = "" A1649 = "" A1650 = "" 
+A1651 = "" A1652 = "" A1653 = "" A1654 = "" A1655 = "" A1656 = "" A1657 = "" A1658 = "" A1659 = "" A1660 = "" 
+A1661 = "" A1662 = "" A1663 = "" A1664 = "" A1665 = "" A1666 = "" A1667 = "" A1668 = "" A1669 = "" A1670 = "" 
+A1671 = "" A1672 = "" A1673 = "" A1674 = "" A1675 = "" A1676 = "" A1677 = "" A1678 = "" A1679 = "" A1680 = "" 
+A1681 = "" A1682 = "" A1683 = "" A1684 = "" A1685 = "" A1686 = "" A1687 = "" A1688 = "" A1689 = "" A1690 = "" 
+A1691 = "" A1692 = "" A1693 = "" A1694 = "" A1695 = "" A1696 = "" A1697 = "" A1698 = "" A1699 = "" A1700 = "" 
+A1701 = "" A1702 = "" A1703 = "" A1704 = "" A1705 = "" A1706 = "" A1707 = "" A1708 = "" A1709 = "" A1710 = "" 
+A1711 = "" A1712 = "" A1713 = "" A1714 = "" A1715 = "" A1716 = "" A1717 = "" A1718 = "" A1719 = "" A1720 = "" 
+A1721 = "" A1722 = "" A1723 = "" A1724 = "" A1725 = "" A1726 = "" A1727 = "" A1728 = "" A1729 = "" A1730 = "" 
+A1731 = "" A1732 = "" A1733 = "" A1734 = "" A1735 = "" A1736 = "" A1737 = "" A1738 = "" A1739 = "" A1740 = "" 
+A1741 = "" A1742 = "" A1743 = "" A1744 = "" A1745 = "" A1746 = "" A1747 = "" A1748 = "" A1749 = "" A1750 = "" 
+A1751 = "" A1752 = "" A1753 = "" A1754 = "" A1755 = "" A1756 = "" A1757 = "" A1758 = "" A1759 = "" A1760 = "" 
+A1761 = "" A1762 = "" A1763 = "" A1764 = "" A1765 = "" A1766 = "" A1767 = "" A1768 = "" A1769 = "" A1770 = "" 
+A1771 = "" A1772 = "" A1773 = "" A1774 = "" A1775 = "" A1776 = "" A1777 = "" A1778 = "" A1779 = "" A1780 = "" 
+A1781 = "" A1782 = "" A1783 = "" A1784 = "" A1785 = "" A1786 = "" A1787 = "" A1788 = "" A1789 = "" A1790 = "" 
+A1791 = "" A1792 = "" A1793 = "" A1794 = "" A1795 = "" A1796 = "" A1797 = "" A1798 = "" A1799 = "" A1800 = "" 
+A1801 = "" A1802 = "" A1803 = "" A1804 = "" A1805 = "" A1806 = "" A1807 = "" A1808 = "" A1809 = "" A1810 = "" 
+A1811 = "" A1812 = "" A1813 = "" A1814 = "" A1815 = "" A1816 = "" A1817 = "" A1818 = "" A1819 = "" A1820 = "" 
+A1821 = "" A1822 = "" A1823 = "" A1824 = "" A1825 = "" A1826 = "" A1827 = "" A1828 = "" A1829 = "" A1830 = "" 
+A1831 = "" A1832 = "" A1833 = "" A1834 = "" A1835 = "" A1836 = "" A1837 = "" A1838 = "" A1839 = "" A1840 = "" 
+A1841 = "" A1842 = "" A1843 = "" A1844 = "" A1845 = "" A1846 = "" A1847 = "" A1848 = "" A1849 = "" A1850 = "" 
+A1851 = "" A1852 = "" A1853 = "" A1854 = "" A1855 = "" A1856 = "" A1857 = "" A1858 = "" A1859 = "" A1860 = "" 
+A1861 = "" A1862 = "" A1863 = "" A1864 = "" A1865 = "" A1866 = "" A1867 = "" A1868 = "" A1869 = "" A1870 = "" 
+A1871 = "" A1872 = "" A1873 = "" A1874 = "" A1875 = "" A1876 = "" A1877 = "" A1878 = "" A1879 = "" A1880 = "" 
+A1881 = "" A1882 = "" A1883 = "" A1884 = "" A1885 = "" A1886 = "" A1887 = "" A1888 = "" A1889 = "" A1890 = "" 
+A1891 = "" A1892 = "" A1893 = "" A1894 = "" A1895 = "" A1896 = "" A1897 = "" A1898 = "" A1899 = "" A1900 = "" 
+A1901 = "" A1902 = "" A1903 = "" A1904 = "" A1905 = "" A1906 = "" A1907 = "" A1908 = "" A1909 = "" A1910 = "" 
+A1911 = "" A1912 = "" A1913 = "" A1914 = "" A1915 = "" A1916 = "" A1917 = "" A1918 = "" A1919 = "" A1920 = "" 
+A1921 = "" A1922 = "" A1923 = "" A1924 = "" A1925 = "" A1926 = "" A1927 = "" A1928 = "" A1929 = "" A1930 = "" 
+A1931 = "" A1932 = "" A1933 = "" A1934 = "" A1935 = "" A1936 = "" A1937 = "" A1938 = "" A1939 = "" A1940 = "" 
+A1941 = "" A1942 = "" A1943 = "" A1944 = "" A1945 = "" A1946 = "" A1947 = "" A1948 = "" A1949 = "" A1950 = "" 
+A1951 = "" A1952 = "" A1953 = "" A1954 = "" A1955 = "" A1956 = "" A1957 = "" A1958 = "" A1959 = "" A1960 = "" 
+A1961 = "" A1962 = "" A1963 = "" A1964 = "" A1965 = "" A1966 = "" A1967 = "" A1968 = "" A1969 = "" A1970 = "" 
+A1971 = "" A1972 = "" A1973 = "" A1974 = "" A1975 = "" A1976 = "" A1977 = "" A1978 = "" A1979 = "" A1980 = "" 
+A1981 = "" A1982 = "" A1983 = "" A1984 = "" A1985 = "" A1986 = "" A1987 = "" A1988 = "" A1989 = "" A1990 = "" 
+A1991 = "" A1992 = "" A1993 = "" A1994 = "" A1995 = "" A1996 = "" A1997 = "" A1998 = "" A1999 = "" A2000 = "" 
+A2001 = "" A2002 = "" A2003 = "" A2004 = "" A2005 = "" A2006 = "" A2007 = "" A2008 = "" A2009 = "" A2010 = "" 
+A2011 = "" A2012 = "" A2013 = "" A2014 = "" A2015 = "" A2016 = "" A2017 = "" A2018 = "" A2019 = "" A2020 = "" 
+A2021 = "" A2022 = "" A2023 = "" A2024 = "" A2025 = "" A2026 = "" A2027 = "" A2028 = "" A2029 = "" A2030 = "" 
+A2031 = "" A2032 = "" A2033 = "" A2034 = "" A2035 = "" A2036 = "" A2037 = "" A2038 = "" A2039 = "" A2040 = "" 
+A2041 = "" A2042 = "" A2043 = "" A2044 = "" A2045 = "" A2046 = "" A2047 = "" A2048 = "" A2049 = "" A2050 = "" 
+A2051 = "" A2052 = "" A2053 = "" A2054 = "" A2055 = "" A2056 = "" A2057 = "" A2058 = "" A2059 = "" A2060 = "" 
+A2061 = "" A2062 = "" A2063 = "" A2064 = "" A2065 = "" A2066 = "" A2067 = "" A2068 = "" A2069 = "" A2070 = "" 
+A2071 = "" A2072 = "" A2073 = "" A2074 = "" A2075 = "" A2076 = "" A2077 = "" A2078 = "" A2079 = "" A2080 = "" 
+A2081 = "" A2082 = "" A2083 = "" A2084 = "" A2085 = "" A2086 = "" A2087 = "" A2088 = "" A2089 = "" A2090 = "" 
+A2091 = "" A2092 = "" A2093 = "" A2094 = "" A2095 = "" A2096 = "" A2097 = "" A2098 = "" A2099 = "" A2100 = "" 
+A2101 = "" A2102 = "" A2103 = "" A2104 = "" A2105 = "" A2106 = "" A2107 = "" A2108 = "" A2109 = "" A2110 = "" 
+A2111 = "" A2112 = "" A2113 = "" A2114 = "" A2115 = "" A2116 = "" A2117 = "" A2118 = "" A2119 = "" A2120 = "" 
+A2121 = "" A2122 = "" A2123 = "" A2124 = "" A2125 = "" A2126 = "" A2127 = "" A2128 = "" A2129 = "" A2130 = "" 
+A2131 = "" A2132 = "" A2133 = "" A2134 = "" A2135 = "" A2136 = "" A2137 = "" A2138 = "" A2139 = "" A2140 = "" 
+A2141 = "" A2142 = "" A2143 = "" A2144 = "" A2145 = "" A2146 = "" A2147 = "" A2148 = "" A2149 = "" A2150 = "" 
+A2151 = "" A2152 = "" A2153 = "" A2154 = "" A2155 = "" A2156 = "" A2157 = "" A2158 = "" A2159 = "" A2160 = "" 
+A2161 = "" A2162 = "" A2163 = "" A2164 = "" A2165 = "" A2166 = "" A2167 = "" A2168 = "" A2169 = "" A2170 = "" 
+A2171 = "" A2172 = "" A2173 = "" A2174 = "" A2175 = "" A2176 = "" A2177 = "" A2178 = "" A2179 = "" A2180 = "" 
+A2181 = "" A2182 = "" A2183 = "" A2184 = "" A2185 = "" A2186 = "" A2187 = "" A2188 = "" A2189 = "" A2190 = "" 
+A2191 = "" A2192 = "" A2193 = "" A2194 = "" A2195 = "" A2196 = "" A2197 = "" A2198 = "" A2199 = "" A2200 = "" 
+A2201 = "" A2202 = "" A2203 = "" A2204 = "" A2205 = "" A2206 = "" A2207 = "" A2208 = "" A2209 = "" A2210 = "" 
+A2211 = "" A2212 = "" A2213 = "" A2214 = "" A2215 = "" A2216 = "" A2217 = "" A2218 = "" A2219 = "" A2220 = "" 
+A2221 = "" A2222 = "" A2223 = "" A2224 = "" A2225 = "" A2226 = "" A2227 = "" A2228 = "" A2229 = "" A2230 = "" 
+A2231 = "" A2232 = "" A2233 = "" A2234 = "" A2235 = "" A2236 = "" A2237 = "" A2238 = "" A2239 = "" A2240 = "" 
+A2241 = "" A2242 = "" A2243 = "" A2244 = "" A2245 = "" A2246 = "" A2247 = "" A2248 = "" A2249 = "" A2250 = "" 
+A2251 = "" A2252 = "" A2253 = "" A2254 = "" A2255 = "" A2256 = "" A2257 = "" A2258 = "" A2259 = "" A2260 = "" 
+A2261 = "" A2262 = "" A2263 = "" A2264 = "" A2265 = "" A2266 = "" A2267 = "" A2268 = "" A2269 = "" A2270 = "" 
+A2271 = "" A2272 = "" A2273 = "" A2274 = "" A2275 = "" A2276 = "" A2277 = "" A2278 = "" A2279 = "" A2280 = "" 
+A2281 = "" A2282 = "" A2283 = "" A2284 = "" A2285 = "" A2286 = "" A2287 = "" A2288 = "" A2289 = "" A2290 = "" 
+A2291 = "" A2292 = "" A2293 = "" A2294 = "" A2295 = "" A2296 = "" A2297 = "" A2298 = "" A2299 = "" A2300 = "" 
+A2301 = "" A2302 = "" A2303 = "" A2304 = "" A2305 = "" A2306 = "" A2307 = "" A2308 = "" A2309 = "" A2310 = "" 
+A2311 = "" A2312 = "" A2313 = "" A2314 = "" A2315 = "" A2316 = "" A2317 = "" A2318 = "" A2319 = "" A2320 = "" 
+A2321 = "" A2322 = "" A2323 = "" A2324 = "" A2325 = "" A2326 = "" A2327 = "" A2328 = "" A2329 = "" A2330 = "" 
+A2331 = "" A2332 = "" A2333 = "" A2334 = "" A2335 = "" A2336 = "" A2337 = "" A2338 = "" A2339 = "" A2340 = "" 
+A2341 = "" A2342 = "" A2343 = "" A2344 = "" A2345 = "" A2346 = "" A2347 = "" A2348 = "" A2349 = "" A2350 = "" 
+A2351 = "" A2352 = "" A2353 = "" A2354 = "" A2355 = "" A2356 = "" A2357 = "" A2358 = "" A2359 = "" A2360 = "" 
+A2361 = "" A2362 = "" A2363 = "" A2364 = "" A2365 = "" A2366 = "" A2367 = "" A2368 = "" A2369 = "" A2370 = "" 
+A2371 = "" A2372 = "" A2373 = "" A2374 = "" A2375 = "" A2376 = "" A2377 = "" A2378 = "" A2379 = "" A2380 = "" 
+A2381 = "" A2382 = "" A2383 = "" A2384 = "" A2385 = "" A2386 = "" A2387 = "" A2388 = "" A2389 = "" A2390 = "" 
+A2391 = "" A2392 = "" A2393 = "" A2394 = "" A2395 = "" A2396 = "" A2397 = "" A2398 = "" A2399 = "" A2400 = "" 
+A2401 = "" A2402 = "" A2403 = "" A2404 = "" A2405 = "" A2406 = "" A2407 = "" A2408 = "" A2409 = "" A2410 = "" 
+A2411 = "" A2412 = "" A2413 = "" A2414 = "" A2415 = "" A2416 = "" A2417 = "" A2418 = "" A2419 = "" A2420 = "" 
+A2421 = "" A2422 = "" A2423 = "" A2424 = "" A2425 = "" A2426 = "" A2427 = "" A2428 = "" A2429 = "" A2430 = "" 
+A2431 = "" A2432 = "" A2433 = "" A2434 = "" A2435 = "" A2436 = "" A2437 = "" A2438 = "" A2439 = "" A2440 = "" 
+A2441 = "" A2442 = "" A2443 = "" A2444 = "" A2445 = "" A2446 = "" A2447 = "" A2448 = "" A2449 = "" A2450 = "" 
+A2451 = "" A2452 = "" A2453 = "" A2454 = "" A2455 = "" A2456 = "" A2457 = "" A2458 = "" A2459 = "" A2460 = "" 
+A2461 = "" A2462 = "" A2463 = "" A2464 = "" A2465 = "" A2466 = "" A2467 = "" A2468 = "" A2469 = "" A2470 = "" 
+A2471 = "" A2472 = "" A2473 = "" A2474 = "" A2475 = "" A2476 = "" A2477 = "" A2478 = "" A2479 = "" A2480 = "" 
+A2481 = "" A2482 = "" A2483 = "" A2484 = "" A2485 = "" A2486 = "" A2487 = "" A2488 = "" A2489 = "" A2490 = "" 
+A2491 = "" A2492 = "" A2493 = "" A2494 = "" A2495 = "" A2496 = "" A2497 = "" A2498 = "" A2499 = "" A2500 = "" 
+A2501 = "" A2502 = "" A2503 = "" A2504 = "" A2505 = "" A2506 = "" A2507 = "" A2508 = "" A2509 = "" A2510 = "" 
+A2511 = "" A2512 = "" A2513 = "" A2514 = "" A2515 = "" A2516 = "" A2517 = "" A2518 = "" A2519 = "" A2520 = "" 
+A2521 = "" A2522 = "" A2523 = "" A2524 = "" A2525 = "" A2526 = "" A2527 = "" A2528 = "" A2529 = "" A2530 = "" 
+A2531 = "" A2532 = "" A2533 = "" A2534 = "" A2535 = "" A2536 = "" A2537 = "" A2538 = "" A2539 = "" A2540 = "" 
+A2541 = "" A2542 = "" A2543 = "" A2544 = "" A2545 = "" A2546 = "" A2547 = "" A2548 = "" A2549 = "" A2550 = "" 
+A2551 = "" A2552 = "" A2553 = "" A2554 = "" A2555 = "" A2556 = "" A2557 = "" A2558 = "" A2559 = "" A2560 = "" 
+A2561 = "" A2562 = "" A2563 = "" A2564 = "" A2565 = "" A2566 = "" A2567 = "" A2568 = "" A2569 = "" A2570 = "" 
+A2571 = "" A2572 = "" A2573 = "" A2574 = "" A2575 = "" A2576 = "" A2577 = "" A2578 = "" A2579 = "" A2580 = "" 
+A2581 = "" A2582 = "" A2583 = "" A2584 = "" A2585 = "" A2586 = "" A2587 = "" A2588 = "" A2589 = "" A2590 = "" 
+A2591 = "" A2592 = "" A2593 = "" A2594 = "" A2595 = "" A2596 = "" A2597 = "" A2598 = "" A2599 = "" A2600 = "" 
+A2601 = "" A2602 = "" A2603 = "" A2604 = "" A2605 = "" A2606 = "" A2607 = "" A2608 = "" A2609 = "" A2610 = "" 
+A2611 = "" A2612 = "" A2613 = "" A2614 = "" A2615 = "" A2616 = "" A2617 = "" A2618 = "" A2619 = "" A2620 = "" 
+A2621 = "" A2622 = "" A2623 = "" A2624 = "" A2625 = "" A2626 = "" A2627 = "" A2628 = "" A2629 = "" A2630 = "" 
+A2631 = "" A2632 = "" A2633 = "" A2634 = "" A2635 = "" A2636 = "" A2637 = "" A2638 = "" A2639 = "" A2640 = "" 
+A2641 = "" A2642 = "" A2643 = "" A2644 = "" A2645 = "" A2646 = "" A2647 = "" A2648 = "" A2649 = "" A2650 = "" 
+A2651 = "" A2652 = "" A2653 = "" A2654 = "" A2655 = "" A2656 = "" A2657 = "" A2658 = "" A2659 = "" A2660 = "" 
+A2661 = "" A2662 = "" A2663 = "" A2664 = "" A2665 = "" A2666 = "" A2667 = "" A2668 = "" A2669 = "" A2670 = "" 
+A2671 = "" A2672 = "" A2673 = "" A2674 = "" A2675 = "" A2676 = "" A2677 = "" A2678 = "" A2679 = "" A2680 = "" 
+A2681 = "" A2682 = "" A2683 = "" A2684 = "" A2685 = "" A2686 = "" A2687 = "" A2688 = "" A2689 = "" A2690 = "" 
+A2691 = "" A2692 = "" A2693 = "" A2694 = "" A2695 = "" A2696 = "" A2697 = "" A2698 = "" A2699 = "" A2700 = "" 
+A2701 = "" A2702 = "" A2703 = "" A2704 = "" A2705 = "" A2706 = "" A2707 = "" A2708 = "" A2709 = "" A2710 = "" 
+A2711 = "" A2712 = "" A2713 = "" A2714 = "" A2715 = "" A2716 = "" A2717 = "" A2718 = "" A2719 = "" A2720 = "" 
+A2721 = "" A2722 = "" A2723 = "" A2724 = "" A2725 = "" A2726 = "" A2727 = "" A2728 = "" A2729 = "" A2730 = "" 
+A2731 = "" A2732 = "" A2733 = "" A2734 = "" A2735 = "" A2736 = "" A2737 = "" A2738 = "" A2739 = "" A2740 = "" 
+A2741 = "" A2742 = "" A2743 = "" A2744 = "" A2745 = "" A2746 = "" A2747 = "" A2748 = "" A2749 = "" A2750 = "" 
+A2751 = "" A2752 = "" A2753 = "" A2754 = "" A2755 = "" A2756 = "" A2757 = "" A2758 = "" A2759 = "" A2760 = "" 
+A2761 = "" A2762 = "" A2763 = "" A2764 = "" A2765 = "" A2766 = "" A2767 = "" A2768 = "" A2769 = "" A2770 = "" 
+A2771 = "" A2772 = "" A2773 = "" A2774 = "" A2775 = "" A2776 = "" A2777 = "" A2778 = "" A2779 = "" A2780 = "" 
+A2781 = "" A2782 = "" A2783 = "" A2784 = "" A2785 = "" A2786 = "" A2787 = "" A2788 = "" A2789 = "" A2790 = "" 
+A2791 = "" A2792 = "" A2793 = "" A2794 = "" A2795 = "" A2796 = "" A2797 = "" A2798 = "" A2799 = "" A2800 = "" 
+A2801 = "" A2802 = "" A2803 = "" A2804 = "" A2805 = "" A2806 = "" A2807 = "" A2808 = "" A2809 = "" A2810 = "" 
+A2811 = "" A2812 = "" A2813 = "" A2814 = "" A2815 = "" A2816 = "" A2817 = "" A2818 = "" A2819 = "" A2820 = "" 
+A2821 = "" A2822 = "" A2823 = "" A2824 = "" A2825 = "" A2826 = "" A2827 = "" A2828 = "" A2829 = "" A2830 = "" 
+A2831 = "" A2832 = "" A2833 = "" A2834 = "" A2835 = "" A2836 = "" A2837 = "" A2838 = "" A2839 = "" A2840 = "" 
+A2841 = "" A2842 = "" A2843 = "" A2844 = "" A2845 = "" A2846 = "" A2847 = "" A2848 = "" A2849 = "" A2850 = "" 
+A2851 = "" A2852 = "" A2853 = "" A2854 = "" A2855 = "" A2856 = "" A2857 = "" A2858 = "" A2859 = "" A2860 = "" 
+A2861 = "" A2862 = "" A2863 = "" A2864 = "" A2865 = "" A2866 = "" A2867 = "" A2868 = "" A2869 = "" A2870 = "" 
+A2871 = "" A2872 = "" A2873 = "" A2874 = "" A2875 = "" A2876 = "" A2877 = "" A2878 = "" A2879 = "" A2880 = "" 
+A2881 = "" A2882 = "" A2883 = "" A2884 = "" A2885 = "" A2886 = "" A2887 = "" A2888 = "" A2889 = "" A2890 = "" 
+A2891 = "" A2892 = "" A2893 = "" A2894 = "" A2895 = "" A2896 = "" A2897 = "" A2898 = "" A2899 = "" A2900 = "" 
+A2901 = "" A2902 = "" A2903 = "" A2904 = "" A2905 = "" A2906 = "" A2907 = "" A2908 = "" A2909 = "" A2910 = "" 
+A2911 = "" A2912 = "" A2913 = "" A2914 = "" A2915 = "" A2916 = "" A2917 = "" A2918 = "" A2919 = "" A2920 = "" 
+A2921 = "" A2922 = "" A2923 = "" A2924 = "" A2925 = "" A2926 = "" A2927 = "" A2928 = "" A2929 = "" A2930 = "" 
+A2931 = "" A2932 = "" A2933 = "" A2934 = "" A2935 = "" A2936 = "" A2937 = "" A2938 = "" A2939 = "" A2940 = "" 
+A2941 = "" A2942 = "" A2943 = "" A2944 = "" A2945 = "" A2946 = "" A2947 = "" A2948 = "" A2949 = "" A2950 = "" 
+A2951 = "" A2952 = "" A2953 = "" A2954 = "" A2955 = "" A2956 = "" A2957 = "" A2958 = "" A2959 = "" A2960 = "" 
+A2961 = "" A2962 = "" A2963 = "" A2964 = "" A2965 = "" A2966 = "" A2967 = "" A2968 = "" A2969 = "" A2970 = "" 
+A2971 = "" A2972 = "" A2973 = "" A2974 = "" A2975 = "" A2976 = "" A2977 = "" A2978 = "" A2979 = "" A2980 = "" 
+A2981 = "" A2982 = "" A2983 = "" A2984 = "" A2985 = "" A2986 = "" A2987 = "" A2988 = "" A2989 = "" A2990 = "" 
+A2991 = "" A2992 = "" A2993 = "" A2994 = "" A2995 = "" A2996 = "" A2997 = "" A2998 = "" A2999 = "" A3000 = "" 
+A3001 = "" A3002 = "" A3003 = "" A3004 = "" A3005 = "" A3006 = "" A3007 = "" A3008 = "" A3009 = "" A3010 = "" 
+A3011 = "" A3012 = "" A3013 = "" A3014 = "" A3015 = "" A3016 = "" A3017 = "" A3018 = "" A3019 = "" A3020 = "" 
+A3021 = "" A3022 = "" A3023 = "" A3024 = "" A3025 = "" A3026 = "" A3027 = "" A3028 = "" A3029 = "" A3030 = "" 
+A3031 = "" A3032 = "" A3033 = "" A3034 = "" A3035 = "" A3036 = "" A3037 = "" A3038 = "" A3039 = "" A3040 = "" 
+A3041 = "" A3042 = "" A3043 = "" A3044 = "" A3045 = "" A3046 = "" A3047 = "" A3048 = "" A3049 = "" A3050 = "" 
+A3051 = "" A3052 = "" A3053 = "" A3054 = "" A3055 = "" A3056 = "" A3057 = "" A3058 = "" A3059 = "" A3060 = "" 
+A3061 = "" A3062 = "" A3063 = "" A3064 = "" A3065 = "" A3066 = "" A3067 = "" A3068 = "" A3069 = "" A3070 = "" 
+A3071 = "" A3072 = "" A3073 = "" A3074 = "" A3075 = "" A3076 = "" A3077 = "" A3078 = "" A3079 = "" A3080 = "" 
+A3081 = "" A3082 = "" A3083 = "" A3084 = "" A3085 = "" A3086 = "" A3087 = "" A3088 = "" A3089 = "" A3090 = "" 
+A3091 = "" A3092 = "" A3093 = "" A3094 = "" A3095 = "" A3096 = "" A3097 = "" A3098 = "" A3099 = "" A3100 = "" 
+A3101 = "" A3102 = "" A3103 = "" A3104 = "" A3105 = "" A3106 = "" A3107 = "" A3108 = "" A3109 = "" A3110 = "" 
+A3111 = "" A3112 = "" A3113 = "" A3114 = "" A3115 = "" A3116 = "" A3117 = "" A3118 = "" A3119 = "" A3120 = "" 
+A3121 = "" A3122 = "" A3123 = "" A3124 = "" A3125 = "" A3126 = "" A3127 = "" A3128 = "" A3129 = "" A3130 = "" 
+A3131 = "" A3132 = "" A3133 = "" A3134 = "" A3135 = "" A3136 = "" A3137 = "" A3138 = "" A3139 = "" A3140 = "" 
+A3141 = "" A3142 = "" A3143 = "" A3144 = "" A3145 = "" A3146 = "" A3147 = "" A3148 = "" A3149 = "" A3150 = "" 
+A3151 = "" A3152 = "" A3153 = "" A3154 = "" A3155 = "" A3156 = "" A3157 = "" A3158 = "" A3159 = "" A3160 = "" 
+A3161 = "" A3162 = "" A3163 = "" A3164 = "" A3165 = "" A3166 = "" A3167 = "" A3168 = "" A3169 = "" A3170 = "" 
+A3171 = "" A3172 = "" A3173 = "" A3174 = "" A3175 = "" A3176 = "" A3177 = "" A3178 = "" A3179 = "" A3180 = "" 
+A3181 = "" A3182 = "" A3183 = "" A3184 = "" A3185 = "" A3186 = "" A3187 = "" A3188 = "" A3189 = "" A3190 = "" 
+A3191 = "" A3192 = "" A3193 = "" A3194 = "" A3195 = "" A3196 = "" A3197 = "" A3198 = "" A3199 = "" A3200 = "" 
+A3201 = "" A3202 = "" A3203 = "" A3204 = "" A3205 = "" A3206 = "" A3207 = "" A3208 = "" A3209 = "" A3210 = "" 
+A3211 = "" A3212 = "" A3213 = "" A3214 = "" A3215 = "" A3216 = "" A3217 = "" A3218 = "" A3219 = "" A3220 = "" 
+A3221 = "" A3222 = "" A3223 = "" A3224 = "" A3225 = "" A3226 = "" A3227 = "" A3228 = "" A3229 = "" A3230 = "" 
+A3231 = "" A3232 = "" A3233 = "" A3234 = "" A3235 = "" A3236 = "" A3237 = "" A3238 = "" A3239 = "" A3240 = "" 
+A3241 = "" A3242 = "" A3243 = "" A3244 = "" A3245 = "" A3246 = "" A3247 = "" A3248 = "" A3249 = "" A3250 = "" 
+A3251 = "" A3252 = "" A3253 = "" A3254 = "" A3255 = "" A3256 = "" A3257 = "" A3258 = "" A3259 = "" A3260 = "" 
+A3261 = "" A3262 = "" A3263 = "" A3264 = "" A3265 = "" A3266 = "" A3267 = "" A3268 = "" A3269 = "" A3270 = "" 
+A3271 = "" A3272 = "" A3273 = "" A3274 = "" A3275 = "" A3276 = "" A3277 = "" A3278 = "" A3279 = "" A3280 = "" 
+A3281 = "" A3282 = "" A3283 = "" A3284 = "" A3285 = "" A3286 = "" A3287 = "" A3288 = "" A3289 = "" A3290 = "" 
+A3291 = "" A3292 = "" A3293 = "" A3294 = "" A3295 = "" A3296 = "" A3297 = "" A3298 = "" A3299 = "" A3300 = "" 
+A3301 = "" A3302 = "" A3303 = "" A3304 = "" A3305 = "" A3306 = "" A3307 = "" A3308 = "" A3309 = "" A3310 = "" 
+A3311 = "" A3312 = "" A3313 = "" A3314 = "" A3315 = "" A3316 = "" A3317 = "" A3318 = "" A3319 = "" A3320 = "" 
+A3321 = "" A3322 = "" A3323 = "" A3324 = "" A3325 = "" A3326 = "" A3327 = "" A3328 = "" A3329 = "" A3330 = "" 
+A3331 = "" A3332 = "" A3333 = "" A3334 = "" A3335 = "" A3336 = "" A3337 = "" A3338 = "" A3339 = "" A3340 = "" 
+A3341 = "" A3342 = "" A3343 = "" A3344 = "" A3345 = "" A3346 = "" A3347 = "" A3348 = "" A3349 = "" A3350 = "" 
+A3351 = "" A3352 = "" A3353 = "" A3354 = "" A3355 = "" A3356 = "" A3357 = "" A3358 = "" A3359 = "" A3360 = "" 
+A3361 = "" A3362 = "" A3363 = "" A3364 = "" A3365 = "" A3366 = "" A3367 = "" A3368 = "" A3369 = "" A3370 = "" 
+A3371 = "" A3372 = "" A3373 = "" A3374 = "" A3375 = "" A3376 = "" A3377 = "" A3378 = "" A3379 = "" A3380 = "" 
+A3381 = "" A3382 = "" A3383 = "" A3384 = "" A3385 = "" A3386 = "" A3387 = "" A3388 = "" A3389 = "" A3390 = "" 
+A3391 = "" A3392 = "" A3393 = "" A3394 = "" A3395 = "" A3396 = "" A3397 = "" A3398 = "" A3399 = "" A3400 = "" 
+A3401 = "" A3402 = "" A3403 = "" A3404 = "" A3405 = "" A3406 = "" A3407 = "" A3408 = "" A3409 = "" A3410 = "" 
+A3411 = "" A3412 = "" A3413 = "" A3414 = "" A3415 = "" A3416 = "" A3417 = "" A3418 = "" A3419 = "" A3420 = "" 
+A3421 = "" A3422 = "" A3423 = "" A3424 = "" A3425 = "" A3426 = "" A3427 = "" A3428 = "" A3429 = "" A3430 = "" 
+A3431 = "" A3432 = "" A3433 = "" A3434 = "" A3435 = "" A3436 = "" A3437 = "" A3438 = "" A3439 = "" A3440 = "" 
+A3441 = "" A3442 = "" A3443 = "" A3444 = "" A3445 = "" A3446 = "" A3447 = "" A3448 = "" A3449 = "" A3450 = "" 
+A3451 = "" A3452 = "" A3453 = "" A3454 = "" A3455 = "" A3456 = "" A3457 = "" A3458 = "" A3459 = "" A3460 = "" 
+A3461 = "" A3462 = "" A3463 = "" A3464 = "" A3465 = "" A3466 = "" A3467 = "" A3468 = "" A3469 = "" A3470 = "" 
+A3471 = "" A3472 = "" A3473 = "" A3474 = "" A3475 = "" A3476 = "" A3477 = "" A3478 = "" A3479 = "" A3480 = "" 
+A3481 = "" A3482 = "" A3483 = "" A3484 = "" A3485 = "" A3486 = "" A3487 = "" A3488 = "" A3489 = "" A3490 = "" 
+A3491 = "" A3492 = "" A3493 = "" A3494 = "" A3495 = "" A3496 = "" A3497 = "" A3498 = "" A3499 = "" A3500 = "" 
+A3501 = "" A3502 = "" A3503 = "" A3504 = "" A3505 = "" A3506 = "" A3507 = "" A3508 = "" A3509 = "" A3510 = "" 
+A3511 = "" A3512 = "" A3513 = "" A3514 = "" A3515 = "" A3516 = "" A3517 = "" A3518 = "" A3519 = "" A3520 = "" 
+A3521 = "" A3522 = "" A3523 = "" A3524 = "" A3525 = "" A3526 = "" A3527 = "" A3528 = "" A3529 = "" A3530 = "" 
+A3531 = "" A3532 = "" A3533 = "" A3534 = "" A3535 = "" A3536 = "" A3537 = "" A3538 = "" A3539 = "" A3540 = "" 
+A3541 = "" A3542 = "" A3543 = "" A3544 = "" A3545 = "" A3546 = "" A3547 = "" A3548 = "" A3549 = "" A3550 = "" 
+A3551 = "" A3552 = "" A3553 = "" A3554 = "" A3555 = "" A3556 = "" A3557 = "" A3558 = "" A3559 = "" A3560 = "" 
+A3561 = "" A3562 = "" A3563 = "" A3564 = "" A3565 = "" A3566 = "" A3567 = "" A3568 = "" A3569 = "" A3570 = "" 
+A3571 = "" A3572 = "" A3573 = "" A3574 = "" A3575 = "" A3576 = "" A3577 = "" A3578 = "" A3579 = "" A3580 = "" 
+A3581 = "" A3582 = "" A3583 = "" A3584 = "" A3585 = "" A3586 = "" A3587 = "" A3588 = "" A3589 = "" A3590 = "" 
+A3591 = "" A3592 = "" A3593 = "" A3594 = "" A3595 = "" A3596 = "" A3597 = "" A3598 = "" A3599 = "" A3600 = "" 
+A3601 = "" A3602 = "" A3603 = "" A3604 = "" A3605 = "" A3606 = "" A3607 = "" A3608 = "" A3609 = "" A3610 = "" 
+A3611 = "" A3612 = "" A3613 = "" A3614 = "" A3615 = "" A3616 = "" A3617 = "" A3618 = "" A3619 = "" A3620 = "" 
+A3621 = "" A3622 = "" A3623 = "" A3624 = "" A3625 = "" A3626 = "" A3627 = "" A3628 = "" A3629 = "" A3630 = "" 
+A3631 = "" A3632 = "" A3633 = "" A3634 = "" A3635 = "" A3636 = "" A3637 = "" A3638 = "" A3639 = "" A3640 = "" 
+A3641 = "" A3642 = "" A3643 = "" A3644 = "" A3645 = "" A3646 = "" A3647 = "" A3648 = "" A3649 = "" A3650 = "" 
+A3651 = "" A3652 = "" A3653 = "" A3654 = "" A3655 = "" A3656 = "" A3657 = "" A3658 = "" A3659 = "" A3660 = "" 
+A3661 = "" A3662 = "" A3663 = "" A3664 = "" A3665 = "" A3666 = "" A3667 = "" A3668 = "" A3669 = "" A3670 = "" 
+A3671 = "" A3672 = "" A3673 = "" A3674 = "" A3675 = "" A3676 = "" A3677 = "" A3678 = "" A3679 = "" A3680 = "" 
+A3681 = "" A3682 = "" A3683 = "" A3684 = "" A3685 = "" A3686 = "" A3687 = "" A3688 = "" A3689 = "" A3690 = "" 
+A3691 = "" A3692 = "" A3693 = "" A3694 = "" A3695 = "" A3696 = "" A3697 = "" A3698 = "" A3699 = "" A3700 = "" 
+A3701 = "" A3702 = "" A3703 = "" A3704 = "" A3705 = "" A3706 = "" A3707 = "" A3708 = "" A3709 = "" A3710 = "" 
+A3711 = "" A3712 = "" A3713 = "" A3714 = "" A3715 = "" A3716 = "" A3717 = "" A3718 = "" A3719 = "" A3720 = "" 
+A3721 = "" A3722 = "" A3723 = "" A3724 = "" A3725 = "" A3726 = "" A3727 = "" A3728 = "" A3729 = "" A3730 = "" 
+A3731 = "" A3732 = "" A3733 = "" A3734 = "" A3735 = "" A3736 = "" A3737 = "" A3738 = "" A3739 = "" A3740 = "" 
+A3741 = "" A3742 = "" A3743 = "" A3744 = "" A3745 = "" A3746 = "" A3747 = "" A3748 = "" A3749 = "" A3750 = "" 
+A3751 = "" A3752 = "" A3753 = "" A3754 = "" A3755 = "" A3756 = "" A3757 = "" A3758 = "" A3759 = "" A3760 = "" 
+A3761 = "" A3762 = "" A3763 = "" A3764 = "" A3765 = "" A3766 = "" A3767 = "" A3768 = "" A3769 = "" A3770 = "" 
+A3771 = "" A3772 = "" A3773 = "" A3774 = "" A3775 = "" A3776 = "" A3777 = "" A3778 = "" A3779 = "" A3780 = "" 
+A3781 = "" A3782 = "" A3783 = "" A3784 = "" A3785 = "" A3786 = "" A3787 = "" A3788 = "" A3789 = "" A3790 = "" 
+A3791 = "" A3792 = "" A3793 = "" A3794 = "" A3795 = "" A3796 = "" A3797 = "" A3798 = "" A3799 = "" A3800 = "" 
+A3801 = "" A3802 = "" A3803 = "" A3804 = "" A3805 = "" A3806 = "" A3807 = "" A3808 = "" A3809 = "" A3810 = "" 
+A3811 = "" A3812 = "" A3813 = "" A3814 = "" A3815 = "" A3816 = "" A3817 = "" A3818 = "" A3819 = "" A3820 = "" 
+A3821 = "" A3822 = "" A3823 = "" A3824 = "" A3825 = "" A3826 = "" A3827 = "" A3828 = "" A3829 = "" A3830 = "" 
+A3831 = "" A3832 = "" A3833 = "" A3834 = "" A3835 = "" A3836 = "" A3837 = "" A3838 = "" A3839 = "" A3840 = "" 
+A3841 = "" A3842 = "" A3843 = "" A3844 = "" A3845 = "" A3846 = "" A3847 = "" A3848 = "" A3849 = "" A3850 = "" 
+A3851 = "" A3852 = "" A3853 = "" A3854 = "" A3855 = "" A3856 = "" A3857 = "" A3858 = "" A3859 = "" A3860 = "" 
+A3861 = "" A3862 = "" A3863 = "" A3864 = "" A3865 = "" A3866 = "" A3867 = "" A3868 = "" A3869 = "" A3870 = "" 
+A3871 = "" A3872 = "" A3873 = "" A3874 = "" A3875 = "" A3876 = "" A3877 = "" A3878 = "" A3879 = "" A3880 = "" 
+A3881 = "" A3882 = "" A3883 = "" A3884 = "" A3885 = "" A3886 = "" A3887 = "" A3888 = "" A3889 = "" A3890 = "" 
+A3891 = "" A3892 = "" A3893 = "" A3894 = "" A3895 = "" A3896 = "" A3897 = "" A3898 = "" A3899 = "" A3900 = "" 
+A3901 = "" A3902 = "" A3903 = "" A3904 = "" A3905 = "" A3906 = "" A3907 = "" A3908 = "" A3909 = "" A3910 = "" 
+A3911 = "" A3912 = "" A3913 = "" A3914 = "" A3915 = "" A3916 = "" A3917 = "" A3918 = "" A3919 = "" A3920 = "" 
+A3921 = "" A3922 = "" A3923 = "" A3924 = "" A3925 = "" A3926 = "" A3927 = "" A3928 = "" A3929 = "" A3930 = "" 
+A3931 = "" A3932 = "" A3933 = "" A3934 = "" A3935 = "" A3936 = "" A3937 = "" A3938 = "" A3939 = "" A3940 = "" 
+A3941 = "" A3942 = "" A3943 = "" A3944 = "" A3945 = "" A3946 = "" A3947 = "" A3948 = "" A3949 = "" A3950 = "" 
+A3951 = "" A3952 = "" A3953 = "" A3954 = "" A3955 = "" A3956 = "" A3957 = "" A3958 = "" A3959 = "" A3960 = "" 
+A3961 = "" A3962 = "" A3963 = "" A3964 = "" A3965 = "" A3966 = "" A3967 = "" A3968 = "" A3969 = "" A3970 = "" 
+A3971 = "" A3972 = "" A3973 = "" A3974 = "" A3975 = "" A3976 = "" A3977 = "" A3978 = "" A3979 = "" A3980 = "" 
+A3981 = "" A3982 = "" A3983 = "" A3984 = "" A3985 = "" A3986 = "" A3987 = "" A3988 = "" A3989 = "" A3990 = "" 
+A3991 = "" A3992 = "" A3993 = "" A3994 = "" A3995 = "" A3996 = "" A3997 = "" A3998 = "" A3999 = "" A4000 = "" 
+A4001 = "" A4002 = "" A4003 = "" A4004 = "" A4005 = "" A4006 = "" A4007 = "" A4008 = "" A4009 = "" A4010 = "" 
+A4011 = "" A4012 = "" A4013 = "" A4014 = "" A4015 = "" A4016 = "" A4017 = "" A4018 = "" A4019 = "" A4020 = "" 
+A4021 = "" A4022 = "" A4023 = "" A4024 = "" A4025 = "" A4026 = "" A4027 = "" A4028 = "" A4029 = "" A4030 = "" 
+A4031 = "" A4032 = "" A4033 = "" A4034 = "" A4035 = "" A4036 = "" A4037 = "" A4038 = "" A4039 = "" A4040 = "" 
+A4041 = "" A4042 = "" A4043 = "" A4044 = "" A4045 = "" A4046 = "" A4047 = "" A4048 = "" A4049 = "" A4050 = "" 
+A4051 = "" A4052 = "" A4053 = "" A4054 = "" A4055 = "" A4056 = "" A4057 = "" A4058 = "" A4059 = "" A4060 = "" 
+A4061 = "" A4062 = "" A4063 = "" A4064 = "" A4065 = "" A4066 = "" A4067 = "" A4068 = "" A4069 = "" A4070 = "" 
+A4071 = "" A4072 = "" A4073 = "" A4074 = "" A4075 = "" A4076 = "" A4077 = "" A4078 = "" A4079 = "" A4080 = "" 
+A4081 = "" A4082 = "" A4083 = "" A4084 = "" A4085 = "" A4086 = "" A4087 = "" A4088 = "" A4089 = "" A4090 = "" 
+A4091 = "" A4092 = "" A4093 = "" A4094 = "" A4095 = "" A4096 = "" A4097 = "" A4098 = "" A4099 = "" A4100 = "" 
+A4101 = "" A4102 = "" A4103 = "" A4104 = "" A4105 = "" A4106 = "" A4107 = "" A4108 = "" A4109 = "" A4110 = "" 
+A4111 = "" A4112 = "" A4113 = "" A4114 = "" A4115 = "" A4116 = "" A4117 = "" A4118 = "" A4119 = "" A4120 = "" 
+A4121 = "" A4122 = "" A4123 = "" A4124 = "" A4125 = "" A4126 = "" A4127 = "" A4128 = "" A4129 = "" A4130 = "" 
+A4131 = "" A4132 = "" A4133 = "" A4134 = "" A4135 = "" A4136 = "" A4137 = "" A4138 = "" A4139 = "" A4140 = "" 
+A4141 = "" A4142 = "" A4143 = "" A4144 = "" A4145 = "" A4146 = "" A4147 = "" A4148 = "" A4149 = "" A4150 = "" 
+A4151 = "" A4152 = "" A4153 = "" A4154 = "" A4155 = "" A4156 = "" A4157 = "" A4158 = "" A4159 = "" A4160 = "" 
+A4161 = "" A4162 = "" A4163 = "" A4164 = "" A4165 = "" A4166 = "" A4167 = "" A4168 = "" A4169 = "" A4170 = "" 
+A4171 = "" A4172 = "" A4173 = "" A4174 = "" A4175 = "" A4176 = "" A4177 = "" A4178 = "" A4179 = "" A4180 = "" 
+A4181 = "" A4182 = "" A4183 = "" A4184 = "" A4185 = "" A4186 = "" A4187 = "" A4188 = "" A4189 = "" A4190 = "" 
+A4191 = "" A4192 = "" A4193 = "" A4194 = "" A4195 = "" A4196 = "" A4197 = "" A4198 = "" A4199 = "" A4200 = "" 
+A4201 = "" A4202 = "" A4203 = "" A4204 = "" A4205 = "" A4206 = "" A4207 = "" A4208 = "" A4209 = "" A4210 = "" 
+A4211 = "" A4212 = "" A4213 = "" A4214 = "" A4215 = "" A4216 = "" A4217 = "" A4218 = "" A4219 = "" A4220 = "" 
+A4221 = "" A4222 = "" A4223 = "" A4224 = "" A4225 = "" A4226 = "" A4227 = "" A4228 = "" A4229 = "" A4230 = "" 
+A4231 = "" A4232 = "" A4233 = "" A4234 = "" A4235 = "" A4236 = "" A4237 = "" A4238 = "" A4239 = "" A4240 = "" 
+A4241 = "" A4242 = "" A4243 = "" A4244 = "" A4245 = "" A4246 = "" A4247 = "" A4248 = "" A4249 = "" A4250 = "" 
+A4251 = "" A4252 = "" A4253 = "" A4254 = "" A4255 = "" A4256 = "" A4257 = "" A4258 = "" A4259 = "" A4260 = "" 
+A4261 = "" A4262 = "" A4263 = "" A4264 = "" A4265 = "" A4266 = "" A4267 = "" A4268 = "" A4269 = "" A4270 = "" 
+A4271 = "" A4272 = "" A4273 = "" A4274 = "" A4275 = "" A4276 = "" A4277 = "" A4278 = "" A4279 = "" A4280 = "" 
+A4281 = "" A4282 = "" A4283 = "" A4284 = "" A4285 = "" A4286 = "" A4287 = "" A4288 = "" A4289 = "" A4290 = "" 
+A4291 = "" A4292 = "" A4293 = "" A4294 = "" A4295 = "" A4296 = "" A4297 = "" A4298 = "" A4299 = "" A4300 = "" 
+A4301 = "" A4302 = "" A4303 = "" A4304 = "" A4305 = "" A4306 = "" A4307 = "" A4308 = "" A4309 = "" A4310 = "" 
+A4311 = "" A4312 = "" A4313 = "" A4314 = "" A4315 = "" A4316 = "" A4317 = "" A4318 = "" A4319 = "" A4320 = "" 
+A4321 = "" A4322 = "" A4323 = "" A4324 = "" A4325 = "" A4326 = "" A4327 = "" A4328 = "" A4329 = "" A4330 = "" 
+A4331 = "" A4332 = "" A4333 = "" A4334 = "" A4335 = "" A4336 = "" A4337 = "" A4338 = "" A4339 = "" A4340 = "" 
+A4341 = "" A4342 = "" A4343 = "" A4344 = "" A4345 = "" A4346 = "" A4347 = "" A4348 = "" A4349 = "" A4350 = "" 
+A4351 = "" A4352 = "" A4353 = "" A4354 = "" A4355 = "" A4356 = "" A4357 = "" A4358 = "" A4359 = "" A4360 = "" 
+A4361 = "" A4362 = "" A4363 = "" A4364 = "" A4365 = "" A4366 = "" A4367 = "" A4368 = "" A4369 = "" A4370 = "" 
+A4371 = "" A4372 = "" A4373 = "" A4374 = "" A4375 = "" A4376 = "" A4377 = "" A4378 = "" A4379 = "" A4380 = "" 
+A4381 = "" A4382 = "" A4383 = "" A4384 = "" A4385 = "" A4386 = "" A4387 = "" A4388 = "" A4389 = "" A4390 = "" 
+A4391 = "" A4392 = "" A4393 = "" A4394 = "" A4395 = "" A4396 = "" A4397 = "" A4398 = "" A4399 = "" A4400 = "" 
+A4401 = "" A4402 = "" A4403 = "" A4404 = "" A4405 = "" A4406 = "" A4407 = "" A4408 = "" A4409 = "" A4410 = "" 
+A4411 = "" A4412 = "" A4413 = "" A4414 = "" A4415 = "" A4416 = "" A4417 = "" A4418 = "" A4419 = "" A4420 = "" 
+A4421 = "" A4422 = "" A4423 = "" A4424 = "" A4425 = "" A4426 = "" A4427 = "" A4428 = "" A4429 = "" A4430 = "" 
+A4431 = "" A4432 = "" A4433 = "" A4434 = "" A4435 = "" A4436 = "" A4437 = "" A4438 = "" A4439 = "" A4440 = "" 
+A4441 = "" A4442 = "" A4443 = "" A4444 = "" A4445 = "" A4446 = "" A4447 = "" A4448 = "" A4449 = "" A4450 = "" 
+A4451 = "" A4452 = "" A4453 = "" A4454 = "" A4455 = "" A4456 = "" A4457 = "" A4458 = "" A4459 = "" A4460 = "" 
+A4461 = "" A4462 = "" A4463 = "" A4464 = "" A4465 = "" A4466 = "" A4467 = "" A4468 = "" A4469 = "" A4470 = "" 
+A4471 = "" A4472 = "" A4473 = "" A4474 = "" A4475 = "" A4476 = "" A4477 = "" A4478 = "" A4479 = "" A4480 = "" 
+A4481 = "" A4482 = "" A4483 = "" A4484 = "" A4485 = "" A4486 = "" A4487 = "" A4488 = "" A4489 = "" A4490 = "" 
+A4491 = "" A4492 = "" A4493 = "" A4494 = "" A4495 = "" A4496 = "" A4497 = "" A4498 = "" A4499 = "" A4500 = "" 
+A4501 = "" A4502 = "" A4503 = "" A4504 = "" A4505 = "" A4506 = "" A4507 = "" A4508 = "" A4509 = "" A4510 = "" 
+A4511 = "" A4512 = "" A4513 = "" A4514 = "" A4515 = "" A4516 = "" A4517 = "" A4518 = "" A4519 = "" A4520 = "" 
+A4521 = "" A4522 = "" A4523 = "" A4524 = "" A4525 = "" A4526 = "" A4527 = "" A4528 = "" A4529 = "" A4530 = "" 
+A4531 = "" A4532 = "" A4533 = "" A4534 = "" A4535 = "" A4536 = "" A4537 = "" A4538 = "" A4539 = "" A4540 = "" 
+A4541 = "" A4542 = "" A4543 = "" A4544 = "" A4545 = "" A4546 = "" A4547 = "" A4548 = "" A4549 = "" A4550 = "" 
+A4551 = "" A4552 = "" A4553 = "" A4554 = "" A4555 = "" A4556 = "" A4557 = "" A4558 = "" A4559 = "" A4560 = "" 
+A4561 = "" A4562 = "" A4563 = "" A4564 = "" A4565 = "" A4566 = "" A4567 = "" A4568 = "" A4569 = "" A4570 = "" 
+A4571 = "" A4572 = "" A4573 = "" A4574 = "" A4575 = "" A4576 = "" A4577 = "" A4578 = "" A4579 = "" A4580 = "" 
+A4581 = "" A4582 = "" A4583 = "" A4584 = "" A4585 = "" A4586 = "" A4587 = "" A4588 = "" A4589 = "" A4590 = "" 
+A4591 = "" A4592 = "" A4593 = "" A4594 = "" A4595 = "" A4596 = "" A4597 = "" A4598 = "" A4599 = "" A4600 = "" 
+A4601 = "" A4602 = "" A4603 = "" A4604 = "" A4605 = "" A4606 = "" A4607 = "" A4608 = "" A4609 = "" A4610 = "" 
+A4611 = "" A4612 = "" A4613 = "" A4614 = "" A4615 = "" A4616 = "" A4617 = "" A4618 = "" A4619 = "" A4620 = "" 
+A4621 = "" A4622 = "" A4623 = "" A4624 = "" A4625 = "" A4626 = "" A4627 = "" A4628 = "" A4629 = "" A4630 = "" 
+A4631 = "" A4632 = "" A4633 = "" A4634 = "" A4635 = "" A4636 = "" A4637 = "" A4638 = "" A4639 = "" A4640 = "" 
+A4641 = "" A4642 = "" A4643 = "" A4644 = "" A4645 = "" A4646 = "" A4647 = "" A4648 = "" A4649 = "" A4650 = "" 
+A4651 = "" A4652 = "" A4653 = "" A4654 = "" A4655 = "" A4656 = "" A4657 = "" A4658 = "" A4659 = "" A4660 = "" 
+A4661 = "" A4662 = "" A4663 = "" A4664 = "" A4665 = "" A4666 = "" A4667 = "" A4668 = "" A4669 = "" A4670 = "" 
+A4671 = "" A4672 = "" A4673 = "" A4674 = "" A4675 = "" A4676 = "" A4677 = "" A4678 = "" A4679 = "" A4680 = "" 
+A4681 = "" A4682 = "" A4683 = "" A4684 = "" A4685 = "" A4686 = "" A4687 = "" A4688 = "" A4689 = "" A4690 = "" 
+A4691 = "" A4692 = "" A4693 = "" A4694 = "" A4695 = "" A4696 = "" A4697 = "" A4698 = "" A4699 = "" A4700 = "" 
+A4701 = "" A4702 = "" A4703 = "" A4704 = "" A4705 = "" A4706 = "" A4707 = "" A4708 = "" A4709 = "" A4710 = "" 
+A4711 = "" A4712 = "" A4713 = "" A4714 = "" A4715 = "" A4716 = "" A4717 = "" A4718 = "" A4719 = "" A4720 = "" 
+A4721 = "" A4722 = "" A4723 = "" A4724 = "" A4725 = "" A4726 = "" A4727 = "" A4728 = "" A4729 = "" A4730 = "" 
+A4731 = "" A4732 = "" A4733 = "" A4734 = "" A4735 = "" A4736 = "" A4737 = "" A4738 = "" A4739 = "" A4740 = "" 
+A4741 = "" A4742 = "" A4743 = "" A4744 = "" A4745 = "" A4746 = "" A4747 = "" A4748 = "" A4749 = "" A4750 = "" 
+A4751 = "" A4752 = "" A4753 = "" A4754 = "" A4755 = "" A4756 = "" A4757 = "" A4758 = "" A4759 = "" A4760 = "" 
+A4761 = "" A4762 = "" A4763 = "" A4764 = "" A4765 = "" A4766 = "" A4767 = "" A4768 = "" A4769 = "" A4770 = "" 
+A4771 = "" A4772 = "" A4773 = "" A4774 = "" A4775 = "" A4776 = "" A4777 = "" A4778 = "" A4779 = "" A4780 = "" 
+A4781 = "" A4782 = "" A4783 = "" A4784 = "" A4785 = "" A4786 = "" A4787 = "" A4788 = "" A4789 = "" A4790 = "" 
+A4791 = "" A4792 = "" A4793 = "" A4794 = "" A4795 = "" A4796 = "" A4797 = "" A4798 = "" A4799 = "" A4800 = "" 
+A4801 = "" A4802 = "" A4803 = "" A4804 = "" A4805 = "" A4806 = "" A4807 = "" A4808 = "" A4809 = "" A4810 = "" 
+A4811 = "" A4812 = "" A4813 = "" A4814 = "" A4815 = "" A4816 = "" A4817 = "" A4818 = "" A4819 = "" A4820 = "" 
+A4821 = "" A4822 = "" A4823 = "" A4824 = "" A4825 = "" A4826 = "" A4827 = "" A4828 = "" A4829 = "" A4830 = "" 
+A4831 = "" A4832 = "" A4833 = "" A4834 = "" A4835 = "" A4836 = "" A4837 = "" A4838 = "" A4839 = "" A4840 = "" 
+A4841 = "" A4842 = "" A4843 = "" A4844 = "" A4845 = "" A4846 = "" A4847 = "" A4848 = "" A4849 = "" A4850 = "" 
+A4851 = "" A4852 = "" A4853 = "" A4854 = "" A4855 = "" A4856 = "" A4857 = "" A4858 = "" A4859 = "" A4860 = "" 
+A4861 = "" A4862 = "" A4863 = "" A4864 = "" A4865 = "" A4866 = "" A4867 = "" A4868 = "" A4869 = "" A4870 = "" 
+A4871 = "" A4872 = "" A4873 = "" A4874 = "" A4875 = "" A4876 = "" A4877 = "" A4878 = "" A4879 = "" A4880 = "" 
+A4881 = "" A4882 = "" A4883 = "" A4884 = "" A4885 = "" A4886 = "" A4887 = "" A4888 = "" A4889 = "" A4890 = "" 
+A4891 = "" A4892 = "" A4893 = "" A4894 = "" A4895 = "" A4896 = "" A4897 = "" A4898 = "" A4899 = "" A4900 = "" 
+A4901 = "" A4902 = "" A4903 = "" A4904 = "" A4905 = "" A4906 = "" A4907 = "" A4908 = "" A4909 = "" A4910 = "" 
+A4911 = "" A4912 = "" A4913 = "" A4914 = "" A4915 = "" A4916 = "" A4917 = "" A4918 = "" A4919 = "" A4920 = "" 
+A4921 = "" A4922 = "" A4923 = "" A4924 = "" A4925 = "" A4926 = "" A4927 = "" A4928 = "" A4929 = "" A4930 = "" 
+A4931 = "" A4932 = "" A4933 = "" A4934 = "" A4935 = "" A4936 = "" A4937 = "" A4938 = "" A4939 = "" A4940 = "" 
+A4941 = "" A4942 = "" A4943 = "" A4944 = "" A4945 = "" A4946 = "" A4947 = "" A4948 = "" A4949 = "" A4950 = "" 
+A4951 = "" A4952 = "" A4953 = "" A4954 = "" A4955 = "" A4956 = "" A4957 = "" A4958 = "" A4959 = "" A4960 = "" 
+A4961 = "" A4962 = "" A4963 = "" A4964 = "" A4965 = "" A4966 = "" A4967 = "" A4968 = "" A4969 = "" A4970 = "" 
+A4971 = "" A4972 = "" A4973 = "" A4974 = "" A4975 = "" A4976 = "" A4977 = "" A4978 = "" A4979 = "" A4980 = "" 
+A4981 = "" A4982 = "" A4983 = "" A4984 = "" A4985 = "" A4986 = "" A4987 = "" A4988 = "" A4989 = "" A4990 = "" 
+A4991 = "" A4992 = "" A4993 = "" A4994 = "" A4995 = "" A4996 = "" A4997 = "" A4998 = "" A4999 = "" A5000 = "" 
+A5001 = "" A5002 = "" A5003 = "" A5004 = "" A5005 = "" A5006 = "" A5007 = "" A5008 = "" A5009 = "" A5010 = "" 
+A5011 = "" A5012 = "" A5013 = "" A5014 = "" A5015 = "" A5016 = "" A5017 = "" A5018 = "" A5019 = "" A5020 = "" 
+A5021 = "" A5022 = "" A5023 = "" A5024 = "" A5025 = "" A5026 = "" A5027 = "" A5028 = "" A5029 = "" A5030 = "" 
+A5031 = "" A5032 = "" A5033 = "" A5034 = "" A5035 = "" A5036 = "" A5037 = "" A5038 = "" A5039 = "" A5040 = "" 
+A5041 = "" A5042 = "" A5043 = "" A5044 = "" A5045 = "" A5046 = "" A5047 = "" A5048 = "" A5049 = "" A5050 = "" 
+A5051 = "" A5052 = "" A5053 = "" A5054 = "" A5055 = "" A5056 = "" A5057 = "" A5058 = "" A5059 = "" A5060 = "" 
+A5061 = "" A5062 = "" A5063 = "" A5064 = "" A5065 = "" A5066 = "" A5067 = "" A5068 = "" A5069 = "" A5070 = "" 
+A5071 = "" A5072 = "" A5073 = "" A5074 = "" A5075 = "" A5076 = "" A5077 = "" A5078 = "" A5079 = "" A5080 = "" 
+A5081 = "" A5082 = "" A5083 = "" A5084 = "" A5085 = "" A5086 = "" A5087 = "" A5088 = "" A5089 = "" A5090 = "" 
+A5091 = "" A5092 = "" A5093 = "" A5094 = "" A5095 = "" A5096 = "" A5097 = "" A5098 = "" A5099 = "" A5100 = "" 
+A5101 = "" A5102 = "" A5103 = "" A5104 = "" A5105 = "" A5106 = "" A5107 = "" A5108 = "" A5109 = "" A5110 = "" 
+A5111 = "" A5112 = "" A5113 = "" A5114 = "" A5115 = "" A5116 = "" A5117 = "" A5118 = "" A5119 = "" A5120 = "" 
+A5121 = "" A5122 = "" A5123 = "" A5124 = "" A5125 = "" A5126 = "" A5127 = "" A5128 = "" A5129 = "" A5130 = "" 
+A5131 = "" A5132 = "" A5133 = "" A5134 = "" A5135 = "" A5136 = "" A5137 = "" A5138 = "" A5139 = "" A5140 = "" 
+A5141 = "" A5142 = "" A5143 = "" A5144 = "" A5145 = "" A5146 = "" A5147 = "" A5148 = "" A5149 = "" A5150 = "" 
+A5151 = "" A5152 = "" A5153 = "" A5154 = "" A5155 = "" A5156 = "" A5157 = "" A5158 = "" A5159 = "" A5160 = "" 
+A5161 = "" A5162 = "" A5163 = "" A5164 = "" A5165 = "" A5166 = "" A5167 = "" A5168 = "" A5169 = "" A5170 = "" 
+A5171 = "" A5172 = "" A5173 = "" A5174 = "" A5175 = "" A5176 = "" A5177 = "" A5178 = "" A5179 = "" A5180 = "" 
+A5181 = "" A5182 = "" A5183 = "" A5184 = "" A5185 = "" A5186 = "" A5187 = "" A5188 = "" A5189 = "" A5190 = "" 
+A5191 = "" A5192 = "" A5193 = "" A5194 = "" A5195 = "" A5196 = "" A5197 = "" A5198 = "" A5199 = "" A5200 = "" 
+A5201 = "" A5202 = "" A5203 = "" A5204 = "" A5205 = "" A5206 = "" A5207 = "" A5208 = "" A5209 = "" A5210 = "" 
+A5211 = "" A5212 = "" A5213 = "" A5214 = "" A5215 = "" A5216 = "" A5217 = "" A5218 = "" A5219 = "" A5220 = "" 
+A5221 = "" A5222 = "" A5223 = "" A5224 = "" A5225 = "" A5226 = "" A5227 = "" A5228 = "" A5229 = "" A5230 = "" 
+A5231 = "" A5232 = "" A5233 = "" A5234 = "" A5235 = "" A5236 = "" A5237 = "" A5238 = "" A5239 = "" A5240 = "" 
+A5241 = "" A5242 = "" A5243 = "" A5244 = "" A5245 = "" A5246 = "" A5247 = "" A5248 = "" A5249 = "" A5250 = "" 
+A5251 = "" A5252 = "" A5253 = "" A5254 = "" A5255 = "" A5256 = "" A5257 = "" A5258 = "" A5259 = "" A5260 = "" 
+A5261 = "" A5262 = "" A5263 = "" A5264 = "" A5265 = "" A5266 = "" A5267 = "" A5268 = "" A5269 = "" A5270 = "" 
+A5271 = "" A5272 = "" A5273 = "" A5274 = "" A5275 = "" A5276 = "" A5277 = "" A5278 = "" A5279 = "" A5280 = "" 
+A5281 = "" A5282 = "" A5283 = "" A5284 = "" A5285 = "" A5286 = "" A5287 = "" A5288 = "" A5289 = "" A5290 = "" 
+A5291 = "" A5292 = "" A5293 = "" A5294 = "" A5295 = "" A5296 = "" A5297 = "" A5298 = "" A5299 = "" A5300 = "" 
+A5301 = "" A5302 = "" A5303 = "" A5304 = "" A5305 = "" A5306 = "" A5307 = "" A5308 = "" A5309 = "" A5310 = "" 
+A5311 = "" A5312 = "" A5313 = "" A5314 = "" A5315 = "" A5316 = "" A5317 = "" A5318 = "" A5319 = "" A5320 = "" 
+A5321 = "" A5322 = "" A5323 = "" A5324 = "" A5325 = "" A5326 = "" A5327 = "" A5328 = "" A5329 = "" A5330 = "" 
+A5331 = "" A5332 = "" A5333 = "" A5334 = "" A5335 = "" A5336 = "" A5337 = "" A5338 = "" A5339 = "" A5340 = "" 
+A5341 = "" A5342 = "" A5343 = "" A5344 = "" A5345 = "" A5346 = "" A5347 = "" A5348 = "" A5349 = "" A5350 = "" 
+A5351 = "" A5352 = "" A5353 = "" A5354 = "" A5355 = "" A5356 = "" A5357 = "" A5358 = "" A5359 = "" A5360 = "" 
+A5361 = "" A5362 = "" A5363 = "" A5364 = "" A5365 = "" A5366 = "" A5367 = "" A5368 = "" A5369 = "" A5370 = "" 
+A5371 = "" A5372 = "" A5373 = "" A5374 = "" A5375 = "" A5376 = "" A5377 = "" A5378 = "" A5379 = "" A5380 = "" 
+A5381 = "" A5382 = "" A5383 = "" A5384 = "" A5385 = "" A5386 = "" A5387 = "" A5388 = "" A5389 = "" A5390 = "" 
+A5391 = "" A5392 = "" A5393 = "" A5394 = "" A5395 = "" A5396 = "" A5397 = "" A5398 = "" A5399 = "" A5400 = "" 
+A5401 = "" A5402 = "" A5403 = "" A5404 = "" A5405 = "" A5406 = "" A5407 = "" A5408 = "" A5409 = "" A5410 = "" 
+A5411 = "" A5412 = "" A5413 = "" A5414 = "" A5415 = "" A5416 = "" A5417 = "" A5418 = "" A5419 = "" A5420 = "" 
+A5421 = "" A5422 = "" A5423 = "" A5424 = "" A5425 = "" A5426 = "" A5427 = "" A5428 = "" A5429 = "" A5430 = "" 
+A5431 = "" A5432 = "" A5433 = "" A5434 = "" A5435 = "" A5436 = "" A5437 = "" A5438 = "" A5439 = "" A5440 = "" 
+A5441 = "" A5442 = "" A5443 = "" A5444 = "" A5445 = "" A5446 = "" A5447 = "" A5448 = "" A5449 = "" A5450 = "" 
+A5451 = "" A5452 = "" A5453 = "" A5454 = "" A5455 = "" A5456 = "" A5457 = "" A5458 = "" A5459 = "" A5460 = "" 
+A5461 = "" A5462 = "" A5463 = "" A5464 = "" A5465 = "" A5466 = "" A5467 = "" A5468 = "" A5469 = "" A5470 = "" 
+A5471 = "" A5472 = "" A5473 = "" A5474 = "" A5475 = "" A5476 = "" A5477 = "" A5478 = "" A5479 = "" A5480 = "" 
+A5481 = "" A5482 = "" A5483 = "" A5484 = "" A5485 = "" A5486 = "" A5487 = "" A5488 = "" A5489 = "" A5490 = "" 
+A5491 = "" A5492 = "" A5493 = "" A5494 = "" A5495 = "" A5496 = "" A5497 = "" A5498 = "" A5499 = "" A5500 = "" 
+A5501 = "" A5502 = "" A5503 = "" A5504 = "" A5505 = "" A5506 = "" A5507 = "" A5508 = "" A5509 = "" A5510 = "" 
+A5511 = "" A5512 = "" A5513 = "" A5514 = "" A5515 = "" A5516 = "" A5517 = "" A5518 = "" A5519 = "" A5520 = "" 
+A5521 = "" A5522 = "" A5523 = "" A5524 = "" A5525 = "" A5526 = "" A5527 = "" A5528 = "" A5529 = "" A5530 = "" 
+A5531 = "" A5532 = "" A5533 = "" A5534 = "" A5535 = "" A5536 = "" A5537 = "" A5538 = "" A5539 = "" A5540 = "" 
+A5541 = "" A5542 = "" A5543 = "" A5544 = "" A5545 = "" A5546 = "" A5547 = "" A5548 = "" A5549 = "" A5550 = "" 
+A5551 = "" A5552 = "" A5553 = "" A5554 = "" A5555 = "" A5556 = "" A5557 = "" A5558 = "" A5559 = "" A5560 = "" 
+A5561 = "" A5562 = "" A5563 = "" A5564 = "" A5565 = "" A5566 = "" A5567 = "" A5568 = "" A5569 = "" A5570 = "" 
+A5571 = "" A5572 = "" A5573 = "" A5574 = "" A5575 = "" A5576 = "" A5577 = "" A5578 = "" A5579 = "" A5580 = "" 
+A5581 = "" A5582 = "" A5583 = "" A5584 = "" A5585 = "" A5586 = "" A5587 = "" A5588 = "" A5589 = "" A5590 = "" 
+A5591 = "" A5592 = "" A5593 = "" A5594 = "" A5595 = "" A5596 = "" A5597 = "" A5598 = "" A5599 = "" A5600 = "" 
+A5601 = "" A5602 = "" A5603 = "" A5604 = "" A5605 = "" A5606 = "" A5607 = "" A5608 = "" A5609 = "" A5610 = "" 
+A5611 = "" A5612 = "" A5613 = "" A5614 = "" A5615 = "" A5616 = "" A5617 = "" A5618 = "" A5619 = "" A5620 = "" 
+A5621 = "" A5622 = "" A5623 = "" A5624 = "" A5625 = "" A5626 = "" A5627 = "" A5628 = "" A5629 = "" A5630 = "" 
+A5631 = "" A5632 = "" A5633 = "" A5634 = "" A5635 = "" A5636 = "" A5637 = "" A5638 = "" A5639 = "" A5640 = "" 
+A5641 = "" A5642 = "" A5643 = "" A5644 = "" A5645 = "" A5646 = "" A5647 = "" A5648 = "" A5649 = "" A5650 = "" 
+A5651 = "" A5652 = "" A5653 = "" A5654 = "" A5655 = "" A5656 = "" A5657 = "" A5658 = "" A5659 = "" A5660 = "" 
+A5661 = "" A5662 = "" A5663 = "" A5664 = "" A5665 = "" A5666 = "" A5667 = "" A5668 = "" A5669 = "" A5670 = "" 
+A5671 = "" A5672 = "" A5673 = "" A5674 = "" A5675 = "" A5676 = "" A5677 = "" A5678 = "" A5679 = "" A5680 = "" 
+A5681 = "" A5682 = "" A5683 = "" A5684 = "" A5685 = "" A5686 = "" A5687 = "" A5688 = "" A5689 = "" A5690 = "" 
+A5691 = "" A5692 = "" A5693 = "" A5694 = "" A5695 = "" A5696 = "" A5697 = "" A5698 = "" A5699 = "" A5700 = "" 
+A5701 = "" A5702 = "" A5703 = "" A5704 = "" A5705 = "" A5706 = "" A5707 = "" A5708 = "" A5709 = "" A5710 = "" 
+A5711 = "" A5712 = "" A5713 = "" A5714 = "" A5715 = "" A5716 = "" A5717 = "" A5718 = "" A5719 = "" A5720 = "" 
+A5721 = "" A5722 = "" A5723 = "" A5724 = "" A5725 = "" A5726 = "" A5727 = "" A5728 = "" A5729 = "" A5730 = "" 
+A5731 = "" A5732 = "" A5733 = "" A5734 = "" A5735 = "" A5736 = "" A5737 = "" A5738 = "" A5739 = "" A5740 = "" 
+A5741 = "" A5742 = "" A5743 = "" A5744 = "" A5745 = "" A5746 = "" A5747 = "" A5748 = "" A5749 = "" A5750 = "" 
+A5751 = "" A5752 = "" A5753 = "" A5754 = "" A5755 = "" A5756 = "" A5757 = "" A5758 = "" A5759 = "" A5760 = "" 
+A5761 = "" A5762 = "" A5763 = "" A5764 = "" A5765 = "" A5766 = "" A5767 = "" A5768 = "" A5769 = "" A5770 = "" 
+A5771 = "" A5772 = "" A5773 = "" A5774 = "" A5775 = "" A5776 = "" A5777 = "" A5778 = "" A5779 = "" A5780 = "" 
+A5781 = "" A5782 = "" A5783 = "" A5784 = "" A5785 = "" A5786 = "" A5787 = "" A5788 = "" A5789 = "" A5790 = "" 
+A5791 = "" A5792 = "" A5793 = "" A5794 = "" A5795 = "" A5796 = "" A5797 = "" A5798 = "" A5799 = "" A5800 = "" 
+A5801 = "" A5802 = "" A5803 = "" A5804 = "" A5805 = "" A5806 = "" A5807 = "" A5808 = "" A5809 = "" A5810 = "" 
+A5811 = "" A5812 = "" A5813 = "" A5814 = "" A5815 = "" A5816 = "" A5817 = "" A5818 = "" A5819 = "" A5820 = "" 
+A5821 = "" A5822 = "" A5823 = "" A5824 = "" A5825 = "" A5826 = "" A5827 = "" A5828 = "" A5829 = "" A5830 = "" 
+A5831 = "" A5832 = "" A5833 = "" A5834 = "" A5835 = "" A5836 = "" A5837 = "" A5838 = "" A5839 = "" A5840 = "" 
+A5841 = "" A5842 = "" A5843 = "" A5844 = "" A5845 = "" A5846 = "" A5847 = "" A5848 = "" A5849 = "" A5850 = "" 
+A5851 = "" A5852 = "" A5853 = "" A5854 = "" A5855 = "" A5856 = "" A5857 = "" A5858 = "" A5859 = "" A5860 = "" 
+A5861 = "" A5862 = "" A5863 = "" A5864 = "" A5865 = "" A5866 = "" A5867 = "" A5868 = "" A5869 = "" A5870 = "" 
+A5871 = "" A5872 = "" A5873 = "" A5874 = "" A5875 = "" A5876 = "" A5877 = "" A5878 = "" A5879 = "" A5880 = "" 
+A5881 = "" A5882 = "" A5883 = "" A5884 = "" A5885 = "" A5886 = "" A5887 = "" A5888 = "" A5889 = "" A5890 = "" 
+A5891 = "" A5892 = "" A5893 = "" A5894 = "" A5895 = "" A5896 = "" A5897 = "" A5898 = "" A5899 = "" A5900 = "" 
+A5901 = "" A5902 = "" A5903 = "" A5904 = "" A5905 = "" A5906 = "" A5907 = "" A5908 = "" A5909 = "" A5910 = "" 
+A5911 = "" A5912 = "" A5913 = "" A5914 = "" A5915 = "" A5916 = "" A5917 = "" A5918 = "" A5919 = "" A5920 = "" 
+A5921 = "" A5922 = "" A5923 = "" A5924 = "" A5925 = "" A5926 = "" A5927 = "" A5928 = "" A5929 = "" A5930 = "" 
+A5931 = "" A5932 = "" A5933 = "" A5934 = "" A5935 = "" A5936 = "" A5937 = "" A5938 = "" A5939 = "" A5940 = "" 
+A5941 = "" A5942 = "" A5943 = "" A5944 = "" A5945 = "" A5946 = "" A5947 = "" A5948 = "" A5949 = "" A5950 = "" 
+A5951 = "" A5952 = "" A5953 = "" A5954 = "" A5955 = "" A5956 = "" A5957 = "" A5958 = "" A5959 = "" A5960 = "" 
+A5961 = "" A5962 = "" A5963 = "" A5964 = "" A5965 = "" A5966 = "" A5967 = "" A5968 = "" A5969 = "" A5970 = "" 
+A5971 = "" A5972 = "" A5973 = "" A5974 = "" A5975 = "" A5976 = "" A5977 = "" A5978 = "" A5979 = "" A5980 = "" 
+A5981 = "" A5982 = "" A5983 = "" A5984 = "" A5985 = "" A5986 = "" A5987 = "" A5988 = "" A5989 = "" A5990 = "" 
+A5991 = "" A5992 = "" A5993 = "" A5994 = "" A5995 = "" A5996 = "" A5997 = "" A5998 = "" A5999 = "" A6000 = "" 
+A6001 = "" A6002 = "" A6003 = "" A6004 = "" A6005 = "" A6006 = "" A6007 = "" A6008 = "" A6009 = "" A6010 = "" 
+A6011 = "" A6012 = "" A6013 = "" A6014 = "" A6015 = "" A6016 = "" A6017 = "" A6018 = "" A6019 = "" A6020 = "" 
+A6021 = "" A6022 = "" A6023 = "" A6024 = "" A6025 = "" A6026 = "" A6027 = "" A6028 = "" A6029 = "" A6030 = "" 
+A6031 = "" A6032 = "" A6033 = "" A6034 = "" A6035 = "" A6036 = "" A6037 = "" A6038 = "" A6039 = "" A6040 = "" 
+A6041 = "" A6042 = "" A6043 = "" A6044 = "" A6045 = "" A6046 = "" A6047 = "" A6048 = "" A6049 = "" A6050 = "" 
+A6051 = "" A6052 = "" A6053 = "" A6054 = "" A6055 = "" A6056 = "" A6057 = "" A6058 = "" A6059 = "" A6060 = "" 
+A6061 = "" A6062 = "" A6063 = "" A6064 = "" A6065 = "" A6066 = "" A6067 = "" A6068 = "" A6069 = "" A6070 = "" 
+A6071 = "" A6072 = "" A6073 = "" A6074 = "" A6075 = "" A6076 = "" A6077 = "" A6078 = "" A6079 = "" A6080 = "" 
+A6081 = "" A6082 = "" A6083 = "" A6084 = "" A6085 = "" A6086 = "" A6087 = "" A6088 = "" A6089 = "" A6090 = "" 
+A6091 = "" A6092 = "" A6093 = "" A6094 = "" A6095 = "" A6096 = "" A6097 = "" A6098 = "" A6099 = "" A6100 = "" 
+A6101 = "" A6102 = "" A6103 = "" A6104 = "" A6105 = "" A6106 = "" A6107 = "" A6108 = "" A6109 = "" A6110 = "" 
+A6111 = "" A6112 = "" A6113 = "" A6114 = "" A6115 = "" A6116 = "" A6117 = "" A6118 = "" A6119 = "" A6120 = "" 
+A6121 = "" A6122 = "" A6123 = "" A6124 = "" A6125 = "" A6126 = "" A6127 = "" A6128 = "" A6129 = "" A6130 = "" 
+A6131 = "" A6132 = "" A6133 = "" A6134 = "" A6135 = "" A6136 = "" A6137 = "" A6138 = "" A6139 = "" A6140 = "" 
+A6141 = "" A6142 = "" A6143 = "" A6144 = "" A6145 = "" A6146 = "" A6147 = "" A6148 = "" A6149 = "" A6150 = "" 
+A6151 = "" A6152 = "" A6153 = "" A6154 = "" A6155 = "" A6156 = "" A6157 = "" A6158 = "" A6159 = "" A6160 = "" 
+A6161 = "" A6162 = "" A6163 = "" A6164 = "" A6165 = "" A6166 = "" A6167 = "" A6168 = "" A6169 = "" A6170 = "" 
+A6171 = "" A6172 = "" A6173 = "" A6174 = "" A6175 = "" A6176 = "" A6177 = "" A6178 = "" A6179 = "" A6180 = "" 
+A6181 = "" A6182 = "" A6183 = "" A6184 = "" A6185 = "" A6186 = "" A6187 = "" A6188 = "" A6189 = "" A6190 = "" 
+A6191 = "" A6192 = "" A6193 = "" A6194 = "" A6195 = "" A6196 = "" A6197 = "" A6198 = "" A6199 = "" A6200 = "" 
+A6201 = "" A6202 = "" A6203 = "" A6204 = "" A6205 = "" A6206 = "" A6207 = "" A6208 = "" A6209 = "" A6210 = "" 
+A6211 = "" A6212 = "" A6213 = "" A6214 = "" A6215 = "" A6216 = "" A6217 = "" A6218 = "" A6219 = "" A6220 = "" 
+A6221 = "" A6222 = "" A6223 = "" A6224 = "" A6225 = "" A6226 = "" A6227 = "" A6228 = "" A6229 = "" A6230 = "" 
+A6231 = "" A6232 = "" A6233 = "" A6234 = "" A6235 = "" A6236 = "" A6237 = "" A6238 = "" A6239 = "" A6240 = "" 
+A6241 = "" A6242 = "" A6243 = "" A6244 = "" A6245 = "" A6246 = "" A6247 = "" A6248 = "" A6249 = "" A6250 = "" 
+A6251 = "" A6252 = "" A6253 = "" A6254 = "" A6255 = "" A6256 = "" A6257 = "" A6258 = "" A6259 = "" A6260 = "" 
+A6261 = "" A6262 = "" A6263 = "" A6264 = "" A6265 = "" A6266 = "" A6267 = "" A6268 = "" A6269 = "" A6270 = "" 
+A6271 = "" A6272 = "" A6273 = "" A6274 = "" A6275 = "" A6276 = "" A6277 = "" A6278 = "" A6279 = "" A6280 = "" 
+A6281 = "" A6282 = "" A6283 = "" A6284 = "" A6285 = "" A6286 = "" A6287 = "" A6288 = "" A6289 = "" A6290 = "" 
+A6291 = "" A6292 = "" A6293 = "" A6294 = "" A6295 = "" A6296 = "" A6297 = "" A6298 = "" A6299 = "" A6300 = "" 
+A6301 = "" A6302 = "" A6303 = "" A6304 = "" A6305 = "" A6306 = "" A6307 = "" A6308 = "" A6309 = "" A6310 = "" 
+A6311 = "" A6312 = "" A6313 = "" A6314 = "" A6315 = "" A6316 = "" A6317 = "" A6318 = "" A6319 = "" A6320 = "" 
+A6321 = "" A6322 = "" A6323 = "" A6324 = "" A6325 = "" A6326 = "" A6327 = "" A6328 = "" A6329 = "" A6330 = "" 
+A6331 = "" A6332 = "" A6333 = "" A6334 = "" A6335 = "" A6336 = "" A6337 = "" A6338 = "" A6339 = "" A6340 = "" 
+A6341 = "" A6342 = "" A6343 = "" A6344 = "" A6345 = "" A6346 = "" A6347 = "" A6348 = "" A6349 = "" A6350 = "" 
+A6351 = "" A6352 = "" A6353 = "" A6354 = "" A6355 = "" A6356 = "" A6357 = "" A6358 = "" A6359 = "" A6360 = "" 
+A6361 = "" A6362 = "" A6363 = "" A6364 = "" A6365 = "" A6366 = "" A6367 = "" A6368 = "" A6369 = "" A6370 = "" 
+A6371 = "" A6372 = "" A6373 = "" A6374 = "" A6375 = "" A6376 = "" A6377 = "" A6378 = "" A6379 = "" A6380 = "" 
+A6381 = "" A6382 = "" A6383 = "" A6384 = "" A6385 = "" A6386 = "" A6387 = "" A6388 = "" A6389 = "" A6390 = "" 
+A6391 = "" A6392 = "" A6393 = "" A6394 = "" A6395 = "" A6396 = "" A6397 = "" A6398 = "" A6399 = "" A6400 = "" 
+A6401 = "" A6402 = "" A6403 = "" A6404 = "" A6405 = "" A6406 = "" A6407 = "" A6408 = "" A6409 = "" A6410 = "" 
+A6411 = "" A6412 = "" A6413 = "" A6414 = "" A6415 = "" A6416 = "" A6417 = "" A6418 = "" A6419 = "" A6420 = "" 
+A6421 = "" A6422 = "" A6423 = "" A6424 = "" A6425 = "" A6426 = "" A6427 = "" A6428 = "" A6429 = "" A6430 = "" 
+A6431 = "" A6432 = "" A6433 = "" A6434 = "" A6435 = "" A6436 = "" A6437 = "" A6438 = "" A6439 = "" A6440 = "" 
+A6441 = "" A6442 = "" A6443 = "" A6444 = "" A6445 = "" A6446 = "" A6447 = "" A6448 = "" A6449 = "" A6450 = "" 
+A6451 = "" A6452 = "" A6453 = "" A6454 = "" A6455 = "" A6456 = "" A6457 = "" A6458 = "" A6459 = "" A6460 = "" 
+A6461 = "" A6462 = "" A6463 = "" A6464 = "" A6465 = "" A6466 = "" A6467 = "" A6468 = "" A6469 = "" A6470 = "" 
+A6471 = "" A6472 = "" A6473 = "" A6474 = "" A6475 = "" A6476 = "" A6477 = "" A6478 = "" A6479 = "" A6480 = "" 
+A6481 = "" A6482 = "" A6483 = "" A6484 = "" A6485 = "" A6486 = "" A6487 = "" A6488 = "" A6489 = "" A6490 = "" 
+A6491 = "" A6492 = "" A6493 = "" A6494 = "" A6495 = "" A6496 = "" A6497 = "" A6498 = "" A6499 = "" A6500 = "" 
+A6501 = "" A6502 = "" A6503 = "" A6504 = "" A6505 = "" A6506 = "" A6507 = "" A6508 = "" A6509 = "" A6510 = "" 
+A6511 = "" A6512 = "" A6513 = "" A6514 = "" A6515 = "" A6516 = "" A6517 = "" A6518 = "" A6519 = "" A6520 = "" 
+A6521 = "" A6522 = "" A6523 = "" A6524 = "" A6525 = "" A6526 = "" A6527 = "" A6528 = "" A6529 = "" A6530 = "" 
+A6531 = "" A6532 = "" A6533 = "" A6534 = "" A6535 = "" A6536 = "" A6537 = "" A6538 = "" A6539 = "" A6540 = "" 
+A6541 = "" A6542 = "" A6543 = "" A6544 = "" A6545 = "" A6546 = "" A6547 = "" A6548 = "" A6549 = "" A6550 = "" 
+A6551 = "" A6552 = "" A6553 = "" A6554 = "" A6555 = "" A6556 = "" A6557 = "" A6558 = "" A6559 = "" A6560 = "" 
+A6561 = "" A6562 = "" A6563 = "" A6564 = "" A6565 = "" A6566 = "" A6567 = "" A6568 = "" A6569 = "" A6570 = "" 
+A6571 = "" A6572 = "" A6573 = "" A6574 = "" A6575 = "" A6576 = "" A6577 = "" A6578 = "" A6579 = "" A6580 = "" 
+A6581 = "" A6582 = "" A6583 = "" A6584 = "" A6585 = "" A6586 = "" A6587 = "" A6588 = "" A6589 = "" A6590 = "" 
+A6591 = "" A6592 = "" A6593 = "" A6594 = "" A6595 = "" A6596 = "" A6597 = "" A6598 = "" A6599 = "" A6600 = "" 
+A6601 = "" A6602 = "" A6603 = "" A6604 = "" A6605 = "" A6606 = "" A6607 = "" A6608 = "" A6609 = "" A6610 = "" 
+A6611 = "" A6612 = "" A6613 = "" A6614 = "" A6615 = "" A6616 = "" A6617 = "" A6618 = "" A6619 = "" A6620 = "" 
+A6621 = "" A6622 = "" A6623 = "" A6624 = "" A6625 = "" A6626 = "" A6627 = "" A6628 = "" A6629 = "" A6630 = "" 
+A6631 = "" A6632 = "" A6633 = "" A6634 = "" A6635 = "" A6636 = "" A6637 = "" A6638 = "" A6639 = "" A6640 = "" 
+A6641 = "" A6642 = "" A6643 = "" A6644 = "" A6645 = "" A6646 = "" A6647 = "" A6648 = "" A6649 = "" A6650 = "" 
+A6651 = "" A6652 = "" A6653 = "" A6654 = "" A6655 = "" A6656 = "" A6657 = "" A6658 = "" A6659 = "" A6660 = "" 
+A6661 = "" A6662 = "" A6663 = "" A6664 = "" A6665 = "" A6666 = "" A6667 = "" A6668 = "" A6669 = "" A6670 = "" 
+A6671 = "" A6672 = "" A6673 = "" A6674 = "" A6675 = "" A6676 = "" A6677 = "" A6678 = "" A6679 = "" A6680 = "" 
+A6681 = "" A6682 = "" A6683 = "" A6684 = "" A6685 = "" A6686 = "" A6687 = "" A6688 = "" A6689 = "" A6690 = "" 
+A6691 = "" A6692 = "" A6693 = "" A6694 = "" A6695 = "" A6696 = "" A6697 = "" A6698 = "" A6699 = "" A6700 = "" 
+A6701 = "" A6702 = "" A6703 = "" A6704 = "" A6705 = "" A6706 = "" A6707 = "" A6708 = "" A6709 = "" A6710 = "" 
+A6711 = "" A6712 = "" A6713 = "" A6714 = "" A6715 = "" A6716 = "" A6717 = "" A6718 = "" A6719 = "" A6720 = "" 
+A6721 = "" A6722 = "" A6723 = "" A6724 = "" A6725 = "" A6726 = "" A6727 = "" A6728 = "" A6729 = "" A6730 = "" 
+A6731 = "" A6732 = "" A6733 = "" A6734 = "" A6735 = "" A6736 = "" A6737 = "" A6738 = "" A6739 = "" A6740 = "" 
+A6741 = "" A6742 = "" A6743 = "" A6744 = "" A6745 = "" A6746 = "" A6747 = "" A6748 = "" A6749 = "" A6750 = "" 
+A6751 = "" A6752 = "" A6753 = "" A6754 = "" A6755 = "" A6756 = "" A6757 = "" A6758 = "" A6759 = "" A6760 = "" 
+A6761 = "" A6762 = "" A6763 = "" A6764 = "" A6765 = "" A6766 = "" A6767 = "" A6768 = "" A6769 = "" A6770 = "" 
+A6771 = "" A6772 = "" A6773 = "" A6774 = "" A6775 = "" A6776 = "" A6777 = "" A6778 = "" A6779 = "" A6780 = "" 
+A6781 = "" A6782 = "" A6783 = "" A6784 = "" A6785 = "" A6786 = "" A6787 = "" A6788 = "" A6789 = "" A6790 = "" 
+A6791 = "" A6792 = "" A6793 = "" A6794 = "" A6795 = "" A6796 = "" A6797 = "" A6798 = "" A6799 = "" A6800 = "" 
+A6801 = "" A6802 = "" A6803 = "" A6804 = "" A6805 = "" A6806 = "" A6807 = "" A6808 = "" A6809 = "" A6810 = "" 
+A6811 = "" A6812 = "" A6813 = "" A6814 = "" A6815 = "" A6816 = "" A6817 = "" A6818 = "" A6819 = "" A6820 = "" 
+A6821 = "" A6822 = "" A6823 = "" A6824 = "" A6825 = "" A6826 = "" A6827 = "" A6828 = "" A6829 = "" A6830 = "" 
+A6831 = "" A6832 = "" A6833 = "" A6834 = "" A6835 = "" A6836 = "" A6837 = "" A6838 = "" A6839 = "" A6840 = "" 
+A6841 = "" A6842 = "" A6843 = "" A6844 = "" A6845 = "" A6846 = "" A6847 = "" A6848 = "" A6849 = "" A6850 = "" 
+A6851 = "" A6852 = "" A6853 = "" A6854 = "" A6855 = "" A6856 = "" A6857 = "" A6858 = "" A6859 = "" A6860 = "" 
+A6861 = "" A6862 = "" A6863 = "" A6864 = "" A6865 = "" A6866 = "" A6867 = "" A6868 = "" A6869 = "" A6870 = "" 
+A6871 = "" A6872 = "" A6873 = "" A6874 = "" A6875 = "" A6876 = "" A6877 = "" A6878 = "" A6879 = "" A6880 = "" 
+A6881 = "" A6882 = "" A6883 = "" A6884 = "" A6885 = "" A6886 = "" A6887 = "" A6888 = "" A6889 = "" A6890 = "" 
+A6891 = "" A6892 = "" A6893 = "" A6894 = "" A6895 = "" A6896 = "" A6897 = "" A6898 = "" A6899 = "" A6900 = "" 
+A6901 = "" A6902 = "" A6903 = "" A6904 = "" A6905 = "" A6906 = "" A6907 = "" A6908 = "" A6909 = "" A6910 = "" 
+A6911 = "" A6912 = "" A6913 = "" A6914 = "" A6915 = "" A6916 = "" A6917 = "" A6918 = "" A6919 = "" A6920 = "" 
+A6921 = "" A6922 = "" A6923 = "" A6924 = "" A6925 = "" A6926 = "" A6927 = "" A6928 = "" A6929 = "" A6930 = "" 
+A6931 = "" A6932 = "" A6933 = "" A6934 = "" A6935 = "" A6936 = "" A6937 = "" A6938 = "" A6939 = "" A6940 = "" 
+A6941 = "" A6942 = "" A6943 = "" A6944 = "" A6945 = "" A6946 = "" A6947 = "" A6948 = "" A6949 = "" A6950 = "" 
+A6951 = "" A6952 = "" A6953 = "" A6954 = "" A6955 = "" A6956 = "" A6957 = "" A6958 = "" A6959 = "" A6960 = "" 
+A6961 = "" A6962 = "" A6963 = "" A6964 = "" A6965 = "" A6966 = "" A6967 = "" A6968 = "" A6969 = "" A6970 = "" 
+A6971 = "" A6972 = "" A6973 = "" A6974 = "" A6975 = "" A6976 = "" A6977 = "" A6978 = "" A6979 = "" A6980 = "" 
+A6981 = "" A6982 = "" A6983 = "" A6984 = "" A6985 = "" A6986 = "" A6987 = "" A6988 = "" A6989 = "" A6990 = "" 
+A6991 = "" A6992 = "" A6993 = "" A6994 = "" A6995 = "" A6996 = "" A6997 = "" A6998 = "" A6999 = "" A7000 = "" 
+A7001 = "" A7002 = "" A7003 = "" A7004 = "" A7005 = "" A7006 = "" A7007 = "" A7008 = "" A7009 = "" A7010 = "" 
+A7011 = "" A7012 = "" A7013 = "" A7014 = "" A7015 = "" A7016 = "" A7017 = "" A7018 = "" A7019 = "" A7020 = "" 
+A7021 = "" A7022 = "" A7023 = "" A7024 = "" A7025 = "" A7026 = "" A7027 = "" A7028 = "" A7029 = "" A7030 = "" 
+A7031 = "" A7032 = "" A7033 = "" A7034 = "" A7035 = "" A7036 = "" A7037 = "" A7038 = "" A7039 = "" A7040 = "" 
+A7041 = "" A7042 = "" A7043 = "" A7044 = "" A7045 = "" A7046 = "" A7047 = "" A7048 = "" A7049 = "" A7050 = "" 
+A7051 = "" A7052 = "" A7053 = "" A7054 = "" A7055 = "" A7056 = "" A7057 = "" A7058 = "" A7059 = "" A7060 = "" 
+A7061 = "" A7062 = "" A7063 = "" A7064 = "" A7065 = "" A7066 = "" A7067 = "" A7068 = "" A7069 = "" A7070 = "" 
+A7071 = "" A7072 = "" A7073 = "" A7074 = "" A7075 = "" A7076 = "" A7077 = "" A7078 = "" A7079 = "" A7080 = "" 
+A7081 = "" A7082 = "" A7083 = "" A7084 = "" A7085 = "" A7086 = "" A7087 = "" A7088 = "" A7089 = "" A7090 = "" 
+A7091 = "" A7092 = "" A7093 = "" A7094 = "" A7095 = "" A7096 = "" A7097 = "" A7098 = "" A7099 = "" A7100 = "" 
+A7101 = "" A7102 = "" A7103 = "" A7104 = "" A7105 = "" A7106 = "" A7107 = "" A7108 = "" A7109 = "" A7110 = "" 
+A7111 = "" A7112 = "" A7113 = "" A7114 = "" A7115 = "" A7116 = "" A7117 = "" A7118 = "" A7119 = "" A7120 = "" 
+A7121 = "" A7122 = "" A7123 = "" A7124 = "" A7125 = "" A7126 = "" A7127 = "" A7128 = "" A7129 = "" A7130 = "" 
+A7131 = "" A7132 = "" A7133 = "" A7134 = "" A7135 = "" A7136 = "" A7137 = "" A7138 = "" A7139 = "" A7140 = "" 
+A7141 = "" A7142 = "" A7143 = "" A7144 = "" A7145 = "" A7146 = "" A7147 = "" A7148 = "" A7149 = "" A7150 = "" 
+A7151 = "" A7152 = "" A7153 = "" A7154 = "" A7155 = "" A7156 = "" A7157 = "" A7158 = "" A7159 = "" A7160 = "" 
+A7161 = "" A7162 = "" A7163 = "" A7164 = "" A7165 = "" A7166 = "" A7167 = "" A7168 = "" A7169 = "" A7170 = "" 
+A7171 = "" A7172 = "" A7173 = "" A7174 = "" A7175 = "" A7176 = "" A7177 = "" A7178 = "" A7179 = "" A7180 = "" 
+A7181 = "" A7182 = "" A7183 = "" A7184 = "" A7185 = "" A7186 = "" A7187 = "" A7188 = "" A7189 = "" A7190 = "" 
+A7191 = "" A7192 = "" A7193 = "" A7194 = "" A7195 = "" A7196 = "" A7197 = "" A7198 = "" A7199 = "" A7200 = "" 
+A7201 = "" A7202 = "" A7203 = "" A7204 = "" A7205 = "" A7206 = "" A7207 = "" A7208 = "" A7209 = "" A7210 = "" 
+A7211 = "" A7212 = "" A7213 = "" A7214 = "" A7215 = "" A7216 = "" A7217 = "" A7218 = "" A7219 = "" A7220 = "" 
+A7221 = "" A7222 = "" A7223 = "" A7224 = "" A7225 = "" A7226 = "" A7227 = "" A7228 = "" A7229 = "" A7230 = "" 
+A7231 = "" A7232 = "" A7233 = "" A7234 = "" A7235 = "" A7236 = "" A7237 = "" A7238 = "" A7239 = "" A7240 = "" 
+A7241 = "" A7242 = "" A7243 = "" A7244 = "" A7245 = "" A7246 = "" A7247 = "" A7248 = "" A7249 = "" A7250 = "" 
+A7251 = "" A7252 = "" A7253 = "" A7254 = "" A7255 = "" A7256 = "" A7257 = "" A7258 = "" A7259 = "" A7260 = "" 
+A7261 = "" A7262 = "" A7263 = "" A7264 = "" A7265 = "" A7266 = "" A7267 = "" A7268 = "" A7269 = "" A7270 = "" 
+A7271 = "" A7272 = "" A7273 = "" A7274 = "" A7275 = "" A7276 = "" A7277 = "" A7278 = "" A7279 = "" A7280 = "" 
+A7281 = "" A7282 = "" A7283 = "" A7284 = "" A7285 = "" A7286 = "" A7287 = "" A7288 = "" A7289 = "" A7290 = "" 
+A7291 = "" A7292 = "" A7293 = "" A7294 = "" A7295 = "" A7296 = "" A7297 = "" A7298 = "" A7299 = "" A7300 = "" 
+A7301 = "" A7302 = "" A7303 = "" A7304 = "" A7305 = "" A7306 = "" A7307 = "" A7308 = "" A7309 = "" A7310 = "" 
+A7311 = "" A7312 = "" A7313 = "" A7314 = "" A7315 = "" A7316 = "" A7317 = "" A7318 = "" A7319 = "" A7320 = "" 
+A7321 = "" A7322 = "" A7323 = "" A7324 = "" A7325 = "" A7326 = "" A7327 = "" A7328 = "" A7329 = "" A7330 = "" 
+A7331 = "" A7332 = "" A7333 = "" A7334 = "" A7335 = "" A7336 = "" A7337 = "" A7338 = "" A7339 = "" A7340 = "" 
+A7341 = "" A7342 = "" A7343 = "" A7344 = "" A7345 = "" A7346 = "" A7347 = "" A7348 = "" A7349 = "" A7350 = "" 
+A7351 = "" A7352 = "" A7353 = "" A7354 = "" A7355 = "" A7356 = "" A7357 = "" A7358 = "" A7359 = "" A7360 = "" 
+A7361 = "" A7362 = "" A7363 = "" A7364 = "" A7365 = "" A7366 = "" A7367 = "" A7368 = "" A7369 = "" A7370 = "" 
+A7371 = "" A7372 = "" A7373 = "" A7374 = "" A7375 = "" A7376 = "" A7377 = "" A7378 = "" A7379 = "" A7380 = "" 
+A7381 = "" A7382 = "" A7383 = "" A7384 = "" A7385 = "" A7386 = "" A7387 = "" A7388 = "" A7389 = "" A7390 = "" 
+A7391 = "" A7392 = "" A7393 = "" A7394 = "" A7395 = "" A7396 = "" A7397 = "" A7398 = "" A7399 = "" A7400 = "" 
+A7401 = "" A7402 = "" A7403 = "" A7404 = "" A7405 = "" A7406 = "" A7407 = "" A7408 = "" A7409 = "" A7410 = "" 
+A7411 = "" A7412 = "" A7413 = "" A7414 = "" A7415 = "" A7416 = "" A7417 = "" A7418 = "" A7419 = "" A7420 = "" 
+A7421 = "" A7422 = "" A7423 = "" A7424 = "" A7425 = "" A7426 = "" A7427 = "" A7428 = "" A7429 = "" A7430 = "" 
+A7431 = "" A7432 = "" A7433 = "" A7434 = "" A7435 = "" A7436 = "" A7437 = "" A7438 = "" A7439 = "" A7440 = "" 
+A7441 = "" A7442 = "" A7443 = "" A7444 = "" A7445 = "" A7446 = "" A7447 = "" A7448 = "" A7449 = "" A7450 = "" 
+A7451 = "" A7452 = "" A7453 = "" A7454 = "" A7455 = "" A7456 = "" A7457 = "" A7458 = "" A7459 = "" A7460 = "" 
+A7461 = "" A7462 = "" A7463 = "" A7464 = "" A7465 = "" A7466 = "" A7467 = "" A7468 = "" A7469 = "" A7470 = "" 
+A7471 = "" A7472 = "" A7473 = "" A7474 = "" A7475 = "" A7476 = "" A7477 = "" A7478 = "" A7479 = "" A7480 = "" 
+A7481 = "" A7482 = "" A7483 = "" A7484 = "" A7485 = "" A7486 = "" A7487 = "" A7488 = "" A7489 = "" A7490 = "" 
+A7491 = "" A7492 = "" A7493 = "" A7494 = "" A7495 = "" A7496 = "" A7497 = "" A7498 = "" A7499 = "" A7500 = "" 
+A7501 = "" A7502 = "" A7503 = "" A7504 = "" A7505 = "" A7506 = "" A7507 = "" A7508 = "" A7509 = "" A7510 = "" 
+A7511 = "" A7512 = "" A7513 = "" A7514 = "" A7515 = "" A7516 = "" A7517 = "" A7518 = "" A7519 = "" A7520 = "" 
+A7521 = "" A7522 = "" A7523 = "" A7524 = "" A7525 = "" A7526 = "" A7527 = "" A7528 = "" A7529 = "" A7530 = "" 
+A7531 = "" A7532 = "" A7533 = "" A7534 = "" A7535 = "" A7536 = "" A7537 = "" A7538 = "" A7539 = "" A7540 = "" 
+A7541 = "" A7542 = "" A7543 = "" A7544 = "" A7545 = "" A7546 = "" A7547 = "" A7548 = "" A7549 = "" A7550 = "" 
+A7551 = "" A7552 = "" A7553 = "" A7554 = "" A7555 = "" A7556 = "" A7557 = "" A7558 = "" A7559 = "" A7560 = "" 
+A7561 = "" A7562 = "" A7563 = "" A7564 = "" A7565 = "" A7566 = "" A7567 = "" A7568 = "" A7569 = "" A7570 = "" 
+A7571 = "" A7572 = "" A7573 = "" A7574 = "" A7575 = "" A7576 = "" A7577 = "" A7578 = "" A7579 = "" A7580 = "" 
+A7581 = "" A7582 = "" A7583 = "" A7584 = "" A7585 = "" A7586 = "" A7587 = "" A7588 = "" A7589 = "" A7590 = "" 
+A7591 = "" A7592 = "" A7593 = "" A7594 = "" A7595 = "" A7596 = "" A7597 = "" A7598 = "" A7599 = "" A7600 = "" 
+A7601 = "" A7602 = "" A7603 = "" A7604 = "" A7605 = "" A7606 = "" A7607 = "" A7608 = "" A7609 = "" A7610 = "" 
+A7611 = "" A7612 = "" A7613 = "" A7614 = "" A7615 = "" A7616 = "" A7617 = "" A7618 = "" A7619 = "" A7620 = "" 
+A7621 = "" A7622 = "" A7623 = "" A7624 = "" A7625 = "" A7626 = "" A7627 = "" A7628 = "" A7629 = "" A7630 = "" 
+A7631 = "" A7632 = "" A7633 = "" A7634 = "" A7635 = "" A7636 = "" A7637 = "" A7638 = "" A7639 = "" A7640 = "" 
+A7641 = "" A7642 = "" A7643 = "" A7644 = "" A7645 = "" A7646 = "" A7647 = "" A7648 = "" A7649 = "" A7650 = "" 
+A7651 = "" A7652 = "" A7653 = "" A7654 = "" A7655 = "" A7656 = "" A7657 = "" A7658 = "" A7659 = "" A7660 = "" 
+A7661 = "" A7662 = "" A7663 = "" A7664 = "" A7665 = "" A7666 = "" A7667 = "" A7668 = "" A7669 = "" A7670 = "" 
+A7671 = "" A7672 = "" A7673 = "" A7674 = "" A7675 = "" A7676 = "" A7677 = "" A7678 = "" A7679 = "" A7680 = "" 
+A7681 = "" A7682 = "" A7683 = "" A7684 = "" A7685 = "" A7686 = "" A7687 = "" A7688 = "" A7689 = "" A7690 = "" 
+A7691 = "" A7692 = "" A7693 = "" A7694 = "" A7695 = "" A7696 = "" A7697 = "" A7698 = "" A7699 = "" A7700 = "" 
+A7701 = "" A7702 = "" A7703 = "" A7704 = "" A7705 = "" A7706 = "" A7707 = "" A7708 = "" A7709 = "" A7710 = "" 
+A7711 = "" A7712 = "" A7713 = "" A7714 = "" A7715 = "" A7716 = "" A7717 = "" A7718 = "" A7719 = "" A7720 = "" 
+A7721 = "" A7722 = "" A7723 = "" A7724 = "" A7725 = "" A7726 = "" A7727 = "" A7728 = "" A7729 = "" A7730 = "" 
+A7731 = "" A7732 = "" A7733 = "" A7734 = "" A7735 = "" A7736 = "" A7737 = "" A7738 = "" A7739 = "" A7740 = "" 
+A7741 = "" A7742 = "" A7743 = "" A7744 = "" A7745 = "" A7746 = "" A7747 = "" A7748 = "" A7749 = "" A7750 = "" 
+A7751 = "" A7752 = "" A7753 = "" A7754 = "" A7755 = "" A7756 = "" A7757 = "" A7758 = "" A7759 = "" A7760 = "" 
+A7761 = "" A7762 = "" A7763 = "" A7764 = "" A7765 = "" A7766 = "" A7767 = "" A7768 = "" A7769 = "" A7770 = "" 
+A7771 = "" A7772 = "" A7773 = "" A7774 = "" A7775 = "" A7776 = "" A7777 = "" A7778 = "" A7779 = "" A7780 = "" 
+A7781 = "" A7782 = "" A7783 = "" A7784 = "" A7785 = "" A7786 = "" A7787 = "" A7788 = "" A7789 = "" A7790 = "" 
+A7791 = "" A7792 = "" A7793 = "" A7794 = "" A7795 = "" A7796 = "" A7797 = "" A7798 = "" A7799 = "" A7800 = "" 
+A7801 = "" A7802 = "" A7803 = "" A7804 = "" A7805 = "" A7806 = "" A7807 = "" A7808 = "" A7809 = "" A7810 = "" 
+A7811 = "" A7812 = "" A7813 = "" A7814 = "" A7815 = "" A7816 = "" A7817 = "" A7818 = "" A7819 = "" A7820 = "" 
+A7821 = "" A7822 = "" A7823 = "" A7824 = "" A7825 = "" A7826 = "" A7827 = "" A7828 = "" A7829 = "" A7830 = "" 
+A7831 = "" A7832 = "" A7833 = "" A7834 = "" A7835 = "" A7836 = "" A7837 = "" A7838 = "" A7839 = "" A7840 = "" 
+A7841 = "" A7842 = "" A7843 = "" A7844 = "" A7845 = "" A7846 = "" A7847 = "" A7848 = "" A7849 = "" A7850 = "" 
+A7851 = "" A7852 = "" A7853 = "" A7854 = "" A7855 = "" A7856 = "" A7857 = "" A7858 = "" A7859 = "" A7860 = "" 
+A7861 = "" A7862 = "" A7863 = "" A7864 = "" A7865 = "" A7866 = "" A7867 = "" A7868 = "" A7869 = "" A7870 = "" 
+A7871 = "" A7872 = "" A7873 = "" A7874 = "" A7875 = "" A7876 = "" A7877 = "" A7878 = "" A7879 = "" A7880 = "" 
+A7881 = "" A7882 = "" A7883 = "" A7884 = "" A7885 = "" A7886 = "" A7887 = "" A7888 = "" A7889 = "" A7890 = "" 
+A7891 = "" A7892 = "" A7893 = "" A7894 = "" A7895 = "" A7896 = "" A7897 = "" A7898 = "" A7899 = "" A7900 = "" 
+A7901 = "" A7902 = "" A7903 = "" A7904 = "" A7905 = "" A7906 = "" A7907 = "" A7908 = "" A7909 = "" A7910 = "" 
+A7911 = "" A7912 = "" A7913 = "" A7914 = "" A7915 = "" A7916 = "" A7917 = "" A7918 = "" A7919 = "" A7920 = "" 
+A7921 = "" A7922 = "" A7923 = "" A7924 = "" A7925 = "" A7926 = "" A7927 = "" A7928 = "" A7929 = "" A7930 = "" 
+A7931 = "" A7932 = "" A7933 = "" A7934 = "" A7935 = "" A7936 = "" A7937 = "" A7938 = "" A7939 = "" A7940 = "" 
+A7941 = "" A7942 = "" A7943 = "" A7944 = "" A7945 = "" A7946 = "" A7947 = "" A7948 = "" A7949 = "" A7950 = "" 
+A7951 = "" A7952 = "" A7953 = "" A7954 = "" A7955 = "" A7956 = "" A7957 = "" A7958 = "" A7959 = "" A7960 = "" 
+A7961 = "" A7962 = "" A7963 = "" A7964 = "" A7965 = "" A7966 = "" A7967 = "" A7968 = "" A7969 = "" A7970 = "" 
+A7971 = "" A7972 = "" A7973 = "" A7974 = "" A7975 = "" A7976 = "" A7977 = "" A7978 = "" A7979 = "" A7980 = "" 
+A7981 = "" A7982 = "" A7983 = "" A7984 = "" A7985 = "" A7986 = "" A7987 = "" A7988 = "" A7989 = "" A7990 = "" 
+A7991 = "" A7992 = "" A7993 = "" A7994 = "" A7995 = "" A7996 = "" A7997 = "" A7998 = "" A7999 = "" A8000 = "" 
+A8001 = "" A8002 = "" A8003 = "" A8004 = "" A8005 = "" A8006 = "" A8007 = "" A8008 = "" A8009 = "" A8010 = "" 
+A8011 = "" A8012 = "" A8013 = "" A8014 = "" A8015 = "" A8016 = "" A8017 = "" A8018 = "" A8019 = "" A8020 = "" 
+A8021 = "" A8022 = "" A8023 = "" A8024 = "" A8025 = "" A8026 = "" A8027 = "" A8028 = "" A8029 = "" A8030 = "" 
+A8031 = "" A8032 = "" A8033 = "" A8034 = "" A8035 = "" A8036 = "" A8037 = "" A8038 = "" A8039 = "" A8040 = "" 
+A8041 = "" A8042 = "" A8043 = "" A8044 = "" A8045 = "" A8046 = "" A8047 = "" A8048 = "" A8049 = "" A8050 = "" 
+A8051 = "" A8052 = "" A8053 = "" A8054 = "" A8055 = "" A8056 = "" A8057 = "" A8058 = "" A8059 = "" A8060 = "" 
+A8061 = "" A8062 = "" A8063 = "" A8064 = "" A8065 = "" A8066 = "" A8067 = "" A8068 = "" A8069 = "" A8070 = "" 
+A8071 = "" A8072 = "" A8073 = "" A8074 = "" A8075 = "" A8076 = "" A8077 = "" A8078 = "" A8079 = "" A8080 = "" 
+A8081 = "" A8082 = "" A8083 = "" A8084 = "" A8085 = "" A8086 = "" A8087 = "" A8088 = "" A8089 = "" A8090 = "" 
+A8091 = "" A8092 = "" A8093 = "" A8094 = "" A8095 = "" A8096 = "" A8097 = "" A8098 = "" A8099 = "" A8100 = "" 
+A8101 = "" A8102 = "" A8103 = "" A8104 = "" A8105 = "" A8106 = "" A8107 = "" A8108 = "" A8109 = "" A8110 = "" 
+A8111 = "" A8112 = "" A8113 = "" A8114 = "" A8115 = "" A8116 = "" A8117 = "" A8118 = "" A8119 = "" A8120 = "" 
+A8121 = "" A8122 = "" A8123 = "" A8124 = "" A8125 = "" A8126 = "" A8127 = "" A8128 = "" A8129 = "" A8130 = "" 
+A8131 = "" A8132 = "" A8133 = "" A8134 = "" A8135 = "" A8136 = "" A8137 = "" A8138 = "" A8139 = "" A8140 = "" 
+A8141 = "" A8142 = "" A8143 = "" A8144 = "" A8145 = "" A8146 = "" A8147 = "" A8148 = "" A8149 = "" A8150 = "" 
+A8151 = "" A8152 = "" A8153 = "" A8154 = "" A8155 = "" A8156 = "" A8157 = "" A8158 = "" A8159 = "" A8160 = "" 
+A8161 = "" A8162 = "" A8163 = "" A8164 = "" A8165 = "" A8166 = "" A8167 = "" A8168 = "" A8169 = "" A8170 = "" 
+A8171 = "" A8172 = "" A8173 = "" A8174 = "" A8175 = "" A8176 = "" A8177 = "" A8178 = "" A8179 = "" A8180 = "" 
+A8181 = "" A8182 = "" A8183 = "" A8184 = "" A8185 = "" A8186 = "" A8187 = "" A8188 = "" A8189 = "" A8190 = "" 
+A8191 = "" A8192 = "" A8193 = "" A8194 = "" A8195 = "" A8196 = "" A8197 = "" A8198 = "" A8199 = "" A8200 = "" 
+A8201 = "" A8202 = "" A8203 = "" A8204 = "" A8205 = "" A8206 = "" A8207 = "" A8208 = "" A8209 = "" A8210 = "" 
+A8211 = "" A8212 = "" A8213 = "" A8214 = "" A8215 = "" A8216 = "" A8217 = "" A8218 = "" A8219 = "" A8220 = "" 
+A8221 = "" A8222 = "" A8223 = "" A8224 = "" A8225 = "" A8226 = "" A8227 = "" A8228 = "" A8229 = "" A8230 = "" 
+A8231 = "" A8232 = "" A8233 = "" A8234 = "" A8235 = "" A8236 = "" A8237 = "" A8238 = "" A8239 = "" A8240 = "" 
+A8241 = "" A8242 = "" A8243 = "" A8244 = "" A8245 = "" A8246 = "" A8247 = "" A8248 = "" A8249 = "" A8250 = "" 
+A8251 = "" A8252 = "" A8253 = "" A8254 = "" A8255 = "" A8256 = "" A8257 = "" A8258 = "" A8259 = "" A8260 = "" 
+A8261 = "" A8262 = "" A8263 = "" A8264 = "" A8265 = "" A8266 = "" A8267 = "" A8268 = "" A8269 = "" A8270 = "" 
+A8271 = "" A8272 = "" A8273 = "" A8274 = "" A8275 = "" A8276 = "" A8277 = "" A8278 = "" A8279 = "" A8280 = "" 
+A8281 = "" A8282 = "" A8283 = "" A8284 = "" A8285 = "" A8286 = "" A8287 = "" A8288 = "" A8289 = "" A8290 = "" 
+A8291 = "" A8292 = "" A8293 = "" A8294 = "" A8295 = "" A8296 = "" A8297 = "" A8298 = "" A8299 = "" A8300 = "" 
+A8301 = "" A8302 = "" A8303 = "" A8304 = "" A8305 = "" A8306 = "" A8307 = "" A8308 = "" A8309 = "" A8310 = "" 
+A8311 = "" A8312 = "" A8313 = "" A8314 = "" A8315 = "" A8316 = "" A8317 = "" A8318 = "" A8319 = "" A8320 = "" 
+A8321 = "" A8322 = "" A8323 = "" A8324 = "" A8325 = "" A8326 = "" A8327 = "" A8328 = "" A8329 = "" A8330 = "" 
+A8331 = "" A8332 = "" A8333 = "" A8334 = "" A8335 = "" A8336 = "" A8337 = "" A8338 = "" A8339 = "" A8340 = "" 
+A8341 = "" A8342 = "" A8343 = "" A8344 = "" A8345 = "" A8346 = "" A8347 = "" A8348 = "" A8349 = "" A8350 = "" 
+A8351 = "" A8352 = "" A8353 = "" A8354 = "" A8355 = "" A8356 = "" A8357 = "" A8358 = "" A8359 = "" A8360 = "" 
+A8361 = "" A8362 = "" A8363 = "" A8364 = "" A8365 = "" A8366 = "" A8367 = "" A8368 = "" A8369 = "" A8370 = "" 
+A8371 = "" A8372 = "" A8373 = "" A8374 = "" A8375 = "" A8376 = "" A8377 = "" A8378 = "" A8379 = "" A8380 = "" 
+A8381 = "" A8382 = "" A8383 = "" A8384 = "" A8385 = "" A8386 = "" A8387 = "" A8388 = "" A8389 = "" A8390 = "" 
+A8391 = "" A8392 = "" A8393 = "" A8394 = "" A8395 = "" A8396 = "" A8397 = "" A8398 = "" A8399 = "" A8400 = "" 
+A8401 = "" A8402 = "" A8403 = "" A8404 = "" A8405 = "" A8406 = "" A8407 = "" A8408 = "" A8409 = "" A8410 = "" 
+A8411 = "" A8412 = "" A8413 = "" A8414 = "" A8415 = "" A8416 = "" A8417 = "" A8418 = "" A8419 = "" A8420 = "" 
+A8421 = "" A8422 = "" A8423 = "" A8424 = "" A8425 = "" A8426 = "" A8427 = "" A8428 = "" A8429 = "" A8430 = "" 
+A8431 = "" A8432 = "" A8433 = "" A8434 = "" A8435 = "" A8436 = "" A8437 = "" A8438 = "" A8439 = "" A8440 = "" 
+A8441 = "" A8442 = "" A8443 = "" A8444 = "" A8445 = "" A8446 = "" A8447 = "" A8448 = "" A8449 = "" A8450 = "" 
+A8451 = "" A8452 = "" A8453 = "" A8454 = "" A8455 = "" A8456 = "" A8457 = "" A8458 = "" A8459 = "" A8460 = "" 
+A8461 = "" A8462 = "" A8463 = "" A8464 = "" A8465 = "" A8466 = "" A8467 = "" A8468 = "" A8469 = "" A8470 = "" 
+A8471 = "" A8472 = "" A8473 = "" A8474 = "" A8475 = "" A8476 = "" A8477 = "" A8478 = "" A8479 = "" A8480 = "" 
+A8481 = "" A8482 = "" A8483 = "" A8484 = "" A8485 = "" A8486 = "" A8487 = "" A8488 = "" A8489 = "" A8490 = "" 
+A8491 = "" A8492 = "" A8493 = "" A8494 = "" A8495 = "" A8496 = "" A8497 = "" A8498 = "" A8499 = "" A8500 = "" 
+A8501 = "" A8502 = "" A8503 = "" A8504 = "" A8505 = "" A8506 = "" A8507 = "" A8508 = "" A8509 = "" A8510 = "" 
+A8511 = "" A8512 = "" A8513 = "" A8514 = "" A8515 = "" A8516 = "" A8517 = "" A8518 = "" A8519 = "" A8520 = "" 
+A8521 = "" A8522 = "" A8523 = "" A8524 = "" A8525 = "" A8526 = "" A8527 = "" A8528 = "" A8529 = "" A8530 = "" 
+A8531 = "" A8532 = "" A8533 = "" A8534 = "" A8535 = "" A8536 = "" A8537 = "" A8538 = "" A8539 = "" A8540 = "" 
+A8541 = "" A8542 = "" A8543 = "" A8544 = "" A8545 = "" A8546 = "" A8547 = "" A8548 = "" A8549 = "" A8550 = "" 
+A8551 = "" A8552 = "" A8553 = "" A8554 = "" A8555 = "" A8556 = "" A8557 = "" A8558 = "" A8559 = "" A8560 = "" 
+A8561 = "" A8562 = "" A8563 = "" A8564 = "" A8565 = "" A8566 = "" A8567 = "" A8568 = "" A8569 = "" A8570 = "" 
+A8571 = "" A8572 = "" A8573 = "" A8574 = "" A8575 = "" A8576 = "" A8577 = "" A8578 = "" A8579 = "" A8580 = "" 
+A8581 = "" A8582 = "" A8583 = "" A8584 = "" A8585 = "" A8586 = "" A8587 = "" A8588 = "" A8589 = "" A8590 = "" 
+A8591 = "" A8592 = "" A8593 = "" A8594 = "" A8595 = "" A8596 = "" A8597 = "" A8598 = "" A8599 = "" A8600 = "" 
+A8601 = "" A8602 = "" A8603 = "" A8604 = "" A8605 = "" A8606 = "" A8607 = "" A8608 = "" A8609 = "" A8610 = "" 
+A8611 = "" A8612 = "" A8613 = "" A8614 = "" A8615 = "" A8616 = "" A8617 = "" A8618 = "" A8619 = "" A8620 = "" 
+A8621 = "" A8622 = "" A8623 = "" A8624 = "" A8625 = "" A8626 = "" A8627 = "" A8628 = "" A8629 = "" A8630 = "" 
+A8631 = "" A8632 = "" A8633 = "" A8634 = "" A8635 = "" A8636 = "" A8637 = "" A8638 = "" A8639 = "" A8640 = "" 
+A8641 = "" A8642 = "" A8643 = "" A8644 = "" A8645 = "" A8646 = "" A8647 = "" A8648 = "" A8649 = "" A8650 = "" 
+A8651 = "" A8652 = "" A8653 = "" A8654 = "" A8655 = "" A8656 = "" A8657 = "" A8658 = "" A8659 = "" A8660 = "" 
+A8661 = "" A8662 = "" A8663 = "" A8664 = "" A8665 = "" A8666 = "" A8667 = "" A8668 = "" A8669 = "" A8670 = "" 
+A8671 = "" A8672 = "" A8673 = "" A8674 = "" A8675 = "" A8676 = "" A8677 = "" A8678 = "" A8679 = "" A8680 = "" 
+A8681 = "" A8682 = "" A8683 = "" A8684 = "" A8685 = "" A8686 = "" A8687 = "" A8688 = "" A8689 = "" A8690 = "" 
+A8691 = "" A8692 = "" A8693 = "" A8694 = "" A8695 = "" A8696 = "" A8697 = "" A8698 = "" A8699 = "" A8700 = "" 
+A8701 = "" A8702 = "" A8703 = "" A8704 = "" A8705 = "" A8706 = "" A8707 = "" A8708 = "" A8709 = "" A8710 = "" 
+A8711 = "" A8712 = "" A8713 = "" A8714 = "" A8715 = "" A8716 = "" A8717 = "" A8718 = "" A8719 = "" A8720 = "" 
+A8721 = "" A8722 = "" A8723 = "" A8724 = "" A8725 = "" A8726 = "" A8727 = "" A8728 = "" A8729 = "" A8730 = "" 
+A8731 = "" A8732 = "" A8733 = "" A8734 = "" A8735 = "" A8736 = "" A8737 = "" A8738 = "" A8739 = "" A8740 = "" 
+A8741 = "" A8742 = "" A8743 = "" A8744 = "" A8745 = "" A8746 = "" A8747 = "" A8748 = "" A8749 = "" A8750 = "" 
+A8751 = "" A8752 = "" A8753 = "" A8754 = "" A8755 = "" A8756 = "" A8757 = "" A8758 = "" A8759 = "" A8760 = "" 
+A8761 = "" A8762 = "" A8763 = "" A8764 = "" A8765 = "" A8766 = "" A8767 = "" A8768 = "" A8769 = "" A8770 = "" 
+A8771 = "" A8772 = "" A8773 = "" A8774 = "" A8775 = "" A8776 = "" A8777 = "" A8778 = "" A8779 = "" A8780 = "" 
+A8781 = "" A8782 = "" A8783 = "" A8784 = "" A8785 = "" A8786 = "" A8787 = "" A8788 = "" A8789 = "" A8790 = "" 
+A8791 = "" A8792 = "" A8793 = "" A8794 = "" A8795 = "" A8796 = "" A8797 = "" A8798 = "" A8799 = "" A8800 = "" 
+A8801 = "" A8802 = "" A8803 = "" A8804 = "" A8805 = "" A8806 = "" A8807 = "" A8808 = "" A8809 = "" A8810 = "" 
+A8811 = "" A8812 = "" A8813 = "" A8814 = "" A8815 = "" A8816 = "" A8817 = "" A8818 = "" A8819 = "" A8820 = "" 
+A8821 = "" A8822 = "" A8823 = "" A8824 = "" A8825 = "" A8826 = "" A8827 = "" A8828 = "" A8829 = "" A8830 = "" 
+A8831 = "" A8832 = "" A8833 = "" A8834 = "" A8835 = "" A8836 = "" A8837 = "" A8838 = "" A8839 = "" A8840 = "" 
+A8841 = "" A8842 = "" A8843 = "" A8844 = "" A8845 = "" A8846 = "" A8847 = "" A8848 = "" A8849 = "" A8850 = "" 
+A8851 = "" A8852 = "" A8853 = "" A8854 = "" A8855 = "" A8856 = "" A8857 = "" A8858 = "" A8859 = "" A8860 = "" 
+A8861 = "" A8862 = "" A8863 = "" A8864 = "" A8865 = "" A8866 = "" A8867 = "" A8868 = "" A8869 = "" A8870 = "" 
+A8871 = "" A8872 = "" A8873 = "" A8874 = "" A8875 = "" A8876 = "" A8877 = "" A8878 = "" A8879 = "" A8880 = "" 
+A8881 = "" A8882 = "" A8883 = "" A8884 = "" A8885 = "" A8886 = "" A8887 = "" A8888 = "" A8889 = "" A8890 = "" 
+A8891 = "" A8892 = "" A8893 = "" A8894 = "" A8895 = "" A8896 = "" A8897 = "" A8898 = "" A8899 = "" A8900 = "" 
+A8901 = "" A8902 = "" A8903 = "" A8904 = "" A8905 = "" A8906 = "" A8907 = "" A8908 = "" A8909 = "" A8910 = "" 
+A8911 = "" A8912 = "" A8913 = "" A8914 = "" A8915 = "" A8916 = "" A8917 = "" A8918 = "" A8919 = "" A8920 = "" 
+A8921 = "" A8922 = "" A8923 = "" A8924 = "" A8925 = "" A8926 = "" A8927 = "" A8928 = "" A8929 = "" A8930 = "" 
+A8931 = "" A8932 = "" A8933 = "" A8934 = "" A8935 = "" A8936 = "" A8937 = "" A8938 = "" A8939 = "" A8940 = "" 
+A8941 = "" A8942 = "" A8943 = "" A8944 = "" A8945 = "" A8946 = "" A8947 = "" A8948 = "" A8949 = "" A8950 = "" 
+A8951 = "" A8952 = "" A8953 = "" A8954 = "" A8955 = "" A8956 = "" A8957 = "" A8958 = "" A8959 = "" A8960 = "" 
+A8961 = "" A8962 = "" A8963 = "" A8964 = "" A8965 = "" A8966 = "" A8967 = "" A8968 = "" A8969 = "" A8970 = "" 
+A8971 = "" A8972 = "" A8973 = "" A8974 = "" A8975 = "" A8976 = "" A8977 = "" A8978 = "" A8979 = "" A8980 = "" 
+A8981 = "" A8982 = "" A8983 = "" A8984 = "" A8985 = "" A8986 = "" A8987 = "" A8988 = "" A8989 = "" A8990 = "" 
+A8991 = "" A8992 = "" A8993 = "" A8994 = "" A8995 = "" A8996 = "" A8997 = "" A8998 = "" A8999 = "" A9000 = "" 
+A9001 = "" A9002 = "" A9003 = "" A9004 = "" A9005 = "" A9006 = "" A9007 = "" A9008 = "" A9009 = "" A9010 = "" 
+A9011 = "" A9012 = "" A9013 = "" A9014 = "" A9015 = "" A9016 = "" A9017 = "" A9018 = "" A9019 = "" A9020 = "" 
+A9021 = "" A9022 = "" A9023 = "" A9024 = "" A9025 = "" A9026 = "" A9027 = "" A9028 = "" A9029 = "" A9030 = "" 
+A9031 = "" A9032 = "" A9033 = "" A9034 = "" A9035 = "" A9036 = "" A9037 = "" A9038 = "" A9039 = "" A9040 = "" 
+A9041 = "" A9042 = "" A9043 = "" A9044 = "" A9045 = "" A9046 = "" A9047 = "" A9048 = "" A9049 = "" A9050 = "" 
+A9051 = "" A9052 = "" A9053 = "" A9054 = "" A9055 = "" A9056 = "" A9057 = "" A9058 = "" A9059 = "" A9060 = "" 
+A9061 = "" A9062 = "" A9063 = "" A9064 = "" A9065 = "" A9066 = "" A9067 = "" A9068 = "" A9069 = "" A9070 = "" 
+A9071 = "" A9072 = "" A9073 = "" A9074 = "" A9075 = "" A9076 = "" A9077 = "" A9078 = "" A9079 = "" A9080 = "" 
+A9081 = "" A9082 = "" A9083 = "" A9084 = "" A9085 = "" A9086 = "" A9087 = "" A9088 = "" A9089 = "" A9090 = "" 
+A9091 = "" A9092 = "" A9093 = "" A9094 = "" A9095 = "" A9096 = "" A9097 = "" A9098 = "" A9099 = "" A9100 = "" 
+A9101 = "" A9102 = "" A9103 = "" A9104 = "" A9105 = "" A9106 = "" A9107 = "" A9108 = "" A9109 = "" A9110 = "" 
+A9111 = "" A9112 = "" A9113 = "" A9114 = "" A9115 = "" A9116 = "" A9117 = "" A9118 = "" A9119 = "" A9120 = "" 
+A9121 = "" A9122 = "" A9123 = "" A9124 = "" A9125 = "" A9126 = "" A9127 = "" A9128 = "" A9129 = "" A9130 = "" 
+A9131 = "" A9132 = "" A9133 = "" A9134 = "" A9135 = "" A9136 = "" A9137 = "" A9138 = "" A9139 = "" A9140 = "" 
+A9141 = "" A9142 = "" A9143 = "" A9144 = "" A9145 = "" A9146 = "" A9147 = "" A9148 = "" A9149 = "" A9150 = "" 
+A9151 = "" A9152 = "" A9153 = "" A9154 = "" A9155 = "" A9156 = "" A9157 = "" A9158 = "" A9159 = "" A9160 = "" 
+A9161 = "" A9162 = "" A9163 = "" A9164 = "" A9165 = "" A9166 = "" A9167 = "" A9168 = "" A9169 = "" A9170 = "" 
+A9171 = "" A9172 = "" A9173 = "" A9174 = "" A9175 = "" A9176 = "" A9177 = "" A9178 = "" A9179 = "" A9180 = "" 
+A9181 = "" A9182 = "" A9183 = "" A9184 = "" A9185 = "" A9186 = "" A9187 = "" A9188 = "" A9189 = "" A9190 = "" 
+A9191 = "" A9192 = "" A9193 = "" A9194 = "" A9195 = "" A9196 = "" A9197 = "" A9198 = "" A9199 = "" A9200 = "" 
+A9201 = "" A9202 = "" A9203 = "" A9204 = "" A9205 = "" A9206 = "" A9207 = "" A9208 = "" A9209 = "" A9210 = "" 
+A9211 = "" A9212 = "" A9213 = "" A9214 = "" A9215 = "" A9216 = "" A9217 = "" A9218 = "" A9219 = "" A9220 = "" 
+A9221 = "" A9222 = "" A9223 = "" A9224 = "" A9225 = "" A9226 = "" A9227 = "" A9228 = "" A9229 = "" A9230 = "" 
+A9231 = "" A9232 = "" A9233 = "" A9234 = "" A9235 = "" A9236 = "" A9237 = "" A9238 = "" A9239 = "" A9240 = "" 
+A9241 = "" A9242 = "" A9243 = "" A9244 = "" A9245 = "" A9246 = "" A9247 = "" A9248 = "" A9249 = "" A9250 = "" 
+A9251 = "" A9252 = "" A9253 = "" A9254 = "" A9255 = "" A9256 = "" A9257 = "" A9258 = "" A9259 = "" A9260 = "" 
+A9261 = "" A9262 = "" A9263 = "" A9264 = "" A9265 = "" A9266 = "" A9267 = "" A9268 = "" A9269 = "" A9270 = "" 
+A9271 = "" A9272 = "" A9273 = "" A9274 = "" A9275 = "" A9276 = "" A9277 = "" A9278 = "" A9279 = "" A9280 = "" 
+A9281 = "" A9282 = "" A9283 = "" A9284 = "" A9285 = "" A9286 = "" A9287 = "" A9288 = "" A9289 = "" A9290 = "" 
+A9291 = "" A9292 = "" A9293 = "" A9294 = "" A9295 = "" A9296 = "" A9297 = "" A9298 = "" A9299 = "" A9300 = "" 
+A9301 = "" A9302 = "" A9303 = "" A9304 = "" A9305 = "" A9306 = "" A9307 = "" A9308 = "" A9309 = "" A9310 = "" 
+A9311 = "" A9312 = "" A9313 = "" A9314 = "" A9315 = "" A9316 = "" A9317 = "" A9318 = "" A9319 = "" A9320 = "" 
+A9321 = "" A9322 = "" A9323 = "" A9324 = "" A9325 = "" A9326 = "" A9327 = "" A9328 = "" A9329 = "" A9330 = "" 
+A9331 = "" A9332 = "" A9333 = "" A9334 = "" A9335 = "" A9336 = "" A9337 = "" A9338 = "" A9339 = "" A9340 = "" 
+A9341 = "" A9342 = "" A9343 = "" A9344 = "" A9345 = "" A9346 = "" A9347 = "" A9348 = "" A9349 = "" A9350 = "" 
+A9351 = "" A9352 = "" A9353 = "" A9354 = "" A9355 = "" A9356 = "" A9357 = "" A9358 = "" A9359 = "" A9360 = "" 
+A9361 = "" A9362 = "" A9363 = "" A9364 = "" A9365 = "" A9366 = "" A9367 = "" A9368 = "" A9369 = "" A9370 = "" 
+A9371 = "" A9372 = "" A9373 = "" A9374 = "" A9375 = "" A9376 = "" A9377 = "" A9378 = "" A9379 = "" A9380 = "" 
+A9381 = "" A9382 = "" A9383 = "" A9384 = "" A9385 = "" A9386 = "" A9387 = "" A9388 = "" A9389 = "" A9390 = "" 
+A9391 = "" A9392 = "" A9393 = "" A9394 = "" A9395 = "" A9396 = "" A9397 = "" A9398 = "" A9399 = "" A9400 = "" 
+A9401 = "" A9402 = "" A9403 = "" A9404 = "" A9405 = "" A9406 = "" A9407 = "" A9408 = "" A9409 = "" A9410 = "" 
+A9411 = "" A9412 = "" A9413 = "" A9414 = "" A9415 = "" A9416 = "" A9417 = "" A9418 = "" A9419 = "" A9420 = "" 
+A9421 = "" A9422 = "" A9423 = "" A9424 = "" A9425 = "" A9426 = "" A9427 = "" A9428 = "" A9429 = "" A9430 = "" 
+A9431 = "" A9432 = "" A9433 = "" A9434 = "" A9435 = "" A9436 = "" A9437 = "" A9438 = "" A9439 = "" A9440 = "" 
+A9441 = "" A9442 = "" A9443 = "" A9444 = "" A9445 = "" A9446 = "" A9447 = "" A9448 = "" A9449 = "" A9450 = "" 
+A9451 = "" A9452 = "" A9453 = "" A9454 = "" A9455 = "" A9456 = "" A9457 = "" A9458 = "" A9459 = "" A9460 = "" 
+A9461 = "" A9462 = "" A9463 = "" A9464 = "" A9465 = "" A9466 = "" A9467 = "" A9468 = "" A9469 = "" A9470 = "" 
+A9471 = "" A9472 = "" A9473 = "" A9474 = "" A9475 = "" A9476 = "" A9477 = "" A9478 = "" A9479 = "" A9480 = "" 
+A9481 = "" A9482 = "" A9483 = "" A9484 = "" A9485 = "" A9486 = "" A9487 = "" A9488 = "" A9489 = "" A9490 = "" 
+A9491 = "" A9492 = "" A9493 = "" A9494 = "" A9495 = "" A9496 = "" A9497 = "" A9498 = "" A9499 = "" A9500 = "" 
+A9501 = "" A9502 = "" A9503 = "" A9504 = "" A9505 = "" A9506 = "" A9507 = "" A9508 = "" A9509 = "" A9510 = "" 
+A9511 = "" A9512 = "" A9513 = "" A9514 = "" A9515 = "" A9516 = "" A9517 = "" A9518 = "" A9519 = "" A9520 = "" 
+A9521 = "" A9522 = "" A9523 = "" A9524 = "" A9525 = "" A9526 = "" A9527 = "" A9528 = "" A9529 = "" A9530 = "" 
+A9531 = "" A9532 = "" A9533 = "" A9534 = "" A9535 = "" A9536 = "" A9537 = "" A9538 = "" A9539 = "" A9540 = "" 
+A9541 = "" A9542 = "" A9543 = "" A9544 = "" A9545 = "" A9546 = "" A9547 = "" A9548 = "" A9549 = "" A9550 = "" 
+A9551 = "" A9552 = "" A9553 = "" A9554 = "" A9555 = "" A9556 = "" A9557 = "" A9558 = "" A9559 = "" A9560 = "" 
+A9561 = "" A9562 = "" A9563 = "" A9564 = "" A9565 = "" A9566 = "" A9567 = "" A9568 = "" A9569 = "" A9570 = "" 
+A9571 = "" A9572 = "" A9573 = "" A9574 = "" A9575 = "" A9576 = "" A9577 = "" A9578 = "" A9579 = "" A9580 = "" 
+A9581 = "" A9582 = "" A9583 = "" A9584 = "" A9585 = "" A9586 = "" A9587 = "" A9588 = "" A9589 = "" A9590 = "" 
+A9591 = "" A9592 = "" A9593 = "" A9594 = "" A9595 = "" A9596 = "" A9597 = "" A9598 = "" A9599 = "" A9600 = "" 
+A9601 = "" A9602 = "" A9603 = "" A9604 = "" A9605 = "" A9606 = "" A9607 = "" A9608 = "" A9609 = "" A9610 = "" 
+A9611 = "" A9612 = "" A9613 = "" A9614 = "" A9615 = "" A9616 = "" A9617 = "" A9618 = "" A9619 = "" A9620 = "" 
+A9621 = "" A9622 = "" A9623 = "" A9624 = "" A9625 = "" A9626 = "" A9627 = "" A9628 = "" A9629 = "" A9630 = "" 
+A9631 = "" A9632 = "" A9633 = "" A9634 = "" A9635 = "" A9636 = "" A9637 = "" A9638 = "" A9639 = "" A9640 = "" 
+A9641 = "" A9642 = "" A9643 = "" A9644 = "" A9645 = "" A9646 = "" A9647 = "" A9648 = "" A9649 = "" A9650 = "" 
+A9651 = "" A9652 = "" A9653 = "" A9654 = "" A9655 = "" A9656 = "" A9657 = "" A9658 = "" A9659 = "" A9660 = "" 
+A9661 = "" A9662 = "" A9663 = "" A9664 = "" A9665 = "" A9666 = "" A9667 = "" A9668 = "" A9669 = "" A9670 = "" 
+A9671 = "" A9672 = "" A9673 = "" A9674 = "" A9675 = "" A9676 = "" A9677 = "" A9678 = "" A9679 = "" A9680 = "" 
+A9681 = "" A9682 = "" A9683 = "" A9684 = "" A9685 = "" A9686 = "" A9687 = "" A9688 = "" A9689 = "" A9690 = "" 
+A9691 = "" A9692 = "" A9693 = "" A9694 = "" A9695 = "" A9696 = "" A9697 = "" A9698 = "" A9699 = "" A9700 = "" 
+A9701 = "" A9702 = "" A9703 = "" A9704 = "" A9705 = "" A9706 = "" A9707 = "" A9708 = "" A9709 = "" A9710 = "" 
+A9711 = "" A9712 = "" A9713 = "" A9714 = "" A9715 = "" A9716 = "" A9717 = "" A9718 = "" A9719 = "" A9720 = "" 
+A9721 = "" A9722 = "" A9723 = "" A9724 = "" A9725 = "" A9726 = "" A9727 = "" A9728 = "" A9729 = "" A9730 = "" 
+A9731 = "" A9732 = "" A9733 = "" A9734 = "" A9735 = "" A9736 = "" A9737 = "" A9738 = "" A9739 = "" A9740 = "" 
+A9741 = "" A9742 = "" A9743 = "" A9744 = "" A9745 = "" A9746 = "" A9747 = "" A9748 = "" A9749 = "" A9750 = "" 
+A9751 = "" A9752 = "" A9753 = "" A9754 = "" A9755 = "" A9756 = "" A9757 = "" A9758 = "" A9759 = "" A9760 = "" 
+A9761 = "" A9762 = "" A9763 = "" A9764 = "" A9765 = "" A9766 = "" A9767 = "" A9768 = "" A9769 = "" A9770 = "" 
+A9771 = "" A9772 = "" A9773 = "" A9774 = "" A9775 = "" A9776 = "" A9777 = "" A9778 = "" A9779 = "" A9780 = "" 
+A9781 = "" A9782 = "" A9783 = "" A9784 = "" A9785 = "" A9786 = "" A9787 = "" A9788 = "" A9789 = "" A9790 = "" 
+A9791 = "" A9792 = "" A9793 = "" A9794 = "" A9795 = "" A9796 = "" A9797 = "" A9798 = "" A9799 = "" A9800 = "" 
+A9801 = "" A9802 = "" A9803 = "" A9804 = "" A9805 = "" A9806 = "" A9807 = "" A9808 = "" A9809 = "" A9810 = "" 
+A9811 = "" A9812 = "" A9813 = "" A9814 = "" A9815 = "" A9816 = "" A9817 = "" A9818 = "" A9819 = "" A9820 = "" 
+A9821 = "" A9822 = "" A9823 = "" A9824 = "" A9825 = "" A9826 = "" A9827 = "" A9828 = "" A9829 = "" A9830 = "" 
+A9831 = "" A9832 = "" A9833 = "" A9834 = "" A9835 = "" A9836 = "" A9837 = "" A9838 = "" A9839 = "" A9840 = "" 
+A9841 = "" A9842 = "" A9843 = "" A9844 = "" A9845 = "" A9846 = "" A9847 = "" A9848 = "" A9849 = "" A9850 = "" 
+A9851 = "" A9852 = "" A9853 = "" A9854 = "" A9855 = "" A9856 = "" A9857 = "" A9858 = "" A9859 = "" A9860 = "" 
+A9861 = "" A9862 = "" A9863 = "" A9864 = "" A9865 = "" A9866 = "" A9867 = "" A9868 = "" A9869 = "" A9870 = "" 
+A9871 = "" A9872 = "" A9873 = "" A9874 = "" A9875 = "" A9876 = "" A9877 = "" A9878 = "" A9879 = "" A9880 = "" 
+A9881 = "" A9882 = "" A9883 = "" A9884 = "" A9885 = "" A9886 = "" A9887 = "" A9888 = "" A9889 = "" A9890 = "" 
+A9891 = "" A9892 = "" A9893 = "" A9894 = "" A9895 = "" A9896 = "" A9897 = "" A9898 = "" A9899 = "" A9900 = "" 
+A9901 = "" A9902 = "" A9903 = "" A9904 = "" A9905 = "" A9906 = "" A9907 = "" A9908 = "" A9909 = "" A9910 = "" 
+A9911 = "" A9912 = "" A9913 = "" A9914 = "" A9915 = "" A9916 = "" A9917 = "" A9918 = "" A9919 = "" A9920 = "" 
+A9921 = "" A9922 = "" A9923 = "" A9924 = "" A9925 = "" A9926 = "" A9927 = "" A9928 = "" A9929 = "" A9930 = "" 
+A9931 = "" A9932 = "" A9933 = "" A9934 = "" A9935 = "" A9936 = "" A9937 = "" A9938 = "" A9939 = "" A9940 = "" 
+A9941 = "" A9942 = "" A9943 = "" A9944 = "" A9945 = "" A9946 = "" A9947 = "" A9948 = "" A9949 = "" A9950 = "" 
+A9951 = "" A9952 = "" A9953 = "" A9954 = "" A9955 = "" A9956 = "" A9957 = "" A9958 = "" A9959 = "" A9960 = "" 
+A9961 = "" A9962 = "" A9963 = "" A9964 = "" A9965 = "" A9966 = "" A9967 = "" A9968 = "" A9969 = "" A9970 = "" 
+A9971 = "" A9972 = "" A9973 = "" A9974 = "" A9975 = "" A9976 = "" A9977 = "" A9978 = "" A9979 = "" A9980 = "" 
+A9981 = "" A9982 = "" A9983 = "" A9984 = "" A9985 = "" A9986 = "" A9987 = "" A9988 = "" A9989 = "" A9990 = "" 
+A9991 = "" A9992 = "" A9993 = "" A9994 = "" A9995 = "" A9996 = "" A9997 = "" A9998 = "" A9999 = "" A10000 = "" 
+A10001 = "" A10002 = "" A10003 = "" A10004 = "" A10005 = "" A10006 = "" A10007 = "" A10008 = "" A10009 = "" A10010 = "" 
+A10011 = "" A10012 = "" A10013 = "" A10014 = "" A10015 = "" A10016 = "" A10017 = "" A10018 = "" A10019 = "" A10020 = "" 
+A10021 = "" A10022 = "" A10023 = "" A10024 = "" A10025 = "" A10026 = "" A10027 = "" A10028 = "" A10029 = "" A10030 = "" 
+A10031 = "" A10032 = "" A10033 = "" A10034 = "" A10035 = "" A10036 = "" A10037 = "" A10038 = "" A10039 = "" A10040 = "" 
+A10041 = "" A10042 = "" A10043 = "" A10044 = "" A10045 = "" A10046 = "" A10047 = "" A10048 = "" A10049 = "" A10050 = "" 
+A10051 = "" A10052 = "" A10053 = "" A10054 = "" A10055 = "" A10056 = "" A10057 = "" A10058 = "" A10059 = "" A10060 = "" 
+A10061 = "" A10062 = "" A10063 = "" A10064 = "" A10065 = "" A10066 = "" A10067 = "" A10068 = "" A10069 = "" A10070 = "" 
+A10071 = "" A10072 = "" A10073 = "" A10074 = "" A10075 = "" A10076 = "" A10077 = "" A10078 = "" A10079 = "" A10080 = "" 
+A10081 = "" A10082 = "" A10083 = "" A10084 = "" A10085 = "" A10086 = "" A10087 = "" A10088 = "" A10089 = "" A10090 = "" 
+A10091 = "" A10092 = "" A10093 = "" A10094 = "" A10095 = "" A10096 = "" A10097 = "" A10098 = "" A10099 = "" A10100 = "" 
+A10101 = "" A10102 = "" A10103 = "" A10104 = "" A10105 = "" A10106 = "" A10107 = "" A10108 = "" A10109 = "" A10110 = "" 
+A10111 = "" A10112 = "" A10113 = "" A10114 = "" A10115 = "" A10116 = "" A10117 = "" A10118 = "" A10119 = "" A10120 = "" 
+A10121 = "" A10122 = "" A10123 = "" A10124 = "" A10125 = "" A10126 = "" A10127 = "" A10128 = "" A10129 = "" A10130 = "" 
+A10131 = "" A10132 = "" A10133 = "" A10134 = "" A10135 = "" A10136 = "" A10137 = "" A10138 = "" A10139 = "" A10140 = "" 
+A10141 = "" A10142 = "" A10143 = "" A10144 = "" A10145 = "" A10146 = "" A10147 = "" A10148 = "" A10149 = "" A10150 = "" 
+A10151 = "" A10152 = "" A10153 = "" A10154 = "" A10155 = "" A10156 = "" A10157 = "" A10158 = "" A10159 = "" A10160 = "" 
+A10161 = "" A10162 = "" A10163 = "" A10164 = "" A10165 = "" A10166 = "" A10167 = "" A10168 = "" A10169 = "" A10170 = "" 
+A10171 = "" A10172 = "" A10173 = "" A10174 = "" A10175 = "" A10176 = "" A10177 = "" A10178 = "" A10179 = "" A10180 = "" 
+A10181 = "" A10182 = "" A10183 = "" A10184 = "" A10185 = "" A10186 = "" A10187 = "" A10188 = "" A10189 = "" A10190 = "" 
+A10191 = "" A10192 = "" A10193 = "" A10194 = "" A10195 = "" A10196 = "" A10197 = "" A10198 = "" A10199 = "" A10200 = "" 
+A10201 = "" A10202 = "" A10203 = "" A10204 = "" A10205 = "" A10206 = "" A10207 = "" A10208 = "" A10209 = "" A10210 = "" 
+A10211 = "" A10212 = "" A10213 = "" A10214 = "" A10215 = "" A10216 = "" A10217 = "" A10218 = "" A10219 = "" A10220 = "" 
+A10221 = "" A10222 = "" A10223 = "" A10224 = "" A10225 = "" A10226 = "" A10227 = "" A10228 = "" A10229 = "" A10230 = "" 
+A10231 = "" A10232 = "" A10233 = "" A10234 = "" A10235 = "" A10236 = "" A10237 = "" A10238 = "" A10239 = "" A10240 = "" 
+A10241 = "" A10242 = "" A10243 = "" A10244 = "" A10245 = "" A10246 = "" A10247 = "" A10248 = "" A10249 = "" A10250 = "" 
+A10251 = "" A10252 = "" A10253 = "" A10254 = "" A10255 = "" A10256 = "" A10257 = "" A10258 = "" A10259 = "" A10260 = "" 
+A10261 = "" A10262 = "" A10263 = "" A10264 = "" A10265 = "" A10266 = "" A10267 = "" A10268 = "" A10269 = "" A10270 = "" 
+A10271 = "" A10272 = "" A10273 = "" A10274 = "" A10275 = "" A10276 = "" A10277 = "" A10278 = "" A10279 = "" A10280 = "" 
+A10281 = "" A10282 = "" A10283 = "" A10284 = "" A10285 = "" A10286 = "" A10287 = "" A10288 = "" A10289 = "" A10290 = "" 
+A10291 = "" A10292 = "" A10293 = "" A10294 = "" A10295 = "" A10296 = "" A10297 = "" A10298 = "" A10299 = "" A10300 = "" 
+A10301 = "" A10302 = "" A10303 = "" A10304 = "" A10305 = "" A10306 = "" A10307 = "" A10308 = "" A10309 = "" A10310 = "" 
+A10311 = "" A10312 = "" A10313 = "" A10314 = "" A10315 = "" A10316 = "" A10317 = "" A10318 = "" A10319 = "" A10320 = "" 
+A10321 = "" A10322 = "" A10323 = "" A10324 = "" A10325 = "" A10326 = "" A10327 = "" A10328 = "" A10329 = "" A10330 = "" 
+A10331 = "" A10332 = "" A10333 = "" A10334 = "" A10335 = "" A10336 = "" A10337 = "" A10338 = "" A10339 = "" A10340 = "" 
+A10341 = "" A10342 = "" A10343 = "" A10344 = "" A10345 = "" A10346 = "" A10347 = "" A10348 = "" A10349 = "" A10350 = "" 
+A10351 = "" A10352 = "" A10353 = "" A10354 = "" A10355 = "" A10356 = "" A10357 = "" A10358 = "" A10359 = "" A10360 = "" 
+A10361 = "" A10362 = "" A10363 = "" A10364 = "" A10365 = "" A10366 = "" A10367 = "" A10368 = "" A10369 = "" A10370 = "" 
+A10371 = "" A10372 = "" A10373 = "" A10374 = "" A10375 = "" A10376 = "" A10377 = "" A10378 = "" A10379 = "" A10380 = "" 
+A10381 = "" A10382 = "" A10383 = "" A10384 = "" A10385 = "" A10386 = "" A10387 = "" A10388 = "" A10389 = "" A10390 = "" 
+A10391 = "" A10392 = "" A10393 = "" A10394 = "" A10395 = "" A10396 = "" A10397 = "" A10398 = "" A10399 = "" A10400 = "" 
+A10401 = "" A10402 = "" A10403 = "" A10404 = "" A10405 = "" A10406 = "" A10407 = "" A10408 = "" A10409 = "" A10410 = "" 
+A10411 = "" A10412 = "" A10413 = "" A10414 = "" A10415 = "" A10416 = "" A10417 = "" A10418 = "" A10419 = "" A10420 = "" 
+A10421 = "" A10422 = "" A10423 = "" A10424 = "" A10425 = "" A10426 = "" A10427 = "" A10428 = "" A10429 = "" A10430 = "" 
+A10431 = "" A10432 = "" A10433 = "" A10434 = "" A10435 = "" A10436 = "" A10437 = "" A10438 = "" A10439 = "" A10440 = "" 
+A10441 = "" A10442 = "" A10443 = "" A10444 = "" A10445 = "" A10446 = "" A10447 = "" A10448 = "" A10449 = "" A10450 = "" 
+A10451 = "" A10452 = "" A10453 = "" A10454 = "" A10455 = "" A10456 = "" A10457 = "" A10458 = "" A10459 = "" A10460 = "" 
+A10461 = "" A10462 = "" A10463 = "" A10464 = "" A10465 = "" A10466 = "" A10467 = "" A10468 = "" A10469 = "" A10470 = "" 
+A10471 = "" A10472 = "" A10473 = "" A10474 = "" A10475 = "" A10476 = "" A10477 = "" A10478 = "" A10479 = "" A10480 = "" 
+A10481 = "" A10482 = "" A10483 = "" A10484 = "" A10485 = "" A10486 = "" A10487 = "" A10488 = "" A10489 = "" A10490 = "" 
+A10491 = "" A10492 = "" A10493 = "" A10494 = "" A10495 = "" A10496 = "" A10497 = "" A10498 = "" A10499 = "" A10500 = "" 
+A10501 = "" A10502 = "" A10503 = "" A10504 = "" A10505 = "" A10506 = "" A10507 = "" A10508 = "" A10509 = "" A10510 = "" 
+A10511 = "" A10512 = "" A10513 = "" A10514 = "" A10515 = "" A10516 = "" A10517 = "" A10518 = "" A10519 = "" A10520 = "" 
+A10521 = "" A10522 = "" A10523 = "" A10524 = "" A10525 = "" A10526 = "" A10527 = "" A10528 = "" A10529 = "" A10530 = "" 
+A10531 = "" A10532 = "" A10533 = "" A10534 = "" A10535 = "" A10536 = "" A10537 = "" A10538 = "" A10539 = "" A10540 = "" 
+A10541 = "" A10542 = "" A10543 = "" A10544 = "" A10545 = "" A10546 = "" A10547 = "" A10548 = "" A10549 = "" A10550 = "" 
+A10551 = "" A10552 = "" A10553 = "" A10554 = "" A10555 = "" A10556 = "" A10557 = "" A10558 = "" A10559 = "" A10560 = "" 
+A10561 = "" A10562 = "" A10563 = "" A10564 = "" A10565 = "" A10566 = "" A10567 = "" A10568 = "" A10569 = "" A10570 = "" 
+A10571 = "" A10572 = "" A10573 = "" A10574 = "" A10575 = "" A10576 = "" A10577 = "" A10578 = "" A10579 = "" A10580 = "" 
+A10581 = "" A10582 = "" A10583 = "" A10584 = "" A10585 = "" A10586 = "" A10587 = "" A10588 = "" A10589 = "" A10590 = "" 
+A10591 = "" A10592 = "" A10593 = "" A10594 = "" A10595 = "" A10596 = "" A10597 = "" A10598 = "" A10599 = "" A10600 = "" 
+A10601 = "" A10602 = "" A10603 = "" A10604 = "" A10605 = "" A10606 = "" A10607 = "" A10608 = "" A10609 = "" A10610 = "" 
+A10611 = "" A10612 = "" A10613 = "" A10614 = "" A10615 = "" A10616 = "" A10617 = "" A10618 = "" A10619 = "" A10620 = "" 
+A10621 = "" A10622 = "" A10623 = "" A10624 = "" A10625 = "" A10626 = "" A10627 = "" A10628 = "" A10629 = "" A10630 = "" 
+A10631 = "" A10632 = "" A10633 = "" A10634 = "" A10635 = "" A10636 = "" A10637 = "" A10638 = "" A10639 = "" A10640 = "" 
+A10641 = "" A10642 = "" A10643 = "" A10644 = "" A10645 = "" A10646 = "" A10647 = "" A10648 = "" A10649 = "" A10650 = "" 
+A10651 = "" A10652 = "" A10653 = "" A10654 = "" A10655 = "" A10656 = "" A10657 = "" A10658 = "" A10659 = "" A10660 = "" 
+A10661 = "" A10662 = "" A10663 = "" A10664 = "" A10665 = "" A10666 = "" A10667 = "" A10668 = "" A10669 = "" A10670 = "" 
+A10671 = "" A10672 = "" A10673 = "" A10674 = "" A10675 = "" A10676 = "" A10677 = "" A10678 = "" A10679 = "" A10680 = "" 
+A10681 = "" A10682 = "" A10683 = "" A10684 = "" A10685 = "" A10686 = "" A10687 = "" A10688 = "" A10689 = "" A10690 = "" 
+A10691 = "" A10692 = "" A10693 = "" A10694 = "" A10695 = "" A10696 = "" A10697 = "" A10698 = "" A10699 = "" A10700 = "" 
+A10701 = "" A10702 = "" A10703 = "" A10704 = "" A10705 = "" A10706 = "" A10707 = "" A10708 = "" A10709 = "" A10710 = "" 
+A10711 = "" A10712 = "" A10713 = "" A10714 = "" A10715 = "" A10716 = "" A10717 = "" A10718 = "" A10719 = "" A10720 = "" 
+A10721 = "" A10722 = "" A10723 = "" A10724 = "" A10725 = "" A10726 = "" A10727 = "" A10728 = "" A10729 = "" A10730 = "" 
+A10731 = "" A10732 = "" A10733 = "" A10734 = "" A10735 = "" A10736 = "" A10737 = "" A10738 = "" A10739 = "" A10740 = "" 
+A10741 = "" A10742 = "" A10743 = "" A10744 = "" A10745 = "" A10746 = "" A10747 = "" A10748 = "" A10749 = "" A10750 = "" 
+A10751 = "" A10752 = "" A10753 = "" A10754 = "" A10755 = "" A10756 = "" A10757 = "" A10758 = "" A10759 = "" A10760 = "" 
+A10761 = "" A10762 = "" A10763 = "" A10764 = "" A10765 = "" A10766 = "" A10767 = "" A10768 = "" A10769 = "" A10770 = "" 
+A10771 = "" A10772 = "" A10773 = "" A10774 = "" A10775 = "" A10776 = "" A10777 = "" A10778 = "" A10779 = "" A10780 = "" 
+A10781 = "" A10782 = "" A10783 = "" A10784 = "" A10785 = "" A10786 = "" A10787 = "" A10788 = "" A10789 = "" A10790 = "" 
+A10791 = "" A10792 = "" A10793 = "" A10794 = "" A10795 = "" A10796 = "" A10797 = "" A10798 = "" A10799 = "" A10800 = "" 
+A10801 = "" A10802 = "" A10803 = "" A10804 = "" A10805 = "" A10806 = "" A10807 = "" A10808 = "" A10809 = "" A10810 = "" 
+A10811 = "" A10812 = "" A10813 = "" A10814 = "" A10815 = "" A10816 = "" A10817 = "" A10818 = "" A10819 = "" A10820 = "" 
+A10821 = "" A10822 = "" A10823 = "" A10824 = "" A10825 = "" A10826 = "" A10827 = "" A10828 = "" A10829 = "" A10830 = "" 
+A10831 = "" A10832 = "" A10833 = "" A10834 = "" A10835 = "" A10836 = "" A10837 = "" A10838 = "" A10839 = "" A10840 = "" 
+A10841 = "" A10842 = "" A10843 = "" A10844 = "" A10845 = "" A10846 = "" A10847 = "" A10848 = "" A10849 = "" A10850 = "" 
+A10851 = "" A10852 = "" A10853 = "" A10854 = "" A10855 = "" A10856 = "" A10857 = "" A10858 = "" A10859 = "" A10860 = "" 
+A10861 = "" A10862 = "" A10863 = "" A10864 = "" A10865 = "" A10866 = "" A10867 = "" A10868 = "" A10869 = "" A10870 = "" 
+A10871 = "" A10872 = "" A10873 = "" A10874 = "" A10875 = "" A10876 = "" A10877 = "" A10878 = "" A10879 = "" A10880 = "" 
+A10881 = "" A10882 = "" A10883 = "" A10884 = "" A10885 = "" A10886 = "" A10887 = "" A10888 = "" A10889 = "" A10890 = "" 
+A10891 = "" A10892 = "" A10893 = "" A10894 = "" A10895 = "" A10896 = "" A10897 = "" A10898 = "" A10899 = "" A10900 = "" 
+A10901 = "" A10902 = "" A10903 = "" A10904 = "" A10905 = "" A10906 = "" A10907 = "" A10908 = "" A10909 = "" A10910 = "" 
+A10911 = "" A10912 = "" A10913 = "" A10914 = "" A10915 = "" A10916 = "" A10917 = "" A10918 = "" A10919 = "" A10920 = "" 
+A10921 = "" A10922 = "" A10923 = "" A10924 = "" A10925 = "" A10926 = "" A10927 = "" A10928 = "" A10929 = "" A10930 = "" 
+A10931 = "" A10932 = "" A10933 = "" A10934 = "" A10935 = "" A10936 = "" A10937 = "" A10938 = "" A10939 = "" A10940 = "" 
+A10941 = "" A10942 = "" A10943 = "" A10944 = "" A10945 = "" A10946 = "" A10947 = "" A10948 = "" A10949 = "" A10950 = "" 
+A10951 = "" A10952 = "" A10953 = "" A10954 = "" A10955 = "" A10956 = "" A10957 = "" A10958 = "" A10959 = "" A10960 = "" 
+A10961 = "" A10962 = "" A10963 = "" A10964 = "" A10965 = "" A10966 = "" A10967 = "" A10968 = "" A10969 = "" A10970 = "" 
+A10971 = "" A10972 = "" A10973 = "" A10974 = "" A10975 = "" A10976 = "" A10977 = "" A10978 = "" A10979 = "" A10980 = "" 
+A10981 = "" A10982 = "" A10983 = "" A10984 = "" A10985 = "" A10986 = "" A10987 = "" A10988 = "" A10989 = "" A10990 = "" 
+A10991 = "" A10992 = "" A10993 = "" A10994 = "" A10995 = "" A10996 = "" A10997 = "" A10998 = "" A10999 = "" A11000 = "" 
+A11001 = "" A11002 = "" A11003 = "" A11004 = "" A11005 = "" A11006 = "" A11007 = "" A11008 = "" A11009 = "" A11010 = "" 
+A11011 = "" A11012 = "" A11013 = "" A11014 = "" A11015 = "" A11016 = "" A11017 = "" A11018 = "" A11019 = "" A11020 = "" 
+A11021 = "" A11022 = "" A11023 = "" A11024 = "" A11025 = "" A11026 = "" A11027 = "" A11028 = "" A11029 = "" A11030 = "" 
+A11031 = "" A11032 = "" A11033 = "" A11034 = "" A11035 = "" A11036 = "" A11037 = "" A11038 = "" A11039 = "" A11040 = "" 
+A11041 = "" A11042 = "" A11043 = "" A11044 = "" A11045 = "" A11046 = "" A11047 = "" A11048 = "" A11049 = "" A11050 = "" 
+A11051 = "" A11052 = "" A11053 = "" A11054 = "" A11055 = "" A11056 = "" A11057 = "" A11058 = "" A11059 = "" A11060 = "" 
+A11061 = "" A11062 = "" A11063 = "" A11064 = "" A11065 = "" A11066 = "" A11067 = "" A11068 = "" A11069 = "" A11070 = "" 
+A11071 = "" A11072 = "" A11073 = "" A11074 = "" A11075 = "" A11076 = "" A11077 = "" A11078 = "" A11079 = "" A11080 = "" 
+A11081 = "" A11082 = "" A11083 = "" A11084 = "" A11085 = "" A11086 = "" A11087 = "" A11088 = "" A11089 = "" A11090 = "" 
+A11091 = "" A11092 = "" A11093 = "" A11094 = "" A11095 = "" A11096 = "" A11097 = "" A11098 = "" A11099 = "" A11100 = "" 
+A11101 = "" A11102 = "" A11103 = "" A11104 = "" A11105 = "" A11106 = "" A11107 = "" A11108 = "" A11109 = "" A11110 = "" 
+A11111 = "" A11112 = "" A11113 = "" A11114 = "" A11115 = "" A11116 = "" A11117 = "" A11118 = "" A11119 = "" A11120 = "" 
+A11121 = "" A11122 = "" A11123 = "" A11124 = "" A11125 = "" A11126 = "" A11127 = "" A11128 = "" A11129 = "" A11130 = "" 
+A11131 = "" A11132 = "" A11133 = "" A11134 = "" A11135 = "" A11136 = "" A11137 = "" A11138 = "" A11139 = "" A11140 = "" 
+A11141 = "" A11142 = "" A11143 = "" A11144 = "" A11145 = "" A11146 = "" A11147 = "" A11148 = "" A11149 = "" A11150 = "" 
+A11151 = "" A11152 = "" A11153 = "" A11154 = "" A11155 = "" A11156 = "" A11157 = "" A11158 = "" A11159 = "" A11160 = "" 
+A11161 = "" A11162 = "" A11163 = "" A11164 = "" A11165 = "" A11166 = "" A11167 = "" A11168 = "" A11169 = "" A11170 = "" 
+A11171 = "" A11172 = "" A11173 = "" A11174 = "" A11175 = "" A11176 = "" A11177 = "" A11178 = "" A11179 = "" A11180 = "" 
+A11181 = "" A11182 = "" A11183 = "" A11184 = "" A11185 = "" A11186 = "" A11187 = "" A11188 = "" A11189 = "" A11190 = "" 
+A11191 = "" A11192 = "" A11193 = "" A11194 = "" A11195 = "" A11196 = "" A11197 = "" A11198 = "" A11199 = "" A11200 = "" 
+A11201 = "" A11202 = "" A11203 = "" A11204 = "" A11205 = "" A11206 = "" A11207 = "" A11208 = "" A11209 = "" A11210 = "" 
+A11211 = "" A11212 = "" A11213 = "" A11214 = "" A11215 = "" A11216 = "" A11217 = "" A11218 = "" A11219 = "" A11220 = "" 
+A11221 = "" A11222 = "" A11223 = "" A11224 = "" A11225 = "" A11226 = "" A11227 = "" A11228 = "" A11229 = "" A11230 = "" 
+A11231 = "" A11232 = "" A11233 = "" A11234 = "" A11235 = "" A11236 = "" A11237 = "" A11238 = "" A11239 = "" A11240 = "" 
+A11241 = "" A11242 = "" A11243 = "" A11244 = "" A11245 = "" A11246 = "" A11247 = "" A11248 = "" A11249 = "" A11250 = "" 
+A11251 = "" A11252 = "" A11253 = "" A11254 = "" A11255 = "" A11256 = "" A11257 = "" A11258 = "" A11259 = "" A11260 = "" 
+A11261 = "" A11262 = "" A11263 = "" A11264 = "" A11265 = "" A11266 = "" A11267 = "" A11268 = "" A11269 = "" A11270 = "" 
+A11271 = "" A11272 = "" A11273 = "" A11274 = "" A11275 = "" A11276 = "" A11277 = "" A11278 = "" A11279 = "" A11280 = "" 
+A11281 = "" A11282 = "" A11283 = "" A11284 = "" A11285 = "" A11286 = "" A11287 = "" A11288 = "" A11289 = "" A11290 = "" 
+A11291 = "" A11292 = "" A11293 = "" A11294 = "" A11295 = "" A11296 = "" A11297 = "" A11298 = "" A11299 = "" A11300 = "" 
+A11301 = "" A11302 = "" A11303 = "" A11304 = "" A11305 = "" A11306 = "" A11307 = "" A11308 = "" A11309 = "" A11310 = "" 
+A11311 = "" A11312 = "" A11313 = "" A11314 = "" A11315 = "" A11316 = "" A11317 = "" A11318 = "" A11319 = "" A11320 = "" 
+A11321 = "" A11322 = "" A11323 = "" A11324 = "" A11325 = "" A11326 = "" A11327 = "" A11328 = "" A11329 = "" A11330 = "" 
+A11331 = "" A11332 = "" A11333 = "" A11334 = "" A11335 = "" A11336 = "" A11337 = "" A11338 = "" A11339 = "" A11340 = "" 
+A11341 = "" A11342 = "" A11343 = "" A11344 = "" A11345 = "" A11346 = "" A11347 = "" A11348 = "" A11349 = "" A11350 = "" 
+A11351 = "" A11352 = "" A11353 = "" A11354 = "" A11355 = "" A11356 = "" A11357 = "" A11358 = "" A11359 = "" A11360 = "" 
+A11361 = "" A11362 = "" A11363 = "" A11364 = "" A11365 = "" A11366 = "" A11367 = "" A11368 = "" A11369 = "" A11370 = "" 
+A11371 = "" A11372 = "" A11373 = "" A11374 = "" A11375 = "" A11376 = "" A11377 = "" A11378 = "" A11379 = "" A11380 = "" 
+A11381 = "" A11382 = "" A11383 = "" A11384 = "" A11385 = "" A11386 = "" A11387 = "" A11388 = "" A11389 = "" A11390 = "" 
+A11391 = "" A11392 = "" A11393 = "" A11394 = "" A11395 = "" A11396 = "" A11397 = "" A11398 = "" A11399 = "" A11400 = "" 
+A11401 = "" A11402 = "" A11403 = "" A11404 = "" A11405 = "" A11406 = "" A11407 = "" A11408 = "" A11409 = "" A11410 = "" 
+A11411 = "" A11412 = "" A11413 = "" A11414 = "" A11415 = "" A11416 = "" A11417 = "" A11418 = "" A11419 = "" A11420 = "" 
+A11421 = "" A11422 = "" A11423 = "" A11424 = "" A11425 = "" A11426 = "" A11427 = "" A11428 = "" A11429 = "" A11430 = "" 
+A11431 = "" A11432 = "" A11433 = "" A11434 = "" A11435 = "" A11436 = "" A11437 = "" A11438 = "" A11439 = "" A11440 = "" 
+A11441 = "" A11442 = "" A11443 = "" A11444 = "" A11445 = "" A11446 = "" A11447 = "" A11448 = "" A11449 = "" A11450 = "" 
+A11451 = "" A11452 = "" A11453 = "" A11454 = "" A11455 = "" A11456 = "" A11457 = "" A11458 = "" A11459 = "" A11460 = "" 
+A11461 = "" A11462 = "" A11463 = "" A11464 = "" A11465 = "" A11466 = "" A11467 = "" A11468 = "" A11469 = "" A11470 = "" 
+A11471 = "" A11472 = "" A11473 = "" A11474 = "" A11475 = "" A11476 = "" A11477 = "" A11478 = "" A11479 = "" A11480 = "" 
+A11481 = "" A11482 = "" A11483 = "" A11484 = "" A11485 = "" A11486 = "" A11487 = "" A11488 = "" A11489 = "" A11490 = "" 
+A11491 = "" A11492 = "" A11493 = "" A11494 = "" A11495 = "" A11496 = "" A11497 = "" A11498 = "" A11499 = "" A11500 = "" 
+A11501 = "" A11502 = "" A11503 = "" A11504 = "" A11505 = "" A11506 = "" A11507 = "" A11508 = "" A11509 = "" A11510 = "" 
+A11511 = "" A11512 = "" A11513 = "" A11514 = "" A11515 = "" A11516 = "" A11517 = "" A11518 = "" A11519 = "" A11520 = "" 
+A11521 = "" A11522 = "" A11523 = "" A11524 = "" A11525 = "" A11526 = "" A11527 = "" A11528 = "" A11529 = "" A11530 = "" 
+A11531 = "" A11532 = "" A11533 = "" A11534 = "" A11535 = "" A11536 = "" A11537 = "" A11538 = "" A11539 = "" A11540 = "" 
+A11541 = "" A11542 = "" A11543 = "" A11544 = "" A11545 = "" A11546 = "" A11547 = "" A11548 = "" A11549 = "" A11550 = "" 
+A11551 = "" A11552 = "" A11553 = "" A11554 = "" A11555 = "" A11556 = "" A11557 = "" A11558 = "" A11559 = "" A11560 = "" 
+A11561 = "" A11562 = "" A11563 = "" A11564 = "" A11565 = "" A11566 = "" A11567 = "" A11568 = "" A11569 = "" A11570 = "" 
+A11571 = "" A11572 = "" A11573 = "" A11574 = "" A11575 = "" A11576 = "" A11577 = "" A11578 = "" A11579 = "" A11580 = "" 
+A11581 = "" A11582 = "" A11583 = "" A11584 = "" A11585 = "" A11586 = "" A11587 = "" A11588 = "" A11589 = "" A11590 = "" 
+A11591 = "" A11592 = "" A11593 = "" A11594 = "" A11595 = "" A11596 = "" A11597 = "" A11598 = "" A11599 = "" A11600 = "" 
+A11601 = "" A11602 = "" A11603 = "" A11604 = "" A11605 = "" A11606 = "" A11607 = "" A11608 = "" A11609 = "" A11610 = "" 
+A11611 = "" A11612 = "" A11613 = "" A11614 = "" A11615 = "" A11616 = "" A11617 = "" A11618 = "" A11619 = "" A11620 = "" 
+A11621 = "" A11622 = "" A11623 = "" A11624 = "" A11625 = "" A11626 = "" A11627 = "" A11628 = "" A11629 = "" A11630 = "" 
+A11631 = "" A11632 = "" A11633 = "" A11634 = "" A11635 = "" A11636 = "" A11637 = "" A11638 = "" A11639 = "" A11640 = "" 
+A11641 = "" A11642 = "" A11643 = "" A11644 = "" A11645 = "" A11646 = "" A11647 = "" A11648 = "" A11649 = "" A11650 = "" 
+A11651 = "" A11652 = "" A11653 = "" A11654 = "" A11655 = "" A11656 = "" A11657 = "" A11658 = "" A11659 = "" A11660 = "" 
+A11661 = "" A11662 = "" A11663 = "" A11664 = "" A11665 = "" A11666 = "" A11667 = "" A11668 = "" A11669 = "" A11670 = "" 
+A11671 = "" A11672 = "" A11673 = "" A11674 = "" A11675 = "" A11676 = "" A11677 = "" A11678 = "" A11679 = "" A11680 = "" 
+A11681 = "" A11682 = "" A11683 = "" A11684 = "" A11685 = "" A11686 = "" A11687 = "" A11688 = "" A11689 = "" A11690 = "" 
+A11691 = "" A11692 = "" A11693 = "" A11694 = "" A11695 = "" A11696 = "" A11697 = "" A11698 = "" A11699 = "" A11700 = "" 
+A11701 = "" A11702 = "" A11703 = "" A11704 = "" A11705 = "" A11706 = "" A11707 = "" A11708 = "" A11709 = "" A11710 = "" 
+A11711 = "" A11712 = "" A11713 = "" A11714 = "" A11715 = "" A11716 = "" A11717 = "" A11718 = "" A11719 = "" A11720 = "" 
+A11721 = "" A11722 = "" A11723 = "" A11724 = "" A11725 = "" A11726 = "" A11727 = "" A11728 = "" A11729 = "" A11730 = "" 
+A11731 = "" A11732 = "" A11733 = "" A11734 = "" A11735 = "" A11736 = "" A11737 = "" A11738 = "" A11739 = "" A11740 = "" 
+A11741 = "" A11742 = "" A11743 = "" A11744 = "" A11745 = "" A11746 = "" A11747 = "" A11748 = "" A11749 = "" A11750 = "" 
+A11751 = "" A11752 = "" A11753 = "" A11754 = "" A11755 = "" A11756 = "" A11757 = "" A11758 = "" A11759 = "" A11760 = "" 
+A11761 = "" A11762 = "" A11763 = "" A11764 = "" A11765 = "" A11766 = "" A11767 = "" A11768 = "" A11769 = "" A11770 = "" 
+A11771 = "" A11772 = "" A11773 = "" A11774 = "" A11775 = "" A11776 = "" A11777 = "" A11778 = "" A11779 = "" A11780 = "" 
+A11781 = "" A11782 = "" A11783 = "" A11784 = "" A11785 = "" A11786 = "" A11787 = "" A11788 = "" A11789 = "" A11790 = "" 
+A11791 = "" A11792 = "" A11793 = "" A11794 = "" A11795 = "" A11796 = "" A11797 = "" A11798 = "" A11799 = "" A11800 = "" 
+A11801 = "" A11802 = "" A11803 = "" A11804 = "" A11805 = "" A11806 = "" A11807 = "" A11808 = "" A11809 = "" A11810 = "" 
+A11811 = "" A11812 = "" A11813 = "" A11814 = "" A11815 = "" A11816 = "" A11817 = "" A11818 = "" A11819 = "" A11820 = "" 
+A11821 = "" A11822 = "" A11823 = "" A11824 = "" A11825 = "" A11826 = "" A11827 = "" A11828 = "" A11829 = "" A11830 = "" 
+A11831 = "" A11832 = "" A11833 = "" A11834 = "" A11835 = "" A11836 = "" A11837 = "" A11838 = "" A11839 = "" A11840 = "" 
+A11841 = "" A11842 = "" A11843 = "" A11844 = "" A11845 = "" A11846 = "" A11847 = "" A11848 = "" A11849 = "" A11850 = "" 
+A11851 = "" A11852 = "" A11853 = "" A11854 = "" A11855 = "" A11856 = "" A11857 = "" A11858 = "" A11859 = "" A11860 = "" 
+A11861 = "" A11862 = "" A11863 = "" A11864 = "" A11865 = "" A11866 = "" A11867 = "" A11868 = "" A11869 = "" A11870 = "" 
+A11871 = "" A11872 = "" A11873 = "" A11874 = "" A11875 = "" A11876 = "" A11877 = "" A11878 = "" A11879 = "" A11880 = "" 
+A11881 = "" A11882 = "" A11883 = "" A11884 = "" A11885 = "" A11886 = "" A11887 = "" A11888 = "" A11889 = "" A11890 = "" 
+A11891 = "" A11892 = "" A11893 = "" A11894 = "" A11895 = "" A11896 = "" A11897 = "" A11898 = "" A11899 = "" A11900 = "" 
+A11901 = "" A11902 = "" A11903 = "" A11904 = "" A11905 = "" A11906 = "" A11907 = "" A11908 = "" A11909 = "" A11910 = "" 
+A11911 = "" A11912 = "" A11913 = "" A11914 = "" A11915 = "" A11916 = "" A11917 = "" A11918 = "" A11919 = "" A11920 = "" 
+A11921 = "" A11922 = "" A11923 = "" A11924 = "" A11925 = "" A11926 = "" A11927 = "" A11928 = "" A11929 = "" A11930 = "" 
+A11931 = "" A11932 = "" A11933 = "" A11934 = "" A11935 = "" A11936 = "" A11937 = "" A11938 = "" A11939 = "" A11940 = "" 
+A11941 = "" A11942 = "" A11943 = "" A11944 = "" A11945 = "" A11946 = "" A11947 = "" A11948 = "" A11949 = "" A11950 = "" 
+A11951 = "" A11952 = "" A11953 = "" A11954 = "" A11955 = "" A11956 = "" A11957 = "" A11958 = "" A11959 = "" A11960 = "" 
+A11961 = "" A11962 = "" A11963 = "" A11964 = "" A11965 = "" A11966 = "" A11967 = "" A11968 = "" A11969 = "" A11970 = "" 
+A11971 = "" A11972 = "" A11973 = "" A11974 = "" A11975 = "" A11976 = "" A11977 = "" A11978 = "" A11979 = "" A11980 = "" 
+A11981 = "" A11982 = "" A11983 = "" A11984 = "" A11985 = "" A11986 = "" A11987 = "" A11988 = "" A11989 = "" A11990 = "" 
+A11991 = "" A11992 = "" A11993 = "" A11994 = "" A11995 = "" A11996 = "" A11997 = "" A11998 = "" A11999 = "" A12000 = "" 
+A12001 = "" A12002 = "" A12003 = "" A12004 = "" A12005 = "" A12006 = "" A12007 = "" A12008 = "" A12009 = "" A12010 = "" 
+A12011 = "" A12012 = "" A12013 = "" A12014 = "" A12015 = "" A12016 = "" A12017 = "" A12018 = "" A12019 = "" A12020 = "" 
+A12021 = "" A12022 = "" A12023 = "" A12024 = "" A12025 = "" A12026 = "" A12027 = "" A12028 = "" A12029 = "" A12030 = "" 
+A12031 = "" A12032 = "" A12033 = "" A12034 = "" A12035 = "" A12036 = "" A12037 = "" A12038 = "" A12039 = "" A12040 = "" 
+A12041 = "" A12042 = "" A12043 = "" A12044 = "" A12045 = "" A12046 = "" A12047 = "" A12048 = "" A12049 = "" A12050 = "" 
+A12051 = "" A12052 = "" A12053 = "" A12054 = "" A12055 = "" A12056 = "" A12057 = "" A12058 = "" A12059 = "" A12060 = "" 
+A12061 = "" A12062 = "" A12063 = "" A12064 = "" A12065 = "" A12066 = "" A12067 = "" A12068 = "" A12069 = "" A12070 = "" 
+A12071 = "" A12072 = "" A12073 = "" A12074 = "" A12075 = "" A12076 = "" A12077 = "" A12078 = "" A12079 = "" A12080 = "" 
+A12081 = "" A12082 = "" A12083 = "" A12084 = "" A12085 = "" A12086 = "" A12087 = "" A12088 = "" A12089 = "" A12090 = "" 
+A12091 = "" A12092 = "" A12093 = "" A12094 = "" A12095 = "" A12096 = "" A12097 = "" A12098 = "" A12099 = "" A12100 = "" 
+A12101 = "" A12102 = "" A12103 = "" A12104 = "" A12105 = "" A12106 = "" A12107 = "" A12108 = "" A12109 = "" A12110 = "" 
+A12111 = "" A12112 = "" A12113 = "" A12114 = "" A12115 = "" A12116 = "" A12117 = "" A12118 = "" A12119 = "" A12120 = "" 
+A12121 = "" A12122 = "" A12123 = "" A12124 = "" A12125 = "" A12126 = "" A12127 = "" A12128 = "" A12129 = "" A12130 = "" 
+A12131 = "" A12132 = "" A12133 = "" A12134 = "" A12135 = "" A12136 = "" A12137 = "" A12138 = "" A12139 = "" A12140 = "" 
+A12141 = "" A12142 = "" A12143 = "" A12144 = "" A12145 = "" A12146 = "" A12147 = "" A12148 = "" A12149 = "" A12150 = "" 
+A12151 = "" A12152 = "" A12153 = "" A12154 = "" A12155 = "" A12156 = "" A12157 = "" A12158 = "" A12159 = "" A12160 = "" 
+A12161 = "" A12162 = "" A12163 = "" A12164 = "" A12165 = "" A12166 = "" A12167 = "" A12168 = "" A12169 = "" A12170 = "" 
+A12171 = "" A12172 = "" A12173 = "" A12174 = "" A12175 = "" A12176 = "" A12177 = "" A12178 = "" A12179 = "" A12180 = "" 
+A12181 = "" A12182 = "" A12183 = "" A12184 = "" A12185 = "" A12186 = "" A12187 = "" A12188 = "" A12189 = "" A12190 = "" 
+A12191 = "" A12192 = "" A12193 = "" A12194 = "" A12195 = "" A12196 = "" A12197 = "" A12198 = "" A12199 = "" A12200 = "" 
+A12201 = "" A12202 = "" A12203 = "" A12204 = "" A12205 = "" A12206 = "" A12207 = "" A12208 = "" A12209 = "" A12210 = "" 
+A12211 = "" A12212 = "" A12213 = "" A12214 = "" A12215 = "" A12216 = "" A12217 = "" A12218 = "" A12219 = "" A12220 = "" 
+A12221 = "" A12222 = "" A12223 = "" A12224 = "" A12225 = "" A12226 = "" A12227 = "" A12228 = "" A12229 = "" A12230 = "" 
+A12231 = "" A12232 = "" A12233 = "" A12234 = "" A12235 = "" A12236 = "" A12237 = "" A12238 = "" A12239 = "" A12240 = "" 
+A12241 = "" A12242 = "" A12243 = "" A12244 = "" A12245 = "" A12246 = "" A12247 = "" A12248 = "" A12249 = "" A12250 = "" 
+A12251 = "" A12252 = "" A12253 = "" A12254 = "" A12255 = "" A12256 = "" A12257 = "" A12258 = "" A12259 = "" A12260 = "" 
+A12261 = "" A12262 = "" A12263 = "" A12264 = "" A12265 = "" A12266 = "" A12267 = "" A12268 = "" A12269 = "" A12270 = "" 
+A12271 = "" A12272 = "" A12273 = "" A12274 = "" A12275 = "" A12276 = "" A12277 = "" A12278 = "" A12279 = "" A12280 = "" 
+A12281 = "" A12282 = "" A12283 = "" A12284 = "" A12285 = "" A12286 = "" A12287 = "" A12288 = "" A12289 = "" A12290 = "" 
+A12291 = "" A12292 = "" A12293 = "" A12294 = "" A12295 = "" A12296 = "" A12297 = "" A12298 = "" A12299 = "" A12300 = "" 
+A12301 = "" A12302 = "" A12303 = "" A12304 = "" A12305 = "" A12306 = "" A12307 = "" A12308 = "" A12309 = "" A12310 = "" 
+A12311 = "" A12312 = "" A12313 = "" A12314 = "" A12315 = "" A12316 = "" A12317 = "" A12318 = "" A12319 = "" A12320 = "" 
+A12321 = "" A12322 = "" A12323 = "" A12324 = "" A12325 = "" A12326 = "" A12327 = "" A12328 = "" A12329 = "" A12330 = "" 
+A12331 = "" A12332 = "" A12333 = "" A12334 = "" A12335 = "" A12336 = "" A12337 = "" A12338 = "" A12339 = "" A12340 = "" 
+A12341 = "" A12342 = "" A12343 = "" A12344 = "" A12345 = "" A12346 = "" A12347 = "" A12348 = "" A12349 = "" A12350 = "" 
+A12351 = "" A12352 = "" A12353 = "" A12354 = "" A12355 = "" A12356 = "" A12357 = "" A12358 = "" A12359 = "" A12360 = "" 
+A12361 = "" A12362 = "" A12363 = "" A12364 = "" A12365 = "" A12366 = "" A12367 = "" A12368 = "" A12369 = "" A12370 = "" 
+A12371 = "" A12372 = "" A12373 = "" A12374 = "" A12375 = "" A12376 = "" A12377 = "" A12378 = "" A12379 = "" A12380 = "" 
+A12381 = "" A12382 = "" A12383 = "" A12384 = "" A12385 = "" A12386 = "" A12387 = "" A12388 = "" A12389 = "" A12390 = "" 
+A12391 = "" A12392 = "" A12393 = "" A12394 = "" A12395 = "" A12396 = "" A12397 = "" A12398 = "" A12399 = "" A12400 = "" 
+A12401 = "" A12402 = "" A12403 = "" A12404 = "" A12405 = "" A12406 = "" A12407 = "" A12408 = "" A12409 = "" A12410 = "" 
+A12411 = "" A12412 = "" A12413 = "" A12414 = "" A12415 = "" A12416 = "" A12417 = "" A12418 = "" A12419 = "" A12420 = "" 
+A12421 = "" A12422 = "" A12423 = "" A12424 = "" A12425 = "" A12426 = "" A12427 = "" A12428 = "" A12429 = "" A12430 = "" 
+A12431 = "" A12432 = "" A12433 = "" A12434 = "" A12435 = "" A12436 = "" A12437 = "" A12438 = "" A12439 = "" A12440 = "" 
+A12441 = "" A12442 = "" A12443 = "" A12444 = "" A12445 = "" A12446 = "" A12447 = "" A12448 = "" A12449 = "" A12450 = "" 
+A12451 = "" A12452 = "" A12453 = "" A12454 = "" A12455 = "" A12456 = "" A12457 = "" A12458 = "" A12459 = "" A12460 = "" 
+A12461 = "" A12462 = "" A12463 = "" A12464 = "" A12465 = "" A12466 = "" A12467 = "" A12468 = "" A12469 = "" A12470 = "" 
+A12471 = "" A12472 = "" A12473 = "" A12474 = "" A12475 = "" A12476 = "" A12477 = "" A12478 = "" A12479 = "" A12480 = "" 
+A12481 = "" A12482 = "" A12483 = "" A12484 = "" A12485 = "" A12486 = "" A12487 = "" A12488 = "" A12489 = "" A12490 = "" 
+A12491 = "" A12492 = "" A12493 = "" A12494 = "" A12495 = "" A12496 = "" A12497 = "" A12498 = "" A12499 = "" A12500 = "" 
+A12501 = "" A12502 = "" A12503 = "" A12504 = "" A12505 = "" A12506 = "" A12507 = "" A12508 = "" A12509 = "" A12510 = "" 
+A12511 = "" A12512 = "" A12513 = "" A12514 = "" A12515 = "" A12516 = "" A12517 = "" A12518 = "" A12519 = "" A12520 = "" 
+A12521 = "" A12522 = "" A12523 = "" A12524 = "" A12525 = "" A12526 = "" A12527 = "" A12528 = "" A12529 = "" A12530 = "" 
+A12531 = "" A12532 = "" A12533 = "" A12534 = "" A12535 = "" A12536 = "" A12537 = "" A12538 = "" A12539 = "" A12540 = "" 
+A12541 = "" A12542 = "" A12543 = "" A12544 = "" A12545 = "" A12546 = "" A12547 = "" A12548 = "" A12549 = "" A12550 = "" 
+A12551 = "" A12552 = "" A12553 = "" A12554 = "" A12555 = "" A12556 = "" A12557 = "" A12558 = "" A12559 = "" A12560 = "" 
+A12561 = "" A12562 = "" A12563 = "" A12564 = "" A12565 = "" A12566 = "" A12567 = "" A12568 = "" A12569 = "" A12570 = "" 
+A12571 = "" A12572 = "" A12573 = "" A12574 = "" A12575 = "" A12576 = "" A12577 = "" A12578 = "" A12579 = "" A12580 = "" 
+A12581 = "" A12582 = "" A12583 = "" A12584 = "" A12585 = "" A12586 = "" A12587 = "" A12588 = "" A12589 = "" A12590 = "" 
+A12591 = "" A12592 = "" A12593 = "" A12594 = "" A12595 = "" A12596 = "" A12597 = "" A12598 = "" A12599 = "" A12600 = "" 
+A12601 = "" A12602 = "" A12603 = "" A12604 = "" A12605 = "" A12606 = "" A12607 = "" A12608 = "" A12609 = "" A12610 = "" 
+A12611 = "" A12612 = "" A12613 = "" A12614 = "" A12615 = "" A12616 = "" A12617 = "" A12618 = "" A12619 = "" A12620 = "" 
+A12621 = "" A12622 = "" A12623 = "" A12624 = "" A12625 = "" A12626 = "" A12627 = "" A12628 = "" A12629 = "" A12630 = "" 
+A12631 = "" A12632 = "" A12633 = "" A12634 = "" A12635 = "" A12636 = "" A12637 = "" A12638 = "" A12639 = "" A12640 = "" 
+A12641 = "" A12642 = "" A12643 = "" A12644 = "" A12645 = "" A12646 = "" A12647 = "" A12648 = "" A12649 = "" A12650 = "" 
+A12651 = "" A12652 = "" A12653 = "" A12654 = "" A12655 = "" A12656 = "" A12657 = "" A12658 = "" A12659 = "" A12660 = "" 
+A12661 = "" A12662 = "" A12663 = "" A12664 = "" A12665 = "" A12666 = "" A12667 = "" A12668 = "" A12669 = "" A12670 = "" 
+A12671 = "" A12672 = "" A12673 = "" A12674 = "" A12675 = "" A12676 = "" A12677 = "" A12678 = "" A12679 = "" A12680 = "" 
+A12681 = "" A12682 = "" A12683 = "" A12684 = "" A12685 = "" A12686 = "" A12687 = "" A12688 = "" A12689 = "" A12690 = "" 
+A12691 = "" A12692 = "" A12693 = "" A12694 = "" A12695 = "" A12696 = "" A12697 = "" A12698 = "" A12699 = "" A12700 = "" 
+A12701 = "" A12702 = "" A12703 = "" A12704 = "" A12705 = "" A12706 = "" A12707 = "" A12708 = "" A12709 = "" A12710 = "" 
+A12711 = "" A12712 = "" A12713 = "" A12714 = "" A12715 = "" A12716 = "" A12717 = "" A12718 = "" A12719 = "" A12720 = "" 
+A12721 = "" A12722 = "" A12723 = "" A12724 = "" A12725 = "" A12726 = "" A12727 = "" A12728 = "" A12729 = "" A12730 = "" 
+A12731 = "" A12732 = "" A12733 = "" A12734 = "" A12735 = "" A12736 = "" A12737 = "" A12738 = "" A12739 = "" A12740 = "" 
+A12741 = "" A12742 = "" A12743 = "" A12744 = "" A12745 = "" A12746 = "" A12747 = "" A12748 = "" A12749 = "" A12750 = "" 
+A12751 = "" A12752 = "" A12753 = "" A12754 = "" A12755 = "" A12756 = "" A12757 = "" A12758 = "" A12759 = "" A12760 = "" 
+A12761 = "" A12762 = "" A12763 = "" A12764 = "" A12765 = "" A12766 = "" A12767 = "" A12768 = "" A12769 = "" A12770 = "" 
+A12771 = "" A12772 = "" A12773 = "" A12774 = "" A12775 = "" A12776 = "" A12777 = "" A12778 = "" A12779 = "" A12780 = "" 
+A12781 = "" A12782 = "" A12783 = "" A12784 = "" A12785 = "" A12786 = "" A12787 = "" A12788 = "" A12789 = "" A12790 = "" 
+A12791 = "" A12792 = "" A12793 = "" A12794 = "" A12795 = "" A12796 = "" A12797 = "" A12798 = "" A12799 = "" A12800 = "" 
+A12801 = "" A12802 = "" A12803 = "" A12804 = "" A12805 = "" A12806 = "" A12807 = "" A12808 = "" A12809 = "" A12810 = "" 
+A12811 = "" A12812 = "" A12813 = "" A12814 = "" A12815 = "" A12816 = "" A12817 = "" A12818 = "" A12819 = "" A12820 = "" 
+A12821 = "" A12822 = "" A12823 = "" A12824 = "" A12825 = "" A12826 = "" A12827 = "" A12828 = "" A12829 = "" A12830 = "" 
+A12831 = "" A12832 = "" A12833 = "" A12834 = "" A12835 = "" A12836 = "" A12837 = "" A12838 = "" A12839 = "" A12840 = "" 
+A12841 = "" A12842 = "" A12843 = "" A12844 = "" A12845 = "" A12846 = "" A12847 = "" A12848 = "" A12849 = "" A12850 = "" 
+A12851 = "" A12852 = "" A12853 = "" A12854 = "" A12855 = "" A12856 = "" A12857 = "" A12858 = "" A12859 = "" A12860 = "" 
+A12861 = "" A12862 = "" A12863 = "" A12864 = "" A12865 = "" A12866 = "" A12867 = "" A12868 = "" A12869 = "" A12870 = "" 
+A12871 = "" A12872 = "" A12873 = "" A12874 = "" A12875 = "" A12876 = "" A12877 = "" A12878 = "" A12879 = "" A12880 = "" 
+A12881 = "" A12882 = "" A12883 = "" A12884 = "" A12885 = "" A12886 = "" A12887 = "" A12888 = "" A12889 = "" A12890 = "" 
+A12891 = "" A12892 = "" A12893 = "" A12894 = "" A12895 = "" A12896 = "" A12897 = "" A12898 = "" A12899 = "" A12900 = "" 
+A12901 = "" A12902 = "" A12903 = "" A12904 = "" A12905 = "" A12906 = "" A12907 = "" A12908 = "" A12909 = "" A12910 = "" 
+A12911 = "" A12912 = "" A12913 = "" A12914 = "" A12915 = "" A12916 = "" A12917 = "" A12918 = "" A12919 = "" A12920 = "" 
+A12921 = "" A12922 = "" A12923 = "" A12924 = "" A12925 = "" A12926 = "" A12927 = "" A12928 = "" A12929 = "" A12930 = "" 
+A12931 = "" A12932 = "" A12933 = "" A12934 = "" A12935 = "" A12936 = "" A12937 = "" A12938 = "" A12939 = "" A12940 = "" 
+A12941 = "" A12942 = "" A12943 = "" A12944 = "" A12945 = "" A12946 = "" A12947 = "" A12948 = "" A12949 = "" A12950 = "" 
+A12951 = "" A12952 = "" A12953 = "" A12954 = "" A12955 = "" A12956 = "" A12957 = "" A12958 = "" A12959 = "" A12960 = "" 
+A12961 = "" A12962 = "" A12963 = "" A12964 = "" A12965 = "" A12966 = "" A12967 = "" A12968 = "" A12969 = "" A12970 = "" 
+A12971 = "" A12972 = "" A12973 = "" A12974 = "" A12975 = "" A12976 = "" A12977 = "" A12978 = "" A12979 = "" A12980 = "" 
+A12981 = "" A12982 = "" A12983 = "" A12984 = "" A12985 = "" A12986 = "" A12987 = "" A12988 = "" A12989 = "" A12990 = "" 
+A12991 = "" A12992 = "" A12993 = "" A12994 = "" A12995 = "" A12996 = "" A12997 = "" A12998 = "" A12999 = "" A13000 = "" 
+A13001 = "" A13002 = "" A13003 = "" A13004 = "" A13005 = "" A13006 = "" A13007 = "" A13008 = "" A13009 = "" A13010 = "" 
+A13011 = "" A13012 = "" A13013 = "" A13014 = "" A13015 = "" A13016 = "" A13017 = "" A13018 = "" A13019 = "" A13020 = "" 
+A13021 = "" A13022 = "" A13023 = "" A13024 = "" A13025 = "" A13026 = "" A13027 = "" A13028 = "" A13029 = "" A13030 = "" 
+A13031 = "" A13032 = "" A13033 = "" A13034 = "" A13035 = "" A13036 = "" A13037 = "" A13038 = "" A13039 = "" A13040 = "" 
+A13041 = "" A13042 = "" A13043 = "" A13044 = "" A13045 = "" A13046 = "" A13047 = "" A13048 = "" A13049 = "" A13050 = "" 
+A13051 = "" A13052 = "" A13053 = "" A13054 = "" A13055 = "" A13056 = "" A13057 = "" A13058 = "" A13059 = "" A13060 = "" 
+A13061 = "" A13062 = "" A13063 = "" A13064 = "" A13065 = "" A13066 = "" A13067 = "" A13068 = "" A13069 = "" A13070 = "" 
+A13071 = "" A13072 = "" A13073 = "" A13074 = "" A13075 = "" A13076 = "" A13077 = "" A13078 = "" A13079 = "" A13080 = "" 
+A13081 = "" A13082 = "" A13083 = "" A13084 = "" A13085 = "" A13086 = "" A13087 = "" A13088 = "" A13089 = "" A13090 = "" 
+A13091 = "" A13092 = "" A13093 = "" A13094 = "" A13095 = "" A13096 = "" A13097 = "" A13098 = "" A13099 = "" A13100 = "" 
+A13101 = "" A13102 = "" A13103 = "" A13104 = "" A13105 = "" A13106 = "" A13107 = "" A13108 = "" A13109 = "" A13110 = "" 
+A13111 = "" A13112 = "" A13113 = "" A13114 = "" A13115 = "" A13116 = "" A13117 = "" A13118 = "" A13119 = "" A13120 = "" 
+A13121 = "" A13122 = "" A13123 = "" A13124 = "" A13125 = "" A13126 = "" A13127 = "" A13128 = "" A13129 = "" A13130 = "" 
+A13131 = "" A13132 = "" A13133 = "" A13134 = "" A13135 = "" A13136 = "" A13137 = "" A13138 = "" A13139 = "" A13140 = "" 
+A13141 = "" A13142 = "" A13143 = "" A13144 = "" A13145 = "" A13146 = "" A13147 = "" A13148 = "" A13149 = "" A13150 = "" 
+A13151 = "" A13152 = "" A13153 = "" A13154 = "" A13155 = "" A13156 = "" A13157 = "" A13158 = "" A13159 = "" A13160 = "" 
+A13161 = "" A13162 = "" A13163 = "" A13164 = "" A13165 = "" A13166 = "" A13167 = "" A13168 = "" A13169 = "" A13170 = "" 
+A13171 = "" A13172 = "" A13173 = "" A13174 = "" A13175 = "" A13176 = "" A13177 = "" A13178 = "" A13179 = "" A13180 = "" 
+A13181 = "" A13182 = "" A13183 = "" A13184 = "" A13185 = "" A13186 = "" A13187 = "" A13188 = "" A13189 = "" A13190 = "" 
+A13191 = "" A13192 = "" A13193 = "" A13194 = "" A13195 = "" A13196 = "" A13197 = "" A13198 = "" A13199 = "" A13200 = "" 
+A13201 = "" A13202 = "" A13203 = "" A13204 = "" A13205 = "" A13206 = "" A13207 = "" A13208 = "" A13209 = "" A13210 = "" 
+A13211 = "" A13212 = "" A13213 = "" A13214 = "" A13215 = "" A13216 = "" A13217 = "" A13218 = "" A13219 = "" A13220 = "" 
+A13221 = "" A13222 = "" A13223 = "" A13224 = "" A13225 = "" A13226 = "" A13227 = "" A13228 = "" A13229 = "" A13230 = "" 
+A13231 = "" A13232 = "" A13233 = "" A13234 = "" A13235 = "" A13236 = "" A13237 = "" A13238 = "" A13239 = "" A13240 = "" 
+A13241 = "" A13242 = "" A13243 = "" A13244 = "" A13245 = "" A13246 = "" A13247 = "" A13248 = "" A13249 = "" A13250 = "" 
+A13251 = "" A13252 = "" A13253 = "" A13254 = "" A13255 = "" A13256 = "" A13257 = "" A13258 = "" A13259 = "" A13260 = "" 
+A13261 = "" A13262 = "" A13263 = "" A13264 = "" A13265 = "" A13266 = "" A13267 = "" A13268 = "" A13269 = "" A13270 = "" 
+A13271 = "" A13272 = "" A13273 = "" A13274 = "" A13275 = "" A13276 = "" A13277 = "" A13278 = "" A13279 = "" A13280 = "" 
+A13281 = "" A13282 = "" A13283 = "" A13284 = "" A13285 = "" A13286 = "" A13287 = "" A13288 = "" A13289 = "" A13290 = "" 
+A13291 = "" A13292 = "" A13293 = "" A13294 = "" A13295 = "" A13296 = "" A13297 = "" A13298 = "" A13299 = "" A13300 = "" 
+A13301 = "" A13302 = "" A13303 = "" A13304 = "" A13305 = "" A13306 = "" A13307 = "" A13308 = "" A13309 = "" A13310 = "" 
+A13311 = "" A13312 = "" A13313 = "" A13314 = "" A13315 = "" A13316 = "" A13317 = "" A13318 = "" A13319 = "" A13320 = "" 
+A13321 = "" A13322 = "" A13323 = "" A13324 = "" A13325 = "" A13326 = "" A13327 = "" A13328 = "" A13329 = "" A13330 = "" 
+A13331 = "" A13332 = "" A13333 = "" A13334 = "" A13335 = "" A13336 = "" A13337 = "" A13338 = "" A13339 = "" A13340 = "" 
+A13341 = "" A13342 = "" A13343 = "" A13344 = "" A13345 = "" A13346 = "" A13347 = "" A13348 = "" A13349 = "" A13350 = "" 
+A13351 = "" A13352 = "" A13353 = "" A13354 = "" A13355 = "" A13356 = "" A13357 = "" A13358 = "" A13359 = "" A13360 = "" 
+A13361 = "" A13362 = "" A13363 = "" A13364 = "" A13365 = "" A13366 = "" A13367 = "" A13368 = "" A13369 = "" A13370 = "" 
+A13371 = "" A13372 = "" A13373 = "" A13374 = "" A13375 = "" A13376 = "" A13377 = "" A13378 = "" A13379 = "" A13380 = "" 
+A13381 = "" A13382 = "" A13383 = "" A13384 = "" A13385 = "" A13386 = "" A13387 = "" A13388 = "" A13389 = "" A13390 = "" 
+A13391 = "" A13392 = "" A13393 = "" A13394 = "" A13395 = "" A13396 = "" A13397 = "" A13398 = "" A13399 = "" A13400 = "" 
+A13401 = "" A13402 = "" A13403 = "" A13404 = "" A13405 = "" A13406 = "" A13407 = "" A13408 = "" A13409 = "" A13410 = "" 
+A13411 = "" A13412 = "" A13413 = "" A13414 = "" A13415 = "" A13416 = "" A13417 = "" A13418 = "" A13419 = "" A13420 = "" 
+A13421 = "" A13422 = "" A13423 = "" A13424 = "" A13425 = "" A13426 = "" A13427 = "" A13428 = "" A13429 = "" A13430 = "" 
+A13431 = "" A13432 = "" A13433 = "" A13434 = "" A13435 = "" A13436 = "" A13437 = "" A13438 = "" A13439 = "" A13440 = "" 
+A13441 = "" A13442 = "" A13443 = "" A13444 = "" A13445 = "" A13446 = "" A13447 = "" A13448 = "" A13449 = "" A13450 = "" 
+A13451 = "" A13452 = "" A13453 = "" A13454 = "" A13455 = "" A13456 = "" A13457 = "" A13458 = "" A13459 = "" A13460 = "" 
+A13461 = "" A13462 = "" A13463 = "" A13464 = "" A13465 = "" A13466 = "" A13467 = "" A13468 = "" A13469 = "" A13470 = "" 
+A13471 = "" A13472 = "" A13473 = "" A13474 = "" A13475 = "" A13476 = "" A13477 = "" A13478 = "" A13479 = "" A13480 = "" 
+A13481 = "" A13482 = "" A13483 = "" A13484 = "" A13485 = "" A13486 = "" A13487 = "" A13488 = "" A13489 = "" A13490 = "" 
+A13491 = "" A13492 = "" A13493 = "" A13494 = "" A13495 = "" A13496 = "" A13497 = "" A13498 = "" A13499 = "" A13500 = "" 
+A13501 = "" A13502 = "" A13503 = "" A13504 = "" A13505 = "" A13506 = "" A13507 = "" A13508 = "" A13509 = "" A13510 = "" 
+A13511 = "" A13512 = "" A13513 = "" A13514 = "" A13515 = "" A13516 = "" A13517 = "" A13518 = "" A13519 = "" A13520 = "" 
+A13521 = "" A13522 = "" A13523 = "" A13524 = "" A13525 = "" A13526 = "" A13527 = "" A13528 = "" A13529 = "" A13530 = "" 
+A13531 = "" A13532 = "" A13533 = "" A13534 = "" A13535 = "" A13536 = "" A13537 = "" A13538 = "" A13539 = "" A13540 = "" 
+A13541 = "" A13542 = "" A13543 = "" A13544 = "" A13545 = "" A13546 = "" A13547 = "" A13548 = "" A13549 = "" A13550 = "" 
+A13551 = "" A13552 = "" A13553 = "" A13554 = "" A13555 = "" A13556 = "" A13557 = "" A13558 = "" A13559 = "" A13560 = "" 
+A13561 = "" A13562 = "" A13563 = "" A13564 = "" A13565 = "" A13566 = "" A13567 = "" A13568 = "" A13569 = "" A13570 = "" 
+A13571 = "" A13572 = "" A13573 = "" A13574 = "" A13575 = "" A13576 = "" A13577 = "" A13578 = "" A13579 = "" A13580 = "" 
+A13581 = "" A13582 = "" A13583 = "" A13584 = "" A13585 = "" A13586 = "" A13587 = "" A13588 = "" A13589 = "" A13590 = "" 
+A13591 = "" A13592 = "" A13593 = "" A13594 = "" A13595 = "" A13596 = "" A13597 = "" A13598 = "" A13599 = "" A13600 = "" 
+A13601 = "" A13602 = "" A13603 = "" A13604 = "" A13605 = "" A13606 = "" A13607 = "" A13608 = "" A13609 = "" A13610 = "" 
+A13611 = "" A13612 = "" A13613 = "" A13614 = "" A13615 = "" A13616 = "" A13617 = "" A13618 = "" A13619 = "" A13620 = "" 
+A13621 = "" A13622 = "" A13623 = "" A13624 = "" A13625 = "" A13626 = "" A13627 = "" A13628 = "" A13629 = "" A13630 = "" 
+A13631 = "" A13632 = "" A13633 = "" A13634 = "" A13635 = "" A13636 = "" A13637 = "" A13638 = "" A13639 = "" A13640 = "" 
+A13641 = "" A13642 = "" A13643 = "" A13644 = "" A13645 = "" A13646 = "" A13647 = "" A13648 = "" A13649 = "" A13650 = "" 
+A13651 = "" A13652 = "" A13653 = "" A13654 = "" A13655 = "" A13656 = "" A13657 = "" A13658 = "" A13659 = "" A13660 = "" 
+A13661 = "" A13662 = "" A13663 = "" A13664 = "" A13665 = "" A13666 = "" A13667 = "" A13668 = "" A13669 = "" A13670 = "" 
+A13671 = "" A13672 = "" A13673 = "" A13674 = "" A13675 = "" A13676 = "" A13677 = "" A13678 = "" A13679 = "" A13680 = "" 
+A13681 = "" A13682 = "" A13683 = "" A13684 = "" A13685 = "" A13686 = "" A13687 = "" A13688 = "" A13689 = "" A13690 = "" 
+A13691 = "" A13692 = "" A13693 = "" A13694 = "" A13695 = "" A13696 = "" A13697 = "" A13698 = "" A13699 = "" A13700 = "" 
+A13701 = "" A13702 = "" A13703 = "" A13704 = "" A13705 = "" A13706 = "" A13707 = "" A13708 = "" A13709 = "" A13710 = "" 
+A13711 = "" A13712 = "" A13713 = "" A13714 = "" A13715 = "" A13716 = "" A13717 = "" A13718 = "" A13719 = "" A13720 = "" 
+A13721 = "" A13722 = "" A13723 = "" A13724 = "" A13725 = "" A13726 = "" A13727 = "" A13728 = "" A13729 = "" A13730 = "" 
+A13731 = "" A13732 = "" A13733 = "" A13734 = "" A13735 = "" A13736 = "" A13737 = "" A13738 = "" A13739 = "" A13740 = "" 
+A13741 = "" A13742 = "" A13743 = "" A13744 = "" A13745 = "" A13746 = "" A13747 = "" A13748 = "" A13749 = "" A13750 = "" 
+A13751 = "" A13752 = "" A13753 = "" A13754 = "" A13755 = "" A13756 = "" A13757 = "" A13758 = "" A13759 = "" A13760 = "" 
+A13761 = "" A13762 = "" A13763 = "" A13764 = "" A13765 = "" A13766 = "" A13767 = "" A13768 = "" A13769 = "" A13770 = "" 
+A13771 = "" A13772 = "" A13773 = "" A13774 = "" A13775 = "" A13776 = "" A13777 = "" A13778 = "" A13779 = "" A13780 = "" 
+A13781 = "" A13782 = "" A13783 = "" A13784 = "" A13785 = "" A13786 = "" A13787 = "" A13788 = "" A13789 = "" A13790 = "" 
+A13791 = "" A13792 = "" A13793 = "" A13794 = "" A13795 = "" A13796 = "" A13797 = "" A13798 = "" A13799 = "" A13800 = "" 
+A13801 = "" A13802 = "" A13803 = "" A13804 = "" A13805 = "" A13806 = "" A13807 = "" A13808 = "" A13809 = "" A13810 = "" 
+A13811 = "" A13812 = "" A13813 = "" A13814 = "" A13815 = "" A13816 = "" A13817 = "" A13818 = "" A13819 = "" A13820 = "" 
+A13821 = "" A13822 = "" A13823 = "" A13824 = "" A13825 = "" A13826 = "" A13827 = "" A13828 = "" A13829 = "" A13830 = "" 
+A13831 = "" A13832 = "" A13833 = "" A13834 = "" A13835 = "" A13836 = "" A13837 = "" A13838 = "" A13839 = "" A13840 = "" 
+A13841 = "" A13842 = "" A13843 = "" A13844 = "" A13845 = "" A13846 = "" A13847 = "" A13848 = "" A13849 = "" A13850 = "" 
+A13851 = "" A13852 = "" A13853 = "" A13854 = "" A13855 = "" A13856 = "" A13857 = "" A13858 = "" A13859 = "" A13860 = "" 
+A13861 = "" A13862 = "" A13863 = "" A13864 = "" A13865 = "" A13866 = "" A13867 = "" A13868 = "" A13869 = "" A13870 = "" 
+A13871 = "" A13872 = "" A13873 = "" A13874 = "" A13875 = "" A13876 = "" A13877 = "" A13878 = "" A13879 = "" A13880 = "" 
+A13881 = "" A13882 = "" A13883 = "" A13884 = "" A13885 = "" A13886 = "" A13887 = "" A13888 = "" A13889 = "" A13890 = "" 
+A13891 = "" A13892 = "" A13893 = "" A13894 = "" A13895 = "" A13896 = "" A13897 = "" A13898 = "" A13899 = "" A13900 = "" 
+A13901 = "" A13902 = "" A13903 = "" A13904 = "" A13905 = "" A13906 = "" A13907 = "" A13908 = "" A13909 = "" A13910 = "" 
+A13911 = "" A13912 = "" A13913 = "" A13914 = "" A13915 = "" A13916 = "" A13917 = "" A13918 = "" A13919 = "" A13920 = "" 
+A13921 = "" A13922 = "" A13923 = "" A13924 = "" A13925 = "" A13926 = "" A13927 = "" A13928 = "" A13929 = "" A13930 = "" 
+A13931 = "" A13932 = "" A13933 = "" A13934 = "" A13935 = "" A13936 = "" A13937 = "" A13938 = "" A13939 = "" A13940 = "" 
+A13941 = "" A13942 = "" A13943 = "" A13944 = "" A13945 = "" A13946 = "" A13947 = "" A13948 = "" A13949 = "" A13950 = "" 
+A13951 = "" A13952 = "" A13953 = "" A13954 = "" A13955 = "" A13956 = "" A13957 = "" A13958 = "" A13959 = "" A13960 = "" 
+A13961 = "" A13962 = "" A13963 = "" A13964 = "" A13965 = "" A13966 = "" A13967 = "" A13968 = "" A13969 = "" A13970 = "" 
+A13971 = "" A13972 = "" A13973 = "" A13974 = "" A13975 = "" A13976 = "" A13977 = "" A13978 = "" A13979 = "" A13980 = "" 
+A13981 = "" A13982 = "" A13983 = "" A13984 = "" A13985 = "" A13986 = "" A13987 = "" A13988 = "" A13989 = "" A13990 = "" 
+A13991 = "" A13992 = "" A13993 = "" A13994 = "" A13995 = "" A13996 = "" A13997 = "" A13998 = "" A13999 = "" A14000 = "" 
+A14001 = "" A14002 = "" A14003 = "" A14004 = "" A14005 = "" A14006 = "" A14007 = "" A14008 = "" A14009 = "" A14010 = "" 
+A14011 = "" A14012 = "" A14013 = "" A14014 = "" A14015 = "" A14016 = "" A14017 = "" A14018 = "" A14019 = "" A14020 = "" 
+A14021 = "" A14022 = "" A14023 = "" A14024 = "" A14025 = "" A14026 = "" A14027 = "" A14028 = "" A14029 = "" A14030 = "" 
+A14031 = "" A14032 = "" A14033 = "" A14034 = "" A14035 = "" A14036 = "" A14037 = "" A14038 = "" A14039 = "" A14040 = "" 
+A14041 = "" A14042 = "" A14043 = "" A14044 = "" A14045 = "" A14046 = "" A14047 = "" A14048 = "" A14049 = "" A14050 = "" 
+A14051 = "" A14052 = "" A14053 = "" A14054 = "" A14055 = "" A14056 = "" A14057 = "" A14058 = "" A14059 = "" A14060 = "" 
+A14061 = "" A14062 = "" A14063 = "" A14064 = "" A14065 = "" A14066 = "" A14067 = "" A14068 = "" A14069 = "" A14070 = "" 
+A14071 = "" A14072 = "" A14073 = "" A14074 = "" A14075 = "" A14076 = "" A14077 = "" A14078 = "" A14079 = "" A14080 = "" 
+A14081 = "" A14082 = "" A14083 = "" A14084 = "" A14085 = "" A14086 = "" A14087 = "" A14088 = "" A14089 = "" A14090 = "" 
+A14091 = "" A14092 = "" A14093 = "" A14094 = "" A14095 = "" A14096 = "" A14097 = "" A14098 = "" A14099 = "" A14100 = "" 
+A14101 = "" A14102 = "" A14103 = "" A14104 = "" A14105 = "" A14106 = "" A14107 = "" A14108 = "" A14109 = "" A14110 = "" 
+A14111 = "" A14112 = "" A14113 = "" A14114 = "" A14115 = "" A14116 = "" A14117 = "" A14118 = "" A14119 = "" A14120 = "" 
+A14121 = "" A14122 = "" A14123 = "" A14124 = "" A14125 = "" A14126 = "" A14127 = "" A14128 = "" A14129 = "" A14130 = "" 
+A14131 = "" A14132 = "" A14133 = "" A14134 = "" A14135 = "" A14136 = "" A14137 = "" A14138 = "" A14139 = "" A14140 = "" 
+A14141 = "" A14142 = "" A14143 = "" A14144 = "" A14145 = "" A14146 = "" A14147 = "" A14148 = "" A14149 = "" A14150 = "" 
+A14151 = "" A14152 = "" A14153 = "" A14154 = "" A14155 = "" A14156 = "" A14157 = "" A14158 = "" A14159 = "" A14160 = "" 
+A14161 = "" A14162 = "" A14163 = "" A14164 = "" A14165 = "" A14166 = "" A14167 = "" A14168 = "" A14169 = "" A14170 = "" 
+A14171 = "" A14172 = "" A14173 = "" A14174 = "" A14175 = "" A14176 = "" A14177 = "" A14178 = "" A14179 = "" A14180 = "" 
+A14181 = "" A14182 = "" A14183 = "" A14184 = "" A14185 = "" A14186 = "" A14187 = "" A14188 = "" A14189 = "" A14190 = "" 
+A14191 = "" A14192 = "" A14193 = "" A14194 = "" A14195 = "" A14196 = "" A14197 = "" A14198 = "" A14199 = "" A14200 = "" 
+A14201 = "" A14202 = "" A14203 = "" A14204 = "" A14205 = "" A14206 = "" A14207 = "" A14208 = "" A14209 = "" A14210 = "" 
+A14211 = "" A14212 = "" A14213 = "" A14214 = "" A14215 = "" A14216 = "" A14217 = "" A14218 = "" A14219 = "" A14220 = "" 
+A14221 = "" A14222 = "" A14223 = "" A14224 = "" A14225 = "" A14226 = "" A14227 = "" A14228 = "" A14229 = "" A14230 = "" 
+A14231 = "" A14232 = "" A14233 = "" A14234 = "" A14235 = "" A14236 = "" A14237 = "" A14238 = "" A14239 = "" A14240 = "" 
+A14241 = "" A14242 = "" A14243 = "" A14244 = "" A14245 = "" A14246 = "" A14247 = "" A14248 = "" A14249 = "" A14250 = "" 
+A14251 = "" A14252 = "" A14253 = "" A14254 = "" A14255 = "" A14256 = "" A14257 = "" A14258 = "" A14259 = "" A14260 = "" 
+A14261 = "" A14262 = "" A14263 = "" A14264 = "" A14265 = "" A14266 = "" A14267 = "" A14268 = "" A14269 = "" A14270 = "" 
+A14271 = "" A14272 = "" A14273 = "" A14274 = "" A14275 = "" A14276 = "" A14277 = "" A14278 = "" A14279 = "" A14280 = "" 
+A14281 = "" A14282 = "" A14283 = "" A14284 = "" A14285 = "" A14286 = "" A14287 = "" A14288 = "" A14289 = "" A14290 = "" 
+A14291 = "" A14292 = "" A14293 = "" A14294 = "" A14295 = "" A14296 = "" A14297 = "" A14298 = "" A14299 = "" A14300 = "" 
+A14301 = "" A14302 = "" A14303 = "" A14304 = "" A14305 = "" A14306 = "" A14307 = "" A14308 = "" A14309 = "" A14310 = "" 
+A14311 = "" A14312 = "" A14313 = "" A14314 = "" A14315 = "" A14316 = "" A14317 = "" A14318 = "" A14319 = "" A14320 = "" 
+A14321 = "" A14322 = "" A14323 = "" A14324 = "" A14325 = "" A14326 = "" A14327 = "" A14328 = "" A14329 = "" A14330 = "" 
+A14331 = "" A14332 = "" A14333 = "" A14334 = "" A14335 = "" A14336 = "" A14337 = "" A14338 = "" A14339 = "" A14340 = "" 
+A14341 = "" A14342 = "" A14343 = "" A14344 = "" A14345 = "" A14346 = "" A14347 = "" A14348 = "" A14349 = "" A14350 = "" 
+A14351 = "" A14352 = "" A14353 = "" A14354 = "" A14355 = "" A14356 = "" A14357 = "" A14358 = "" A14359 = "" A14360 = "" 
+A14361 = "" A14362 = "" A14363 = "" A14364 = "" A14365 = "" A14366 = "" A14367 = "" A14368 = "" A14369 = "" A14370 = "" 
+A14371 = "" A14372 = "" A14373 = "" A14374 = "" A14375 = "" A14376 = "" A14377 = "" A14378 = "" A14379 = "" A14380 = "" 
+A14381 = "" A14382 = "" A14383 = "" A14384 = "" A14385 = "" A14386 = "" A14387 = "" A14388 = "" A14389 = "" A14390 = "" 
+A14391 = "" A14392 = "" A14393 = "" A14394 = "" A14395 = "" A14396 = "" A14397 = "" A14398 = "" A14399 = "" A14400 = "" 
+A14401 = "" A14402 = "" A14403 = "" A14404 = "" A14405 = "" A14406 = "" A14407 = "" A14408 = "" A14409 = "" A14410 = "" 
+A14411 = "" A14412 = "" A14413 = "" A14414 = "" A14415 = "" A14416 = "" A14417 = "" A14418 = "" A14419 = "" A14420 = "" 
+A14421 = "" A14422 = "" A14423 = "" A14424 = "" A14425 = "" A14426 = "" A14427 = "" A14428 = "" A14429 = "" A14430 = "" 
+A14431 = "" A14432 = "" A14433 = "" A14434 = "" A14435 = "" A14436 = "" A14437 = "" A14438 = "" A14439 = "" A14440 = "" 
+A14441 = "" A14442 = "" A14443 = "" A14444 = "" A14445 = "" A14446 = "" A14447 = "" A14448 = "" A14449 = "" A14450 = "" 
+A14451 = "" A14452 = "" A14453 = "" A14454 = "" A14455 = "" A14456 = "" A14457 = "" A14458 = "" A14459 = "" A14460 = "" 
+A14461 = "" A14462 = "" A14463 = "" A14464 = "" A14465 = "" A14466 = "" A14467 = "" A14468 = "" A14469 = "" A14470 = "" 
+A14471 = "" A14472 = "" A14473 = "" A14474 = "" A14475 = "" A14476 = "" A14477 = "" A14478 = "" A14479 = "" A14480 = "" 
+A14481 = "" A14482 = "" A14483 = "" A14484 = "" A14485 = "" A14486 = "" A14487 = "" A14488 = "" A14489 = "" A14490 = "" 
+A14491 = "" A14492 = "" A14493 = "" A14494 = "" A14495 = "" A14496 = "" A14497 = "" A14498 = "" A14499 = "" A14500 = "" 
+A14501 = "" A14502 = "" A14503 = "" A14504 = "" A14505 = "" A14506 = "" A14507 = "" A14508 = "" A14509 = "" A14510 = "" 
+A14511 = "" A14512 = "" A14513 = "" A14514 = "" A14515 = "" A14516 = "" A14517 = "" A14518 = "" A14519 = "" A14520 = "" 
+A14521 = "" A14522 = "" A14523 = "" A14524 = "" A14525 = "" A14526 = "" A14527 = "" A14528 = "" A14529 = "" A14530 = "" 
+A14531 = "" A14532 = "" A14533 = "" A14534 = "" A14535 = "" A14536 = "" A14537 = "" A14538 = "" A14539 = "" A14540 = "" 
+A14541 = "" A14542 = "" A14543 = "" A14544 = "" A14545 = "" A14546 = "" A14547 = "" A14548 = "" A14549 = "" A14550 = "" 
+A14551 = "" A14552 = "" A14553 = "" A14554 = "" A14555 = "" A14556 = "" A14557 = "" A14558 = "" A14559 = "" A14560 = "" 
+A14561 = "" A14562 = "" A14563 = "" A14564 = "" A14565 = "" A14566 = "" A14567 = "" A14568 = "" A14569 = "" A14570 = "" 
+A14571 = "" A14572 = "" A14573 = "" A14574 = "" A14575 = "" A14576 = "" A14577 = "" A14578 = "" A14579 = "" A14580 = "" 
+A14581 = "" A14582 = "" A14583 = "" A14584 = "" A14585 = "" A14586 = "" A14587 = "" A14588 = "" A14589 = "" A14590 = "" 
+A14591 = "" A14592 = "" A14593 = "" A14594 = "" A14595 = "" A14596 = "" A14597 = "" A14598 = "" A14599 = "" A14600 = "" 
+A14601 = "" A14602 = "" A14603 = "" A14604 = "" A14605 = "" A14606 = "" A14607 = "" A14608 = "" A14609 = "" A14610 = "" 
+A14611 = "" A14612 = "" A14613 = "" A14614 = "" A14615 = "" A14616 = "" A14617 = "" A14618 = "" A14619 = "" A14620 = "" 
+A14621 = "" A14622 = "" A14623 = "" A14624 = "" A14625 = "" A14626 = "" A14627 = "" A14628 = "" A14629 = "" A14630 = "" 
+A14631 = "" A14632 = "" A14633 = "" A14634 = "" A14635 = "" A14636 = "" A14637 = "" A14638 = "" A14639 = "" A14640 = "" 
+A14641 = "" A14642 = "" A14643 = "" A14644 = "" A14645 = "" A14646 = "" A14647 = "" A14648 = "" A14649 = "" A14650 = "" 
+A14651 = "" A14652 = "" A14653 = "" A14654 = "" A14655 = "" A14656 = "" A14657 = "" A14658 = "" A14659 = "" A14660 = "" 
+A14661 = "" A14662 = "" A14663 = "" A14664 = "" A14665 = "" A14666 = "" A14667 = "" A14668 = "" A14669 = "" A14670 = "" 
+A14671 = "" A14672 = "" A14673 = "" A14674 = "" A14675 = "" A14676 = "" A14677 = "" A14678 = "" A14679 = "" A14680 = "" 
+A14681 = "" A14682 = "" A14683 = "" A14684 = "" A14685 = "" A14686 = "" A14687 = "" A14688 = "" A14689 = "" A14690 = "" 
+A14691 = "" A14692 = "" A14693 = "" A14694 = "" A14695 = "" A14696 = "" A14697 = "" A14698 = "" A14699 = "" A14700 = "" 
+A14701 = "" A14702 = "" A14703 = "" A14704 = "" A14705 = "" A14706 = "" A14707 = "" A14708 = "" A14709 = "" A14710 = "" 
+A14711 = "" A14712 = "" A14713 = "" A14714 = "" A14715 = "" A14716 = "" A14717 = "" A14718 = "" A14719 = "" A14720 = "" 
+A14721 = "" A14722 = "" A14723 = "" A14724 = "" A14725 = "" A14726 = "" A14727 = "" A14728 = "" A14729 = "" A14730 = "" 
+A14731 = "" A14732 = "" A14733 = "" A14734 = "" A14735 = "" A14736 = "" A14737 = "" A14738 = "" A14739 = "" A14740 = "" 
+A14741 = "" A14742 = "" A14743 = "" A14744 = "" A14745 = "" A14746 = "" A14747 = "" A14748 = "" A14749 = "" A14750 = "" 
+A14751 = "" A14752 = "" A14753 = "" A14754 = "" A14755 = "" A14756 = "" A14757 = "" A14758 = "" A14759 = "" A14760 = "" 
+A14761 = "" A14762 = "" A14763 = "" A14764 = "" A14765 = "" A14766 = "" A14767 = "" A14768 = "" A14769 = "" A14770 = "" 
+A14771 = "" A14772 = "" A14773 = "" A14774 = "" A14775 = "" A14776 = "" A14777 = "" A14778 = "" A14779 = "" A14780 = "" 
+A14781 = "" A14782 = "" A14783 = "" A14784 = "" A14785 = "" A14786 = "" A14787 = "" A14788 = "" A14789 = "" A14790 = "" 
+A14791 = "" A14792 = "" A14793 = "" A14794 = "" A14795 = "" A14796 = "" A14797 = "" A14798 = "" A14799 = "" A14800 = "" 
+A14801 = "" A14802 = "" A14803 = "" A14804 = "" A14805 = "" A14806 = "" A14807 = "" A14808 = "" A14809 = "" A14810 = "" 
+A14811 = "" A14812 = "" A14813 = "" A14814 = "" A14815 = "" A14816 = "" A14817 = "" A14818 = "" A14819 = "" A14820 = "" 
+A14821 = "" A14822 = "" A14823 = "" A14824 = "" A14825 = "" A14826 = "" A14827 = "" A14828 = "" A14829 = "" A14830 = "" 
+A14831 = "" A14832 = "" A14833 = "" A14834 = "" A14835 = "" A14836 = "" A14837 = "" A14838 = "" A14839 = "" A14840 = "" 
+A14841 = "" A14842 = "" A14843 = "" A14844 = "" A14845 = "" A14846 = "" A14847 = "" A14848 = "" A14849 = "" A14850 = "" 
+A14851 = "" A14852 = "" A14853 = "" A14854 = "" A14855 = "" A14856 = "" A14857 = "" A14858 = "" A14859 = "" A14860 = "" 
+A14861 = "" A14862 = "" A14863 = "" A14864 = "" A14865 = "" A14866 = "" A14867 = "" A14868 = "" A14869 = "" A14870 = "" 
+A14871 = "" A14872 = "" A14873 = "" A14874 = "" A14875 = "" A14876 = "" A14877 = "" A14878 = "" A14879 = "" A14880 = "" 
+A14881 = "" A14882 = "" A14883 = "" A14884 = "" A14885 = "" A14886 = "" A14887 = "" A14888 = "" A14889 = "" A14890 = "" 
+A14891 = "" A14892 = "" A14893 = "" A14894 = "" A14895 = "" A14896 = "" A14897 = "" A14898 = "" A14899 = "" A14900 = "" 
+A14901 = "" A14902 = "" A14903 = "" A14904 = "" A14905 = "" A14906 = "" A14907 = "" A14908 = "" A14909 = "" A14910 = "" 
+A14911 = "" A14912 = "" A14913 = "" A14914 = "" A14915 = "" A14916 = "" A14917 = "" A14918 = "" A14919 = "" A14920 = "" 
+A14921 = "" A14922 = "" A14923 = "" A14924 = "" A14925 = "" A14926 = "" A14927 = "" A14928 = "" A14929 = "" A14930 = "" 
+A14931 = "" A14932 = "" A14933 = "" A14934 = "" A14935 = "" A14936 = "" A14937 = "" A14938 = "" A14939 = "" A14940 = "" 
+A14941 = "" A14942 = "" A14943 = "" A14944 = "" A14945 = "" A14946 = "" A14947 = "" A14948 = "" A14949 = "" A14950 = "" 
+A14951 = "" A14952 = "" A14953 = "" A14954 = "" A14955 = "" A14956 = "" A14957 = "" A14958 = "" A14959 = "" A14960 = "" 
+A14961 = "" A14962 = "" A14963 = "" A14964 = "" A14965 = "" A14966 = "" A14967 = "" A14968 = "" A14969 = "" A14970 = "" 
+A14971 = "" A14972 = "" A14973 = "" A14974 = "" A14975 = "" A14976 = "" A14977 = "" A14978 = "" A14979 = "" A14980 = "" 
+A14981 = "" A14982 = "" A14983 = "" A14984 = "" A14985 = "" A14986 = "" A14987 = "" A14988 = "" A14989 = "" A14990 = "" 
+A14991 = "" A14992 = "" A14993 = "" A14994 = "" A14995 = "" A14996 = "" A14997 = "" A14998 = "" A14999 = "" A15000 = "" 
+A15001 = "" A15002 = "" A15003 = "" A15004 = "" A15005 = "" A15006 = "" A15007 = "" A15008 = "" A15009 = "" A15010 = "" 
+A15011 = "" A15012 = "" A15013 = "" A15014 = "" A15015 = "" A15016 = "" A15017 = "" A15018 = "" A15019 = "" A15020 = "" 
+A15021 = "" A15022 = "" A15023 = "" A15024 = "" A15025 = "" A15026 = "" A15027 = "" A15028 = "" A15029 = "" A15030 = "" 
+A15031 = "" A15032 = "" A15033 = "" A15034 = "" A15035 = "" A15036 = "" A15037 = "" A15038 = "" A15039 = "" A15040 = "" 
+A15041 = "" A15042 = "" A15043 = "" A15044 = "" A15045 = "" A15046 = "" A15047 = "" A15048 = "" A15049 = "" A15050 = "" 
+A15051 = "" A15052 = "" A15053 = "" A15054 = "" A15055 = "" A15056 = "" A15057 = "" A15058 = "" A15059 = "" A15060 = "" 
+A15061 = "" A15062 = "" A15063 = "" A15064 = "" A15065 = "" A15066 = "" A15067 = "" A15068 = "" A15069 = "" A15070 = "" 
+A15071 = "" A15072 = "" A15073 = "" A15074 = "" A15075 = "" A15076 = "" A15077 = "" A15078 = "" A15079 = "" A15080 = "" 
+A15081 = "" A15082 = "" A15083 = "" A15084 = "" A15085 = "" A15086 = "" A15087 = "" A15088 = "" A15089 = "" A15090 = "" 
+A15091 = "" A15092 = "" A15093 = "" A15094 = "" A15095 = "" A15096 = "" A15097 = "" A15098 = "" A15099 = "" A15100 = "" 
+A15101 = "" A15102 = "" A15103 = "" A15104 = "" A15105 = "" A15106 = "" A15107 = "" A15108 = "" A15109 = "" A15110 = "" 
+A15111 = "" A15112 = "" A15113 = "" A15114 = "" A15115 = "" A15116 = "" A15117 = "" A15118 = "" A15119 = "" A15120 = "" 
+A15121 = "" A15122 = "" A15123 = "" A15124 = "" A15125 = "" A15126 = "" A15127 = "" A15128 = "" A15129 = "" A15130 = "" 
+A15131 = "" A15132 = "" A15133 = "" A15134 = "" A15135 = "" A15136 = "" A15137 = "" A15138 = "" A15139 = "" A15140 = "" 
+A15141 = "" A15142 = "" A15143 = "" A15144 = "" A15145 = "" A15146 = "" A15147 = "" A15148 = "" A15149 = "" A15150 = "" 
+A15151 = "" A15152 = "" A15153 = "" A15154 = "" A15155 = "" A15156 = "" A15157 = "" A15158 = "" A15159 = "" A15160 = "" 
+A15161 = "" A15162 = "" A15163 = "" A15164 = "" A15165 = "" A15166 = "" A15167 = "" A15168 = "" A15169 = "" A15170 = "" 
+A15171 = "" A15172 = "" A15173 = "" A15174 = "" A15175 = "" A15176 = "" A15177 = "" A15178 = "" A15179 = "" A15180 = "" 
+A15181 = "" A15182 = "" A15183 = "" A15184 = "" A15185 = "" A15186 = "" A15187 = "" A15188 = "" A15189 = "" A15190 = "" 
+A15191 = "" A15192 = "" A15193 = "" A15194 = "" A15195 = "" A15196 = "" A15197 = "" A15198 = "" A15199 = "" A15200 = "" 
+A15201 = "" A15202 = "" A15203 = "" A15204 = "" A15205 = "" A15206 = "" A15207 = "" A15208 = "" A15209 = "" A15210 = "" 
+A15211 = "" A15212 = "" A15213 = "" A15214 = "" A15215 = "" A15216 = "" A15217 = "" A15218 = "" A15219 = "" A15220 = "" 
+A15221 = "" A15222 = "" A15223 = "" A15224 = "" A15225 = "" A15226 = "" A15227 = "" A15228 = "" A15229 = "" A15230 = "" 
+A15231 = "" A15232 = "" A15233 = "" A15234 = "" A15235 = "" A15236 = "" A15237 = "" A15238 = "" A15239 = "" A15240 = "" 
+A15241 = "" A15242 = "" A15243 = "" A15244 = "" A15245 = "" A15246 = "" A15247 = "" A15248 = "" A15249 = "" A15250 = "" 
+A15251 = "" A15252 = "" A15253 = "" A15254 = "" A15255 = "" A15256 = "" A15257 = "" A15258 = "" A15259 = "" A15260 = "" 
+A15261 = "" A15262 = "" A15263 = "" A15264 = "" A15265 = "" A15266 = "" A15267 = "" A15268 = "" A15269 = "" A15270 = "" 
+A15271 = "" A15272 = "" A15273 = "" A15274 = "" A15275 = "" A15276 = "" A15277 = "" A15278 = "" A15279 = "" A15280 = "" 
+A15281 = "" A15282 = "" A15283 = "" A15284 = "" A15285 = "" A15286 = "" A15287 = "" A15288 = "" A15289 = "" A15290 = "" 
+A15291 = "" A15292 = "" A15293 = "" A15294 = "" A15295 = "" A15296 = "" A15297 = "" A15298 = "" A15299 = "" A15300 = "" 
+A15301 = "" A15302 = "" A15303 = "" A15304 = "" A15305 = "" A15306 = "" A15307 = "" A15308 = "" A15309 = "" A15310 = "" 
+A15311 = "" A15312 = "" A15313 = "" A15314 = "" A15315 = "" A15316 = "" A15317 = "" A15318 = "" A15319 = "" A15320 = "" 
+A15321 = "" A15322 = "" A15323 = "" A15324 = "" A15325 = "" A15326 = "" A15327 = "" A15328 = "" A15329 = "" A15330 = "" 
+A15331 = "" A15332 = "" A15333 = "" A15334 = "" A15335 = "" A15336 = "" A15337 = "" A15338 = "" A15339 = "" A15340 = "" 
+A15341 = "" A15342 = "" A15343 = "" A15344 = "" A15345 = "" A15346 = "" A15347 = "" A15348 = "" A15349 = "" A15350 = "" 
+A15351 = "" A15352 = "" A15353 = "" A15354 = "" A15355 = "" A15356 = "" A15357 = "" A15358 = "" A15359 = "" A15360 = "" 
+A15361 = "" A15362 = "" A15363 = "" A15364 = "" A15365 = "" A15366 = "" A15367 = "" A15368 = "" A15369 = "" A15370 = "" 
+A15371 = "" A15372 = "" A15373 = "" A15374 = "" A15375 = "" A15376 = "" A15377 = "" A15378 = "" A15379 = "" A15380 = "" 
+A15381 = "" A15382 = "" A15383 = "" A15384 = "" A15385 = "" A15386 = "" A15387 = "" A15388 = "" A15389 = "" A15390 = "" 
+A15391 = "" A15392 = "" A15393 = "" A15394 = "" A15395 = "" A15396 = "" A15397 = "" A15398 = "" A15399 = "" A15400 = "" 
+A15401 = "" A15402 = "" A15403 = "" A15404 = "" A15405 = "" A15406 = "" A15407 = "" A15408 = "" A15409 = "" A15410 = "" 
+A15411 = "" A15412 = "" A15413 = "" A15414 = "" A15415 = "" A15416 = "" A15417 = "" A15418 = "" A15419 = "" A15420 = "" 
+A15421 = "" A15422 = "" A15423 = "" A15424 = "" A15425 = "" A15426 = "" A15427 = "" A15428 = "" A15429 = "" A15430 = "" 
+A15431 = "" A15432 = "" A15433 = "" A15434 = "" A15435 = "" A15436 = "" A15437 = "" A15438 = "" A15439 = "" A15440 = "" 
+A15441 = "" A15442 = "" A15443 = "" A15444 = "" A15445 = "" A15446 = "" A15447 = "" A15448 = "" A15449 = "" A15450 = "" 
+A15451 = "" A15452 = "" A15453 = "" A15454 = "" A15455 = "" A15456 = "" A15457 = "" A15458 = "" A15459 = "" A15460 = "" 
+A15461 = "" A15462 = "" A15463 = "" A15464 = "" A15465 = "" A15466 = "" A15467 = "" A15468 = "" A15469 = "" A15470 = "" 
+A15471 = "" A15472 = "" A15473 = "" A15474 = "" A15475 = "" A15476 = "" A15477 = "" A15478 = "" A15479 = "" A15480 = "" 
+A15481 = "" A15482 = "" A15483 = "" A15484 = "" A15485 = "" A15486 = "" A15487 = "" A15488 = "" A15489 = "" A15490 = "" 
+A15491 = "" A15492 = "" A15493 = "" A15494 = "" A15495 = "" A15496 = "" A15497 = "" A15498 = "" A15499 = "" A15500 = "" 
+A15501 = "" A15502 = "" A15503 = "" A15504 = "" A15505 = "" A15506 = "" A15507 = "" A15508 = "" A15509 = "" A15510 = "" 
+A15511 = "" A15512 = "" A15513 = "" A15514 = "" A15515 = "" A15516 = "" A15517 = "" A15518 = "" A15519 = "" A15520 = "" 
+A15521 = "" A15522 = "" A15523 = "" A15524 = "" A15525 = "" A15526 = "" A15527 = "" A15528 = "" A15529 = "" A15530 = "" 
+A15531 = "" A15532 = "" A15533 = "" A15534 = "" A15535 = "" A15536 = "" A15537 = "" A15538 = "" A15539 = "" A15540 = "" 
+A15541 = "" A15542 = "" A15543 = "" A15544 = "" A15545 = "" A15546 = "" A15547 = "" A15548 = "" A15549 = "" A15550 = "" 
+A15551 = "" A15552 = "" A15553 = "" A15554 = "" A15555 = "" A15556 = "" A15557 = "" A15558 = "" A15559 = "" A15560 = "" 
+A15561 = "" A15562 = "" A15563 = "" A15564 = "" A15565 = "" A15566 = "" A15567 = "" A15568 = "" A15569 = "" A15570 = "" 
+A15571 = "" A15572 = "" A15573 = "" A15574 = "" A15575 = "" A15576 = "" A15577 = "" A15578 = "" A15579 = "" A15580 = "" 
+A15581 = "" A15582 = "" A15583 = "" A15584 = "" A15585 = "" A15586 = "" A15587 = "" A15588 = "" A15589 = "" A15590 = "" 
+A15591 = "" A15592 = "" A15593 = "" A15594 = "" A15595 = "" A15596 = "" A15597 = "" A15598 = "" A15599 = "" A15600 = "" 
+A15601 = "" A15602 = "" A15603 = "" A15604 = "" A15605 = "" A15606 = "" A15607 = "" A15608 = "" A15609 = "" A15610 = "" 
+A15611 = "" A15612 = "" A15613 = "" A15614 = "" A15615 = "" A15616 = "" A15617 = "" A15618 = "" A15619 = "" A15620 = "" 
+A15621 = "" A15622 = "" A15623 = "" A15624 = "" A15625 = "" A15626 = "" A15627 = "" A15628 = "" A15629 = "" A15630 = "" 
+A15631 = "" A15632 = "" A15633 = "" A15634 = "" A15635 = "" A15636 = "" A15637 = "" A15638 = "" A15639 = "" A15640 = "" 
+A15641 = "" A15642 = "" A15643 = "" A15644 = "" A15645 = "" A15646 = "" A15647 = "" A15648 = "" A15649 = "" A15650 = "" 
+A15651 = "" A15652 = "" A15653 = "" A15654 = "" A15655 = "" A15656 = "" A15657 = "" A15658 = "" A15659 = "" A15660 = "" 
+A15661 = "" A15662 = "" A15663 = "" A15664 = "" A15665 = "" A15666 = "" A15667 = "" A15668 = "" A15669 = "" A15670 = "" 
+A15671 = "" A15672 = "" A15673 = "" A15674 = "" A15675 = "" A15676 = "" A15677 = "" A15678 = "" A15679 = "" A15680 = "" 
+A15681 = "" A15682 = "" A15683 = "" A15684 = "" A15685 = "" A15686 = "" A15687 = "" A15688 = "" A15689 = "" A15690 = "" 
+A15691 = "" A15692 = "" A15693 = "" A15694 = "" A15695 = "" A15696 = "" A15697 = "" A15698 = "" A15699 = "" A15700 = "" 
+A15701 = "" A15702 = "" A15703 = "" A15704 = "" A15705 = "" A15706 = "" A15707 = "" A15708 = "" A15709 = "" A15710 = "" 
+A15711 = "" A15712 = "" A15713 = "" A15714 = "" A15715 = "" A15716 = "" A15717 = "" A15718 = "" A15719 = "" A15720 = "" 
+A15721 = "" A15722 = "" A15723 = "" A15724 = "" A15725 = "" A15726 = "" A15727 = "" A15728 = "" A15729 = "" A15730 = "" 
+A15731 = "" A15732 = "" A15733 = "" A15734 = "" A15735 = "" A15736 = "" A15737 = "" A15738 = "" A15739 = "" A15740 = "" 
+A15741 = "" A15742 = "" A15743 = "" A15744 = "" A15745 = "" A15746 = "" A15747 = "" A15748 = "" A15749 = "" A15750 = "" 
+A15751 = "" A15752 = "" A15753 = "" A15754 = "" A15755 = "" A15756 = "" A15757 = "" A15758 = "" A15759 = "" A15760 = "" 
+A15761 = "" A15762 = "" A15763 = "" A15764 = "" A15765 = "" A15766 = "" A15767 = "" A15768 = "" A15769 = "" A15770 = "" 
+A15771 = "" A15772 = "" A15773 = "" A15774 = "" A15775 = "" A15776 = "" A15777 = "" A15778 = "" A15779 = "" A15780 = "" 
+A15781 = "" A15782 = "" A15783 = "" A15784 = "" A15785 = "" A15786 = "" A15787 = "" A15788 = "" A15789 = "" A15790 = "" 
+A15791 = "" A15792 = "" A15793 = "" A15794 = "" A15795 = "" A15796 = "" A15797 = "" A15798 = "" A15799 = "" A15800 = "" 
+A15801 = "" A15802 = "" A15803 = "" A15804 = "" A15805 = "" A15806 = "" A15807 = "" A15808 = "" A15809 = "" A15810 = "" 
+A15811 = "" A15812 = "" A15813 = "" A15814 = "" A15815 = "" A15816 = "" A15817 = "" A15818 = "" A15819 = "" A15820 = "" 
+A15821 = "" A15822 = "" A15823 = "" A15824 = "" A15825 = "" A15826 = "" A15827 = "" A15828 = "" A15829 = "" A15830 = "" 
+A15831 = "" A15832 = "" A15833 = "" A15834 = "" A15835 = "" A15836 = "" A15837 = "" A15838 = "" A15839 = "" A15840 = "" 
+A15841 = "" A15842 = "" A15843 = "" A15844 = "" A15845 = "" A15846 = "" A15847 = "" A15848 = "" A15849 = "" A15850 = "" 
+A15851 = "" A15852 = "" A15853 = "" A15854 = "" A15855 = "" A15856 = "" A15857 = "" A15858 = "" A15859 = "" A15860 = "" 
+A15861 = "" A15862 = "" A15863 = "" A15864 = "" A15865 = "" A15866 = "" A15867 = "" A15868 = "" A15869 = "" A15870 = "" 
+A15871 = "" A15872 = "" A15873 = "" A15874 = "" A15875 = "" A15876 = "" A15877 = "" A15878 = "" A15879 = "" A15880 = "" 
+A15881 = "" A15882 = "" A15883 = "" A15884 = "" A15885 = "" A15886 = "" A15887 = "" A15888 = "" A15889 = "" A15890 = "" 
+A15891 = "" A15892 = "" A15893 = "" A15894 = "" A15895 = "" A15896 = "" A15897 = "" A15898 = "" A15899 = "" A15900 = "" 
+A15901 = "" A15902 = "" A15903 = "" A15904 = "" A15905 = "" A15906 = "" A15907 = "" A15908 = "" A15909 = "" A15910 = "" 
+A15911 = "" A15912 = "" A15913 = "" A15914 = "" A15915 = "" A15916 = "" A15917 = "" A15918 = "" A15919 = "" A15920 = "" 
+A15921 = "" A15922 = "" A15923 = "" A15924 = "" A15925 = "" A15926 = "" A15927 = "" A15928 = "" A15929 = "" A15930 = "" 
+A15931 = "" A15932 = "" A15933 = "" A15934 = "" A15935 = "" A15936 = "" A15937 = "" A15938 = "" A15939 = "" A15940 = "" 
+A15941 = "" A15942 = "" A15943 = "" A15944 = "" A15945 = "" A15946 = "" A15947 = "" A15948 = "" A15949 = "" A15950 = "" 
+A15951 = "" A15952 = "" A15953 = "" A15954 = "" A15955 = "" A15956 = "" A15957 = "" A15958 = "" A15959 = "" A15960 = "" 
+A15961 = "" A15962 = "" A15963 = "" A15964 = "" A15965 = "" A15966 = "" A15967 = "" A15968 = "" A15969 = "" A15970 = "" 
+A15971 = "" A15972 = "" A15973 = "" A15974 = "" A15975 = "" A15976 = "" A15977 = "" A15978 = "" A15979 = "" A15980 = "" 
+A15981 = "" A15982 = "" A15983 = "" A15984 = "" A15985 = "" A15986 = "" A15987 = "" A15988 = "" A15989 = "" A15990 = "" 
+A15991 = "" A15992 = "" A15993 = "" A15994 = "" A15995 = "" A15996 = "" A15997 = "" A15998 = "" A15999 = "" A16000 = "" 
+A16001 = "" A16002 = "" A16003 = "" A16004 = "" A16005 = "" A16006 = "" A16007 = "" A16008 = "" A16009 = "" A16010 = "" 
+A16011 = "" A16012 = "" A16013 = "" A16014 = "" A16015 = "" A16016 = "" A16017 = "" A16018 = "" A16019 = "" A16020 = "" 
+A16021 = "" A16022 = "" A16023 = "" A16024 = "" A16025 = "" A16026 = "" A16027 = "" A16028 = "" A16029 = "" A16030 = "" 
+A16031 = "" A16032 = "" A16033 = "" A16034 = "" A16035 = "" A16036 = "" A16037 = "" A16038 = "" A16039 = "" A16040 = "" 
+A16041 = "" A16042 = "" A16043 = "" A16044 = "" A16045 = "" A16046 = "" A16047 = "" A16048 = "" A16049 = "" A16050 = "" 
+A16051 = "" A16052 = "" A16053 = "" A16054 = "" A16055 = "" A16056 = "" A16057 = "" A16058 = "" A16059 = "" A16060 = "" 
+A16061 = "" A16062 = "" A16063 = "" A16064 = "" A16065 = "" A16066 = "" A16067 = "" A16068 = "" A16069 = "" A16070 = "" 
+A16071 = "" A16072 = "" A16073 = "" A16074 = "" A16075 = "" A16076 = "" A16077 = "" A16078 = "" A16079 = "" A16080 = "" 
+A16081 = "" A16082 = "" A16083 = "" A16084 = "" A16085 = "" A16086 = "" A16087 = "" A16088 = "" A16089 = "" A16090 = "" 
+A16091 = "" A16092 = "" A16093 = "" A16094 = "" A16095 = "" A16096 = "" A16097 = "" A16098 = "" A16099 = "" A16100 = "" 
+A16101 = "" A16102 = "" A16103 = "" A16104 = "" A16105 = "" A16106 = "" A16107 = "" A16108 = "" A16109 = "" A16110 = "" 
+A16111 = "" A16112 = "" A16113 = "" A16114 = "" A16115 = "" A16116 = "" A16117 = "" A16118 = "" A16119 = "" A16120 = "" 
+A16121 = "" A16122 = "" A16123 = "" A16124 = "" A16125 = "" A16126 = "" A16127 = "" A16128 = "" A16129 = "" A16130 = "" 
+A16131 = "" A16132 = "" A16133 = "" A16134 = "" A16135 = "" A16136 = "" A16137 = "" A16138 = "" A16139 = "" A16140 = "" 
+A16141 = "" A16142 = "" A16143 = "" A16144 = "" A16145 = "" A16146 = "" A16147 = "" A16148 = "" A16149 = "" A16150 = "" 
+A16151 = "" A16152 = "" A16153 = "" A16154 = "" A16155 = "" A16156 = "" A16157 = "" A16158 = "" A16159 = "" A16160 = "" 
+A16161 = "" A16162 = "" A16163 = "" A16164 = "" A16165 = "" A16166 = "" A16167 = "" A16168 = "" A16169 = "" A16170 = "" 
+A16171 = "" A16172 = "" A16173 = "" A16174 = "" A16175 = "" A16176 = "" A16177 = "" A16178 = "" A16179 = "" A16180 = "" 
+A16181 = "" A16182 = "" A16183 = "" A16184 = "" A16185 = "" A16186 = "" A16187 = "" A16188 = "" A16189 = "" A16190 = "" 
+A16191 = "" A16192 = "" A16193 = "" A16194 = "" A16195 = "" A16196 = "" A16197 = "" A16198 = "" A16199 = "" A16200 = "" 
+A16201 = "" A16202 = "" A16203 = "" A16204 = "" A16205 = "" A16206 = "" A16207 = "" A16208 = "" A16209 = "" A16210 = "" 
+A16211 = "" A16212 = "" A16213 = "" A16214 = "" A16215 = "" A16216 = "" A16217 = "" A16218 = "" A16219 = "" A16220 = "" 
+A16221 = "" A16222 = "" A16223 = "" A16224 = "" A16225 = "" A16226 = "" A16227 = "" A16228 = "" A16229 = "" A16230 = "" 
+A16231 = "" A16232 = "" A16233 = "" A16234 = "" A16235 = "" A16236 = "" A16237 = "" A16238 = "" A16239 = "" A16240 = "" 
+A16241 = "" A16242 = "" A16243 = "" A16244 = "" A16245 = "" A16246 = "" A16247 = "" A16248 = "" A16249 = "" A16250 = "" 
+A16251 = "" A16252 = "" A16253 = "" A16254 = "" A16255 = "" A16256 = "" A16257 = "" A16258 = "" A16259 = "" A16260 = "" 
+A16261 = "" A16262 = "" A16263 = "" A16264 = "" A16265 = "" A16266 = "" A16267 = "" A16268 = "" A16269 = "" A16270 = "" 
+A16271 = "" A16272 = "" A16273 = "" A16274 = "" A16275 = "" A16276 = "" A16277 = "" A16278 = "" A16279 = "" A16280 = "" 
+A16281 = "" A16282 = "" A16283 = "" A16284 = "" A16285 = "" A16286 = "" A16287 = "" A16288 = "" A16289 = "" A16290 = "" 
+A16291 = "" A16292 = "" A16293 = "" A16294 = "" A16295 = "" A16296 = "" A16297 = "" A16298 = "" A16299 = "" A16300 = "" 
+A16301 = "" A16302 = "" A16303 = "" A16304 = "" A16305 = "" A16306 = "" A16307 = "" A16308 = "" A16309 = "" A16310 = "" 
+A16311 = "" A16312 = "" A16313 = "" A16314 = "" A16315 = "" A16316 = "" A16317 = "" A16318 = "" A16319 = "" A16320 = "" 
+A16321 = "" A16322 = "" A16323 = "" A16324 = "" A16325 = "" A16326 = "" A16327 = "" A16328 = "" A16329 = "" A16330 = "" 
+A16331 = "" A16332 = "" A16333 = "" A16334 = "" A16335 = "" A16336 = "" A16337 = "" A16338 = "" A16339 = "" A16340 = "" 
+A16341 = "" A16342 = "" A16343 = "" A16344 = "" A16345 = "" A16346 = "" A16347 = "" A16348 = "" A16349 = "" A16350 = "" 
+A16351 = "" A16352 = "" A16353 = "" A16354 = "" A16355 = "" A16356 = "" A16357 = "" A16358 = "" A16359 = "" A16360 = "" 
+A16361 = "" A16362 = "" A16363 = "" A16364 = "" A16365 = "" A16366 = "" A16367 = "" A16368 = "" A16369 = "" A16370 = "" 
+A16371 = "" A16372 = "" A16373 = "" A16374 = "" A16375 = "" A16376 = "" A16377 = "" A16378 = "" A16379 = "" A16380 = "" 
+A16381 = "" A16382 = "" A16383 = "" A16384 = "" A16385 = "" A16386 = "" A16387 = "" A16388 = "" A16389 = "" A16390 = "" 
+A16391 = "" A16392 = "" A16393 = "" A16394 = "" A16395 = "" A16396 = "" A16397 = "" A16398 = "" A16399 = "" A16400 = "" 
+A16401 = "" A16402 = "" A16403 = "" A16404 = "" A16405 = "" A16406 = "" A16407 = "" A16408 = "" A16409 = "" A16410 = "" 
+A16411 = "" A16412 = "" A16413 = "" A16414 = "" A16415 = "" A16416 = "" A16417 = "" A16418 = "" A16419 = "" A16420 = "" 
+A16421 = "" A16422 = "" A16423 = "" A16424 = "" A16425 = "" A16426 = "" A16427 = "" A16428 = "" A16429 = "" A16430 = "" 
+A16431 = "" A16432 = "" A16433 = "" A16434 = "" A16435 = "" A16436 = "" A16437 = "" A16438 = "" A16439 = "" A16440 = "" 
+A16441 = "" A16442 = "" A16443 = "" A16444 = "" A16445 = "" A16446 = "" A16447 = "" A16448 = "" A16449 = "" A16450 = "" 
+A16451 = "" A16452 = "" A16453 = "" A16454 = "" A16455 = "" A16456 = "" A16457 = "" A16458 = "" A16459 = "" A16460 = "" 
+A16461 = "" A16462 = "" A16463 = "" A16464 = "" A16465 = "" A16466 = "" A16467 = "" A16468 = "" A16469 = "" A16470 = "" 
+A16471 = "" A16472 = "" A16473 = "" A16474 = "" A16475 = "" A16476 = "" A16477 = "" A16478 = "" A16479 = "" A16480 = "" 
+A16481 = "" A16482 = "" A16483 = "" A16484 = "" A16485 = "" A16486 = "" A16487 = "" A16488 = "" A16489 = "" A16490 = "" 
+A16491 = "" A16492 = "" A16493 = "" A16494 = "" A16495 = "" A16496 = "" A16497 = "" A16498 = "" A16499 = "" A16500 = "" 
+A16501 = "" A16502 = "" A16503 = "" A16504 = "" A16505 = "" A16506 = "" A16507 = "" A16508 = "" A16509 = "" A16510 = "" 
+A16511 = "" A16512 = "" A16513 = "" A16514 = "" A16515 = "" A16516 = "" A16517 = "" A16518 = "" A16519 = "" A16520 = "" 
+A16521 = "" A16522 = "" A16523 = "" A16524 = "" A16525 = "" A16526 = "" A16527 = "" A16528 = "" A16529 = "" A16530 = "" 
+A16531 = "" A16532 = "" A16533 = "" A16534 = "" A16535 = "" A16536 = "" A16537 = "" A16538 = "" A16539 = "" A16540 = "" 
+A16541 = "" A16542 = "" A16543 = "" A16544 = "" A16545 = "" A16546 = "" A16547 = "" A16548 = "" A16549 = "" A16550 = "" 
+A16551 = "" A16552 = "" A16553 = "" A16554 = "" A16555 = "" A16556 = "" A16557 = "" A16558 = "" A16559 = "" A16560 = "" 
+A16561 = "" A16562 = "" A16563 = "" A16564 = "" A16565 = "" A16566 = "" A16567 = "" A16568 = "" A16569 = "" A16570 = "" 
+A16571 = "" A16572 = "" A16573 = "" A16574 = "" A16575 = "" A16576 = "" A16577 = "" A16578 = "" A16579 = "" A16580 = "" 
+A16581 = "" A16582 = "" A16583 = "" A16584 = "" A16585 = "" A16586 = "" A16587 = "" A16588 = "" A16589 = "" A16590 = "" 
+A16591 = "" A16592 = "" A16593 = "" A16594 = "" A16595 = "" A16596 = "" A16597 = "" A16598 = "" A16599 = "" A16600 = "" 
+A16601 = "" A16602 = "" A16603 = "" A16604 = "" A16605 = "" A16606 = "" A16607 = "" A16608 = "" A16609 = "" A16610 = "" 
+A16611 = "" A16612 = "" A16613 = "" A16614 = "" A16615 = "" A16616 = "" A16617 = "" A16618 = "" A16619 = "" A16620 = "" 
+A16621 = "" A16622 = "" A16623 = "" A16624 = "" A16625 = "" A16626 = "" A16627 = "" A16628 = "" A16629 = "" A16630 = "" 
+A16631 = "" A16632 = "" A16633 = "" A16634 = "" A16635 = "" A16636 = "" A16637 = "" A16638 = "" A16639 = "" A16640 = "" 
+A16641 = "" A16642 = "" A16643 = "" A16644 = "" A16645 = "" A16646 = "" A16647 = "" A16648 = "" A16649 = "" A16650 = "" 
+A16651 = "" A16652 = "" A16653 = "" A16654 = "" A16655 = "" A16656 = "" A16657 = "" A16658 = "" A16659 = "" A16660 = "" 
+A16661 = "" A16662 = "" A16663 = "" A16664 = "" A16665 = "" A16666 = "" A16667 = "" A16668 = "" A16669 = "" A16670 = "" 
+A16671 = "" A16672 = "" A16673 = "" A16674 = "" A16675 = "" A16676 = "" A16677 = "" A16678 = "" A16679 = "" A16680 = "" 
+A16681 = "" A16682 = "" A16683 = "" A16684 = "" A16685 = "" A16686 = "" A16687 = "" A16688 = "" A16689 = "" A16690 = "" 
+A16691 = "" A16692 = "" A16693 = "" A16694 = "" A16695 = "" A16696 = "" A16697 = "" A16698 = "" A16699 = "" A16700 = "" 
+A16701 = "" A16702 = "" A16703 = "" A16704 = "" A16705 = "" A16706 = "" A16707 = "" A16708 = "" A16709 = "" A16710 = "" 
+A16711 = "" A16712 = "" A16713 = "" A16714 = "" A16715 = "" A16716 = "" A16717 = "" A16718 = "" A16719 = "" A16720 = "" 
+A16721 = "" A16722 = "" A16723 = "" A16724 = "" A16725 = "" A16726 = "" A16727 = "" A16728 = "" A16729 = "" A16730 = "" 
+A16731 = "" A16732 = "" A16733 = "" A16734 = "" A16735 = "" A16736 = "" A16737 = "" A16738 = "" A16739 = "" A16740 = "" 
+A16741 = "" A16742 = "" A16743 = "" A16744 = "" A16745 = "" A16746 = "" A16747 = "" A16748 = "" A16749 = "" A16750 = "" 
+A16751 = "" A16752 = "" A16753 = "" A16754 = "" A16755 = "" A16756 = "" A16757 = "" A16758 = "" A16759 = "" A16760 = "" 
+A16761 = "" A16762 = "" A16763 = "" A16764 = "" A16765 = "" A16766 = "" A16767 = "" A16768 = "" A16769 = "" A16770 = "" 
+A16771 = "" A16772 = "" A16773 = "" A16774 = "" A16775 = "" A16776 = "" A16777 = "" A16778 = "" A16779 = "" A16780 = "" 
+A16781 = "" A16782 = "" A16783 = "" A16784 = "" A16785 = "" A16786 = "" A16787 = "" A16788 = "" A16789 = "" A16790 = "" 
+A16791 = "" A16792 = "" A16793 = "" A16794 = "" A16795 = "" A16796 = "" A16797 = "" A16798 = "" A16799 = "" A16800 = "" 
+A16801 = "" A16802 = "" A16803 = "" A16804 = "" A16805 = "" A16806 = "" A16807 = "" A16808 = "" A16809 = "" A16810 = "" 
+A16811 = "" A16812 = "" A16813 = "" A16814 = "" A16815 = "" A16816 = "" A16817 = "" A16818 = "" A16819 = "" A16820 = "" 
+A16821 = "" A16822 = "" A16823 = "" A16824 = "" A16825 = "" A16826 = "" A16827 = "" A16828 = "" A16829 = "" A16830 = "" 
+A16831 = "" A16832 = "" A16833 = "" A16834 = "" A16835 = "" A16836 = "" A16837 = "" A16838 = "" A16839 = "" A16840 = "" 
+A16841 = "" A16842 = "" A16843 = "" A16844 = "" A16845 = "" A16846 = "" A16847 = "" A16848 = "" A16849 = "" A16850 = "" 
+A16851 = "" A16852 = "" A16853 = "" A16854 = "" A16855 = "" A16856 = "" A16857 = "" A16858 = "" A16859 = "" A16860 = "" 
+A16861 = "" A16862 = "" A16863 = "" A16864 = "" A16865 = "" A16866 = "" A16867 = "" A16868 = "" A16869 = "" A16870 = "" 
+A16871 = "" A16872 = "" A16873 = "" A16874 = "" A16875 = "" A16876 = "" A16877 = "" A16878 = "" A16879 = "" A16880 = "" 
+A16881 = "" A16882 = "" A16883 = "" A16884 = "" A16885 = "" A16886 = "" A16887 = "" A16888 = "" A16889 = "" A16890 = "" 
+A16891 = "" A16892 = "" A16893 = "" A16894 = "" A16895 = "" A16896 = "" A16897 = "" A16898 = "" A16899 = "" A16900 = "" 
+A16901 = "" A16902 = "" A16903 = "" A16904 = "" A16905 = "" A16906 = "" A16907 = "" A16908 = "" A16909 = "" A16910 = "" 
+A16911 = "" A16912 = "" A16913 = "" A16914 = "" A16915 = "" A16916 = "" A16917 = "" A16918 = "" A16919 = "" A16920 = "" 
+A16921 = "" A16922 = "" A16923 = "" A16924 = "" A16925 = "" A16926 = "" A16927 = "" A16928 = "" A16929 = "" A16930 = "" 
+A16931 = "" A16932 = "" A16933 = "" A16934 = "" A16935 = "" A16936 = "" A16937 = "" A16938 = "" A16939 = "" A16940 = "" 
+A16941 = "" A16942 = "" A16943 = "" A16944 = "" A16945 = "" A16946 = "" A16947 = "" A16948 = "" A16949 = "" A16950 = "" 
+A16951 = "" A16952 = "" A16953 = "" A16954 = "" A16955 = "" A16956 = "" A16957 = "" A16958 = "" A16959 = "" A16960 = "" 
+A16961 = "" A16962 = "" A16963 = "" A16964 = "" A16965 = "" A16966 = "" A16967 = "" A16968 = "" A16969 = "" A16970 = "" 
+A16971 = "" A16972 = "" A16973 = "" A16974 = "" A16975 = "" A16976 = "" A16977 = "" A16978 = "" A16979 = "" A16980 = "" 
+A16981 = "" A16982 = "" A16983 = "" A16984 = "" A16985 = "" A16986 = "" A16987 = "" A16988 = "" A16989 = "" A16990 = "" 
+A16991 = "" A16992 = "" A16993 = "" A16994 = "" A16995 = "" A16996 = "" A16997 = "" A16998 = "" A16999 = "" A17000 = "" 
+A17001 = "" A17002 = "" A17003 = "" A17004 = "" A17005 = "" A17006 = "" A17007 = "" A17008 = "" A17009 = "" A17010 = "" 
+A17011 = "" A17012 = "" A17013 = "" A17014 = "" A17015 = "" A17016 = "" A17017 = "" A17018 = "" A17019 = "" A17020 = "" 
+A17021 = "" A17022 = "" A17023 = "" A17024 = "" A17025 = "" A17026 = "" A17027 = "" A17028 = "" A17029 = "" A17030 = "" 
+A17031 = "" A17032 = "" A17033 = "" A17034 = "" A17035 = "" A17036 = "" A17037 = "" A17038 = "" A17039 = "" A17040 = "" 
+A17041 = "" A17042 = "" A17043 = "" A17044 = "" A17045 = "" A17046 = "" A17047 = "" A17048 = "" A17049 = "" A17050 = "" 
+A17051 = "" A17052 = "" A17053 = "" A17054 = "" A17055 = "" A17056 = "" A17057 = "" A17058 = "" A17059 = "" A17060 = "" 
+A17061 = "" A17062 = "" A17063 = "" A17064 = "" A17065 = "" A17066 = "" A17067 = "" A17068 = "" A17069 = "" A17070 = "" 
+A17071 = "" A17072 = "" A17073 = "" A17074 = "" A17075 = "" A17076 = "" A17077 = "" A17078 = "" A17079 = "" A17080 = "" 
+A17081 = "" A17082 = "" A17083 = "" A17084 = "" A17085 = "" A17086 = "" A17087 = "" A17088 = "" A17089 = "" A17090 = "" 
+A17091 = "" A17092 = "" A17093 = "" A17094 = "" A17095 = "" A17096 = "" A17097 = "" A17098 = "" A17099 = "" A17100 = "" 
+A17101 = "" A17102 = "" A17103 = "" A17104 = "" A17105 = "" A17106 = "" A17107 = "" A17108 = "" A17109 = "" A17110 = "" 
+A17111 = "" A17112 = "" A17113 = "" A17114 = "" A17115 = "" A17116 = "" A17117 = "" A17118 = "" A17119 = "" A17120 = "" 
+A17121 = "" A17122 = "" A17123 = "" A17124 = "" A17125 = "" A17126 = "" A17127 = "" A17128 = "" A17129 = "" A17130 = "" 
+A17131 = "" A17132 = "" A17133 = "" A17134 = "" A17135 = "" A17136 = "" A17137 = "" A17138 = "" A17139 = "" A17140 = "" 
+A17141 = "" A17142 = "" A17143 = "" A17144 = "" A17145 = "" A17146 = "" A17147 = "" A17148 = "" A17149 = "" A17150 = "" 
+A17151 = "" A17152 = "" A17153 = "" A17154 = "" A17155 = "" A17156 = "" A17157 = "" A17158 = "" A17159 = "" A17160 = "" 
+A17161 = "" A17162 = "" A17163 = "" A17164 = "" A17165 = "" A17166 = "" A17167 = "" A17168 = "" A17169 = "" A17170 = "" 
+A17171 = "" A17172 = "" A17173 = "" A17174 = "" A17175 = "" A17176 = "" A17177 = "" A17178 = "" A17179 = "" A17180 = "" 
+A17181 = "" A17182 = "" A17183 = "" A17184 = "" A17185 = "" A17186 = "" A17187 = "" A17188 = "" A17189 = "" A17190 = "" 
+A17191 = "" A17192 = "" A17193 = "" A17194 = "" A17195 = "" A17196 = "" A17197 = "" A17198 = "" A17199 = "" A17200 = "" 
+A17201 = "" A17202 = "" A17203 = "" A17204 = "" A17205 = "" A17206 = "" A17207 = "" A17208 = "" A17209 = "" A17210 = "" 
+A17211 = "" A17212 = "" A17213 = "" A17214 = "" A17215 = "" A17216 = "" A17217 = "" A17218 = "" A17219 = "" A17220 = "" 
+A17221 = "" A17222 = "" A17223 = "" A17224 = "" A17225 = "" A17226 = "" A17227 = "" A17228 = "" A17229 = "" A17230 = "" 
+A17231 = "" A17232 = "" A17233 = "" A17234 = "" A17235 = "" A17236 = "" A17237 = "" A17238 = "" A17239 = "" A17240 = "" 
+A17241 = "" A17242 = "" A17243 = "" A17244 = "" A17245 = "" A17246 = "" A17247 = "" A17248 = "" A17249 = "" A17250 = "" 
+A17251 = "" A17252 = "" A17253 = "" A17254 = "" A17255 = "" A17256 = "" A17257 = "" A17258 = "" A17259 = "" A17260 = "" 
+A17261 = "" A17262 = "" A17263 = "" A17264 = "" A17265 = "" A17266 = "" A17267 = "" A17268 = "" A17269 = "" A17270 = "" 
+A17271 = "" A17272 = "" A17273 = "" A17274 = "" A17275 = "" A17276 = "" A17277 = "" A17278 = "" A17279 = "" A17280 = "" 
+A17281 = "" A17282 = "" A17283 = "" A17284 = "" A17285 = "" A17286 = "" A17287 = "" A17288 = "" A17289 = "" A17290 = "" 
+A17291 = "" A17292 = "" A17293 = "" A17294 = "" A17295 = "" A17296 = "" A17297 = "" A17298 = "" A17299 = "" A17300 = "" 
+A17301 = "" A17302 = "" A17303 = "" A17304 = "" A17305 = "" A17306 = "" A17307 = "" A17308 = "" A17309 = "" A17310 = "" 
+A17311 = "" A17312 = "" A17313 = "" A17314 = "" A17315 = "" A17316 = "" A17317 = "" A17318 = "" A17319 = "" A17320 = "" 
+A17321 = "" A17322 = "" A17323 = "" A17324 = "" A17325 = "" A17326 = "" A17327 = "" A17328 = "" A17329 = "" A17330 = "" 
+A17331 = "" A17332 = "" A17333 = "" A17334 = "" A17335 = "" A17336 = "" A17337 = "" A17338 = "" A17339 = "" A17340 = "" 
+A17341 = "" A17342 = "" A17343 = "" A17344 = "" A17345 = "" A17346 = "" A17347 = "" A17348 = "" A17349 = "" A17350 = "" 
+A17351 = "" A17352 = "" A17353 = "" A17354 = "" A17355 = "" A17356 = "" A17357 = "" A17358 = "" A17359 = "" A17360 = "" 
+A17361 = "" A17362 = "" A17363 = "" A17364 = "" A17365 = "" A17366 = "" A17367 = "" A17368 = "" A17369 = "" A17370 = "" 
+A17371 = "" A17372 = "" A17373 = "" A17374 = "" A17375 = "" A17376 = "" A17377 = "" A17378 = "" A17379 = "" A17380 = "" 
+A17381 = "" A17382 = "" A17383 = "" A17384 = "" A17385 = "" A17386 = "" A17387 = "" A17388 = "" A17389 = "" A17390 = "" 
+A17391 = "" A17392 = "" A17393 = "" A17394 = "" A17395 = "" A17396 = "" A17397 = "" A17398 = "" A17399 = "" A17400 = "" 
+A17401 = "" A17402 = "" A17403 = "" A17404 = "" A17405 = "" A17406 = "" A17407 = "" A17408 = "" A17409 = "" A17410 = "" 
+A17411 = "" A17412 = "" A17413 = "" A17414 = "" A17415 = "" A17416 = "" A17417 = "" A17418 = "" A17419 = "" A17420 = "" 
+A17421 = "" A17422 = "" A17423 = "" A17424 = "" A17425 = "" A17426 = "" A17427 = "" A17428 = "" A17429 = "" A17430 = "" 
+A17431 = "" A17432 = "" A17433 = "" A17434 = "" A17435 = "" A17436 = "" A17437 = "" A17438 = "" A17439 = "" A17440 = "" 
+A17441 = "" A17442 = "" A17443 = "" A17444 = "" A17445 = "" A17446 = "" A17447 = "" A17448 = "" A17449 = "" A17450 = "" 
+A17451 = "" A17452 = "" A17453 = "" A17454 = "" A17455 = "" A17456 = "" A17457 = "" A17458 = "" A17459 = "" A17460 = "" 
+A17461 = "" A17462 = "" A17463 = "" A17464 = "" A17465 = "" A17466 = "" A17467 = "" A17468 = "" A17469 = "" A17470 = "" 
+A17471 = "" A17472 = "" A17473 = "" A17474 = "" A17475 = "" A17476 = "" A17477 = "" A17478 = "" A17479 = "" A17480 = "" 
+A17481 = "" A17482 = "" A17483 = "" A17484 = "" A17485 = "" A17486 = "" A17487 = "" A17488 = "" A17489 = "" A17490 = "" 
+A17491 = "" A17492 = "" A17493 = "" A17494 = "" A17495 = "" A17496 = "" A17497 = "" A17498 = "" A17499 = "" A17500 = "" 
+A17501 = "" A17502 = "" A17503 = "" A17504 = "" A17505 = "" A17506 = "" A17507 = "" A17508 = "" A17509 = "" A17510 = "" 
+A17511 = "" A17512 = "" A17513 = "" A17514 = "" A17515 = "" A17516 = "" A17517 = "" A17518 = "" A17519 = "" A17520 = "" 
+A17521 = "" A17522 = "" A17523 = "" A17524 = "" A17525 = "" A17526 = "" A17527 = "" A17528 = "" A17529 = "" A17530 = "" 
+A17531 = "" A17532 = "" A17533 = "" A17534 = "" A17535 = "" A17536 = "" A17537 = "" A17538 = "" A17539 = "" A17540 = "" 
+A17541 = "" A17542 = "" A17543 = "" A17544 = "" A17545 = "" A17546 = "" A17547 = "" A17548 = "" A17549 = "" A17550 = "" 
+A17551 = "" A17552 = "" A17553 = "" A17554 = "" A17555 = "" A17556 = "" A17557 = "" A17558 = "" A17559 = "" A17560 = "" 
+A17561 = "" A17562 = "" A17563 = "" A17564 = "" A17565 = "" A17566 = "" A17567 = "" A17568 = "" A17569 = "" A17570 = "" 
+A17571 = "" A17572 = "" A17573 = "" A17574 = "" A17575 = "" A17576 = "" A17577 = "" A17578 = "" A17579 = "" A17580 = "" 
+A17581 = "" A17582 = "" A17583 = "" A17584 = "" A17585 = "" A17586 = "" A17587 = "" A17588 = "" A17589 = "" A17590 = "" 
+A17591 = "" A17592 = "" A17593 = "" A17594 = "" A17595 = "" A17596 = "" A17597 = "" A17598 = "" A17599 = "" A17600 = "" 
+A17601 = "" A17602 = "" A17603 = "" A17604 = "" A17605 = "" A17606 = "" A17607 = "" A17608 = "" A17609 = "" A17610 = "" 
+A17611 = "" A17612 = "" A17613 = "" A17614 = "" A17615 = "" A17616 = "" A17617 = "" A17618 = "" A17619 = "" A17620 = "" 
+A17621 = "" A17622 = "" A17623 = "" A17624 = "" A17625 = "" A17626 = "" A17627 = "" A17628 = "" A17629 = "" A17630 = "" 
+A17631 = "" A17632 = "" A17633 = "" A17634 = "" A17635 = "" A17636 = "" A17637 = "" A17638 = "" A17639 = "" A17640 = "" 
+A17641 = "" A17642 = "" A17643 = "" A17644 = "" A17645 = "" A17646 = "" A17647 = "" A17648 = "" A17649 = "" A17650 = "" 
+A17651 = "" A17652 = "" A17653 = "" A17654 = "" A17655 = "" A17656 = "" A17657 = "" A17658 = "" A17659 = "" A17660 = "" 
+A17661 = "" A17662 = "" A17663 = "" A17664 = "" A17665 = "" A17666 = "" A17667 = "" A17668 = "" A17669 = "" A17670 = "" 
+A17671 = "" A17672 = "" A17673 = "" A17674 = "" A17675 = "" A17676 = "" A17677 = "" A17678 = "" A17679 = "" A17680 = "" 
+A17681 = "" A17682 = "" A17683 = "" A17684 = "" A17685 = "" A17686 = "" A17687 = "" A17688 = "" A17689 = "" A17690 = "" 
+A17691 = "" A17692 = "" A17693 = "" A17694 = "" A17695 = "" A17696 = "" A17697 = "" A17698 = "" A17699 = "" A17700 = "" 
+A17701 = "" A17702 = "" A17703 = "" A17704 = "" A17705 = "" A17706 = "" A17707 = "" A17708 = "" A17709 = "" A17710 = "" 
+A17711 = "" A17712 = "" A17713 = "" A17714 = "" A17715 = "" A17716 = "" A17717 = "" A17718 = "" A17719 = "" A17720 = "" 
+A17721 = "" A17722 = "" A17723 = "" A17724 = "" A17725 = "" A17726 = "" A17727 = "" A17728 = "" A17729 = "" A17730 = "" 
+A17731 = "" A17732 = "" A17733 = "" A17734 = "" A17735 = "" A17736 = "" A17737 = "" A17738 = "" A17739 = "" A17740 = "" 
+A17741 = "" A17742 = "" A17743 = "" A17744 = "" A17745 = "" A17746 = "" A17747 = "" A17748 = "" A17749 = "" A17750 = "" 
+A17751 = "" A17752 = "" A17753 = "" A17754 = "" A17755 = "" A17756 = "" A17757 = "" A17758 = "" A17759 = "" A17760 = "" 
+A17761 = "" A17762 = "" A17763 = "" A17764 = "" A17765 = "" A17766 = "" A17767 = "" A17768 = "" A17769 = "" A17770 = "" 
+A17771 = "" A17772 = "" A17773 = "" A17774 = "" A17775 = "" A17776 = "" A17777 = "" A17778 = "" A17779 = "" A17780 = "" 
+A17781 = "" A17782 = "" A17783 = "" A17784 = "" A17785 = "" A17786 = "" A17787 = "" A17788 = "" A17789 = "" A17790 = "" 
+A17791 = "" A17792 = "" A17793 = "" A17794 = "" A17795 = "" A17796 = "" A17797 = "" A17798 = "" A17799 = "" A17800 = "" 
+A17801 = "" A17802 = "" A17803 = "" A17804 = "" A17805 = "" A17806 = "" A17807 = "" A17808 = "" A17809 = "" A17810 = "" 
+A17811 = "" A17812 = "" A17813 = "" A17814 = "" A17815 = "" A17816 = "" A17817 = "" A17818 = "" A17819 = "" A17820 = "" 
+A17821 = "" A17822 = "" A17823 = "" A17824 = "" A17825 = "" A17826 = "" A17827 = "" A17828 = "" A17829 = "" A17830 = "" 
+A17831 = "" A17832 = "" A17833 = "" A17834 = "" A17835 = "" A17836 = "" A17837 = "" A17838 = "" A17839 = "" A17840 = "" 
+A17841 = "" A17842 = "" A17843 = "" A17844 = "" A17845 = "" A17846 = "" A17847 = "" A17848 = "" A17849 = "" A17850 = "" 
+A17851 = "" A17852 = "" A17853 = "" A17854 = "" A17855 = "" A17856 = "" A17857 = "" A17858 = "" A17859 = "" A17860 = "" 
+A17861 = "" A17862 = "" A17863 = "" A17864 = "" A17865 = "" A17866 = "" A17867 = "" A17868 = "" A17869 = "" A17870 = "" 
+A17871 = "" A17872 = "" A17873 = "" A17874 = "" A17875 = "" A17876 = "" A17877 = "" A17878 = "" A17879 = "" A17880 = "" 
+A17881 = "" A17882 = "" A17883 = "" A17884 = "" A17885 = "" A17886 = "" A17887 = "" A17888 = "" A17889 = "" A17890 = "" 
+A17891 = "" A17892 = "" A17893 = "" A17894 = "" A17895 = "" A17896 = "" A17897 = "" A17898 = "" A17899 = "" A17900 = "" 
+A17901 = "" A17902 = "" A17903 = "" A17904 = "" A17905 = "" A17906 = "" A17907 = "" A17908 = "" A17909 = "" A17910 = "" 
+A17911 = "" A17912 = "" A17913 = "" A17914 = "" A17915 = "" A17916 = "" A17917 = "" A17918 = "" A17919 = "" A17920 = "" 
+A17921 = "" A17922 = "" A17923 = "" A17924 = "" A17925 = "" A17926 = "" A17927 = "" A17928 = "" A17929 = "" A17930 = "" 
+A17931 = "" A17932 = "" A17933 = "" A17934 = "" A17935 = "" A17936 = "" A17937 = "" A17938 = "" A17939 = "" A17940 = "" 
+A17941 = "" A17942 = "" A17943 = "" A17944 = "" A17945 = "" A17946 = "" A17947 = "" A17948 = "" A17949 = "" A17950 = "" 
+A17951 = "" A17952 = "" A17953 = "" A17954 = "" A17955 = "" A17956 = "" A17957 = "" A17958 = "" A17959 = "" A17960 = "" 
+A17961 = "" A17962 = "" A17963 = "" A17964 = "" A17965 = "" A17966 = "" A17967 = "" A17968 = "" A17969 = "" A17970 = "" 
+A17971 = "" A17972 = "" A17973 = "" A17974 = "" A17975 = "" A17976 = "" A17977 = "" A17978 = "" A17979 = "" A17980 = "" 
+A17981 = "" A17982 = "" A17983 = "" A17984 = "" A17985 = "" A17986 = "" A17987 = "" A17988 = "" A17989 = "" A17990 = "" 
+A17991 = "" A17992 = "" A17993 = "" A17994 = "" A17995 = "" A17996 = "" A17997 = "" A17998 = "" A17999 = "" A18000 = "" 
+A18001 = "" A18002 = "" A18003 = "" A18004 = "" A18005 = "" A18006 = "" A18007 = "" A18008 = "" A18009 = "" A18010 = "" 
+A18011 = "" A18012 = "" A18013 = "" A18014 = "" A18015 = "" A18016 = "" A18017 = "" A18018 = "" A18019 = "" A18020 = "" 
+A18021 = "" A18022 = "" A18023 = "" A18024 = "" A18025 = "" A18026 = "" A18027 = "" A18028 = "" A18029 = "" A18030 = "" 
+A18031 = "" A18032 = "" A18033 = "" A18034 = "" A18035 = "" A18036 = "" A18037 = "" A18038 = "" A18039 = "" A18040 = "" 
+A18041 = "" A18042 = "" A18043 = "" A18044 = "" A18045 = "" A18046 = "" A18047 = "" A18048 = "" A18049 = "" A18050 = "" 
+A18051 = "" A18052 = "" A18053 = "" A18054 = "" A18055 = "" A18056 = "" A18057 = "" A18058 = "" A18059 = "" A18060 = "" 
+A18061 = "" A18062 = "" A18063 = "" A18064 = "" A18065 = "" A18066 = "" A18067 = "" A18068 = "" A18069 = "" A18070 = "" 
+A18071 = "" A18072 = "" A18073 = "" A18074 = "" A18075 = "" A18076 = "" A18077 = "" A18078 = "" A18079 = "" A18080 = "" 
+A18081 = "" A18082 = "" A18083 = "" A18084 = "" A18085 = "" A18086 = "" A18087 = "" A18088 = "" A18089 = "" A18090 = "" 
+A18091 = "" A18092 = "" A18093 = "" A18094 = "" A18095 = "" A18096 = "" A18097 = "" A18098 = "" A18099 = "" A18100 = "" 
+A18101 = "" A18102 = "" A18103 = "" A18104 = "" A18105 = "" A18106 = "" A18107 = "" A18108 = "" A18109 = "" A18110 = "" 
+A18111 = "" A18112 = "" A18113 = "" A18114 = "" A18115 = "" A18116 = "" A18117 = "" A18118 = "" A18119 = "" A18120 = "" 
+A18121 = "" A18122 = "" A18123 = "" A18124 = "" A18125 = "" A18126 = "" A18127 = "" A18128 = "" A18129 = "" A18130 = "" 
+A18131 = "" A18132 = "" A18133 = "" A18134 = "" A18135 = "" A18136 = "" A18137 = "" A18138 = "" A18139 = "" A18140 = "" 
+A18141 = "" A18142 = "" A18143 = "" A18144 = "" A18145 = "" A18146 = "" A18147 = "" A18148 = "" A18149 = "" A18150 = "" 
+A18151 = "" A18152 = "" A18153 = "" A18154 = "" A18155 = "" A18156 = "" A18157 = "" A18158 = "" A18159 = "" A18160 = "" 
+A18161 = "" A18162 = "" A18163 = "" A18164 = "" A18165 = "" A18166 = "" A18167 = "" A18168 = "" A18169 = "" A18170 = "" 
+A18171 = "" A18172 = "" A18173 = "" A18174 = "" A18175 = "" A18176 = "" A18177 = "" A18178 = "" A18179 = "" A18180 = "" 
+A18181 = "" A18182 = "" A18183 = "" A18184 = "" A18185 = "" A18186 = "" A18187 = "" A18188 = "" A18189 = "" A18190 = "" 
+A18191 = "" A18192 = "" A18193 = "" A18194 = "" A18195 = "" A18196 = "" A18197 = "" A18198 = "" A18199 = "" A18200 = "" 
+A18201 = "" A18202 = "" A18203 = "" A18204 = "" A18205 = "" A18206 = "" A18207 = "" A18208 = "" A18209 = "" A18210 = "" 
+A18211 = "" A18212 = "" A18213 = "" A18214 = "" A18215 = "" A18216 = "" A18217 = "" A18218 = "" A18219 = "" A18220 = "" 
+A18221 = "" A18222 = "" A18223 = "" A18224 = "" A18225 = "" A18226 = "" A18227 = "" A18228 = "" A18229 = "" A18230 = "" 
+A18231 = "" A18232 = "" A18233 = "" A18234 = "" A18235 = "" A18236 = "" A18237 = "" A18238 = "" A18239 = "" A18240 = "" 
+A18241 = "" A18242 = "" A18243 = "" A18244 = "" A18245 = "" A18246 = "" A18247 = "" A18248 = "" A18249 = "" A18250 = "" 
+A18251 = "" A18252 = "" A18253 = "" A18254 = "" A18255 = "" A18256 = "" A18257 = "" A18258 = "" A18259 = "" A18260 = "" 
+A18261 = "" A18262 = "" A18263 = "" A18264 = "" A18265 = "" A18266 = "" A18267 = "" A18268 = "" A18269 = "" A18270 = "" 
+A18271 = "" A18272 = "" A18273 = "" A18274 = "" A18275 = "" A18276 = "" A18277 = "" A18278 = "" A18279 = "" A18280 = "" 
+A18281 = "" A18282 = "" A18283 = "" A18284 = "" A18285 = "" A18286 = "" A18287 = "" A18288 = "" A18289 = "" A18290 = "" 
+A18291 = "" A18292 = "" A18293 = "" A18294 = "" A18295 = "" A18296 = "" A18297 = "" A18298 = "" A18299 = "" A18300 = "" 
+A18301 = "" A18302 = "" A18303 = "" A18304 = "" A18305 = "" A18306 = "" A18307 = "" A18308 = "" A18309 = "" A18310 = "" 
+A18311 = "" A18312 = "" A18313 = "" A18314 = "" A18315 = "" A18316 = "" A18317 = "" A18318 = "" A18319 = "" A18320 = "" 
+A18321 = "" A18322 = "" A18323 = "" A18324 = "" A18325 = "" A18326 = "" A18327 = "" A18328 = "" A18329 = "" A18330 = "" 
+A18331 = "" A18332 = "" A18333 = "" A18334 = "" A18335 = "" A18336 = "" A18337 = "" A18338 = "" A18339 = "" A18340 = "" 
+A18341 = "" A18342 = "" A18343 = "" A18344 = "" A18345 = "" A18346 = "" A18347 = "" A18348 = "" A18349 = "" A18350 = "" 
+A18351 = "" A18352 = "" A18353 = "" A18354 = "" A18355 = "" A18356 = "" A18357 = "" A18358 = "" A18359 = "" A18360 = "" 
+A18361 = "" A18362 = "" A18363 = "" A18364 = "" A18365 = "" A18366 = "" A18367 = "" A18368 = "" A18369 = "" A18370 = "" 
+A18371 = "" A18372 = "" A18373 = "" A18374 = "" A18375 = "" A18376 = "" A18377 = "" A18378 = "" A18379 = "" A18380 = "" 
+A18381 = "" A18382 = "" A18383 = "" A18384 = "" A18385 = "" A18386 = "" A18387 = "" A18388 = "" A18389 = "" A18390 = "" 
+A18391 = "" A18392 = "" A18393 = "" A18394 = "" A18395 = "" A18396 = "" A18397 = "" A18398 = "" A18399 = "" A18400 = "" 
+A18401 = "" A18402 = "" A18403 = "" A18404 = "" A18405 = "" A18406 = "" A18407 = "" A18408 = "" A18409 = "" A18410 = "" 
+A18411 = "" A18412 = "" A18413 = "" A18414 = "" A18415 = "" A18416 = "" A18417 = "" A18418 = "" A18419 = "" A18420 = "" 
+A18421 = "" A18422 = "" A18423 = "" A18424 = "" A18425 = "" A18426 = "" A18427 = "" A18428 = "" A18429 = "" A18430 = "" 
+A18431 = "" A18432 = "" A18433 = "" A18434 = "" A18435 = "" A18436 = "" A18437 = "" A18438 = "" A18439 = "" A18440 = "" 
+A18441 = "" A18442 = "" A18443 = "" A18444 = "" A18445 = "" A18446 = "" A18447 = "" A18448 = "" A18449 = "" A18450 = "" 
+A18451 = "" A18452 = "" A18453 = "" A18454 = "" A18455 = "" A18456 = "" A18457 = "" A18458 = "" A18459 = "" A18460 = "" 
+A18461 = "" A18462 = "" A18463 = "" A18464 = "" A18465 = "" A18466 = "" A18467 = "" A18468 = "" A18469 = "" A18470 = "" 
+A18471 = "" A18472 = "" A18473 = "" A18474 = "" A18475 = "" A18476 = "" A18477 = "" A18478 = "" A18479 = "" A18480 = "" 
+A18481 = "" A18482 = "" A18483 = "" A18484 = "" A18485 = "" A18486 = "" A18487 = "" A18488 = "" A18489 = "" A18490 = "" 
+A18491 = "" A18492 = "" A18493 = "" A18494 = "" A18495 = "" A18496 = "" A18497 = "" A18498 = "" A18499 = "" A18500 = "" 
+A18501 = "" A18502 = "" A18503 = "" A18504 = "" A18505 = "" A18506 = "" A18507 = "" A18508 = "" A18509 = "" A18510 = "" 
+A18511 = "" A18512 = "" A18513 = "" A18514 = "" A18515 = "" A18516 = "" A18517 = "" A18518 = "" A18519 = "" A18520 = "" 
+A18521 = "" A18522 = "" A18523 = "" A18524 = "" A18525 = "" A18526 = "" A18527 = "" A18528 = "" A18529 = "" A18530 = "" 
+A18531 = "" A18532 = "" A18533 = "" A18534 = "" A18535 = "" A18536 = "" A18537 = "" A18538 = "" A18539 = "" A18540 = "" 
+A18541 = "" A18542 = "" A18543 = "" A18544 = "" A18545 = "" A18546 = "" A18547 = "" A18548 = "" A18549 = "" A18550 = "" 
+A18551 = "" A18552 = "" A18553 = "" A18554 = "" A18555 = "" A18556 = "" A18557 = "" A18558 = "" A18559 = "" A18560 = "" 
+A18561 = "" A18562 = "" A18563 = "" A18564 = "" A18565 = "" A18566 = "" A18567 = "" A18568 = "" A18569 = "" A18570 = "" 
+A18571 = "" A18572 = "" A18573 = "" A18574 = "" A18575 = "" A18576 = "" A18577 = "" A18578 = "" A18579 = "" A18580 = "" 
+A18581 = "" A18582 = "" A18583 = "" A18584 = "" A18585 = "" A18586 = "" A18587 = "" A18588 = "" A18589 = "" A18590 = "" 
+A18591 = "" A18592 = "" A18593 = "" A18594 = "" A18595 = "" A18596 = "" A18597 = "" A18598 = "" A18599 = "" A18600 = "" 
+A18601 = "" A18602 = "" A18603 = "" A18604 = "" A18605 = "" A18606 = "" A18607 = "" A18608 = "" A18609 = "" A18610 = "" 
+A18611 = "" A18612 = "" A18613 = "" A18614 = "" A18615 = "" A18616 = "" A18617 = "" A18618 = "" A18619 = "" A18620 = "" 
+A18621 = "" A18622 = "" A18623 = "" A18624 = "" A18625 = "" A18626 = "" A18627 = "" A18628 = "" A18629 = "" A18630 = "" 
+A18631 = "" A18632 = "" A18633 = "" A18634 = "" A18635 = "" A18636 = "" A18637 = "" A18638 = "" A18639 = "" A18640 = "" 
+A18641 = "" A18642 = "" A18643 = "" A18644 = "" A18645 = "" A18646 = "" A18647 = "" A18648 = "" A18649 = "" A18650 = "" 
+A18651 = "" A18652 = "" A18653 = "" A18654 = "" A18655 = "" A18656 = "" A18657 = "" A18658 = "" A18659 = "" A18660 = "" 
+A18661 = "" A18662 = "" A18663 = "" A18664 = "" A18665 = "" A18666 = "" A18667 = "" A18668 = "" A18669 = "" A18670 = "" 
+A18671 = "" A18672 = "" A18673 = "" A18674 = "" A18675 = "" A18676 = "" A18677 = "" A18678 = "" A18679 = "" A18680 = "" 
+A18681 = "" A18682 = "" A18683 = "" A18684 = "" A18685 = "" A18686 = "" A18687 = "" A18688 = "" A18689 = "" A18690 = "" 
+A18691 = "" A18692 = "" A18693 = "" A18694 = "" A18695 = "" A18696 = "" A18697 = "" A18698 = "" A18699 = "" A18700 = "" 
+A18701 = "" A18702 = "" A18703 = "" A18704 = "" A18705 = "" A18706 = "" A18707 = "" A18708 = "" A18709 = "" A18710 = "" 
+A18711 = "" A18712 = "" A18713 = "" A18714 = "" A18715 = "" A18716 = "" A18717 = "" A18718 = "" A18719 = "" A18720 = "" 
+A18721 = "" A18722 = "" A18723 = "" A18724 = "" A18725 = "" A18726 = "" A18727 = "" A18728 = "" A18729 = "" A18730 = "" 
+A18731 = "" A18732 = "" A18733 = "" A18734 = "" A18735 = "" A18736 = "" A18737 = "" A18738 = "" A18739 = "" A18740 = "" 
+A18741 = "" A18742 = "" A18743 = "" A18744 = "" A18745 = "" A18746 = "" A18747 = "" A18748 = "" A18749 = "" A18750 = "" 
+A18751 = "" A18752 = "" A18753 = "" A18754 = "" A18755 = "" A18756 = "" A18757 = "" A18758 = "" A18759 = "" A18760 = "" 
+A18761 = "" A18762 = "" A18763 = "" A18764 = "" A18765 = "" A18766 = "" A18767 = "" A18768 = "" A18769 = "" A18770 = "" 
+A18771 = "" A18772 = "" A18773 = "" A18774 = "" A18775 = "" A18776 = "" A18777 = "" A18778 = "" A18779 = "" A18780 = "" 
+A18781 = "" A18782 = "" A18783 = "" A18784 = "" A18785 = "" A18786 = "" A18787 = "" A18788 = "" A18789 = "" A18790 = "" 
+A18791 = "" A18792 = "" A18793 = "" A18794 = "" A18795 = "" A18796 = "" A18797 = "" A18798 = "" A18799 = "" A18800 = "" 
+A18801 = "" A18802 = "" A18803 = "" A18804 = "" A18805 = "" A18806 = "" A18807 = "" A18808 = "" A18809 = "" A18810 = "" 
+A18811 = "" A18812 = "" A18813 = "" A18814 = "" A18815 = "" A18816 = "" A18817 = "" A18818 = "" A18819 = "" A18820 = "" 
+A18821 = "" A18822 = "" A18823 = "" A18824 = "" A18825 = "" A18826 = "" A18827 = "" A18828 = "" A18829 = "" A18830 = "" 
+A18831 = "" A18832 = "" A18833 = "" A18834 = "" A18835 = "" A18836 = "" A18837 = "" A18838 = "" A18839 = "" A18840 = "" 
+A18841 = "" A18842 = "" A18843 = "" A18844 = "" A18845 = "" A18846 = "" A18847 = "" A18848 = "" A18849 = "" A18850 = "" 
+A18851 = "" A18852 = "" A18853 = "" A18854 = "" A18855 = "" A18856 = "" A18857 = "" A18858 = "" A18859 = "" A18860 = "" 
+A18861 = "" A18862 = "" A18863 = "" A18864 = "" A18865 = "" A18866 = "" A18867 = "" A18868 = "" A18869 = "" A18870 = "" 
+A18871 = "" A18872 = "" A18873 = "" A18874 = "" A18875 = "" A18876 = "" A18877 = "" A18878 = "" A18879 = "" A18880 = "" 
+A18881 = "" A18882 = "" A18883 = "" A18884 = "" A18885 = "" A18886 = "" A18887 = "" A18888 = "" A18889 = "" A18890 = "" 
+A18891 = "" A18892 = "" A18893 = "" A18894 = "" A18895 = "" A18896 = "" A18897 = "" A18898 = "" A18899 = "" A18900 = "" 
+A18901 = "" A18902 = "" A18903 = "" A18904 = "" A18905 = "" A18906 = "" A18907 = "" A18908 = "" A18909 = "" A18910 = "" 
+A18911 = "" A18912 = "" A18913 = "" A18914 = "" A18915 = "" A18916 = "" A18917 = "" A18918 = "" A18919 = "" A18920 = "" 
+A18921 = "" A18922 = "" A18923 = "" A18924 = "" A18925 = "" A18926 = "" A18927 = "" A18928 = "" A18929 = "" A18930 = "" 
+A18931 = "" A18932 = "" A18933 = "" A18934 = "" A18935 = "" A18936 = "" A18937 = "" A18938 = "" A18939 = "" A18940 = "" 
+A18941 = "" A18942 = "" A18943 = "" A18944 = "" A18945 = "" A18946 = "" A18947 = "" A18948 = "" A18949 = "" A18950 = "" 
+A18951 = "" A18952 = "" A18953 = "" A18954 = "" A18955 = "" A18956 = "" A18957 = "" A18958 = "" A18959 = "" A18960 = "" 
+A18961 = "" A18962 = "" A18963 = "" A18964 = "" A18965 = "" A18966 = "" A18967 = "" A18968 = "" A18969 = "" A18970 = "" 
+A18971 = "" A18972 = "" A18973 = "" A18974 = "" A18975 = "" A18976 = "" A18977 = "" A18978 = "" A18979 = "" A18980 = "" 
+A18981 = "" A18982 = "" A18983 = "" A18984 = "" A18985 = "" A18986 = "" A18987 = "" A18988 = "" A18989 = "" A18990 = "" 
+A18991 = "" A18992 = "" A18993 = "" A18994 = "" A18995 = "" A18996 = "" A18997 = "" A18998 = "" A18999 = "" A19000 = "" 
+A19001 = "" A19002 = "" A19003 = "" A19004 = "" A19005 = "" A19006 = "" A19007 = "" A19008 = "" A19009 = "" A19010 = "" 
+A19011 = "" A19012 = "" A19013 = "" A19014 = "" A19015 = "" A19016 = "" A19017 = "" A19018 = "" A19019 = "" A19020 = "" 
+A19021 = "" A19022 = "" A19023 = "" A19024 = "" A19025 = "" A19026 = "" A19027 = "" A19028 = "" A19029 = "" A19030 = "" 
+A19031 = "" A19032 = "" A19033 = "" A19034 = "" A19035 = "" A19036 = "" A19037 = "" A19038 = "" A19039 = "" A19040 = "" 
+A19041 = "" A19042 = "" A19043 = "" A19044 = "" A19045 = "" A19046 = "" A19047 = "" A19048 = "" A19049 = "" A19050 = "" 
+A19051 = "" A19052 = "" A19053 = "" A19054 = "" A19055 = "" A19056 = "" A19057 = "" A19058 = "" A19059 = "" A19060 = "" 
+A19061 = "" A19062 = "" A19063 = "" A19064 = "" A19065 = "" A19066 = "" A19067 = "" A19068 = "" A19069 = "" A19070 = "" 
+A19071 = "" A19072 = "" A19073 = "" A19074 = "" A19075 = "" A19076 = "" A19077 = "" A19078 = "" A19079 = "" A19080 = "" 
+A19081 = "" A19082 = "" A19083 = "" A19084 = "" A19085 = "" A19086 = "" A19087 = "" A19088 = "" A19089 = "" A19090 = "" 
+A19091 = "" A19092 = "" A19093 = "" A19094 = "" A19095 = "" A19096 = "" A19097 = "" A19098 = "" A19099 = "" A19100 = "" 
+A19101 = "" A19102 = "" A19103 = "" A19104 = "" A19105 = "" A19106 = "" A19107 = "" A19108 = "" A19109 = "" A19110 = "" 
+A19111 = "" A19112 = "" A19113 = "" A19114 = "" A19115 = "" A19116 = "" A19117 = "" A19118 = "" A19119 = "" A19120 = "" 
+A19121 = "" A19122 = "" A19123 = "" A19124 = "" A19125 = "" A19126 = "" A19127 = "" A19128 = "" A19129 = "" A19130 = "" 
+A19131 = "" A19132 = "" A19133 = "" A19134 = "" A19135 = "" A19136 = "" A19137 = "" A19138 = "" A19139 = "" A19140 = "" 
+A19141 = "" A19142 = "" A19143 = "" A19144 = "" A19145 = "" A19146 = "" A19147 = "" A19148 = "" A19149 = "" A19150 = "" 
+A19151 = "" A19152 = "" A19153 = "" A19154 = "" A19155 = "" A19156 = "" A19157 = "" A19158 = "" A19159 = "" A19160 = "" 
+A19161 = "" A19162 = "" A19163 = "" A19164 = "" A19165 = "" A19166 = "" A19167 = "" A19168 = "" A19169 = "" A19170 = "" 
+A19171 = "" A19172 = "" A19173 = "" A19174 = "" A19175 = "" A19176 = "" A19177 = "" A19178 = "" A19179 = "" A19180 = "" 
+A19181 = "" A19182 = "" A19183 = "" A19184 = "" A19185 = "" A19186 = "" A19187 = "" A19188 = "" A19189 = "" A19190 = "" 
+A19191 = "" A19192 = "" A19193 = "" A19194 = "" A19195 = "" A19196 = "" A19197 = "" A19198 = "" A19199 = "" A19200 = "" 
+A19201 = "" A19202 = "" A19203 = "" A19204 = "" A19205 = "" A19206 = "" A19207 = "" A19208 = "" A19209 = "" A19210 = "" 
+A19211 = "" A19212 = "" A19213 = "" A19214 = "" A19215 = "" A19216 = "" A19217 = "" A19218 = "" A19219 = "" A19220 = "" 
+A19221 = "" A19222 = "" A19223 = "" A19224 = "" A19225 = "" A19226 = "" A19227 = "" A19228 = "" A19229 = "" A19230 = "" 
+A19231 = "" A19232 = "" A19233 = "" A19234 = "" A19235 = "" A19236 = "" A19237 = "" A19238 = "" A19239 = "" A19240 = "" 
+A19241 = "" A19242 = "" A19243 = "" A19244 = "" A19245 = "" A19246 = "" A19247 = "" A19248 = "" A19249 = "" A19250 = "" 
+A19251 = "" A19252 = "" A19253 = "" A19254 = "" A19255 = "" A19256 = "" A19257 = "" A19258 = "" A19259 = "" A19260 = "" 
+A19261 = "" A19262 = "" A19263 = "" A19264 = "" A19265 = "" A19266 = "" A19267 = "" A19268 = "" A19269 = "" A19270 = "" 
+A19271 = "" A19272 = "" A19273 = "" A19274 = "" A19275 = "" A19276 = "" A19277 = "" A19278 = "" A19279 = "" A19280 = "" 
+A19281 = "" A19282 = "" A19283 = "" A19284 = "" A19285 = "" A19286 = "" A19287 = "" A19288 = "" A19289 = "" A19290 = "" 
+A19291 = "" A19292 = "" A19293 = "" A19294 = "" A19295 = "" A19296 = "" A19297 = "" A19298 = "" A19299 = "" A19300 = "" 
+A19301 = "" A19302 = "" A19303 = "" A19304 = "" A19305 = "" A19306 = "" A19307 = "" A19308 = "" A19309 = "" A19310 = "" 
+A19311 = "" A19312 = "" A19313 = "" A19314 = "" A19315 = "" A19316 = "" A19317 = "" A19318 = "" A19319 = "" A19320 = "" 
+A19321 = "" A19322 = "" A19323 = "" A19324 = "" A19325 = "" A19326 = "" A19327 = "" A19328 = "" A19329 = "" A19330 = "" 
+A19331 = "" A19332 = "" A19333 = "" A19334 = "" A19335 = "" A19336 = "" A19337 = "" A19338 = "" A19339 = "" A19340 = "" 
+A19341 = "" A19342 = "" A19343 = "" A19344 = "" A19345 = "" A19346 = "" A19347 = "" A19348 = "" A19349 = "" A19350 = "" 
+A19351 = "" A19352 = "" A19353 = "" A19354 = "" A19355 = "" A19356 = "" A19357 = "" A19358 = "" A19359 = "" A19360 = "" 
+A19361 = "" A19362 = "" A19363 = "" A19364 = "" A19365 = "" A19366 = "" A19367 = "" A19368 = "" A19369 = "" A19370 = "" 
+A19371 = "" A19372 = "" A19373 = "" A19374 = "" A19375 = "" A19376 = "" A19377 = "" A19378 = "" A19379 = "" A19380 = "" 
+A19381 = "" A19382 = "" A19383 = "" A19384 = "" A19385 = "" A19386 = "" A19387 = "" A19388 = "" A19389 = "" A19390 = "" 
+A19391 = "" A19392 = "" A19393 = "" A19394 = "" A19395 = "" A19396 = "" A19397 = "" A19398 = "" A19399 = "" A19400 = "" 
+A19401 = "" A19402 = "" A19403 = "" A19404 = "" A19405 = "" A19406 = "" A19407 = "" A19408 = "" A19409 = "" A19410 = "" 
+A19411 = "" A19412 = "" A19413 = "" A19414 = "" A19415 = "" A19416 = "" A19417 = "" A19418 = "" A19419 = "" A19420 = "" 
+A19421 = "" A19422 = "" A19423 = "" A19424 = "" A19425 = "" A19426 = "" A19427 = "" A19428 = "" A19429 = "" A19430 = "" 
+A19431 = "" A19432 = "" A19433 = "" A19434 = "" A19435 = "" A19436 = "" A19437 = "" A19438 = "" A19439 = "" A19440 = "" 
+A19441 = "" A19442 = "" A19443 = "" A19444 = "" A19445 = "" A19446 = "" A19447 = "" A19448 = "" A19449 = "" A19450 = "" 
+A19451 = "" A19452 = "" A19453 = "" A19454 = "" A19455 = "" A19456 = "" A19457 = "" A19458 = "" A19459 = "" A19460 = "" 
+A19461 = "" A19462 = "" A19463 = "" A19464 = "" A19465 = "" A19466 = "" A19467 = "" A19468 = "" A19469 = "" A19470 = "" 
+A19471 = "" A19472 = "" A19473 = "" A19474 = "" A19475 = "" A19476 = "" A19477 = "" A19478 = "" A19479 = "" A19480 = "" 
+A19481 = "" A19482 = "" A19483 = "" A19484 = "" A19485 = "" A19486 = "" A19487 = "" A19488 = "" A19489 = "" A19490 = "" 
+A19491 = "" A19492 = "" A19493 = "" A19494 = "" A19495 = "" A19496 = "" A19497 = "" A19498 = "" A19499 = "" A19500 = "" 
+A19501 = "" A19502 = "" A19503 = "" A19504 = "" A19505 = "" A19506 = "" A19507 = "" A19508 = "" A19509 = "" A19510 = "" 
+A19511 = "" A19512 = "" A19513 = "" A19514 = "" A19515 = "" A19516 = "" A19517 = "" A19518 = "" A19519 = "" A19520 = "" 
+A19521 = "" A19522 = "" A19523 = "" A19524 = "" A19525 = "" A19526 = "" A19527 = "" A19528 = "" A19529 = "" A19530 = "" 
+A19531 = "" A19532 = "" A19533 = "" A19534 = "" A19535 = "" A19536 = "" A19537 = "" A19538 = "" A19539 = "" A19540 = "" 
+A19541 = "" A19542 = "" A19543 = "" A19544 = "" A19545 = "" A19546 = "" A19547 = "" A19548 = "" A19549 = "" A19550 = "" 
+A19551 = "" A19552 = "" A19553 = "" A19554 = "" A19555 = "" A19556 = "" A19557 = "" A19558 = "" A19559 = "" A19560 = "" 
+A19561 = "" A19562 = "" A19563 = "" A19564 = "" A19565 = "" A19566 = "" A19567 = "" A19568 = "" A19569 = "" A19570 = "" 
+A19571 = "" A19572 = "" A19573 = "" A19574 = "" A19575 = "" A19576 = "" A19577 = "" A19578 = "" A19579 = "" A19580 = "" 
+A19581 = "" A19582 = "" A19583 = "" A19584 = "" A19585 = "" A19586 = "" A19587 = "" A19588 = "" A19589 = "" A19590 = "" 
+A19591 = "" A19592 = "" A19593 = "" A19594 = "" A19595 = "" A19596 = "" A19597 = "" A19598 = "" A19599 = "" A19600 = "" 
+A19601 = "" A19602 = "" A19603 = "" A19604 = "" A19605 = "" A19606 = "" A19607 = "" A19608 = "" A19609 = "" A19610 = "" 
+A19611 = "" A19612 = "" A19613 = "" A19614 = "" A19615 = "" A19616 = "" A19617 = "" A19618 = "" A19619 = "" A19620 = "" 
+A19621 = "" A19622 = "" A19623 = "" A19624 = "" A19625 = "" A19626 = "" A19627 = "" A19628 = "" A19629 = "" A19630 = "" 
+A19631 = "" A19632 = "" A19633 = "" A19634 = "" A19635 = "" A19636 = "" A19637 = "" A19638 = "" A19639 = "" A19640 = "" 
+A19641 = "" A19642 = "" A19643 = "" A19644 = "" A19645 = "" A19646 = "" A19647 = "" A19648 = "" A19649 = "" A19650 = "" 
+A19651 = "" A19652 = "" A19653 = "" A19654 = "" A19655 = "" A19656 = "" A19657 = "" A19658 = "" A19659 = "" A19660 = "" 
+A19661 = "" A19662 = "" A19663 = "" A19664 = "" A19665 = "" A19666 = "" A19667 = "" A19668 = "" A19669 = "" A19670 = "" 
+A19671 = "" A19672 = "" A19673 = "" A19674 = "" A19675 = "" A19676 = "" A19677 = "" A19678 = "" A19679 = "" A19680 = "" 
+A19681 = "" A19682 = "" A19683 = "" A19684 = "" A19685 = "" A19686 = "" A19687 = "" A19688 = "" A19689 = "" A19690 = "" 
+A19691 = "" A19692 = "" A19693 = "" A19694 = "" A19695 = "" A19696 = "" A19697 = "" A19698 = "" A19699 = "" A19700 = "" 
+A19701 = "" A19702 = "" A19703 = "" A19704 = "" A19705 = "" A19706 = "" A19707 = "" A19708 = "" A19709 = "" A19710 = "" 
+A19711 = "" A19712 = "" A19713 = "" A19714 = "" A19715 = "" A19716 = "" A19717 = "" A19718 = "" A19719 = "" A19720 = "" 
+A19721 = "" A19722 = "" A19723 = "" A19724 = "" A19725 = "" A19726 = "" A19727 = "" A19728 = "" A19729 = "" A19730 = "" 
+A19731 = "" A19732 = "" A19733 = "" A19734 = "" A19735 = "" A19736 = "" A19737 = "" A19738 = "" A19739 = "" A19740 = "" 
+A19741 = "" A19742 = "" A19743 = "" A19744 = "" A19745 = "" A19746 = "" A19747 = "" A19748 = "" A19749 = "" A19750 = "" 
+A19751 = "" A19752 = "" A19753 = "" A19754 = "" A19755 = "" A19756 = "" A19757 = "" A19758 = "" A19759 = "" A19760 = "" 
+A19761 = "" A19762 = "" A19763 = "" A19764 = "" A19765 = "" A19766 = "" A19767 = "" A19768 = "" A19769 = "" A19770 = "" 
+A19771 = "" A19772 = "" A19773 = "" A19774 = "" A19775 = "" A19776 = "" A19777 = "" A19778 = "" A19779 = "" A19780 = "" 
+A19781 = "" A19782 = "" A19783 = "" A19784 = "" A19785 = "" A19786 = "" A19787 = "" A19788 = "" A19789 = "" A19790 = "" 
+A19791 = "" A19792 = "" A19793 = "" A19794 = "" A19795 = "" A19796 = "" A19797 = "" A19798 = "" A19799 = "" A19800 = "" 
+A19801 = "" A19802 = "" A19803 = "" A19804 = "" A19805 = "" A19806 = "" A19807 = "" A19808 = "" A19809 = "" A19810 = "" 
+A19811 = "" A19812 = "" A19813 = "" A19814 = "" A19815 = "" A19816 = "" A19817 = "" A19818 = "" A19819 = "" A19820 = "" 
+A19821 = "" A19822 = "" A19823 = "" A19824 = "" A19825 = "" A19826 = "" A19827 = "" A19828 = "" A19829 = "" A19830 = "" 
+A19831 = "" A19832 = "" A19833 = "" A19834 = "" A19835 = "" A19836 = "" A19837 = "" A19838 = "" A19839 = "" A19840 = "" 
+A19841 = "" A19842 = "" A19843 = "" A19844 = "" A19845 = "" A19846 = "" A19847 = "" A19848 = "" A19849 = "" A19850 = "" 
+A19851 = "" A19852 = "" A19853 = "" A19854 = "" A19855 = "" A19856 = "" A19857 = "" A19858 = "" A19859 = "" A19860 = "" 
+A19861 = "" A19862 = "" A19863 = "" A19864 = "" A19865 = "" A19866 = "" A19867 = "" A19868 = "" A19869 = "" A19870 = "" 
+A19871 = "" A19872 = "" A19873 = "" A19874 = "" A19875 = "" A19876 = "" A19877 = "" A19878 = "" A19879 = "" A19880 = "" 
+A19881 = "" A19882 = "" A19883 = "" A19884 = "" A19885 = "" A19886 = "" A19887 = "" A19888 = "" A19889 = "" A19890 = "" 
+A19891 = "" A19892 = "" A19893 = "" A19894 = "" A19895 = "" A19896 = "" A19897 = "" A19898 = "" A19899 = "" A19900 = "" 
+A19901 = "" A19902 = "" A19903 = "" A19904 = "" A19905 = "" A19906 = "" A19907 = "" A19908 = "" A19909 = "" A19910 = "" 
+A19911 = "" A19912 = "" A19913 = "" A19914 = "" A19915 = "" A19916 = "" A19917 = "" A19918 = "" A19919 = "" A19920 = "" 
+A19921 = "" A19922 = "" A19923 = "" A19924 = "" A19925 = "" A19926 = "" A19927 = "" A19928 = "" A19929 = "" A19930 = "" 
+A19931 = "" A19932 = "" A19933 = "" A19934 = "" A19935 = "" A19936 = "" A19937 = "" A19938 = "" A19939 = "" A19940 = "" 
+A19941 = "" A19942 = "" A19943 = "" A19944 = "" A19945 = "" A19946 = "" A19947 = "" A19948 = "" A19949 = "" A19950 = "" 
+A19951 = "" A19952 = "" A19953 = "" A19954 = "" A19955 = "" A19956 = "" A19957 = "" A19958 = "" A19959 = "" A19960 = "" 
+A19961 = "" A19962 = "" A19963 = "" A19964 = "" A19965 = "" A19966 = "" A19967 = "" A19968 = "" A19969 = "" A19970 = "" 
+A19971 = "" A19972 = "" A19973 = "" A19974 = "" A19975 = "" A19976 = "" A19977 = "" A19978 = "" A19979 = "" A19980 = "" 
+A19981 = "" A19982 = "" A19983 = "" A19984 = "" A19985 = "" A19986 = "" A19987 = "" A19988 = "" A19989 = "" A19990 = "" 
+A19991 = "" A19992 = "" A19993 = "" A19994 = "" A19995 = "" A19996 = "" A19997 = "" A19998 = "" A19999 = "" 
+>
+    <name><family>Boss</family> <given>Big</given></name>
+    <email>chief@foo.com</email>
+    <link subordinates="one.worker two.worker three.worker four.worker five.worker"/>
+  </person>
+
+  <person id="one.worker">
+    <name><family>Worker</family> <given>One</given></name>
+    <email>one@foo.com</email>
+    <link manager="Big.Boss"/>
+  </person>
+
+  <person id="two.worker">
+    <name><family>Worker</family> <given>Two</given></name>
+    <email>two@foo.com</email>
+    <link manager="Big.Boss"/>
+  </person>
+
+  <person id="three.worker">
+    <name><family>Worker</family> <given>Three</given></name>
+    <email>three@foo.com</email>
+    <link manager="Big.Boss"/>
+  </person>
+
+  <person id="four.worker">
+    <name><family>Worker</family> <given>Four</given></name>
+    <email>four@foo.com</email>
+    <link manager="Big.Boss"/>
+  </person>
+
+  <person id="five.worker">
+    <name><family>Worker</family> <given>Five</given></name>
+    <email>five@foo.com</email>
+    <link manager="Big.Boss"/>
+  </person>
+
+</personnel>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/DosTest3.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<personnel>
+
+<person id="Big.Boss"  A100 = "" 
+A101 = "" A102 = "" A103 = ""
+>
+    <name><family>Boss</family> <given>Big</given></name>
+    <email>chief@foo.com</email>
+    <link subordinates="one.worker two.worker three.worker four.worker five.worker"/>
+  </person>
+
+  <person id="one.worker">
+    <name><family>Worker</family> <given>One</given></name>
+    <email>one@foo.com</email>
+    <link manager="Big.Boss"/>
+  </person>
+
+  <person id="two.worker">
+    <name><family>Worker</family> <given>Two</given></name>
+    <email>two@foo.com</email>
+    <link manager="Big.Boss"/>
+  </person>
+
+  <person id="three.worker">
+    <name><family>Worker</family> <given>Three</given></name>
+    <email>three@foo.com</email>
+    <link manager="Big.Boss"/>
+  </person>
+
+  <person id="four.worker">
+    <name><family>Worker</family> <given>Four</given></name>
+    <email>four@foo.com</email>
+    <link manager="Big.Boss"/>
+  </person>
+
+  <person id="five.worker">
+    <name><family>Worker</family> <given>Five</given></name>
+    <email>five@foo.com</email>
+    <link manager="Big.Boss"/>
+  </person>
+
+</personnel>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/FactoryFindTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,75 @@
+/*
+ * 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 parsers;
+
+import java.net.URL;
+import java.net.URLClassLoader;
+
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test Classloader for SAXParserFactory.
+ */
+public class FactoryFindTest {
+
+    boolean myClassLoaderUsed = false;
+
+    @Test
+    public void testFactoryFind() {
+        try {
+            // System.setProperty("jaxp.debug", "true");
+
+            SAXParserFactory factory = SAXParserFactory.newInstance();
+            Assert.assertTrue(factory.getClass().getClassLoader() == null);
+
+            Thread.currentThread().setContextClassLoader(null);
+            factory = SAXParserFactory.newInstance();
+            Assert.assertTrue(factory.getClass().getClassLoader() == null);
+
+            Thread.currentThread().setContextClassLoader(new MyClassLoader());
+            factory = SAXParserFactory.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/jaxp/test/javax/xml/jaxp/unittest/parsers/MyDefaultHandler.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,47 @@
+/*
+ * 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 parsers;
+
+import org.xml.sax.Attributes;
+import org.xml.sax.Locator;
+import org.xml.sax.ext.Locator2;
+import org.xml.sax.helpers.DefaultHandler;
+
+public class MyDefaultHandler extends DefaultHandler {
+
+    private Locator myLocator = null;
+    String xmlVersion = "";
+
+    public void setDocumentLocator(Locator locator) {
+        myLocator = locator;
+    }
+
+    public void startElement(String uri, String localName, String qName, Attributes attributes) {
+        try {
+            xmlVersion = ((Locator2) myLocator).getXMLVersion();
+        } catch (Exception e) {
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/MyErrorHandler.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,55 @@
+/*
+ * 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 parsers;
+
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+import org.xml.sax.helpers.DefaultHandler;
+
+public class MyErrorHandler extends DefaultHandler {
+
+    public boolean errorOccured = false;
+
+    public void error(SAXParseException e) throws SAXException {
+
+        System.err.println("Error: " + "[[" + e.getPublicId() + "]" + "[" + e.getSystemId() + "]]" + "[[" + e.getLineNumber() + "]" + "[" + e.getColumnNumber()
+                + "]] " + e);
+
+        errorOccured = true;
+    }
+
+    public void fatalError(SAXParseException e) throws SAXException {
+
+        System.err.println("Fatal Error: " + e);
+
+        errorOccured = true;
+    }
+
+    public void warning(SAXParseException e) throws SAXException {
+
+        System.err.println("Warning: " + e);
+
+        errorOccured = true;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/ParseEmptyStream.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,88 @@
+/*
+ * 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 parsers;
+
+import java.io.StringReader;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @summary Test SAXParser doesn't accept empty stream.
+ */
+public class ParseEmptyStream {
+
+    SAXParserFactory factory = null;
+
+    public ParseEmptyStream(String name) {
+        try {
+            factory = SAXParserFactory.newInstance();
+            factory.setNamespaceAware(true);
+        } catch (Exception ex) {
+            Assert.fail(ex.getMessage());
+        }
+    }
+
+    @Test
+    public void testEmptyStream() {
+        try {
+            SAXParser parser = factory.newSAXParser();
+            InputSource source = new InputSource(new StringReader(""));
+            parser.parse(source, new MyHandler());
+            Assert.fail("Inputstream without document element accepted");
+        } catch (Exception ex) {
+            System.out.println("Exception thrown: " + ex.getMessage());
+            // Premature end of file exception expected
+        }
+    }
+
+    @Test
+    public void testXmlDeclOnly() {
+        try {
+            SAXParser parser = factory.newSAXParser();
+            InputSource source = new InputSource(new StringReader("<?xml version='1.0' encoding='utf-8'?>"));
+            parser.parse(source, new MyHandler());
+            Assert.fail("Inputstream without document element accepted");
+        } catch (Exception ex) {
+            System.out.println("Exception thrown: " + ex.getMessage());
+            // Premature end of file exception expected
+        }
+    }
+
+    static class MyHandler extends DefaultHandler {
+        public void startDocument() {
+            System.out.println("Start document called");
+        }
+
+        public void endDocument() {
+            System.out.println("End document called");
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/bug6690015.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<block>
+<lang>
+<text dna="8233" ro="hello, and i'll type some normal characters in (&gt;=1.5 mm) ro" it="here to make sure international characters don't play a part(&gt;=1.5mm) it" tr="make sure international characters don't play a part (&gt;=1.5 mm) tr" pt_br="make sure international characters don't play a part (&gt;=1,5 mm) pt_br" de="make sure international characters don't play a part (&gt;=1,5 mm) de" el="make sure international characters don't play a part (&gt;= 1.5 mm) el" zh_cn="make sure international characters don't play a part¿&gt;= 1.5 mm¿ zh_cn" pt="make sure international characters don't play a part (&gt;=1,5 mm) pt" bg="make sure international characters don't play a part (&gt;= 1.5 mm) bg" fr="make sure international characters don't play a part (&gt;= 1,5 mm) fr" en="make sure international characters don't play a part (&gt;= 1.5 mm) en" ru="make sure international characters don't play a part (&gt;=1.5 ¿¿) ru" es="make sure international characters don't play a part (&gt;=1.5 mm) es" ja="make sure international characters don't play a part¿&gt;=1.5mm¿ ja" nl="make sure international characters don't play a part (&gt;= 1,5 mm) nl" />
+</lang>
+</block>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/bug6760982.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<Test>
+  <mytest  a= '[]'
+           b= '[]'
+           c= '[]'
+           d= '[]'
+           e= '[]'
+           f= '[]'
+           Y= '[]'
+           Z= 'ZZ[]'
+  />
+</Test>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/catalog.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.1" encoding="UTF-8"?>
+<stardb xmlns="http://www.astro.com/astro" xmlns:astro="http://www.astro.com/astro" xsi:schemaLocation="http://www.astro.com/astro catalog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><_test01></_test01><test-02 xmlns:xsi=""></test-02><test.03></test.03><_test-04>T%e!s#t$</_test-04><star><hr>1</hr><constellation/><fullname/><ra><h>00</h><m>05</m><s>09.9</s><dv>0.08608333333333333</dv></ra><dec><sgn/><d>45</d><m>13</m><s>45</s><dv>45.22916666666667</dv></dec><glng>114.44</glng><glat>-16.88</glat><vmag>6.70</vmag><spec>A1Vn</spec></star><star><hr>2</hr><constellation/><fullname/><ra><h>00</h><m>05</m><s>03.8</s><dv>0.08438888888888889</dv></ra><dec><sgn>-</sgn><d>00</d><m>30</m><s>11</s><dv>-0.5030555555555556</dv></dec><glng>98.33</glng><glat>-61.14</glat><vmag>6.29</vmag><spec>gG9</spec></star><star><hr>3</hr><constellation>Psc</constellation><fullname>33    Psc</fullname><ra><h>00</h><m>05</m><s>20.1</s><dv>0.08891666666666666</dv></ra><dec><sgn>-</sgn><d>05</d><m>42</m><s>27</s><dv>-5.7075000000000005</dv></dec><glng>93.75</glng><glat>-65.93</glat><vmag>4.61</vmag><spec>K0IIIbCN-0.5</spec></star><star><hr>4</hr><constellation>Peg</constellation><fullname>86    Peg</fullname><ra><h>00</h><m>05</m><s>42.0</s><dv>0.095</dv></ra><dec><sgn/><d>13</d><m>23</m><s>46</s><dv>13.39611111111111</dv></dec><glng>106.19</glng><glat>-47.98</glat><vmag>5.51</vmag><spec>G5III</spec></star><star><hr>5</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>16.0</s><dv>0.10444444444444445</dv></ra><dec><sgn/><d>58</d><m>26</m><s>12</s><dv>58.43666666666666</dv></dec><glng>117.03</glng><glat>-03.92</glat><vmag>5.96</vmag><spec>G5V</spec></star><star><hr>6</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>19.0</s><dv>0.10527777777777779</dv></ra><dec><sgn>-</sgn><d>49</d><m>04</m><s>30</s><dv>-49.075</dv></dec><glng>321.61</glng><glat>-66.38</glat><vmag>5.70</vmag><spec>G1IV</spec></star><star><hr>7</hr><constellation>Cas</constellation><fullname>10    Cas</fullname><ra><h>00</h><m>06</m><s>26.5</s><dv>0.10736111111111112</dv></ra><dec><sgn/><d>64</d><m>11</m><s>46</s><dv>64.19611111111111</dv></dec><glng>118.06</glng><glat>1.75</glat><vmag>5.59</vmag><spec>B9III</spec></star><star><hr>8</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>36.8</s><dv>0.11022222222222222</dv></ra><dec><sgn/><d>29</d><m>01</m><s>17</s><dv>29.02138888888889</dv></dec><glng>111.26</glng><glat>-32.83</glat><vmag>6.13</vmag><spec>K0V</spec></star><star><hr>9</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>50.1</s><dv>0.11391666666666667</dv></ra><dec><sgn>-</sgn><d>23</d><m>06</m><s>27</s><dv>-23.1075</dv></dec><glng>52.21</glng><glat>-79.14</glat><vmag>6.18</vmag><spec>A7V</spec></star><star><hr>10</hr><constellation/><fullname/><ra><h>00</h><m>07</m><s>18.2</s><dv>0.12172222222222222</dv></ra><dec><sgn>-</sgn><d>17</d><m>23</m><s>11</s><dv>-17.386388888888888</dv></dec><glng>74.36</glng><glat>-75.90</glat><vmag>6.19</vmag><spec>A6Vn</spec></star></stardb>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/catalog.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,122 @@
+<xs:schema 
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://www.astro.com/astro" 
+    xmlns:astro="http://www.astro.com/astro"
+    elementFormDefault="qualified"
+    attributeFormDefault="qualified"
+>
+    <!-- Star Identification String Type  -->
+    <xs:simpleType name="staridType">
+	<xs:restriction base="xs:string">
+	    <xs:maxLength value="4"/>
+	</xs:restriction>
+    </xs:simpleType>
+
+    <!-- Hour Type -->
+    <xs:simpleType name="hourType">
+	<xs:restriction base="xs:decimal">
+	    <xs:minInclusive value="0.0"/>
+	    <xs:maxInclusive value="24.0"/>
+	</xs:restriction>
+    </xs:simpleType>
+
+    <!-- Minute Type -->
+    <xs:simpleType name="minuteType">
+	<xs:restriction base="xs:decimal">
+	    <xs:minInclusive value="0.0"/>
+	    <xs:maxInclusive value="60.0"/>
+	</xs:restriction>
+    </xs:simpleType>
+
+    <!-- Second Type -->
+    <xs:simpleType name="secondType">
+	<xs:restriction base="xs:decimal">
+	    <xs:minInclusive value="0.0"/>
+	    <xs:maxInclusive value="60.0"/>
+	</xs:restriction>
+    </xs:simpleType>
+
+    <xs:simpleType name="decimalValueType">
+	<xs:restriction base="xs:decimal">
+	</xs:restriction>
+    </xs:simpleType> 
+
+    <xs:simpleType name="degType">
+	<xs:restriction base="xs:decimal">
+	    <xs:minInclusive value="-90.0"/>
+	    <xs:maxInclusive value="90.0"/>
+	</xs:restriction>
+    </xs:simpleType> 
+
+    <xs:simpleType name="vmagType">
+	<xs:restriction base="xs:decimal">
+	    <xs:minInclusive value="-3.0"/>
+	    <xs:maxInclusive value="12.0"/>
+	</xs:restriction>
+    </xs:simpleType> 
+
+
+    <xs:simpleType name="signType">
+	<xs:restriction base="xs:string">
+	    <xs:enumeration value="+"/>
+	    <xs:enumeration value="-"/>
+	    <xs:enumeration value=""/>
+	</xs:restriction>
+    </xs:simpleType> 
+
+    <xs:complexType name="raType">
+	<xs:sequence>
+	    <xs:element name="h"  type="astro:hourType"/>
+	    <xs:element name="m"  type="astro:minuteType"/>
+	    <xs:element name="s"  type="astro:secondType"/>
+	    <xs:element name="dv" type="astro:decimalValueType"/>
+	</xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="decType">
+	<xs:sequence>
+	    <xs:element name="sgn" type="astro:signType"/>
+	    <xs:element name="d"   type="astro:degType"/>
+	    <xs:element name="m"   type="astro:minuteType"/>
+	    <xs:element name="s"   type="astro:secondType"/>
+	    <xs:element name="dv"  type="astro:decimalValueType"/>
+	</xs:sequence>
+    </xs:complexType>
+
+
+    <xs:complexType name="starType">
+	<xs:sequence>
+	    <xs:element name="hr"            type="astro:staridType"/>
+	    <xs:element name="constellation" type="xs:string"/>
+	    <xs:element name="fullname"      type="xs:string"/>
+	    <xs:element name="ra"            type="astro:raType"/>
+	    <xs:element name="dec"           type="astro:decType"/>
+	    <xs:element name="glng"          type="xs:decimal"/>
+	    <xs:element name="glat"          type="xs:decimal"/>
+	    <xs:element name="vmag"          type="astro:vmagType"/>
+	    <xs:element name="spec"          type="xs:string"/>
+	</xs:sequence>
+    </xs:complexType>
+
+
+    <!-- The real part of the catalog starts here -->
+    <xs:element name="stardb">
+       <xs:complexType>
+          <xs:sequence>
+
+	     <!-- for testing purposes -->
+	     <xs:element name="_test01" type="xs:string"
+		minOccurs="0" maxOccurs="1"/>
+	     <xs:element name="test-02" type="xs:string"/>
+	     <xs:element name="test.03" type="xs:string"/>
+	     <xs:element name="_test-04" type="xs:string"/>
+
+	     <!-- astro data elements -->
+             <xs:element name="star" type="astro:starType"
+	        minOccurs="0" maxOccurs="unbounded"/>
+          </xs:sequence>
+       </xs:complexType>
+    </xs:element>
+    <!-- The real part of the catalog ends here -->
+
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/entity.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding='UTF-8'?>
+<!DOCTYPE author [ 
+<!ELEMENT author ANY>
+<!ENTITY writer "Jan Egil Refsnes.">
+<!ENTITY copyright "Copyright XML101.">
+<!ENTITY something "ABC">
+]> 
+<author>&writer;&copyright;&something;&something;</author>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/entity64K.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,4 @@
+<!DOCTYPE author [
+<!ELEMENT author ANY>
+<!ENTITY s "ABC">
+]> <author>&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&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;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;&s;</author>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/test.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           xmlns:tn="foo"
+           targetNamespace="foo" elementFormDefault="qualified">
+    <xs:element name="root">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="a">
+                    <xs:complexType>
+                        <xs:sequence>
+                            <xs:element ref="tn:b"/>
+                        </xs:sequence>
+                    </xs:complexType>
+                </xs:element>
+                <xs:element name="ref" maxOccurs="unbounded" minOccurs="0" type="xs:string" />
+            </xs:sequence>
+        </xs:complexType>
+                                        
+        <!-- identity constraint -->
+        <xs:key name="key">
+            <xs:selector xpath=".//tn:a/tn:b|.//tn:a/tn:b/tn:c"/>
+            <xs:field xpath="@id"/>
+        </xs:key>
+        <xs:keyref name="keyref" refer="tn:key">
+            <xs:selector xpath=".//tn:ref"/>
+            <xs:field xpath="."/>
+        </xs:keyref>
+    </xs:element>
+    
+    <xs:element name="c">
+        <xs:complexType>
+            <xs:attribute name="id" type="xs:string"/>
+        </xs:complexType>
+    </xs:element>
+                
+    <xs:element name="b">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element ref="tn:c" minOccurs="0" />
+            </xs:sequence>
+            <xs:attribute name="id" type="xs:string"/>
+        </xs:complexType>
+    </xs:element>
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/test1.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root xmlns="foo">
+    <a>
+       <b id="id1">
+         <c id="id2"/>
+       </b>
+    </a>
+
+    <ref>id2</ref>
+</root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/test2.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root xmlns="foo">
+  <undefined />
+</root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/toys.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+    Document   : toys.xml
+    Created on : August 11, 2003, 6:42 PM
+    Author     : Prasad Subramanian
+    Description:
+-->
+
+<toys>
+    <toy>
+        <name>Lego-Model01</name>
+        <price>65.99</price>
+    </toy>
+    <toy>
+        <name>Lego-Model2</name>
+        <price>69.99</price>
+    </toy>
+    <toy>
+        <name>Lego-Model3</name>
+        <price>14.99</price>
+    </toy>
+    <toy>
+        <name>Barbie-Pink</name>
+        <price>12.99</price>
+    </toy>
+    <toy>
+        <name>Barbie-Blue</name>
+        <price>13.99</price>
+    </toy>        
+    <toy>
+        <name>Barbie-White</name>
+        <price>13.99</price>
+    </toy>   
+    <toy>
+        <name>Barbie-Plain</name>
+        <price>13.99</price>
+    </toy>           
+</toys>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/toys.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+  <xs:element name="toys">
+     <xs:complexType>
+       <xs:sequence>
+         <xs:element name="toy" maxOccurs="200">
+           <xs:complexType>
+             <xs:sequence>
+               <xs:element name="name" type="xs:string" minOccurs="0"/>
+               <xs:element name="price" type="xs:string" minOccurs="0"/>
+             </xs:sequence>
+          </xs:complexType>  
+        </xs:element>
+      </xs:sequence>
+    </xs:complexType>  
+  </xs:element>
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/toys3002.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+  <xs:element name="toys">
+     <xs:complexType>
+       <xs:sequence>
+         <xs:element name="toy" maxOccurs="3002">
+           <xs:complexType>
+             <xs:sequence>
+               <xs:element name="name" type="xs:string" minOccurs="0"/>
+               <xs:element name="price" type="xs:string" minOccurs="0"/>
+             </xs:sequence>
+          </xs:complexType>  
+        </xs:element>
+      </xs:sequence>
+    </xs:complexType>  
+  </xs:element>
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/xinclude/Bug6794483Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,103 @@
+/*
+ * 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 parsers.xinclude;
+
+import static java.lang.System.lineSeparator;
+import static org.testng.Assert.assertEquals;
+
+import java.io.File;
+import java.io.StringWriter;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.transform.OutputKeys;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamResult;
+
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.NodeList;
+
+/*
+ * @bug 6794483 8080908
+ * @summary Test JAXP parser can resolve the included content properly if the
+ * included xml contains an empty tag that ends with "/>", refer to XERCESJ-1134.
+ */
+public class Bug6794483Test {
+
+    @Test
+    public final void test() throws Exception {
+        Document doc = parseXmlFile(getClass().getResource("test1.xml").getPath());
+
+        // check node4
+        NodeList nodeList = doc.getElementsByTagName("node4");
+        assertEquals(nodeList.getLength(), 1);
+        assertEquals(nodeList.item(0).getTextContent(), "Node4 Value", "The data of node4 is missed in parsing: " + lineSeparator() + printXmlDoc(doc));
+
+        // check node6
+        nodeList = doc.getElementsByTagName("node6");
+        assertEquals(nodeList.getLength(), 1);
+        assertEquals(nodeList.item(0).getTextContent(), "Node6 Value", "The data of node6 is missed in parsing: " + lineSeparator() + printXmlDoc(doc));
+    }
+
+    public String printXmlDoc(Document doc) throws Exception {
+        StringWriter sw = new StringWriter();
+        StreamResult result = new StreamResult(sw);
+
+        TransformerFactory transformerFact = TransformerFactory.newInstance();
+        transformerFact.setAttribute("indent-number", new Integer(4));
+        Transformer transformer;
+
+        transformer = transformerFact.newTransformer();
+        transformer.setOutputProperty(OutputKeys.INDENT, "yes");
+        transformer.setOutputProperty(OutputKeys.METHOD, "xml");
+        transformer.setOutputProperty(OutputKeys.MEDIA_TYPE, "text/xml");
+
+        transformer.transform(new DOMSource(doc), result);
+        return sw.toString();
+    }
+
+    public Document parseXmlFile(String fileName) throws Exception {
+        System.out.println("Parsing XML file... " + fileName);
+        DocumentBuilder docBuilder = null;
+        Document doc = null;
+        DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
+        docBuilderFactory.setCoalescing(true);
+        docBuilderFactory.setXIncludeAware(true);
+        System.out.println("Include: " + docBuilderFactory.isXIncludeAware());
+        docBuilderFactory.setNamespaceAware(true);
+        docBuilderFactory.setExpandEntityReferences(true);
+
+        docBuilder = docBuilderFactory.newDocumentBuilder();
+
+        File sourceFile = new File(fileName);
+        doc = docBuilder.parse(sourceFile);
+
+        System.out.println("XML file parsed");
+        return doc;
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/xinclude/test1.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<scenario xsi:noNamespaceSchemaLocation="..\xsd\Scenario.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xi="http://www.w3.org/2001/XInclude">
+
+<!-- Configuration data for Device-->
+<Device>
+<xi:include href="test2.xml" xpointer="element(/1/1)" parse="xml"/>
+</Device>
+
+</scenario>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/parsers/xinclude/test2.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,12 @@
+<test2>
+<N1>
+<node1>Node1 Value</node1>
+<node2>Node2 Value</node2>
+<node3/>
+<node4>Node4 Value</node4>
+<node5>
+<node6>Node6 Value</node6>
+</node5>
+</N1>
+</test2>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/sax/Attributes2ImplTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,149 @@
+/*
+ * 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 sax;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.ext.Attributes2Impl;
+
+/*
+ * @summary Test Attributes2Impl.
+ */
+public class Attributes2ImplTest {
+
+    @Test
+    public void test01() {
+        System.out.println("===in test01()===");
+        Attributes2Impl impl = new Attributes2Impl();
+        impl.addAttribute("http://www.cars.com/xml", "attr1", "Qname1", "type", "value");
+        impl.addAttribute("http://www.cars.com/xml", "attr2", "Qname2", "type", "value");
+        impl.addAttribute("http://www.cars.com/xml", "attr3", "Qname3", "type", "value");
+
+        Assert.assertTrue(impl.isDeclared(0));
+        impl.setDeclared(0, false);
+        Assert.assertFalse(impl.isDeclared(0));
+
+        Assert.assertTrue(impl.isDeclared("Qname2"));
+        impl.setDeclared(1, false);
+        Assert.assertFalse(impl.isDeclared("Qname2"));
+
+        Assert.assertTrue(impl.isDeclared("http://www.cars.com/xml", "attr3"));
+        impl.setDeclared(2, false);
+        Assert.assertFalse(impl.isDeclared(2));
+
+        try {
+            impl.isDeclared(3);
+        } catch (ArrayIndexOutOfBoundsException e) {
+            System.out.println("Expected ArrayIndexOutOfBoundsException");
+        }
+
+        try {
+            impl.isDeclared("wrongQname");
+        } catch (IllegalArgumentException e) {
+            System.out.println("Expected IllegalArgumentException");
+        }
+
+        try {
+            impl.isDeclared("http://www.cars.com/xml", "attr4");
+        } catch (IllegalArgumentException e) {
+            System.out.println("Expected IllegalArgumentException");
+        }
+
+        impl.removeAttribute(2);
+        try {
+            impl.isDeclared(2);
+        } catch (ArrayIndexOutOfBoundsException e) {
+            System.out.println("Expected ArrayIndexOutOfBoundsException on index=2 after removing");
+        }
+    }
+
+    @Test
+    public void test02() {
+        System.out.println("===in test02()===");
+        Attributes2Impl impl = new Attributes2Impl();
+        impl.addAttribute("http://www.cars.com/xml", "attr1", "Qname1", "type", "value");
+        impl.addAttribute("http://www.cars.com/xml", "attr2", "Qname2", "type", "value");
+        impl.addAttribute("http://www.cars.com/xml", "attr3", "Qname3", "type", "value");
+
+        Assert.assertTrue(impl.isSpecified(0));
+        impl.setSpecified(0, false);
+        Assert.assertFalse(impl.isSpecified(0));
+
+        Assert.assertTrue(impl.isSpecified("Qname2"));
+        impl.setSpecified(1, false);
+        Assert.assertFalse(impl.isSpecified("Qname2"));
+
+        Assert.assertTrue(impl.isSpecified("http://www.cars.com/xml", "attr3"));
+        impl.setSpecified(2, false);
+        Assert.assertFalse(impl.isSpecified(2));
+
+        try {
+            impl.isSpecified(3);
+        } catch (ArrayIndexOutOfBoundsException e) {
+            System.out.println("Expected ArrayIndexOutOfBoundsException");
+        }
+
+        try {
+            impl.isSpecified("wrongQname");
+        } catch (IllegalArgumentException e) {
+            System.out.println("Expected IllegalArgumentException");
+        }
+
+        try {
+            impl.isSpecified("http://www.cars.com/xml", "attr4");
+        } catch (IllegalArgumentException e) {
+            System.out.println("Expected IllegalArgumentException");
+        }
+
+        impl.removeAttribute(2);
+        try {
+            impl.isSpecified(2);
+        } catch (ArrayIndexOutOfBoundsException e) {
+            System.out.println("Expected ArrayIndexOutOfBoundsException on index=2 after removing");
+        }
+    }
+
+    @Test
+    public void test03() {
+        System.out.println("===in test03()===");
+        Attributes2Impl impl1 = new Attributes2Impl();
+        impl1.addAttribute("http://www.cars.com/xml", "attr1", "Qname1", "type", "value");
+        impl1.addAttribute("http://www.cars.com/xml", "attr2", "Qname2", "type", "value");
+        impl1.addAttribute("http://www.cars.com/xml", "attr3", "Qname3", "type", "value");
+
+        Attributes2Impl impl2 = new Attributes2Impl(impl1);
+
+        Attributes2Impl impl3 = new Attributes2Impl();
+        impl3.setAttributes(impl1);
+
+        Assert.assertTrue(impl1.getQName(0).equals(impl2.getQName(0)));
+        Assert.assertTrue(impl1.getQName(0).equals(impl3.getQName(0)));
+
+        Assert.assertTrue(impl1.getQName(1).equals(impl2.getQName(1)));
+        Assert.assertTrue(impl1.getQName(1).equals(impl3.getQName(1)));
+
+        Assert.assertTrue(impl1.getQName(2).equals(impl2.getQName(2)));
+        Assert.assertTrue(impl1.getQName(2).equals(impl3.getQName(2)));
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/sax/Bug6889654Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,83 @@
+/*
+ * 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 sax;
+
+import java.io.IOException;
+import java.io.StringReader;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 6889654
+ * @summary Test SAXException includes whole information.
+ */
+public class Bug6889654Test {
+
+    final String MSG = "Failed to parse XML";
+
+    @Test
+    public void testException() {
+        try {
+            parse();
+        } catch (SAXException e) {
+            // e.printStackTrace();
+            String msg = e.toString();
+            if (msg.indexOf("systemId") == -1) {
+                Assert.fail("CR6889654 -- details should be returned.");
+            }
+            if (msg.indexOf(MSG) == -1) {
+                Assert.fail("CR6889649 -- additional error message not returned.");
+            }
+            System.out.println("error message:\n" + msg);
+        }
+    }
+
+    void parse() throws SAXException {
+        String xml = "<data>\n<broken/>\u0000</data>";
+
+        try {
+            InputSource is = new InputSource(new StringReader(xml));
+            is.setSystemId("file:///path/to/some.xml");
+            // notice that exception thrown here doesn't include the line number
+            // information when reported by JVM -- CR6889654
+            SAXParserFactory.newInstance().newSAXParser().parse(is, new DefaultHandler());
+        } catch (SAXException e) {
+            // notice that this message isn't getting displayed -- CR6889649
+            throw new SAXException(MSG, e);
+        } catch (ParserConfigurationException pce) {
+
+        } catch (IOException ioe) {
+
+        }
+
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/sax/Bug6925410Test.java	Mon Aug 17 11:18:31 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 sax;
+
+import javax.xml.datatype.DatatypeConfigurationException;
+
+import org.testng.annotations.Test;
+import org.testng.Assert;
+import org.xml.sax.helpers.XMLReaderFactory;
+
+/*
+ * @bug 6925410
+ * @summary Test XMLReaderFactory can createXMLReader repeatedly.
+ */
+public class Bug6925410Test {
+
+    @Test
+    public void test() throws DatatypeConfigurationException {
+        try {
+            int times = 100;
+            long start = System.currentTimeMillis();
+            for (int i = 0; i < times; i++) {
+                XMLReaderFactory.createXMLReader();
+            }
+            long end = System.currentTimeMillis();
+            double speed = ((end - start));
+            System.out.println(speed + "ms");
+        } catch (Throwable e) {
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/sax/Bug6949607Test.java	Mon Aug 17 11:18:31 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 sax;
+
+import java.io.ByteArrayInputStream;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.Attributes;
+import org.xml.sax.SAXException;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 6949607
+ * @summary Test Attributes.getValue returns null when parameter uri is empty.
+ */
+public class Bug6949607Test {
+
+    final String MSG = "Failed to parse XML";
+    String textXML = "<prefix:rootElem xmlns:prefix=\"something\" prefix:attr=\"attrValue\" />";
+
+    @Test
+    public void testException() {
+        try {
+            SAXParserFactory factory = SAXParserFactory.newInstance();
+            factory.setNamespaceAware(true);
+            factory.setValidating(true);
+            SAXParser saxParser = factory.newSAXParser();
+
+            saxParser.parse(new ByteArrayInputStream(textXML.getBytes()), new TestFilter());
+
+        } catch (Throwable t) {
+            t.printStackTrace();
+        }
+    }
+
+    class TestFilter extends DefaultHandler {
+        @Override
+        public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException {
+            super.startElement(uri, localName, qName, atts);
+
+            String attr_WithNs = atts.getValue("something", "attr");
+            String attr_NoNs = atts.getValue("", "attr");
+
+            System.out.println("withNs: " + attr_WithNs);
+            System.out.println("NoNs: " + attr_NoNs);
+
+            Assert.assertTrue(attr_NoNs == null, "Should return null when uri is empty.");
+
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/sax/Bug6992561Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,82 @@
+/*
+ * 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 sax;
+
+import java.io.ByteArrayInputStream;
+import java.io.IOException;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.ContentHandler;
+import org.xml.sax.InputSource;
+import org.xml.sax.Locator;
+import org.xml.sax.SAXException;
+import org.xml.sax.XMLReader;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 6992561
+ * @summary Test encoding of SystemId in Locator.
+ */
+public class Bug6992561Test {
+
+    @Test
+    public void test() {
+        ContentHandler handler = new DefaultHandler() {
+            public void setDocumentLocator(Locator locator) {
+                String sysId = locator.getSystemId();
+                System.out.println(locator.getSystemId());
+                if (sysId.indexOf("%7") > 0) {
+                    Assert.fail("the original system id should be left as is and not encoded.");
+                }
+            }
+        };
+
+        SAXParserFactory spf = SAXParserFactory.newInstance();
+        SAXParser parser;
+        try {
+            parser = spf.newSAXParser();
+
+            XMLReader reader = parser.getXMLReader();
+            reader.setContentHandler(handler);
+            String xml = "<test>abc</test>";
+            ByteArrayInputStream bis = new ByteArrayInputStream(xml.getBytes());
+            InputSource is = new InputSource("file:/home2/ramapulavarthi/w/bugs/jaxws861/foo~bla/test/src/wsdl/HelloTypes.xsd");
+            is.setByteStream(bis);
+            reader.parse(is);
+
+        } catch (ParserConfigurationException ex) {
+            Assert.fail(ex.toString());
+        } catch (SAXException ex) {
+            Assert.fail(ex.toString());
+        } catch (IOException ex) {
+            Assert.fail(ex.toString());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/sax/Bug7057778.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,3 @@
+
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/sax/Bug7057778Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,189 @@
+/*
+ * 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 sax;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.io.OutputStreamWriter;
+import java.io.UnsupportedEncodingException;
+import java.io.Writer;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.annotations.Test;
+import org.testng.Assert;
+import org.xml.sax.Attributes;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+import org.xml.sax.XMLReader;
+import org.xml.sax.ext.DefaultHandler2;
+
+/*
+ * @bug 7057778
+ * @summary Test the file can be deleted after SAXParser.parse(File, DefaultHandler).
+ */
+public class Bug7057778Test {
+
+    static final String xml = "Bug7057778.xml";
+    static final String xml1 = "Bug7057778_1.xml";
+
+    @Test
+    public void testParse() {
+        File src = new File(getClass().getResource(xml).getFile());
+        File dst = new File(src.getParent() + File.separator + xml1);
+        try {
+            copyFile(src, dst);
+            SAXParserFactory spf = SAXParserFactory.newInstance();
+            SAXParser parser = spf.newSAXParser();
+            XMLReader xmlReader = parser.getXMLReader();
+            xmlReader.setProperty("http://xml.org/sax/properties/lexical-handler", new MyHandler1());
+            parser.parse(dst, new MyHandler1());
+        } catch (SAXException ex) {
+            ex.printStackTrace();
+        } catch (IOException ex) {
+            // shouldn't happen
+        } catch (ParserConfigurationException ex) {
+            // shouldn't happen
+        }
+        if (dst != null) {
+            if (dst.delete()) {
+                System.out.println("Delete: OK");
+            } else {
+                System.out.println("Delete: NG");
+                Assert.fail("Error: denied to delete the file");
+            }
+        }
+
+    }
+
+    private void copyFile(File src, File dst) throws FileNotFoundException, IOException {
+        InputStream in = new FileInputStream(src);
+        OutputStream out = new FileOutputStream(dst);
+        // Transfer bytes
+        byte[] buf = new byte[1024];
+        int len;
+        while ((len = in.read(buf)) > 0) {
+            out.write(buf, 0, len);
+        }
+        in.close();
+        out.close();
+    }
+
+    public class MyHandler1 extends DefaultHandler2 implements ErrorHandler {
+        private Writer out;
+
+        StringBuffer textBuffer;
+        private String indentString = "    "; // Amount to indent
+        private int indentLevel = 0;
+
+        public MyHandler1() {
+            try {
+                out = new OutputStreamWriter(System.out, "UTF8");
+            } catch (UnsupportedEncodingException ex) {
+                ex.printStackTrace();
+            }
+        }
+
+        public void startDocument() throws SAXException {
+        }
+
+        public void endDocument() throws SAXException {
+        }
+
+        public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
+            try {
+                System.out.println("uri: " + uri);
+                System.out.println("localName: " + localName);
+                System.out.println("qName: " + qName);
+            } catch (Exception e) {
+                throw new SAXException(e);
+            }
+
+        }
+
+        public void endElement(String uri, String localName, String qName) throws SAXException {
+        }
+
+        public void characters(char ch[], int start, int length) throws SAXException {
+        }
+
+        public void comment(char[] ch, int start, int length) {
+            String text = new String(ch, start, length);
+            // System.out.println(text);
+            try {
+                nl();
+                emit("COMMENT: " + text);
+            } catch (Exception e) {
+                e.printStackTrace();
+            }
+        }
+
+        public void error(SAXParseException exception) {
+            exception.printStackTrace();
+        }
+
+        public void fatalError(SAXParseException exception) {
+            exception.printStackTrace();
+        }
+
+        public void warning(SAXParseException exception) {
+            exception.printStackTrace();
+        }
+
+        // Wrap I/O exceptions in SAX exceptions, to
+        // suit handler signature requirements
+        private void emit(String s) throws SAXException {
+            try {
+                out.write(s);
+                out.flush();
+            } catch (IOException e) {
+                throw new SAXException("I/O error", e);
+            }
+        }
+
+        // Start a new line
+        // and indent the next line appropriately
+        private void nl() throws SAXException {
+            String lineEnd = System.getProperty("line.separator");
+
+            try {
+                out.write(lineEnd);
+
+                for (int i = 0; i < indentLevel; i++)
+                    out.write(indentString);
+            } catch (IOException e) {
+                throw new SAXException("I/O error", e);
+            }
+        }
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/sax/DefaultHandler2Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,247 @@
+/*
+ * 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 sax;
+
+import java.io.IOException;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.Assert;
+import org.testng.AssertJUnit;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXNotRecognizedException;
+import org.xml.sax.XMLReader;
+import org.xml.sax.ext.DefaultHandler2;
+import org.xml.sax.helpers.DefaultHandler;
+import org.xml.sax.helpers.ParserAdapter;
+import org.xml.sax.helpers.XMLFilterImpl;
+import org.xml.sax.helpers.XMLReaderFactory;
+
+/*
+ * @summary Test DefaultHandler2.
+ */
+public class DefaultHandler2Test {
+
+    @Test
+    public void testParse01() {
+        System.out.println("===in testParse01===");
+        try {
+            DefaultHandler handler = new MyDefaultHandler2();
+            SAXParserFactory saxFac = SAXParserFactory.newInstance();
+            System.out.println(saxFac.getFeature("http://xml.org/sax/features/use-locator2"));
+
+            // set use-entity-resolver2 as FALSE to use EntityResolver firstly.
+            saxFac.setFeature("http://xml.org/sax/features/use-entity-resolver2", false);
+            saxFac.setValidating(true);
+
+            SAXParser parser = saxFac.newSAXParser();
+            parser.setProperty("http://xml.org/sax/properties/lexical-handler", handler);
+            parser.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
+
+            parser.parse(this.getClass().getResource("toys.xml").getFile(), handler);
+        } catch (ParserConfigurationException e) {
+            e.printStackTrace();
+            Assert.fail("ParserConfigurationException in testParse01()");
+        } catch (SAXException e) {
+            e.printStackTrace();
+            Assert.fail("SAXException in testParse01()");
+        } catch (IOException e) {
+            e.printStackTrace();
+            Assert.fail("IOException in testParse01()");
+        }
+    }
+
+    @Test
+    public void testParse02() {
+        System.out.println("===in testParse02===");
+        try {
+            DefaultHandler handler = new MyDefaultHandler2();
+            SAXParserFactory saxFac = SAXParserFactory.newInstance();
+            System.out.println(saxFac.getFeature("http://xml.org/sax/features/use-locator2"));
+
+            // Enable namespace parsing
+            System.out.println(saxFac.getFeature("http://xml.org/sax/features/namespaces"));
+            saxFac.setNamespaceAware(true);
+
+            saxFac.setValidating(true);
+            SAXParser parser = saxFac.newSAXParser();
+            parser.setProperty("http://xml.org/sax/properties/lexical-handler", handler);
+            parser.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
+
+            parser.parse(this.getClass().getResource("toys.xml").getFile(), handler);
+        } catch (ParserConfigurationException e) {
+            e.printStackTrace();
+            Assert.fail("ParserConfigurationException in testParse02()");
+        } catch (SAXException e) {
+            e.printStackTrace();
+            Assert.fail("SAXException in testParse02()");
+        } catch (IOException e) {
+            e.printStackTrace();
+            Assert.fail("IOException in testParse02()");
+        }
+    }
+
+    @Test
+    public void testParse03() {
+        System.out.println("===in testParse03===");
+        try {
+            DefaultHandler handler = new MyDefaultHandler2();
+
+            XMLReader xmlReader = XMLReaderFactory.createXMLReader();
+            xmlReader.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
+            System.out.println("XMLReader : " + xmlReader.getProperty("http://xml.org/sax/properties/declaration-handler"));
+
+            SAXParserFactory saxFac = SAXParserFactory.newInstance();
+            SAXParser parser = saxFac.newSAXParser();
+            parser.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
+            System.out.println("SAXParser : " + parser.getProperty("http://xml.org/sax/properties/declaration-handler"));
+
+            // From https://docs.oracle.com/javase/7/docs/api,
+            // ParserAdapter.setProperty() and ParserAdapter.getProperty() does
+            // not support any property currently.
+            try {
+                ParserAdapter adapter = new ParserAdapter(parser.getParser());
+                System.out.println("ParserAdapter : " + adapter.getProperty("http://xml.org/sax/properties/declaration-handler"));
+            } catch (SAXNotRecognizedException e) {
+                System.out.println("Expected  SAXNotRecognizedException since ParserAdapter.getProperty() does not support any property currently");
+            }
+            try {
+                ParserAdapter adapter = new ParserAdapter(parser.getParser());
+                adapter.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
+            } catch (SAXNotRecognizedException e) {
+                System.out.println("Expected  SAXNotRecognizedException since ParserAdapter.setProperty() does not support any property currently");
+            }
+        } catch (SAXException e) {
+            e.printStackTrace();
+            Assert.fail("SAXException in testParse03()");
+        } catch (ParserConfigurationException e) {
+            e.printStackTrace();
+            Assert.fail("ParserConfigurationException in testParse03()");
+        }
+
+    }
+
+    @Test
+    public void testParse04() {
+        System.out.println("===in testParse04===");
+        try {
+            DefaultHandler handler = new MyDefaultHandler2();
+            XMLReader xmlReader = XMLReaderFactory.createXMLReader();
+            System.out.println(xmlReader.getFeature("http://xml.org/sax/features/namespaces"));
+            xmlReader.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
+            xmlReader.setProperty("http://xml.org/sax/properties/lexical-handler", handler);
+            xmlReader.setContentHandler(handler);
+
+            xmlReader.parse(this.getClass().getResource("toys.xml").getFile());
+
+        } catch (SAXException e) {
+            e.printStackTrace();
+            Assert.fail("SAXException in testParse04()");
+        } catch (IOException e) {
+            e.printStackTrace();
+            Assert.fail("IOException in testParse04()");
+        }
+    }
+
+    @Test
+    public void testParse05() {
+        System.out.println("===in testParse05===");
+        try {
+            DefaultHandler handler = new MyDefaultHandler2();
+            XMLReader xmlReader = XMLReaderFactory.createXMLReader();
+            XMLFilterImpl filterImpl = new XMLFilterImpl(xmlReader);
+            System.out.println(xmlReader.getFeature("http://xml.org/sax/features/namespaces"));
+            filterImpl.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
+            filterImpl.setProperty("http://xml.org/sax/properties/lexical-handler", handler);
+            filterImpl.setContentHandler(handler);
+
+            filterImpl.parse(this.getClass().getResource("toys.xml").getFile());
+
+        } catch (SAXException e) {
+            e.printStackTrace();
+            Assert.fail("SAXException in testParse05()");
+        } catch (IOException e) {
+            e.printStackTrace();
+            Assert.fail("IOException in testParse05()");
+        }
+    }
+
+    @Test
+    public void testParse06() {
+        System.out.println("===in testParse06===");
+        try {
+            DefaultHandler handler = new MyDefaultHandler2();
+            XMLReader xmlReader = XMLReaderFactory.createXMLReader();
+            XMLFilterImpl filterImpl = new XMLFilterImpl(xmlReader);
+            System.out.println(xmlReader.getFeature("http://xml.org/sax/features/namespaces"));
+            filterImpl.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
+            filterImpl.setProperty("http://xml.org/sax/properties/lexical-handler", handler);
+            filterImpl.setContentHandler(handler);
+
+            AssertJUnit.assertTrue(filterImpl.getProperty("http://xml.org/sax/properties/declaration-handler") instanceof DefaultHandler2);
+
+            // filterImpl.setFeature("http://xml.org/sax/features/external-general-entities",
+            // false) ;
+            // filterImpl.setFeature("http://xml.org/sax/features/external-parameter-entities",
+            // false) ;
+            filterImpl.skippedEntity("name2");
+
+            filterImpl.parse(this.getClass().getResource("toys.xml").getFile());
+        } catch (SAXException e) {
+            e.printStackTrace();
+            Assert.fail("SAXException in testParse06()");
+        } catch (IOException e) {
+            e.printStackTrace();
+            Assert.fail("IOException in testParse06()");
+        }
+    }
+
+    @Test
+    public void testParse07() {
+        System.out.println("===in testParse07===");
+        try {
+            DefaultHandler handler = new MyDefaultHandler2();
+            XMLReader xmlReader = XMLReaderFactory.createXMLReader();
+            XMLFilterImpl filterImpl = new XMLFilterImpl(xmlReader);
+            System.out.println(xmlReader.getFeature("http://xml.org/sax/features/namespaces"));
+            filterImpl.setProperty("http://xml.org/sax/properties/declaration-handler", handler);
+            filterImpl.setProperty("http://xml.org/sax/properties/lexical-handler", handler);
+            filterImpl.setContentHandler(handler);
+            filterImpl.setErrorHandler(handler);
+            AssertJUnit.assertTrue(filterImpl.getProperty("http://xml.org/sax/properties/declaration-handler") instanceof DefaultHandler2);
+
+            filterImpl.setFeature("http://apache.org/xml/features/continue-after-fatal-error", true);
+            filterImpl.parse(this.getClass().getResource("toys_error.xml").getFile());
+        } catch (SAXException e) {
+            e.printStackTrace();
+            Assert.fail("SAXException in testParse07()");
+        } catch (IOException e) {
+            e.printStackTrace();
+            Assert.fail("IOException in testParse07()");
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/sax/IssueTracker56Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,138 @@
+/*
+ * 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 sax;
+
+import java.io.IOException;
+import java.io.StringReader;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.Attributes;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 6809409
+ * @summary Test SAXException has Cause.
+ */
+public class IssueTracker56Test {
+
+    @Test
+    public void testException() {
+        try {
+            SAXParserFactory spf = SAXParserFactory.newInstance();
+            SAXParser parser = spf.newSAXParser();
+            String xmlToParse = "<root>Issue 56: SAXException does not do the exception chaining properly</root>";
+            InputSource source = new InputSource(new StringReader(xmlToParse));
+            parser.parse(source, new MyHandler());
+        } catch (SAXException ex) {
+            System.out.println(ex.getCause());
+            if (ex.getCause() == null)
+                Assert.fail("failed chaining exception properly.");
+            // ex.printStackTrace(); //will not print out root cause without the
+            // fix
+        } catch (IOException ex) {
+            // shouldn't happen
+        } catch (ParserConfigurationException ex) {
+            // shouldn't happen
+        }
+    }
+
+    @Test
+    public void testWorkAround() throws Exception {
+        try {
+            SAXParserFactory spf = SAXParserFactory.newInstance();
+            SAXParser parser = spf.newSAXParser();
+            String xmlToParse = "<root>Issue 56: SAXException does not do the exception chaining properly</root>";
+            InputSource source = new InputSource(new StringReader(xmlToParse));
+            parser.parse(source, new MyHandler1());
+        } catch (SAXException ex) {
+            System.out.println(ex.getCause());
+            // ex.printStackTrace(); //will print out root cause
+        } catch (IOException ex) {
+            // shouldn't happen
+        } catch (ParserConfigurationException ex) {
+            // shouldn't happen
+        }
+
+    }
+
+    public class MyHandler extends DefaultHandler implements ErrorHandler {
+
+        public void startDocument() throws SAXException {
+        }
+
+        public void endDocument() throws SAXException {
+        }
+
+        public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
+            try {
+                System.out.println(uri);
+                System.out.println(uri.charAt(56));
+            } catch (Exception e) {
+                throw new SAXException(e);
+            }
+
+        }
+
+        public void endElement(String uri, String localName, String qName) throws SAXException {
+        }
+
+        public void characters(char ch[], int start, int length) throws SAXException {
+        }
+
+    }
+
+    public class MyHandler1 extends DefaultHandler implements ErrorHandler {
+
+        public void startDocument() throws SAXException {
+        }
+
+        public void endDocument() throws SAXException {
+        }
+
+        public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXExceptionExt {
+            try {
+                System.out.println(uri);
+                System.out.println(uri.charAt(56));
+            } catch (Exception e) {
+                throw new SAXExceptionExt(e);
+            }
+
+        }
+
+        public void endElement(String uri, String localName, String qName) throws SAXException {
+        }
+
+        public void characters(char ch[], int start, int length) throws SAXException {
+        }
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/sax/MyDefaultHandler2.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,200 @@
+/*
+ * 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 sax;
+
+import java.io.IOException;
+
+import org.xml.sax.Attributes;
+import org.xml.sax.InputSource;
+import org.xml.sax.Locator;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+import org.xml.sax.ext.Attributes2Impl;
+import org.xml.sax.ext.DefaultHandler2;
+import org.xml.sax.ext.Locator2;
+import org.xml.sax.ext.Locator2Impl;
+import org.xml.sax.helpers.XMLFilterImpl;
+import org.xml.sax.helpers.XMLReaderAdapter;
+
+public class MyDefaultHandler2 extends DefaultHandler2 {
+    Locator2Impl locator = new Locator2Impl();
+    StringBuffer currentValue = new StringBuffer();
+    String version = "customVersion";
+    String encoding = "customEncoding";
+
+    public void setDocumentLocator(Locator locator) {
+        this.locator = new Locator2Impl((Locator2) locator);
+        this.locator.setXMLVersion(version);
+        this.locator.setEncoding(encoding);
+    }
+
+    public void startDocument() throws SAXException {
+        super.startDocument();
+        System.out.println("startDocument() is invoked");
+        System.out.println(locator.getXMLVersion());
+        System.out.println(locator.getEncoding());
+    }
+
+    public void attributeDecl(String ename, String aname, String type, String mode, String value) throws SAXException {
+        super.attributeDecl(ename, aname, type, mode, value);
+        System.out.println("attributeDecl() is invoked for attr :" + aname);
+    }
+
+    public void elementDecl(String name, String model) throws SAXException {
+        super.elementDecl(name, model);
+        System.out.println("elementDecl() is invoked for element : " + name);
+    }
+
+    public void internalEntityDecl(String name, String value) throws SAXException {
+        super.internalEntityDecl(name, value);
+        System.out.println("internalEntityDecl() is invoked for entity : " + name);
+    }
+
+    public void externalEntityDecl(String name, String publicId, String systemId) throws SAXException {
+        super.externalEntityDecl(name, publicId, systemId);
+        System.out.println("externalEntityDecl() is invoked for entity : " + name);
+    }
+
+    public void comment(char[] ch, int start, int length) throws SAXException {
+        super.comment(ch, start, length);
+        System.out.println(new String(ch, start, length));
+    }
+
+    public void endDocument() throws SAXException {
+        super.endDocument();
+        System.out.println("\nendDocument() is invoked");
+    }
+
+    public void startCDATA() throws SAXException {
+        super.startCDATA();
+        System.out.println("startCDATA() is invoked");
+    }
+
+    public void endCDATA() throws SAXException {
+        super.endCDATA();
+        System.out.println("endCDATA() is invoked");
+    }
+
+    public void startEntity(String name) throws SAXException {
+        super.startEntity(name);
+        // System.out.println("startEntity() is invoked for entity : " + name) ;
+    }
+
+    public void endEntity(String name) throws SAXException {
+        super.endEntity(name);
+        // System.out.println("endEntity() is invoked for entity : " + name) ;
+    }
+
+    public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
+        super.startElement(uri, localName, qName, attributes);
+        if (qName.equals("toy")) {
+            Attributes2Impl impl = new Attributes2Impl();
+            impl.setAttributes(attributes);
+            System.out.println("\ntoy id=" + impl.getValue("id"));
+        } else if (qName.equals("price") || qName.equals("name")) {
+            System.out.print("       " + qName + " : ");
+            currentValue = new StringBuffer();
+        }
+    }
+
+    public void endElement(String uri, String localName, String qName) throws SAXException {
+        super.endElement(uri, localName, qName);
+        if (qName.equals("price") || qName.equals("name")) {
+            System.out.print(currentValue.toString());
+        }
+    }
+
+    public void startDTD(String name, String publicId, String systemId) throws SAXException {
+        super.startDTD(name, publicId, systemId);
+        System.out.println("startDTD() is invoked");
+    }
+
+    public void endDTD() throws SAXException {
+        super.endDTD();
+        System.out.println("endDTD() is invoked");
+    }
+
+    public void characters(char[] ch, int start, int length) {
+        // System.out.println(start + " " + length) ;
+        currentValue.append(ch, start, length);
+    }
+
+    public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException {
+        System.out.println("resolveEntity(publicId, systemId) is invoked");
+        return super.resolveEntity(publicId, systemId);
+    }
+
+    public InputSource resolveEntity(String name, String publicId, String baseURI, String systemId) throws SAXException, IOException {
+        System.out.println("resolveEntity(name, publicId, baseURI, systemId) is invoked");
+        return super.resolveEntity(name, publicId, baseURI, systemId);
+    }
+
+    public InputSource getExternalSubset(String name, String baseURI) throws SAXException, IOException {
+        System.out.println("getExternalSubset() is invoked");
+        return super.getExternalSubset(name, baseURI);
+    }
+
+    public void startPrefixMapping(String prefix, String uri) {
+        System.out.println("startPrefixMapping() is invoked for " + prefix + " : " + uri);
+        try {
+            new XMLReaderAdapter().startPrefixMapping(prefix, uri);
+        } catch (SAXException e) {
+            e.printStackTrace();
+        }
+    }
+
+    public void endPrefixMapping(String prefix) {
+        System.out.println("\nendPrefixMapping() is invoked for " + prefix);
+        try {
+            new XMLReaderAdapter().endPrefixMapping(prefix);
+        } catch (SAXException e) {
+            e.printStackTrace();
+        }
+    }
+
+    public void skippedEntity(String name) {
+        try {
+            System.out.println("skippedEntity() is invoked for : " + name);
+            new XMLReaderAdapter().skippedEntity(name);
+        } catch (SAXException e) {
+            e.printStackTrace();
+        }
+    }
+
+    public void error(SAXParseException e) throws SAXException {
+        System.out.println("error() is invoked for in ErrorHandler");
+        new XMLFilterImpl().warning(e);
+    }
+
+    public void fatalError(SAXParseException e) throws SAXException {
+        System.out.println("fatalError() is invoked for in ErrorHandler");
+        new XMLFilterImpl().warning(e);
+    }
+
+    public void warning(SAXParseException e) throws SAXException {
+        System.out.println("warning() is invoked for in ErrorHandler");
+        new XMLFilterImpl().warning(e);
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/sax/NSSupportTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,228 @@
+/*
+ * 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 sax;
+
+import java.util.Enumeration;
+
+import org.testng.Assert;
+import org.testng.AssertJUnit;
+import org.testng.annotations.Test;
+import org.xml.sax.helpers.NamespaceSupport;
+
+/*
+ * @summary Test NamespaceSupport.
+ */
+public class NSSupportTest {
+
+    @Test
+    public void testProcessName() {
+        NamespaceSupport nssupport = new NamespaceSupport();
+
+        nssupport.pushContext();
+        nssupport.declarePrefix("", "http://www.java.com");
+        nssupport.declarePrefix("dc", "http://www.purl.org/dc");
+
+        String[] parts = new String[3];
+        nssupport.processName("dc:name1", parts, false);
+        Assert.assertTrue(parts[0].equals("http://www.purl.org/dc"));
+        Assert.assertTrue(parts[1].equals("name1"));
+        Assert.assertTrue(parts[2].equals("dc:name1"));
+
+        nssupport.processName("name2", parts, false);
+        Assert.assertTrue(parts[0].equals("http://www.java.com"));
+        Assert.assertTrue(parts[1].equals("name2"));
+        Assert.assertTrue(parts[2].equals("name2"));
+    }
+
+    @Test
+    public void testNamespaceDeclUris() {
+        String[] parts = new String[3];
+        NamespaceSupport nssupport = new NamespaceSupport();
+
+        nssupport.pushContext();
+        Assert.assertFalse(nssupport.isNamespaceDeclUris());
+        nssupport.declarePrefix("xmlns", "");
+        nssupport.processName("xmlns:name", parts, true);
+        Assert.assertNull(parts[0]);
+        Assert.assertNull(parts[1]);
+        Assert.assertNull(parts[2]);
+
+        nssupport.reset();
+
+        nssupport.setNamespaceDeclUris(true);
+        nssupport.declarePrefix("xmlns", "");
+        nssupport.processName("xmlns:name", parts, true);
+        Assert.assertTrue(parts[0].equals(NamespaceSupport.NSDECL));
+        Assert.assertTrue(parts[1].equals("name"));
+        Assert.assertTrue(parts[2].equals("xmlns:name"));
+
+        nssupport.reset();
+
+        nssupport.setNamespaceDeclUris(true);
+        nssupport.declarePrefix("xml", "");
+        nssupport.processName("xml:name", parts, true);
+        Assert.assertTrue(parts[0].equals(NamespaceSupport.XMLNS));
+        Assert.assertTrue(parts[1].equals("name"));
+        Assert.assertTrue(parts[2].equals("xml:name"));
+
+    }
+
+    @Test
+    public void testPopContext() {
+        String[] parts = new String[3];
+        NamespaceSupport nssupport = new NamespaceSupport();
+
+        nssupport.pushContext();
+        nssupport.declarePrefix("dc", "http://www.purl.org/dc");
+        Assert.assertEquals(nssupport.getPrefix("http://www.purl.org/dc"), "dc");
+
+        nssupport.popContext();
+        Assert.assertNull(nssupport.getPrefix("http://www.purl.org/dc"));
+        nssupport.processName("dc:name1", parts, false);
+        Assert.assertNull(parts[0]);
+        Assert.assertNull(parts[1]);
+        Assert.assertNull(parts[2]);
+    }
+
+    @Test
+    public void testPrefixAndUri1() {
+        boolean hasdc = false;
+        boolean hasdc1 = false;
+        boolean hasdc2 = false;
+        boolean hasdcnew = false;
+        NamespaceSupport nssupport = new NamespaceSupport();
+
+        nssupport.pushContext();
+        nssupport.declarePrefix("dc", "http://www.purl.org/dc");
+
+        nssupport.pushContext();
+        nssupport.declarePrefix("dc1", "http://www.purl.org/dc");
+        nssupport.declarePrefix("dc2", "http://www.purl.org/dc2");
+        nssupport.declarePrefix("dcnew", "http://www.purl.org/dcnew");
+
+        Enumeration enu1 = nssupport.getDeclaredPrefixes();
+        while (enu1.hasMoreElements()) {
+            String str = (String) enu1.nextElement();
+            if (str.equals("dc")) {
+                hasdc = true;
+            } else if (str.equals("dc1")) {
+                hasdc1 = true;
+            } else if (str.equals("dc2")) {
+                hasdc2 = true;
+            } else if (str.equals("dcnew")) {
+                hasdcnew = true;
+            }
+        }
+        AssertJUnit.assertTrue(hasdcnew && hasdc1 && hasdc2);
+        AssertJUnit.assertFalse(hasdc);
+    }
+
+    @Test
+    public void testPrefixAndUri2() {
+        boolean hasdc = false;
+        boolean hasdc1 = false;
+        boolean hasdc2 = false;
+        boolean hasdcnew = false;
+        NamespaceSupport nssupport = new NamespaceSupport();
+
+        nssupport.pushContext();
+        nssupport.declarePrefix("dc", "http://www.purl.org/dc");
+
+        nssupport.pushContext();
+        nssupport.declarePrefix("dc1", "http://www.purl.org/dc");
+        nssupport.declarePrefix("dc2", "http://www.purl.org/dc2");
+        nssupport.declarePrefix("dcnew", "http://www.purl.org/dcnew");
+
+        Enumeration enu1 = nssupport.getPrefixes();
+        while (enu1.hasMoreElements()) {
+            String str = (String) enu1.nextElement();
+            if (str.equals("dc")) {
+                hasdc = true;
+            } else if (str.equals("dc1")) {
+                hasdc1 = true;
+            } else if (str.equals("dc2")) {
+                hasdc2 = true;
+            } else if (str.equals("dcnew")) {
+                hasdcnew = true;
+            }
+        }
+        AssertJUnit.assertTrue(hasdcnew && hasdc1 && hasdc2 && hasdc);
+    }
+
+    @Test
+    public void testPrefixAndUri3() {
+        boolean hasdc = false;
+        boolean hasdc1 = false;
+        boolean hasdc2 = false;
+        boolean hasdcnew = false;
+        NamespaceSupport nssupport = new NamespaceSupport();
+
+        nssupport.pushContext();
+        nssupport.declarePrefix("dc", "http://www.purl.org/dc");
+
+        nssupport.pushContext();
+        nssupport.declarePrefix("dc1", "http://www.purl.org/dc");
+        nssupport.declarePrefix("dc2", "http://www.purl.org/dc2");
+        nssupport.declarePrefix("dcnew", "http://www.purl.org/dcnew");
+
+        Enumeration enu1 = nssupport.getPrefixes("http://www.purl.org/dc");
+        while (enu1.hasMoreElements()) {
+            String str = (String) enu1.nextElement();
+            if (str.equals("dc")) {
+                hasdc = true;
+            } else if (str.equals("dc1")) {
+                hasdc1 = true;
+            } else if (str.equals("dc2")) {
+                hasdc2 = true;
+            } else if (str.equals("dcnew")) {
+                hasdcnew = true;
+            }
+        }
+        AssertJUnit.assertTrue(hasdc1 && hasdc);
+        AssertJUnit.assertFalse(hasdc2);
+        AssertJUnit.assertFalse(hasdcnew);
+    }
+
+    @Test
+    public void testPrefixAndUri4() {
+        NamespaceSupport nssupport = new NamespaceSupport();
+
+        nssupport.pushContext();
+        nssupport.declarePrefix("dc", "http://www.purl.org/dc");
+
+        nssupport.pushContext();
+        nssupport.declarePrefix("dc1", "http://www.purl.org/dc");
+        nssupport.declarePrefix("dc2", "http://www.purl.org/dc2");
+        nssupport.declarePrefix("dcnew", "http://www.purl.org/dcnew");
+
+        AssertJUnit.assertTrue(nssupport.getURI("dc").equals("http://www.purl.org/dc"));
+        AssertJUnit.assertTrue(nssupport.getURI("dc1").equals("http://www.purl.org/dc"));
+        AssertJUnit.assertTrue(nssupport.getURI("dc2").equals("http://www.purl.org/dc2"));
+        AssertJUnit.assertTrue(nssupport.getURI("dcnew").equals("http://www.purl.org/dcnew"));
+
+        // Negative test
+        Assert.assertNull(nssupport.getURI("wrong_prefix"));
+        Assert.assertNull(nssupport.getURI(""));
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/sax/SAXExceptionExt.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,40 @@
+/*
+ * 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 sax;
+
+import org.xml.sax.SAXException;
+
+public class SAXExceptionExt extends SAXException {
+    private Exception exception;
+
+    public SAXExceptionExt(Exception e) {
+        super(e);
+        exception = e;
+    }
+
+    public Throwable getCause() {
+        return exception;
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/sax/externalDTD.dtd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,3 @@
+<!ENTITY  name2 "toy2's name">
+<!ELEMENT name (#PCDATA)>
+<!ELEMENT price (#PCDATA)>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/sax/toys.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE toys  [
+<!ENTITY   % external SYSTEM "externalDTD.dtd">
+%external;
+<!ELEMENT toys (toy*)>
+<!ELEMENT toy (name,price)>
+<!ATTLIST toy id CDATA #REQUIRED>
+<!ENTITY name1 "toy1's name">
+]>
+
+
+
+<!--
+    Document   : toys.xml
+    Created on : August 21, 2012
+    Author     : Patrick Zhang
+    Description: Sample test file for org.xml.sax.ext.DefaultHandler2
+-->
+
+<ns1:toys xmlns:ns1="http://ns1.java.com">
+	<![CDATA[<greeting>Hello</greeting>]]>
+    <toy id="1">	
+        <name>&name1;</name>
+        <price>98470</price>
+    </toy>
+    <toy id="2">
+        <name>&name2;</name>
+        <price>345</price>
+    </toy>         
+</ns1:toys>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/sax/toys_error.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE toys  [
+<!ENTITY   % external SYSTEM "externalDTD.dtd">
+%external;
+<!ELEMENT toys (toy*)>
+<!ELEMENT toy (name,price)>
+<!ATTLIST toy id CDATA #REQUIRED>
+<!ENTITY name1 "toy1's name">
+]>
+
+
+
+<!--
+    Document   : toys.xml
+    Created on : August 21, 2012
+    Author     : Patrick Zhang
+    Description: Sample test file for org.xml.sax.ext.DefaultHandler2
+-->
+
+<ns1:toys xmlns:ns1="http://ns1.java.com">
+	<![CDATA[<greeting>Hello</greeting>]]>
+    <toy id="1">	
+        <name>&name1;</name>
+        <price>98470</price>
+    </toy>
+    <toy id="2">
+        <name>&name3;</name>
+        <price>345</price>
+    </toy>         
+</ns1:toys>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/AttributeLocalNameTest/AttributeLocalNameTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,62 @@
+/*
+ * Copyright (c) 2014, 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 stream.AttributeLocalNameTest;
+
+import java.io.StringReader;
+
+import javax.xml.stream.StreamFilter;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLStreamReader.getAttributeLocalName().
+ */
+public class AttributeLocalNameTest {
+
+    static final String XML = "<?xml version=\"1.0\"?>" + "<S:Envelope foo=\"bar\" xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\"></S:Envelope>";
+
+    @Test
+    public void testOne() {
+        try {
+            XMLInputFactory factory = XMLInputFactory.newInstance();
+            XMLStreamReader reader = factory.createFilteredReader(factory.createXMLStreamReader(new StringReader(XML)), new Filter());
+            reader.next();
+            reader.hasNext(); // force filter to cache
+            Assert.assertTrue(reader.getAttributeLocalName(0) != null);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Unexpected Exception: " + e.getMessage());
+        }
+    }
+
+    class Filter implements StreamFilter {
+
+        public boolean accept(XMLStreamReader reader) {
+            return true;
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/Bug6370703.java	Mon Aug 17 11:18:31 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 stream;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6370703
+ * @summary Test StAX parser can parse attribute default value when START_ELEMENT.
+ */
+public class Bug6370703 {
+
+    private static String INPUT_FILE = "sgml.xml";
+
+    @Test
+    public void testStartElement() {
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+            XMLStreamReader xsr = xif.createXMLStreamReader(this.getClass().getResource(INPUT_FILE).toExternalForm(),
+                    this.getClass().getResourceAsStream(INPUT_FILE));
+
+            while (xsr.hasNext()) {
+                int event = xsr.next();
+                if (event == XMLStreamReader.START_ELEMENT) {
+                    String localName = xsr.getLocalName();
+                    boolean print = "para".equals(localName);
+                    int nrOfAttr = xsr.getAttributeCount();
+                    if (print) {
+                        Assert.assertTrue(nrOfAttr > 0, "Default attribute declared in DTD is missing");
+                    }
+
+                }
+            }
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/Bug6378422.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,47 @@
+/*
+ * 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 stream;
+
+import javax.xml.stream.XMLInputFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6378422
+ * @summary Test setting reuse-instance property on StAX factory.
+ */
+public class Bug6378422 {
+
+    @Test
+    public void testReuseInstanceProp() {
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+            xif.setProperty("reuse-instance", Boolean.valueOf(true));
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/Bug6380870.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,54 @@
+/*
+ * 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 stream;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6380870
+ * @summary Test StAX parser can parse VoiceXML DTD.
+ */
+public class Bug6380870 {
+
+    private static String INPUT_FILE = "basic-form.vxml";
+
+    @Test
+    public void testStreamReader() {
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+            XMLStreamReader reader = xif.createXMLStreamReader(this.getClass().getResource(INPUT_FILE).toExternalForm(),
+                    this.getClass().getResourceAsStream(INPUT_FILE));
+            while (reader.hasNext())
+                reader.next();
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/Bug6489502.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,79 @@
+/*
+ * Copyright (c) 2013, 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 stream;
+
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6489502
+ * @summary Test XMLInputFactory works correctly in case it repeats to create reader.
+ */
+public class Bug6489502 {
+
+    public java.io.File input;
+    public final String filesDir = "./";
+    protected XMLInputFactory inputFactory = XMLInputFactory.newInstance();
+    protected XMLOutputFactory outputFactory = XMLOutputFactory.newInstance();
+
+    private static String xml = "<?xml version=\"1.0\"?><PLAY><TITLE>The Tragedy of Hamlet, Prince of Denmark</TITLE></PLAY>";
+
+    @Test
+    public void testEventReader1() {
+        try {
+            // Check if event reader returns the correct event
+            XMLEventReader e1 = inputFactory.createXMLEventReader(inputFactory.createXMLStreamReader(new java.io.StringReader(xml)));
+            Assert.assertEquals(e1.peek().getEventType(), XMLStreamConstants.START_DOCUMENT);
+
+            // Repeat same steps to test factory state
+            XMLEventReader e2 = inputFactory.createXMLEventReader(inputFactory.createXMLStreamReader(new java.io.StringReader(xml)));
+            Assert.assertEquals(e2.peek().getEventType(), XMLStreamConstants.START_DOCUMENT);
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    @Test
+    public void testEventReader2() {
+        try {
+            // Now advance underlying reader and then call peek on event reader
+            XMLStreamReader s1 = inputFactory.createXMLStreamReader(new java.io.StringReader(xml));
+            Assert.assertEquals(s1.getEventType(), XMLStreamConstants.START_DOCUMENT);
+            s1.next();
+            s1.next(); // advance to <TITLE>
+            Assert.assertTrue(s1.getLocalName().equals("TITLE"));
+
+            XMLEventReader e3 = inputFactory.createXMLEventReader(s1);
+            Assert.assertEquals(e3.peek().getEventType(), XMLStreamConstants.START_ELEMENT);
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/Bug6509774.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,170 @@
+/*
+ * 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 stream;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6509774
+ * @summary Test Property javax.xml.stream.supportDTD, DTD events are now returned even if supportDTD=false.
+ */
+public class Bug6509774 {
+
+    @Test
+    public void test0() {
+
+        try {
+
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+
+            xif.setProperty("javax.xml.stream.supportDTD", Boolean.TRUE);
+
+            XMLStreamReader xsr = xif.createXMLStreamReader(
+
+            getClass().getResource("sgml_Bug6509774.xml").toString(),
+
+            getClass().getResourceAsStream("sgml_Bug6509774.xml"));
+
+            Assert.assertTrue(xsr.getEventType() == XMLStreamConstants.START_DOCUMENT);
+
+            int event = xsr.next();
+
+            // Must be a DTD event since DTDs are supported
+
+            Assert.assertTrue(event == XMLStreamConstants.DTD);
+
+            while (xsr.hasNext()) {
+
+                event = xsr.next();
+
+            }
+
+            Assert.assertTrue(event == XMLStreamConstants.END_DOCUMENT);
+
+            xsr.close();
+
+        }
+
+        catch (Exception e) {
+
+            Assert.fail(e.getMessage());
+
+        }
+
+    }
+
+    @Test
+    public void test1() {
+
+        try {
+
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+
+            xif.setProperty("javax.xml.stream.supportDTD", Boolean.FALSE);
+
+            XMLStreamReader xsr = xif.createXMLStreamReader(
+
+            getClass().getResource("sgml_Bug6509774.xml").toString(),
+
+            getClass().getResourceAsStream("sgml_Bug6509774.xml"));
+
+            Assert.assertTrue(xsr.getEventType() == XMLStreamConstants.START_DOCUMENT);
+
+            int event = xsr.next();
+
+            // Should not be a DTD event since they are ignored
+
+            Assert.assertTrue(event == XMLStreamConstants.DTD);
+
+            while (xsr.hasNext()) {
+
+                event = xsr.next();
+
+            }
+
+            Assert.assertTrue(event == XMLStreamConstants.END_DOCUMENT);
+
+            xsr.close();
+
+        }
+
+        catch (Exception e) {
+
+            Assert.fail(e.getMessage());
+
+        }
+
+    }
+
+    @Test
+    public void test2() {
+
+        try {
+
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+
+            xif.setProperty("javax.xml.stream.supportDTD", Boolean.FALSE);
+
+            XMLStreamReader xsr = xif.createXMLStreamReader(
+
+            getClass().getResource("sgml-bad-systemId.xml").toString(),
+
+            getClass().getResourceAsStream("sgml-bad-systemId.xml"));
+
+            Assert.assertTrue(xsr.getEventType() == XMLStreamConstants.START_DOCUMENT);
+
+            int event = xsr.next();
+
+            // Should not be a DTD event since they are ignored
+
+            Assert.assertTrue(event == XMLStreamConstants.DTD);
+
+            while (xsr.hasNext()) {
+
+                event = xsr.next();
+
+            }
+
+            Assert.assertTrue(event == XMLStreamConstants.END_DOCUMENT);
+
+            xsr.close();
+
+        }
+
+        catch (Exception e) {
+
+            // Bogus systemId in XML document should not result in exception
+
+            Assert.fail(e.getMessage());
+
+        }
+
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/Bug6688002Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,109 @@
+/*
+ * 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 stream;
+
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.InputStream;
+import java.io.OutputStream;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.XMLStreamWriter;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6688002
+ * @summary Test single instance of XMLOutputFactory/XMLInputFactory create multiple Writer/Readers in parallel.
+ */
+public class Bug6688002Test {
+
+    private static final XMLOutputFactory outputFactory = XMLOutputFactory.newInstance();
+    private static final XMLInputFactory inputFactory = XMLInputFactory.newInstance();
+    private static final int NO_THREADS = 3;
+
+    @Test
+    public void testMultiThread() throws Exception {
+        Thread[] threads = new Thread[NO_THREADS];
+        for (int i = 0; i < NO_THREADS; i++) {
+            threads[i] = new Thread(new MyRunnable(i));
+        }
+        for (int i = 0; i < NO_THREADS; i++) {
+            threads[i].start();
+        }
+        for (int i = 0; i < NO_THREADS; i++) {
+            threads[i].join();
+        }
+    }
+
+    public class MyRunnable implements Runnable {
+        final int no;
+
+        MyRunnable(int no) {
+            this.no = no;
+        }
+
+        public void run() {
+            try {
+                FileOutputStream fos = new FileOutputStream("" + no);
+                XMLStreamWriter w = getWriter(fos);
+                // System.out.println("Writer="+w+" Thread="+Thread.currentThread());
+                w.writeStartDocument();
+                w.writeStartElement("hello");
+                for (int j = 0; j < 50; j++) {
+                    w.writeStartElement("a" + j);
+                    w.writeEndElement();
+                }
+                w.writeEndElement();
+                w.writeEndDocument();
+                w.close();
+                fos.close();
+
+                FileInputStream fis = new FileInputStream("" + no);
+                XMLStreamReader r = getReader(fis);
+                while (r.hasNext()) {
+                    r.next();
+                }
+                r.close();
+                fis.close();
+            } catch (Exception e) {
+                Assert.fail(e.getMessage());
+            }
+        }
+    }
+
+    public static/* synchronized */XMLStreamReader getReader(InputStream is) throws Exception {
+        return inputFactory.createXMLStreamReader(is);
+        // return XMLStreamReaderFactory.create(null, is, true);
+    }
+
+    public static/* synchronized */XMLStreamWriter getWriter(OutputStream os) throws Exception {
+        return outputFactory.createXMLStreamWriter(os);
+        // return XMLStreamWriterFactory.createXMLStreamWriter(os);
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/Bug6976938.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,1810 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<vf:root xmlns:vf="http://www.xxx.com/oss/xml/TroubleTicket">
+      <vf:troubleDescription>
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+&lt;a111111111a&gt;
+  &lt;b111111111b&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+    &lt;c111111111c&gt;
+  &lt;b111111111b&gt;
+&lt;a111111111a&gt;
+
+      </vf:troubleDescription>
+</vf:root>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/Bug6976938Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,96 @@
+/*
+ * 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 stream;
+
+import javax.xml.namespace.QName;
+import javax.xml.stream.EventFilter;
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.events.XMLEvent;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6976938
+ * @summary Test StAX parser won't throw StackOverflowError while reading valid XML file, in case the text content of an XML element contains many lines like "&lt; ... &gt;".
+ */
+public class Bug6976938Test {
+
+    private static final String INPUT_FILE = "Bug6976938.xml";
+
+    public static final String VF_GENERIC_TT_NAMESPACE = "http://www.vodafone.com/oss/xml/TroubleTicket";
+
+    public static final QName ATTACHMENT_NAME = new QName(VF_GENERIC_TT_NAMESPACE, "attachment");
+
+    @Test
+    public void testEventReader() {
+        XMLInputFactory xif = XMLInputFactory.newInstance();
+        xif.setProperty(XMLInputFactory.IS_COALESCING, Boolean.TRUE);
+        eventReaderTest(xif);
+    }
+
+    @Test
+    public void testEventReader1() {
+        XMLInputFactory xif = XMLInputFactory.newInstance();
+        eventReaderTest(xif);
+    }
+
+    public void eventReaderTest(XMLInputFactory xif) {
+        XMLEventReader eventReader = null;
+        try {
+            eventReader = xif.createXMLEventReader(this.getClass().getResourceAsStream(INPUT_FILE));
+            XMLEventReader filteredEventReader = xif.createFilteredReader(eventReader, new EventFilter() {
+                public boolean accept(XMLEvent event) {
+                    if (!event.isStartElement()) {
+                        return false;
+                    }
+                    QName elementQName = event.asStartElement().getName();
+                    if ((elementQName.getLocalPart().equals(ATTACHMENT_NAME.getLocalPart()) || elementQName.getLocalPart().equals("Attachment"))
+                            && elementQName.getNamespaceURI().equals(VF_GENERIC_TT_NAMESPACE)) {
+                        return true;
+                    }
+                    return false;
+                }
+            });
+            if (filteredEventReader.hasNext()) {
+                System.out.println("containsAttachments() returns true");
+            }
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+
+        } finally {
+            if (eventReader != null) {
+                try {
+                    eventReader.close();
+                } catch (XMLStreamException xse) {
+                    // Ignored by intention
+                }
+            }
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/CoalesceTest/CoalesceTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,106 @@
+/*
+ * Copyright (c) 2014, 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 stream.CoalesceTest;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.InputStream;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test Coalesce property works.
+ */
+public class CoalesceTest {
+
+    String countryElementContent = "START India  CS}}}}}} India END";
+    String descriptionElementContent = "a&b";
+    String fooElementContent = "&< cdatastart<><>>><>><<<<cdataend entitystart insert entityend";
+
+    @Test
+    public void testCoalesceProperty() {
+        try {
+            XMLInputFactory xifactory = XMLInputFactory.newInstance();
+            xifactory.setProperty(XMLInputFactory.IS_COALESCING, new Boolean(true));
+            InputStream xml = this.getClass().getResourceAsStream("coalesce.xml");
+            XMLStreamReader streamReader = xifactory.createXMLStreamReader(xml);
+            while (streamReader.hasNext()) {
+                int eventType = streamReader.next();
+                if (eventType == XMLStreamConstants.START_ELEMENT && streamReader.getLocalName().equals("country")) {
+                    eventType = streamReader.next();
+                    if (eventType == XMLStreamConstants.CHARACTERS) {
+                        String text = streamReader.getText();
+                        if (!text.equals(countryElementContent)) {
+                            System.out.println("String dont match");
+                            System.out.println("text = " + text);
+                            System.out.println("countryElementContent = " + countryElementContent);
+                        }
+                        // assertTrue(text.equals(countryElementContent));
+                    }
+                }
+                if (eventType == XMLStreamConstants.START_ELEMENT && streamReader.getLocalName().equals("description")) {
+                    eventType = streamReader.next();
+                    if (eventType == XMLStreamConstants.CHARACTERS) {
+                        String text = streamReader.getText();
+                        if (!text.equals(descriptionElementContent)) {
+                            System.out.println("String dont match");
+                            System.out.println("text = " + text);
+                            System.out.println("descriptionElementContent = " + descriptionElementContent);
+                        }
+                        Assert.assertTrue(text.equals(descriptionElementContent));
+                    }
+                }
+                if (eventType == XMLStreamConstants.START_ELEMENT && streamReader.getLocalName().equals("foo")) {
+                    eventType = streamReader.next();
+                    if (eventType == XMLStreamConstants.CHARACTERS) {
+                        String text = streamReader.getText();
+                        if (!text.equals(fooElementContent)) {
+                            System.out.println("String dont match");
+                            System.out.println("text = " + text);
+                            System.out.println("fooElementContent = " + fooElementContent);
+                        }
+
+                        Assert.assertTrue(text.equals(fooElementContent));
+                    }
+                }
+
+            }
+        } catch (XMLStreamException ex) {
+
+            if (ex.getNestedException() != null) {
+                ex.getNestedException().printStackTrace();
+            }
+            // ex.printStackTrace() ;
+        } catch (Exception ex) {
+            ex.printStackTrace();
+        }
+
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/CoalesceTest/coalesce.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE city [
+<!ENTITY a "insert">
+<!ENTITY b "<element1>subtree</element1>">
+
+]>
+<city name = "Bangalore" population = "100000">
+
+	<country state = "Karnatka">START India  <![CDATA[CS}}}}}}]]> India END</country>
+        <foo>&amp;&lt; <![CDATA[cdatastart<><>>><>><<<<cdataend]]> entitystart &a; entityend</foo>
+        &b;
+	<description>a&amp;b</description>
+         <?CityHotels Information about the hotels is passed to different appications for processing. ?>	
+
+</city>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/EntitiesTest/EntityTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,175 @@
+/*
+ * Copyright (c) 2014, 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 stream.EntitiesTest;
+
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.io.LineNumberReader;
+import java.io.Reader;
+import java.io.StringReader;
+import java.net.URL;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.events.XMLEvent;
+
+import org.testng.Assert;
+import org.testng.annotations.AfterMethod;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test StAX parses entity.
+ */
+public class EntityTest {
+
+    XMLInputFactory factory = null;
+    String output = "";
+
+    @BeforeMethod
+    protected void setUp() {
+        try {
+            factory = XMLInputFactory.newInstance();
+        } catch (Exception ex) {
+            Assert.fail("Could not create XMLInputFactory");
+        }
+    }
+
+    @AfterMethod
+    protected void tearDown() {
+        factory = null;
+    }
+
+    @Test
+    public void testProperties() {
+        Assert.assertTrue(factory.isPropertySupported("javax.xml.stream.isReplacingEntityReferences"));
+    }
+
+    @Test
+    public void testCharacterReferences() {
+        try {
+            URL fileName = EntityTest.class.getResource("testCharRef.xml");
+            URL outputFileName = EntityTest.class.getResource("testCharRef.xml.output");
+            XMLStreamReader xmlr = factory.createXMLStreamReader(new InputStreamReader(fileName.openStream()));
+            int eventType = 0;
+            while (xmlr.hasNext()) {
+                eventType = xmlr.next();
+                handleEvent(xmlr, eventType);
+            }
+            System.out.println("Output:");
+            System.out.println(output);
+            Assert.assertTrue(compareOutput(new InputStreamReader(outputFileName.openStream()), new StringReader(output)));
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            Assert.fail(ex.getMessage());
+        }
+    }
+
+    private void handleEvent(XMLStreamReader xmlr, int eventType) {
+        switch (eventType) {
+            case XMLEvent.START_ELEMENT:
+                handleStartElement(xmlr);
+                break;
+            case XMLEvent.END_ELEMENT:
+                handleEndElement(xmlr);
+                break;
+            case XMLEvent.CHARACTERS:
+                handleCharacters(xmlr);
+                break;
+            case XMLEvent.COMMENT:
+                handleComment(xmlr);
+                break;
+            case XMLEvent.ENTITY_REFERENCE:
+                break;
+            case XMLEvent.ATTRIBUTE:
+                break;
+            case XMLEvent.DTD:
+                break;
+            case XMLEvent.CDATA:
+                break;
+            default:
+                break;
+        }
+    }
+
+    private void handleStartElement(XMLStreamReader xmlr) {
+        output += "<";
+        output += xmlr.getLocalName();
+        if (xmlr.hasText())
+            output += xmlr.getText();
+        printAttributes(xmlr);
+        output += ">";
+    }
+
+    private void handleEndElement(XMLStreamReader xmlr) {
+        output += "</";
+        output += xmlr.getLocalName();
+        output += ">";
+    }
+
+    private void handleComment(XMLStreamReader xmlr) {
+        if (xmlr.hasText())
+            output += xmlr.getText();
+    }
+
+    private void handleCharacters(XMLStreamReader xmlr) {
+        if (xmlr.hasText())
+            output += xmlr.getText();
+    }
+
+    private void printAttributes(XMLStreamReader xmlr) {
+        if (xmlr.getAttributeCount() > 0) {
+            int count = xmlr.getAttributeCount();
+            for (int i = 0; i < count; i++) {
+                output += xmlr.getAttributeName(i);
+                output += "=";
+                output += xmlr.getAttributeValue(i);
+                /*
+                 * String name = xmlr.getAttributeName(i) ; String value =
+                 * xmlr.getAttributeValue(i) ;
+                 * System.out.println(name+"="+value);
+                 */
+            }
+        }
+    }
+
+    protected boolean compareOutput(Reader expected, Reader actual) throws IOException {
+        LineNumberReader expectedOutput = new LineNumberReader(expected);
+        LineNumberReader actualOutput = new LineNumberReader(actual);
+
+        while (expectedOutput.ready() && actualOutput.ready()) {
+            String expectedLine = expectedOutput.readLine();
+            String actualLine = actualOutput.readLine();
+            if (!expectedLine.equals(actualLine)) {
+                System.out.println("Entityreference expansion failed, line no: " + expectedOutput.getLineNumber());
+                System.out.println("Expected: " + expectedLine);
+                System.out.println("Actual  : " + actualLine);
+                return false;
+            }
+        }
+        expectedOutput.close();
+        actualOutput.close();
+        return true;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/EntitiesTest/testCharRef.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding='UTF-8'?>
+<!DOCTYPE juicers [
+<!ENTITY ch1 "T">
+]>
+<juicers>
+
+<reftest>TES&ch1;CHARREF</reftest>
+
+</juicers>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/EntitiesTest/testCharRef.xml.output	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,5 @@
+<juicers>
+
+<reftest>TESTCHARREF</reftest>
+
+</juicers>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/EventReaderDelegateTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,227 @@
+/*
+ * 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 stream;
+
+import org.testng.annotations.Test;
+import org.testng.Assert;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+
+import javax.xml.stream.FactoryConfigurationError;
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.events.XMLEvent;
+import javax.xml.stream.util.EventReaderDelegate;
+
+/*
+ * @summary Test EventReaderDelegate.
+ */
+public class EventReaderDelegateTest {
+
+    public EventReaderDelegateTest(String name) {
+    }
+
+    @Test
+    public void testGetElementText() {
+        try {
+            XMLInputFactory ifac = XMLInputFactory.newFactory();
+            XMLEventReader reader = ifac.createXMLEventReader(new FileInputStream(new File(getClass().getResource("toys.xml").getFile())));
+            EventReaderDelegate delegate = new EventReaderDelegate(reader);
+            while (delegate.hasNext()) {
+                XMLEvent event = (XMLEvent) delegate.next();
+                switch (event.getEventType()) {
+                    case XMLStreamConstants.START_ELEMENT: {
+                        String name = event.asStartElement().getName().toString();
+                        if (name.equals("name") || name.equals("price")) {
+                            System.out.println(delegate.getElementText());
+                        } else {
+                            try {
+                                delegate.getElementText();
+                            } catch (XMLStreamException e) {
+                                System.out.println("Expected XMLStreamException in getElementText()");
+                            }
+                        }
+
+                    }
+                }
+            }
+            delegate.close();
+        } catch (FileNotFoundException e) {
+            e.printStackTrace();
+            Assert.fail("FileNotFoundException in testGetElementText()");
+        } catch (XMLStreamException e) {
+            e.printStackTrace();
+            Assert.fail("XMLStreamException in testGetElementText()");
+        } catch (FactoryConfigurationError e) {
+            e.printStackTrace();
+            Assert.fail("FactoryConfigurationError in testGetElementText()");
+        }
+
+    }
+
+    @Test
+    public void testRemove() {
+        try {
+            XMLInputFactory ifac = XMLInputFactory.newFactory();
+            XMLEventReader reader = ifac.createXMLEventReader(new FileInputStream(new File(getClass().getResource("toys.xml").getFile())));
+            EventReaderDelegate delegate = new EventReaderDelegate(reader);
+            delegate.remove();
+        } catch (FileNotFoundException e) {
+            e.printStackTrace();
+            Assert.fail("FileNotFoundException in testRemove()");
+        } catch (XMLStreamException e) {
+            e.printStackTrace();
+            Assert.fail("XMLStreamException in testRemove()");
+        } catch (FactoryConfigurationError e) {
+            e.printStackTrace();
+            Assert.fail("FactoryConfigurationError in testRemove()");
+        } catch (UnsupportedOperationException e) {
+            System.out.println("Expected exception in remove()");
+        }
+
+    }
+
+    @Test
+    public void testPeek() {
+        try {
+            XMLInputFactory ifac = XMLInputFactory.newFactory();
+            XMLEventReader reader = ifac.createXMLEventReader(new FileInputStream(new File(getClass().getResource("toys.xml").getFile())));
+            EventReaderDelegate delegate = new EventReaderDelegate();
+            delegate.setParent(reader);
+            while (delegate.hasNext()) {
+                XMLEvent peekevent = delegate.peek();
+                XMLEvent event = (XMLEvent) delegate.next();
+                if (peekevent != event) {
+                    Assert.fail("peek() does not return same XMLEvent with next()");
+                }
+            }
+            delegate.close();
+        } catch (FileNotFoundException e) {
+            e.printStackTrace();
+            Assert.fail("FileNotFoundException in testPeek()");
+        } catch (XMLStreamException e) {
+            e.printStackTrace();
+            Assert.fail("XMLStreamException in testPeek()");
+        } catch (FactoryConfigurationError e) {
+            e.printStackTrace();
+            Assert.fail("FactoryConfigurationError in testPeek()");
+        }
+    }
+
+    @Test
+    public void testNextTag() {
+        try {
+            XMLInputFactory ifac = XMLInputFactory.newFactory();
+            ifac.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, Boolean.FALSE);
+            XMLEventReader reader = ifac.createXMLEventReader(new FileInputStream(new File(getClass().getResource("toys.xml").getFile())));
+            EventReaderDelegate delegate = new EventReaderDelegate(reader);
+            if ((Boolean) (delegate.getProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES)) != Boolean.FALSE) {
+                Assert.fail("getProperty() does not return correct value");
+            }
+            while (delegate.hasNext()) {
+                XMLEvent event = delegate.peek();
+                if (event.isEndElement() || event.isStartElement()) {
+                    XMLEvent nextevent = delegate.nextTag();
+                    if (!(nextevent.getEventType() == XMLStreamConstants.START_ELEMENT || nextevent.getEventType() == XMLStreamConstants.END_ELEMENT)) {
+                        Assert.fail("nextTag() does not return correct event type");
+                    }
+                } else {
+                    delegate.next();
+                }
+            }
+            delegate.close();
+        } catch (FileNotFoundException e) {
+            e.printStackTrace();
+            Assert.fail("FileNotFoundException in testNextTag()");
+        } catch (XMLStreamException e) {
+            e.printStackTrace();
+            Assert.fail("XMLStreamException in testNextTag()");
+        } catch (FactoryConfigurationError e) {
+            e.printStackTrace();
+            Assert.fail("FactoryConfigurationError in testNextTag()");
+        }
+    }
+
+    @Test
+    public void testNextEvent() {
+        try {
+            XMLInputFactory ifac = XMLInputFactory.newFactory();
+            ifac.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, Boolean.FALSE);
+            XMLEventReader reader = ifac.createXMLEventReader(new FileInputStream(new File(getClass().getResource("toys.xml").getFile())));
+            EventReaderDelegate delegate = new EventReaderDelegate();
+            delegate.setParent(reader);
+            if ((Boolean) (delegate.getParent().getProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES)) != Boolean.FALSE) {
+                Assert.fail("XMLEventReader.getProperty() does not return correct value");
+            }
+            if ((Boolean) (delegate.getProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES)) != Boolean.FALSE) {
+                Assert.fail("EventReaderDelegate.getProperty() does not return correct value");
+            }
+            while (delegate.hasNext()) {
+                XMLEvent event = delegate.nextEvent();
+                switch (event.getEventType()) {
+                    case XMLStreamConstants.START_ELEMENT: {
+                        System.out.println(event.asStartElement().getName());
+                        break;
+                    }
+                    case XMLStreamConstants.END_ELEMENT: {
+                        System.out.println(event.asEndElement().getName());
+                        break;
+                    }
+                    case XMLStreamConstants.END_DOCUMENT: {
+                        System.out.println(event.isEndDocument());
+                        break;
+                    }
+                    case XMLStreamConstants.START_DOCUMENT: {
+                        System.out.println(event.isStartDocument());
+                        break;
+                    }
+                    case XMLStreamConstants.CHARACTERS: {
+                        System.out.println(event.asCharacters().getData());
+                        break;
+                    }
+                    case XMLStreamConstants.COMMENT: {
+                        System.out.println(event.toString());
+                        break;
+                    }
+                }
+
+            }
+            delegate.close();
+        } catch (FileNotFoundException e) {
+            e.printStackTrace();
+            Assert.fail("FileNotFoundException in testNextEvent()");
+        } catch (XMLStreamException e) {
+            e.printStackTrace();
+            Assert.fail("XMLStreamException in testNextEvent()");
+        } catch (FactoryConfigurationError e) {
+            e.printStackTrace();
+            Assert.fail("FactoryConfigurationError in testNextEvent()");
+        }
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/EventsTest/Issue41Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,174 @@
+/*
+ * 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 stream.EventsTest;
+
+import java.io.StringReader;
+import java.io.StringWriter;
+import java.util.Iterator;
+import java.util.List;
+
+import javax.xml.namespace.QName;
+import javax.xml.stream.XMLEventFactory;
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.events.Attribute;
+import javax.xml.stream.events.Characters;
+import javax.xml.stream.events.Comment;
+import javax.xml.stream.events.DTD;
+import javax.xml.stream.events.EndDocument;
+import javax.xml.stream.events.EndElement;
+import javax.xml.stream.events.Namespace;
+import javax.xml.stream.events.ProcessingInstruction;
+import javax.xml.stream.events.StartDocument;
+import javax.xml.stream.events.StartElement;
+import javax.xml.stream.events.XMLEvent;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6631268
+ * @summary Test XMLEvent.writeAsEncodedUnicode can output the event content.
+ */
+public class Issue41Test {
+
+    public java.io.File input;
+    public final String filesDir = "./";
+    protected XMLInputFactory inputFactory;
+    protected XMLOutputFactory outputFactory;
+
+    @Test
+    public void testEvents() {
+        XMLEventFactory f = XMLEventFactory.newInstance();
+        final String contents = "test <some> text & more! [[]] --";
+        final String prefix = "prefix";
+        final String uri = "http://foo";
+        final String localName = "elem";
+
+        try {
+            StartDocument sd = f.createStartDocument();
+            writeAsEncodedUnicode(sd);
+
+            Comment c = f.createComment("some comments");
+            writeAsEncodedUnicode(c);
+
+            StartElement se = f.createStartElement(prefix, uri, localName);
+
+            ProcessingInstruction pi = f.createProcessingInstruction("target", "data");
+            writeAsEncodedUnicode(pi);
+
+            Namespace ns = f.createNamespace(prefix, uri);
+            writeAsEncodedUnicode(ns);
+
+            Characters characters = f.createCharacters(contents);
+            writeAsEncodedUnicode(characters);
+            // CData
+            Characters cdata = f.createCData(contents);
+            writeAsEncodedUnicode(cdata);
+
+            // Attribute
+            QName attrName = new QName("http://test.com", "attr", "ns");
+            Attribute attr = f.createAttribute(attrName, "value");
+            writeAsEncodedUnicode(attr);
+
+            // prefix, uri, localName
+            EndElement ee = f.createEndElement(prefix, uri, localName);
+            writeAsEncodedUnicode(ee);
+
+            EndDocument ed = f.createEndDocument();
+            writeAsEncodedUnicode(ed);
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+
+    }
+
+    /**
+     * DTDEvent instances constructed via event reader are missing the notation
+     * and entity declaration information
+     */
+    @Test
+    public void testDTDEvent() {
+        String XML = "<?xml version='1.0' ?>" + "<!DOCTYPE root [\n" + "<!ENTITY intEnt 'internal'>\n" + "<!ENTITY extParsedEnt SYSTEM 'url:dummy'>\n"
+                + "<!NOTATION notation PUBLIC 'notation-public-id'>\n" + "<!NOTATION notation2 SYSTEM 'url:dummy'>\n"
+                + "<!ENTITY extUnparsedEnt SYSTEM 'url:dummy2' NDATA notation>\n" + "]>" + "<root />";
+
+        try {
+            XMLEventReader er = getReader(XML);
+            XMLEvent evt = er.nextEvent(); // StartDocument
+            evt = er.nextEvent(); // DTD
+            if (evt.getEventType() != XMLStreamConstants.DTD) {
+                Assert.fail("Expected DTD event");
+            }
+            DTD dtd = (DTD) evt;
+            writeAsEncodedUnicode(dtd);
+            List entities = dtd.getEntities();
+            if (entities == null) {
+                Assert.fail("No entity found. Expected 3.");
+            } else {
+                writeAsEncodedUnicode((XMLEvent) entities.get(0));
+                writeAsEncodedUnicode((XMLEvent) entities.get(1));
+                writeAsEncodedUnicode((XMLEvent) entities.get(2));
+            }
+
+            List notations = dtd.getNotations();
+            if (notations == null) {
+                Assert.fail("No notation found. Expected 2.");
+            } else {
+                writeAsEncodedUnicode((XMLEvent) notations.get(0));
+                writeAsEncodedUnicode((XMLEvent) notations.get(1));
+            }
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    private XMLEventReader getReader(String XML) throws Exception {
+        inputFactory = XMLInputFactory.newInstance();
+
+        // Check if event reader returns the correct event
+        XMLEventReader er = inputFactory.createXMLEventReader(new StringReader(XML));
+        return er;
+    }
+
+
+
+    /**
+     * The return of XMLEvent writeAsEncodedUnicode method is not defined This
+     * method merely tests that the output exists
+     */
+    public void writeAsEncodedUnicode(XMLEvent evt) throws XMLStreamException {
+        if (evt.getEventType() == XMLStreamConstants.END_DOCUMENT) {
+            return;
+        }
+        StringWriter sw = new StringWriter();
+        evt.writeAsEncodedUnicode(sw);
+
+        Assert.assertTrue(sw.toString().length() > 0);
+        System.out.println(sw.toString());
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/EventsTest/Issue48Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,111 @@
+/*
+ * 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 stream.EventsTest;
+
+import java.io.StringReader;
+import java.util.Iterator;
+import java.util.List;
+
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.events.DTD;
+import javax.xml.stream.events.EntityDeclaration;
+import javax.xml.stream.events.NotationDeclaration;
+import javax.xml.stream.events.XMLEvent;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6620632
+ * @summary Test XMLEventReader can parse notation and entity information from DTD Event.
+ */
+public class Issue48Test {
+
+    public java.io.File input;
+    public final String filesDir = "./";
+    protected XMLInputFactory inputFactory;
+    protected XMLOutputFactory outputFactory;
+
+    /**
+     * DTDEvent instances constructed via event reader are missing the notation
+     * and entity declaration information
+     */
+    @Test
+    public void testDTDEvent() {
+        String XML = "<?xml version='1.0' ?>" + "<!DOCTYPE root [\n" + "<!ENTITY intEnt 'internal'>\n" + "<!ENTITY extParsedEnt SYSTEM 'url:dummy'>\n"
+                + "<!NOTATION notation PUBLIC 'notation-public-id'>\n" + "<!NOTATION notation2 SYSTEM 'url:dummy'>\n"
+                + "<!ENTITY extUnparsedEnt SYSTEM 'url:dummy2' NDATA notation>\n" + "]>" + "<root />";
+
+        try {
+            XMLEventReader er = getReader(XML);
+            XMLEvent evt = er.nextEvent(); // StartDocument
+            evt = er.nextEvent(); // DTD
+            if (evt.getEventType() != XMLStreamConstants.DTD) {
+                Assert.fail("Expected DTD event");
+            }
+            DTD dtd = (DTD) evt;
+            List entities = dtd.getEntities();
+            if (entities == null) {
+                Assert.fail("No entity found. Expected 3.");
+            } else {
+                Assert.assertEquals(entities.size(), 3);
+            }
+            // Let's also verify they are all of right type...
+            testListElems(entities, EntityDeclaration.class);
+
+            List notations = dtd.getNotations();
+            if (notations == null) {
+                Assert.fail("No notation found. Expected 2.");
+            } else {
+                Assert.assertEquals(notations.size(), 2);
+            }
+            // Let's also verify they are all of right type...
+            testListElems(notations, NotationDeclaration.class);
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    private XMLEventReader getReader(String XML) throws Exception {
+        inputFactory = XMLInputFactory.newInstance();
+
+        // Check if event reader returns the correct event
+        XMLEventReader er = inputFactory.createXMLEventReader(new StringReader(XML));
+        return er;
+    }
+
+
+    private void testListElems(List l, Class expType) {
+        Iterator it = l.iterator();
+        while (it.hasNext()) {
+            Object o = it.next();
+            Assert.assertNotNull(o);
+            Assert.assertTrue(expType.isAssignableFrom(o.getClass()));
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/EventsTest/Issue53Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,67 @@
+/*
+ * 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 stream.EventsTest;
+
+import javax.xml.stream.XMLEventFactory;
+import javax.xml.stream.events.StartDocument;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test encodingSet/standaloneSet returns correct result in case encoding/standalone is set when constructing StartDocument.
+ */
+public class Issue53Test {
+
+    @Test
+    public void testEncodingSet() {
+        XMLEventFactory f = XMLEventFactory.newInstance();
+
+        try {
+            StartDocument sd = f.createStartDocument("UTF-8");
+            System.out.println("Encoding: " + sd.getCharacterEncodingScheme());
+            System.out.println("Encoding set: " + sd.encodingSet());
+            Assert.assertTrue(sd.encodingSet(), "encoding is set, should return true.");
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+
+    }
+
+    @Test
+    public void testStandaloneSet() {
+        XMLEventFactory f = XMLEventFactory.newInstance();
+
+        try {
+            StartDocument sd = f.createStartDocument("UTF-8", "1.0", true);
+            System.out.println(sd.isStandalone());
+            System.out.println(sd.standaloneSet());
+            Assert.assertTrue(sd.standaloneSet(), "standalone is set, should return true.");
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/EventsTest/Issue58Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,80 @@
+/*
+ * 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 stream.EventsTest;
+
+import java.io.StringReader;
+
+import javax.xml.stream.Location;
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.events.XMLEvent;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLEvent.getLocation() returns a non-volatile Location.
+ */
+public class Issue58Test {
+
+    public java.io.File input;
+    public final String filesDir = "./";
+    protected XMLInputFactory inputFactory;
+    protected XMLOutputFactory outputFactory;
+
+    @Test
+    public void testLocation() {
+        String XML = "<?xml version='1.0' ?>" + "<!DOCTYPE root [\n" + "<!ENTITY intEnt 'internal'>\n" + "<!ENTITY extParsedEnt SYSTEM 'url:dummy'>\n"
+                + "<!NOTATION notation PUBLIC 'notation-public-id'>\n" + "<!NOTATION notation2 SYSTEM 'url:dummy'>\n"
+                + "<!ENTITY extUnparsedEnt SYSTEM 'url:dummy2' NDATA notation>\n" + "]>\n" + "<root />";
+
+        try {
+            XMLEventReader er = getReader(XML);
+            XMLEvent evt = er.nextEvent(); // StartDocument
+            Location loc1 = evt.getLocation();
+            System.out.println("Location 1: " + loc1.getLineNumber() + "," + loc1.getColumnNumber());
+            evt = er.nextEvent(); // DTD
+            // loc1 should not change so its line number should still be 1
+            Assert.assertTrue(loc1.getLineNumber() == 1);
+            Location loc2 = evt.getLocation();
+            System.out.println("Location 2: " + loc2.getLineNumber() + "," + loc2.getColumnNumber());
+            evt = er.nextEvent(); // root
+            System.out.println("Location 1: " + loc1.getLineNumber() + "," + loc1.getColumnNumber());
+            Assert.assertTrue(loc1.getLineNumber() == 1);
+            Assert.assertTrue(loc2.getLineNumber() == 7);
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    private XMLEventReader getReader(String XML) throws Exception {
+        inputFactory = XMLInputFactory.newInstance();
+
+        // Check if event reader returns the correct event
+        XMLEventReader er = inputFactory.createXMLEventReader(new StringReader(XML));
+        return er;
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/FactoryFindTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,144 @@
+/*
+ * 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 stream;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.net.URL;
+import java.net.URLClassLoader;
+import java.util.Properties;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.BeforeClass;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test SaTX factory using factory property and using ContextClassLoader.
+ */
+public class FactoryFindTest {
+
+    boolean myClassLoaderUsed = false;
+
+    final static String FACTORY_KEY = "javax.xml.stream.XMLInputFactory";
+
+    @BeforeClass
+    public void setup(){
+        policy.PolicyUtil.changePolicy(getClass().getResource("FactoryFindTest.policy").getFile());
+    }
+
+    @Test
+    public void testFactoryFindUsingStaxProperties() {
+        // If property is defined, will take precendence so this test
+        // is ignored :(
+        if (System.getProperty(FACTORY_KEY) != null) {
+            return;
+        }
+
+        Properties props = new Properties();
+        String configFile = System.getProperty("java.home") + File.separator + "lib" + File.separator + "stax.properties";
+
+        File f = new File(configFile);
+        if (f.exists()) {
+            try {
+                FileInputStream fis = new FileInputStream(f);
+                props.load(fis);
+                fis.close();
+            } catch (FileNotFoundException e) {
+                return;
+            } catch (IOException e) {
+                return;
+            }
+        } else {
+            props.setProperty(FACTORY_KEY, "com.sun.xml.internal.stream.XMLInputFactoryImpl");
+            try {
+                FileOutputStream fos = new FileOutputStream(f);
+                props.store(fos, null);
+                fos.close();
+                f.deleteOnExit();
+            } catch (FileNotFoundException e) {
+                return;
+            } catch (IOException e) {
+                return;
+            }
+        }
+
+        XMLInputFactory factory = XMLInputFactory.newInstance();
+        Assert.assertTrue(factory.getClass().getName().equals(props.getProperty(FACTORY_KEY)));
+    }
+
+    @Test
+    public void testFactoryFind() {
+        try {
+            // System.setProperty("jaxp.debug", "true");
+
+            XMLInputFactory factory = XMLInputFactory.newInstance();
+            Assert.assertTrue(factory.getClass().getClassLoader() == null);
+
+            Thread.currentThread().setContextClassLoader(null);
+            factory = XMLInputFactory.newInstance();
+            Assert.assertTrue(factory.getClass().getClassLoader() == null);
+
+            Thread.currentThread().setContextClassLoader(new MyClassLoader());
+            factory = XMLInputFactory.newInstance();
+            if (System.getSecurityManager() == null)
+                Assert.assertTrue(myClassLoaderUsed);
+            else
+                Assert.assertFalse(myClassLoaderUsed);
+
+            XMLOutputFactory ofactory = XMLOutputFactory.newInstance();
+            Assert.assertTrue(ofactory.getClass().getClassLoader() == null);
+
+            Thread.currentThread().setContextClassLoader(null);
+            ofactory = XMLOutputFactory.newInstance();
+            Assert.assertTrue(ofactory.getClass().getClassLoader() == null);
+
+            Thread.currentThread().setContextClassLoader(new MyClassLoader());
+            ofactory = XMLOutputFactory.newInstance();
+            if (System.getSecurityManager() == null)
+                Assert.assertTrue(myClassLoaderUsed);
+            else
+                Assert.assertFalse(myClassLoaderUsed);
+        } catch (Exception ex) {
+            throw new RuntimeException(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/jaxp/test/javax/xml/jaxp/unittest/stream/FactoryFindTest.policy	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,23 @@
+grant {
+	permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
+	permission java.lang.RuntimePermission "accessDeclaredMembers";
+	
+	permission java.io.FilePermission "${test.classes}/../../-", "read, write, delete";
+	permission java.io.FilePermission ".", "read, write, delete";
+	permission java.util.PropertyPermission "*", "read, write";
+	
+    permission java.lang.RuntimePermission "setSecurityManager";
+    permission java.lang.RuntimePermission "createSecurityManager";
+    permission java.lang.RuntimePermission "createClassLoader";
+    permission java.lang.RuntimePermission "setIO";
+	permission java.lang.RuntimePermission "setContextClassLoader"; 
+	permission java.security.SecurityPermission "getPolicy";
+    
+    permission java.io.FilePermission "${test.src}/-", "read, write, delete";
+    permission java.io.FilePermission "${user.dir}/-", "read, write, delete";
+    permission java.io.FilePermission "${java.io.tmpdir}/-", "read, write, delete";
+    
+    
+    permission java.io.FilePermission "${java.home}/lib/stax.properties", "read, write, delete";
+
+};
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/IgnoreExternalDTDTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,73 @@
+/*
+ * 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 stream;
+
+import java.io.StringReader;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test feature ignore-external-dtd.
+ */
+public class IgnoreExternalDTDTest {
+
+    final static String FACTORY_KEY = "javax.xml.stream.XMLInputFactory";
+    static final String IGNORE_EXTERNAL_DTD = "ignore-external-dtd";
+    static final String ZEPHYR_PROPERTY_PREFIX = "http://java.sun.com/xml/stream/properties/";
+
+    @Test
+    public void testFeaturePositive() throws Exception {
+        XMLInputFactory xif = XMLInputFactory.newInstance();
+        xif.setProperty(ZEPHYR_PROPERTY_PREFIX + IGNORE_EXTERNAL_DTD, Boolean.TRUE);
+        parse(xif);
+    }
+
+    @Test
+    public void testFeatureNegative() throws Exception {
+        XMLInputFactory xif = XMLInputFactory.newInstance();
+        xif.setProperty(ZEPHYR_PROPERTY_PREFIX + IGNORE_EXTERNAL_DTD, Boolean.FALSE);
+        try {
+            parse(xif);
+            // refer to 6440324, absent of that change, an exception would be
+            // thrown;
+            // due to the change made for 6440324, parsing will continue without
+            // exception
+            // fail();
+        } catch (XMLStreamException e) {
+            // the error is expected that no DTD was found
+        }
+    }
+
+    private void parse(XMLInputFactory xif) throws XMLStreamException {
+        XMLStreamReader xsr = xif.createXMLStreamReader(new StringReader("<?xml version='1.0'?><!DOCTYPE root PUBLIC 'abc' 'def'><abc />"));
+        while (xsr.next() != XMLStreamConstants.END_DOCUMENT)
+            ;
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/ProcessingInstructionTest/ProcessingInstructionTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,63 @@
+/*
+ * 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 stream.ProcessingInstructionTest;
+
+import java.io.InputStream;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLStreamReader parses Processing Instruction.
+ */
+public class ProcessingInstructionTest {
+
+    @Test
+    public void testPITargetAndData() {
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+            String PITarget = "soffice";
+            String PIData = "WebservicesArchitecture";
+            String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + "<?" + PITarget + " " + PIData + "?>" + "<foo></foo>";
+            // System.out.println("XML = " + xml) ;
+            InputStream is = new java.io.ByteArrayInputStream(xml.getBytes());
+            XMLStreamReader sr = xif.createXMLStreamReader(is);
+            while (sr.hasNext()) {
+                int eventType = sr.next();
+                if (eventType == XMLStreamConstants.PROCESSING_INSTRUCTION) {
+                    String target = sr.getPITarget();
+                    String data = sr.getPIData();
+                    Assert.assertTrue(target.equals(PITarget) && data.equals(PIData));
+                }
+            }
+        } catch (Exception ex) {
+            ex.printStackTrace();
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/StreamReaderDelegateTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,379 @@
+/*
+ * 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 stream;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.InputStream;
+import java.util.Iterator;
+
+import javax.xml.namespace.NamespaceContext;
+import javax.xml.stream.FactoryConfigurationError;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.util.StreamReaderDelegate;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test StreamReaderDelegate.
+ */
+public class StreamReaderDelegateTest {
+
+    /**
+     * Tested xml file looks as below: <?xml version="1.0" standalone="no" ?>
+     * <ns1:foo attr1="defaultAttr1" ns1:attr1="ns1Attr1" ns2:attr1="ns2Attr1"
+     * attr2="defaultAttr2" attr3="defaultAttr3" xmlns:ns1="http://ns1.java.com"
+     * xmlns:ns2="http://ns2.java.com"> <!--description--> content text
+     * <![CDATA[<greeting>Hello</greeting>]]> other content </ns1:foo>
+     **/
+    @Test
+    public void testAttribute() {
+        StreamReaderDelegate delegate = null;
+        try {
+            System.out.println("===in testAttribute()===");
+            XMLInputFactory ifac = XMLInputFactory.newFactory();
+            XMLStreamReader reader = ifac.createXMLStreamReader(new FileInputStream(new File(getClass().getResource("testfile1.xml").getFile())));
+            delegate = new StreamReaderDelegate(reader);
+
+            Assert.assertTrue(delegate.standaloneSet());
+            Assert.assertFalse(delegate.isStandalone());
+            while (delegate.hasNext()) {
+                delegate.next();
+                if (delegate.getEventType() == XMLStreamConstants.START_ELEMENT || delegate.getEventType() == XMLStreamConstants.ATTRIBUTE) {
+                    if (delegate.getLocalName().equals("foo")) {
+                        Assert.assertTrue(delegate.getAttributeCount() == 5);
+                        Assert.assertTrue(delegate.getAttributeType(1) == "CDATA");
+
+                        Assert.assertTrue(delegate.getAttributeValue(0).equals("defaultAttr1"));
+                        Assert.assertTrue(delegate.getAttributeValue(delegate.getAttributeCount() - 2).equals("defaultAttr2"));
+                        Assert.assertTrue(delegate.getAttributeValue(delegate.getAttributeCount() - 1).equals("defaultAttr3"));
+
+                        Assert.assertTrue(delegate.getAttributeValue("http://ns1.java.com", "attr1").equals("ns1Attr1"));
+                        Assert.assertTrue(delegate.getAttributeValue("http://ns2.java.com", "attr1").equals("ns2Attr1"));
+
+                        Assert.assertTrue(delegate.getAttributeValue(null, "attr2").equals("defaultAttr2"));
+                        Assert.assertTrue(delegate.getAttributeValue(null, "attr3").equals("defaultAttr3"));
+
+                        Assert.assertTrue(delegate.getAttributeNamespace(0) == null);
+                        Assert.assertTrue(delegate.getAttributeNamespace(1).equals("http://ns1.java.com"));
+                        Assert.assertTrue(delegate.getAttributePrefix(1).equals("ns1"));
+                        Assert.assertTrue(delegate.getAttributeName(1).toString()
+                                .equals("{" + delegate.getAttributeNamespace(1) + "}" + delegate.getAttributeLocalName(1)));
+                        Assert.assertTrue(delegate.getAttributeLocalName(1).equals("attr1"));
+
+                        // negative test. Should return null for out of
+                        // attribute array index
+                        Assert.assertTrue(delegate.getAttributeNamespace(delegate.getAttributeCount()) == null);
+                        Assert.assertTrue(delegate.getAttributePrefix(delegate.getAttributeCount()) == null);
+                        Assert.assertTrue(delegate.getAttributeName(delegate.getAttributeCount()) == null);
+                        Assert.assertTrue(delegate.getAttributeLocalName(delegate.getAttributeCount()) == null);
+                        Assert.assertTrue(delegate.getAttributeType(delegate.getAttributeCount()) == null);
+                    }
+                } else {
+                    try {
+                        delegate.getAttributeCount();
+                    } catch (IllegalStateException e) {
+                        System.out.println("expected exception for incorrect event type");
+                    }
+                }
+
+            }
+        } catch (FileNotFoundException e) {
+            e.printStackTrace();
+            Assert.fail("FileNotFoundException in testAttribute()");
+        } catch (XMLStreamException e) {
+            e.printStackTrace();
+            System.out.println(delegate.getLocation());
+            Assert.fail("XMLStreamException in testAttribute()");
+        } catch (FactoryConfigurationError e) {
+            e.printStackTrace();
+            Assert.fail("FactoryConfigurationError in testAttribute()");
+        } finally {
+            try {
+                delegate.close();
+            } catch (XMLStreamException e) {
+                e.printStackTrace();
+                Assert.fail("XMLStreamException in testAttribute()");
+            }
+        }
+    }
+
+    /**
+     * Tested xml file looks as below: <?xml version="1.0" encoding="UTF-8"?>
+     * <ns1:foo xmlns:ns="http://ns1.java.com" xmlns:ns1="http://ns1.java.com"
+     * xmlns:ns2="http://ns2.java.com" > <!--description-->content text
+     * <![CDATA[<greeting>Hello</greeting>]]> other content </ns1:foo>
+     **/
+    @Test
+    public void testNamespace() {
+        StreamReaderDelegate delegate = null;
+        try {
+            System.out.println("===in testNamespace()===");
+            XMLStreamReader reader = XMLInputFactory.newFactory().createXMLStreamReader(
+                    new FileInputStream(new File(getClass().getResource("testfile2.xml").getFile())));
+            delegate = new StreamReaderDelegate();
+            delegate.setParent(reader);
+            while (delegate.hasNext()) {
+                delegate.next();
+                if (delegate.getEventType() == XMLStreamConstants.START_ELEMENT || delegate.getEventType() == XMLStreamConstants.ATTRIBUTE) {
+
+                    if (delegate.getName().getLocalPart().equals("foo")) {
+                        Assert.assertTrue(("{" + delegate.getNamespaceURI(delegate.getPrefix()) + "}" + delegate.getLocalName()).equals(delegate.getName()
+                                .toString()));
+                        System.out.println(delegate.getLocation());
+
+                        Assert.assertTrue(delegate.getNamespaceCount() == 3);
+                        Assert.assertTrue(delegate.getNamespaceURI().equals("http://ns1.java.com"));
+                        Assert.assertTrue(delegate.getNamespaceURI(2).equals("http://ns2.java.com"));
+                        Assert.assertTrue(delegate.getNamespaceURI("ns").equals("http://ns1.java.com"));
+
+                        Assert.assertTrue(delegate.getNamespacePrefix(1).equals("ns1"));
+
+                        NamespaceContext nsCtx = delegate.getNamespaceContext();
+                        nsCtx.getNamespaceURI("ns");
+                        Iterator prefixes = nsCtx.getPrefixes("http://ns1.java.com");
+                        boolean hasns = false;
+                        boolean hasns1 = false;
+                        while (prefixes.hasNext()) {
+                            String prefix = (String) prefixes.next();
+                            if (prefix.equals("ns")) {
+                                hasns = true;
+                            } else if (prefix.equals("ns1")) {
+                                hasns1 = true;
+                            }
+                        }
+                        Assert.assertTrue(hasns && hasns1);
+                    }
+                }
+            }
+        } catch (FileNotFoundException e) {
+            e.printStackTrace();
+            Assert.fail("FileNotFoundException in testNamespace()");
+        } catch (XMLStreamException e) {
+            e.printStackTrace();
+            System.out.println(delegate.getLocation());
+            Assert.fail("XMLStreamException in testNamespace()");
+        } catch (FactoryConfigurationError e) {
+            e.printStackTrace();
+            Assert.fail("FactoryConfigurationError in testNamespace()");
+        } finally {
+            try {
+                delegate.close();
+            } catch (XMLStreamException e) {
+                e.printStackTrace();
+                Assert.fail("XMLStreamException in testNamespace()");
+            }
+        }
+    }
+
+    /**
+     * <?xml version="1.0" encoding="utf-8" ?> <ns1:foo
+     * xmlns:ns1="http://ns1.java.com" xmlns:ns2="http://ns2.java.com">
+     * <!--description--> content text <![CDATA[<greeting>Hello</greeting>]]>
+     * other content </ns1:foo>
+     **/
+    @Test
+    public void testText() {
+        String property = "javax.xml.stream.isCoalescing";
+        System.out.println("===in testText()====");
+        StreamReaderDelegate delegate = null;
+        try {
+            XMLInputFactory ifac = XMLInputFactory.newFactory();
+            ifac.setProperty(property, Boolean.TRUE);
+            XMLStreamReader reader = ifac.createXMLStreamReader(new FileInputStream(new File(getClass().getResource("testfile3.xml").getFile())), "iso8859-1");
+            delegate = new StreamReaderDelegate();
+            delegate.setParent(reader);
+
+            Assert.assertTrue(delegate.getParent().equals(reader));
+            Assert.assertTrue(delegate.getProperty(property).equals(Boolean.TRUE));
+            Assert.assertTrue(delegate.getCharacterEncodingScheme().equalsIgnoreCase("utf-8"));
+            Assert.assertTrue(delegate.getEncoding().equalsIgnoreCase("iso8859-1"));
+            Assert.assertTrue(delegate.getVersion().equals("1.0"));
+            while (delegate.hasNext()) {
+                delegate.next();
+                if (delegate.getEventType() == XMLStreamConstants.CHARACTERS) {
+                    char[] target1 = new char[delegate.getTextLength()];
+                    delegate.getTextCharacters(delegate.getTextStart(), target1, 0, target1.length);
+                    char[] target2 = delegate.getTextCharacters();
+
+                    Assert.assertTrue(delegate.getText().trim().equals(new String(target1).trim()));
+                    Assert.assertTrue(delegate.getText().trim().equals(new String(target2).trim()));
+                }
+            }
+
+        } catch (FileNotFoundException e) {
+            e.printStackTrace();
+            Assert.fail("FileNotFoundException in testText()");
+        } catch (XMLStreamException e) {
+            e.printStackTrace();
+            System.out.println(delegate.getLocation());
+            Assert.fail("XMLStreamException in testText()");
+        } catch (FactoryConfigurationError e) {
+            e.printStackTrace();
+            Assert.fail("FactoryConfigurationError in testText()");
+        } finally {
+            try {
+                delegate.close();
+            } catch (XMLStreamException e) {
+                e.printStackTrace();
+                Assert.fail("XMLStreamException in testText()");
+            }
+        }
+    }
+
+    @Test
+    public void testWhiteSpace() {
+        System.out.println("===in testWhiteSpace()===");
+        StreamReaderDelegate delegate = null;
+        try {
+            XMLInputFactory ifac = XMLInputFactory.newFactory();
+            ifac.setProperty("javax.xml.stream.isCoalescing", Boolean.TRUE);
+            XMLStreamReader reader = ifac.createXMLStreamReader(new FileInputStream(new File(getClass().getResource("testfile4.xml").getFile())));
+
+            delegate = new StreamReaderDelegate();
+            delegate.setParent(reader);
+            while (delegate.hasNext()) {
+                int i = delegate.next();
+                switch (i) {
+                    case XMLStreamConstants.CHARACTERS: {
+                        Assert.assertTrue(delegate.isCharacters());
+                        Assert.assertTrue(delegate.hasText());
+                        Assert.assertTrue(delegate.isWhiteSpace());
+                        break;
+                    }
+                    case XMLStreamConstants.START_ELEMENT: {
+                        Assert.assertTrue(delegate.isStartElement());
+                        Assert.assertTrue(delegate.isAttributeSpecified(0));
+                        Assert.assertTrue(delegate.hasName());
+                        delegate.require(XMLStreamConstants.START_ELEMENT, delegate.getNamespaceURI(), delegate.getLocalName());
+                        break;
+                    }
+                    case XMLStreamConstants.END_ELEMENT: {
+                        Assert.assertTrue(delegate.isEndElement());
+                        Assert.assertTrue(delegate.hasName());
+                        delegate.require(XMLStreamConstants.END_ELEMENT, delegate.getNamespaceURI(), delegate.getLocalName());
+                        break;
+                    }
+                }
+            }
+        } catch (FileNotFoundException e) {
+            e.printStackTrace();
+            Assert.fail("FileNotFoundException in testWhiteSpace()");
+        } catch (XMLStreamException e) {
+            e.printStackTrace();
+            System.out.println(delegate.getLocation());
+            Assert.fail("XMLStreamException in testWhiteSpace()");
+        } catch (FactoryConfigurationError e) {
+            e.printStackTrace();
+            Assert.fail("FactoryConfigurationError in testWhiteSpace()");
+        } finally {
+            try {
+                delegate.close();
+            } catch (XMLStreamException e) {
+                e.printStackTrace();
+                Assert.fail("XMLStreamException in testWhitespace()");
+            }
+        }
+
+    }
+
+    @Test
+    public void testElementText() {
+        System.out.println("===in testElementText()===");
+        StreamReaderDelegate delegate = null;
+        try {
+            XMLInputFactory ifac = XMLInputFactory.newFactory();
+            XMLStreamReader reader = ifac.createXMLStreamReader(new FileInputStream(new File(getClass().getResource("toys.xml").getFile())));
+
+            delegate = new StreamReaderDelegate();
+            delegate.setParent(reader);
+            while (delegate.hasNext()) {
+                if (delegate.getEventType() == XMLStreamConstants.START_ELEMENT) {
+                    if (delegate.getLocalName().equals("name") || delegate.getLocalName().equals("price")) {
+                        System.out.println(delegate.getElementText());
+                    }
+                    delegate.nextTag();
+                } else {
+                    delegate.next();
+                }
+            }
+        } catch (FileNotFoundException e) {
+            e.printStackTrace();
+            Assert.fail("FileNotFoundException in testElementText()");
+        } catch (XMLStreamException e) {
+            e.printStackTrace();
+            System.out.println(delegate.getLocation());
+            Assert.fail("XMLStreamException in testElementText()");
+        } catch (FactoryConfigurationError e) {
+            e.printStackTrace();
+            Assert.fail("FactoryConfigurationError in testElementText()");
+        } finally {
+            try {
+                delegate.close();
+            } catch (XMLStreamException e) {
+                e.printStackTrace();
+                Assert.fail("XMLStreamException in testElementText()");
+            }
+        }
+    }
+
+    @Test
+    public void testPITargetAndData() {
+        System.out.println("===in testPITargetAndData()===");
+        StreamReaderDelegate delegate = null;
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+            String PITarget = "soffice";
+            String PIData = "WebservicesArchitecture";
+            String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + "<?" + PITarget + " " + PIData + "?>" + "<foo></foo>";
+            InputStream is = new java.io.ByteArrayInputStream(xml.getBytes());
+            XMLStreamReader sr = xif.createXMLStreamReader(is);
+            delegate = new StreamReaderDelegate(sr);
+            while (delegate.hasNext()) {
+                int eventType = delegate.next();
+                if (eventType == XMLStreamConstants.PROCESSING_INSTRUCTION) {
+                    String target = delegate.getPITarget();
+                    String data = delegate.getPIData();
+                    Assert.assertTrue(target.equals(PITarget));
+                    Assert.assertTrue(data.equals(PIData));
+                }
+            }
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            Assert.fail("Exception in testPITargetAndData()");
+        } finally {
+            try {
+                delegate.close();
+            } catch (XMLStreamException e) {
+                e.printStackTrace();
+                Assert.fail("XMLStreamException in testPITargetAndData()");
+            }
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventLocationTest.java	Mon Aug 17 11:18:31 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 stream;
+
+import javax.xml.stream.Location;
+import javax.xml.stream.XMLEventFactory;
+import javax.xml.stream.events.XMLEvent;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLEvent Location.
+ */
+public class XMLEventLocationTest {
+
+    @Test
+    public void testNonNullLocation() {
+        XMLEventFactory factory = XMLEventFactory.newInstance();
+        XMLEvent event = factory.createComment("some comment");
+        Assert.assertNotNull(event.getLocation());
+    }
+
+    @Test
+    public void testSetLocation() {
+        XMLEventFactory factory = XMLEventFactory.newInstance();
+        Location loc = new MyLocation();
+        factory.setLocation(loc);
+        XMLEvent event = factory.createComment("some comment");
+        Assert.assertEquals(event.getLocation().getLineNumber(), 15);
+    }
+
+    class MyLocation implements Location {
+        public MyLocation() {
+        }
+
+        public int getCharacterOffset() {
+            return 5;
+        }
+
+        public int getColumnNumber() {
+            return 10;
+        }
+
+        public int getLineNumber() {
+            return 15;
+        }
+
+        public String getPublicId() {
+            return "-//My//DTD Public Id//EN";
+        }
+
+        public String getSystemId() {
+            return "http://example.org/system/id";
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/Bug6489890.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,73 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLEventReaderTest;
+
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.events.XMLEvent;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6489890
+ * @summary Test XMLEventReader's initial state is an undefined state, and nextEvent() is START_DOCUMENT.
+ */
+public class Bug6489890 {
+
+    @Test
+    public void test0() {
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+
+            XMLStreamReader xsr = xif.createXMLStreamReader(getClass().getResource("sgml.xml").toString(), getClass().getResourceAsStream("sgml.xml"));
+
+            XMLEventReader xer = xif.createXMLEventReader(xsr);
+
+            Assert.assertTrue(xer.peek().getEventType() == XMLEvent.START_DOCUMENT);
+            Assert.assertTrue(xer.peek() == xer.nextEvent());
+            xsr.close();
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    @Test
+    public void test1() {
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+
+            XMLStreamReader xsr = xif.createXMLStreamReader(getClass().getResource("sgml.xml").toString(), getClass().getResourceAsStream("sgml.xml"));
+
+            XMLEventReader xer = xif.createXMLEventReader(xsr);
+
+            Assert.assertTrue(xer.nextEvent().getEventType() == XMLEvent.START_DOCUMENT);
+            xsr.close();
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/Bug6555001.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,104 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLEventReaderTest;
+
+import java.io.StringReader;
+
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.events.EntityReference;
+import javax.xml.stream.events.XMLEvent;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6555001
+ * @summary Test StAX parser replaces the entity reference as setting.
+ */
+public class Bug6555001 {
+    private static final String XML = "" + "<!DOCTYPE doc SYSTEM 'file:///tmp/this/does/not/exist/but/that/is/ok' [" + "<!ENTITY def '<para/>'>" + "]>"
+            + "<doc>&def;&undef;</doc>";
+
+    @Test
+    public void testReplacing() throws Exception {
+        XMLInputFactory factory = XMLInputFactory.newInstance();
+        factory.setProperty("javax.xml.stream.isReplacingEntityReferences", true);
+
+        StringReader sr = new StringReader(XML);
+        XMLEventReader reader = factory.createXMLEventReader(sr);
+
+        boolean sawUndef = false;
+        boolean sawDef = false;
+
+        while (reader.hasNext()) {
+            XMLEvent event = reader.nextEvent();
+            // System.out.println("Event: " + event);
+            if (event.isEntityReference()) {
+                EntityReference ref = (EntityReference) event;
+                if ("def".equals(ref.getName())) {
+                    sawDef = true;
+                } else if ("undef".equals(ref.getName())) {
+                    sawUndef = true;
+                } else {
+                    throw new IllegalArgumentException("Unexpected entity name");
+                }
+            }
+        }
+
+        Assert.assertEquals(false, sawDef);
+        Assert.assertEquals(true, sawUndef);
+        reader.close();
+    }
+
+    @Test
+    public void testNotReplacing() throws Exception {
+        XMLInputFactory factory = XMLInputFactory.newInstance();
+        factory.setProperty("javax.xml.stream.isReplacingEntityReferences", false);
+
+        StringReader sr = new StringReader(XML);
+        XMLEventReader reader = factory.createXMLEventReader(sr);
+
+        boolean sawUndef = false;
+        boolean sawDef = false;
+
+        while (reader.hasNext()) {
+            XMLEvent event = reader.nextEvent();
+            // System.out.println("Event: " + event);
+            if (event.isEntityReference()) {
+                EntityReference ref = (EntityReference) event;
+                if ("def".equals(ref.getName())) {
+                    sawDef = true;
+                } else if ("undef".equals(ref.getName())) {
+                    sawUndef = true;
+                } else {
+                    throw new IllegalArgumentException("Unexpected entity name");
+                }
+            }
+        }
+
+        Assert.assertEquals(true, sawDef);
+        Assert.assertEquals(true, sawUndef);
+        reader.close();
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/Bug6586466Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,62 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLEventReaderTest;
+
+import org.testng.annotations.Test;
+import org.testng.Assert;
+import java.io.ByteArrayInputStream;
+
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.events.XMLEvent;
+
+/*
+ * @bug 6586466
+ * @summary Test XMLEventReader.nextTag() shall update internal event state.
+ */
+public class Bug6586466Test {
+
+    @Test
+    public void test() {
+        String xmlData = "<?xml version=\"1.0\"?><Test>Hello</Test>";
+        try {
+            XMLEventReader xmlReader = XMLInputFactory.newInstance().createXMLEventReader(new ByteArrayInputStream(xmlData.getBytes()));
+
+            XMLEvent event = xmlReader.nextEvent();
+            System.out.println(event.getClass());
+
+            // xmlReader.peek(); // error in both cases with/without peek()
+            event = xmlReader.nextTag(); // nextEvent() would work fine
+            // nextTag() forgets to set fLastEvent
+            System.out.println(event.getClass());
+
+            String text = xmlReader.getElementText();
+            System.out.println(text);
+        } catch (XMLStreamException e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/Bug6613059Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,85 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLEventReaderTest;
+
+import org.testng.annotations.Test;
+import org.testng.Assert;
+import javax.xml.namespace.QName;
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.events.XMLEvent;
+
+/*
+ * @bug 6613059
+ * @summary Test XMLEventReader.nextTag() shall update internal event state, same as 6586466.
+ */
+public class Bug6613059Test {
+
+    @Test
+    public void test() {
+        String xmlFile = "bug6613059.xml";
+        XMLEventReader xer = null;
+        XMLInputFactory xif = XMLInputFactory.newInstance();
+        try {
+            xer = xif.createXMLEventReader(xif.createXMLStreamReader(getClass().getResource(xmlFile).getFile(), getClass().getResourceAsStream(xmlFile)));
+        } catch (XMLStreamException e) {
+            System.out.println("Error while reading XML: " + e.getClass().getName() + " " + e.getMessage());
+        }
+
+        try {
+            while (xer.hasNext()) {
+                XMLEvent event = xer.nextTag();
+                if (event.isEndElement() && event.asEndElement().getName().equals(new QName("menubar"))) {
+                    break;
+                }
+
+                if (event.asStartElement().getName().equals(new QName("menu"))) {
+                    // nextTag should be used when processing element-only
+                    // content, assuming "addMenu" in
+                    // the user's code handles the menu part properly
+                    addMenu(xer, event);
+                }
+
+            }
+        } catch (XMLStreamException e) {
+            Assert.fail("Exception while reading " + xmlFile + ": " + e.getClass().getName() + " " + e.getMessage());
+        }
+    }
+
+    void addMenu(XMLEventReader xer, XMLEvent event) throws XMLStreamException {
+        // user did not submit this part of code, just jump to the end of menu
+        // element
+        int eventType = 0;
+        while (true) {
+            event = xer.nextEvent();
+            // System.out.println("event: " + event);
+            eventType = event.getEventType();
+            if (eventType == XMLStreamConstants.END_ELEMENT && event.asEndElement().getName().equals(new QName("menu"))) {
+                break;
+            }
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/Bug6668115Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,97 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLEventReaderTest;
+
+import java.io.File;
+
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.events.XMLEvent;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6668115
+ * @summary Test XMLEventReader.getElementText() shall update last event even if no peek.
+ */
+public class Bug6668115Test {
+
+    public java.io.File input;
+    public final String filesDir = "./";
+    protected XMLInputFactory inputFactory;
+    protected XMLOutputFactory outputFactory;
+
+    /**
+     * The reason the following call sequence is a problem is that with a
+     * peekevent, getElementText calls nextEvent which does properly update the
+     * lastEvent
+     */
+    @Test
+    public void testNextTag() {
+        try {
+            XMLEventReader er = getReader();
+            er.nextTag();
+            er.nextTag();
+
+            System.out.println(er.getElementText());
+            er.nextTag();
+            System.out.println(er.getElementText());
+
+        } catch (Exception e) {
+            System.out.println(e.getMessage());
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    @Test
+    public void testNextTagWPeek() {
+        try {
+            XMLEventReader er = getReader();
+            er.nextTag();
+            er.nextTag();
+
+            XMLEvent event = er.peek();
+            System.out.println(er.getElementText());
+            er.nextTag();
+            System.out.println(er.getElementText());
+
+        } catch (Exception e) {
+            System.out.println(e.getMessage());
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    private XMLEventReader getReader() throws Exception {
+        inputFactory = XMLInputFactory.newInstance();
+        input = new File(getClass().getResource("play2.xml").getFile());
+        // Check if event reader returns the correct event
+        XMLEventReader er = inputFactory.createXMLEventReader(inputFactory.createXMLStreamReader(new java.io.FileInputStream(input), "UTF-8"));
+        return er;
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/Bug6846133Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,79 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLEventReaderTest;
+
+import javax.xml.stream.XMLStreamException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6846133
+ * @summary Test method getDocumentTypeDeclaration() of DTD Event returns a valid value.
+ */
+public class Bug6846133Test {
+    private static final String xml = "<!DOCTYPE html PUBLIC \"-//W3C//DTDXHTML 1.0 Transitional//EN\" "
+            + "\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">" + "<html><body><p>I am some simple html</p></body> </html>";
+
+    @Test
+    public void test() {
+        try {
+            javax.xml.stream.XMLInputFactory factory = javax.xml.stream.XMLInputFactory.newInstance();
+            factory.setXMLResolver(new DTDResolver());
+            factory.setProperty(javax.xml.stream.XMLInputFactory.SUPPORT_DTD, true);
+            factory.setProperty(javax.xml.stream.XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, true);
+            java.io.ByteArrayInputStream is = new java.io.ByteArrayInputStream(xml.getBytes("UTF-8"));
+
+            // createXMLEventReader (source) not supported
+            // javax.xml.transform.stream.StreamSource source = new
+            // javax.xml.transform.stream.StreamSource (is);
+            // javax.xml.stream.XMLEventReader reader =
+            // factory.createXMLEventReader (source);
+
+            javax.xml.stream.XMLEventReader reader = factory.createXMLEventReader(is);
+            while (reader.hasNext()) {
+                javax.xml.stream.events.XMLEvent event = reader.nextEvent();
+                if (event.getEventType() == javax.xml.stream.XMLStreamConstants.DTD) {
+                    String temp = ((javax.xml.stream.events.DTD) event).getDocumentTypeDeclaration();
+                    if (temp.length() < 120) {
+                        Assert.fail("DTD truncated");
+                    }
+                    System.out.println(temp);
+                }
+            }
+        } catch (XMLStreamException xe) {
+            Assert.fail(xe.getMessage());
+        } catch (Exception e) {
+            e.printStackTrace();
+        }
+    }
+
+    class DTDResolver implements javax.xml.stream.XMLResolver {
+        public Object resolveEntity(String arg0, String arg1, String arg2, String arg3) throws XMLStreamException {
+            System.out.println("DTD is parsed");
+            return new java.io.ByteArrayInputStream(new byte[0]);
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/Issue40Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,96 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLEventReaderTest;
+
+import java.io.File;
+
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.events.XMLEvent;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLEventReader.getElementText() works after calling peek().
+ */
+public class Issue40Test {
+
+    public java.io.File input;
+    public final String filesDir = "./";
+    protected XMLInputFactory inputFactory;
+    protected XMLOutputFactory outputFactory;
+
+    /**
+     * test without peek
+     */
+    @Test
+    public void testWOPeek() {
+        try {
+            XMLEventReader er = getReader();
+            XMLEvent e = er.nextEvent();
+            Assert.assertEquals(e.getEventType(), XMLStreamConstants.START_DOCUMENT);
+            // we have two start elements in this file
+            Assert.assertEquals(er.nextEvent().getEventType(), XMLStreamConstants.START_ELEMENT);
+            Assert.assertEquals(er.nextEvent().getEventType(), XMLStreamConstants.START_ELEMENT);
+            System.out.println(er.getElementText());
+
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    /**
+     * test with peek
+     */
+    @Test
+    public void testWPeek() {
+        try {
+            XMLEventReader er = getReader();
+            XMLEvent e = er.nextEvent();
+            Assert.assertEquals(e.getEventType(), XMLStreamConstants.START_DOCUMENT);
+            // we have two start elements in this file
+            while (er.peek().getEventType() == XMLStreamConstants.START_ELEMENT) {
+                e = er.nextEvent();
+            }
+            Assert.assertEquals(e.getEventType(), XMLStreamConstants.START_ELEMENT);
+            System.out.println(er.getElementText());
+
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    private XMLEventReader getReader() throws Exception {
+        inputFactory = XMLInputFactory.newInstance();
+        input = new File(getClass().getResource("play.xml").getFile());
+
+        // Check if event reader returns the correct event
+        XMLEventReader er = inputFactory.createXMLEventReader(inputFactory.createXMLStreamReader(new java.io.FileInputStream(input), "UTF-8"));
+        return er;
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/bug6613059.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,20 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<menubar>
+	<menu>
+		<id>file</id>
+		<item>
+			<id>exit</id>
+			<method>doExit 0</method>
+			<type>all</type>
+		</item>
+	</menu>
+	<menu>
+		<id>edit</id>
+		<item>
+			<id>prefs</id>
+			<method>showPrefsWindow 0</method>
+			<type>all</type>
+		</item>
+	</menu>
+</menubar>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/play.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,4 @@
+<?xml version="1.0"?><PLAY><TITLE>
+    The Tragedy of Hamlet
+    Prince of Denmark</TITLE></PLAY>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/play2.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,9 @@
+<?xml version="1.0"?><PLAY><TITLE>
+         The Tragedy of Hamlet
+         Prince of Denmark
+</TITLE>
+<AUTHOR>
+         William Shakespeare
+</AUTHOR>
+</PLAY>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/sgml.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,100 @@
+<report>
+<title>Getting started with SGML</title>
+<chapter>
+<title>The business challenge</title>
+<intro>
+<para>With the ever-changing and growing global market, companies and
+ large organizations are searching for ways to become more viable and
+ competitive. Downsizing and other cost-cutting measures demand more
+ efficient use of corporate resources. One very important resource is
+ an organization's information.</para>
+<para>As part of the move toward integrated information management,
+whole industries are developing and implementing standards for
+exchanging technical information. This report describes how one such
+standard, the Standard Generalized Markup Language (SGML), works as
+part of an overall information management strategy.</para>
+<graphic graphname="infoflow"/></intro></chapter>
+<chapter>
+<title>Getting to know SGML</title>
+<intro>
+<para>While SGML is a fairly recent technology, the use of
+<emph>markup</emph> in computer-generated documents has existed for a
+while.</para></intro>
+<section shorttitle="What is markup?">
+<title>What is markup, or everything you always wanted to know about
+document preparation but were afraid to ask?</title>
+<intro>
+<para>Markup is everything in a document that is not content. The
+traditional meaning of markup is the manual <emph>marking</emph> up
+of typewritten text to give instructions for a typesetter or
+compositor about how to fit the text on a page and what typefaces to
+use. This kind of markup is known as <emph>procedural markup</emph>.</para></intro>
+<topic topicid="top1">
+<title>Procedural markup</title>
+<para>Most electronic publishing systems today use some form of
+procedural markup. Procedural markup codes are good for one
+presentation of the information.</para></topic>
+<topic topicid="top2">
+<title>Generic markup</title>
+<para>Generic markup (also known as descriptive markup) describes the
+<emph>purpose</emph> of the text in a document. A basic concept of
+generic markup is that the content of a document must be separate from
+the style. Generic markup allows for multiple presentations of the
+information.</para></topic>
+<topic topicid="top3">
+<title>Drawbacks of procedural markup</title>
+<para>Industries involved in technical documentation increasingly
+prefer generic over procedural markup schemes. When a company changes
+software or hardware systems, enormous data translation tasks arise,
+often resulting in errors.</para></topic></section>
+<section shorttitle="What is SGML?">
+<title>What <emph>is</emph> SGML in the grand scheme of the universe, anyway?</title>
+<intro>
+<para>SGML defines a strict markup scheme with a syntax for defining
+document data elements and an overall framework for marking up
+documents.</para>
+<para>SGML can describe and create documents that are not dependent on
+any hardware, software, formatter, or operating system. Since SGML documents
+conform to an international standard, they are portable.</para></intro></section>
+<section shorttitle="How does SGML work?">
+<title>How is SGML and would you recommend it to your grandmother?</title>
+<intro>
+<para>You can break a typical document into three layers: structure,
+content, and style. SGML works by separating these three aspects and
+deals mainly with the relationship between structure and content.</para></intro>
+<topic topicid="top4">
+<title>Structure</title>
+<para>At the heart of an SGML application is a file called the DTD, or
+Document Type Definition. The DTD sets up the structure of a document,
+much like a database schema describes the types of information it
+handles.</para>
+<para>A database schema also defines the relationships between the
+various types of data. Similarly, a DTD specifies <emph>rules</emph>
+to help ensure documents have a consistent, logical structure.</para></topic>
+<topic topicid="top5">
+<title>Content</title>
+<para>Content is the information itself. The method for identifying
+the information and its meaning within this framework is called
+<emph>tagging</emph>. Tagging must
+conform to the rules established in the DTD (see <xref xrefid="top4"/>).</para>
+<graphic graphname="tagexamp"/></topic>
+<topic topicid="top6">
+<title>Style</title>
+<para>SGML does not standardize style or other processing methods for
+information stored in SGML.</para></topic></section></chapter>
+<chapter>
+<title>Resources</title>
+<section>
+<title>Conferences, tutorials, and training</title>
+<intro>
+<para>The Graphic Communications Association has been
+instrumental in the development of SGML. GCA provides conferences,
+tutorials, newsletters, and publication sales for both members and
+non-members.</para>
+<para security="c">Exiled members of the former Soviet Union's secret
+police, the KGB, have infiltrated the upper ranks of the GCA and are
+planning the Final Revolution as soon as DSSSL is completed.</para>
+</intro>
+</section>
+</chapter>
+</report>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/ReaderToWriterTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,210 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLEventWriterTest;
+
+import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.FileOutputStream;
+import java.io.InputStream;
+import java.io.OutputStream;
+
+import javax.xml.stream.XMLEventFactory;
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLEventWriter;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.events.XMLEvent;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLEventWriter.
+ */
+public class ReaderToWriterTest {
+
+    private static final XMLEventFactory XML_EVENT_FACTORY = XMLEventFactory.newInstance();
+    private static final XMLInputFactory XML_INPUT_FACTORY = XMLInputFactory.newInstance();
+    private static final XMLOutputFactory XML_OUTPUT_FACTORY = XMLOutputFactory.newInstance();
+
+    private static final String INPUT_FILE = "W2JDLR4002TestService.wsdl.data";
+    private static final String OUTPUT_FILE = "Encoded.wsdl";
+
+    /**
+     * Unit test for writing namespaces when namespaceURI == null.
+     */
+    @Test
+    public void testWriteNamespace() {
+
+        /** Platform default encoding. */
+        final String DEFAULT_CHARSET = java.nio.charset.Charset.defaultCharset().name();
+        System.out.println("DEFAULT_CHARSET = " + DEFAULT_CHARSET);
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" encoding=\"" + DEFAULT_CHARSET + "\"?><prefix:root xmlns=\"\" xmlns:null=\"\"></prefix:root>";
+        final String EXPECTED_OUTPUT_NO_ENCODING = "<?xml version=\"1.0\"?><prefix:root xmlns=\"\" xmlns:null=\"\"></prefix:root>";
+
+        // new Writer
+        XMLEventWriter xmlEventWriter = null;
+        ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
+        try {
+            xmlEventWriter = XML_OUTPUT_FACTORY.createXMLEventWriter(byteArrayOutputStream);
+        } catch (XMLStreamException xmlStreamException) {
+            xmlStreamException.printStackTrace();
+            Assert.fail(xmlStreamException.toString());
+        }
+
+        try {
+            // start a valid event stream
+            XMLEvent startDocumentEvent = XML_EVENT_FACTORY.createStartDocument(DEFAULT_CHARSET);
+            XMLEvent startElementEvent = XML_EVENT_FACTORY.createStartElement("prefix", "http://example.com", "root");
+            xmlEventWriter.add(startDocumentEvent);
+            xmlEventWriter.add(startElementEvent);
+
+            // try using a null default namespaceURI
+            XMLEvent namespaceEvent = XML_EVENT_FACTORY.createNamespace(null);
+            xmlEventWriter.add(namespaceEvent);
+
+            // try using a null prefix'd namespaceURI
+            XMLEvent namespacePrefixEvent = XML_EVENT_FACTORY.createNamespace("null", null);
+            xmlEventWriter.add(namespacePrefixEvent);
+
+            // close event stream
+            XMLEvent endElementEvent = XML_EVENT_FACTORY.createEndElement("prefix", "http://example.com", "root");
+            XMLEvent endDocumentEvent = XML_EVENT_FACTORY.createEndDocument();
+            xmlEventWriter.add(endElementEvent);
+            xmlEventWriter.add(endDocumentEvent);
+            xmlEventWriter.flush();
+        } catch (XMLStreamException xmlStreamException) {
+            xmlStreamException.printStackTrace();
+            Assert.fail(xmlStreamException.toString());
+        }
+
+        // get XML document as String
+        String actualOutput = byteArrayOutputStream.toString();
+
+        // is output as expected?
+        if (!actualOutput.equals(EXPECTED_OUTPUT) && !actualOutput.equals(EXPECTED_OUTPUT_NO_ENCODING)) {
+            Assert.fail("Expected: " + EXPECTED_OUTPUT + ", actual: " + actualOutput);
+        }
+    }
+
+    /**
+     * Test: 6419687 NPE in XMLEventWriterImpl.
+     */
+    @Test
+    public void testCR6419687() {
+
+        try {
+            InputStream in = getClass().getResourceAsStream("ReaderToWriterTest.wsdl");
+            OutputStream out = new FileOutputStream("ReaderToWriterTest-out.xml");
+
+            XMLEventReader reader = XML_INPUT_FACTORY.createXMLEventReader(in);
+            XMLEventWriter writer = XML_OUTPUT_FACTORY.createXMLEventWriter(out, "UTF-8");
+            while (reader.hasNext()) {
+                XMLEvent event = reader.nextEvent();
+                writer.add(event);
+            }
+            reader.close();
+            writer.close();
+        } catch (XMLStreamException xmlStreamException) {
+            xmlStreamException.printStackTrace();
+            Assert.fail(xmlStreamException.toString());
+        } catch (FileNotFoundException fileNotFoundException) {
+            fileNotFoundException.printStackTrace();
+            Assert.fail(fileNotFoundException.toString());
+        }
+    }
+
+    /*
+     * Reads UTF-16 encoding file and writes it to UTF-8 encoded format.
+     */
+    @Test
+    public void testUTF8Encoding() {
+        try {
+            InputStream in = util.BOMInputStream.createStream("UTF-16BE", this.getClass().getResourceAsStream(INPUT_FILE));
+            OutputStream out = new FileOutputStream(OUTPUT_FILE);
+
+            XMLEventReader reader = XML_INPUT_FACTORY.createXMLEventReader(in);
+            XMLEventWriter writer = XML_OUTPUT_FACTORY.createXMLEventWriter(out, "UTF-8");
+
+            writeEvents(reader, writer);
+            checkOutput(OUTPUT_FILE);
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        } finally {
+            File file = new File(OUTPUT_FILE);
+            if (file.exists())
+                file.delete();
+        }
+    }
+
+    private void writeEvents(XMLEventReader reader, XMLEventWriter writer) throws XMLStreamException {
+        while (reader.hasNext()) {
+            XMLEvent event = reader.nextEvent();
+            writer.add(event);
+        }
+        reader.close();
+        writer.close();
+    }
+
+    private void checkOutput(String output) throws Exception {
+        InputStream in = new FileInputStream(output);
+        XMLEventReader reader = XML_INPUT_FACTORY.createXMLEventReader(in);
+        while (reader.hasNext()) {
+            reader.next();
+        }
+        reader.close();
+    }
+
+    /*
+     * Reads UTF-16 encoding file and writes it with default encoding.
+     */
+    @Test
+    public void testNoEncoding() {
+        try {
+            InputStream in = util.BOMInputStream.createStream("UTF-16BE", this.getClass().getResourceAsStream(INPUT_FILE));
+            OutputStream out = new FileOutputStream(OUTPUT_FILE);
+
+            XMLEventReader reader = XML_INPUT_FACTORY.createXMLEventReader(in);
+            XMLEventWriter writer = XML_OUTPUT_FACTORY.createXMLEventWriter(out);
+
+            writeEvents(reader, writer);
+            checkOutput(OUTPUT_FILE);
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        } finally {
+            File file = new File(OUTPUT_FILE);
+            if (file.exists())
+                file.delete();
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/ReaderToWriterTest.wsdl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,523 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+
+<wsdl:definitions name = "Untitled" targetNamespace = "http://web.services.galileo.someCompany.com/checkAddressImpl" xmlns:ns0 = "http://someCompany.com/fss/services/Portal_checkAddress_request" xmlns:ns1 = "http://someCompany.com/fss/services/Portal_checkAddress_result" xmlns:soap = "http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns = "http://web.services.galileo.someCompany.com/checkAddressImpl" xmlns:tnsi = "http://web.services.galileo.someCompany.com/internal/checkAddress" xmlns:wsdl = "http://schemas.xmlsoap.org/wsdl/" xmlns:xs = "http://www.w3.org/2001/XMLSchema">
+	<wsdl:types>
+		<xsd:schema attributeFormDefault = "unqualified" elementFormDefault = "qualified" targetNamespace = "http://someCompany.com/fss/services/Portal_checkAddress_result" xml:lang = "de" xmlns = "http://someCompany.com/fss/services/Portal_checkAddress_result" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
+			<!-- commonMessageHeaderResult-->
+			<xsd:element name = "commonMessageHeaderResult">
+				<xsd:annotation xmlns = "">
+					<xsd:documentation>Comment describing your root element</xsd:documentation>
+				</xsd:annotation>
+				<xsd:complexType>
+					<xsd:sequence>
+						<xsd:element name = "sourceSystem" type = "xsd:string"/>
+						<xsd:element name = "eventID">
+							<xsd:simpleType>
+								<xsd:restriction base = "xsd:string">
+									<xsd:minLength value = "1"/>
+									<xsd:maxLength value = "30"/>
+								</xsd:restriction>
+							</xsd:simpleType>
+						</xsd:element>
+						<xsd:element name = "timeStamp" type = "xsd:dateTime"/>
+						<xsd:element minOccurs = "0" name = "eaiErrorID" type = "xsd:string"/>
+						<xsd:element name = "serviceName" type = "xsd:string"/>
+					</xsd:sequence>
+				</xsd:complexType>
+			</xsd:element>
+			<xsd:annotation>
+				<xsd:documentation>Canonical Data Model for service checkAddress (result)</xsd:documentation>
+				<xsd:documentation>Generation Date: 20.12.2005</xsd:documentation>
+				<xsd:documentation>naming convention for prefixes:
+       CDM  - object type
+       DOM  - reference data type
+				</xsd:documentation>
+			</xsd:annotation>
+			<xsd:complexType name = "CDM_Address_Check_Response_Result">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+				<xsd:sequence>
+					<xsd:element name = "overallResult" type = "xsd:integer"/>
+					<xsd:element name = "overallRemark">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "1000"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element maxOccurs = "unbounded" minOccurs = "0" name = "Single_Checked_Address" type = "ns1:CDM_Single_Checked_Address_Result"/>
+				</xsd:sequence>
+			</xsd:complexType>
+			<xsd:complexType name = "CDM_Location_Address_Result">
+				<xsd:annotation>
+					<xsd:documentation>physical existing postal address</xsd:documentation>
+				</xsd:annotation>
+				<xsd:sequence>
+					<xsd:element minOccurs = "0" name = "zipCode">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "12"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "city">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "30"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "street">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "55"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "houseNumber">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "6"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "POBox">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "10"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "additionalInformation1">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "55"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "additionalInformation2">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "55"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "branch">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "80"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "site">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "50"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "department">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "100"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "validTo" type = "xsd:date"/>
+					<xsd:element minOccurs = "0" name = "checked" type = "xsd:boolean"/>
+					<xsd:element minOccurs = "0" name = "validFrom" type = "xsd:date"/>
+					<xsd:element minOccurs = "0" name = "active" type = "xsd:boolean"/>
+					<xsd:element minOccurs = "0" name = "Country_Code" type = "ns1:DOM_Country_Code_Result"/>
+					<xsd:element minOccurs = "0" name = "Address_Type" type = "ns1:DOM_Address_Type_Result"/>
+					<xsd:element minOccurs = "0" name = "zoneInformation" type = "ns1:CDM_Zone_Information_Result"/>
+					<xsd:element minOccurs = "0" name = "addressee_ref" type = "ns1:foreign_key"/>
+					<xsd:element minOccurs = "0" name = "contactAddressee_ref" type = "ns1:foreign_key"/>
+				</xsd:sequence>
+			</xsd:complexType>
+			<xsd:complexType name = "CDM_Single_Checked_Address_Result">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+				<xsd:sequence>
+					<xsd:element name = "result" type = "xsd:integer"/>
+					<xsd:element name = "remark">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "1000"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element maxOccurs = "unbounded" minOccurs = "0" name = "Location_Address" type = "ns1:CDM_Location_Address_Result"/>
+				</xsd:sequence>
+			</xsd:complexType>
+			<xsd:complexType name = "CDM_Zone_Information_Result">
+				<xsd:annotation>
+					<xsd:documentation>Address with special geographical information (GIS)</xsd:documentation>
+				</xsd:annotation>
+				<xsd:sequence>
+					<xsd:element minOccurs = "0" name = "intersection1">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "200"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "intersection2">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "200"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "xCoordinate" type = "xsd:integer"/>
+					<xsd:element minOccurs = "0" name = "yCoordinate" type = "xsd:integer"/>
+					<xsd:element minOccurs = "0" name = "radius" type = "xsd:double"/>
+					<xsd:element minOccurs = "0" name = "cells" type = "xsd:integer"/>
+					<xsd:element minOccurs = "0" name = "homezoneCheckPerformed" type = "xsd:boolean"/>
+					<xsd:element minOccurs = "0" name = "highSpeed" type = "xsd:boolean"/>
+					<xsd:element minOccurs = "0" name = "localAreaCode">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "10"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "forecastDate" type = "xsd:date"/>
+					<xsd:element minOccurs = "0" name = "Zone_Type" type = "ns1:DOM_Zone_Type_Result"/>
+					<xsd:element minOccurs = "0" name = "referredLocation_ref" type = "ns1:foreign_key"/>
+				</xsd:sequence>
+			</xsd:complexType>
+			<xsd:simpleType name = "DOM_Address_Type_Result">
+				<xsd:restriction base = "xsd:string">
+					<xsd:enumeration value = "main_address"/>
+					<xsd:enumeration value = "shipping_address"/>
+					<xsd:enumeration value = "billing_address"/>
+					<xsd:enumeration value = "previous_address"/>
+					<xsd:enumeration value = "customer_reward_program"/>
+					<xsd:enumeration value = "Packstation"/>
+				</xsd:restriction>
+			</xsd:simpleType>
+			<xsd:simpleType name = "DOM_Country_Code_Result">
+				<xsd:restriction base = "xsd:string">
+					<xsd:enumeration value = "DEU">
+						<xsd:annotation>
+							<xsd:documentation>Deutschland</xsd:documentation>
+						</xsd:annotation>
+					</xsd:enumeration>
+				</xsd:restriction>
+			</xsd:simpleType>
+			<xsd:simpleType name = "DOM_Zone_Type_Result">
+				<xsd:restriction base = "xsd:string">
+					<xsd:enumeration value = "PWI"/>
+					<xsd:enumeration value = "GEN"/>
+				</xsd:restriction>
+			</xsd:simpleType>
+			<xsd:simpleType name = "NOT_AVAILABLE_YET">
+				<xsd:restriction base = "xsd:string"/>
+			</xsd:simpleType>
+			<xsd:complexType name = "Portal_message_checkAddress_result_type">
+				<xsd:sequence>
+					<xsd:element minOccurs = "0" name = "Address_Check_Response" type = "ns1:CDM_Address_Check_Response_Result"/>
+				</xsd:sequence>
+			</xsd:complexType>
+			<xsd:simpleType name = "foreign_key">
+				<xsd:restriction base = "xsd:string"/>
+			</xsd:simpleType>
+			<xsd:element name = "Portal_message_checkAddress_result" type = "ns1:Portal_message_checkAddress_result_type"/>
+			<!-- Portal_checkAddressResult-->
+			<xsd:complexType name = "Portal_checkAddress_result">
+				<xsd:sequence>
+					<xsd:element ref = "ns1:commonMessageHeaderResult">
+						<xsd:annotation xmlns = "">
+							<xsd:documentation>Comment describing your root element</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element ref = "ns1:Portal_message_checkAddress_result"/>
+				</xsd:sequence>
+			</xsd:complexType>
+		</xsd:schema>
+		<xsd:schema attributeFormDefault = "unqualified" elementFormDefault = "qualified" targetNamespace = "http://someCompany.com/fss/services/Portal_checkAddress_request" xml:lang = "de" xmlns = "http://someCompany.com/fss/services/Portal_checkAddress_request" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
+			<!-- commonMessageHeader-->
+			<xsd:element name = "commonMessageHeader">
+				<xsd:annotation xmlns = "">
+					<xsd:documentation>Comment describing your root element</xsd:documentation>
+				</xsd:annotation>
+				<xsd:complexType>
+					<xsd:sequence>
+						<xsd:element name = "sourceSystem" type = "xsd:string"/>
+						<xsd:element name = "eventID">
+							<xsd:simpleType>
+								<xsd:restriction base = "xsd:string">
+									<xsd:minLength value = "1"/>
+									<xsd:maxLength value = "30"/>
+								</xsd:restriction>
+							</xsd:simpleType>
+						</xsd:element>
+						<xsd:element name = "timeStamp" type = "xsd:dateTime"/>
+						<xsd:element minOccurs = "0" name = "eaiErrorID" type = "xsd:string"/>
+						<xsd:element name = "serviceName" type = "xsd:string"/>
+					</xsd:sequence>
+				</xsd:complexType>
+			</xsd:element>
+			<xsd:annotation>
+				<xsd:documentation>Canonical Data Model for service checkAddress</xsd:documentation>
+				<xsd:documentation>Generation Date: 20.12.2005</xsd:documentation>
+				<xsd:documentation>naming convention for prefixes:
+       CDM  - object type
+       DOM  - reference data type
+    
+				</xsd:documentation>
+			</xsd:annotation>
+			<xsd:complexType name = "CDM_Location_Address">
+				<xsd:annotation>
+					<xsd:documentation>physical existing postal address</xsd:documentation>
+				</xsd:annotation>
+				<xsd:sequence>
+					<xsd:element name = "zipCode">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "12"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element name = "city">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "30"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "street">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "55"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "houseNumber">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "6"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "POBox">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "10"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "additionalInformation1">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "55"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "additionalInformation2">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "55"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "branch">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "80"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "site">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "50"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "department">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "100"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "validTo" type = "xsd:date"/>
+					<xsd:element minOccurs = "0" name = "checked" type = "xsd:boolean"/>
+					<xsd:element minOccurs = "0" name = "validFrom" type = "xsd:date"/>
+					<xsd:element minOccurs = "0" name = "active" type = "xsd:boolean"/>
+					<xsd:element name = "Country_Code" type = "ns0:DOM_Country_Code"/>
+					<xsd:element minOccurs = "0" name = "Address_Type" type = "ns0:DOM_Address_Type"/>
+					<xsd:element minOccurs = "0" name = "zoneInformation" type = "ns0:CDM_Zone_Information"/>
+					<xsd:element minOccurs = "0" name = "addressee_ref" type = "ns0:foreign_key"/>
+					<xsd:element minOccurs = "0" name = "contactAddressee_ref" type = "ns0:foreign_key"/>
+				</xsd:sequence>
+			</xsd:complexType>
+			<xsd:complexType name = "CDM_Zone_Information">
+				<xsd:annotation>
+					<xsd:documentation>Address with special geographical information (GIS)</xsd:documentation>
+				</xsd:annotation>
+				<xsd:sequence>
+					<xsd:element minOccurs = "0" name = "intersection1">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "200"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "intersection2">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "200"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "xCoordinate" type = "xsd:integer"/>
+					<xsd:element minOccurs = "0" name = "yCoordinate" type = "xsd:integer"/>
+					<xsd:element minOccurs = "0" name = "radius" type = "xsd:double"/>
+					<xsd:element minOccurs = "0" name = "cells" type = "xsd:integer"/>
+					<xsd:element minOccurs = "0" name = "homezoneCheckPerformed" type = "xsd:boolean"/>
+					<xsd:element minOccurs = "0" name = "highSpeed" type = "xsd:boolean"/>
+					<xsd:element minOccurs = "0" name = "localAreaCode">
+						<xsd:simpleType>
+							<xsd:restriction base = "xsd:string">
+								<xsd:maxLength value = "10"/>
+								<xsd:minLength value = "0"/>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs = "0" name = "forecastDate" type = "xsd:date"/>
+					<xsd:element minOccurs = "0" name = "Zone_Type" type = "ns0:DOM_Zone_Type"/>
+					<xsd:element minOccurs = "0" name = "referredLocation_ref" type = "ns0:foreign_key"/>
+				</xsd:sequence>
+			</xsd:complexType>
+			<xsd:simpleType name = "DOM_Address_Type">
+				<xsd:restriction base = "xsd:string">
+					<xsd:enumeration value = "main_address"/>
+					<xsd:enumeration value = "shipping_address"/>
+					<xsd:enumeration value = "billing_address"/>
+					<xsd:enumeration value = "previous_address"/>
+					<xsd:enumeration value = "customer_reward_program"/>
+					<xsd:enumeration value = "Packstation"/>
+				</xsd:restriction>
+			</xsd:simpleType>
+			<xsd:simpleType name = "DOM_Country_Code">
+				<xsd:restriction base = "xsd:string">
+					<xsd:enumeration value = "DEU">
+						<xsd:annotation>
+							<xsd:documentation>Deutschland</xsd:documentation>
+						</xsd:annotation>
+					</xsd:enumeration>
+				</xsd:restriction>
+			</xsd:simpleType>
+			<xsd:simpleType name = "DOM_Zone_Type">
+				<xsd:restriction base = "xsd:string">
+					<xsd:enumeration value = "PWI"/>
+					<xsd:enumeration value = "GEN"/>
+				</xsd:restriction>
+			</xsd:simpleType>
+			<xsd:simpleType name = "NOT_AVAILABLE_YET">
+				<xsd:restriction base = "xsd:string"/>
+			</xsd:simpleType>
+			<xsd:complexType name = "Portal_message_checkAddress_type">
+				<xsd:sequence>
+					<xsd:element minOccurs = "0" name = "Location_Address" type = "ns0:CDM_Location_Address"/>
+				</xsd:sequence>
+			</xsd:complexType>
+			<xsd:simpleType name = "foreign_key">
+				<xsd:restriction base = "xsd:string"/>
+			</xsd:simpleType>
+			<xsd:element name = "Portal_message_checkAddress" type = "ns0:Portal_message_checkAddress_type"/>
+			<!-- Portal_checkAddress-->
+			<xsd:complexType name = "Portal_checkAddress">
+				<xsd:sequence>
+					<xsd:element ref = "ns0:commonMessageHeader">
+						<xsd:annotation xmlns = "">
+							<xsd:documentation>Comment describing your root element</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element ref = "ns0:Portal_message_checkAddress"/>
+				</xsd:sequence>
+			</xsd:complexType>
+		</xsd:schema>
+		<xsd:schema attributeFormDefault = "unqualified" elementFormDefault = "qualified" targetNamespace = "http://web.services.galileo.someCompany.com/internal/checkAddress" xml:lang = "de" xmlns = "http://someCompany.com/fss/services/Portal_internal" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
+			<xsd:element name = "HeaderMsg" type = "xsd:string"/>
+			<xsd:element name = "ErrorMsg" type = "xsd:string"/>
+		</xsd:schema>
+	</wsdl:types>
+	<wsdl:message name = "checkAddress">
+		<wsdl:part name = "checkAddress" type = "ns0:Portal_checkAddress"/>
+	</wsdl:message>
+	<wsdl:message name = "checkAddressResult">
+		<wsdl:part name = "checkAddressResult" type = "ns1:Portal_checkAddress_result"/>
+	</wsdl:message>
+	<wsdl:message name = "GenericException">
+		<wsdl:part element = "tnsi:ErrorMsg" name = "error"/>
+	</wsdl:message>
+	<wsdl:message name = "Header">
+		<wsdl:part element = "tnsi:HeaderMsg" name = "HeaderPart"/>
+	</wsdl:message>
+	<wsdl:message name = "HeaderFault">
+		<wsdl:part element = "tnsi:ErrorMsg" name = "HeaderFaultPart"/>
+	</wsdl:message>
+	<wsdl:portType name = "PortType">
+		<wsdl:operation name = "checkAddress">
+			<wsdl:input message = "tns:checkAddress"/>
+			<wsdl:output message = "tns:checkAddressResult"/>
+			<wsdl:fault message = "tns:GenericException" name = "GenericException"/>
+		</wsdl:operation>
+	</wsdl:portType>
+	<wsdl:binding name = "Portal__Portal2BPM__checkAddressBinding" type = "tns:PortType">
+		<soap:binding style = "rpc" transport = "http://schemas.xmlsoap.org/soap/http"/>
+		<wsdl:operation name = "checkAddress">
+			<wsdl:documentation>The operation has no documentation</wsdl:documentation>
+			<soap:operation soapAction = "Portal_Portal2BPM_checkAddress" style = "rpc"/>
+			<wsdl:input>
+				<soap:body namespace = "http://InputMessageNamespace" use = "literal"/>
+				<soap:header message = "tns:Header" part = "HeaderPart" use = "literal">
+					<soap:headerfault message = "tns:HeaderFault" part = "HeaderFaultPart" use = "literal"/>
+				</soap:header>
+			</wsdl:input>
+			<wsdl:output>
+				<soap:body namespace = "http://OutputMessageNamespace" use = "literal"/>
+			</wsdl:output>
+			<wsdl:fault name = "GenericException">
+				<soap:fault name = "GenericException" use = "literal"/>
+			</wsdl:fault>
+		</wsdl:operation>
+	</wsdl:binding>
+	<wsdl:service name = "Portal__Portal2BPM__checkAddress">
+		<wsdl:port binding = "tns:Portal__Portal2BPM__checkAddressBinding" name = "Portal__Portal2BPM__checkAddressHttpPort">
+			<soap:address location = "http://tibco13413008:2020/Business__Processes/Adapter__Services/Portal/Inbound__Processes/Portal__Portal2BPM__checkAddress"/>
+		</wsdl:port>
+	</wsdl:service>
+</wsdl:definitions>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/ReaderToWriterTest.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root xmlns="" />
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/W2JDLR4002TestService.wsdl.data	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-16"?>
+<definitions
+    xmlns="http://schemas.xmlsoap.org/wsdl/"
+    name="W2JDLR4002TestService"
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+    targetNamespace="http://w2jdlr4002testservice.org/W2JDLR4002TestService.wsdl"
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+    xmlns:tns="http://w2jdlr4002testservice.org/W2JDLR4002TestService.wsdl"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsd1="http://w2jdlr4002testservice.org/xsd">
+
+    <types>
+        <schema targetNamespace="http://w2jdlr4002testservice.org/xsd"
+            xmlns="http://www.w3.org/2001/XMLSchema"
+            xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+            elementFormDefault="qualified">
+
+            <element name="echoStringParam" type="xsd:string"/>
+
+            <element name="echoStringReturn" type="xsd:string"/>
+            
+        </schema>
+    </types>
+
+    <message name="echoString">
+        <part element="xsd1:echoStringParam" name="str"/>
+    </message>
+    <message name="echoStringResponse">
+        <part element="xsd1:echoStringReturn" name="result"/>
+    </message>
+
+    <portType name="W2JDLR4002Test">
+    	<operation name="echoString">
+            <input message="tns:echoString"/>
+            <output message="tns:echoStringResponse"/>
+    	</operation>
+    </portType>
+    
+    <binding name="W2JDLR4002TestBinding" type="tns:W2JDLR4002Test">
+    	<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+    	<operation name="echoString">
+    		<soap:operation/>
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+    	</operation>
+    </binding>
+
+    <service name="W2JDLR4002TestService">
+        <port binding="tns:W2JDLR4002TestBinding"
+            name="W2JDLR4002TestPort">
+            <soap:address
+                location="http://w2jdlr4002testservice.org/W2JDLR4002TestService.wsdl"/>
+        </port>
+    </service>
+    
+</definitions>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/XMLEventWriterTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,152 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLEventWriterTest;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.InputStream;
+
+import javax.xml.namespace.QName;
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLEventWriter;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.events.XMLEvent;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLEventWriter.
+ */
+public class XMLEventWriterTest {
+
+    /**
+     * Test XMLStreamWriter parsing a file with an external entity reference.
+     */
+    @Test
+    public void testXMLStreamWriter() {
+
+        try {
+            XMLOutputFactory outputFactory = XMLOutputFactory.newInstance();
+            XMLEventWriter eventWriter = outputFactory.createXMLEventWriter(System.out);
+            XMLInputFactory inputFactory = XMLInputFactory.newInstance();
+            String file = getClass().getResource("XMLEventWriterTest.xml").getPath();
+            XMLEventReader eventReader = inputFactory.createXMLEventReader(new StreamSource(new File(file)));
+
+            // adds the event to the consumer.
+            eventWriter.add(eventReader);
+            eventWriter.flush();
+            eventWriter.close();
+
+            // expected success
+        } catch (Exception exception) {
+            exception.printStackTrace();
+            Assert.fail(exception.toString());
+        }
+    }
+
+    /**
+     * Inspired by CR 6245284 Sun Stax /sjsxp.jar does not behave properly
+     * during merge of xml files.
+     */
+    @Test
+    public void testMerge() {
+
+        try {
+            // Create the XML input factory
+            XMLInputFactory factory = XMLInputFactory.newInstance();
+
+            // Create XML event reader 1
+            InputStream inputStream1 = new FileInputStream(new File(XMLEventWriterTest.class.getResource("merge-1.xml").toURI()));
+            XMLEventReader r1 = factory.createXMLEventReader(inputStream1);
+
+            // Create XML event reader 2
+            InputStream inputStream2 = new FileInputStream(new File(XMLEventWriterTest.class.getResource("merge-2.xml").toURI()));
+            XMLEventReader r2 = factory.createXMLEventReader(inputStream2);
+
+            // Create the output factory
+            XMLOutputFactory xmlof = XMLOutputFactory.newInstance();
+
+            // Create XML event writer
+            XMLEventWriter xmlw = xmlof.createXMLEventWriter(System.out);
+
+            // Read to first <product> element in document 1
+            // and output to result document
+            QName bName = new QName("b");
+
+            while (r1.hasNext()) {
+                // Read event to be written to result document
+                XMLEvent event = r1.nextEvent();
+
+                if (event.getEventType() == XMLEvent.END_ELEMENT) {
+
+                    // Start element - stop at <product> element
+                    QName name = event.asEndElement().getName();
+                    if (name.equals(bName)) {
+
+                        QName zName = new QName("z");
+
+                        boolean isZr = false;
+
+                        while (r2.hasNext()) {
+                            // Read event to be written to result document
+                            XMLEvent event2 = r2.nextEvent();
+                            // Output event
+                            if (event2.getEventType() == XMLEvent.START_ELEMENT && event2.asStartElement().getName().equals(zName)) {
+                                isZr = true;
+                            }
+
+                            if (xmlw != null && isZr) {
+                                xmlw.add(event2);
+                            }
+
+                            // stop adding events after </z>
+                            // i.e. do not write END_DOCUMENT :)
+                            if (isZr && event2.getEventType() == XMLEvent.END_ELEMENT && event2.asEndElement().getName().equals(zName)) {
+                                isZr = false;
+                            }
+                        }
+                        xmlw.flush();
+                    }
+                }
+
+                // Output event
+                if (xmlw != null) {
+                    xmlw.add(event);
+                }
+            }
+
+            // Read to first <product> element in document 1
+            // without writing to result document
+            xmlw.close();
+
+            // expected success
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            Assert.fail(ex.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/XMLEventWriterTest.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * Copyright (c) 2014, 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.
+ */
+-->
+<!DOCTYPE root [
+    <!ENTITY replace SYSTEM 'replace1.txt'>
+]>
+<root>&replace;</root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/merge-1.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * Copyright (c) 2014, 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.
+ */
+-->
+<a>
+    <b>
+        <d></d>
+        <e></e>
+    </b>
+    <c>ccccccc</c>
+</a>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/merge-2.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * Copyright (c) 2014, 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.
+ */
+-->
+<z>zzzzzzzzz</z>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventWriterTest/replace1.txt	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+replace1
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLInputFactoryTest/Bug6756677Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,151 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLInputFactoryTest;
+
+import javax.xml.stream.XMLInputFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6756677
+ * @summary Test XMLInputFactory.newFactory(String factoryId, ClassLoader classLoader).
+ */
+public class Bug6756677Test {
+
+    @Test
+    public void testNewInstance() {
+        String myFactory = "stream.XMLInputFactoryTest.MyInputFactory";
+        try {
+            System.setProperty("MyInputFactory", myFactory);
+            XMLInputFactory xif = XMLInputFactory.newInstance("MyInputFactory", null);
+            System.out.println(xif.getClass().getName());
+            Assert.assertTrue(xif.getClass().getName().equals(myFactory));
+
+        } catch (UnsupportedOperationException oe) {
+            Assert.fail(oe.getMessage());
+        }
+
+    }
+
+    // newFactory was added in StAX 1.2
+    @Test
+    public void testNewFactory() {
+        String myFactory = "stream.XMLInputFactoryTest.MyInputFactory";
+        ClassLoader cl = null;
+        try {
+            System.setProperty("MyInputFactory", myFactory);
+            XMLInputFactory xif = XMLInputFactory.newFactory("MyInputFactory", cl);
+            System.out.println(xif.getClass().getName());
+            Assert.assertTrue(xif.getClass().getName().equals(myFactory));
+
+        } catch (UnsupportedOperationException oe) {
+            Assert.fail(oe.getMessage());
+        }
+
+    }
+
+    String Temp_Result = "";
+    boolean PASSED = true;
+    boolean FAILED = false;
+
+    String XMLInputFactoryClassName = "com.sun.xml.internal.stream.XMLInputFactoryImpl";
+    String XMLInputFactoryID = "javax.xml.stream.XMLInputFactory";
+    ClassLoader CL = null;
+
+    // jaxp-test jaxp-product-tests javax.xml.jaxp14.ptests.FactoryTest
+    @Test
+    public void test() {
+        if (!test29()) {
+            Assert.fail(Temp_Result);
+        }
+        if (!test31()) {
+            Assert.fail(Temp_Result);
+        }
+    }
+
+    /*
+     * test for XMLInputFactory.newInstance(java.lang.String factoryClassName,
+     * java.lang.ClassLoader classLoader) classloader is null and
+     * factoryClassName points to correct implementation of
+     * javax.xml.stream.XMLInputFactory , should return newInstance of
+     * XMLInputFactory
+     */
+    @Test
+    public boolean test29() {
+        try {
+            System.setProperty(XMLInputFactoryID, XMLInputFactoryClassName);
+            XMLInputFactory xif = XMLInputFactory.newInstance(XMLInputFactoryID, CL);
+            if (xif instanceof XMLInputFactory) {
+                System.out.println(" test29() passed");
+                return PASSED;
+            } else {
+                System.out.println(" test29() failed");
+                Temp_Result = "test29() failed: xif not an instance of XMLInputFactory ";
+                return FAILED;
+            }
+        } catch (javax.xml.stream.FactoryConfigurationError fce) {
+            System.out.println("Failed : FactoryConfigurationError in test29 " + fce);
+            Temp_Result = "test29() failed ";
+            return FAILED;
+        } catch (Exception e) {
+            System.out.println("Failed : Exception in test29 " + e);
+            Temp_Result = "test29() failed ";
+            return FAILED;
+        }
+    }
+
+    /*
+     * test for XMLInputFactory.newInstance(java.lang.String factoryClassName,
+     * java.lang.ClassLoader classLoader) classloader is
+     * default(Class.getClassLoader()) and factoryClassName points to correct
+     * implementation of javax.xml.stream.XMLInputFactory , should return
+     * newInstance of XMLInputFactory
+     */
+    @Test
+    public boolean test31() {
+        try {
+            Bug6756677Test test3 = new Bug6756677Test();
+            ClassLoader cl = (test3.getClass()).getClassLoader();
+            System.setProperty(XMLInputFactoryID, XMLInputFactoryClassName);
+            XMLInputFactory xif = XMLInputFactory.newInstance(XMLInputFactoryID, cl);
+            if (xif instanceof XMLInputFactory) {
+                System.out.println(" test31() passed");
+                return PASSED;
+            } else {
+                System.out.println(" test31() failed");
+                Temp_Result = "test31() failed: xif not an instance of XMLInputFactory ";
+                return FAILED;
+            }
+        } catch (javax.xml.stream.FactoryConfigurationError fce) {
+            System.out.println("Failed : FactoryConfigurationError in test31 " + fce);
+            Temp_Result = "test31() failed ";
+            return FAILED;
+        } catch (Exception e) {
+            System.out.println("Failed : Exception in test31 " + e);
+            Temp_Result = "test31() failed ";
+            return FAILED;
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLInputFactoryTest/Bug6909759Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,62 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLInputFactoryTest;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6909759
+ * @summary Test createXMLStreamReader with StreamSource.
+ */
+public class Bug6909759Test {
+
+
+    @Test
+    public void testCreateXMLStreamReader() {
+
+        try {
+            StreamSource ss = new StreamSource(getClass().getResourceAsStream("play.xml"));
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+            // File file = new File("./tests/XMLStreamReader/sgml.xml");
+            // FileInputStream inputStream = new FileInputStream(file);
+            XMLStreamReader xsr;
+            xsr = xif.createXMLStreamReader(ss);
+
+            while (xsr.hasNext()) {
+                int eventType = xsr.next();
+            }
+
+        } catch (UnsupportedOperationException oe) {
+            Assert.fail("StreamSource should be supported");
+        } catch (XMLStreamException ex) {
+            Assert.fail("fix the test");
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLInputFactoryTest/IssueTracker38.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,88 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLInputFactoryTest;
+
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.transform.Source;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.sax.SAXSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test createXMLEventReader from DOM or SAX source is unsupported.
+ */
+public class IssueTracker38 {
+
+    @Test
+    public void testXMLEventReaderFromDOMSource() throws Exception {
+        try {
+                createEventReaderFromSource(new DOMSource());
+            Assert.fail("Expected UnsupportedOperationException not thrown");
+        } catch (UnsupportedOperationException e) {
+        }
+    }
+
+    @Test
+    public void testXMLStreamReaderFromDOMSource() throws Exception {
+        try {
+                createStreamReaderFromSource(new DOMSource());
+            Assert.fail("Expected UnsupportedOperationException not thrown");
+        } catch (UnsupportedOperationException oe) {
+        }
+    }
+
+    @Test
+    public void testXMLEventReaderFromSAXSource() throws Exception {
+        try {
+                createEventReaderFromSource(new SAXSource());
+            Assert.fail("Expected UnsupportedOperationException not thrown");
+        } catch (UnsupportedOperationException e) {
+        }
+    }
+
+    @Test
+    public void testXMLStreamReaderFromSAXSource() throws Exception {
+        try {
+                createStreamReaderFromSource(new SAXSource());
+            Assert.fail("Expected UnsupportedOperationException not thrown");
+        } catch (UnsupportedOperationException oe) {
+        }
+    }
+
+    private void createEventReaderFromSource(Source source) throws Exception {
+        XMLInputFactory xIF = XMLInputFactory.newInstance();
+        xIF.createXMLEventReader(source);
+    }
+
+    private void createStreamReaderFromSource(Source source) throws Exception {
+        XMLInputFactory xIF = XMLInputFactory.newInstance();
+        xIF.createXMLStreamReader(source);
+    }
+
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLInputFactoryTest/MyInputFactory.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,160 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLInputFactoryTest;
+
+import java.io.InputStream;
+import java.io.Reader;
+
+import javax.xml.stream.EventFilter;
+import javax.xml.stream.StreamFilter;
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLReporter;
+import javax.xml.stream.XMLResolver;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.util.XMLEventAllocator;
+import javax.xml.transform.Source;
+
+public class MyInputFactory extends javax.xml.stream.XMLInputFactory {
+
+    @Override
+    public XMLStreamReader createXMLStreamReader(Reader reader) throws XMLStreamException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLStreamReader createXMLStreamReader(Source source) throws XMLStreamException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLStreamReader createXMLStreamReader(InputStream stream) throws XMLStreamException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLStreamReader createXMLStreamReader(InputStream stream, String encoding) throws XMLStreamException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLStreamReader createXMLStreamReader(String systemId, InputStream stream) throws XMLStreamException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLStreamReader createXMLStreamReader(String systemId, Reader reader) throws XMLStreamException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLEventReader createXMLEventReader(Reader reader) throws XMLStreamException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLEventReader createXMLEventReader(String systemId, Reader reader) throws XMLStreamException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLEventReader createXMLEventReader(XMLStreamReader reader) throws XMLStreamException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLEventReader createXMLEventReader(Source source) throws XMLStreamException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLEventReader createXMLEventReader(InputStream stream) throws XMLStreamException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLEventReader createXMLEventReader(InputStream stream, String encoding) throws XMLStreamException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLEventReader createXMLEventReader(String systemId, InputStream stream) throws XMLStreamException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLStreamReader createFilteredReader(XMLStreamReader reader, StreamFilter filter) throws XMLStreamException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLEventReader createFilteredReader(XMLEventReader reader, EventFilter filter) throws XMLStreamException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLResolver getXMLResolver() {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public void setXMLResolver(XMLResolver resolver) {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLReporter getXMLReporter() {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public void setXMLReporter(XMLReporter reporter) {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public void setProperty(String name, Object value) throws IllegalArgumentException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public Object getProperty(String name) throws IllegalArgumentException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public boolean isPropertySupported(String name) {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public void setEventAllocator(XMLEventAllocator allocator) {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    @Override
+    public XMLEventAllocator getEventAllocator() {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLInputFactoryTest/play.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,6 @@
+<?xml version="1.0"?><PLAY><TITLE>
+         The Tragedy of Hamlet
+           Prince of Denmark
+</TITLE>
+</PLAY>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLOutputFactoryTest/Bug6846132Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,85 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLOutputFactoryTest;
+
+import javax.xml.stream.XMLEventWriter;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamWriter;
+import javax.xml.transform.sax.SAXResult;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 6846132
+ * @summary Test createXMLStreamWriter with SAXResult won't throw a NullPointerException.
+ */
+public class Bug6846132Test {
+
+    @Test
+    public void testSAXResult() {
+        DefaultHandler handler = new DefaultHandler();
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\"?><root></root>";
+        try {
+            SAXResult saxResult = new SAXResult(handler);
+            // saxResult.setSystemId("jaxp-ri/unit-test/javax/xml/stream/XMLOutputFactoryTest/cr6846132.xml");
+            XMLOutputFactory ofac = XMLOutputFactory.newInstance();
+            XMLStreamWriter writer = ofac.createXMLStreamWriter(saxResult);
+            writer.writeStartDocument("1.0");
+            writer.writeStartElement("root");
+            writer.writeEndElement();
+            writer.writeEndDocument();
+            writer.flush();
+            writer.close();
+        } catch (Exception e) {
+            if (e instanceof UnsupportedOperationException) {
+                // expected
+            } else {
+                e.printStackTrace();
+                Assert.fail(e.toString());
+            }
+        }
+    }
+
+    @Test
+    public void testSAXResult1() {
+        DefaultHandler handler = new DefaultHandler();
+
+        try {
+            SAXResult saxResult = new SAXResult(handler);
+            XMLOutputFactory ofac = XMLOutputFactory.newInstance();
+            XMLEventWriter writer = ofac.createXMLEventWriter(saxResult);
+        } catch (Exception e) {
+            if (e instanceof UnsupportedOperationException) {
+                // expected
+            } else {
+                e.printStackTrace();
+                Assert.fail(e.toString());
+            }
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLOutputFactoryTest/DuplicateNSDeclarationTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,79 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLOutputFactoryTest;
+
+import java.io.ByteArrayOutputStream;
+
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamWriter;
+import javax.xml.transform.stream.StreamResult;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test the writing of duplicate namespace declarations when IS_REPAIRING_NAMESPACES is ture.
+ */
+public class DuplicateNSDeclarationTest {
+
+    @Test
+    public void testDuplicateNSDeclaration() {
+
+        // expect only 1 Namespace Declaration
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<ns1:foo" + " xmlns:ns1=\"http://example.com/\">" + "</ns1:foo>";
+
+        // have XMLOutputFactory repair Namespaces
+        XMLOutputFactory ofac = XMLOutputFactory.newInstance();
+        ofac.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
+
+        // send output to a Stream
+        ByteArrayOutputStream buffer = new ByteArrayOutputStream();
+        StreamResult sr = new StreamResult(buffer);
+        XMLStreamWriter w = null;
+
+        // write a duplicate Namespace Declaration
+        try {
+            w = ofac.createXMLStreamWriter(sr);
+            w.writeStartDocument();
+            w.writeStartElement("ns1", "foo", "http://example.com/");
+            w.writeNamespace("ns1", "http://example.com/");
+            w.writeNamespace("ns1", "http://example.com/");
+            w.writeEndElement();
+            w.writeEndDocument();
+            w.close();
+        } catch (XMLStreamException xmlStreamException) {
+            xmlStreamException.printStackTrace();
+            Assert.fail(xmlStreamException.toString());
+        }
+
+        // debugging output for humans
+        System.out.println();
+        System.out.println("actual:   \"" + buffer.toString() + "\"");
+        System.out.println("expected: \"" + EXPECTED_OUTPUT + "\"");
+
+        // are results as expected?
+        Assert.assertEquals(EXPECTED_OUTPUT, buffer.toString());
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLOutputFactoryTest/StreamResultTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,156 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLOutputFactoryTest;
+
+import java.io.ByteArrayOutputStream;
+
+import javax.xml.stream.XMLEventFactory;
+import javax.xml.stream.XMLEventWriter;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamWriter;
+import javax.xml.transform.stax.StAXResult;
+import javax.xml.transform.stream.StreamResult;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test create XMLWriter with variant Result.
+ */
+public class StreamResultTest {
+
+    @Test
+    public void testStreamResult() {
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\"?><root></root>";
+        try {
+            XMLOutputFactory ofac = XMLOutputFactory.newInstance();
+            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
+            StreamResult sr = new StreamResult(buffer);
+            XMLStreamWriter writer = ofac.createXMLStreamWriter(sr);
+            writer.writeStartDocument("1.0");
+            writer.writeStartElement("root");
+            writer.writeEndElement();
+            writer.writeEndDocument();
+            writer.close();
+            Assert.assertEquals(buffer.toString(), EXPECTED_OUTPUT);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+
+    @Test
+    public void testStreamWriterWithStAXResultNStreamWriter() {
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\"?><root></root>";
+
+        try {
+            XMLOutputFactory ofac = XMLOutputFactory.newInstance();
+            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
+            XMLStreamWriter writer = ofac.createXMLStreamWriter(buffer);
+            StAXResult res = new StAXResult(writer);
+            writer = ofac.createXMLStreamWriter(res);
+            writer.writeStartDocument("1.0");
+            writer.writeStartElement("root");
+            writer.writeEndElement();
+            writer.writeEndDocument();
+            writer.close();
+            Assert.assertEquals(buffer.toString(), EXPECTED_OUTPUT);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+
+    @Test
+    public void testEventWriterWithStAXResultNStreamWriter() {
+        String encoding = "";
+        if (System.getProperty("file.encoding").equals("UTF-8")) {
+            encoding = " encoding=\"UTF-8\"";
+        }
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\"" + encoding + "?><root></root>";
+
+        try {
+            XMLOutputFactory ofac = XMLOutputFactory.newInstance();
+            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
+            XMLStreamWriter swriter = ofac.createXMLStreamWriter(buffer);
+            StAXResult res = new StAXResult(swriter);
+            XMLEventWriter writer = ofac.createXMLEventWriter(res);
+
+            XMLEventFactory efac = XMLEventFactory.newInstance();
+            writer.add(efac.createStartDocument(null, "1.0"));
+            writer.add(efac.createStartElement("", "", "root"));
+            writer.add(efac.createEndElement("", "", "root"));
+            writer.add(efac.createEndDocument());
+            writer.close();
+
+            Assert.assertEquals(buffer.toString(), EXPECTED_OUTPUT);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+
+    @Test
+    public void testEventWriterWithStAXResultNEventWriter() {
+        String encoding = "";
+        if (System.getProperty("file.encoding").equals("UTF-8")) {
+            encoding = " encoding=\"UTF-8\"";
+        }
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\"" + encoding + "?><root></root>";
+
+        try {
+            XMLOutputFactory ofac = XMLOutputFactory.newInstance();
+            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
+            XMLEventWriter writer = ofac.createXMLEventWriter(buffer);
+            StAXResult res = new StAXResult(writer);
+            writer = ofac.createXMLEventWriter(res);
+
+            XMLEventFactory efac = XMLEventFactory.newInstance();
+            writer.add(efac.createStartDocument(null, "1.0"));
+            writer.add(efac.createStartElement("", "", "root"));
+            writer.add(efac.createEndElement("", "", "root"));
+            writer.add(efac.createEndDocument());
+            writer.close();
+
+            Assert.assertEquals(buffer.toString(), EXPECTED_OUTPUT);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+
+    @Test
+    public void testStreamWriterWithStAXResultNEventWriter() throws Exception {
+        try {
+            XMLOutputFactory ofac = XMLOutputFactory.newInstance();
+            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
+            XMLEventWriter writer = ofac.createXMLEventWriter(buffer);
+            StAXResult res = new StAXResult(writer);
+            XMLStreamWriter swriter = ofac.createXMLStreamWriter(res);
+            Assert.fail("Expected an Exception as XMLStreamWriter can't be created " + "with a StAXResult which has EventWriter.");
+        } catch (Exception e) {
+            System.out.println(e.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLResolverTest/XMLResolverTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,92 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLResolverTest;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.InputStream;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLResolver;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLResolver.
+ */
+public class XMLResolverTest {
+
+    @Test
+    public void testXMLResolver() {
+        try {
+            XMLInputFactory xifactory = XMLInputFactory.newInstance();
+            xifactory.setProperty(XMLInputFactory.RESOLVER, new MyStaxResolver());
+            File file = new File(getClass().getResource("XMLResolverTest.xml").getFile());
+            String systemId = file.toURI().toString();
+            InputStream entityxml = new FileInputStream(file);
+            XMLStreamReader streamReader = xifactory.createXMLStreamReader(systemId, entityxml);
+            while (streamReader.hasNext()) {
+                int eventType = streamReader.next();
+                if (eventType == XMLStreamConstants.START_ELEMENT) {
+                    eventType = streamReader.next();
+                    if (eventType == XMLStreamConstants.CHARACTERS) {
+                        String text = streamReader.getText();
+                        Assert.assertTrue(text.contains("replace2"));
+                    }
+                }
+            }
+        } catch (XMLStreamException ex) {
+
+            if (ex.getNestedException() != null) {
+                ex.getNestedException().printStackTrace();
+            }
+            // ex.printStackTrace() ;
+        } catch (Exception io) {
+            io.printStackTrace();
+        }
+    }
+
+    class MyStaxResolver implements XMLResolver {
+
+        public MyStaxResolver() {
+
+        }
+
+        public Object resolveEntity(String publicId, String systemId, String baseURI, String namespace) throws javax.xml.stream.XMLStreamException {
+
+            Object object = null;
+            try {
+                object = new FileInputStream(getClass().getResource("replace2.txt").getFile());
+            } catch (Exception ex) {
+                ex.printStackTrace();
+            }
+            return object;
+        }
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLResolverTest/XMLResolverTest.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+    Document   : XMLResolverTest.xml
+    Created on : April 6, 2004, 3:41 PM
+    Author     : neeraj
+    Description:
+        Purpose of the document follows.
+-->
+<!DOCTYPE root [
+    <!ENTITY replace SYSTEM 'replace1.txt'>
+]>
+<root>&replace;</root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLResolverTest/replace1.txt	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+replace1
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLResolverTest/replace2.txt	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+replace2
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamExceptionTest/ExceptionTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,49 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamExceptionTest;
+
+import java.io.IOException;
+
+import javax.xml.stream.XMLStreamException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLStreamException contains the message of the wrapped exception.
+ */
+public class ExceptionTest {
+
+    @Test
+    public void testException() {
+
+        final String EXPECTED_OUTPUT = "Test XMLStreamException";
+        try {
+            Exception ex = new IOException("Test XMLStreamException");
+            throw new XMLStreamException(ex);
+        } catch (XMLStreamException e) {
+            Assert.assertTrue(e.getMessage().contains(EXPECTED_OUTPUT), "XMLStreamException does not contain the message " + "of the wrapped exception");
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamFilterTest/Bug6481615.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,64 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamFilterTest;
+
+import java.io.StringReader;
+
+import javax.xml.stream.StreamFilter;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6481615
+ * @summary Test Filtered XMLStreamReader can return the event type if current state is START_ELEMENT.
+ */
+public class Bug6481615 {
+
+    static final String XML = "<?xml version=\"1.0\"?>" + "<S:Envelope foo=\"bar\" xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\"></S:Envelope>";
+
+    private XMLInputFactory factory = XMLInputFactory.newInstance();
+
+    @Test
+    public void test() {
+        try {
+            XMLStreamReader reader = factory.createXMLStreamReader(new StringReader(XML));
+            reader.next(); // advance to START_ELEMENT
+            XMLStreamReader filter = factory.createFilteredReader(reader, new Filter());
+            Assert.assertTrue(filter.getEventType() != -1);
+        } catch (Exception e) {
+            e.printStackTrace();
+            // Assert.fail("Unexpected Exception: " + e.getMessage());
+        }
+    }
+
+    class Filter implements StreamFilter {
+
+        public boolean accept(XMLStreamReader reader) {
+            return true;
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamFilterTest/Bug6481678.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,221 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamFilterTest;
+
+import java.io.InputStream;
+
+import javax.xml.namespace.NamespaceContext;
+import javax.xml.namespace.QName;
+import javax.xml.stream.EventFilter;
+import javax.xml.stream.StreamFilter;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.events.XMLEvent;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6481678
+ * @summary Test Filtered XMLStreamReader parses namespace correctly.
+ */
+public class Bug6481678 {
+
+    String rootElement = "fruits";
+    String childElement = "varieties";
+    String prefixApple = "a";
+    String namespaceURIApple = "apple.fruit";
+    String prefixOrange = "o";
+    String namespaceURIOrange = "orange.fruit";
+    String namespaceURIBanana = "banana.fruit";
+
+    TypeFilter filter;
+    XMLInputFactory factory;
+    InputStream is;
+
+    /** Creates a new instance of NamespaceTest */
+    public Bug6481678(java.lang.String testName) {
+        init();
+    }
+
+    private void init() {
+        factory = XMLInputFactory.newInstance();
+        factory.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
+        filter = createFilter();
+    }
+
+    String getXML() {
+        StringBuffer sbuffer = new StringBuffer();
+        sbuffer.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
+        sbuffer.append("<" + rootElement + " state=\"WA\"");
+        sbuffer.append(" xmlns:" + prefixApple + "=\"" + namespaceURIApple + "\"");
+        sbuffer.append(" xmlns:" + prefixOrange + "=\"" + namespaceURIOrange + "\"");
+        sbuffer.append(" xmlns=\"" + namespaceURIBanana + "\">");
+        sbuffer.append("<" + prefixApple + ":" + childElement + ">");
+        sbuffer.append("<" + prefixApple + ":fuji/>");
+        sbuffer.append("<" + prefixApple + ":gala/>");
+        sbuffer.append("</" + prefixApple + ":" + childElement + ">");
+        sbuffer.append("</" + rootElement + ">");
+        // System.out.println("XML = " + sbuffer.toString()) ;
+        return sbuffer.toString();
+    }
+
+    public TypeFilter createFilter() {
+
+        TypeFilter f = new TypeFilter();
+
+        f.addType(XMLEvent.START_ELEMENT);
+        f.addType(XMLEvent.END_ELEMENT);
+        f.addType(XMLEvent.PROCESSING_INSTRUCTION);
+        f.addType(XMLEvent.CHARACTERS);
+        f.addType(XMLEvent.COMMENT);
+        f.addType(XMLEvent.SPACE);
+        f.addType(XMLEvent.START_DOCUMENT);
+        f.addType(XMLEvent.END_DOCUMENT);
+        return f;
+    }
+
+    /*
+     * testcase for cr6481678 in our current impl (using cache), the reader
+     * would read from cache when getters are called before next() is. refter to
+     * testRootElementNamespace.
+     */
+    @Test
+    public void testReadingNamespace() {
+        is = new java.io.ByteArrayInputStream(getXML().getBytes());
+        try {
+            XMLStreamReader sr = factory.createFilteredReader(factory.createXMLStreamReader(is), (StreamFilter) filter);
+
+            while (sr.hasNext()) {
+                int eventType = sr.getEventType();
+                if (eventType == XMLStreamConstants.START_ELEMENT) {
+                    if (sr.getLocalName().equals(rootElement)) {
+                        Assert.assertTrue(sr.getNamespacePrefix(0).equals(prefixApple) && sr.getNamespaceURI(0).equals(namespaceURIApple));
+                    }
+                }
+                eventType = sr.next();
+            }
+        } catch (Exception ex) {
+            Assert.fail("Exception: " + ex.getMessage());
+        }
+    }
+
+    @Test
+    public void testRootElementNamespace() {
+        is = new java.io.ByteArrayInputStream(getXML().getBytes());
+        try {
+            XMLStreamReader sr = factory.createFilteredReader(factory.createXMLStreamReader(is), (StreamFilter) filter);
+
+            while (sr.hasNext()) {
+                int eventType = sr.next();
+                if (eventType == XMLStreamConstants.START_ELEMENT) {
+                    if (sr.getLocalName().equals(rootElement)) {
+                        Assert.assertTrue(sr.getNamespacePrefix(0).equals(prefixApple) && sr.getNamespaceURI(0).equals(namespaceURIApple));
+                    }
+                }
+            }
+        } catch (Exception ex) {
+            Assert.fail("Exception: " + ex.getMessage());
+        }
+    }
+
+    @Test
+    public void testChildElementNamespace() {
+        is = new java.io.ByteArrayInputStream(getXML().getBytes());
+        try {
+            XMLStreamReader sr = factory.createFilteredReader(factory.createXMLStreamReader(is), (StreamFilter) filter);
+            while (sr.hasNext()) {
+                int eventType = sr.next();
+                if (eventType == XMLStreamConstants.START_ELEMENT) {
+                    if (sr.getLocalName().equals(childElement)) {
+                        QName qname = sr.getName();
+                        Assert.assertTrue(qname.getPrefix().equals(prefixApple) && qname.getNamespaceURI().equals(namespaceURIApple)
+                                && qname.getLocalPart().equals(childElement));
+                    }
+                }
+            }
+        } catch (Exception ex) {
+            Assert.fail("Exception: " + ex.getMessage());
+        }
+    }
+
+    @Test
+    public void testNamespaceContext() {
+        is = new java.io.ByteArrayInputStream(getXML().getBytes());
+        try {
+            XMLStreamReader sr = factory.createFilteredReader(factory.createXMLStreamReader(is), (StreamFilter) filter);
+            while (sr.hasNext()) {
+                int eventType = sr.next();
+                if (eventType == XMLStreamConstants.START_ELEMENT) {
+                    if (sr.getLocalName().equals(childElement)) {
+                        NamespaceContext context = sr.getNamespaceContext();
+                        Assert.assertTrue(context.getPrefix(namespaceURIApple).equals(prefixApple));
+                    }
+                }
+            }
+        } catch (Exception ex) {
+            Assert.fail("Exception: " + ex.getMessage());
+        }
+    }
+
+    @Test
+    public void testNamespaceCount() {
+        is = new java.io.ByteArrayInputStream(getXML().getBytes());
+        try {
+            XMLStreamReader sr = factory.createFilteredReader(factory.createXMLStreamReader(is), (StreamFilter) filter);
+            while (sr.hasNext()) {
+                int eventType = sr.next();
+                if (eventType == XMLStreamConstants.START_ELEMENT) {
+                    if (sr.getLocalName().equals(rootElement)) {
+                        int count = sr.getNamespaceCount();
+                        Assert.assertTrue(count == 3);
+                    }
+                }
+            }
+        } catch (Exception ex) {
+            Assert.fail("Exception: " + ex.getMessage());
+        }
+    }
+
+    class TypeFilter implements EventFilter, StreamFilter {
+
+        protected boolean[] types = new boolean[20];
+
+        public TypeFilter() {
+        }
+
+        public void addType(int type) {
+            types[type] = true;
+        }
+
+        public boolean accept(XMLEvent e) {
+            return types[e.getEventType()];
+        }
+
+        public boolean accept(XMLStreamReader r) {
+            return types[r.getEventType()];
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamFilterTest/HasNextTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,141 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamFilterTest;
+
+import javax.xml.stream.StreamFilter;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.events.XMLEvent;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test Filtered XMLStreamReader hasNext() always return the correct value if repeat to call it.
+ */
+public class HasNextTest {
+
+    private static String INPUT_FILE = "HasNextTest.xml";
+
+    private HasNextTypeFilter createFilter() {
+
+        HasNextTypeFilter f = new HasNextTypeFilter();
+
+        f.addType(XMLEvent.START_ELEMENT);
+        f.addType(XMLEvent.END_ELEMENT);
+        f.addType(XMLEvent.PROCESSING_INSTRUCTION);
+        f.addType(XMLEvent.CHARACTERS);
+        f.addType(XMLEvent.COMMENT);
+        f.addType(XMLEvent.SPACE);
+        f.addType(XMLEvent.START_DOCUMENT);
+        f.addType(XMLEvent.END_DOCUMENT);
+        return f;
+    }
+
+    private XMLStreamReader createStreamReader(HasNextTypeFilter f) {
+
+        try {
+            XMLInputFactory factory = XMLInputFactory.newInstance();
+            factory = XMLInputFactory.newInstance();
+            return factory.createFilteredReader(factory.createXMLStreamReader(this.getClass().getResourceAsStream(INPUT_FILE)), (StreamFilter) f);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Unexpected Exception: " + e.getMessage());
+            return null;
+        }
+    }
+
+    private void checkHasNext(XMLStreamReader r1) throws XMLStreamException {
+
+        // try asking 3 times, insure all results are the same
+        boolean hasNext_1 = r1.hasNext();
+        boolean hasNext_2 = r1.hasNext();
+        boolean hasNext_3 = r1.hasNext();
+
+        System.out.println("XMLStreamReader.hasNext() (1): " + hasNext_1);
+        System.out.println("XMLStreamReader.hasNext() (2): " + hasNext_2);
+        System.out.println("XMLStreamReader.hasNext() (3): " + hasNext_3);
+
+        Assert.assertTrue((hasNext_1 == hasNext_2) && (hasNext_1 == hasNext_3),
+                "XMLStreamReader.hasNext() returns inconsistent values for each subsequent call: " + hasNext_1 + ", " + hasNext_2 + ", " + hasNext_3);
+    }
+
+    @Test
+    public void testFilterUsingNextTag() {
+
+        try {
+            HasNextTypeFilter f = createFilter();
+            XMLStreamReader r1 = createStreamReader(f);
+
+            while (r1.hasNext()) {
+                try {
+                    r1.nextTag();
+                } catch (Exception e) {
+                    System.err.println("Expected Exception: " + e.getMessage());
+                    e.printStackTrace();
+                }
+
+                checkHasNext(r1);
+            }
+
+        } catch (XMLStreamException e) {
+            System.err.println("Unexpected Exception: " + e.getMessage());
+            e.printStackTrace();
+            Assert.fail("Unexpected Exception: " + e.toString());
+        } catch (Exception e) {
+            // if this is END_DOCUMENT, it is expected
+            if (e.toString().indexOf("END_DOCUMENT") != -1) {
+                // expected
+                System.err.println("Expected Exception:");
+                e.printStackTrace();
+            } else {
+                // unexpected
+                System.err.println("Unexpected Exception: " + e.getMessage());
+                e.printStackTrace();
+                Assert.fail("Unexpected Exception: " + e.toString());
+            }
+        }
+    }
+
+    @Test
+    public void testFilterUsingNext() {
+
+        try {
+            HasNextTypeFilter f = createFilter();
+            XMLStreamReader r1 = createStreamReader(f);
+
+            while (r1.hasNext()) {
+                r1.next();
+                checkHasNext(r1);
+            }
+
+        } catch (Exception e) {
+            // unexpected
+            System.err.println("Unexpected Exception: " + e.getMessage());
+            e.printStackTrace();
+            Assert.fail("Unexpected Exception: " + e.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamFilterTest/HasNextTest.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='utf-8'?><!-- DTD for a "product information". --><mytext>
+this is some text
+</mytext><!--
+<product
+    name="BEA Weblogic Server 6.0"
+    date="Date of Release 12/18/2000"
+    copyrite="2000-2001 BEA Systems, Inc." />
+--><?process me?>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamFilterTest/HasNextTypeFilter.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,49 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamFilterTest;
+
+import javax.xml.stream.EventFilter;
+import javax.xml.stream.StreamFilter;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.events.XMLEvent;
+
+public class HasNextTypeFilter implements EventFilter, StreamFilter {
+
+    protected boolean[] types = new boolean[20];
+
+    public HasNextTypeFilter() {
+    }
+
+    public void addType(int type) {
+        types[type] = true;
+    }
+
+    public boolean accept(XMLEvent e) {
+        return types[e.getEventType()];
+    }
+
+    public boolean accept(XMLStreamReader r) {
+        return types[r.getEventType()];
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/BOMTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,63 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6218794
+ * @summary Test XMLStreamReader parses BOM UTF-8 and BOM UTF-16 big endian stream.
+ */
+public class BOMTest {
+    // UTF-8 BOM test file
+    private static final String INPUT_FILE1 = "UTF8-BOM.xml.data";
+    // UTF-16 Big Endian test file
+    private static final String INPUT_FILE2 = "UTF16-BE.wsdl.data";
+
+    @Test
+    public void testBOM() {
+        XMLInputFactory ifac = XMLInputFactory.newInstance();
+        try {
+            XMLStreamReader re = ifac.createXMLStreamReader(this.getClass().getResource(INPUT_FILE1).toExternalForm(),
+                        util.BOMInputStream.createStream("UTF-8", this.getClass().getResourceAsStream(INPUT_FILE1)));
+            while (re.hasNext()) {
+                int event = re.next();
+            }
+            XMLStreamReader re2 = ifac.createXMLStreamReader(this.getClass().getResource(INPUT_FILE2).toExternalForm(),
+                        util.BOMInputStream.createStream("UTF-16BE", this.getClass().getResourceAsStream(INPUT_FILE2)));
+            while (re2.hasNext()) {
+
+                int event = re2.next();
+
+            }
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Bug6388460.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,72 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.transform.Source;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+
+/*
+ * @bug 6388460
+ * @summary Test StAX parser can parse UTF-16 wsdl.
+ */
+public class Bug6388460 {
+
+    @Test
+    public void test() {
+        try {
+
+            Source source = new StreamSource(util.BOMInputStream.createStream("UTF-16BE", this.getClass().getResourceAsStream("Hello.wsdl.data")),
+                        this.getClass().getResource("Hello.wsdl.data").toExternalForm());
+            ByteArrayOutputStream baos = new ByteArrayOutputStream();
+            TransformerFactory factory = TransformerFactory.newInstance();
+            Transformer transformer = factory.newTransformer();
+            transformer.transform(source, new StreamResult(baos));
+            System.out.println(new String(baos.toByteArray()));
+            ByteArrayInputStream bis = new ByteArrayInputStream(baos.toByteArray());
+            InputSource inSource = new InputSource(bis);
+
+            XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance();
+            xmlInputFactory.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
+            XMLStreamReader reader = xmlInputFactory.createXMLStreamReader(inSource.getSystemId(), inSource.getByteStream());
+            while (reader.hasNext()) {
+                reader.next();
+            }
+        } catch (Exception ex) {
+            ex.printStackTrace(System.err);
+            Assert.fail("Exception occured: " + ex.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Bug6472982Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,75 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import java.io.InputStream;
+
+import javax.xml.namespace.NamespaceContext;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6472982
+ * @summary Test XMLStreamReader.getNamespaceContext().getPrefix("") won't throw IllegalArgumentException.
+ */
+public class Bug6472982Test {
+    String namespaceURI = "foobar.com";
+    String rootElement = "foo";
+    String childElement = "foochild";
+    String prefix = "a";
+
+    @Test
+    public void testNamespaceContext() {
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+            xif.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
+            InputStream is = new java.io.ByteArrayInputStream(getXML().getBytes());
+            XMLStreamReader sr = xif.createXMLStreamReader(is);
+            NamespaceContext context = sr.getNamespaceContext();
+            Assert.assertTrue(context.getPrefix("") == null);
+
+        } catch (IllegalArgumentException iae) {
+            Assert.fail("NamespacePrefix#getPrefix() should not throw an IllegalArgumentException for empty uri. ");
+        } catch (Exception ex) {
+            ex.printStackTrace();
+        }
+    }
+
+    String getXML() {
+        StringBuffer sbuffer = new StringBuffer();
+        sbuffer.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
+        sbuffer.append("<" + rootElement + " xmlns:");
+        sbuffer.append(prefix);
+        sbuffer.append("=\"" + namespaceURI + "\">");
+        sbuffer.append("<" + prefix + ":" + childElement + ">");
+        sbuffer.append("blahblah");
+        sbuffer.append("</" + prefix + ":" + childElement + ">");
+        sbuffer.append("</" + rootElement + ">");
+        // System.out.println("XML = " + sbuffer.toString()) ;
+        return sbuffer.toString();
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Bug6767322.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<IsValidating>
+    Hello World!
+</IsValidating>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Bug6767322Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,72 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import java.io.ByteArrayInputStream;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6767322
+ * @summary Test XMLStreamReader.getVersion() returns null if a version isn't declared.
+ */
+public class Bug6767322Test {
+    private static final String INPUT_FILE = "Bug6767322.xml";
+
+    @Test
+    public void testVersionSet() {
+        try {
+            XMLStreamReader r = XMLInputFactory.newInstance().createXMLStreamReader(this.getClass().getResource(INPUT_FILE).toExternalForm(),
+                    this.getClass().getResourceAsStream(INPUT_FILE));
+
+            String version = r.getVersion();
+            System.out.println("Bug6767322.xml: " + version);
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testVersionNotSet() {
+        try {
+            String xmlText = "Version not declared";
+            XMLStreamReader r = XMLInputFactory.newInstance().createXMLStreamReader(new ByteArrayInputStream(xmlText.getBytes()));
+            String version = r.getVersion();
+            System.out.println("Version for text \"" + xmlText + "\": " + version);
+            if (version != null) {
+                Assert.fail("getVersion should return null");
+            }
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Bug6847819Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,65 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import org.testng.annotations.Test;
+import org.testng.Assert;
+import java.io.StringReader;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamException;
+
+/*
+ * @bug 6847819
+ * @summary Test StAX parser shall throw XMLStreamException for illegal xml declaration.
+ */
+public class Bug6847819Test {
+
+    @Test
+    public void testIllegalDecl() throws XMLStreamException {
+        String xml = "<?xml ?><root>abc]]>xyz</root>";
+        String msg = "illegal declaration";
+        try {
+            XMLInputFactory inputFactory = XMLInputFactory.newInstance();
+            inputFactory.createXMLStreamReader(new StringReader(xml));
+            Assert.fail("Expected an exception for " + msg);
+        } catch (XMLStreamException ex) { // good
+            System.out.println("Expected failure: '" + ex.getMessage() + "' " + "(matching message: '" + msg + "')");
+        } catch (Exception ex2) { // ok; iff links to XMLStreamException
+            Throwable t = ex2;
+            while (t.getCause() != null && !(t instanceof XMLStreamException)) {
+                t = t.getCause();
+            }
+            if (t instanceof XMLStreamException) {
+                System.out.println("Expected failure: '" + ex2.getMessage() + "' " + "(matching message: '" + msg + "')");
+            }
+            if (t == ex2) {
+                Assert.fail("Expected an XMLStreamException (either direct, or getCause() of a primary exception) for " + msg + ", got: " + ex2);
+            }
+            Assert.fail("Expected an XMLStreamException (either direct, or getCause() of a primary exception) for " + msg + ", got: " + ex2 + " (root: " + t + ")");
+        }
+
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/BugTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,47 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import java.io.StringReader;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test StAX parser can parse xml without declaration.
+ */
+public class BugTest {
+
+    @Test
+    public static void test1() throws Exception {
+        XMLInputFactory xif = XMLInputFactory.newInstance(); // new
+                                                             // com.sun.xml.stream.ZephyrParserFactory();
+        XMLStreamReader r = xif.createXMLStreamReader(new StringReader("<foo/>"));
+        Assert.assertEquals(XMLStreamConstants.START_DOCUMENT, r.getEventType());
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/DefaultAttributeTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,104 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import java.util.Iterator;
+
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.events.StartElement;
+import javax.xml.stream.events.XMLEvent;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test StAX parses namespace and attribute.
+ */
+public class DefaultAttributeTest {
+
+    private static final String INPUT_FILE = "ExternalDTD.xml";
+
+    @Test
+    public void testStreamReader() {
+        XMLInputFactory ifac = XMLInputFactory.newInstance();
+        XMLOutputFactory ofac = XMLOutputFactory.newInstance();
+
+        try {
+            ifac.setProperty(ifac.IS_REPLACING_ENTITY_REFERENCES, new Boolean(false));
+
+            XMLStreamReader re = ifac.createXMLStreamReader(this.getClass().getResource(INPUT_FILE).toExternalForm(),
+                    this.getClass().getResourceAsStream(INPUT_FILE));
+
+            while (re.hasNext()) {
+                int event = re.next();
+                if (event == XMLStreamConstants.START_ELEMENT && re.getLocalName().equals("bookurn")) {
+                    Assert.assertTrue(re.getAttributeCount() == 0, "No attributes are expected for <bookurn> ");
+                    Assert.assertTrue(re.getNamespaceCount() == 2, "Two namespaces are expected for <bookurn> ");
+                }
+            }
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testEventReader() {
+        try {
+            XMLInputFactory ifac = XMLInputFactory.newInstance();
+            XMLEventReader read = ifac.createXMLEventReader(this.getClass().getResource(INPUT_FILE).toExternalForm(),
+                    this.getClass().getResourceAsStream(INPUT_FILE));
+            while (read.hasNext()) {
+                XMLEvent event = read.nextEvent();
+                if (event.isStartElement()) {
+                    StartElement startElement = event.asStartElement();
+                    if (startElement.getName().getLocalPart().equals("bookurn")) {
+                        Iterator iterator = startElement.getNamespaces();
+                        int count = 0;
+                        while (iterator.hasNext()) {
+                            iterator.next();
+                            count++;
+                        }
+                        Assert.assertTrue(count == 2, "Two namespaces are expected for <bookurn> ");
+
+                        Iterator attributes = startElement.getAttributes();
+                        count = 0;
+                        while (attributes.hasNext()) {
+                            iterator.next();
+                            count++;
+                        }
+                        Assert.assertTrue(count == 0, "Zero attributes are expected for <bookurn> ");
+                    }
+                }
+            }
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/DoubleXmlnsTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,114 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import java.io.StringReader;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test double namespaces and nested namespaces.
+ */
+public class DoubleXmlnsTest {
+
+    @Test
+    public void testDoubleNS() throws Exception {
+
+        final String INVALID_XML = "<foo xmlns:xmli='http://www.w3.org/XML/1998/namespacei' xmlns:xmli='http://www.w3.org/XML/1998/namespacei' />";
+
+        try {
+            XMLStreamReader xsr = XMLInputFactory.newInstance().createXMLStreamReader(new StringReader(INVALID_XML));
+
+            while (xsr.hasNext()) {
+                xsr.next();
+            }
+
+            Assert.fail("Wellformedness error expected: " + INVALID_XML);
+        } catch (XMLStreamException e) {
+            ; // this is expected
+        }
+    }
+
+    @Test
+    public void testNestedNS() throws Exception {
+
+        final String VALID_XML = "<foo xmlns:xmli='http://www.w3.org/XML/1998/namespacei'><bar xmlns:xmli='http://www.w3.org/XML/1998/namespaceii'></bar></foo>";
+
+        try {
+            XMLStreamReader xsr = XMLInputFactory.newInstance().createXMLStreamReader(new StringReader(VALID_XML));
+
+            while (xsr.hasNext()) {
+                xsr.next();
+            }
+
+            // expected success
+        } catch (XMLStreamException e) {
+            e.printStackTrace();
+
+            Assert.fail("Wellformedness error is not expected: " + VALID_XML + ", " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testDoubleXmlns() throws Exception {
+
+        final String INVALID_XML = "<foo xmlns:xml='http://www.w3.org/XML/1998/namespace' xmlns:xml='http://www.w3.org/XML/1998/namespace' ></foo>";
+
+        try {
+            XMLStreamReader xsr = XMLInputFactory.newInstance().createXMLStreamReader(new StringReader(INVALID_XML));
+
+            while (xsr.hasNext()) {
+                xsr.next();
+            }
+
+            Assert.fail("Wellformedness error expected :" + INVALID_XML);
+        } catch (XMLStreamException e) {
+            ; // this is expected
+        }
+    }
+
+    @Test
+    public void testNestedXmlns() throws Exception {
+
+        final String VALID_XML = "<foo xmlns:xml='http://www.w3.org/XML/1998/namespace'><bar xmlns:xml='http://www.w3.org/XML/1998/namespace'></bar></foo>";
+
+        try {
+            XMLStreamReader xsr = XMLInputFactory.newInstance().createXMLStreamReader(new StringReader(VALID_XML));
+
+            while (xsr.hasNext()) {
+                xsr.next();
+            }
+
+            // expected success
+        } catch (XMLStreamException e) {
+            e.printStackTrace();
+            Assert.fail("Wellformedness error is not expected: " + VALID_XML + ", " + e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/ExternalDTD.dtd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,13 @@
+<!ELEMENT document ANY>
+<!ELEMENT title (#PCDATA)>
+<!ELEMENT publisher (#PCDATA)>
+<!ELEMENT book (#PCDATA)>
+<!ELEMENT bookurn (#PCDATA)>
+<!ELEMENT xmlns:pages (#PCDATA)>
+<!ATTLIST book price CDATA "$100">
+<!ATTLIST book author CDATA "Herold">
+<!ATTLIST book number ID #REQUIRED>
+<!ATTLIST bookurn xmlns CDATA "10">
+<!ATTLIST bookurn xmlns:isbn CDATA "10">
+<!ENTITY mkm "I am Krishna">
+<!ENTITY km "I am KrishnaMohan">
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/ExternalDTD.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding ="utf-8"?>
+<!DOCTYPE document SYSTEM "ExternalDTD.dtd" [
+<!ENTITY max "Substituted text">
+]>
+<!-- ExternalDTD throws a Negative array size Exception when 
+trying to parse with the above DTD reference AND an entity declaration-->
+<document>
+	<title>The Publishers </title>
+	<publisher>        
+	Alfred Publishing
+	15535 Morrison
+	South Oaks CA 91403
+        &max;
+	</publisher>
+	<book price="$100" author = "Herold" number = "no_11">eXtensible Markup Language</book>
+  	<bookurn xmlns='urn:loc.gov:books' xmlns:isbn='urn:ISBN:0-395-36341-6'/> 
+        <pb/>
+	<pages />
+</document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Hello.wsdl.data	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-16"?>
+<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+	xmlns:tns="http://www.example.org/Hello/"
+	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Hello"
+	targetNamespace="http://www.example.org/Hello/">
+	
+	<wsdl:message name="SayHelloResponse">
+		<wsdl:part name="SayHelloResponse" type="xsd:string" />
+	</wsdl:message>
+	<wsdl:message name="SayHelloRequest">
+		<wsdl:part name="SayHelloRequest" type="xsd:string" />
+	</wsdl:message>
+	<wsdl:portType name="Hello">
+		<wsdl:operation name="SayHello">
+			<wsdl:input message="tns:SayHelloRequest" />
+			<wsdl:output message="tns:SayHelloResponse" />
+		</wsdl:operation>
+	</wsdl:portType>
+	
+	<wsdl:binding name="HelloSOAP" type="tns:Hello">
+		<soap:binding style="rpc"
+			transport="http://schemas.xmlsoap.org/soap/http" />
+		<wsdl:operation name="SayHello">
+			<soap:operation
+				soapAction="http://www.example.org/Hello/SayHello" />
+			<wsdl:input>
+				<soap:body namespace="http://www.example.org/Hello/"
+					parts="SayHelloRequest" use="literal" />
+			</wsdl:input>
+			<wsdl:output>
+				<soap:body namespace="http://www.example.org/Hello/"
+					parts="SayHelloResponse" use="literal" />
+			</wsdl:output>
+		</wsdl:operation>
+	</wsdl:binding>
+	<wsdl:service name="Hello">
+		<wsdl:port binding="tns:HelloSOAP" name="HelloSOAP">
+			<soap:address location="http://www.example.org/" />
+		</wsdl:port>
+	</wsdl:service>
+</wsdl:definitions>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IsValidatingTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,161 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.events.XMLEvent;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6440324
+ * @summary Test StAX can accept non-existent DTD if IS_VALIDATING if false.
+ */
+public class IsValidatingTest {
+
+    /**
+     * File with non-existent DTD.
+     */
+    private static final String INPUT_FILE = "IsValidatingTest.xml";
+    /**
+     * File with internal subset and non-existent DTD.
+     */
+    private static final String INPUT_FILE_INTERNAL_SUBSET = "IsValidatingTestInternalSubset.xml";
+
+    /**
+     * Test StAX with IS_VALIDATING = false and a non-existent DTD.
+     * Test should pass.
+     *
+     * Try to parse an XML file that references a a non-existent DTD.
+     * Desired behavior:
+     *     If IS_VALIDATING == false, then continue processing.
+     *
+     * Note that an attempt is made to read the DTD even if IS_VALIDATING == false.
+     * This is not required for DTD validation, but for entity resolution.
+     * The XML specification allows the optional reading of an external DTD
+     * even for non-validating processors.
+     *
+     */
+    @Test
+    public void testStAXIsValidatingFalse() {
+
+        XMLStreamReader reader = null;
+        Boolean isValidating = null;
+        String propertyValues = null;
+        boolean dtdEventOccured = false;
+
+        XMLInputFactory xif = XMLInputFactory.newInstance();
+        xif.setProperty(XMLInputFactory.IS_VALIDATING, Boolean.FALSE);
+
+        try {
+            reader = xif.createXMLStreamReader(this.getClass().getResource(INPUT_FILE).toExternalForm(), this.getClass().getResourceAsStream(INPUT_FILE));
+
+            isValidating = (Boolean) reader.getProperty(XMLInputFactory.IS_VALIDATING);
+            propertyValues = "IS_VALIDATING=" + isValidating;
+
+            while (reader.hasNext()) {
+                int e = reader.next();
+                if (e == XMLEvent.DTD) {
+                    dtdEventOccured = true;
+                    System.out.println("testStAXIsValidatingFalse(): " + "reader.getText() with Event == DTD: " + reader.getText());
+                }
+            }
+
+            // expected success
+
+            // should have see DTD Event
+            if (!dtdEventOccured) {
+                Assert.fail("Unexpected failure: did not see DTD event");
+            }
+        } catch (Exception e) {
+            // unexpected failure
+            System.err.println("Exception with reader.getEventType(): " + reader.getEventType());
+            e.printStackTrace();
+            Assert.fail("Unexpected failure with " + propertyValues + ", " + e.toString());
+        }
+    }
+
+    /**
+     * Test StAX with IS_VALIDATING = false, an internal subset and a
+     * non-existent DTD.
+     *
+     * Test should pass.
+     */
+    @Test
+    public void testStAXIsValidatingFalseInternalSubset() {
+
+        XMLStreamReader reader = null;
+        Boolean isValidating = null;
+        String propertyValues = null;
+        boolean dtdEventOccured = false;
+        boolean entityReferenceEventOccured = false;
+
+        XMLInputFactory xif = XMLInputFactory.newInstance();
+        xif.setProperty(XMLInputFactory.IS_VALIDATING, Boolean.FALSE);
+        xif.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, Boolean.FALSE);
+
+        try {
+            reader = xif.createXMLStreamReader(this.getClass().getResource(INPUT_FILE).toExternalForm(),
+                    this.getClass().getResourceAsStream(INPUT_FILE_INTERNAL_SUBSET));
+
+            isValidating = (Boolean) reader.getProperty(XMLInputFactory.IS_VALIDATING);
+            propertyValues = "IS_VALIDATING=" + isValidating;
+
+            while (reader.hasNext()) {
+                int e = reader.next();
+                if (e == XMLEvent.DTD) {
+                    dtdEventOccured = true;
+                    System.out.println("testStAXIsValidatingFalseInternalSubset(): " + "reader.getText() with Event == DTD: " + reader.getText());
+                } else if (e == XMLEvent.ENTITY_REFERENCE) {
+                    // expected ENTITY_REFERENCE values?
+                    if (reader.getLocalName().equals("foo") && reader.getText().equals("bar")) {
+                        entityReferenceEventOccured = true;
+                    }
+
+                    System.out.println("testStAXIsValidatingFalseInternalSubset(): " + "reader.get(LocalName, Text)() with Event " + " == ENTITY_REFERENCE: "
+                            + reader.getLocalName() + " = " + reader.getText());
+                }
+            }
+
+            // expected success
+
+            // should have see DTD Event
+            if (!dtdEventOccured) {
+                Assert.fail("Unexpected failure: did not see DTD event");
+            }
+
+            // should have seen an ENITY_REFERENCE Event
+            if (!entityReferenceEventOccured) {
+                Assert.fail("Unexpected failure: did not see ENTITY_REFERENCE event");
+            }
+        } catch (Exception e) {
+            // unexpected failure
+            System.err.println("Exception with reader.getEventType(): " + reader.getEventType());
+            e.printStackTrace();
+            Assert.fail("Unexpected failure with " + propertyValues + ", " + e.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IsValidatingTest.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * Copyright (c) 2014, 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.
+ */
+-->
+
+<!DOCTYPE IsValidating SYSTEM 'IsValidating.dtd'>
+<IsValidating>
+    Hello World!
+</IsValidating>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IsValidatingTestInternalSubset.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * Copyright (c) 2014, 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.
+ */
+-->
+
+<!DOCTYPE IsValidating SYSTEM 'IsValidating.dtd' [
+    <!ENTITY foo "bar">
+]>
+<IsValidating>
+    Hello &foo; World!
+</IsValidating>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Issue44Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,55 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6631262
+ * @summary Test XMLStreamReader.getName() shall throw IllegalStateException if current event is not start/end element.
+ */
+public class Issue44Test {
+
+    @Test
+    public void testStartElement() {
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+            // File file = new File("./tests/XMLStreamReader/sgml.xml");
+            // FileInputStream inputStream = new FileInputStream(file);
+            XMLStreamReader xsr = xif.createXMLStreamReader(this.getClass().getResourceAsStream("sgml.xml"));
+
+            xsr.getName();
+        } catch (IllegalStateException ise) {
+            // expected
+            System.out.println(ise.getMessage());
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Issue47Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,85 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import java.io.StringReader;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.AssertJUnit;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6631265
+ * @summary Test XMLStreamReader.standaloneSet() presents if input document has a value for "standalone" attribute in xml declaration.
+ */
+public class Issue47Test {
+
+    @Test
+    public void testStandaloneSet() {
+        final String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><prefix:root xmlns=\"\" xmlns:null=\"\"></prefix:root>";
+
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+            XMLStreamReader r = xif.createXMLStreamReader(new StringReader(xml));
+            Assert.assertTrue(!r.standaloneSet() && !r.isStandalone());
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testStandaloneSet1() {
+        final String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><prefix:root xmlns=\"\" xmlns:null=\"\"></prefix:root>";
+
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+            XMLStreamReader r = xif.createXMLStreamReader(new StringReader(xml));
+            Assert.assertTrue(r.standaloneSet() && !r.isStandalone());
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testStandaloneSet2() {
+        final String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><prefix:root xmlns=\"\" xmlns:null=\"\"></prefix:root>";
+
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+            XMLStreamReader r = xif.createXMLStreamReader(new StringReader(xml));
+            AssertJUnit.assertTrue(r.standaloneSet() && r.isStandalone());
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IssueTracker24.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,57 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import java.io.StringReader;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test no prefix is represented by "", not null.
+ */
+public class IssueTracker24 {
+
+    @Test
+    public void testInconsistentGetPrefixBehaviorWhenNoPrefix() throws Exception {
+        String xml = "<root><child xmlns='foo'/><anotherchild/></root>";
+
+        XMLInputFactory factory = XMLInputFactory.newInstance();
+        XMLStreamReader r = factory.createXMLStreamReader(new StringReader(xml));
+        r.require(XMLStreamReader.START_DOCUMENT, null, null);
+        r.next();
+        r.require(XMLStreamReader.START_ELEMENT, null, "root");
+        Assert.assertEquals(r.getPrefix(), "", "prefix should be empty string");
+        r.next();
+        r.require(XMLStreamReader.START_ELEMENT, null, "child");
+        r.next();
+        r.next();
+        r.require(XMLStreamReader.START_ELEMENT, null, "anotherchild");
+        Assert.assertEquals(r.getPrefix(), "", "prefix should be empty string");
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IssueTracker35.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,55 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import java.io.InputStream;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test StAX parse xsd document including external DTD.
+ */
+public class IssueTracker35 {
+
+    @Test
+    public void testSkippingExternalDTD() throws Exception {
+        XMLInputFactory xif = XMLInputFactory.newInstance();
+        try(
+                InputStream is= getClass().getResourceAsStream("XMLSchema.xsd");
+        ) {
+                XMLStreamReader reader = xif.createXMLStreamReader(getClass().getResource("XMLSchema.xsd").getFile(), is);
+                int e;
+                while ((e = reader.next()) == XMLStreamConstants.COMMENT);
+
+                Assert.assertEquals(e, XMLStreamConstants.DTD, "should be DTD");
+                reader.nextTag();
+                Assert.assertEquals(reader.getLocalName(), "schema", "next tag should be schema");
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IssueTracker70.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,72 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.util.function.Consumer;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test it can retrieve attribute with null or empty name space.
+ */
+public class IssueTracker70 {
+
+    static private final File testFile = new File(IssueTracker70.class.getResource("IssueTracker70.xml").getFile());
+
+    @Test
+    public void testGetAttributeValueWithNullNs() throws Exception {
+        testGetAttributeValueWithNs(null, "attribute2", this::checkNull);
+    }
+
+    @Test
+    public void testGetAttributeValueWithEmptyNs() throws Exception {
+        testGetAttributeValueWithNs("", "attribute1", this::checkNull);
+    }
+
+
+    private void testGetAttributeValueWithNs(String nameSpace, String attrName, Consumer<String> checker) throws Exception {
+        XMLInputFactory xif = XMLInputFactory.newInstance();
+        XMLStreamReader xsr = xif.createXMLStreamReader(new FileInputStream(testFile));
+
+        while (xsr.hasNext()) {
+            xsr.next();
+            if (xsr.isStartElement()) {
+                String v;
+                v = xsr.getAttributeValue(nameSpace, attrName);
+                checker.accept(v);
+            }
+        }
+    }
+
+    private void checkNull(String value)
+    {
+        Assert.assertNotNull(value, "should have attribute value");
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IssueTracker70.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<element xmlns:space="foo" 
+    attribute1="value1" space:attribute2="value2" attribute3="value3"/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Jsr173MR1Req5.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding ="utf-8"?>
+<foo attr1="bar" xmlns="foo.com" xmlns:pre="somefix"/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Jsr173MR1Req5Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,87 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLStreamReader parses namespace declaration within element when NamespaceAware turns off and on.
+ */
+public class Jsr173MR1Req5Test {
+
+    private static final String INPUT_FILE1 = "Jsr173MR1Req5.xml";
+
+    @Test
+    public void testAttributeCountNoNS() {
+        XMLInputFactory ifac = XMLInputFactory.newInstance();
+
+        try {
+            // Turn off NS awareness to count xmlns as attributes
+            ifac.setProperty("javax.xml.stream.isNamespaceAware", Boolean.FALSE);
+
+            XMLStreamReader re = ifac.createXMLStreamReader(getClass().getResource(INPUT_FILE1).toExternalForm(),
+                    this.getClass().getResourceAsStream(INPUT_FILE1));
+            while (re.hasNext()) {
+                int event = re.next();
+                if (event == XMLStreamConstants.START_ELEMENT) {
+                    // System.out.println("#attrs = " + re.getAttributeCount());
+                    Assert.assertTrue(re.getAttributeCount() == 3);
+                }
+            }
+            re.close();
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testAttributeCountNS() {
+        XMLInputFactory ifac = XMLInputFactory.newInstance();
+
+        try {
+            // Turn on NS awareness to not count xmlns as attributes
+            ifac.setProperty("javax.xml.stream.isNamespaceAware", Boolean.TRUE);
+
+            XMLStreamReader re = ifac.createXMLStreamReader(getClass().getResource(INPUT_FILE1).toExternalForm(),
+                    this.getClass().getResourceAsStream(INPUT_FILE1));
+            while (re.hasNext()) {
+                int event = re.next();
+                if (event == XMLStreamConstants.START_ELEMENT) {
+                    // System.out.println("#attrs = " + re.getAttributeCount());
+                    Assert.assertTrue(re.getAttributeCount() == 1);
+                }
+            }
+            re.close();
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Jsr173MR1Req8.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding ="utf-8"?>
+<foo attr1="pass" pre:attr1="fail" xmlns="foo.com" xmlns:pre="somefix"/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/Jsr173MR1Req8Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,65 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLStreamReader parses attribute with namespace aware.
+ */
+public class Jsr173MR1Req8Test {
+
+    private static final String INPUT_FILE1 = "Jsr173MR1Req8.xml";
+
+    @Test
+    public void testDefaultAttrNS() {
+        XMLInputFactory ifac = XMLInputFactory.newInstance();
+
+        try {
+            XMLStreamReader re = ifac.createXMLStreamReader(getClass().getResource(INPUT_FILE1).toExternalForm(),
+                    this.getClass().getResourceAsStream(INPUT_FILE1));
+            while (re.hasNext()) {
+                int event = re.next();
+                if (event == XMLStreamConstants.START_ELEMENT) {
+                    // System.out.println("#attrs = " + re.getAttributeCount());
+                    Assert.assertTrue(re.getAttributeCount() == 2);
+                    // This works if "" is replaced by null too
+                    // System.out.println("attr1 = " + re.getAttributeValue("",
+                    // "attr1"));
+                    Assert.assertTrue(re.getAttributeValue("", "attr1").equals("pass"));
+                }
+            }
+            re.close();
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/NamespaceTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,149 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import java.io.InputStream;
+
+import javax.xml.namespace.NamespaceContext;
+import javax.xml.namespace.QName;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test StAX parser processes namespace.
+ */
+public class NamespaceTest {
+
+    String namespaceURI = "foobar.com";
+    String rootElement = "foo";
+    String childElement = "foochild";
+    String prefix = "a";
+
+    // Add test methods here, they have to start with 'test' name.
+    // for example:
+    // public void testHello() {}
+
+    String getXML() {
+        StringBuffer sbuffer = new StringBuffer();
+        sbuffer.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
+        sbuffer.append("<" + rootElement + " xmlns:");
+        sbuffer.append(prefix);
+        sbuffer.append("=\"" + namespaceURI + "\">");
+        sbuffer.append("<" + prefix + ":" + childElement + ">");
+        sbuffer.append("blahblah");
+        sbuffer.append("</" + prefix + ":" + childElement + ">");
+        sbuffer.append("</" + rootElement + ">");
+        // System.out.println("XML = " + sbuffer.toString()) ;
+        return sbuffer.toString();
+    }
+
+    @Test
+    public void testRootElementNamespace() {
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+            xif.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
+            InputStream is = new java.io.ByteArrayInputStream(getXML().getBytes());
+            XMLStreamReader sr = xif.createXMLStreamReader(is);
+            while (sr.hasNext()) {
+                int eventType = sr.next();
+                if (eventType == XMLStreamConstants.START_ELEMENT) {
+                    if (sr.getLocalName().equals(rootElement)) {
+                        Assert.assertTrue(sr.getNamespacePrefix(0).equals(prefix) && sr.getNamespaceURI(0).equals(namespaceURI));
+                    }
+                }
+            }
+        } catch (Exception ex) {
+            ex.printStackTrace();
+        }
+    }
+
+    @Test
+    public void testChildElementNamespace() {
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+            xif.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
+            InputStream is = new java.io.ByteArrayInputStream(getXML().getBytes());
+            XMLStreamReader sr = xif.createXMLStreamReader(is);
+            while (sr.hasNext()) {
+                int eventType = sr.next();
+                if (eventType == XMLStreamConstants.START_ELEMENT) {
+                    if (sr.getLocalName().equals(childElement)) {
+                        QName qname = sr.getName();
+                        Assert.assertTrue(qname.getPrefix().equals(prefix) && qname.getNamespaceURI().equals(namespaceURI)
+                                && qname.getLocalPart().equals(childElement));
+                    }
+                }
+            }
+        } catch (Exception ex) {
+            ex.printStackTrace();
+        }
+    }
+
+    @Test
+    public void testNamespaceContext() {
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+            xif.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
+            InputStream is = new java.io.ByteArrayInputStream(getXML().getBytes());
+            XMLStreamReader sr = xif.createXMLStreamReader(is);
+            while (sr.hasNext()) {
+                int eventType = sr.next();
+                if (eventType == XMLStreamConstants.START_ELEMENT) {
+                    if (sr.getLocalName().equals(childElement)) {
+                        NamespaceContext context = sr.getNamespaceContext();
+                        Assert.assertTrue(context.getPrefix(namespaceURI).equals(prefix));
+                    }
+                }
+            }
+        } catch (Exception ex) {
+            ex.printStackTrace();
+        }
+    }
+
+    @Test
+    public void testNamespaceCount() {
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+            xif.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
+            InputStream is = new java.io.ByteArrayInputStream(getXML().getBytes());
+            XMLStreamReader sr = xif.createXMLStreamReader(is);
+            while (sr.hasNext()) {
+                int eventType = sr.next();
+                if (eventType == XMLStreamConstants.START_ELEMENT) {
+                    if (sr.getLocalName().equals(rootElement)) {
+                        int count = sr.getNamespaceCount();
+                        Assert.assertTrue(count == 1);
+                    }
+                }
+            }
+        } catch (Exception ex) {
+            ex.printStackTrace();
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/StreamReaderTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,58 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLStreamReader.hasName() returns false for ENTITY_REFERENCE.
+ */
+public class StreamReaderTest {
+
+    /**
+     * CR 6631264 / sjsxp Issue 45:
+     * https://sjsxp.dev.java.net/issues/show_bug.cgi?id=45
+     * XMLStreamReader.hasName() should return false for ENTITY_REFERENCE
+     */
+    @Test
+    public void testHasNameOnEntityEvent() throws Exception {
+        XMLInputFactory xif = XMLInputFactory.newInstance();
+        xif.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, false);
+        XMLStreamReader r = xif.createXMLStreamReader(this.getClass().getResourceAsStream("ExternalDTD.xml"));
+        while (r.next() != XMLStreamConstants.ENTITY_REFERENCE) {
+            System.out.println("event type: " + r.getEventType());
+            continue;
+        }
+        if (r.hasName()) {
+            System.out.println("hasName returned true on ENTITY_REFERENCE event.");
+        }
+        Assert.assertFalse(r.hasName()); // fails
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/SupportDTDTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,284 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.StringReader;
+import java.util.List;
+
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.events.Characters;
+import javax.xml.stream.events.DTD;
+import javax.xml.stream.events.EntityDeclaration;
+import javax.xml.stream.events.EntityReference;
+import javax.xml.stream.events.XMLEvent;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test SUPPORT_DTD and IS_REPLACING_ENTITY_REFERENCES.
+ */
+
+/**
+*
+* SUPPORT_DTD behavior:
+* Regardless of supportDTD, always report a DTD event () and throw an
+* exception if an entity reference is found when supportDTD is false
+*
+* The behavior is related to property IS_REPLACING_ENTITY_REFERENCES.
+*
+* SUPPORT_DTD      Replace Entity   DTD                    ENTITY_REFERENCE
+* true (default)   true (default)   yes, has entities      no, return Characters
+* true (default)   false            yes, has entities      yes, can print entity name
+* false            true (default)   yes, but no entity     Exception: Undeclared general entity
+* false            false            yes, but no entity     yes, can print entity name
+*
+* Two patches related:
+* sjsxp issue 9: XMLDocumentScannerImpl.java rev 1.6
+* If the supportDTD property is set to FALSE, external and internal subsets
+* are now ignored, rather than an error being reported. In particular, with
+* this property set to FALSE, no error is reported if an external subset cannot
+* be found. Note that the internal subset is still parsed (and errors could be
+* reported here) but no events are returned by the parser. This fixes SJSXP
+* issue 9 from Java.net.
+* Note: SAX and DOM report fatal errors:
+*       If either SAX or DOM is used, turning on http://apache.org/xml/features/disallow-doctype-decl [1] effectively disables DTD,
+*       according to the spec: A fatal error is thrown if the incoming document contains a DOCTYPE declaration.
+*       The current jaxp implementation actually throws a nullpointexception. A better error message could be used.
+*
+*/
+public class SupportDTDTest {
+    final boolean DEBUG = false;
+    final String _file = "ExternalDTD.xml";
+    final String XML = "<?xml version='1.0' ?>" + "<!DOCTYPE root [\n" + "<!ENTITY intEnt 'internal entity'>\n" + "<!ENTITY extParsedEnt SYSTEM 'url:dummy'>\n"
+            + "<!NOTATION notation PUBLIC 'notation-public-id'>\n" + "<!NOTATION notation2 SYSTEM 'url:dummy'>\n"
+            + "<!ENTITY extUnparsedEnt SYSTEM 'url:dummy2' NDATA notation>\n" + "]>" + "<root>&intEnt;</root>";
+
+    final String XML1 = "<?xml version='1.0' encoding ='utf-8'?>" + "<!DOCTYPE document SYSTEM \"" + this.getClass().getResource("ExternalDTD.dtd").getFile()
+            + "\">" + "<document>" + "<name>&mkm;</name>" + "</document>";
+
+   // final String XML1 = "<?xml version='1.0' encoding ='utf-8'?>" + "<!DOCTYPE document SYSTEM \"/home/oracle/repo/xmlwork/dev/jdk/test/javax/xml/jaxp/unittest/javax/xml/stream/XMLStreamReaderTest/ExternalDTD.dtd\">" + "<document>"
+   //         + "<name>&mkm;</name>" + "</document>";
+
+    final int ENTITY_INTERNAL_ONLY = 1;
+    final int ENTITY_EXTERNAL_ONLY = 2;
+    final int ENTITY_BOTH = 3;
+
+    boolean _DTDReturned = false;
+    boolean _EntityEventReturned = false;
+    boolean _hasEntityDelaration = false;
+    boolean _exceptionThrown = false;
+
+    /** Creates a new instance of StreamReader */
+    public SupportDTDTest(String name) {
+    }
+
+    void reset() {
+        _DTDReturned = false;
+        _EntityEventReturned = false;
+        _hasEntityDelaration = false;
+        _exceptionThrown = false;
+    }
+
+    // tests 1-4 test internal entities only
+    @Test
+    public void test1() {
+        supportDTD(true, true, ENTITY_INTERNAL_ONLY);
+        Assert.assertEquals(true, _DTDReturned);
+        Assert.assertEquals(true, _hasEntityDelaration);
+        Assert.assertEquals(false, _EntityEventReturned);
+    }
+
+    @Test
+    public void test2() {
+        supportDTD(true, false, ENTITY_INTERNAL_ONLY);
+        Assert.assertEquals(true, _DTDReturned);
+        Assert.assertEquals(true, _hasEntityDelaration);
+        Assert.assertEquals(true, _EntityEventReturned);
+    }
+
+    @Test
+    public void test3() {
+        supportDTD(false, true, ENTITY_INTERNAL_ONLY);
+        Assert.assertEquals(true, _DTDReturned);
+        Assert.assertEquals(false, _hasEntityDelaration);
+        Assert.assertEquals(true, _exceptionThrown);
+    }
+
+    @Test
+    public void test4() {
+        supportDTD(false, false, ENTITY_INTERNAL_ONLY);
+        Assert.assertEquals(true, _DTDReturned);
+        Assert.assertEquals(false, _hasEntityDelaration);
+        Assert.assertEquals(true, _EntityEventReturned);
+    }
+
+    // tests 5-8 test external entities only
+    @Test
+    public void test5() {
+        supportDTD(true, true, ENTITY_EXTERNAL_ONLY);
+        Assert.assertEquals(true, _DTDReturned);
+        Assert.assertEquals(true, _hasEntityDelaration);
+        Assert.assertEquals(false, _EntityEventReturned);
+    }
+
+    @Test
+    public void test6() {
+        supportDTD(true, false, ENTITY_EXTERNAL_ONLY);
+        Assert.assertEquals(true, _DTDReturned);
+        Assert.assertEquals(true, _hasEntityDelaration);
+        Assert.assertEquals(true, _EntityEventReturned);
+    }
+
+    @Test
+    public void test7() {
+        supportDTD(false, true, ENTITY_EXTERNAL_ONLY);
+        Assert.assertEquals(true, _DTDReturned);
+        Assert.assertEquals(false, _hasEntityDelaration);
+        Assert.assertEquals(true, _exceptionThrown);
+    }
+
+    @Test
+    public void test8() {
+        supportDTD(false, false, ENTITY_EXTERNAL_ONLY);
+        Assert.assertEquals(true, _DTDReturned);
+        Assert.assertEquals(false, _hasEntityDelaration);
+        Assert.assertEquals(true, _EntityEventReturned);
+    }
+
+    // tests 9-12 test both internal and external entities
+    @Test
+    public void test9() {
+        supportDTD(true, true, ENTITY_BOTH);
+        Assert.assertEquals(true, _DTDReturned);
+        Assert.assertEquals(true, _hasEntityDelaration);
+        Assert.assertEquals(false, _EntityEventReturned);
+    }
+
+    @Test
+    public void test10() {
+        supportDTD(true, false, ENTITY_BOTH);
+        Assert.assertEquals(true, _DTDReturned);
+        Assert.assertEquals(true, _hasEntityDelaration);
+        Assert.assertEquals(true, _EntityEventReturned);
+    }
+
+    @Test
+    public void test11() {
+        supportDTD(false, true, ENTITY_BOTH);
+        Assert.assertEquals(true, _DTDReturned);
+        Assert.assertEquals(false, _hasEntityDelaration);
+        Assert.assertEquals(true, _exceptionThrown);
+    }
+
+    @Test
+    public void test12() {
+        supportDTD(false, false, ENTITY_BOTH);
+        Assert.assertEquals(true, _DTDReturned);
+        Assert.assertEquals(false, _hasEntityDelaration);
+        Assert.assertEquals(true, _EntityEventReturned);
+    }
+
+    public void supportDTD(boolean supportDTD, boolean replaceEntity, int inputType) {
+        reset();
+        print("\n");
+        print((supportDTD ? "SupportDTD=true" : "SupportDTD=false") + ", " + (replaceEntity ? "replaceEntity=true" : "replaceEntity=false"));
+        try {
+            XMLInputFactory xif = getFactory(supportDTD, replaceEntity);
+            XMLEventReader r = getEventReader(xif, inputType);
+            int eventType = 0;
+            int count = 0;
+            while (r.hasNext()) {
+                XMLEvent event = r.nextEvent();
+                eventType = event.getEventType();
+                print("Event " + ++count + ": " + eventType);
+                switch (eventType) {
+                    case XMLStreamConstants.DTD:
+                        DisplayEntities((DTD) event);
+                        _DTDReturned = true;
+                        break;
+                    case XMLStreamConstants.ENTITY_REFERENCE:
+                        print("Entity Name: " + ((EntityReference) event).getName());
+                        _EntityEventReturned = true;
+                        break;
+                    case XMLStreamConstants.CHARACTERS:
+                        print("Text: " + ((Characters) event).getData());
+                }
+            }
+
+        } catch (Exception e) {
+            _exceptionThrown = true;
+            if (DEBUG)
+                e.printStackTrace();
+        }
+    }
+
+    XMLInputFactory getFactory(boolean supportDTD, boolean replaceEntity) {
+        XMLInputFactory xif = XMLInputFactory.newInstance();
+        xif.setProperty(XMLInputFactory.SUPPORT_DTD, (supportDTD) ? Boolean.TRUE : Boolean.FALSE);
+        xif.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, (replaceEntity) ? Boolean.TRUE : Boolean.FALSE);
+        // xif.setProperty(XMLInputFactory.IS_VALIDATING, Boolean.TRUE);
+        return xif;
+    }
+
+    private XMLEventReader getEventReader(XMLInputFactory inputFactory, int input) throws Exception {
+        XMLEventReader er = null;
+        if (input == ENTITY_INTERNAL_ONLY) {
+            er = inputFactory.createXMLEventReader(new StringReader(XML));
+        } else if (input == ENTITY_EXTERNAL_ONLY) {
+            er = inputFactory.createXMLEventReader(new StringReader(XML1));
+        } else {
+            File file = new File(this.getClass().getResource(_file).getFile());
+            FileInputStream inputStream = new FileInputStream(file);
+            // XMLStreamReader r = xif.createXMLStreamReader(inputStream);
+            er = inputFactory.createXMLEventReader(inputStream);
+        }
+        return er;
+    }
+
+    void DisplayEntities(DTD event) {
+        List entities = event.getEntities();
+        if (entities == null) {
+            _hasEntityDelaration = false;
+            print("No entity found.");
+        } else {
+            _hasEntityDelaration = true;
+            for (int i = 0; i < entities.size(); i++) {
+                EntityDeclaration entity = (EntityDeclaration) entities.get(i);
+                print(entity.getName());
+            }
+        }
+
+    }
+
+    void print(String s) {
+        if (DEBUG)
+            System.out.println(s);
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/UTF16-BE.wsdl.data	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-16"?>
+<definitions
+    xmlns="http://schemas.xmlsoap.org/wsdl/"
+    name="W2JDLR4002TestService"
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+    targetNamespace="http://w2jdlr4002testservice.org/W2JDLR4002TestService.wsdl"
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+    xmlns:tns="http://w2jdlr4002testservice.org/W2JDLR4002TestService.wsdl"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsd1="http://w2jdlr4002testservice.org/xsd">
+
+    <types>
+        <schema targetNamespace="http://w2jdlr4002testservice.org/xsd"
+            xmlns="http://www.w3.org/2001/XMLSchema"
+            xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+            elementFormDefault="qualified">
+
+            <element name="echoStringParam" type="xsd:string"/>
+
+            <element name="echoStringReturn" type="xsd:string"/>
+            
+        </schema>
+    </types>
+
+    <message name="echoString">
+        <part element="xsd1:echoStringParam" name="str"/>
+    </message>
+    <message name="echoStringResponse">
+        <part element="xsd1:echoStringReturn" name="result"/>
+    </message>
+
+    <portType name="W2JDLR4002Test">
+    	<operation name="echoString">
+            <input message="tns:echoString"/>
+            <output message="tns:echoStringResponse"/>
+    	</operation>
+    </portType>
+    
+    <binding name="W2JDLR4002TestBinding" type="tns:W2JDLR4002Test">
+    	<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+    	<operation name="echoString">
+    		<soap:operation/>
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+    	</operation>
+    </binding>
+
+    <service name="W2JDLR4002TestService">
+        <port binding="tns:W2JDLR4002TestBinding"
+            name="W2JDLR4002TestPort">
+            <soap:address
+                location="http://w2jdlr4002testservice.org/W2JDLR4002TestService.wsdl"/>
+        </port>
+    </service>
+    
+</definitions>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/UTF8-BOM.xml.data	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,1 @@
+<ns0:Envelope xmlns:nasp="urn:hl7-org:v3" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/"><ns0:Header><nasp:naspHeader type="Message"><nasp:id root="aa910964-898e-4802-8f6e-d1be452639cd"></nasp:id><nasp:interactionId root="2.16.840.1.113883.2.1.3.2.4.12" extension="QUPA_IN010000UK01"></nasp:interactionId><nasp:communicationFunctionRcv type="CommunicationFunction" typeCode="RCV"><nasp:device type="Device" classCode="DEV" determinerCode="INSTANCE"><nasp:id root="2.16.840.1.113883.2.1.4.11" extension="NASPTestEndpoint"></nasp:id></nasp:device></nasp:communicationFunctionRcv><nasp:communicationFunctionSnd type="CommunicationFunction" typeCode="SND"><nasp:device type="Device" classCode="DEV" determinerCode="INSTANCE"><nasp:id root="2.16.840.1.113883.2.1.4.11" extension="F81079-00093"></nasp:id></nasp:device></nasp:communicationFunctionSnd><nasp:ControlActProcess type="ControlAct" classCode="CACT" moodCode="RQO"><nasp:author type="Participation" typeCode="AUT"><nasp:assignedEntity type="RoleHeir" classCode="ASSIGNED"><nasp:representedOrganization type="Organization" classCode="ORG" determinerCode="INSTANCE"></nasp:representedOrganization></nasp:assignedEntity></nasp:author></nasp:ControlActProcess></nasp:naspHeader></ns0:Header><ns0:Body><m:QUPA_IN010000UK01 xsi:schemaLocation="urn:hl7-org:v3 ../Schemas/QUPA_IN010000UK01.xsd" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="urn:hl7-org:v3"><m:id root="11111112-65D4-EC43-BC31-62522532BC6E" /><m:creationTime value="200405051115" /><m:versionCode code="V3NPfIT2.0" /><m:interactionId root="2.16.840.1.113883.2.1.3.2.4.12" extension="QUPA_IN010000UK01" /><m:processingCode code="P" /><m:processingModeCode code="T" /><m:acceptAckCode code="NE" /><m:communicationFunctionRcv><m:device><m:id root="2.16.840.1.113883.2.1.4.11" extension="NASP" /><m:id root="2.16.840.1.113883.2.1.4.10" extension="100000000900001" /></m:device></m:communicationFunctionRcv><m:communicationFunctionSnd><m:device><m:id root="2.16.840.1.113883.2.1.4.11" extension="ISOFT_001_001" /><m:id root="2.16.840.1.113883.2.1.4.10" extension="100000000800001" /></m:device></m:communicationFunctionSnd><m:ControlActProcess xsi:schemaLocation="urn:hl7-org:v3 ../Schemas/QUPA_MT010101UK02.xsd" classCode="CACT" moodCode="RQO" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:msg="urn:hl7-org:v3/mif" xmlns:voc="urn:hl7-org:v3/voc"><m:author typeCode="AUT"><m:assignedEntity classCode="ASSIGNED"><m:id root="2.16.840.1.113883.2.1.4.4" extension="G0000017" /><m:code code="011" /><m:representedOrganization classCode="ORG" determinerCode="INSTANCE"><m:id root="2.16.840.1.113883.2.1.4.3" extension="Z99993" /><m:code code="001" /></m:representedOrganization></m:assignedEntity></m:author><m:pdsTraceQuery><m:queryId root="BBBBQ01B-A9D1-A411-F824-9F7A00A33757" /><m:person.address><m:value use="H"><m:addressKey> 12345678 </m:addressKey></m:value><m:semanticsText>person.address</m:semanticsText></m:person.address><m:person.administrativeGenderCode><m:value code="2" /><m:semanticsText>person.administrativeGenderCode</m:semanticsText></m:person.administrativeGenderCode><m:person.birthTime><m:value value="19810303" /><m:semanticsText>person.birthTime</m:semanticsText></m:person.birthTime><m:person.name><m:value use="L"><m:given>Matthew</m:given><m:family>Barrow</m:family></m:value><m:semanticsText>person.name</m:semanticsText></m:person.name></m:pdsTraceQuery></m:ControlActProcess></m:QUPA_IN010000UK01></ns0:Body></ns0:Envelope>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/VoiceXMLDTDTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,54 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test parsing Voice XML DTD.
+ */
+public class VoiceXMLDTDTest {
+
+    private static final String INPUT_FILE1 = "voicexml.xml";
+
+    @Test
+    public void test() {
+        XMLInputFactory ifac = XMLInputFactory.newInstance();
+
+        try {
+            XMLStreamReader re = ifac.createXMLStreamReader(getClass().getResource(INPUT_FILE1).toExternalForm(),
+                    this.getClass().getResourceAsStream(INPUT_FILE1));
+            while (re.hasNext()) {
+                int event = re.next();
+            }
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/XML11Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,50 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamReaderTest;
+
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test parsing xml 1.1.
+ */
+public class XML11Test {
+
+    @Test
+    public void test() {
+        try {
+            XMLInputFactory xif = XMLInputFactory.newInstance();
+            XMLEventReader reader = xif.createXMLEventReader(this.getClass().getResourceAsStream("xml11.xml.data"));
+            while (reader.hasNext())
+                reader.next();
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/XMLSchema.dtd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,402 @@
+<!-- DTD for XML Schemas: Part 1: Structures
+     Public Identifier: "-//W3C//DTD XMLSCHEMA 200102//EN"
+     Official Location: http://www.w3.org/2001/XMLSchema.dtd -->
+<!-- $Id: XMLSchema.dtd,v 1.3 2007-07-19 21:56:49 ofung Exp $ -->
+<!-- Note this DTD is NOT normative, or even definitive. -->           <!--d-->
+<!-- prose copy in the structures REC is the definitive version -->    <!--d-->
+<!-- (which shouldn't differ from this one except for this -->         <!--d-->
+<!-- comment and entity expansions, but just in case) -->              <!--d-->
+<!-- With the exception of cases with multiple namespace
+     prefixes for the XML Schema namespace, any XML document which is
+     not valid per this DTD given redefinitions in its internal subset of the
+     'p' and 's' parameter entities below appropriate to its namespace
+     declaration of the XML Schema namespace is almost certainly not
+     a valid schema. -->
+
+<!-- The simpleType element and its constituent parts
+     are defined in XML Schema: Part 2: Datatypes -->
+<!ENTITY % xs-datatypes PUBLIC 'datatypes' 'datatypes.dtd' >
+
+<!ENTITY % p 'xs:'> <!-- can be overriden in the internal subset of a
+                         schema document to establish a different
+                         namespace prefix -->
+<!ENTITY % s ':xs'> <!-- if %p is defined (e.g. as foo:) then you must
+                         also define %s as the suffix for the appropriate
+                         namespace declaration (e.g. :foo) -->
+<!ENTITY % nds 'xmlns%s;'>
+
+<!-- Define all the element names, with optional prefix -->
+<!ENTITY % schema "%p;schema">
+<!ENTITY % complexType "%p;complexType">
+<!ENTITY % complexContent "%p;complexContent">
+<!ENTITY % simpleContent "%p;simpleContent">
+<!ENTITY % extension "%p;extension">
+<!ENTITY % element "%p;element">
+<!ENTITY % unique "%p;unique">
+<!ENTITY % key "%p;key">
+<!ENTITY % keyref "%p;keyref">
+<!ENTITY % selector "%p;selector">
+<!ENTITY % field "%p;field">
+<!ENTITY % group "%p;group">
+<!ENTITY % all "%p;all">
+<!ENTITY % choice "%p;choice">
+<!ENTITY % sequence "%p;sequence">
+<!ENTITY % any "%p;any">
+<!ENTITY % anyAttribute "%p;anyAttribute">
+<!ENTITY % attribute "%p;attribute">
+<!ENTITY % attributeGroup "%p;attributeGroup">
+<!ENTITY % include "%p;include">
+<!ENTITY % import "%p;import">
+<!ENTITY % redefine "%p;redefine">
+<!ENTITY % notation "%p;notation">
+
+<!-- annotation elements -->
+<!ENTITY % annotation "%p;annotation">
+<!ENTITY % appinfo "%p;appinfo">
+<!ENTITY % documentation "%p;documentation">
+
+<!-- Customisation entities for the ATTLIST of each element type.
+     Define one of these if your schema takes advantage of the
+     anyAttribute='##other' in the schema for schemas -->
+
+<!ENTITY % schemaAttrs ''>
+<!ENTITY % complexTypeAttrs ''>
+<!ENTITY % complexContentAttrs ''>
+<!ENTITY % simpleContentAttrs ''>
+<!ENTITY % extensionAttrs ''>
+<!ENTITY % elementAttrs ''>
+<!ENTITY % groupAttrs ''>
+<!ENTITY % allAttrs ''>
+<!ENTITY % choiceAttrs ''>
+<!ENTITY % sequenceAttrs ''>
+<!ENTITY % anyAttrs ''>
+<!ENTITY % anyAttributeAttrs ''>
+<!ENTITY % attributeAttrs ''>
+<!ENTITY % attributeGroupAttrs ''>
+<!ENTITY % uniqueAttrs ''>
+<!ENTITY % keyAttrs ''>
+<!ENTITY % keyrefAttrs ''>
+<!ENTITY % selectorAttrs ''>
+<!ENTITY % fieldAttrs ''>
+<!ENTITY % includeAttrs ''>
+<!ENTITY % importAttrs ''>
+<!ENTITY % redefineAttrs ''>
+<!ENTITY % notationAttrs ''>
+<!ENTITY % annotationAttrs ''>
+<!ENTITY % appinfoAttrs ''>
+<!ENTITY % documentationAttrs ''>
+
+<!ENTITY % complexDerivationSet "CDATA">
+      <!-- #all or space-separated list drawn from derivationChoice -->
+<!ENTITY % blockSet "CDATA">
+      <!-- #all or space-separated list drawn from
+                      derivationChoice + 'substitution' -->
+
+<!ENTITY % mgs '%all; | %choice; | %sequence;'>
+<!ENTITY % cs '%choice; | %sequence;'>
+<!ENTITY % formValues '(qualified|unqualified)'>
+
+
+<!ENTITY % attrDecls    '((%attribute;| %attributeGroup;)*,(%anyAttribute;)?)'>
+
+<!ENTITY % particleAndAttrs '((%mgs; | %group;)?, %attrDecls;)'>
+
+<!-- This is used in part2 -->
+<!ENTITY % restriction1 '((%mgs; | %group;)?)'>
+
+%xs-datatypes;
+
+<!-- the duplication below is to produce an unambiguous content model
+     which allows annotation everywhere -->
+<!ELEMENT %schema; ((%include; | %import; | %redefine; | %annotation;)*,
+                    ((%simpleType; | %complexType;
+                      | %element; | %attribute;
+                      | %attributeGroup; | %group;
+                      | %notation; ),
+                     (%annotation;)*)* )>
+<!ATTLIST %schema;
+   targetNamespace      %URIref;               #IMPLIED
+   version              CDATA                  #IMPLIED
+   %nds;                %URIref;               #FIXED 'http://www.w3.org/2001/XMLSchema'
+   xmlns                CDATA                  #IMPLIED
+   finalDefault         %complexDerivationSet; ''
+   blockDefault         %blockSet;             ''
+   id                   ID                     #IMPLIED
+   elementFormDefault   %formValues;           'unqualified'
+   attributeFormDefault %formValues;           'unqualified'
+   xml:lang             CDATA                  #IMPLIED
+   %schemaAttrs;>
+<!-- Note the xmlns declaration is NOT in the Schema for Schemas,
+     because at the Infoset level where schemas operate,
+     xmlns(:prefix) is NOT an attribute! -->
+<!-- The declaration of xmlns is a convenience for schema authors -->
+ 
+<!-- The id attribute here and below is for use in external references
+     from non-schemas using simple fragment identifiers.
+     It is NOT used for schema-to-schema reference, internal or
+     external. -->
+
+<!-- a type is a named content type specification which allows attribute
+     declarations-->
+<!-- -->
+
+<!ELEMENT %complexType; ((%annotation;)?,
+                         (%simpleContent;|%complexContent;|
+                          %particleAndAttrs;))>
+
+<!ATTLIST %complexType;
+          name      %NCName;                        #IMPLIED
+          id        ID                              #IMPLIED
+          abstract  %boolean;                       #IMPLIED
+          final     %complexDerivationSet;          #IMPLIED
+          block     %complexDerivationSet;          #IMPLIED
+          mixed (true|false) 'false'
+          %complexTypeAttrs;>
+
+<!-- particleAndAttrs is shorthand for a root type -->
+<!-- mixed is disallowed if simpleContent, overriden if complexContent
+     has one too. -->
+
+<!-- If anyAttribute appears in one or more referenced attributeGroups
+     and/or explicitly, the intersection of the permissions is used -->
+
+<!ELEMENT %complexContent; ((%annotation;)?, (%restriction;|%extension;))>
+<!ATTLIST %complexContent;
+          mixed (true|false) #IMPLIED
+          id    ID           #IMPLIED
+          %complexContentAttrs;>
+
+<!-- restriction should use the branch defined above, not the simple
+     one from part2; extension should use the full model  -->
+
+<!ELEMENT %simpleContent; ((%annotation;)?, (%restriction;|%extension;))>
+<!ATTLIST %simpleContent;
+          id    ID           #IMPLIED
+          %simpleContentAttrs;>
+
+<!-- restriction should use the simple branch from part2, not the 
+     one defined above; extension should have no particle  -->
+
+<!ELEMENT %extension; ((%annotation;)?, (%particleAndAttrs;))>
+<!ATTLIST %extension;
+          base  %QName;      #REQUIRED
+          id    ID           #IMPLIED
+          %extensionAttrs;>
+
+<!-- an element is declared by either:
+ a name and a type (either nested or referenced via the type attribute)
+ or a ref to an existing element declaration -->
+
+<!ELEMENT %element; ((%annotation;)?, (%complexType;| %simpleType;)?,
+                     (%unique; | %key; | %keyref;)*)>
+<!-- simpleType or complexType only if no type|ref attribute -->
+<!-- ref not allowed at top level -->
+<!ATTLIST %element;
+            name               %NCName;               #IMPLIED
+            id                 ID                     #IMPLIED
+            ref                %QName;                #IMPLIED
+            type               %QName;                #IMPLIED
+            minOccurs          %nonNegativeInteger;   #IMPLIED
+            maxOccurs          CDATA                  #IMPLIED
+            nillable           %boolean;              #IMPLIED
+            substitutionGroup  %QName;                #IMPLIED
+            abstract           %boolean;              #IMPLIED
+            final              %complexDerivationSet; #IMPLIED
+            block              %blockSet;             #IMPLIED
+            default            CDATA                  #IMPLIED
+            fixed              CDATA                  #IMPLIED
+            form               %formValues;           #IMPLIED
+            %elementAttrs;>
+<!-- type and ref are mutually exclusive.
+     name and ref are mutually exclusive, one is required -->
+<!-- In the absence of type AND ref, type defaults to type of
+     substitutionGroup, if any, else the ur-type, i.e. unconstrained -->
+<!-- default and fixed are mutually exclusive -->
+
+<!ELEMENT %group; ((%annotation;)?,(%mgs;)?)>
+<!ATTLIST %group; 
+          name        %NCName;               #IMPLIED
+          ref         %QName;                #IMPLIED
+          minOccurs   %nonNegativeInteger;   #IMPLIED
+          maxOccurs   CDATA                  #IMPLIED
+          id          ID                     #IMPLIED
+          %groupAttrs;>
+
+<!ELEMENT %all; ((%annotation;)?, (%element;)*)>
+<!ATTLIST %all;
+          minOccurs   (1)                    #IMPLIED
+          maxOccurs   (1)                    #IMPLIED
+          id          ID                     #IMPLIED
+          %allAttrs;>
+
+<!ELEMENT %choice; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
+<!ATTLIST %choice;
+          minOccurs   %nonNegativeInteger;   #IMPLIED
+          maxOccurs   CDATA                  #IMPLIED
+          id          ID                     #IMPLIED
+          %choiceAttrs;>
+
+<!ELEMENT %sequence; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
+<!ATTLIST %sequence;
+          minOccurs   %nonNegativeInteger;   #IMPLIED
+          maxOccurs   CDATA                  #IMPLIED
+          id          ID                     #IMPLIED
+          %sequenceAttrs;>
+
+<!-- an anonymous grouping in a model, or
+     a top-level named group definition, or a reference to same -->
+
+<!-- Note that if order is 'all', group is not allowed inside.
+     If order is 'all' THIS group must be alone (or referenced alone) at
+     the top level of a content model -->
+<!-- If order is 'all', minOccurs==maxOccurs==1 on element/any inside -->
+<!-- Should allow minOccurs=0 inside order='all' . . . -->
+
+<!ELEMENT %any; (%annotation;)?>
+<!ATTLIST %any;
+            namespace       CDATA                  '##any'
+            processContents (skip|lax|strict)      'strict'
+            minOccurs       %nonNegativeInteger;   '1'
+            maxOccurs       CDATA                  '1'
+            id              ID                     #IMPLIED
+            %anyAttrs;>
+
+<!-- namespace is interpreted as follows:
+                  ##any      - - any non-conflicting WFXML at all
+
+                  ##other    - - any non-conflicting WFXML from namespace other
+                                  than targetNamespace
+
+                  ##local    - - any unqualified non-conflicting WFXML/attribute
+                  one or     - - any non-conflicting WFXML from
+                  more URI        the listed namespaces
+                  references
+
+                  ##targetNamespace ##local may appear in the above list,
+                    with the obvious meaning -->
+
+<!ELEMENT %anyAttribute; (%annotation;)?>
+<!ATTLIST %anyAttribute;
+            namespace       CDATA              '##any'
+            processContents (skip|lax|strict)  'strict'
+            id              ID                 #IMPLIED
+            %anyAttributeAttrs;>
+<!-- namespace is interpreted as for 'any' above -->
+
+<!-- simpleType only if no type|ref attribute -->
+<!-- ref not allowed at top level, name iff at top level -->
+<!ELEMENT %attribute; ((%annotation;)?, (%simpleType;)?)>
+<!ATTLIST %attribute;
+          name      %NCName;      #IMPLIED
+          id        ID            #IMPLIED
+          ref       %QName;       #IMPLIED
+          type      %QName;       #IMPLIED
+          use       (prohibited|optional|required) #IMPLIED
+          default   CDATA         #IMPLIED
+          fixed     CDATA         #IMPLIED
+          form      %formValues;  #IMPLIED
+          %attributeAttrs;>
+<!-- type and ref are mutually exclusive.
+     name and ref are mutually exclusive, one is required -->
+<!-- default for use is optional when nested, none otherwise -->
+<!-- default and fixed are mutually exclusive -->
+<!-- type attr and simpleType content are mutually exclusive -->
+
+<!-- an attributeGroup is a named collection of attribute decls, or a
+     reference thereto -->
+<!ELEMENT %attributeGroup; ((%annotation;)?,
+                       (%attribute; | %attributeGroup;)*,
+                       (%anyAttribute;)?) >
+<!ATTLIST %attributeGroup;
+                 name       %NCName;       #IMPLIED
+                 id         ID             #IMPLIED
+                 ref        %QName;        #IMPLIED
+                 %attributeGroupAttrs;>
+
+<!-- ref iff no content, no name.  ref iff not top level -->
+
+<!-- better reference mechanisms -->
+<!ELEMENT %unique; ((%annotation;)?, %selector;, (%field;)+)>
+<!ATTLIST %unique;
+          name     %NCName;       #REQUIRED
+	  id       ID             #IMPLIED
+	  %uniqueAttrs;>
+
+<!ELEMENT %key;    ((%annotation;)?, %selector;, (%field;)+)>
+<!ATTLIST %key;
+          name     %NCName;       #REQUIRED
+	  id       ID             #IMPLIED
+	  %keyAttrs;>
+
+<!ELEMENT %keyref; ((%annotation;)?, %selector;, (%field;)+)>
+<!ATTLIST %keyref;
+          name     %NCName;       #REQUIRED
+	  refer    %QName;        #REQUIRED
+	  id       ID             #IMPLIED
+	  %keyrefAttrs;>
+
+<!ELEMENT %selector; ((%annotation;)?)>
+<!ATTLIST %selector;
+          xpath %XPathExpr; #REQUIRED
+          id    ID          #IMPLIED
+          %selectorAttrs;>
+<!ELEMENT %field; ((%annotation;)?)>
+<!ATTLIST %field;
+          xpath %XPathExpr; #REQUIRED
+          id    ID          #IMPLIED
+          %fieldAttrs;>
+
+<!-- Schema combination mechanisms -->
+<!ELEMENT %include; (%annotation;)?>
+<!ATTLIST %include;
+          schemaLocation %URIref; #REQUIRED
+          id             ID       #IMPLIED
+          %includeAttrs;>
+
+<!ELEMENT %import; (%annotation;)?>
+<!ATTLIST %import;
+          namespace      %URIref; #IMPLIED
+          schemaLocation %URIref; #IMPLIED
+          id             ID       #IMPLIED
+          %importAttrs;>
+
+<!ELEMENT %redefine; (%annotation; | %simpleType; | %complexType; |
+                      %attributeGroup; | %group;)*>
+<!ATTLIST %redefine;
+          schemaLocation %URIref; #REQUIRED
+          id             ID       #IMPLIED
+          %redefineAttrs;>
+
+<!ELEMENT %notation; (%annotation;)?>
+<!ATTLIST %notation;
+	  name        %NCName;    #REQUIRED
+	  id          ID          #IMPLIED
+	  public      CDATA       #REQUIRED
+	  system      %URIref;    #IMPLIED
+	  %notationAttrs;>
+
+<!-- Annotation is either application information or documentation -->
+<!-- By having these here they are available for datatypes as well
+     as all the structures elements -->
+
+<!ELEMENT %annotation; (%appinfo; | %documentation;)*>
+<!ATTLIST %annotation; %annotationAttrs;>
+
+<!-- User must define annotation elements in internal subset for this
+     to work -->
+<!ELEMENT %appinfo; ANY>   <!-- too restrictive -->
+<!ATTLIST %appinfo;
+          source     %URIref;      #IMPLIED
+          id         ID         #IMPLIED
+          %appinfoAttrs;>
+<!ELEMENT %documentation; ANY>   <!-- too restrictive -->
+<!ATTLIST %documentation;
+          source     %URIref;   #IMPLIED
+          id         ID         #IMPLIED
+          xml:lang   CDATA      #IMPLIED
+          %documentationAttrs;>
+
+<!NOTATION XMLSchemaStructures PUBLIC
+           'structures' 'http://www.w3.org/2001/XMLSchema.xsd' >
+<!NOTATION XML PUBLIC
+           'REC-xml-1998-0210' 'http://www.w3.org/TR/1998/REC-xml-19980210' >
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/XMLSchema.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2534 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- XML Schema schema for XML Schemas: Part 1: Structures -->
+<!-- Note this schema is NOT the normative structures schema. -->
+<!-- The prose copy in the structures REC is the normative -->
+<!-- version (which shouldn't differ from this one except for -->
+<!-- this comment and entity expansions, but just in case -->
+<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" [
+
+<!-- provide ID type information even for parsers which only read the
+     internal subset -->
+<!ATTLIST xs:schema          id  ID  #IMPLIED>
+<!ATTLIST xs:complexType     id  ID  #IMPLIED>
+<!ATTLIST xs:complexContent  id  ID  #IMPLIED>
+<!ATTLIST xs:simpleContent   id  ID  #IMPLIED>
+<!ATTLIST xs:extension       id  ID  #IMPLIED>
+<!ATTLIST xs:element         id  ID  #IMPLIED>
+<!ATTLIST xs:group           id  ID  #IMPLIED> 
+<!ATTLIST xs:all             id  ID  #IMPLIED>
+<!ATTLIST xs:choice          id  ID  #IMPLIED>
+<!ATTLIST xs:sequence        id  ID  #IMPLIED>
+<!ATTLIST xs:any             id  ID  #IMPLIED>
+<!ATTLIST xs:anyAttribute    id  ID  #IMPLIED>
+<!ATTLIST xs:attribute       id  ID  #IMPLIED>
+<!ATTLIST xs:attributeGroup  id  ID  #IMPLIED>
+<!ATTLIST xs:unique          id  ID  #IMPLIED>
+<!ATTLIST xs:key             id  ID  #IMPLIED>
+<!ATTLIST xs:keyref          id  ID  #IMPLIED>
+<!ATTLIST xs:selector        id  ID  #IMPLIED>
+<!ATTLIST xs:field           id  ID  #IMPLIED>
+<!ATTLIST xs:include         id  ID  #IMPLIED>
+<!ATTLIST xs:import          id  ID  #IMPLIED>
+<!ATTLIST xs:redefine        id  ID  #IMPLIED>
+<!ATTLIST xs:notation        id  ID  #IMPLIED>
+<!--
+     keep this schema XML1.0 DTD valid
+  -->
+        <!ENTITY % schemaAttrs 'xmlns:hfp CDATA #IMPLIED'>
+
+        <!ELEMENT hfp:hasFacet EMPTY>
+        <!ATTLIST hfp:hasFacet
+                name NMTOKEN #REQUIRED>
+
+        <!ELEMENT hfp:hasProperty EMPTY>
+        <!ATTLIST hfp:hasProperty
+                name NMTOKEN #REQUIRED
+                value CDATA #REQUIRED>
+<!--
+        Make sure that processors that do not read the external
+        subset will know about the various IDs we declare
+  -->
+        <!ATTLIST xs:simpleType id ID #IMPLIED>
+        <!ATTLIST xs:maxExclusive id ID #IMPLIED>
+        <!ATTLIST xs:minExclusive id ID #IMPLIED>
+        <!ATTLIST xs:maxInclusive id ID #IMPLIED>
+        <!ATTLIST xs:minInclusive id ID #IMPLIED>
+        <!ATTLIST xs:totalDigits id ID #IMPLIED>
+        <!ATTLIST xs:fractionDigits id ID #IMPLIED>
+        <!ATTLIST xs:length id ID #IMPLIED>
+        <!ATTLIST xs:minLength id ID #IMPLIED>
+        <!ATTLIST xs:maxLength id ID #IMPLIED>
+        <!ATTLIST xs:enumeration id ID #IMPLIED>
+        <!ATTLIST xs:pattern id ID #IMPLIED>
+        <!ATTLIST xs:appinfo id ID #IMPLIED>
+        <!ATTLIST xs:documentation id ID #IMPLIED>
+        <!ATTLIST xs:list id ID #IMPLIED>
+        <!ATTLIST xs:union id ID #IMPLIED>
+        ]>
+<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" blockDefault="#all" elementFormDefault="qualified" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="EN" xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty">
+ <xs:annotation>
+  <xs:documentation>
+    Part 1 version: Id: structures.xsd,v 1.2 2004/01/15 11:34:25 ht Exp 
+    Part 2 version: Id: datatypes.xsd,v 1.3 2004/01/23 18:11:13 ht Exp 
+  </xs:documentation>
+ </xs:annotation>
+
+ <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/2004/PER-xmlschema-1-20040318/structures.html">
+   The schema corresponding to this document is normative,
+   with respect to the syntactic constraints it expresses in the
+   XML Schema language.  The documentation (within &lt;documentation> elements)
+   below, is not normative, but rather highlights important aspects of
+   the W3C Recommendation of which this is a part</xs:documentation>
+ </xs:annotation>
+
+ <xs:annotation>
+   <xs:documentation>
+   The simpleType element and all of its members are defined
+      towards the end of this schema document</xs:documentation>
+ </xs:annotation>
+
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">
+   <xs:annotation>
+     <xs:documentation>
+       Get access to the xml: attribute groups for xml:lang
+       as declared on 'schema' and 'documentation' below
+     </xs:documentation>
+   </xs:annotation>
+ </xs:import>
+
+ <xs:complexType name="openAttrs">
+   <xs:annotation>
+     <xs:documentation>
+       This type is extended by almost all schema types
+       to allow attributes from other namespaces to be
+       added to user schemas.
+     </xs:documentation>
+   </xs:annotation>
+   <xs:complexContent>
+     <xs:restriction base="xs:anyType">
+       <xs:anyAttribute namespace="##other" processContents="lax"/>
+     </xs:restriction>
+   </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="annotated">
+   <xs:annotation>
+     <xs:documentation>
+       This type is extended by all types which allow annotation
+       other than &lt;schema&gt; itself
+     </xs:documentation>
+   </xs:annotation>
+   <xs:complexContent>
+     <xs:extension base="xs:openAttrs">
+       <xs:sequence>
+         <xs:element ref="xs:annotation" minOccurs="0"/>
+       </xs:sequence>
+       <xs:attribute name="id" type="xs:ID"/>
+     </xs:extension>
+   </xs:complexContent>
+ </xs:complexType>
+
+ <xs:group name="schemaTop">
+  <xs:annotation>
+   <xs:documentation>
+   This group is for the
+   elements which occur freely at the top level of schemas.
+   All of their types are based on the "annotated" type by extension.</xs:documentation>
+  </xs:annotation>
+  <xs:choice>
+   <xs:group ref="xs:redefinable"/>
+   <xs:element ref="xs:element"/>
+   <xs:element ref="xs:attribute"/>
+   <xs:element ref="xs:notation"/>
+  </xs:choice>
+ </xs:group>
+ 
+ <xs:group name="redefinable">
+  <xs:annotation>
+   <xs:documentation>
+   This group is for the
+   elements which can self-redefine (see &lt;redefine> below).</xs:documentation>
+  </xs:annotation>
+  <xs:choice>
+   <xs:element ref="xs:simpleType"/>
+   <xs:element ref="xs:complexType"/>
+   <xs:element ref="xs:group"/>
+   <xs:element ref="xs:attributeGroup"/>
+  </xs:choice>
+ </xs:group>
+
+ <xs:simpleType name="formChoice">
+  <xs:annotation>
+   <xs:documentation>
+   A utility type, not for public use</xs:documentation>
+  </xs:annotation>
+  <xs:restriction base="xs:NMTOKEN">
+   <xs:enumeration value="qualified"/>
+   <xs:enumeration value="unqualified"/>
+  </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="reducedDerivationControl">
+  <xs:annotation>
+   <xs:documentation>
+   A utility type, not for public use</xs:documentation>
+  </xs:annotation>
+  <xs:restriction base="xs:derivationControl">
+   <xs:enumeration value="extension"/>
+   <xs:enumeration value="restriction"/>
+  </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="derivationSet">
+  <xs:annotation>
+   <xs:documentation>
+   A utility type, not for public use</xs:documentation>
+   <xs:documentation>
+   #all or (possibly empty) subset of {extension, restriction}</xs:documentation>
+  </xs:annotation>
+  <xs:union>
+   <xs:simpleType>    
+    <xs:restriction base="xs:token">
+     <xs:enumeration value="#all"/>
+    </xs:restriction>
+   </xs:simpleType>
+   <xs:simpleType>
+    <xs:list itemType="xs:reducedDerivationControl"/>
+   </xs:simpleType>
+  </xs:union>
+ </xs:simpleType>
+
+ <xs:simpleType name="typeDerivationControl">
+  <xs:annotation>
+   <xs:documentation>
+   A utility type, not for public use</xs:documentation>
+  </xs:annotation>
+  <xs:restriction base="xs:derivationControl">
+   <xs:enumeration value="extension"/>
+   <xs:enumeration value="restriction"/>
+   <xs:enumeration value="list"/>
+   <xs:enumeration value="union"/>
+  </xs:restriction>
+ </xs:simpleType>
+
+  <xs:simpleType name="fullDerivationSet">
+  <xs:annotation>
+   <xs:documentation>
+   A utility type, not for public use</xs:documentation>
+   <xs:documentation>
+   #all or (possibly empty) subset of {extension, restriction, list, union}</xs:documentation>
+  </xs:annotation>
+  <xs:union>
+   <xs:simpleType>    
+    <xs:restriction base="xs:token">
+     <xs:enumeration value="#all"/>
+    </xs:restriction>
+   </xs:simpleType>
+   <xs:simpleType>
+    <xs:list itemType="xs:typeDerivationControl"/>
+   </xs:simpleType>
+  </xs:union>
+ </xs:simpleType>
+
+ <xs:element name="schema" id="schema">
+  <xs:annotation>
+    <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-schema"/>
+  </xs:annotation>
+  <xs:complexType>
+   <xs:complexContent>
+    <xs:extension base="xs:openAttrs">
+     <xs:sequence>
+      <xs:choice minOccurs="0" maxOccurs="unbounded">
+       <xs:element ref="xs:include"/>
+       <xs:element ref="xs:import"/>
+       <xs:element ref="xs:redefine"/>
+       <xs:element ref="xs:annotation"/>
+      </xs:choice>
+      <xs:sequence minOccurs="0" maxOccurs="unbounded">
+       <xs:group ref="xs:schemaTop"/>
+       <xs:element ref="xs:annotation" minOccurs="0" maxOccurs="unbounded"/>
+      </xs:sequence>
+     </xs:sequence>
+     <xs:attribute name="targetNamespace" type="xs:anyURI"/>
+     <xs:attribute name="version" type="xs:token"/>
+     <xs:attribute name="finalDefault" type="xs:fullDerivationSet" use="optional" default=""/>
+     <xs:attribute name="blockDefault" type="xs:blockSet" use="optional" default=""/>
+     <xs:attribute name="attributeFormDefault" type="xs:formChoice" use="optional" default="unqualified"/>
+     <xs:attribute name="elementFormDefault" type="xs:formChoice" use="optional" default="unqualified"/>
+     <xs:attribute name="id" type="xs:ID"/>
+     <xs:attribute ref="xml:lang"/>
+    </xs:extension>
+   </xs:complexContent>
+  </xs:complexType>
+
+  <xs:key name="element">
+   <xs:selector xpath="xs:element"/>
+   <xs:field xpath="@name"/>
+  </xs:key>
+
+  <xs:key name="attribute">
+   <xs:selector xpath="xs:attribute"/>
+   <xs:field xpath="@name"/>
+  </xs:key>
+
+  <xs:key name="type">
+   <xs:selector xpath="xs:complexType|xs:simpleType"/>
+   <xs:field xpath="@name"/>
+  </xs:key>
+ 
+  <xs:key name="group">
+   <xs:selector xpath="xs:group"/>
+   <xs:field xpath="@name"/>
+  </xs:key>
+ 
+  <xs:key name="attributeGroup">
+   <xs:selector xpath="xs:attributeGroup"/>
+   <xs:field xpath="@name"/>
+  </xs:key>
+ 
+  <xs:key name="notation">
+   <xs:selector xpath="xs:notation"/>
+   <xs:field xpath="@name"/>
+  </xs:key>
+
+  <xs:key name="identityConstraint">
+   <xs:selector xpath=".//xs:key|.//xs:unique|.//xs:keyref"/>
+   <xs:field xpath="@name"/>
+  </xs:key>
+
+ </xs:element>
+
+ <xs:simpleType name="allNNI">
+  <xs:annotation><xs:documentation>
+   for maxOccurs</xs:documentation></xs:annotation>
+  <xs:union memberTypes="xs:nonNegativeInteger">
+   <xs:simpleType>
+    <xs:restriction base="xs:NMTOKEN">
+     <xs:enumeration value="unbounded"/>
+    </xs:restriction>
+   </xs:simpleType>
+  </xs:union>
+ </xs:simpleType>
+
+ <xs:attributeGroup name="occurs">
+  <xs:annotation><xs:documentation>
+   for all particles</xs:documentation></xs:annotation>
+  <xs:attribute name="minOccurs" type="xs:nonNegativeInteger" use="optional" default="1"/>
+  <xs:attribute name="maxOccurs" type="xs:allNNI" use="optional" default="1"/>
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="defRef">
+  <xs:annotation><xs:documentation>
+   for element, group and attributeGroup,
+   which both define and reference</xs:documentation></xs:annotation>
+  <xs:attribute name="name" type="xs:NCName"/>
+  <xs:attribute name="ref" type="xs:QName"/>
+ </xs:attributeGroup>
+
+ <xs:group name="typeDefParticle">
+  <xs:annotation>
+    <xs:documentation>
+   'complexType' uses this</xs:documentation></xs:annotation>
+  <xs:choice>
+   <xs:element name="group" type="xs:groupRef"/>
+   <xs:element ref="xs:all"/>
+   <xs:element ref="xs:choice"/>
+   <xs:element ref="xs:sequence"/>
+  </xs:choice>
+ </xs:group>
+ 
+ 
+
+ <xs:group name="nestedParticle">
+  <xs:choice>
+   <xs:element name="element" type="xs:localElement"/>
+   <xs:element name="group" type="xs:groupRef"/>
+   <xs:element ref="xs:choice"/>
+   <xs:element ref="xs:sequence"/>
+   <xs:element ref="xs:any"/>
+  </xs:choice>
+ </xs:group>
+ 
+ <xs:group name="particle">
+  <xs:choice>
+   <xs:element name="element" type="xs:localElement"/>
+   <xs:element name="group" type="xs:groupRef"/>
+   <xs:element ref="xs:all"/>
+   <xs:element ref="xs:choice"/>
+   <xs:element ref="xs:sequence"/>
+   <xs:element ref="xs:any"/>
+  </xs:choice>
+ </xs:group>
+ 
+ <xs:complexType name="attribute">
+  <xs:complexContent>
+   <xs:extension base="xs:annotated">
+    <xs:sequence>
+     <xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType"/>
+    </xs:sequence>
+    <xs:attributeGroup ref="xs:defRef"/>
+    <xs:attribute name="type" type="xs:QName"/>
+    <xs:attribute name="use" use="optional" default="optional">
+     <xs:simpleType>
+      <xs:restriction base="xs:NMTOKEN">
+       <xs:enumeration value="prohibited"/>
+       <xs:enumeration value="optional"/>
+       <xs:enumeration value="required"/>
+      </xs:restriction>
+     </xs:simpleType>
+    </xs:attribute>
+    <xs:attribute name="default" type="xs:string"/>
+    <xs:attribute name="fixed" type="xs:string"/>
+    <xs:attribute name="form" type="xs:formChoice"/>
+   </xs:extension>
+  </xs:complexContent>
+ </xs:complexType>
+ 
+ <xs:complexType name="topLevelAttribute">
+  <xs:complexContent>
+   <xs:restriction base="xs:attribute">
+    <xs:sequence>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+     <xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType"/>
+    </xs:sequence>
+    <xs:attribute name="ref" use="prohibited"/>
+    <xs:attribute name="form" use="prohibited"/>
+    <xs:attribute name="use" use="prohibited"/>
+    <xs:attribute name="name" use="required" type="xs:NCName"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>
+ </xs:complexType>
+
+ <xs:group name="attrDecls">
+  <xs:sequence>
+   <xs:choice minOccurs="0" maxOccurs="unbounded">
+    <xs:element name="attribute" type="xs:attribute"/>
+    <xs:element name="attributeGroup" type="xs:attributeGroupRef"/>
+   </xs:choice>
+   <xs:element ref="xs:anyAttribute" minOccurs="0"/>
+  </xs:sequence>
+ </xs:group>
+
+ <xs:element name="anyAttribute" type="xs:wildcard" id="anyAttribute">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-anyAttribute"/>
+  </xs:annotation>
+ </xs:element>
+
+ <xs:group name="complexTypeModel">
+  <xs:choice>
+      <xs:element ref="xs:simpleContent"/>
+      <xs:element ref="xs:complexContent"/>
+      <xs:sequence>
+       <xs:annotation>
+        <xs:documentation>
+   This branch is short for
+   &lt;complexContent>
+   &lt;restriction base="xs:anyType">
+   ...
+   &lt;/restriction>
+   &lt;/complexContent></xs:documentation>
+       </xs:annotation>
+       <xs:group ref="xs:typeDefParticle" minOccurs="0"/>
+       <xs:group ref="xs:attrDecls"/>
+      </xs:sequence>
+  </xs:choice>
+ </xs:group>
+
+ <xs:complexType name="complexType" abstract="true">
+  <xs:complexContent>
+   <xs:extension base="xs:annotated">
+    <xs:group ref="xs:complexTypeModel"/>
+    <xs:attribute name="name" type="xs:NCName">
+     <xs:annotation>
+      <xs:documentation>
+      Will be restricted to required or forbidden</xs:documentation>
+     </xs:annotation>
+    </xs:attribute>
+    <xs:attribute name="mixed" type="xs:boolean" use="optional" default="false">
+     <xs:annotation>
+      <xs:documentation>
+      Not allowed if simpleContent child is chosen.
+      May be overriden by setting on complexContent child.</xs:documentation>
+    </xs:annotation>
+    </xs:attribute>
+    <xs:attribute name="abstract" type="xs:boolean" use="optional" default="false"/>
+    <xs:attribute name="final" type="xs:derivationSet"/>
+    <xs:attribute name="block" type="xs:derivationSet"/>
+   </xs:extension>
+  </xs:complexContent>
+ </xs:complexType>
+ 
+ <xs:complexType name="topLevelComplexType">
+  <xs:complexContent>
+   <xs:restriction base="xs:complexType">
+    <xs:sequence>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+     <xs:group ref="xs:complexTypeModel"/>
+    </xs:sequence>
+    <xs:attribute name="name" type="xs:NCName" use="required"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>
+ </xs:complexType>
+ 
+ <xs:complexType name="localComplexType">
+  <xs:complexContent>
+   <xs:restriction base="xs:complexType">
+    <xs:sequence>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+     <xs:group ref="xs:complexTypeModel"/>
+    </xs:sequence>
+    <xs:attribute name="name" use="prohibited"/>
+    <xs:attribute name="abstract" use="prohibited"/>
+    <xs:attribute name="final" use="prohibited"/>
+    <xs:attribute name="block" use="prohibited"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>
+ </xs:complexType>
+ 
+ <xs:complexType name="restrictionType">
+  <xs:complexContent>
+   <xs:extension base="xs:annotated">
+    <xs:sequence>
+     <xs:choice minOccurs="0">
+      <xs:group ref="xs:typeDefParticle"/>
+      <xs:group ref="xs:simpleRestrictionModel"/>
+     </xs:choice>
+     <xs:group ref="xs:attrDecls"/>
+    </xs:sequence>
+    <xs:attribute name="base" type="xs:QName" use="required"/>
+   </xs:extension>
+  </xs:complexContent>       
+ </xs:complexType>
+
+ <xs:complexType name="complexRestrictionType">
+  <xs:complexContent>
+   <xs:restriction base="xs:restrictionType">
+    <xs:sequence>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+     <xs:choice minOccurs="0">
+      <xs:annotation>
+       <xs:documentation>This choice is added simply to
+                   make this a valid restriction per the REC</xs:documentation>
+      </xs:annotation>
+      <xs:group ref="xs:typeDefParticle"/>
+     </xs:choice>
+     <xs:group ref="xs:attrDecls"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>       
+ </xs:complexType>
+
+ <xs:complexType name="extensionType">
+  <xs:complexContent>
+   <xs:extension base="xs:annotated">
+    <xs:sequence>
+     <xs:group ref="xs:typeDefParticle" minOccurs="0"/>
+     <xs:group ref="xs:attrDecls"/>
+    </xs:sequence>
+    <xs:attribute name="base" type="xs:QName" use="required"/>
+   </xs:extension>
+  </xs:complexContent>       
+ </xs:complexType>
+
+ <xs:element name="complexContent" id="complexContent">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-complexContent"/>
+  </xs:annotation>
+  <xs:complexType>
+   <xs:complexContent>
+    <xs:extension base="xs:annotated">
+     <xs:choice>
+      <xs:element name="restriction" type="xs:complexRestrictionType"/>
+      <xs:element name="extension" type="xs:extensionType"/>
+     </xs:choice>     
+     <xs:attribute name="mixed" type="xs:boolean">
+      <xs:annotation>
+       <xs:documentation>
+       Overrides any setting on complexType parent.</xs:documentation>
+      </xs:annotation>
+    </xs:attribute>
+    </xs:extension>
+   </xs:complexContent>
+  </xs:complexType>
+ </xs:element>
+
+ <xs:complexType name="simpleRestrictionType">
+  <xs:complexContent>
+   <xs:restriction base="xs:restrictionType">
+    <xs:sequence>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+     <xs:choice minOccurs="0">
+      <xs:annotation>
+       <xs:documentation>This choice is added simply to
+                   make this a valid restriction per the REC</xs:documentation>
+      </xs:annotation>
+      <xs:group ref="xs:simpleRestrictionModel"/>
+     </xs:choice>
+     <xs:group ref="xs:attrDecls"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="simpleExtensionType">
+  <xs:complexContent>
+   <xs:restriction base="xs:extensionType">
+    <xs:sequence>
+     <xs:annotation>
+      <xs:documentation>
+      No typeDefParticle group reference</xs:documentation>
+     </xs:annotation>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+     <xs:group ref="xs:attrDecls"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>
+ </xs:complexType>
+
+ <xs:element name="simpleContent" id="simpleContent">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-simpleContent"/>
+  </xs:annotation>
+  <xs:complexType>
+   <xs:complexContent>
+    <xs:extension base="xs:annotated">
+     <xs:choice>
+      <xs:element name="restriction" type="xs:simpleRestrictionType"/>
+      <xs:element name="extension" type="xs:simpleExtensionType"/>
+     </xs:choice>
+    </xs:extension>
+   </xs:complexContent>
+  </xs:complexType>
+ </xs:element>
+ 
+ <xs:element name="complexType" type="xs:topLevelComplexType" id="complexType">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-complexType"/>
+  </xs:annotation>
+ </xs:element>
+
+
+  <xs:simpleType name="blockSet">
+   <xs:annotation>
+    <xs:documentation>
+    A utility type, not for public use</xs:documentation>
+    <xs:documentation>
+    #all or (possibly empty) subset of {substitution, extension,
+    restriction}</xs:documentation>
+   </xs:annotation>
+   <xs:union>
+    <xs:simpleType>    
+     <xs:restriction base="xs:token">
+      <xs:enumeration value="#all"/>
+     </xs:restriction>
+    </xs:simpleType>
+    <xs:simpleType>
+     <xs:list>
+      <xs:simpleType>
+       <xs:restriction base="xs:derivationControl">
+        <xs:enumeration value="extension"/>
+        <xs:enumeration value="restriction"/>
+        <xs:enumeration value="substitution"/>
+       </xs:restriction>
+      </xs:simpleType>
+     </xs:list>
+    </xs:simpleType>
+   </xs:union>  
+  </xs:simpleType>
+
+ <xs:complexType name="element" abstract="true">
+  <xs:annotation>
+   <xs:documentation>
+   The element element can be used either
+   at the top level to define an element-type binding globally,
+   or within a content model to either reference a globally-defined
+   element or type or declare an element-type binding locally.
+   The ref form is not allowed at the top level.</xs:documentation>
+  </xs:annotation>
+
+  <xs:complexContent>
+   <xs:extension base="xs:annotated">
+    <xs:sequence>
+     <xs:choice minOccurs="0">
+      <xs:element name="simpleType" type="xs:localSimpleType"/>
+      <xs:element name="complexType" type="xs:localComplexType"/>
+     </xs:choice>
+     <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:attributeGroup ref="xs:defRef"/>
+    <xs:attribute name="type" type="xs:QName"/>
+    <xs:attribute name="substitutionGroup" type="xs:QName"/>
+    <xs:attributeGroup ref="xs:occurs"/>
+    <xs:attribute name="default" type="xs:string"/>
+    <xs:attribute name="fixed" type="xs:string"/>
+    <xs:attribute name="nillable" type="xs:boolean" use="optional" default="false"/>
+    <xs:attribute name="abstract" type="xs:boolean" use="optional" default="false"/>
+    <xs:attribute name="final" type="xs:derivationSet"/>
+    <xs:attribute name="block" type="xs:blockSet"/>
+    <xs:attribute name="form" type="xs:formChoice"/>
+   </xs:extension>
+  </xs:complexContent>
+ </xs:complexType>
+ 
+ <xs:complexType name="topLevelElement">
+  <xs:complexContent>
+   <xs:restriction base="xs:element">
+    <xs:sequence>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+     <xs:choice minOccurs="0">
+      <xs:element name="simpleType" type="xs:localSimpleType"/>
+      <xs:element name="complexType" type="xs:localComplexType"/>
+     </xs:choice>
+     <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:attribute name="ref" use="prohibited"/>
+    <xs:attribute name="form" use="prohibited"/>
+    <xs:attribute name="minOccurs" use="prohibited"/>
+    <xs:attribute name="maxOccurs" use="prohibited"/>
+    <xs:attribute name="name" use="required" type="xs:NCName"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>
+ </xs:complexType>
+ 
+ <xs:complexType name="localElement">
+  <xs:complexContent>
+   <xs:restriction base="xs:element">
+    <xs:sequence>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+     <xs:choice minOccurs="0">
+      <xs:element name="simpleType" type="xs:localSimpleType"/>
+      <xs:element name="complexType" type="xs:localComplexType"/>
+     </xs:choice>
+     <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:attribute name="substitutionGroup" use="prohibited"/>
+    <xs:attribute name="final" use="prohibited"/>
+    <xs:attribute name="abstract" use="prohibited"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>
+ </xs:complexType>
+
+ <xs:element name="element" type="xs:topLevelElement" id="element">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-element"/>
+  </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="group" abstract="true">
+  <xs:annotation>
+   <xs:documentation>
+   group type for explicit groups, named top-level groups and
+   group references</xs:documentation>
+  </xs:annotation>
+  <xs:complexContent>
+   <xs:extension base="xs:annotated">
+    <xs:group ref="xs:particle" minOccurs="0" maxOccurs="unbounded"/>
+    <xs:attributeGroup ref="xs:defRef"/>
+    <xs:attributeGroup ref="xs:occurs"/>
+   </xs:extension>
+  </xs:complexContent>
+ </xs:complexType>
+ 
+ <xs:complexType name="realGroup">
+  <xs:complexContent>
+   <xs:restriction base="xs:group">
+    <xs:sequence>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+     <xs:choice minOccurs="0" maxOccurs="1">
+      <xs:element ref="xs:all"/>
+      <xs:element ref="xs:choice"/>
+      <xs:element ref="xs:sequence"/>
+     </xs:choice>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="namedGroup">
+  <xs:complexContent>
+   <xs:restriction base="xs:realGroup">
+    <xs:sequence>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+     <xs:choice minOccurs="1" maxOccurs="1">
+      <xs:element name="all">
+       <xs:complexType>
+        <xs:complexContent>
+         <xs:restriction base="xs:all">
+          <xs:group ref="xs:allModel"/>
+          <xs:attribute name="minOccurs" use="prohibited"/>
+          <xs:attribute name="maxOccurs" use="prohibited"/>
+          <xs:anyAttribute namespace="##other" processContents="lax"/>
+         </xs:restriction>
+        </xs:complexContent>
+       </xs:complexType>
+      </xs:element>
+      <xs:element name="choice" type="xs:simpleExplicitGroup"/>
+      <xs:element name="sequence" type="xs:simpleExplicitGroup"/>
+     </xs:choice>
+    </xs:sequence>
+    <xs:attribute name="name" use="required" type="xs:NCName"/>
+    <xs:attribute name="ref" use="prohibited"/>
+    <xs:attribute name="minOccurs" use="prohibited"/>
+    <xs:attribute name="maxOccurs" use="prohibited"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="groupRef">
+  <xs:complexContent>
+   <xs:restriction base="xs:realGroup">
+    <xs:sequence>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+    </xs:sequence>
+    <xs:attribute name="ref" use="required" type="xs:QName"/>
+    <xs:attribute name="name" use="prohibited"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="explicitGroup">
+  <xs:annotation>
+   <xs:documentation>
+   group type for the three kinds of group</xs:documentation>
+  </xs:annotation>
+  <xs:complexContent>
+   <xs:restriction base="xs:group">
+    <xs:sequence>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+     <xs:group ref="xs:nestedParticle" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:attribute name="name" type="xs:NCName" use="prohibited"/>
+    <xs:attribute name="ref" type="xs:QName" use="prohibited"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>
+ </xs:complexType>
+ 
+ <xs:complexType name="simpleExplicitGroup">
+  <xs:complexContent>
+   <xs:restriction base="xs:explicitGroup">
+    <xs:sequence>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+     <xs:group ref="xs:nestedParticle" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:attribute name="minOccurs" use="prohibited"/>
+    <xs:attribute name="maxOccurs" use="prohibited"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>
+ </xs:complexType>
+ 
+ <xs:group name="allModel">
+  <xs:sequence>
+      <xs:element ref="xs:annotation" minOccurs="0"/>
+      <xs:choice minOccurs="0" maxOccurs="unbounded">
+       <xs:annotation>
+        <xs:documentation>This choice with min/max is here to
+                          avoid a pblm with the Elt:All/Choice/Seq
+                          Particle derivation constraint</xs:documentation>
+       </xs:annotation>
+       <xs:element name="element" type="xs:narrowMaxMin"/>
+      </xs:choice>
+     </xs:sequence>
+ </xs:group>
+ 
+ 
+ <xs:complexType name="narrowMaxMin">
+  <xs:annotation>
+   <xs:documentation>restricted max/min</xs:documentation>
+  </xs:annotation>
+  <xs:complexContent>
+   <xs:restriction base="xs:localElement">
+    <xs:sequence>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+     <xs:choice minOccurs="0">
+      <xs:element name="simpleType" type="xs:localSimpleType"/>
+      <xs:element name="complexType" type="xs:localComplexType"/>
+     </xs:choice>
+     <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:attribute name="minOccurs" use="optional" default="1">
+     <xs:simpleType>
+      <xs:restriction base="xs:nonNegativeInteger">
+       <xs:enumeration value="0"/>
+       <xs:enumeration value="1"/>
+      </xs:restriction>
+     </xs:simpleType>
+    </xs:attribute>
+    <xs:attribute name="maxOccurs" use="optional" default="1">
+     <xs:simpleType>
+      <xs:restriction base="xs:allNNI">
+       <xs:enumeration value="0"/>
+       <xs:enumeration value="1"/>
+      </xs:restriction>
+     </xs:simpleType>
+    </xs:attribute>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>
+ </xs:complexType>
+
+  <xs:complexType name="all">
+   <xs:annotation>
+    <xs:documentation>
+   Only elements allowed inside</xs:documentation>
+   </xs:annotation>
+   <xs:complexContent>
+    <xs:restriction base="xs:explicitGroup">
+     <xs:group ref="xs:allModel"/>
+     <xs:attribute name="minOccurs" use="optional" default="1">
+      <xs:simpleType>
+       <xs:restriction base="xs:nonNegativeInteger">
+        <xs:enumeration value="0"/>
+        <xs:enumeration value="1"/>
+       </xs:restriction>
+      </xs:simpleType>
+     </xs:attribute>
+     <xs:attribute name="maxOccurs" use="optional" default="1">
+      <xs:simpleType>
+       <xs:restriction base="xs:allNNI">
+        <xs:enumeration value="1"/>
+       </xs:restriction>
+      </xs:simpleType>
+     </xs:attribute>
+     <xs:anyAttribute namespace="##other" processContents="lax"/>
+    </xs:restriction>
+   </xs:complexContent>
+  </xs:complexType>
+
+ <xs:element name="all" id="all" type="xs:all">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-all"/>
+  </xs:annotation>
+ </xs:element>
+
+ <xs:element name="choice" type="xs:explicitGroup" id="choice">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-choice"/>
+  </xs:annotation>
+ </xs:element>
+
+ <xs:element name="sequence" type="xs:explicitGroup" id="sequence">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-sequence"/>
+  </xs:annotation>
+ </xs:element>
+
+ <xs:element name="group" type="xs:namedGroup" id="group">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-group"/>
+  </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="wildcard">
+  <xs:complexContent>
+   <xs:extension base="xs:annotated">
+    <xs:attribute name="namespace" type="xs:namespaceList" use="optional" default="##any"/>
+    <xs:attribute name="processContents" use="optional" default="strict">
+     <xs:simpleType>
+      <xs:restriction base="xs:NMTOKEN">
+       <xs:enumeration value="skip"/>
+       <xs:enumeration value="lax"/>
+       <xs:enumeration value="strict"/>
+      </xs:restriction>
+     </xs:simpleType>
+    </xs:attribute>
+   </xs:extension>
+  </xs:complexContent>
+ </xs:complexType>
+
+ <xs:element name="any" id="any">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-any"/>
+  </xs:annotation>
+  <xs:complexType>
+   <xs:complexContent>
+    <xs:extension base="xs:wildcard">
+     <xs:attributeGroup ref="xs:occurs"/>
+    </xs:extension>
+   </xs:complexContent>
+  </xs:complexType>
+ </xs:element>
+
+  <xs:annotation>
+   <xs:documentation>
+   simple type for the value of the 'namespace' attr of
+   'any' and 'anyAttribute'</xs:documentation>
+  </xs:annotation>
+  <xs:annotation>
+   <xs:documentation>
+   Value is
+              ##any      - - any non-conflicting WFXML/attribute at all
+
+              ##other    - - any non-conflicting WFXML/attribute from
+                              namespace other than targetNS
+
+              ##local    - - any unqualified non-conflicting WFXML/attribute 
+
+              one or     - - any non-conflicting WFXML/attribute from
+              more URI        the listed namespaces
+              references
+              (space separated)
+
+    ##targetNamespace or ##local may appear in the above list, to
+        refer to the targetNamespace of the enclosing
+        schema or an absent targetNamespace respectively</xs:documentation>
+  </xs:annotation>
+
+ <xs:simpleType name="namespaceList">
+  <xs:annotation>
+   <xs:documentation>
+   A utility type, not for public use</xs:documentation>
+  </xs:annotation>
+  <xs:union>
+   <xs:simpleType>
+    <xs:restriction base="xs:token">
+     <xs:enumeration value="##any"/>
+     <xs:enumeration value="##other"/>
+    </xs:restriction>
+   </xs:simpleType>
+   <xs:simpleType>
+    <xs:list>
+     <xs:simpleType>
+      <xs:union memberTypes="xs:anyURI">
+       <xs:simpleType>
+        <xs:restriction base="xs:token">
+         <xs:enumeration value="##targetNamespace"/>
+         <xs:enumeration value="##local"/>
+        </xs:restriction>
+       </xs:simpleType>
+      </xs:union>
+     </xs:simpleType>
+    </xs:list>
+   </xs:simpleType>
+  </xs:union>
+ </xs:simpleType>
+
+ <xs:element name="attribute" type="xs:topLevelAttribute" id="attribute">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-attribute"/>
+  </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="attributeGroup" abstract="true">
+  <xs:complexContent>
+   <xs:extension base="xs:annotated">
+    <xs:group ref="xs:attrDecls"/>
+    <xs:attributeGroup ref="xs:defRef"/>
+   </xs:extension>
+  </xs:complexContent>
+ </xs:complexType>
+ 
+ <xs:complexType name="namedAttributeGroup">
+  <xs:complexContent>
+   <xs:restriction base="xs:attributeGroup">
+    <xs:sequence>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+     <xs:group ref="xs:attrDecls"/>
+    </xs:sequence>
+    <xs:attribute name="name" use="required" type="xs:NCName"/>
+    <xs:attribute name="ref" use="prohibited"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="attributeGroupRef">
+  <xs:complexContent>
+   <xs:restriction base="xs:attributeGroup">
+    <xs:sequence>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+    </xs:sequence>
+    <xs:attribute name="ref" use="required" type="xs:QName"/>
+    <xs:attribute name="name" use="prohibited"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>
+ </xs:complexType>
+
+ <xs:element name="attributeGroup" type="xs:namedAttributeGroup" id="attributeGroup">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-attributeGroup"/>
+  </xs:annotation>
+ </xs:element>
+
+ <xs:element name="include" id="include">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-include"/>
+  </xs:annotation>
+  <xs:complexType>
+   <xs:complexContent>
+    <xs:extension base="xs:annotated">
+     <xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/>
+    </xs:extension>
+   </xs:complexContent>
+  </xs:complexType>
+ </xs:element>
+
+ <xs:element name="redefine" id="redefine">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-redefine"/>
+  </xs:annotation>
+  <xs:complexType>
+   <xs:complexContent>
+    <xs:extension base="xs:openAttrs">
+     <xs:choice minOccurs="0" maxOccurs="unbounded">
+      <xs:element ref="xs:annotation"/>
+      <xs:group ref="xs:redefinable"/>
+     </xs:choice>
+     <xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/>
+     <xs:attribute name="id" type="xs:ID"/>
+    </xs:extension>
+   </xs:complexContent>
+  </xs:complexType>
+ </xs:element>
+
+ <xs:element name="import" id="import">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-import"/>
+  </xs:annotation>
+  <xs:complexType>
+   <xs:complexContent>
+    <xs:extension base="xs:annotated">
+     <xs:attribute name="namespace" type="xs:anyURI"/>
+     <xs:attribute name="schemaLocation" type="xs:anyURI"/>
+    </xs:extension>
+   </xs:complexContent>
+  </xs:complexType>
+ </xs:element>
+
+ <xs:element name="selector" id="selector">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-selector"/>
+  </xs:annotation>
+  <xs:complexType>
+  <xs:complexContent>
+   <xs:extension base="xs:annotated">
+     <xs:attribute name="xpath" use="required">
+      <xs:simpleType>
+       <xs:annotation>
+        <xs:documentation>A subset of XPath expressions for use
+in selectors</xs:documentation>
+        <xs:documentation>A utility type, not for public
+use</xs:documentation>
+       </xs:annotation>
+       <xs:restriction base="xs:token">
+        <xs:annotation>
+         <xs:documentation>The following pattern is intended to allow XPath
+                           expressions per the following EBNF:
+          Selector    ::=    Path ( '|' Path )*  
+          Path    ::=    ('.//')? Step ( '/' Step )*  
+          Step    ::=    '.' | NameTest  
+          NameTest    ::=    QName | '*' | NCName ':' '*'  
+                           child:: is also allowed
+         </xs:documentation>
+        </xs:annotation>
+        <xs:pattern value="(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*(\|(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*)*">
+        </xs:pattern>
+       </xs:restriction>
+      </xs:simpleType>
+     </xs:attribute>
+   </xs:extension>
+  </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="field" id="field">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-field"/>
+  </xs:annotation>
+  <xs:complexType>
+  <xs:complexContent>
+   <xs:extension base="xs:annotated">
+     <xs:attribute name="xpath" use="required">
+      <xs:simpleType>
+       <xs:annotation>
+        <xs:documentation>A subset of XPath expressions for use
+in fields</xs:documentation>
+        <xs:documentation>A utility type, not for public
+use</xs:documentation>
+       </xs:annotation>
+       <xs:restriction base="xs:token">
+        <xs:annotation>
+         <xs:documentation>The following pattern is intended to allow XPath
+                           expressions per the same EBNF as for selector,
+                           with the following change:
+          Path    ::=    ('.//')? ( Step '/' )* ( Step | '@' NameTest ) 
+         </xs:documentation>
+        </xs:annotation>
+        <xs:pattern value="(\.//)?((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)/)*((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)|((attribute::|@)((\i\c*:)?(\i\c*|\*))))(\|(\.//)?((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)/)*((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)|((attribute::|@)((\i\c*:)?(\i\c*|\*)))))*">
+        </xs:pattern>
+       </xs:restriction>
+      </xs:simpleType>
+     </xs:attribute>
+   </xs:extension>
+  </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:complexType name="keybase">
+  <xs:complexContent>
+   <xs:extension base="xs:annotated">
+    <xs:sequence>
+     <xs:element ref="xs:selector"/>
+     <xs:element ref="xs:field" minOccurs="1" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:attribute name="name" type="xs:NCName" use="required"/>
+   </xs:extension>
+  </xs:complexContent>
+ </xs:complexType>
+
+ <xs:group name="identityConstraint">
+  <xs:annotation>
+   <xs:documentation>The three kinds of identity constraints, all with
+                     type of or derived from 'keybase'.
+   </xs:documentation>
+  </xs:annotation>
+  <xs:choice>
+   <xs:element ref="xs:unique"/>
+   <xs:element ref="xs:key"/>
+   <xs:element ref="xs:keyref"/>
+  </xs:choice>
+ </xs:group>
+
+ <xs:element name="unique" type="xs:keybase" id="unique">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-unique"/>
+  </xs:annotation>
+ </xs:element>
+ <xs:element name="key" type="xs:keybase" id="key">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-key"/>
+  </xs:annotation>
+ </xs:element>
+ <xs:element name="keyref" id="keyref">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-keyref"/>
+  </xs:annotation>
+  <xs:complexType>
+   <xs:complexContent>
+    <xs:extension base="xs:keybase">
+     <xs:attribute name="refer" type="xs:QName" use="required"/>
+    </xs:extension>
+   </xs:complexContent>
+  </xs:complexType>
+ </xs:element>
+
+ <xs:element name="notation" id="notation">
+  <xs:annotation>
+   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-notation"/>
+  </xs:annotation>
+  <xs:complexType>
+   <xs:complexContent>
+    <xs:extension base="xs:annotated">
+     <xs:attribute name="name" type="xs:NCName" use="required"/>
+     <xs:attribute name="public" type="xs:public"/>
+     <xs:attribute name="system" type="xs:anyURI"/>
+    </xs:extension>
+   </xs:complexContent>
+  </xs:complexType>
+ </xs:element>
+
+ <xs:simpleType name="public">
+  <xs:annotation>
+   <xs:documentation>
+   A utility type, not for public use</xs:documentation>
+   <xs:documentation>
+   A public identifier, per ISO 8879</xs:documentation>
+  </xs:annotation>
+  <xs:restriction base="xs:token"/>
+ </xs:simpleType>
+
+ <xs:element name="appinfo" id="appinfo">
+   <xs:annotation>
+     <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-appinfo"/>
+   </xs:annotation>
+   <xs:complexType mixed="true">
+    <xs:sequence minOccurs="0" maxOccurs="unbounded">
+     <xs:any processContents="lax"/>
+    </xs:sequence>
+    <xs:attribute name="source" type="xs:anyURI"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:complexType>
+ </xs:element>
+
+ <xs:element name="documentation" id="documentation">
+   <xs:annotation>
+     <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-documentation"/>
+   </xs:annotation>
+   <xs:complexType mixed="true">
+    <xs:sequence minOccurs="0" maxOccurs="unbounded">
+     <xs:any processContents="lax"/>
+    </xs:sequence>
+    <xs:attribute name="source" type="xs:anyURI"/>
+    <xs:attribute ref="xml:lang"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:complexType>
+ </xs:element>
+
+ <xs:element name="annotation" id="annotation">
+   <xs:annotation>
+     <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-annotation"/>
+   </xs:annotation>
+   <xs:complexType>
+    <xs:complexContent>
+     <xs:extension base="xs:openAttrs">
+      <xs:choice minOccurs="0" maxOccurs="unbounded">
+       <xs:element ref="xs:appinfo"/>
+       <xs:element ref="xs:documentation"/>
+      </xs:choice>
+      <xs:attribute name="id" type="xs:ID"/>
+     </xs:extension>
+    </xs:complexContent>
+   </xs:complexType>
+ </xs:element>
+
+ <xs:annotation>
+  <xs:documentation>
+   notations for use within XML Schema schemas</xs:documentation>
+ </xs:annotation>
+
+ <xs:notation name="XMLSchemaStructures" public="structures" system="http://www.w3.org/2000/08/XMLSchema.xsd"/>
+ <xs:notation name="XML" public="REC-xml-19980210" system="http://www.w3.org/TR/1998/REC-xml-19980210"/>
+  
+ <xs:complexType name="anyType" mixed="true">
+  <xs:annotation>
+   <xs:documentation>
+   Not the real urType, but as close an approximation as we can
+   get in the XML representation</xs:documentation>
+  </xs:annotation>
+  <xs:sequence>
+   <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
+  </xs:sequence>
+  <xs:anyAttribute processContents="lax"/>
+ </xs:complexType>
+
+  <xs:annotation>
+    <xs:documentation>
+      First the built-in primitive datatypes.  These definitions are for
+      information only, the real built-in definitions are magic.
+    </xs:documentation>
+
+    <xs:documentation>
+      For each built-in datatype in this schema (both primitive and
+      derived) can be uniquely addressed via a URI constructed
+      as follows:
+        1) the base URI is the URI of the XML Schema namespace
+        2) the fragment identifier is the name of the datatype
+
+      For example, to address the int datatype, the URI is:
+
+        http://www.w3.org/2001/XMLSchema#int
+
+      Additionally, each facet definition element can be uniquely
+      addressed via a URI constructed as follows:
+        1) the base URI is the URI of the XML Schema namespace
+        2) the fragment identifier is the name of the facet
+
+      For example, to address the maxInclusive facet, the URI is:
+
+        http://www.w3.org/2001/XMLSchema#maxInclusive
+
+      Additionally, each facet usage in a built-in datatype definition
+      can be uniquely addressed via a URI constructed as follows:
+        1) the base URI is the URI of the XML Schema namespace
+        2) the fragment identifier is the name of the datatype, followed
+           by a period (".") followed by the name of the facet
+
+      For example, to address the usage of the maxInclusive facet in
+      the definition of int, the URI is:
+
+        http://www.w3.org/2001/XMLSchema#int.maxInclusive
+
+    </xs:documentation>
+  </xs:annotation>
+
+  <xs:simpleType name="string" id="string">
+    <xs:annotation>
+      <xs:appinfo>
+        <hfp:hasFacet name="length"/>
+        <hfp:hasFacet name="minLength"/>
+        <hfp:hasFacet name="maxLength"/>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasProperty name="ordered" value="false"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality" value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+                source="http://www.w3.org/TR/xmlschema-2/#string"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+      <xs:whiteSpace value="preserve" id="string.preserve"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="boolean" id="boolean">
+    <xs:annotation>
+      <xs:appinfo>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasProperty name="ordered" value="false"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality" value="finite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#boolean"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+      <xs:whiteSpace value="collapse" fixed="true"
+        id="boolean.whiteSpace"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="float" id="float">
+    <xs:annotation>
+      <xs:appinfo>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasFacet name="maxInclusive"/>
+        <hfp:hasFacet name="maxExclusive"/>
+        <hfp:hasFacet name="minInclusive"/>
+        <hfp:hasFacet name="minExclusive"/>
+        <hfp:hasProperty name="ordered" value="total"/>
+        <hfp:hasProperty name="bounded" value="true"/>
+        <hfp:hasProperty name="cardinality" value="finite"/>
+        <hfp:hasProperty name="numeric" value="true"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#float"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+      <xs:whiteSpace value="collapse" fixed="true"
+        id="float.whiteSpace"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="double" id="double">
+    <xs:annotation>
+      <xs:appinfo>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasFacet name="maxInclusive"/>
+        <hfp:hasFacet name="maxExclusive"/>
+        <hfp:hasFacet name="minInclusive"/>
+        <hfp:hasFacet name="minExclusive"/>
+        <hfp:hasProperty name="ordered" value="total"/>
+        <hfp:hasProperty name="bounded" value="true"/>
+        <hfp:hasProperty name="cardinality" value="finite"/>
+        <hfp:hasProperty name="numeric" value="true"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#double"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+      <xs:whiteSpace value="collapse"  fixed="true"
+        id="double.whiteSpace"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="decimal" id="decimal">
+    <xs:annotation>
+      <xs:appinfo>
+        <hfp:hasFacet name="totalDigits"/>
+        <hfp:hasFacet name="fractionDigits"/>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="maxInclusive"/>
+        <hfp:hasFacet name="maxExclusive"/>
+        <hfp:hasFacet name="minInclusive"/>
+        <hfp:hasFacet name="minExclusive"/>
+        <hfp:hasProperty name="ordered" value="total"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="true"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#decimal"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+      <xs:whiteSpace value="collapse"  fixed="true"
+        id="decimal.whiteSpace"/>
+    </xs:restriction>
+   </xs:simpleType>
+
+   <xs:simpleType name="duration" id="duration">
+    <xs:annotation>
+      <xs:appinfo>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasFacet name="maxInclusive"/>
+        <hfp:hasFacet name="maxExclusive"/>
+        <hfp:hasFacet name="minInclusive"/>
+        <hfp:hasFacet name="minExclusive"/>
+        <hfp:hasProperty name="ordered" value="partial"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#duration"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+      <xs:whiteSpace value="collapse"  fixed="true"
+        id="duration.whiteSpace"/>
+    </xs:restriction>
+   </xs:simpleType>
+
+ <xs:simpleType name="dateTime" id="dateTime">
+    <xs:annotation>
+    <xs:appinfo>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasFacet name="maxInclusive"/>
+        <hfp:hasFacet name="maxExclusive"/>
+        <hfp:hasFacet name="minInclusive"/>
+        <hfp:hasFacet name="minExclusive"/>
+        <hfp:hasProperty name="ordered" value="partial"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#dateTime"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+      <xs:whiteSpace value="collapse"  fixed="true"
+        id="dateTime.whiteSpace"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="time" id="time">
+    <xs:annotation>
+    <xs:appinfo>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasFacet name="maxInclusive"/>
+        <hfp:hasFacet name="maxExclusive"/>
+        <hfp:hasFacet name="minInclusive"/>
+        <hfp:hasFacet name="minExclusive"/>
+        <hfp:hasProperty name="ordered" value="partial"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#time"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+      <xs:whiteSpace value="collapse"  fixed="true"
+        id="time.whiteSpace"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="date" id="date">
+   <xs:annotation>
+    <xs:appinfo>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasFacet name="maxInclusive"/>
+        <hfp:hasFacet name="maxExclusive"/>
+        <hfp:hasFacet name="minInclusive"/>
+        <hfp:hasFacet name="minExclusive"/>
+        <hfp:hasProperty name="ordered" value="partial"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#date"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+      <xs:whiteSpace value="collapse"  fixed="true"
+        id="date.whiteSpace"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="gYearMonth" id="gYearMonth">
+   <xs:annotation>
+    <xs:appinfo>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasFacet name="maxInclusive"/>
+        <hfp:hasFacet name="maxExclusive"/>
+        <hfp:hasFacet name="minInclusive"/>
+        <hfp:hasFacet name="minExclusive"/>
+        <hfp:hasProperty name="ordered" value="partial"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#gYearMonth"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+      <xs:whiteSpace value="collapse"  fixed="true"
+        id="gYearMonth.whiteSpace"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="gYear" id="gYear">
+    <xs:annotation>
+    <xs:appinfo>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasFacet name="maxInclusive"/>
+        <hfp:hasFacet name="maxExclusive"/>
+        <hfp:hasFacet name="minInclusive"/>
+        <hfp:hasFacet name="minExclusive"/>
+        <hfp:hasProperty name="ordered" value="partial"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#gYear"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+      <xs:whiteSpace value="collapse"  fixed="true"
+        id="gYear.whiteSpace"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+ <xs:simpleType name="gMonthDay" id="gMonthDay">
+    <xs:annotation>
+      <xs:appinfo>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasFacet name="maxInclusive"/>
+        <hfp:hasFacet name="maxExclusive"/>
+        <hfp:hasFacet name="minInclusive"/>
+        <hfp:hasFacet name="minExclusive"/>
+        <hfp:hasProperty name="ordered" value="partial"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+       <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#gMonthDay"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+         <xs:whiteSpace value="collapse" fixed="true"
+                id="gMonthDay.whiteSpace"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="gDay" id="gDay">
+    <xs:annotation>
+  <xs:appinfo>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasFacet name="maxInclusive"/>
+        <hfp:hasFacet name="maxExclusive"/>
+        <hfp:hasFacet name="minInclusive"/>
+        <hfp:hasFacet name="minExclusive"/>
+        <hfp:hasProperty name="ordered" value="partial"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#gDay"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+         <xs:whiteSpace value="collapse"  fixed="true"
+                id="gDay.whiteSpace"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+ <xs:simpleType name="gMonth" id="gMonth">
+    <xs:annotation>
+  <xs:appinfo>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasFacet name="maxInclusive"/>
+        <hfp:hasFacet name="maxExclusive"/>
+        <hfp:hasFacet name="minInclusive"/>
+        <hfp:hasFacet name="minExclusive"/>
+        <hfp:hasProperty name="ordered" value="partial"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#gMonth"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+         <xs:whiteSpace value="collapse"  fixed="true"
+                id="gMonth.whiteSpace"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+   <xs:simpleType name="hexBinary" id="hexBinary">
+    <xs:annotation>
+      <xs:appinfo>
+        <hfp:hasFacet name="length"/>
+        <hfp:hasFacet name="minLength"/>
+        <hfp:hasFacet name="maxLength"/>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasProperty name="ordered" value="false"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#binary"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+      <xs:whiteSpace value="collapse" fixed="true"
+        id="hexBinary.whiteSpace"/>
+    </xs:restriction>
+   </xs:simpleType>
+
+ <xs:simpleType name="base64Binary" id="base64Binary">
+    <xs:annotation>
+      <xs:appinfo>
+        <hfp:hasFacet name="length"/>
+        <hfp:hasFacet name="minLength"/>
+        <hfp:hasFacet name="maxLength"/>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasProperty name="ordered" value="false"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+                source="http://www.w3.org/TR/xmlschema-2/#base64Binary"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+      <xs:whiteSpace value="collapse" fixed="true"
+        id="base64Binary.whiteSpace"/>
+    </xs:restriction>
+   </xs:simpleType>
+
+   <xs:simpleType name="anyURI" id="anyURI">
+    <xs:annotation>
+      <xs:appinfo>
+        <hfp:hasFacet name="length"/>
+        <hfp:hasFacet name="minLength"/>
+        <hfp:hasFacet name="maxLength"/>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasProperty name="ordered" value="false"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#anyURI"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+      <xs:whiteSpace value="collapse"  fixed="true"
+        id="anyURI.whiteSpace"/>
+    </xs:restriction>
+   </xs:simpleType>
+
+  <xs:simpleType name="QName" id="QName">
+    <xs:annotation>
+        <xs:appinfo>
+        <hfp:hasFacet name="length"/>
+        <hfp:hasFacet name="minLength"/>
+        <hfp:hasFacet name="maxLength"/>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasProperty name="ordered" value="false"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#QName"/>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+      <xs:whiteSpace value="collapse"  fixed="true"
+        id="QName.whiteSpace"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+   <xs:simpleType name="NOTATION" id="NOTATION">
+    <xs:annotation>
+        <xs:appinfo>
+        <hfp:hasFacet name="length"/>
+        <hfp:hasFacet name="minLength"/>
+        <hfp:hasFacet name="maxLength"/>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasProperty name="ordered" value="false"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#NOTATION"/>
+      <xs:documentation>
+        NOTATION cannot be used directly in a schema; rather a type
+        must be derived from it by specifying at least one enumeration
+        facet whose value is the name of a NOTATION declared in the
+        schema.
+      </xs:documentation>
+    </xs:annotation>
+    <xs:restriction base="xs:anySimpleType">
+      <xs:whiteSpace value="collapse"  fixed="true"
+        id="NOTATION.whiteSpace"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:annotation>
+    <xs:documentation>
+      Now the derived primitive types
+    </xs:documentation>
+  </xs:annotation>
+
+  <xs:simpleType name="normalizedString" id="normalizedString">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#normalizedString"/>
+    </xs:annotation>
+    <xs:restriction base="xs:string">
+      <xs:whiteSpace value="replace"
+        id="normalizedString.whiteSpace"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="token" id="token">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#token"/>
+    </xs:annotation>
+    <xs:restriction base="xs:normalizedString">
+      <xs:whiteSpace value="collapse" id="token.whiteSpace"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="language" id="language">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#language"/>
+    </xs:annotation>
+    <xs:restriction base="xs:token">
+      <xs:pattern
+        value="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"
+                id="language.pattern">
+        <xs:annotation>
+          <xs:documentation
+                source="http://www.ietf.org/rfc/rfc3066.txt">
+            pattern specifies the content of section 2.12 of XML 1.0e2
+            and RFC 3066 (Revised version of RFC 1766).
+          </xs:documentation>
+        </xs:annotation>
+      </xs:pattern>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="IDREFS" id="IDREFS">
+    <xs:annotation>
+      <xs:appinfo>
+        <hfp:hasFacet name="length"/>
+        <hfp:hasFacet name="minLength"/>
+        <hfp:hasFacet name="maxLength"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasProperty name="ordered" value="false"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#IDREFS"/>
+    </xs:annotation>
+    <xs:restriction>
+      <xs:simpleType>
+        <xs:list itemType="xs:IDREF"/>
+      </xs:simpleType>
+        <xs:minLength value="1" id="IDREFS.minLength"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="ENTITIES" id="ENTITIES">
+    <xs:annotation>
+      <xs:appinfo>
+        <hfp:hasFacet name="length"/>
+        <hfp:hasFacet name="minLength"/>
+        <hfp:hasFacet name="maxLength"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasProperty name="ordered" value="false"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#ENTITIES"/>
+    </xs:annotation>
+    <xs:restriction>
+      <xs:simpleType>
+        <xs:list itemType="xs:ENTITY"/>
+      </xs:simpleType>
+        <xs:minLength value="1" id="ENTITIES.minLength"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="NMTOKEN" id="NMTOKEN">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#NMTOKEN"/>
+    </xs:annotation>
+    <xs:restriction base="xs:token">
+      <xs:pattern value="\c+" id="NMTOKEN.pattern">
+        <xs:annotation>
+          <xs:documentation
+                source="http://www.w3.org/TR/REC-xml#NT-Nmtoken">
+            pattern matches production 7 from the XML spec
+          </xs:documentation>
+        </xs:annotation>
+      </xs:pattern>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="NMTOKENS" id="NMTOKENS">
+    <xs:annotation>
+      <xs:appinfo>
+        <hfp:hasFacet name="length"/>
+        <hfp:hasFacet name="minLength"/>
+        <hfp:hasFacet name="maxLength"/>
+        <hfp:hasFacet name="enumeration"/>
+        <hfp:hasFacet name="whiteSpace"/>
+        <hfp:hasFacet name="pattern"/>
+        <hfp:hasProperty name="ordered" value="false"/>
+        <hfp:hasProperty name="bounded" value="false"/>
+        <hfp:hasProperty name="cardinality"
+                value="countably infinite"/>
+        <hfp:hasProperty name="numeric" value="false"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#NMTOKENS"/>
+    </xs:annotation>
+    <xs:restriction>
+      <xs:simpleType>
+        <xs:list itemType="xs:NMTOKEN"/>
+      </xs:simpleType>
+        <xs:minLength value="1" id="NMTOKENS.minLength"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="Name" id="Name">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#Name"/>
+    </xs:annotation>
+    <xs:restriction base="xs:token">
+      <xs:pattern value="\i\c*" id="Name.pattern">
+        <xs:annotation>
+          <xs:documentation
+                        source="http://www.w3.org/TR/REC-xml#NT-Name">
+            pattern matches production 5 from the XML spec
+          </xs:documentation>
+        </xs:annotation>
+      </xs:pattern>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="NCName" id="NCName">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#NCName"/>
+    </xs:annotation>
+    <xs:restriction base="xs:Name">
+      <xs:pattern value="[\i-[:]][\c-[:]]*" id="NCName.pattern">
+        <xs:annotation>
+          <xs:documentation
+                source="http://www.w3.org/TR/REC-xml-names/#NT-NCName">
+            pattern matches production 4 from the Namespaces in XML spec
+          </xs:documentation>
+        </xs:annotation>
+      </xs:pattern>
+    </xs:restriction>
+  </xs:simpleType>
+
+   <xs:simpleType name="ID" id="ID">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#ID"/>
+    </xs:annotation>
+    <xs:restriction base="xs:NCName"/>
+   </xs:simpleType>
+
+   <xs:simpleType name="IDREF" id="IDREF">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#IDREF"/>
+    </xs:annotation>
+    <xs:restriction base="xs:NCName"/>
+   </xs:simpleType>
+
+   <xs:simpleType name="ENTITY" id="ENTITY">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#ENTITY"/>
+    </xs:annotation>
+    <xs:restriction base="xs:NCName"/>
+   </xs:simpleType>
+
+  <xs:simpleType name="integer" id="integer">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#integer"/>
+    </xs:annotation>
+    <xs:restriction base="xs:decimal">
+      <xs:fractionDigits value="0" fixed="true" id="integer.fractionDigits"/>
+      <xs:pattern value="[\-+]?[0-9]+"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="nonPositiveInteger" id="nonPositiveInteger">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger"/>
+    </xs:annotation>
+    <xs:restriction base="xs:integer">
+      <xs:maxInclusive value="0" id="nonPositiveInteger.maxInclusive"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="negativeInteger" id="negativeInteger">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#negativeInteger"/>
+    </xs:annotation>
+    <xs:restriction base="xs:nonPositiveInteger">
+      <xs:maxInclusive value="-1" id="negativeInteger.maxInclusive"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="long" id="long">
+    <xs:annotation>
+      <xs:appinfo>
+        <hfp:hasProperty name="bounded" value="true"/>
+        <hfp:hasProperty name="cardinality" value="finite"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#long"/>
+    </xs:annotation>
+    <xs:restriction base="xs:integer">
+      <xs:minInclusive value="-9223372036854775808" id="long.minInclusive"/>
+      <xs:maxInclusive value="9223372036854775807" id="long.maxInclusive"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="int" id="int">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#int"/>
+    </xs:annotation>
+    <xs:restriction base="xs:long">
+      <xs:minInclusive value="-2147483648" id="int.minInclusive"/>
+      <xs:maxInclusive value="2147483647" id="int.maxInclusive"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="short" id="short">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#short"/>
+    </xs:annotation>
+    <xs:restriction base="xs:int">
+      <xs:minInclusive value="-32768" id="short.minInclusive"/>
+      <xs:maxInclusive value="32767" id="short.maxInclusive"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="byte" id="byte">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#byte"/>
+    </xs:annotation>
+    <xs:restriction base="xs:short">
+      <xs:minInclusive value="-128" id="byte.minInclusive"/>
+      <xs:maxInclusive value="127" id="byte.maxInclusive"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="nonNegativeInteger" id="nonNegativeInteger">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger"/>
+    </xs:annotation>
+    <xs:restriction base="xs:integer">
+      <xs:minInclusive value="0" id="nonNegativeInteger.minInclusive"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="unsignedLong" id="unsignedLong">
+    <xs:annotation>
+      <xs:appinfo>
+        <hfp:hasProperty name="bounded" value="true"/>
+        <hfp:hasProperty name="cardinality" value="finite"/>
+      </xs:appinfo>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#unsignedLong"/>
+    </xs:annotation>
+    <xs:restriction base="xs:nonNegativeInteger">
+      <xs:maxInclusive value="18446744073709551615"
+        id="unsignedLong.maxInclusive"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="unsignedInt" id="unsignedInt">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#unsignedInt"/>
+    </xs:annotation>
+    <xs:restriction base="xs:unsignedLong">
+      <xs:maxInclusive value="4294967295"
+        id="unsignedInt.maxInclusive"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="unsignedShort" id="unsignedShort">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#unsignedShort"/>
+    </xs:annotation>
+    <xs:restriction base="xs:unsignedInt">
+      <xs:maxInclusive value="65535"
+        id="unsignedShort.maxInclusive"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="unsignedByte" id="unsignedByte">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#unsignedByte"/>
+    </xs:annotation>
+    <xs:restriction base="xs:unsignedShort">
+      <xs:maxInclusive value="255" id="unsignedByte.maxInclusive"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="positiveInteger" id="positiveInteger">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#positiveInteger"/>
+    </xs:annotation>
+    <xs:restriction base="xs:nonNegativeInteger">
+      <xs:minInclusive value="1" id="positiveInteger.minInclusive"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+ <xs:simpleType name="derivationControl">
+  <xs:annotation>
+   <xs:documentation>
+   A utility type, not for public use</xs:documentation>
+  </xs:annotation>
+  <xs:restriction base="xs:NMTOKEN">
+   <xs:enumeration value="substitution"/>
+   <xs:enumeration value="extension"/>
+   <xs:enumeration value="restriction"/>
+   <xs:enumeration value="list"/>
+   <xs:enumeration value="union"/>
+  </xs:restriction>
+ </xs:simpleType>
+
+ <xs:group name="simpleDerivation">
+  <xs:choice>
+    <xs:element ref="xs:restriction"/>
+    <xs:element ref="xs:list"/>
+    <xs:element ref="xs:union"/>
+  </xs:choice>
+ </xs:group>
+
+ <xs:simpleType name="simpleDerivationSet">
+  <xs:annotation>
+   <xs:documentation>
+   #all or (possibly empty) subset of {restriction, union, list}
+   </xs:documentation>
+   <xs:documentation>
+   A utility type, not for public use</xs:documentation>
+  </xs:annotation>
+  <xs:union>
+   <xs:simpleType>
+    <xs:restriction base="xs:token">
+     <xs:enumeration value="#all"/>
+    </xs:restriction>
+   </xs:simpleType>
+   <xs:simpleType>
+    <xs:list>
+     <xs:simpleType>
+      <xs:restriction base="xs:derivationControl">
+       <xs:enumeration value="list"/>
+       <xs:enumeration value="union"/>
+       <xs:enumeration value="restriction"/>
+      </xs:restriction>
+     </xs:simpleType>
+    </xs:list>
+   </xs:simpleType>
+  </xs:union>
+ </xs:simpleType>
+
+  <xs:complexType name="simpleType" abstract="true">
+    <xs:complexContent>
+      <xs:extension base="xs:annotated">
+        <xs:group ref="xs:simpleDerivation"/>
+        <xs:attribute name="final" type="xs:simpleDerivationSet"/>
+        <xs:attribute name="name" type="xs:NCName">
+          <xs:annotation>
+            <xs:documentation>
+              Can be restricted to required or forbidden
+            </xs:documentation>
+          </xs:annotation>
+        </xs:attribute>
+      </xs:extension>
+    </xs:complexContent>
+  </xs:complexType>
+
+  <xs:complexType name="topLevelSimpleType">
+    <xs:complexContent>
+      <xs:restriction base="xs:simpleType">
+        <xs:sequence>
+          <xs:element ref="xs:annotation" minOccurs="0"/>
+          <xs:group ref="xs:simpleDerivation"/>
+        </xs:sequence>
+        <xs:attribute name="name" use="required"
+             type="xs:NCName">
+          <xs:annotation>
+            <xs:documentation>
+              Required at the top level
+            </xs:documentation>
+          </xs:annotation>
+        </xs:attribute>
+       <xs:anyAttribute namespace="##other" processContents="lax"/>
+      </xs:restriction>
+    </xs:complexContent>
+  </xs:complexType>
+
+  <xs:complexType name="localSimpleType">
+    <xs:complexContent>
+      <xs:restriction base="xs:simpleType">
+        <xs:sequence>
+          <xs:element ref="xs:annotation" minOccurs="0"/>
+          <xs:group ref="xs:simpleDerivation"/>
+        </xs:sequence>
+        <xs:attribute name="name" use="prohibited">
+          <xs:annotation>
+            <xs:documentation>
+              Forbidden when nested
+            </xs:documentation>
+          </xs:annotation>
+        </xs:attribute>
+        <xs:attribute name="final" use="prohibited"/>
+       <xs:anyAttribute namespace="##other" processContents="lax"/>
+      </xs:restriction>
+    </xs:complexContent>
+  </xs:complexType>
+
+  <xs:element name="simpleType" type="xs:topLevelSimpleType" id="simpleType">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#element-simpleType"/>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:group name="facets">
+   <xs:annotation>
+    <xs:documentation>
+       We should use a substitution group for facets, but
+       that's ruled out because it would allow users to
+       add their own, which we're not ready for yet.
+    </xs:documentation>
+   </xs:annotation>
+   <xs:choice>
+    <xs:element ref="xs:minExclusive"/>
+    <xs:element ref="xs:minInclusive"/>
+    <xs:element ref="xs:maxExclusive"/>
+    <xs:element ref="xs:maxInclusive"/>
+    <xs:element ref="xs:totalDigits"/>
+    <xs:element ref="xs:fractionDigits"/>
+    <xs:element ref="xs:length"/>
+    <xs:element ref="xs:minLength"/>
+    <xs:element ref="xs:maxLength"/>
+    <xs:element ref="xs:enumeration"/>
+    <xs:element ref="xs:whiteSpace"/>
+    <xs:element ref="xs:pattern"/>
+   </xs:choice>
+  </xs:group>
+
+  <xs:group name="simpleRestrictionModel">
+   <xs:sequence>
+    <xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"/>
+    <xs:group ref="xs:facets" minOccurs="0" maxOccurs="unbounded"/>
+   </xs:sequence>
+  </xs:group>
+
+  <xs:element name="restriction" id="restriction">
+   <xs:complexType>
+    <xs:annotation>
+      <xs:documentation
+                source="http://www.w3.org/TR/xmlschema-2/#element-restriction">
+          base attribute and simpleType child are mutually
+          exclusive, but one or other is required
+        </xs:documentation>
+      </xs:annotation>
+      <xs:complexContent>
+        <xs:extension base="xs:annotated">
+         <xs:group ref="xs:simpleRestrictionModel"/>
+         <xs:attribute name="base" type="xs:QName" use="optional"/>
+        </xs:extension>
+      </xs:complexContent>
+    </xs:complexType>
+  </xs:element>
+
+  <xs:element name="list" id="list">
+   <xs:complexType>
+    <xs:annotation>
+      <xs:documentation
+                source="http://www.w3.org/TR/xmlschema-2/#element-list">
+          itemType attribute and simpleType child are mutually
+          exclusive, but one or other is required
+        </xs:documentation>
+      </xs:annotation>
+      <xs:complexContent>
+        <xs:extension base="xs:annotated">
+          <xs:sequence>
+            <xs:element name="simpleType" type="xs:localSimpleType"
+                minOccurs="0"/>
+          </xs:sequence>
+          <xs:attribute name="itemType" type="xs:QName" use="optional"/>
+        </xs:extension>
+      </xs:complexContent>
+    </xs:complexType>
+  </xs:element>
+
+  <xs:element name="union" id="union">
+   <xs:complexType>
+    <xs:annotation>
+      <xs:documentation
+                source="http://www.w3.org/TR/xmlschema-2/#element-union">
+          memberTypes attribute must be non-empty or there must be
+          at least one simpleType child
+        </xs:documentation>
+      </xs:annotation>
+      <xs:complexContent>
+        <xs:extension base="xs:annotated">
+          <xs:sequence>
+            <xs:element name="simpleType" type="xs:localSimpleType"
+                minOccurs="0" maxOccurs="unbounded"/>
+          </xs:sequence>
+          <xs:attribute name="memberTypes" use="optional">
+            <xs:simpleType>
+              <xs:list itemType="xs:QName"/>
+            </xs:simpleType>
+          </xs:attribute>
+        </xs:extension>
+      </xs:complexContent>
+    </xs:complexType>
+  </xs:element>
+
+  <xs:complexType name="facet">
+    <xs:complexContent>
+      <xs:extension base="xs:annotated">
+        <xs:attribute name="value" use="required"/>
+        <xs:attribute name="fixed" type="xs:boolean" use="optional"
+                      default="false"/>
+      </xs:extension>
+    </xs:complexContent>
+  </xs:complexType>
+
+ <xs:complexType name="noFixedFacet">
+  <xs:complexContent>
+   <xs:restriction base="xs:facet">
+    <xs:sequence>
+     <xs:element ref="xs:annotation" minOccurs="0"/>
+    </xs:sequence>
+    <xs:attribute name="fixed" use="prohibited"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:restriction>
+  </xs:complexContent>
+ </xs:complexType>
+
+  <xs:element name="minExclusive" id="minExclusive" type="xs:facet">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#element-minExclusive"/>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="minInclusive" id="minInclusive" type="xs:facet">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#element-minInclusive"/>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="maxExclusive" id="maxExclusive" type="xs:facet">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#element-maxExclusive"/>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="maxInclusive" id="maxInclusive" type="xs:facet">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#element-maxInclusive"/>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:complexType name="numFacet">
+    <xs:complexContent>
+      <xs:restriction base="xs:facet">
+       <xs:sequence>
+         <xs:element ref="xs:annotation" minOccurs="0"/>
+       </xs:sequence>
+       <xs:attribute name="value" type="xs:nonNegativeInteger" use="required"/>
+       <xs:anyAttribute namespace="##other" processContents="lax"/>
+      </xs:restriction>
+    </xs:complexContent>
+  </xs:complexType>
+
+  <xs:element name="totalDigits" id="totalDigits">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#element-totalDigits"/>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:complexContent>
+        <xs:restriction base="xs:numFacet">
+          <xs:sequence>
+            <xs:element ref="xs:annotation" minOccurs="0"/>
+          </xs:sequence>
+          <xs:attribute name="value" type="xs:positiveInteger" use="required"/>
+         <xs:anyAttribute namespace="##other" processContents="lax"/>
+        </xs:restriction>
+      </xs:complexContent>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="fractionDigits" id="fractionDigits" type="xs:numFacet">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#element-fractionDigits"/>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="length" id="length" type="xs:numFacet">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#element-length"/>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="minLength" id="minLength" type="xs:numFacet">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#element-minLength"/>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="maxLength" id="maxLength" type="xs:numFacet">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#element-maxLength"/>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="enumeration" id="enumeration" type="xs:noFixedFacet">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#element-enumeration"/>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="whiteSpace" id="whiteSpace">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#element-whiteSpace"/>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:complexContent>
+        <xs:restriction base="xs:facet">
+          <xs:sequence>
+            <xs:element ref="xs:annotation" minOccurs="0"/>
+          </xs:sequence>
+          <xs:attribute name="value" use="required">
+            <xs:simpleType>
+              <xs:restriction base="xs:NMTOKEN">
+                <xs:enumeration value="preserve"/>
+                <xs:enumeration value="replace"/>
+                <xs:enumeration value="collapse"/>
+              </xs:restriction>
+            </xs:simpleType>
+          </xs:attribute>
+         <xs:anyAttribute namespace="##other" processContents="lax"/>
+        </xs:restriction>
+      </xs:complexContent>
+    </xs:complexType>
+  </xs:element>
+
+  <xs:element name="pattern" id="pattern">
+    <xs:annotation>
+      <xs:documentation
+        source="http://www.w3.org/TR/xmlschema-2/#element-pattern"/>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:complexContent>
+        <xs:restriction base="xs:noFixedFacet">
+          <xs:sequence>
+            <xs:element ref="xs:annotation" minOccurs="0"/>
+          </xs:sequence>
+          <xs:attribute name="value" type="xs:string" use="required"/>
+         <xs:anyAttribute namespace="##other" processContents="lax"/>
+        </xs:restriction>
+      </xs:complexContent>
+    </xs:complexType>
+  </xs:element>
+
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/datatypes.dtd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,203 @@
+<!--
+        DTD for XML Schemas: Part 2: Datatypes
+        $Id: datatypes.dtd,v 1.3 2007-07-19 21:56:49 ofung Exp $
+        Note this DTD is NOT normative, or even definitive. - - the
+        prose copy in the datatypes REC is the definitive version
+        (which shouldn't differ from this one except for this comment
+        and entity expansions, but just in case)
+  -->
+
+<!--
+        This DTD cannot be used on its own, it is intended
+        only for incorporation in XMLSchema.dtd, q.v.
+  -->
+
+<!-- Define all the element names, with optional prefix -->
+<!ENTITY % simpleType "%p;simpleType">
+<!ENTITY % restriction "%p;restriction">
+<!ENTITY % list "%p;list">
+<!ENTITY % union "%p;union">
+<!ENTITY % maxExclusive "%p;maxExclusive">
+<!ENTITY % minExclusive "%p;minExclusive">
+<!ENTITY % maxInclusive "%p;maxInclusive">
+<!ENTITY % minInclusive "%p;minInclusive">
+<!ENTITY % totalDigits "%p;totalDigits">
+<!ENTITY % fractionDigits "%p;fractionDigits">
+<!ENTITY % length "%p;length">
+<!ENTITY % minLength "%p;minLength">
+<!ENTITY % maxLength "%p;maxLength">
+<!ENTITY % enumeration "%p;enumeration">
+<!ENTITY % whiteSpace "%p;whiteSpace">
+<!ENTITY % pattern "%p;pattern">
+
+<!--
+        Customisation entities for the ATTLIST of each element
+        type. Define one of these if your schema takes advantage
+        of the anyAttribute='##other' in the schema for schemas
+  -->
+
+<!ENTITY % simpleTypeAttrs "">
+<!ENTITY % restrictionAttrs "">
+<!ENTITY % listAttrs "">
+<!ENTITY % unionAttrs "">
+<!ENTITY % maxExclusiveAttrs "">
+<!ENTITY % minExclusiveAttrs "">
+<!ENTITY % maxInclusiveAttrs "">
+<!ENTITY % minInclusiveAttrs "">
+<!ENTITY % totalDigitsAttrs "">
+<!ENTITY % fractionDigitsAttrs "">
+<!ENTITY % lengthAttrs "">
+<!ENTITY % minLengthAttrs "">
+<!ENTITY % maxLengthAttrs "">
+<!ENTITY % enumerationAttrs "">
+<!ENTITY % whiteSpaceAttrs "">
+<!ENTITY % patternAttrs "">
+
+<!-- Define some entities for informative use as attribute
+        types -->
+<!ENTITY % URIref "CDATA">
+<!ENTITY % XPathExpr "CDATA">
+<!ENTITY % QName "NMTOKEN">
+<!ENTITY % QNames "NMTOKENS">
+<!ENTITY % NCName "NMTOKEN">
+<!ENTITY % nonNegativeInteger "NMTOKEN">
+<!ENTITY % boolean "(true|false)">
+<!ENTITY % simpleDerivationSet "CDATA">
+<!--
+        #all or space-separated list drawn from derivationChoice
+  -->
+
+<!--
+        Note that the use of 'facet' below is less restrictive
+        than is really intended:  There should in fact be no
+        more than one of each of minInclusive, minExclusive,
+        maxInclusive, maxExclusive, totalDigits, fractionDigits,
+        length, maxLength, minLength within datatype,
+        and the min- and max- variants of Inclusive and Exclusive
+        are mutually exclusive. On the other hand,  pattern and
+        enumeration may repeat.
+  -->
+<!ENTITY % minBound "(%minInclusive; | %minExclusive;)">
+<!ENTITY % maxBound "(%maxInclusive; | %maxExclusive;)">
+<!ENTITY % bounds "%minBound; | %maxBound;">
+<!ENTITY % numeric "%totalDigits; | %fractionDigits;">
+<!ENTITY % ordered "%bounds; | %numeric;">
+<!ENTITY % unordered
+   "%pattern; | %enumeration; | %whiteSpace; | %length; |
+   %maxLength; | %minLength;">
+<!ENTITY % facet "%ordered; | %unordered;">
+<!ENTITY % facetAttr 
+        "value CDATA #REQUIRED
+        id ID #IMPLIED">
+<!ENTITY % fixedAttr "fixed %boolean; #IMPLIED">
+<!ENTITY % facetModel "(%annotation;)?">
+<!ELEMENT %simpleType;
+        ((%annotation;)?, (%restriction; | %list; | %union;))>
+<!ATTLIST %simpleType;
+    name      %NCName; #IMPLIED
+    final     %simpleDerivationSet; #IMPLIED
+    id        ID       #IMPLIED
+    %simpleTypeAttrs;>
+<!-- name is required at top level -->
+<!ELEMENT %restriction; ((%annotation;)?,
+                         (%restriction1; |
+                          ((%simpleType;)?,(%facet;)*)),
+                         (%attrDecls;))>
+<!ATTLIST %restriction;
+    base      %QName;                  #IMPLIED
+    id        ID       #IMPLIED
+    %restrictionAttrs;>
+<!--
+        base and simpleType child are mutually exclusive,
+        one is required.
+
+        restriction is shared between simpleType and
+        simpleContent and complexContent (in XMLSchema.xsd).
+        restriction1 is for the latter cases, when this
+        is restricting a complex type, as is attrDecls.
+  -->
+<!ELEMENT %list; ((%annotation;)?,(%simpleType;)?)>
+<!ATTLIST %list;
+    itemType      %QName;             #IMPLIED
+    id        ID       #IMPLIED
+    %listAttrs;>
+<!--
+        itemType and simpleType child are mutually exclusive,
+        one is required
+  -->
+<!ELEMENT %union; ((%annotation;)?,(%simpleType;)*)>
+<!ATTLIST %union;
+    id            ID       #IMPLIED
+    memberTypes   %QNames;            #IMPLIED
+    %unionAttrs;>
+<!--
+        At least one item in memberTypes or one simpleType
+        child is required
+  -->
+
+<!ELEMENT %maxExclusive; %facetModel;>
+<!ATTLIST %maxExclusive;
+        %facetAttr;
+        %fixedAttr;
+        %maxExclusiveAttrs;>
+<!ELEMENT %minExclusive; %facetModel;>
+<!ATTLIST %minExclusive;
+        %facetAttr;
+        %fixedAttr;
+        %minExclusiveAttrs;>
+
+<!ELEMENT %maxInclusive; %facetModel;>
+<!ATTLIST %maxInclusive;
+        %facetAttr;
+        %fixedAttr;
+        %maxInclusiveAttrs;>
+<!ELEMENT %minInclusive; %facetModel;>
+<!ATTLIST %minInclusive;
+        %facetAttr;
+        %fixedAttr;
+        %minInclusiveAttrs;>
+
+<!ELEMENT %totalDigits; %facetModel;>
+<!ATTLIST %totalDigits;
+        %facetAttr;
+        %fixedAttr;
+        %totalDigitsAttrs;>
+<!ELEMENT %fractionDigits; %facetModel;>
+<!ATTLIST %fractionDigits;
+        %facetAttr;
+        %fixedAttr;
+        %fractionDigitsAttrs;>
+
+<!ELEMENT %length; %facetModel;>
+<!ATTLIST %length;
+        %facetAttr;
+        %fixedAttr;
+        %lengthAttrs;>
+<!ELEMENT %minLength; %facetModel;>
+<!ATTLIST %minLength;
+        %facetAttr;
+        %fixedAttr;
+        %minLengthAttrs;>
+<!ELEMENT %maxLength; %facetModel;>
+<!ATTLIST %maxLength;
+        %facetAttr;
+        %fixedAttr;
+        %maxLengthAttrs;>
+
+<!-- This one can be repeated -->
+<!ELEMENT %enumeration; %facetModel;>
+<!ATTLIST %enumeration;
+        %facetAttr;
+        %enumerationAttrs;>
+
+<!ELEMENT %whiteSpace; %facetModel;>
+<!ATTLIST %whiteSpace;
+        %facetAttr;
+        %fixedAttr;
+        %whiteSpaceAttrs;>
+
+<!-- This one can be repeated -->
+<!ELEMENT %pattern; %facetModel;>
+<!ATTLIST %pattern;
+        %facetAttr;
+        %patternAttrs;>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/report.dtd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,31 @@
+<!NOTATION cgm PUBLIC "Computer Graphics Metafile">
+ <!NOTATION ccitt PUBLIC "CCITT group 4 raster">
+
+ <!ENTITY % text "(#PCDATA | emph)*">
+ <!ENTITY infoflow SYSTEM "infoflow.ccitt" NDATA ccitt>
+ <!ENTITY tagexamp SYSTEM "tagexamp.cgm"   NDATA cgm>
+
+ <!ELEMENT report (title, chapter+)>
+ <!ELEMENT title %text;>
+ <!ELEMENT chapter (title, intro?, section*)>
+ <!ATTLIST chapter
+               shorttitle CDATA #IMPLIED>
+ <!ELEMENT intro (para | graphic)+>
+ <!ELEMENT section (title, intro?, topic*)>
+ <!ATTLIST section
+               shorttitle CDATA #IMPLIED
+               sectid ID #IMPLIED>
+ <!ELEMENT topic (title, (para | graphic)+)>
+ <!ATTLIST topic
+               shorttitle CDATA #IMPLIED
+               topicid ID #IMPLIED>
+ <!ELEMENT para (#PCDATA | emph | xref)*>
+ <!ATTLIST para
+               security (u | c | s | ts) "u">
+ <!ELEMENT emph %text;>
+ <!ELEMENT graphic EMPTY>
+ <!ATTLIST graphic
+               graphname ENTITY #REQUIRED>
+ <!ELEMENT xref EMPTY>
+ <!ATTLIST xref
+               xrefid IDREF #IMPLIED>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/sgml.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,101 @@
+<!DOCTYPE report SYSTEM "report.dtd">
+<report>
+<title>Getting started with SGML</title>
+<chapter>
+<title>The business challenge</title>
+<intro>
+<para>With the ever-changing and growing global market, companies and
+ large organizations are searching for ways to become more viable and
+ competitive. Downsizing and other cost-cutting measures demand more
+ efficient use of corporate resources. One very important resource is
+ an organization's information.</para>
+<para>As part of the move toward integrated information management,
+whole industries are developing and implementing standards for
+exchanging technical information. This report describes how one such
+standard, the Standard Generalized Markup Language (SGML), works as
+part of an overall information management strategy.</para>
+<graphic graphname="infoflow"/></intro></chapter>
+<chapter>
+<title>Getting to know SGML</title>
+<intro>
+<para>While SGML is a fairly recent technology, the use of
+<emph>markup</emph> in computer-generated documents has existed for a
+while.</para></intro>
+<section shorttitle="What is markup?">
+<title>What is markup, or everything you always wanted to know about
+document preparation but were afraid to ask?</title>
+<intro>
+<para>Markup is everything in a document that is not content. The
+traditional meaning of markup is the manual <emph>marking</emph> up
+of typewritten text to give instructions for a typesetter or
+compositor about how to fit the text on a page and what typefaces to
+use. This kind of markup is known as <emph>procedural markup</emph>.</para></intro>
+<topic topicid="top1">
+<title>Procedural markup</title>
+<para>Most electronic publishing systems today use some form of
+procedural markup. Procedural markup codes are good for one
+presentation of the information.</para></topic>
+<topic topicid="top2">
+<title>Generic markup</title>
+<para>Generic markup (also known as descriptive markup) describes the
+<emph>purpose</emph> of the text in a document. A basic concept of
+generic markup is that the content of a document must be separate from
+the style. Generic markup allows for multiple presentations of the
+information.</para></topic>
+<topic topicid="top3">
+<title>Drawbacks of procedural markup</title>
+<para>Industries involved in technical documentation increasingly
+prefer generic over procedural markup schemes. When a company changes
+software or hardware systems, enormous data translation tasks arise,
+often resulting in errors.</para></topic></section>
+<section shorttitle="What is SGML?">
+<title>What <emph>is</emph> SGML in the grand scheme of the universe, anyway?</title>
+<intro>
+<para>SGML defines a strict markup scheme with a syntax for defining
+document data elements and an overall framework for marking up
+documents.</para>
+<para>SGML can describe and create documents that are not dependent on
+any hardware, software, formatter, or operating system. Since SGML documents
+conform to an international standard, they are portable.</para></intro></section>
+<section shorttitle="How does SGML work?">
+<title>How is SGML and would you recommend it to your grandmother?</title>
+<intro>
+<para>You can break a typical document into three layers: structure,
+content, and style. SGML works by separating these three aspects and
+deals mainly with the relationship between structure and content.</para></intro>
+<topic topicid="top4">
+<title>Structure</title>
+<para>At the heart of an SGML application is a file called the DTD, or
+Document Type Definition. The DTD sets up the structure of a document,
+much like a database schema describes the types of information it
+handles.</para>
+<para>A database schema also defines the relationships between the
+various types of data. Similarly, a DTD specifies <emph>rules</emph>
+to help ensure documents have a consistent, logical structure.</para></topic>
+<topic topicid="top5">
+<title>Content</title>
+<para>Content is the information itself. The method for identifying
+the information and its meaning within this framework is called
+<emph>tagging</emph>. Tagging must
+conform to the rules established in the DTD (see <xref xrefid="top4"/>).</para>
+<graphic graphname="tagexamp"/></topic>
+<topic topicid="top6">
+<title>Style</title>
+<para>SGML does not standardize style or other processing methods for
+information stored in SGML.</para></topic></section></chapter>
+<chapter>
+<title>Resources</title>
+<section>
+<title>Conferences, tutorials, and training</title>
+<intro>
+<para>The Graphic Communications Association has been
+instrumental in the development of SGML. GCA provides conferences,
+tutorials, newsletters, and publication sales for both members and
+non-members.</para>
+<para security="c">Exiled members of the former Soviet Union's secret
+police, the KGB, have infiltrated the upper ranks of the GCA and are
+planning the Final Revolution as soon as DSSSL is completed.</para>
+</intro>
+</section>
+</chapter>
+</report>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/voicexml.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding ="utf-8"?>
+<!DOCTYPE document SYSTEM "vxml.dtd">
+<vxml/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/vxml.dtd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,474 @@
+<!-- 
+VoiceXML 2.1 DTD (20060322)
+
+Copyright 1998-2006 W3C (MIT, ERCIM, Keio), All Rights Reserved. 
+
+Permission to use, copy, modify and distribute the VoiceXML DTD and 
+its accompanying documentation for any purpose and without fee is 
+hereby granted in perpetuity, provided that the above copyright 
+notice and this paragraph appear in all copies.  
+
+The copyright holders make no representation about the suitability 
+of the DTD for any purpose. It is provided "as is" without expressed 
+or implied warranty.
+-->
+
+<!ENTITY % audio "#PCDATA | audio | enumerate | value">
+<!ENTITY % bargeintype "( speech | hotword )">
+<!ENTITY % boolean "(true|false)">
+<!ENTITY % content.type "CDATA">
+<!ENTITY % duration "CDATA">
+<!ENTITY % event.handler "catch | help | noinput | nomatch | error">
+<!ENTITY % event.name "NMTOKEN">
+<!ENTITY % event.names "NMTOKENS">
+<!ENTITY % executable.content "%audio; | assign | clear | data | disconnect | 
+    exit | foreach |goto | if | log | prompt | 
+    reprompt | return | script | submit | throw | var ">
+<!ENTITY % expression "CDATA">
+<!ENTITY % restrictedvariable.name "CDATA">
+<!ENTITY % variable.name "CDATA">
+<!ENTITY % restrictedvariable.names "CDATA">
+<!ENTITY % variable.names "CDATA">
+<!ENTITY % integer "CDATA">
+<!ENTITY % item.attrs "name     %restrictedvariable.name; #IMPLIED 
+    cond        %expression;    #IMPLIED
+    expr        %expression;    #IMPLIED ">
+<!ENTITY % uri "CDATA">
+<!ENTITY % cache.attrs "fetchhint   (prefetch|safe) #IMPLIED
+    fetchtimeout    %duration;  #IMPLIED
+    maxage      %integer;   #IMPLIED
+    maxstale    %integer;   #IMPLIED">
+<!ENTITY % next.attrs "next     %uri;       #IMPLIED
+    expr        %expression;    #IMPLIED ">
+<!ENTITY % submit.attrs "method     (get|post)  'get'
+    enctype     %content.type;  'application/x-www-form-urlencoded'
+    namelist    %variable.names;    #IMPLIED">
+<!ENTITY % throw.attrs "event       %event.name;    #IMPLIED
+    eventexpr   %expression;    #IMPLIED
+    message     CDATA       #IMPLIED
+    messageexpr %expression;    #IMPLIED">
+<!ENTITY % variable "block | data | field | var">
+<!--================================= Root ================================-->
+<!ELEMENT vxml (%event.handler; | data | form | link | menu | meta | metadata | 
+                property | script | var)+>
+<!ATTLIST vxml
+    application %uri; #IMPLIED
+    xml:base %uri; #IMPLIED
+    xml:lang NMTOKEN #IMPLIED
+    xmlns CDATA #FIXED 'http://www.w3.org/2001/vxml'
+    xmlns:xsi CDATA #IMPLIED
+    xsi:schemaLocation CDATA #IMPLIED
+    version CDATA #REQUIRED
+>
+<!ELEMENT meta EMPTY>
+<!ATTLIST meta
+    name NMTOKEN #IMPLIED
+    content CDATA #REQUIRED
+    http-equiv NMTOKEN #IMPLIED
+>
+
+<!ELEMENT metadata ANY>
+
+<!--================================ Prompts ==============================-->
+<!-- definitions adapted from SSML 1.0 DTD -->
+<!ENTITY % structure "p | s">
+<!ENTITY % sentence-elements "break | emphasis | mark | phoneme | prosody | 
+                              say-as | voice | sub">
+<!-- addition of enumerate and value elements as 'allowed-within-sentence' 
+     audio elements -->
+<!ENTITY % allowed-within-sentence " %audio; | %sentence-elements; ">
+
+<!-- Prompt is modelled on SSML 1.0 DTD speak element:
+- addition of 'bargein', 'bargeintype', 'cond', 'count' and 'timeout' attributes
+- removal of xmlns, xmlns:xsi, and xsi:schemaLocation attributes
+- version attribute fixed as "1.0"
+-->
+<!ELEMENT prompt (%allowed-within-sentence; | foreach | %structure; | lexicon 
+                  | metadata | meta )*>
+<!ATTLIST prompt
+    bargein %boolean; #IMPLIED
+    bargeintype %bargeintype; #IMPLIED
+    cond %expression; #IMPLIED
+    count %integer; #IMPLIED
+    xml:lang NMTOKEN #IMPLIED
+    timeout %duration; #IMPLIED
+    xml:base %uri; #IMPLIED
+    version CDATA #FIXED "1.0"
+>
+<!ELEMENT enumerate (%allowed-within-sentence; | %structure;)*>
+<!ELEMENT reprompt EMPTY>
+
+<!--================================= Dialogs =============================-->
+<!ENTITY % input "grammar">
+<!ENTITY % scope "(document | dialog)">
+<!ELEMENT form (%input; | %event.handler; | filled | initial | object | link |
+              property | record | script | subdialog | transfer | %variable;)*>
+<!ATTLIST form
+    id ID #IMPLIED
+    scope %scope; "dialog"
+>
+<!ENTITY % accept.attrs "accept     (exact | approximate)   'exact'">
+<!ELEMENT menu (%audio; | choice | %event.handler; | prompt | property)*>
+<!ATTLIST menu
+    id ID #IMPLIED
+    scope %scope; "dialog"
+    %accept.attrs; 
+    dtmf %boolean; "false"
+>
+<!ELEMENT choice ( #PCDATA | %input; )*>
+<!ATTLIST choice
+    %cache.attrs; 
+    accept  (exact | approximate) #IMPLIED
+    dtmf CDATA #IMPLIED
+    %throw.attrs; 
+    fetchaudio %uri; #IMPLIED
+    %next.attrs; 
+>
+<!--================================ Audio Output ==============================-->
+<!-- definitions adapted from SSML 1.0 DTD -->
+<!ELEMENT p (%allowed-within-sentence; | s)*>
+<!ATTLIST p
+    xml:lang NMTOKEN #IMPLIED
+>
+<!ELEMENT s (%allowed-within-sentence;)*>
+<!ATTLIST s
+    xml:lang NMTOKEN #IMPLIED
+>
+<!ELEMENT voice (%allowed-within-sentence; | %structure;)*>
+<!ATTLIST voice
+    xml:lang NMTOKEN #IMPLIED
+    gender (male | female | neutral) #IMPLIED
+    age %integer; #IMPLIED
+    variant %integer; #IMPLIED
+    name CDATA #IMPLIED
+>
+<!ELEMENT prosody (%allowed-within-sentence; | %structure;)*>
+<!ATTLIST prosody
+    pitch CDATA #IMPLIED
+    contour CDATA #IMPLIED
+    range CDATA #IMPLIED
+    rate CDATA #IMPLIED
+    duration %duration; #IMPLIED
+    volume CDATA #IMPLIED
+>
+<!-- Changes to SSML 1.0 DTD audio element:
+- src not obligatory, addition of 'expr' and caching attributes
+-->
+<!ELEMENT audio (%allowed-within-sentence; | %structure; | desc)*>
+<!ATTLIST audio
+    src %uri; #IMPLIED
+    expr %expression; #IMPLIED
+    %cache.attrs; 
+>
+<!ELEMENT desc (#PCDATA)>
+<!ATTLIST desc
+    xml:lang NMTOKEN #IMPLIED
+>
+<!ELEMENT emphasis (%allowed-within-sentence;)*>
+<!ATTLIST emphasis
+    level (strong | moderate | none | reduced) "moderate"
+>
+<!-- Changes to SSML 1.0 DTD say-as element:
+- allows value element as child
+-->
+<!ELEMENT say-as (#PCDATA | value )*>
+<!ATTLIST say-as
+    interpret-as NMTOKEN #REQUIRED
+    format NMTOKEN #IMPLIED
+    detail NMTOKEN #IMPLIED
+>
+<!ELEMENT sub (#PCDATA)>
+<!ATTLIST sub
+    alias CDATA #REQUIRED
+>
+<!ELEMENT phoneme (#PCDATA)>
+<!ATTLIST phoneme
+    ph CDATA #REQUIRED
+    alphabet CDATA #IMPLIED
+>
+<!ELEMENT break EMPTY>
+<!ATTLIST break
+    time CDATA #IMPLIED
+    strength  (none | x-weak | weak  | medium | strong | x-strong) "medium"
+>
+<!ELEMENT mark EMPTY>
+<!ATTLIST mark
+    name ID #IMPLIED
+    nameexpr %expression; #IMPLIED
+>
+<!--================================ Fields ===============================-->
+<!ELEMENT field (%audio; | %event.handler; | filled | %input; | link | option |
+                 prompt | property)*>
+<!ATTLIST field
+    %item.attrs; 
+    type CDATA #IMPLIED
+    slot NMTOKEN #IMPLIED
+    modal %boolean; "false"
+>
+<!ELEMENT option (#PCDATA)>
+<!ATTLIST option
+    %accept.attrs; 
+    dtmf CDATA #IMPLIED
+    value CDATA #IMPLIED
+>
+<!ELEMENT var EMPTY>
+<!ATTLIST var
+    name %restrictedvariable.name; #REQUIRED
+    expr %expression; #IMPLIED
+>
+<!ELEMENT initial (%audio; | %event.handler; | link | prompt | property)*>
+<!ATTLIST initial
+    %item.attrs; 
+>
+<!ELEMENT block (%executable.content;)*>
+<!ATTLIST block
+    %item.attrs; 
+>
+<!ELEMENT assign EMPTY>
+<!ATTLIST assign
+    name %variable.name; #REQUIRED
+    expr %expression; #REQUIRED
+>
+<!ELEMENT clear EMPTY>
+<!ATTLIST clear
+    namelist %variable.names; #IMPLIED
+>
+<!ELEMENT value EMPTY>
+<!ATTLIST value
+    expr %expression; #REQUIRED
+>
+<!--================================== Events =============================-->
+<!ENTITY % event.handler.attrs "count       %integer;   #IMPLIED
+    cond        %expression;    #IMPLIED">
+<!ELEMENT catch (%executable.content;)*>
+<!ATTLIST catch
+    event %event.names; #IMPLIED
+    %event.handler.attrs; 
+>
+<!ELEMENT error (%executable.content;)*>
+<!ATTLIST error
+    %event.handler.attrs; 
+>
+<!ELEMENT help (%executable.content;)*>
+<!ATTLIST help
+    %event.handler.attrs; 
+>
+<!ELEMENT link (%input;)*>
+<!ATTLIST link
+    %cache.attrs; 
+    %next.attrs; 
+    fetchaudio %uri; #IMPLIED
+    dtmf CDATA #IMPLIED
+    %throw.attrs; 
+>
+<!ELEMENT noinput (%executable.content;)*>
+<!ATTLIST noinput
+    %event.handler.attrs; 
+>
+<!ELEMENT nomatch (%executable.content;)*>
+<!ATTLIST nomatch
+    %event.handler.attrs; 
+>
+<!ELEMENT throw EMPTY>
+<!ATTLIST throw
+    %throw.attrs; 
+>
+<!--============================= Grammar Input =============================-->
+<!-- definitions adapted from SRGS 1.0 DTD -->
+<!ENTITY % rule-expansion "#PCDATA | token | ruleref
+                              | item | one-of | tag ">
+<!ELEMENT ruleref EMPTY>
+<!ATTLIST ruleref
+    uri %uri; #IMPLIED
+    type CDATA #IMPLIED
+    special (NULL | VOID | GARBAGE) #IMPLIED
+>
+<!ELEMENT token (#PCDATA)>
+<!ATTLIST token
+    xml:lang NMTOKEN #IMPLIED
+>
+<!ELEMENT tag (#PCDATA)>
+<!ELEMENT one-of (item)+>
+<!ATTLIST one-of
+    xml:lang NMTOKEN #IMPLIED
+>
+<!ELEMENT item (%rule-expansion;)*>
+<!ATTLIST item
+    repeat NMTOKEN #IMPLIED
+    repeat-prob NMTOKEN #IMPLIED
+    weight NMTOKEN #IMPLIED
+    xml:lang NMTOKEN #IMPLIED
+>
+<!ELEMENT rule (%rule-expansion; | example)*>
+<!ATTLIST rule
+    id ID #REQUIRED
+    scope (private | public) "private"
+>
+<!ELEMENT example (#PCDATA)>
+<!ELEMENT lexicon EMPTY>
+<!ATTLIST lexicon
+    uri %uri; #REQUIRED
+    type CDATA #IMPLIED
+>
+<!-- Changes to SRGS 1.0 DTD grammar element:
+- mixed, unordered content model 
+- addition of 'scope', 'src', 'type', 'weight' and caching attributes
+- 'version' attribute is optional
+- removal of xmlns, xmlns:xsi, and xsi:schemaLocation attributes
+-->
+<!ELEMENT grammar (#PCDATA | meta | metadata | lexicon | rule | tag)*>
+<!ATTLIST grammar
+    scope %scope; #IMPLIED
+    src %uri; #IMPLIED
+    srcexpr %expression; #IMPLIED
+    type CDATA #IMPLIED
+    weight CDATA #IMPLIED
+    %cache.attrs; 
+    tag-format %uri; #IMPLIED
+    xml:base %uri; #IMPLIED
+    version NMTOKEN #IMPLIED
+    xml:lang NMTOKEN #IMPLIED
+    root IDREF #IMPLIED
+    mode (voice | dtmf) "voice"
+>
+<!--============================= Audio Input =============================-->
+<!ELEMENT record (%audio; | %event.handler; | filled | %input; | prompt | 
+                  property)*>
+<!ATTLIST record
+    %item.attrs; 
+    type CDATA #IMPLIED
+    beep %boolean; "false"
+    maxtime %duration; #IMPLIED
+    modal %boolean; "true"
+    finalsilence %duration; #IMPLIED
+    dtmfterm %boolean; "true"
+>
+<!--============================ Call Control ============================-->
+<!ELEMENT disconnect EMPTY>
+<!ATTLIST disconnect
+    namelist %variable.names; #IMPLIED
+>
+
+<!ELEMENT transfer (%audio; | %event.handler; | filled | %input; | prompt | 
+                    property)*>
+<!ATTLIST transfer
+    %item.attrs; 
+    dest %uri; #IMPLIED
+    destexpr %expression; #IMPLIED
+    bridge %boolean; #IMPLIED
+    type NMTOKEN #IMPLIED
+    connecttimeout %duration; #IMPLIED
+    maxtime %duration; #IMPLIED
+    transferaudio %uri; #IMPLIED
+    aai CDATA #IMPLIED
+    aaiexpr %expression; #IMPLIED
+>
+<!--============================ Control Flow ============================-->
+<!ENTITY % if.attrs "cond       %expression;    #REQUIRED">
+<!ELEMENT if (%executable.content; | elseif | else)*>
+<!ATTLIST if
+    %if.attrs; 
+>
+<!ELEMENT elseif EMPTY>
+<!ATTLIST elseif
+    %if.attrs; 
+>
+<!ELEMENT else EMPTY>
+<!ELEMENT exit EMPTY>
+<!ATTLIST exit
+    expr %expression; #IMPLIED
+    namelist %variable.names; #IMPLIED
+>
+<!ELEMENT filled (%executable.content;)*>
+<!ATTLIST filled
+    mode (any | all) #IMPLIED
+    namelist %restrictedvariable.names; #IMPLIED
+>
+
+<!-- executable content + contents of prompt  -->
+<!ELEMENT foreach (%executable.content; | %sentence-elements; | 
+    %structure; )*
+>
+<!ATTLIST foreach
+    item %restrictedvariable.name; #REQUIRED
+    array CDATA #REQUIRED
+>
+
+<!ELEMENT goto EMPTY>
+<!ATTLIST goto
+    %cache.attrs; 
+    %next.attrs; 
+    fetchaudio %uri; #IMPLIED
+    expritem %expression; #IMPLIED
+    nextitem %restrictedvariable.name; #IMPLIED
+>
+<!ELEMENT param EMPTY>
+<!ATTLIST param
+    name NMTOKEN #REQUIRED
+    expr %expression; #IMPLIED
+    value CDATA #IMPLIED
+    valuetype (data | ref) "data"
+    type CDATA #IMPLIED
+>
+<!ELEMENT return EMPTY>
+<!ATTLIST return
+    namelist %variable.names; #IMPLIED
+    %throw.attrs; 
+>
+<!ELEMENT subdialog (%audio; | %event.handler; | filled | param | prompt | 
+                     property)*>
+<!ATTLIST subdialog
+    %item.attrs; 
+    src %uri; #IMPLIED
+    srcexpr %expression; #IMPLIED
+    %cache.attrs; 
+    fetchaudio %uri; #IMPLIED
+    %submit.attrs; 
+>
+<!ELEMENT submit EMPTY>
+<!ATTLIST submit
+    %cache.attrs; 
+    %next.attrs; 
+    fetchaudio %uri; #IMPLIED
+    %submit.attrs; 
+>
+<!--========================== Miscellaneous ==============================-->
+<!ELEMENT data EMPTY>
+<!ATTLIST data
+    name %restrictedvariable.name; #IMPLIED
+    src %uri; #IMPLIED
+    srcexpr %expression; #IMPLIED 
+    fetchaudio  %uri;       #IMPLIED
+    %submit.attrs;
+    %cache.attrs;
+>
+
+<!ELEMENT log (#PCDATA | value)*>
+<!ATTLIST log
+    label CDATA #IMPLIED
+    expr %expression; #IMPLIED
+>
+<!ELEMENT object (%audio; | %event.handler; | filled | param | prompt | 
+                  property)*>
+<!ATTLIST object
+    %item.attrs; 
+    %cache.attrs; 
+    classid %uri; #IMPLIED
+    codebase %uri; #IMPLIED
+    data %uri; #IMPLIED
+    type CDATA #IMPLIED
+    codetype CDATA #IMPLIED
+    archive %uri; #IMPLIED
+>
+<!ELEMENT property EMPTY>
+<!ATTLIST property
+    name NMTOKEN #REQUIRED
+    value CDATA #REQUIRED
+>
+<!ELEMENT script (#PCDATA)>
+<!ATTLIST script
+    src %uri; #IMPLIED
+    srcexpr %expression; #IMPLIED
+    charset CDATA #IMPLIED
+    %cache.attrs; 
+>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/xml11.xml.data	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,23 @@
+<?xml version="1.1" encoding="UTF-8" ?>
+<!DOCTYPE root [
+<!ELEMENT root ANY>
+<!-- This test case covers legal character ranges plus
+     discrete legal characters for production 02 of the 
+     XML1.1 specification. -->
+<?NAME_09-	_0A-
+_0D-
+_20- _D7FF-퟿_6c0f-氏_E000-_FFFD-�_effe-_010000-𐀀_10FFFF-􏿿_08ffff-򏿿 This is a PI target ?>
+]>
+<root>
+x9 : 	
+xA : 
+
+xD : 
+x20 to x7E :   ! " # $ % ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ 
+x85 : …
+x2028 : 

+xA0-xD7FF :   ŀ ʀ Ԁ ਀ ᐀ ⠀ 倀 ꀀ 
+xE000-xFFFD : � 
+x10000-x10FFFF : က0က1ခ1ကFဂ7ဏ1၂1Ⴋ1ἀ1ᓰ5᫰5ᬀ0᳿7ᷲ9ỿ1ဏA0ဏ08ဏABဟ08ီCD၊AAၖ78ႫCDჿ05ჿFAჿFF 
+</root>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/AttributeEscapeTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,99 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamWriterTest;
+
+import java.io.IOException;
+import java.io.StringReader;
+import java.io.StringWriter;
+
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamWriter;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+
+/*
+ * @summary Test XMLStreamWriter shall escape the illegal characters.
+ */
+public class AttributeEscapeTest {
+
+    /**
+     * XML content for testing the escaping of <, >, &, ', ".
+     */
+    private static final String XML_CONTENT = "Testing escaping: lt=<, gt=>, amp=&, apos=', dquote=\"";
+
+    @Test
+    public void testCR6420953() {
+
+        try {
+            XMLOutputFactory xof = XMLOutputFactory.newInstance();
+            StringWriter sw = new StringWriter();
+            XMLStreamWriter w = xof.createXMLStreamWriter(sw);
+
+            w.writeStartDocument();
+            w.writeStartElement("element");
+
+            w.writeDefaultNamespace(XML_CONTENT);
+            w.writeNamespace("prefix", XML_CONTENT);
+
+            w.writeAttribute("attribute", XML_CONTENT);
+            w.writeAttribute(XML_CONTENT, "attribute2", XML_CONTENT);
+            w.writeAttribute("prefix", XML_CONTENT, "attribute3", XML_CONTENT);
+
+            w.writeCharacters("\n");
+            w.writeCharacters(XML_CONTENT);
+            w.writeCharacters("\n");
+            w.writeCharacters(XML_CONTENT.toCharArray(), 0, XML_CONTENT.length());
+            w.writeCharacters("\n");
+
+            w.writeEndElement();
+            w.writeEndDocument();
+            w.flush();
+
+            System.out.println(sw);
+
+            // make sure that the generated XML parses
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            dbf.setNamespaceAware(true);
+            dbf.newDocumentBuilder().parse(new InputSource(new StringReader(sw.toString())));
+        } catch (XMLStreamException xmlStreamException) {
+            xmlStreamException.printStackTrace();
+            Assert.fail(xmlStreamException.toString());
+        } catch (SAXException saxException) {
+            saxException.printStackTrace();
+            Assert.fail(saxException.toString());
+        } catch (ParserConfigurationException parserConfigurationException) {
+            parserConfigurationException.printStackTrace();
+            Assert.fail(parserConfigurationException.toString());
+        } catch (IOException ioException) {
+            ioException.printStackTrace();
+            Assert.fail(ioException.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/Bug6452107.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,60 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamWriterTest;
+
+import java.io.ByteArrayOutputStream;
+import java.io.OutputStream;
+
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamWriter;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6452107
+ * @summary Test StAX can write ISO-8859-1 encoding XML.
+ */
+public class Bug6452107 {
+
+    /**
+     * Ensure that charset aliases are checked. The encoding ISO-8859-1 is
+     * returned as ISO8859_1 by the underlying writer. Thus, if alias are not
+     * inspected, this test throws an exception.
+     */
+    @Test
+    public void test() {
+        final String ENCODING = "ISO-8859-1";
+
+        try {
+            OutputStream out = new ByteArrayOutputStream();
+            XMLOutputFactory factory = XMLOutputFactory.newInstance();
+            XMLStreamWriter writer = factory.createXMLStreamWriter(out, ENCODING);
+            writer.writeStartDocument(ENCODING, "1.0");
+        } catch (XMLStreamException e) {
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/Bug6600882Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,55 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamWriterTest;
+
+import java.io.ByteArrayOutputStream;
+
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamWriter;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6600882
+ * @summary Test toString(), hashCode() of XMLStreamWriter .
+ */
+public class Bug6600882Test {
+
+
+    @Test
+    public void test() {
+        try {
+            XMLOutputFactory of = XMLOutputFactory.newInstance();
+            XMLStreamWriter w = of.createXMLStreamWriter(new ByteArrayOutputStream());
+            XMLStreamWriter w1 = of.createXMLStreamWriter(new ByteArrayOutputStream());
+            System.out.println(w);
+            Assert.assertTrue(w.equals(w) && w.hashCode() == w.hashCode());
+            Assert.assertFalse(w1.equals(w));
+        } catch (Throwable ex) {
+            Assert.fail(ex.toString());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/Bug6675332Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,160 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamWriterTest;
+
+import java.io.StringWriter;
+
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.XMLStreamWriter;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+import util.BaseStAXUT;
+
+/*
+ * @bug 6675332
+ * @summary Test XMLStreamWriter writeAttribute when IS_REPAIRING_NAMESPACES is true.
+ */
+public class Bug6675332Test extends BaseStAXUT {
+
+    private static final XMLOutputFactory XML_OUTPUT_FACTORY = XMLOutputFactory.newInstance();
+
+    @Test
+    public void test() {
+        final String URL_P1 = "http://p1.org";
+        final String URL_DEF = "urn:default";
+        final String ATTR_VALUE = "'value\"";
+        final String ATTR_VALUE2 = "<tag>";
+
+        final String TEXT = "  some text\n";
+        XML_OUTPUT_FACTORY.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, Boolean.TRUE);
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><root></root>";
+        XMLStreamWriter w = null;
+        StringWriter strw = new StringWriter();
+        try {
+            w = XML_OUTPUT_FACTORY.createXMLStreamWriter(strw);
+
+            w.writeStartDocument();
+
+            /*
+             * Calling this method should be optional; but if we call it,
+             * exceptation is that it does properly bind the prefix and URL as
+             * the 'preferred' combination. In this case we'll just try to make
+             * URL bound as the default namespace
+             */
+            w.setDefaultNamespace(URL_DEF);
+            w.writeStartElement(URL_DEF, "test"); // root
+
+            /*
+             * And let's further make element and attribute(s) belong to that
+             * same namespace
+             */
+            w.writeStartElement("", "leaf", URL_DEF); // 1st leaf
+            w.writeAttribute("", URL_DEF, "attr", ATTR_VALUE);
+            w.writeAttribute(URL_DEF, "attr2", ATTR_VALUE);
+            w.writeEndElement();
+
+            // w.writeEmptyElement("", "leaf"); // 2nd leaf; in empty/no
+            // namespace!
+
+            w.writeStartElement(URL_DEF, "leaf"); // 3rd leaf
+            // w.writeAttribute("", "attr2", ATTR_VALUE2); // in empty/no
+            // namespace
+            w.writeEndElement();
+
+            w.writeEndElement(); // root elem
+            w.writeEndDocument();
+            w.close();
+            System.out.println("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\\n");
+            System.out.println(strw.toString());
+
+            // And then let's parse and verify it all:
+            // System.err.println("testAttributes: doc = '"+strw+"'");
+
+            XMLStreamReader sr = constructNsStreamReader(strw.toString());
+            assertTokenType(START_DOCUMENT, sr.getEventType(), sr);
+
+            // root element
+            assertTokenType(START_ELEMENT, sr.next(), sr);
+            Assert.assertEquals("test", sr.getLocalName());
+            Assert.assertEquals(URL_DEF, sr.getNamespaceURI());
+
+            // first leaf:
+            assertTokenType(START_ELEMENT, sr.next(), sr);
+            Assert.assertEquals("leaf", sr.getLocalName());
+            Assert.assertEquals(URL_DEF, sr.getNamespaceURI());
+            System.out.println(sr.getAttributeLocalName(0));
+            System.out.println(sr.getAttributeLocalName(1));
+            Assert.assertEquals(2, sr.getAttributeCount());
+            Assert.assertEquals("attr", sr.getAttributeLocalName(0));
+
+            String uri = sr.getAttributeNamespace(0);
+            if (!URL_DEF.equals(uri)) {
+                Assert.fail("Expected attribute 'attr' to have NS '" + URL_DEF + "', was " + valueDesc(uri) + "; input = '" + strw + "'");
+            }
+            Assert.assertEquals(ATTR_VALUE, sr.getAttributeValue(0));
+            assertTokenType(END_ELEMENT, sr.next(), sr);
+            Assert.assertEquals("leaf", sr.getLocalName());
+            Assert.assertEquals(URL_DEF, sr.getNamespaceURI());
+
+            // 2nd/empty leaf
+            /**
+             * assertTokenType(START_ELEMENT, sr.next(), sr);
+             * assertEquals("leaf", sr.getLocalName()); assertNoNsURI(sr);
+             * assertTokenType(END_ELEMENT, sr.next(), sr); assertEquals("leaf",
+             * sr.getLocalName()); assertNoNsURI(sr);
+             */
+            // third leaf
+            assertTokenType(START_ELEMENT, sr.next(), sr);
+            Assert.assertEquals("leaf", sr.getLocalName());
+            Assert.assertEquals(URL_DEF, sr.getNamespaceURI());
+
+            /*
+             * attr in 3rd leaf, in empty/no namespace assertEquals(1,
+             * sr.getAttributeCount()); assertEquals("attr2",
+             * sr.getAttributeLocalName(0));
+             * assertNoAttrNamespace(sr.getAttributeNamespace(0));
+             * assertEquals(ATTR_VALUE2, sr.getAttributeValue(0));
+             */
+            assertTokenType(END_ELEMENT, sr.next(), sr);
+            Assert.assertEquals("leaf", sr.getLocalName());
+            Assert.assertEquals(URL_DEF, sr.getNamespaceURI());
+
+            // closing root element
+            assertTokenType(END_ELEMENT, sr.next(), sr);
+            Assert.assertEquals("test", sr.getLocalName());
+            Assert.assertEquals(URL_DEF, sr.getNamespaceURI());
+
+            assertTokenType(END_DOCUMENT, sr.next(), sr);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/Bug7037352Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,61 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamWriterTest;
+
+import javax.xml.XMLConstants;
+import javax.xml.namespace.NamespaceContext;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamWriter;
+import javax.xml.transform.stream.StreamResult;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 7037352
+ * @summary Test XMLStreamWriter.getNamespaceContext().getPrefix with XML_NS_URI and XMLNS_ATTRIBUTE_NS_URI.
+ */
+public class Bug7037352Test {
+
+    @Test
+    public void test() {
+        try {
+            XMLOutputFactory xof = XMLOutputFactory.newInstance();
+            StreamResult sr = new StreamResult();
+            XMLStreamWriter xsw = xof.createXMLStreamWriter(sr);
+            NamespaceContext nc = xsw.getNamespaceContext();
+            System.out.println(nc.getPrefix(XMLConstants.XML_NS_URI));
+            System.out.println("  expected result: " + XMLConstants.XML_NS_PREFIX);
+            System.out.println(nc.getPrefix(XMLConstants.XMLNS_ATTRIBUTE_NS_URI));
+            System.out.println("  expected result: " + XMLConstants.XMLNS_ATTRIBUTE);
+
+            Assert.assertTrue(nc.getPrefix(XMLConstants.XML_NS_URI) == XMLConstants.XML_NS_PREFIX);
+            Assert.assertTrue(nc.getPrefix(XMLConstants.XMLNS_ATTRIBUTE_NS_URI) == XMLConstants.XMLNS_ATTRIBUTE);
+
+        } catch (Throwable ex) {
+            Assert.fail(ex.toString());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/DOMUtil.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,223 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamWriterTest;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.Iterator;
+
+import javax.xml.XMLConstants;
+import javax.xml.namespace.NamespaceContext;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.FactoryConfigurationError;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamWriter;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.NamedNodeMap;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+import org.xml.sax.SAXException;
+
+public class DOMUtil {
+
+    private static DocumentBuilder db;
+
+    private static String fixNull(String s) {
+        if (s == null)
+            return "";
+        else
+            return s;
+    }
+
+    /**
+     * Creates a new DOM document.
+     */
+    public static Document createDom() {
+        synchronized (DOMUtil.class) {
+            if (db == null) {
+                try {
+                    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+                    dbf.setNamespaceAware(true);
+                    db = dbf.newDocumentBuilder();
+                } catch (ParserConfigurationException e) {
+                    throw new FactoryConfigurationError(e);
+                }
+            }
+            return db.newDocument();
+        }
+    }
+
+    public static Node createDOMNode(InputStream inputStream) {
+
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        dbf.setValidating(false);
+        try {
+            DocumentBuilder builder = dbf.newDocumentBuilder();
+            try {
+                return builder.parse(inputStream);
+            } catch (SAXException e) {
+                e.printStackTrace(); // To change body of catch statement use
+                                     // File | Settings | File Templates.
+            } catch (IOException e) {
+                e.printStackTrace(); // To change body of catch statement use
+                                     // File | Settings | File Templates.
+            }
+        } catch (ParserConfigurationException pce) {
+            IllegalArgumentException iae = new IllegalArgumentException(pce.getMessage());
+            iae.initCause(pce);
+            throw iae;
+        }
+        return null;
+    }
+
+    public static void serializeNode(Element node, XMLStreamWriter writer) throws XMLStreamException {
+        String nodePrefix = fixNull(node.getPrefix());
+        String nodeNS = fixNull(node.getNamespaceURI());
+
+        // See if nodePrefix:nodeNS is declared in writer's NamespaceContext
+        // before writing start element
+        // Writing start element puts nodeNS in NamespaceContext even though
+        // namespace declaration not written
+        boolean prefixDecl = isPrefixDeclared(writer, nodeNS, nodePrefix);
+
+        writer.writeStartElement(nodePrefix, node.getLocalName(), nodeNS);
+
+        if (node.hasAttributes()) {
+            NamedNodeMap attrs = node.getAttributes();
+            int numOfAttributes = attrs.getLength();
+            // write namespace declarations first.
+            // if we interleave this with attribue writing,
+            // Zephyr will try to fix it and we end up getting inconsistent
+            // namespace bindings.
+            for (int i = 0; i < numOfAttributes; i++) {
+                Node attr = attrs.item(i);
+                String nsUri = fixNull(attr.getNamespaceURI());
+                if (nsUri.equals(XMLConstants.XMLNS_ATTRIBUTE_NS_URI)) {
+                    // handle default ns declarations
+                    String local = attr.getLocalName().equals(XMLConstants.XMLNS_ATTRIBUTE) ? "" : attr.getLocalName();
+                    if (local.equals(nodePrefix) && attr.getNodeValue().equals(nodeNS)) {
+                        prefixDecl = true;
+                    }
+                    // this is a namespace declaration, not an attribute
+                    writer.setPrefix(attr.getLocalName(), attr.getNodeValue());
+                    writer.writeNamespace(attr.getLocalName(), attr.getNodeValue());
+                }
+            }
+        }
+        // node's namespace is not declared as attribute, but declared on
+        // ancestor
+        if (!prefixDecl) {
+            writer.writeNamespace(nodePrefix, nodeNS);
+        }
+
+        // Write all other attributes which are not namespace decl.
+        if (node.hasAttributes()) {
+            NamedNodeMap attrs = node.getAttributes();
+            int numOfAttributes = attrs.getLength();
+
+            for (int i = 0; i < numOfAttributes; i++) {
+                Node attr = attrs.item(i);
+                String attrPrefix = fixNull(attr.getPrefix());
+                String attrNS = fixNull(attr.getNamespaceURI());
+                if (!attrNS.equals(XMLConstants.XMLNS_ATTRIBUTE_NS_URI)) {
+                    String localName = attr.getLocalName();
+                    if (localName == null) {
+                        // TODO: this is really a bug in the caller for not
+                        // creating proper DOM tree.
+                        // will remove this workaround after plugfest
+                        localName = attr.getNodeName();
+                    }
+                    boolean attrPrefixDecl = isPrefixDeclared(writer, attrNS, attrPrefix);
+                    if (!attrPrefix.equals("") && !attrPrefixDecl) {
+                        // attr has namespace but namespace decl is there in
+                        // ancestor node
+                        // So write the namespace decl before writing the attr
+                        writer.setPrefix(attr.getLocalName(), attr.getNodeValue());
+                        writer.writeNamespace(attrPrefix, attrNS);
+                    }
+                    writer.writeAttribute(attrPrefix, attrNS, localName, attr.getNodeValue());
+                }
+            }
+        }
+
+        if (node.hasChildNodes()) {
+            NodeList children = node.getChildNodes();
+            for (int i = 0; i < children.getLength(); i++) {
+                Node child = children.item(i);
+                switch (child.getNodeType()) {
+                    case Node.PROCESSING_INSTRUCTION_NODE:
+                        writer.writeProcessingInstruction(child.getNodeValue());
+                    case Node.DOCUMENT_TYPE_NODE:
+                        break;
+                    case Node.CDATA_SECTION_NODE:
+                        writer.writeCData(child.getNodeValue());
+                        break;
+                    case Node.COMMENT_NODE:
+                        writer.writeComment(child.getNodeValue());
+                        break;
+                    case Node.TEXT_NODE:
+                        writer.writeCharacters(child.getNodeValue());
+                        break;
+                    case Node.ELEMENT_NODE:
+                        serializeNode((Element) child, writer);
+                        break;
+                }
+            }
+        }
+        writer.writeEndElement();
+    }
+
+    private static boolean isPrefixDeclared(XMLStreamWriter writer, String nsUri, String prefix) {
+        boolean prefixDecl = false;
+        NamespaceContext nscontext = writer.getNamespaceContext();
+        Iterator prefixItr = nscontext.getPrefixes(nsUri);
+        while (prefixItr.hasNext()) {
+            if (prefix.equals(prefixItr.next())) {
+                prefixDecl = true;
+                break;
+            }
+        }
+        return prefixDecl;
+    }
+
+    /**
+     * Gets the first child of the given name, or null.
+     */
+    public static Element getFirstChild(Element e, String nsUri, String local) {
+        for (Node n = e.getFirstChild(); n != null; n = n.getNextSibling()) {
+            if (n.getNodeType() == Node.ELEMENT_NODE) {
+                Element c = (Element) n;
+                if (c.getLocalName().equals(local) && c.getNamespaceURI().equals(nsUri))
+                    return c;
+            }
+        }
+        return null;
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/DomUtilTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,121 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamWriterTest;
+
+import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.PrintStream;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamWriter;
+import javax.xml.transform.Result;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamResult;
+
+import org.testng.annotations.Test;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.xml.sax.SAXException;
+
+/*
+ * @summary Test XMLStreamWriter writes a soap message.
+ */
+public class DomUtilTest {
+
+    private XMLOutputFactory staxOut;
+    final File folder = new File(System.getProperty("tempdir") + "/classes/soapmessages");
+    private static final String INPUT_FILE1 = "message_12.xml";
+
+    public void setup() {
+        this.staxOut = XMLOutputFactory.newInstance();
+        staxOut.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, true);
+    }
+
+    @Test
+    public void testSOAPEnvelope1() throws Exception {
+        setup();
+
+        File f = new File(this.getClass().getResource(INPUT_FILE1).getFile());
+        System.out.println("***********" + f.getName() + "***********");
+        DOMSource src = makeDomSource(f);
+        Node node = src.getNode();
+        XMLStreamWriter writer = staxOut.createXMLStreamWriter(new PrintStream(System.out));
+        DOMUtil.serializeNode((Element) node.getFirstChild(), writer);
+        writer.close();
+        assert (true);
+        System.out.println("*****************************************");
+
+    }
+
+    public static DOMSource makeDomSource(File f) throws Exception {
+        InputStream is = new FileInputStream(f);
+        DOMSource domSource = new DOMSource(createDOMNode(is));
+        return domSource;
+    }
+
+    public static void printNode(Node node) {
+        DOMSource source = new DOMSource(node);
+        String msgString = null;
+        try {
+            Transformer xFormer = TransformerFactory.newInstance().newTransformer();
+            xFormer.setOutputProperty("omit-xml-declaration", "yes");
+            ByteArrayOutputStream outStream = new ByteArrayOutputStream();
+            Result result = new StreamResult(outStream);
+            xFormer.transform(source, result);
+            outStream.writeTo(System.out);
+        } catch (Exception ex) {
+            ex.printStackTrace();
+        }
+    }
+
+    public static Node createDOMNode(InputStream inputStream) {
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        dbf.setValidating(false);
+        try {
+            DocumentBuilder builder = dbf.newDocumentBuilder();
+            try {
+                return builder.parse(inputStream);
+            } catch (SAXException e) {
+                e.printStackTrace();
+            } catch (IOException e) {
+                e.printStackTrace();
+            }
+        } catch (ParserConfigurationException pce) {
+            IllegalArgumentException iae = new IllegalArgumentException(pce.getMessage());
+            iae.initCause(pce);
+            throw iae;
+        }
+        return null;
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/EmptyElementTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,81 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamWriterTest;
+
+import java.io.ByteArrayOutputStream;
+
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamWriter;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLStreamWriter writes namespace and attribute after writeEmptyElement.
+ */
+public class EmptyElementTest {
+
+    // expected output
+    private static final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<hello xmlns=\"http://hello\">"
+            + "<world xmlns=\"http://world\" prefixes=\"foo bar\"/>" + "</hello>";
+
+    XMLStreamWriter xmlStreamWriter;
+    ByteArrayOutputStream byteArrayOutputStream;
+    XMLOutputFactory xmlOutputFactory;
+
+    @Test
+    public void testWriterOnLinux() throws Exception {
+
+        // setup XMLStreamWriter
+        try {
+            byteArrayOutputStream = new ByteArrayOutputStream();
+            xmlOutputFactory = XMLOutputFactory.newInstance();
+            xmlOutputFactory.setProperty(xmlOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
+            xmlStreamWriter = xmlOutputFactory.createXMLStreamWriter(byteArrayOutputStream);
+        } catch (Exception e) {
+            System.err.println("Unexpected Exception: " + e.toString());
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+
+        // create & write a document
+        try {
+            xmlStreamWriter.writeStartDocument();
+            xmlStreamWriter.writeStartElement("hello");
+            xmlStreamWriter.writeDefaultNamespace("http://hello");
+            xmlStreamWriter.writeEmptyElement("world");
+            xmlStreamWriter.writeDefaultNamespace("http://world");
+            xmlStreamWriter.writeAttribute("prefixes", "foo bar");
+            xmlStreamWriter.writeEndElement();
+            xmlStreamWriter.writeEndDocument();
+            xmlStreamWriter.flush();
+            String actualOutput = byteArrayOutputStream.toString();
+            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+        } catch (Exception e) {
+            System.err.println("Unexpected Exception: " + e.toString());
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/EncodingTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,106 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamWriterTest;
+
+import java.io.ByteArrayOutputStream;
+
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamWriter;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLStreamWriter writes a document with encoding setting.
+ */
+public class EncodingTest {
+
+    private static final XMLOutputFactory XML_OUTPUT_FACTORY = XMLOutputFactory.newInstance();
+
+    /*
+     * Tests writing a document with UTF-8 encoding, by setting UTF-8 on writer.
+     */
+    @Test
+    public void testWriteStartDocumentUTF8() {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><root></root>";
+        XMLStreamWriter writer = null;
+        ByteArrayOutputStream byteArrayOutputStream = null;
+
+        try {
+            byteArrayOutputStream = new ByteArrayOutputStream();
+            writer = XML_OUTPUT_FACTORY.createXMLStreamWriter(byteArrayOutputStream, "UTF-8");
+
+            writer.writeStartDocument("UTF-8", "1.0");
+            writer.writeStartElement("root");
+            writer.writeEndElement();
+            writer.writeEndDocument();
+            writer.flush();
+
+            String actualOutput = byteArrayOutputStream.toString();
+            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+
+    }
+
+    /*
+     * Tests writing a document with UTF-8 encoding on default enocding writer.
+     * This scenario should result in an exception as default encoding is ASCII.
+     */
+    @Test
+    public void testWriteStartDocumentUTF8Fail() {
+
+        XMLStreamWriter writer = null;
+        ByteArrayOutputStream byteArrayOutputStream = null;
+
+        // pick a different encoding to use v. default encoding
+        String defaultCharset = java.nio.charset.Charset.defaultCharset().name();
+        String useCharset = "UTF-8";
+        if (useCharset.equals(defaultCharset)) {
+            useCharset = "US-ASCII";
+        }
+
+        System.out.println("defaultCharset = " + defaultCharset + ", useCharset = " + useCharset);
+
+        try {
+            byteArrayOutputStream = new ByteArrayOutputStream();
+            writer = XML_OUTPUT_FACTORY.createXMLStreamWriter(byteArrayOutputStream);
+
+            writer.writeStartDocument(useCharset, "1.0");
+            writer.writeStartElement("root");
+            writer.writeEndElement();
+            writer.writeEndDocument();
+            writer.flush();
+
+            Assert.fail("Expected XMLStreamException as default underlying stream encoding of " + defaultCharset
+                    + " differs from explicitly specified encoding of " + useCharset);
+        } catch (Exception e) {
+            e.printStackTrace();
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/NamespaceTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,1430 @@
+/*
+ * 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 stream.XMLStreamWriterTest;
+
+import java.io.ByteArrayOutputStream;
+
+import javax.xml.XMLConstants;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamWriter;
+
+import org.testng.Assert;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test the writing of Namespaces.
+ */
+public class NamespaceTest {
+
+    /** debug output? */
+    private static final boolean DEBUG = true;
+
+    /** Factory to reuse. */
+    XMLOutputFactory xmlOutputFactory = null;
+
+    /** Writer to reuse. */
+    XMLStreamWriter xmlStreamWriter = null;
+
+    /** OutputStream to reuse. */
+    ByteArrayOutputStream byteArrayOutputStream = null;
+
+    @BeforeMethod
+    public void setUp() {
+
+        // want a Factory that repairs Namespaces
+        xmlOutputFactory = XMLOutputFactory.newInstance();
+        xmlOutputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, Boolean.TRUE);
+
+        // new OutputStream
+        byteArrayOutputStream = new ByteArrayOutputStream();
+
+        // new Writer
+        try {
+            xmlStreamWriter = xmlOutputFactory.createXMLStreamWriter(byteArrayOutputStream, "utf-8");
+
+        } catch (XMLStreamException xmlStreamException) {
+            Assert.fail(xmlStreamException.toString());
+        }
+    }
+
+    /**
+     * Reset Writer for reuse.
+     */
+    private void resetWriter() {
+        // reset the Writer
+        try {
+            byteArrayOutputStream.reset();
+            xmlStreamWriter = xmlOutputFactory.createXMLStreamWriter(byteArrayOutputStream, "utf-8");
+        } catch (XMLStreamException xmlStreamException) {
+            Assert.fail(xmlStreamException.toString());
+        }
+    }
+
+    @Test
+    public void testDoubleXmlNs() {
+        try {
+
+            xmlStreamWriter.writeStartDocument();
+            xmlStreamWriter.writeStartElement("foo");
+            xmlStreamWriter.writeNamespace("xml", XMLConstants.XML_NS_URI);
+            xmlStreamWriter.writeAttribute("xml", XMLConstants.XML_NS_URI, "lang", "ja_JP");
+            xmlStreamWriter.writeCharacters("Hello");
+            xmlStreamWriter.writeEndElement();
+            xmlStreamWriter.writeEndDocument();
+
+            xmlStreamWriter.flush();
+            String actualOutput = byteArrayOutputStream.toString();
+
+            if (DEBUG) {
+                System.out.println("testDoubleXmlNs(): actualOutput: " + actualOutput);
+            }
+
+            // there should be no xmlns:xml
+            Assert.assertTrue(actualOutput.split("xmlns:xml").length == 1, "Expected 0 xmlns:xml, actual output: " + actualOutput);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    @Test
+    public void testDuplicateNamespaceURI() throws Exception {
+
+        xmlStreamWriter.writeStartDocument();
+        xmlStreamWriter.writeStartElement(new String(""), "localName", new String("nsUri"));
+        xmlStreamWriter.writeNamespace(new String(""), new String("nsUri"));
+        xmlStreamWriter.writeEndElement();
+        xmlStreamWriter.writeEndDocument();
+
+        xmlStreamWriter.flush();
+        String actualOutput = byteArrayOutputStream.toString();
+
+        if (DEBUG) {
+            System.out.println("testDuplicateNamespaceURI(): actualOutput: " + actualOutput);
+        }
+
+        // there must be only 1 xmlns=...
+        Assert.assertTrue(actualOutput.split("xmlns").length == 2, "Expected 1 xmlns=, actual output: " + actualOutput);
+    }
+
+    // TODO: test with both "" & null
+    // NDW: There's no distinction in XML between a "null" namespace URI and one
+    // with a URI of "" (the empty string) so I haven't tried to call out any
+    // such distinctions.
+
+    // ---------------- Current default namespace is "" ----------------
+
+    private void startDocumentEmptyDefaultNamespace(XMLStreamWriter xmlStreamWriter) throws XMLStreamException {
+
+        xmlStreamWriter.writeStartDocument();
+        xmlStreamWriter.writeStartElement("root");
+        xmlStreamWriter.writeDefaultNamespace("");
+    }
+
+    private String endDocumentEmptyDefaultNamespace(XMLStreamWriter xmlStreamWriter) throws XMLStreamException {
+
+        xmlStreamWriter.writeEndDocument();
+
+        xmlStreamWriter.flush();
+
+        return byteArrayOutputStream.toString();
+    }
+
+    /**
+     * Current default namespace is "".
+     * writeStartElement("", "localName"", "")
+     * requires no fixup
+     */
+    @Test
+    public void testEmptyDefaultEmptyPrefix() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\">" + "<localName>" + "requires no fixup" + "</localName>" + "</root>";
+
+        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeStartElement("", "localName", "");
+        xmlStreamWriter.writeCharacters("requires no fixup");
+
+        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testEmptyDefaultEmptyPrefix(): actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    /**
+     * Current default namespace is "".
+     *
+     * writeStartElement("prefix", "localName", "http://example.org/myURI")
+     *
+     * requires no fixup, but should generate a declaration for "prefix":
+     * xmlns:prefix="http://example.org/myURI" if necessary
+     *
+     * necessary to generate a declaration in this test case.
+     */
+    @Test
+    public void testEmptyDefaultSpecifiedPrefix() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\">" + "<prefix:localName xmlns:prefix=\"http://example.org/myURI\">"
+                + "generate xmlns:prefix" + "</prefix:localName>" + "</root>";
+
+        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeStartElement("prefix", "localName", "http://example.org/myURI");
+        xmlStreamWriter.writeCharacters("generate xmlns:prefix");
+
+        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testEmptyDefaultSpecifiedPrefix(): actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    /**
+     * Current default namespace is "".
+     *
+     * writeStartElement("prefix", "localName", "http://example.org/myURI")
+     *
+     * requires no fixup, but should generate a declaration for "prefix":
+     * xmlns:prefix="http://example.org/myURI" if necessary
+     *
+     * not necessary to generate a declaration in this test case.
+     */
+    @Test
+    public void testEmptyDefaultSpecifiedPrefixNoDeclarationGeneration() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\"" + " xmlns:prefix=\"http://example.org/myURI\">" + "<prefix:localName>"
+                + "not necessary to generate a declaration" + "</prefix:localName>" + "</root>";
+
+        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeNamespace("prefix", "http://example.org/myURI");
+
+        xmlStreamWriter.writeStartElement("prefix", "localName", "http://example.org/myURI");
+        xmlStreamWriter.writeCharacters("not necessary to generate a declaration");
+
+        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testEmptyDefaultSpecifiedPrefixNoDeclarationGeneration(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testEmptyDefaultSpecifiedPrefixNoDeclarationGeneration():   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    /**
+     * Current default namespace is "".
+     *
+     * writeStartElement("", "localName", "http://example.org/myURI")
+     *
+     * should "fixup" the declaration for the default namespace:
+     * xmlns="http://example.org/myURI"
+     */
+    @Test
+    public void testEmptyDefaultSpecifiedDefault() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\">" + "<localName xmlns=\"http://example.org/myURI\">" + "generate xmlns"
+                + "</localName>" + "</root>";
+
+        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeStartElement("", "localName", "http://example.org/myURI");
+        xmlStreamWriter.writeCharacters("generate xmlns");
+
+        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testEmptyDefaultSpecifiedDefault(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testEmptyDefaultSpecifiedDefault():   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    /**
+     * Current default namespace is "".
+     *
+     * writeAttribute("", "", "attrName", "value")
+     *
+     * requires no fixup
+     */
+    @Test
+    public void testEmptyDefaultEmptyPrefixWriteAttribute() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\" attrName=\"value\">" + "requires no fixup" + "</root>";
+
+        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeAttribute("", "", "attrName", "value");
+        xmlStreamWriter.writeCharacters("requires no fixup");
+
+        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testEmptyDefaultEmptyPrefixWriteAttribute(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testEmptyDefaultEmptyPrefixWriteAttribute():   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    /**
+     * Current default namespace is "".
+     *
+     * writeAttribute("p", "http://example.org/myURI", "attrName", "value")
+     *
+     * requires no fixup, but should generate a declaration for "p":
+     * xmlns:p="http://example.org/myURI" if necessary
+     *
+     * necessary to generate a declaration in this test case.
+     */
+    @Test
+    public void testEmptyDefaultSpecifiedPrefixWriteAttribute() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\" xmlns:p=\"http://example.org/myURI\" p:attrName=\"value\">"
+                + "generate xmlns:p=\"http://example.org/myURI\"" + "</root>";
+
+        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeAttribute("p", "http://example.org/myURI", "attrName", "value");
+        xmlStreamWriter.writeCharacters("generate xmlns:p=\"http://example.org/myURI\"");
+
+        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testEmptyDefaultSpecifiedPrefixWriteAttribute(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testEmptyDefaultSpecifiedPrefixWriteAttribute():   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    /**
+     * Current default namespace is "".
+     *
+     * writeAttribute("p", "http://example.org/myURI", "attrName", "value")
+     *
+     * requires no fixup, but should generate a declaration for "p":
+     * xmlns:p="http://example.org/myURI" if necessary
+     *
+     * not necessary to generate a declaration in this test case.
+     */
+    @Test
+    public void testEmptyDefaultSpecifiedPrefixWriteAttributeNoDeclarationGeneration() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\" xmlns:p=\"http://example.org/myURI\" p:attrName=\"value\">"
+                + "not necessary to generate a declaration" + "</root>";
+
+        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
+
+        xmlStreamWriter.writeAttribute("p", "http://example.org/myURI", "attrName", "value");
+        xmlStreamWriter.writeCharacters("not necessary to generate a declaration");
+
+        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testEmptyDefaultSpecifiedPrefixWriteAttributeNoDeclarationGeneration(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testEmptyDefaultSpecifiedPrefixWriteAttributeNoDeclarationGeneration():   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    /**
+     * Current default namespace is "".
+     *
+     * writeAttribute("", "http://example.org/myURI", "attrName", "value")
+     *
+     * XMLOutputFactory (Javadoc) : "If a writer isRepairingNamespaces it will
+     * create a namespace declaration on the current StartElement for any
+     * attribute that does not currently have a namespace declaration in scope.
+     * If the StartElement has a uri but no prefix specified a prefix will be
+     * assigned, if the prefix has not been declared in a parent of the current
+     * StartElement it will be declared on the current StartElement. If the
+     * defaultNamespace is bound and in scope and the default namespace matches
+     * the URI of the attribute or StartElement QName no prefix will be
+     * assigned."
+     *
+     * prefix needs to be assigned for this test case.
+     */
+    @Test
+    public void testEmptyDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttribute() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>"
+                + "<root xmlns=\"\" xmlns:{generated prefix}=\"http://example.org/myURI\" {generated prefix}:attrName=\"value\">"
+                + "generate xmlns declaration {generated prefix}=\"http://example.org/myURI\"" + "</root>";
+
+        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeAttribute("", "http://example.org/myURI", "attrName", "value");
+        xmlStreamWriter.writeCharacters("generate xmlns declaration {generated prefix}=\"http://example.org/myURI\"");
+
+        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testEmptyDefaultUnspecifiedPrefixWriteAttribute(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testEmptyDefaultUnspecifiedPrefixWriteAttribute():   actualOutput: " + actualOutput);
+        }
+
+        // there must be one xmlns=
+        Assert.assertTrue(actualOutput.split("xmlns=").length == 2, "Expected 1 xmlns=, actual output: " + actualOutput);
+
+        // there must be one xmlns:{generated prefix}="..."
+        Assert.assertTrue(actualOutput.split("xmlns:").length == 2, "Expected 1 xmlns:{generated prefix}=\"\", actual output: " + actualOutput);
+
+        // there must be one {generated prefix}:attrName="value"
+        Assert.assertTrue(actualOutput.split(":attrName=\"value\"").length == 2, "Expected 1 {generated prefix}:attrName=\"value\", actual output: "
+                + actualOutput);
+    }
+
+    /**
+     * Current default namespace is "".
+     *
+     * writeAttribute("", "http://example.org/myURI", "attrName", "value")
+     *
+     * XMLOutputFactory (Javadoc) : "If a writer isRepairingNamespaces it will
+     * create a namespace declaration on the current StartElement for any
+     * attribute that does not currently have a namespace declaration in scope.
+     * If the StartElement has a uri but no prefix specified a prefix will be
+     * assigned, if the prefix has not been declared in a parent of the current
+     * StartElement it will be declared on the current StartElement. If the
+     * defaultNamespace is bound and in scope and the default namespace matches
+     * the URI of the attribute or StartElement QName no prefix will be
+     * assigned."
+     *
+     * no prefix needs to be assigned for this test case
+     */
+    @Test
+    public void testEmptyDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttributeNoPrefixGeneration() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\" xmlns:p=\"http://example.org/myURI\" p:attrName=\"value\">"
+                + "no prefix generation" + "</root>";
+
+        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
+
+        xmlStreamWriter.writeAttribute("", "http://example.org/myURI", "attrName", "value");
+        xmlStreamWriter.writeCharacters("no prefix generation");
+
+        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testEmptyDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttributeNoPrefixGeneration(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testEmptyDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttributeNoPrefixGeneration():   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    // ---------------- Current default namespace is
+    // "http://example.org/uniqueURI" ----------------
+
+    private void startDocumentSpecifiedDefaultNamespace(XMLStreamWriter xmlStreamWriter) throws XMLStreamException {
+
+        xmlStreamWriter.writeStartDocument();
+        xmlStreamWriter.writeStartElement("root");
+        xmlStreamWriter.writeDefaultNamespace("http://example.org/uniqueURI");
+    }
+
+    private String endDocumentSpecifiedDefaultNamespace(XMLStreamWriter xmlStreamWriter) throws XMLStreamException {
+
+        xmlStreamWriter.writeEndDocument();
+
+        xmlStreamWriter.flush();
+
+        return byteArrayOutputStream.toString();
+    }
+
+    /**
+     * Current default namespace is "http://example.org/uniqueURI".
+     *
+     * writeElement("", "localName", "")
+     *
+     * should "fixup" the declaration for the default namespace: xmlns=""
+     */
+    @Test
+    public void testSpecifiedDefaultEmptyPrefix() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"http://example.org/uniqueURI\">" + "<localName xmlns=\"\">"
+                + "generate xmlns=\"\"" + "</localName>" + "</root>";
+
+        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeStartElement("", "localName", "");
+        xmlStreamWriter.writeCharacters("generate xmlns=\"\"");
+
+        String actualOutput = endDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testSpecifiedDefaultEmptyPrefix(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testSpecifiedDefaultEmptyPrefix():   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    /**
+     * Current default namespace is "http://example.org/uniqueURI".
+     *
+     * writeStartElement("p", "localName", "http://example.org/myURI")
+     *
+     * requires no fixup, but should generate a declaration for "p":
+     * xmlns:p="http://example.org/myURI" if necessary
+     *
+     * test case where it is necessary to generate a declaration.
+     */
+    @Test
+    public void testSpecifiedDefaultSpecifiedPrefix() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"http://example.org/uniqueURI\">"
+                + "<p:localName xmlns:p=\"http://example.org/myURI\">" + "generate xmlns:p=\"http://example.org/myURI\"" + "</p:localName>" + "</root>";
+
+        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/myURI");
+        xmlStreamWriter.writeCharacters("generate xmlns:p=\"http://example.org/myURI\"");
+
+        String actualOutput = endDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testSpecifiedDefaultSpecifiedPrefix(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testSpecifiedDefaultSpecifiedPrefix():   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    /**
+     * Current default namespace is "http://example.org/uniqueURI".
+     *
+     * writeStartElement("p", "localName", "http://example.org/myURI")
+     *
+     * requires no fixup, but should generate a declaration for "p":
+     * xmlns:p="http://example.org/myURI" if necessary
+     *
+     * test case where it is not necessary to generate a declaration.
+     */
+    @Test
+    public void testSpecifiedDefaultSpecifiedPrefixNoPrefixGeneration() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root" + " xmlns=\"http://example.org/uniqueURI\""
+                + " xmlns:p=\"http://example.org/myURI\">" + "<p:localName>" + "not necessary to generate a declaration" + "</p:localName>" + "</root>";
+
+        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
+
+        xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/myURI");
+        xmlStreamWriter.writeCharacters("not necessary to generate a declaration");
+
+        String actualOutput = endDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testSpecifiedDefaultSpecifiedPrefixNoPrefixGeneration(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testSpecifiedDefaultSpecifiedPrefixNoPrefixGeneration():   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    /**
+     * Current default namespace is "http://example.org/uniqueURI".
+     *
+     * writeStartElement("", "localName", "http://example.org/myURI")
+     *
+     * should "fixup" the declaration for the default namespace:
+     * xmlns="http://example.org/myURI"
+     */
+    @Test
+    public void testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURI() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"http://example.org/uniqueURI\">"
+                + "<localName xmlns=\"http://example.org/myURI\">" + "generate xmlns=\"http://example.org/myURI\"" + "</localName>" + "</root>";
+
+        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeStartElement("", "localName", "http://example.org/myURI");
+        xmlStreamWriter.writeCharacters("generate xmlns=\"http://example.org/myURI\"");
+
+        String actualOutput = endDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURI(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURI():   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    /**
+     * Current default namespace is "http://example.org/uniqueURI".
+     *
+     * writeAttribute("", "", "attrName", "value")
+     *
+     * requires no fixup
+     */
+    @Test
+    public void testSpecifiedDefaultEmptyPrefixWriteAttribute() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"http://example.org/uniqueURI\" attrName=\"value\">" + "requires no fixup"
+                + "</root>";
+
+        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeAttribute("", "", "attrName", "value");
+        xmlStreamWriter.writeCharacters("requires no fixup");
+
+        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testSpecifiedDefaultEmptyPrefixWriteAttribute(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testSpecifiedDefaultEmptyPrefixWriteAttribute():   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    /**
+     * Current default namespace is "http://example.org/uniqueURI".
+     *
+     * writeAttribute("p", "http://example.org/myURI", "attrName", "value")
+     *
+     * requires no fixup, but should generate a declaration for "p":
+     * xmlns:p="http://example.org/myURI" if necessary
+     *
+     * test case where it is necessary to generate a declaration.
+     */
+    @Test
+    public void testSpecifiedDefaultSpecifiedPrefixWriteAttribute() throws Exception { // want
+                                                                                       // to
+                                                                                       // test
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>"
+                + "<root xmlns=\"http://example.org/uniqueURI\" xmlns:p=\"http://example.org/myURI\" p:attrName=\"value\">"
+                + "generate xmlns:p=\"http://example.org/myURI\"" + "</root>";
+
+        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeAttribute("p", "http://example.org/myURI", "attrName", "value");
+        xmlStreamWriter.writeCharacters("generate xmlns:p=\"http://example.org/myURI\"");
+
+        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testSpecifiedDefaultSpecifiedPrefixWriteAttribute(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testSpecifiedDefaultSpecifiedPrefixWriteAttribute():   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    /**
+     * Current default namespace is "http://example.org/uniqueURI".
+     *
+     * writeAttribute("p", "http://example.org/myURI", "attrName", "value")
+     *
+     * requires no fixup, but should generate a declaration for "p":
+     * xmlns:p="http://example.org/myURI" if necessary
+     *
+     * test case where it is not necessary to generate a declaration.
+     */
+    @Test
+    public void testSpecifiedDefaultSpecifiedPrefixWriteAttributeNoDeclarationGeneration() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>"
+                + "<root xmlns=\"http://example.org/uniqueURI\" xmlns:p=\"http://example.org/myURI\" p:attrName=\"value\">"
+                + "not necessary to generate a declaration" + "</root>";
+
+        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
+
+        xmlStreamWriter.writeAttribute("p", "http://example.org/myURI", "attrName", "value");
+        xmlStreamWriter.writeCharacters("not necessary to generate a declaration");
+
+        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testSpecifiedDefaultSpecifiedPrefixWriteAttributeNoDeclarationGeneration(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testSpecifiedDefaultSpecifiedPrefixWriteAttributeNoDeclarationGeneration():   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    /**
+     * Current default namespace is "http://example.org/uniqueURI".
+     *
+     * writeAttribute("p", "http://example.org/uniqueURI", "attrName", "value")
+     *
+     * requires no fixup, but should generate a declaration for "p":
+     * xmlns:p="http://example.org/uniqueURI" if necessary. (Note that this will
+     * potentially produce two namespace bindings with the same URI, xmlns="xxx"
+     * and xmlns:p="xxx", but that's perfectly legal.)
+     */
+    @Test
+    public void testSpecifiedDefaultSpecifiedPrefixSpecifiedNamespaceURIWriteAttribute() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"http://example.org/uniqueURI\" attrName=\"value\">" + "requires no fixup"
+                + "</root>";
+        final String EXPECTED_OUTPUT_2 = "<?xml version=\"1.0\" ?>"
+                + "<root xmlns=\"http://example.org/uniqueURI\" xmlns:p=\"http://example.org/uniqueURI\" p:attrName=\"value\">" + "requires no fixup"
+                + "</root>";
+
+        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeAttribute("p", "http://example.org/uniqueURI", "attrName", "value");
+        xmlStreamWriter.writeCharacters("requires no fixup");
+
+        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testSpecifiedDefaultSpecifiedPrefixSpecifiedNamespaceURIWriteAttribute: expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testSpecifiedDefaultSpecifiedPrefixSpecifiedNamespaceURIWriteAttribute: expectedOutput: " + EXPECTED_OUTPUT_2);
+            System.out.println("testSpecifiedDefaultSpecifiedPrefixSpecifiedNamespaceURIWriteAttribute:   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertTrue(actualOutput.equals(EXPECTED_OUTPUT) || actualOutput.equals(EXPECTED_OUTPUT_2), "Expected: " + EXPECTED_OUTPUT + "\n" + "Actual: "
+                + actualOutput);
+    }
+
+    /**
+     * Current default namespace is "http://example.org/uniqueURI".
+     *
+     * writeAttribute("", "http://example.org/myURI", "attrName", "value")
+     *
+     * XMLOutputFactory (Javadoc) : "If a writer isRepairingNamespaces it will
+     * create a namespace declaration on the current StartElement for any
+     * attribute that does not currently have a namespace declaration in scope.
+     * If the StartElement has a uri but no prefix specified a prefix will be
+     * assigned, if the prefix has not been declared in a parent of the current
+     * StartElement it will be declared on the current StartElement. If the
+     * defaultNamespace is bound and in scope and the default namespace matches
+     * the URI of the attribute or StartElement QName no prefix will be
+     * assigned."
+     *
+     * test case where prefix needs to be assigned.
+     */
+    @Test
+    public void testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttribute() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root" + " xmlns=\"http://example.org/uniqueURI\""
+                + " xmlns:{generated prefix}=\"http://example.org/myURI\"" + " {generated prefix}:attrName=\"value\">"
+                + "generate xmlns declaration {generated prefix}=\"http://example.org/myURI\"" + "</root>";
+
+        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeAttribute("", "http://example.org/myURI", "attrName", "value");
+        xmlStreamWriter.writeCharacters("generate xmlns declaration {generated prefix}=\"http://example.org/myURI\"");
+
+        String actualOutput = endDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttribute(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttribute():   actualOutput: " + actualOutput);
+        }
+
+        // there must be one xmlns=
+        Assert.assertTrue(actualOutput.split("xmlns=").length == 2, "Expected 1 xmlns=, actual output: " + actualOutput);
+
+        // there must be one xmlns:{generated prefix}="..."
+        Assert.assertTrue(actualOutput.split("xmlns:").length == 2, "Expected 1 xmlns:{generated prefix}=\"\", actual output: " + actualOutput);
+
+        // there must be one {generated prefix}:attrName="value"
+        Assert.assertTrue(actualOutput.split(":attrName=\"value\"").length == 2, "Expected 1 {generated prefix}:attrName=\"value\", actual output: "
+                + actualOutput);
+    }
+
+    /**
+     * Current default namespace is "http://example.org/uniqueURI".
+     *
+     * writeAttribute("", "http://example.org/myURI", "attrName", "value")
+     *
+     * XMLOutputFactory (Javadoc) : "If a writer isRepairingNamespaces it will
+     * create a namespace declaration on the current StartElement for any
+     * attribute that does not currently have a namespace declaration in scope.
+     * If the StartElement has a uri but no prefix specified a prefix will be
+     * assigned, if the prefix has not been declared in a parent of the current
+     * StartElement it will be declared on the current StartElement. If the
+     * defaultNamespace is bound and in scope and the default namespace matches
+     * the URI of the attribute or StartElement QName no prefix will be
+     * assigned."
+     *
+     * test case where no prefix needs to be assigned.
+     */
+    @Test
+    public void testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttributeNoPrefixGeneration() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root" + " xmlns=\"http://example.org/uniqueURI\""
+                + " xmlns:p=\"http://example.org/myURI\"" + " p:attrName=\"value\">" + "no prefix needs to be assigned" + "</root>";
+
+        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
+
+        xmlStreamWriter.writeAttribute("", "http://example.org/myURI", "attrName", "value");
+        xmlStreamWriter.writeCharacters("no prefix needs to be assigned");
+
+        String actualOutput = endDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttributeNoPrefixGeneration(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testSpecifiedDefaultEmptyPrefixSpecifiedNamespaceURIWriteAttributeNoPrefixGeneration():   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    // --------------- Serializations, sequences ---------------
+
+    // Unfortunately, the nature of the StAX API makes it possible for the
+    // programmer to generate events that cannot be serialized in XML.
+
+    /**
+     * Current default namespace is "".
+     *
+     * write*("p", "myuri", ...); write*("p", "otheruri", ...);
+     *
+     * XMLOutputFactory (Javadoc) (If repairing of namespaces is enabled): "If
+     * element and/or attribute names in the same start or empty-element tag are
+     * bound to different namespace URIs and are using the same prefix then the
+     * element or the first occurring attribute retains the original prefix and
+     * the following attributes have their prefixes replaced with a new prefix
+     * that is bound to the namespace URIs of those attributes."
+     */
+    @Test
+    public void testSamePrefixDifferentURI() throws Exception {
+
+        /**
+         * writeAttribute("p", "http://example.org/URI-ONE", "attr1", "value");
+         * writeAttribute("p", "http://example.org/URI-TWO", "attr2", "value");
+         */
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root" + " xmlns=\"\"" + " xmlns:p=\"http://example.org/URI-ONE\"" + " p:attr1=\"value\">"
+                + " xmlns:{generated prefix}=\"http://example.org/URI-TWO\"" + " {generated prefix}:attr2=\"value\">"
+                + "remap xmlns declaration {generated prefix}=\"http://example.org/URI-TWO\"" + "</root>";
+
+        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeAttribute("p", "http://example.org/URI-ONE", "attr1", "value");
+        xmlStreamWriter.writeAttribute("p", "http://example.org/URI-TWO", "attr2", "value");
+        xmlStreamWriter.writeCharacters("remap xmlns declaration {generated prefix}=\"http://example.org/URI-TWO\"");
+
+        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testSamePrefixDifferentURI(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testSamePrefixDifferentURI():   actualOutput: " + actualOutput);
+        }
+
+        // there must be 1 xmlns=
+        Assert.assertTrue(actualOutput.split("xmlns=").length == 2, "Expected 1 xmlns=, actual output: " + actualOutput);
+
+        // there must be 2 xmlns:
+        Assert.assertTrue(actualOutput.split("xmlns:").length == 3, "Expected 2 xmlns:, actual output: " + actualOutput);
+
+        // there must be 2 :attr
+        Assert.assertTrue(actualOutput.split(":attr").length == 3, "Expected 2 :attr, actual output: " + actualOutput);
+
+        /**
+         * writeStartElement("p", "localName", "http://example.org/URI-ONE");
+         * writeAttribute("p", "http://example.org/URI-TWO", "attrName",
+         * "value");
+         */
+        final String EXPECTED_OUTPUT_2 = "<?xml version=\"1.0\" ?>" + "<root" + " xmlns=\"\">" + "<p:localName" + " xmlns:p=\"http://example.org/URI-ONE\""
+                + " xmlns:{generated prefix}=\"http://example.org/URI-TWO\"" + " {generated prefix}:attrName=\"value\">" + "</p:localName>" + "</root>";
+
+        // reset to known state
+        resetWriter();
+        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/URI-ONE");
+        xmlStreamWriter.writeAttribute("p", "http://example.org/URI-TWO", "attrName", "value");
+
+        actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testSamePrefixDifferentURI(): expectedOutput: " + EXPECTED_OUTPUT_2);
+            System.out.println("testSamePrefixDifferentURI():   actualOutput: " + actualOutput);
+        }
+
+        // there must be 1 xmlns=
+        Assert.assertTrue(actualOutput.split("xmlns=").length == 2, "Expected 1 xmlns=, actual output: " + actualOutput);
+
+        // there must be 2 xmlns:
+        Assert.assertTrue(actualOutput.split("xmlns:").length == 3, "Expected 2 xmlns:, actual output: " + actualOutput);
+
+        // there must be 2 p:localName
+        Assert.assertTrue(actualOutput.split("p:localName").length == 3, "Expected 2 p:localName, actual output: " + actualOutput);
+
+        // there must be 1 :attrName
+        Assert.assertTrue(actualOutput.split(":attrName").length == 2, "Expected 1 :attrName, actual output: " + actualOutput);
+
+        /**
+         * writeNamespace("p", "http://example.org/URI-ONE");
+         * writeAttribute("p", "http://example.org/URI-TWO", "attrName",
+         * "value");
+         */
+        final String EXPECTED_OUTPUT_3 = "<?xml version=\"1.0\" ?>" + "<root" + " xmlns=\"\"" + " xmlns:p=\"http://example.org/URI-ONE\""
+                + " xmlns:{generated prefix}=\"http://example.org/URI-TWO\"" + " {generated prefix}:attrName=\"value\">" + "</root>";
+
+        // reset to known state
+        resetWriter();
+        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeNamespace("p", "http://example.org/URI-ONE");
+        xmlStreamWriter.writeAttribute("p", "http://example.org/URI-TWO", "attrName", "value");
+
+        actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testSamePrefixDifferentURI(): expectedOutput: " + EXPECTED_OUTPUT_3);
+            System.out.println("testSamePrefixDifferentURI():   actualOutput: " + actualOutput);
+        }
+
+        // there must be 1 xmlns=
+        Assert.assertTrue(actualOutput.split("xmlns=").length == 2, "Expected 1 xmlns=, actual output: " + actualOutput);
+
+        // there must be 2 xmlns:
+        Assert.assertTrue(actualOutput.split("xmlns:").length == 3, "Expected 2 xmlns:, actual output: " + actualOutput);
+
+        // there must be 1 :attrName
+        Assert.assertTrue(actualOutput.split(":attrName").length == 2, "Expected a :attrName, actual output: " + actualOutput);
+
+        /**
+         * writeNamespace("xmlns", ""); writeStartElement("", "localName",
+         * "http://example.org/URI-TWO");
+         */
+        final String EXPECTED_OUTPUT_4 = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\">" + "<localName xmlns=\"http://example.org/URI-TWO\">"
+                + "xmlns declaration =\"http://example.org/URI-TWO\"" + "</localName" + "</root>";
+
+        // reset to known state
+        resetWriter();
+        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        // writeNamespace("xmlns", ""); already done by
+        // startDocumentEmptyDefaultNamespace above
+        xmlStreamWriter.writeStartElement("", "localName", "http://example.org/URI-TWO");
+        xmlStreamWriter.writeCharacters("remap xmlns declaration {generated prefix}=\"http://example.org/URI-TWO\"");
+
+        actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testSamePrefixDifferentURI(): expectedOutput: " + EXPECTED_OUTPUT_4);
+            System.out.println("testSamePrefixDifferentURI():   actualOutput: " + actualOutput);
+        }
+
+        // there must be 2 xmlns=
+        Assert.assertTrue(actualOutput.split("xmlns=").length == 3, "Expected 2 xmlns=, actual output: " + actualOutput);
+
+        // there must be 0 xmlns:
+        Assert.assertTrue(actualOutput.split("xmlns:").length == 1, "Expected 0 xmlns:, actual output: " + actualOutput);
+
+        // there must be 0 :localName
+        Assert.assertTrue(actualOutput.split(":localName").length == 1, "Expected 0 :localName, actual output: " + actualOutput);
+    }
+
+    // ---------------- Misc ----------------
+
+    /**
+     * The one case where you don't have to worry about fixup is on attributes
+     * that do not have a prefix. Irrespective of the current namespace
+     * bindings,
+     *
+     * writeAttribute("", "", "attrName", "value")
+     *
+     * is always correct and never requires fixup.
+     */
+    @Test
+    public void testEmptyDefaultEmptyPrefixEmptyNamespaceURIWriteAttribute() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"\" attrName=\"value\">" + "never requires fixup" + "</root>";
+
+        startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeAttribute("", "", "attrName", "value");
+        xmlStreamWriter.writeCharacters("never requires fixup");
+
+        String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testEmptyDefaultEmptyPrefixEmptyNamespaceURIWriteAttribute(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testEmptyDefaultEmptyPrefixEmptyNamespaceURIWriteAttribute():   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    @Test
+    public void testSpecifiedDefaultEmptyPrefixEmptyNamespaceURIWriteAttribute() throws Exception {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"http://example.org/uniqueURI\" attrName=\"value\">" + "never requires fixup"
+                + "</root>";
+
+        startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        xmlStreamWriter.writeAttribute("", "", "attrName", "value");
+        xmlStreamWriter.writeCharacters("never requires fixup");
+
+        String actualOutput = endDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+
+        if (DEBUG) {
+            System.out.println("testSpecifiedDefaultEmptyPrefixEmptyNamespaceURIWriteAttribute(): expectedOutput: " + EXPECTED_OUTPUT);
+            System.out.println("testSpecifiedDefaultEmptyPrefixEmptyNamespaceURIWriteAttribute():   actualOutput: " + actualOutput);
+        }
+
+        Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+    }
+
+    /*--------------- Negative tests with isRepairingNamespaces as FALSE ---------------------- */
+
+    private void setUpForNoRepair() {
+
+        xmlOutputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, Boolean.FALSE);
+
+        // new Writer
+        try {
+            xmlStreamWriter = xmlOutputFactory.createXMLStreamWriter(byteArrayOutputStream);
+
+        } catch (XMLStreamException xmlStreamException) {
+            xmlStreamException.printStackTrace();
+            Assert.fail(xmlStreamException.toString());
+        }
+    }
+
+    /*
+     * Tries to assign default namespace to empty URI and again to a different
+     * uri in element and attribute. Expects XMLStreamException .
+     * writeNamespace("",""); writeAttribute("", "http://example.org/myURI",
+     * "attrName", "value");
+     */
+    @Test
+    public void testEmptyDefaultEmptyPrefixSpecifiedURIWriteAttributeNoRepair() {
+        try {
+            setUpForNoRepair();
+            startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            xmlStreamWriter.writeAttribute("", "http://example.org/myURI", "attrName", "value");
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            Assert.fail("XMLStreamException is expected, actualOutput: " + actualOutput);
+        } catch (Exception e) {
+            System.out.println("PASS: caught an expected exception" + e.getMessage());
+            e.printStackTrace();
+        }
+    }
+
+    /*
+     * Tries to assign default namespace to different uris in element and
+     * attribute and expects XMLStreamException.
+     * writeNamespace("","http://example.org/uniqueURI"); writeAttribute("",
+     * "http://example.org/myURI", "attrName", "value");
+     */
+    @Test
+    public void testSpecifiedDefaultEmptyPrefixSpecifiedURIWriteAttributeNoRepair() {
+        try {
+            setUpForNoRepair();
+            startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+            xmlStreamWriter.writeAttribute("", "http://example.org/uniqueURI", "attrName", "value");
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            Assert.fail("XMLStreamException is expected, actualOutput: " + actualOutput);
+        } catch (Exception e) {
+            System.out.println("PASS: caught an expected exception" + e.getMessage());
+            e.printStackTrace();
+        }
+    }
+
+    /*
+     * Tries to assign default namespace to same uri twice in element and
+     * attribute and expects XMLStreamException.
+     * writeNamespace("","http://example.org/uniqueURI"); writeAttribute("",
+     * "http://example.org/uniqueURI", "attrName", "value");
+     */
+    @Test
+    public void testSpecifiedDefaultEmptyPrefixSpecifiedDifferentURIWriteAttributeNoRepair() {
+        try {
+            setUpForNoRepair();
+            startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+            xmlStreamWriter.writeAttribute("", "http://example.org/myURI", "attrName", "value");
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            Assert.fail("XMLStreamException is expected, actualOutput: " + actualOutput);
+        } catch (Exception e) {
+            System.out.println("PASS: caught an expected exception" + e.getMessage());
+            e.printStackTrace();
+        }
+    }
+
+    /*
+     * Tries to assign prefix 'p' to different uris to attributes of the same
+     * element and expects XMLStreamException. writeAttribute("p",
+     * "http://example.org/URI-ONE", "attr1", "value"); writeAttribute("p",
+     * "http://example.org/URI-TWO", "attr2", "value");
+     */
+    @Test
+    public void testSamePrefixDiffrentURIWriteAttributeNoRepair() {
+        try {
+            setUpForNoRepair();
+            startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            xmlStreamWriter.writeAttribute("p", "http://example.org/URI-ONE", "attr1", "value");
+            xmlStreamWriter.writeAttribute("p", "http://example.org/URI-TWO", "attr2", "value");
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            Assert.fail("XMLStreamException is expected, actualOutput: " + actualOutput);
+        } catch (Exception e) {
+            System.out.println("PASS: caught an expected exception" + e.getMessage());
+            e.printStackTrace();
+        }
+    }
+
+    /*
+     * Tries to assign prefix 'p' to different uris in element and attribute and
+     * expects XMLStreamException.
+     * writeStartElement("p","localName","http://example.org/URI-ONE")
+     * writeAttribute("p", "http://example.org/URI-TWO", "attrName", "value")
+     */
+    @Test
+    public void testSamePrefixDiffrentURIWriteElemAndWriteAttributeNoRepair() {
+        try {
+            setUpForNoRepair();
+            startDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/URI-ONE");
+            xmlStreamWriter.writeAttribute("p", "http://example.org/URI-TWO", "attrName", "value");
+            xmlStreamWriter.writeEndElement();
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            Assert.fail("XMLStreamException is expected, actualOutput: " + actualOutput);
+        } catch (Exception e) {
+            System.out.println("PASS: caught an expected exception" + e.getMessage());
+            e.printStackTrace();
+        }
+    }
+
+    /*
+     * Tries to write following and expects a StreamException. <root
+     * xmlns=""http://example.org/uniqueURI"" xmlns=""http://example.org/myURI""
+     * />
+     */
+    @Test
+    public void testDefaultNamespaceDiffrentURIWriteElementNoRepair() {
+        try {
+            System.out.println("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
+            setUpForNoRepair();
+            startDocumentSpecifiedDefaultNamespace(xmlStreamWriter);
+            xmlStreamWriter.writeNamespace("", "http://example.org/myURI");
+            xmlStreamWriter.writeEndElement();
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            System.out.println("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
+            Assert.fail("XMLStreamException is expected, actualOutput: " + actualOutput);
+        } catch (Exception e) {
+            System.out.println("PASS: caught an expected exception" + e.getMessage());
+            e.printStackTrace();
+        }
+    }
+
+    /*--------------------------------------------------------------------------
+     Miscelleneous tests for writeStartElement() & writeAttribute() methods
+     in case of NOREPAIR
+     --------------------------------------------------------------------------*/
+
+    private void startDocument(XMLStreamWriter xmlStreamWriter) throws XMLStreamException {
+        xmlStreamWriter.writeStartDocument();
+        xmlStreamWriter.writeStartElement("root");
+    }
+
+    @Test
+    public void testSpecifiedPrefixSpecifiedURIWriteElementNoRepair() {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root>" + "<p:localName></p:localName>" + "</root>";
+        try {
+            setUpForNoRepair();
+            startDocument(xmlStreamWriter);
+            xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/myURI");
+            xmlStreamWriter.writeEndElement();
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            System.out.println("actualOutput: " + actualOutput);
+            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Caught an unexpected exception" + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testSpecifiedPrefixSpecifiedURIWriteAttributeNoRepair() {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root p:attrName=\"value\">" + "</root>";
+        try {
+            setUpForNoRepair();
+            startDocument(xmlStreamWriter);
+            xmlStreamWriter.writeAttribute("p", "http://example.org/myURI", "attrName", "value");
+            xmlStreamWriter.writeEndElement();
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            System.out.println("actualOutput: " + actualOutput);
+            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Caught an unexpected exception" + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testSpecifiedPrefixSpecifiedURISpecifiedNamespcaeWriteElementNoRepair() {
+
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root>" + "<p:localName xmlns:p=\"http://example.org/myURI\"></p:localName>" + "</root>";
+        try {
+            setUpForNoRepair();
+            startDocument(xmlStreamWriter);
+
+            xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/myURI");
+            xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
+            xmlStreamWriter.writeEndElement();
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            System.out.println("actualOutput: " + actualOutput);
+            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Caught an unexpected exception" + e.getMessage());
+        }
+    }
+
+    /*
+     * writeStartElement("p","localName", "http://example.org/myURI")
+     * writeNamespace("p","http://example.org/uniqueURI") This sequence of calls
+     * should generate an error as prefix 'p' is binded to different namespace
+     * URIs in same namespace context and repairing is disabled.
+     */
+
+    @Test
+    public void testSpecifiedPrefixSpecifiedURISpecifiedDifferentNamespcaeWriteElementNoRepair() {
+
+        try {
+            setUpForNoRepair();
+            startDocument(xmlStreamWriter);
+            xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/myURI");
+            xmlStreamWriter.writeNamespace("p", "http://example.org/uniqueURI");
+            xmlStreamWriter.writeEndElement();
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            System.out.println("actualOutput: " + actualOutput);
+            Assert.fail("XMLStreamException is expected as 'p' is rebinded to a different URI in same namespace context");
+        } catch (Exception e) {
+            System.out.println("Caught an expected exception" + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testEmptyPrefixEmptyURIWriteAttributeNoRepair() {
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root>" + "<localName attrName=\"value\"></localName>" + "</root>";
+        try {
+            setUpForNoRepair();
+            startDocument(xmlStreamWriter);
+            xmlStreamWriter.writeStartElement("localName");
+            xmlStreamWriter.writeAttribute("", "", "attrName", "value");
+            xmlStreamWriter.writeEndElement();
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            System.out.println("actualOutput: " + actualOutput);
+            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Caught an unexpected exception" + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testEmptyPrefixNullURIWriteAttributeNoRepair() {
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root>" + "<localName attrName=\"value\"></localName>" + "</root>";
+        try {
+            setUpForNoRepair();
+            startDocument(xmlStreamWriter);
+            xmlStreamWriter.writeStartElement("localName");
+            xmlStreamWriter.writeAttribute(null, null, "attrName", "value");
+            xmlStreamWriter.writeEndElement();
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            System.out.println("actualOutput: " + actualOutput);
+            Assert.fail("XMLStreamException is expected, actualOutput: " + actualOutput);
+        } catch (Exception e) {
+            System.out.println("PASS: caught an expected exception" + e.getMessage());
+            e.printStackTrace();
+        }
+    }
+
+    @Test
+    public void testDoubleXmlNsNoRepair() {
+        try {
+            // reset to known state
+            setUpForNoRepair();
+
+            xmlStreamWriter.writeStartDocument();
+            xmlStreamWriter.writeStartElement("foo");
+            xmlStreamWriter.writeNamespace("xml", XMLConstants.XML_NS_URI);
+            xmlStreamWriter.writeAttribute("xml", XMLConstants.XML_NS_URI, "lang", "ja_JP");
+            xmlStreamWriter.writeCharacters("Hello");
+            xmlStreamWriter.writeEndElement();
+            xmlStreamWriter.writeEndDocument();
+
+            xmlStreamWriter.flush();
+            String actualOutput = byteArrayOutputStream.toString();
+
+            if (DEBUG) {
+                System.out.println("testDoubleXmlNsNoRepair(): actualOutput: " + actualOutput);
+            }
+
+            // there should be no xmlns:xml
+            Assert.assertTrue(actualOutput.split("xmlns:xml").length == 1, "Expected 0 xmlns:xml, actual output: " + actualOutput);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    @Test
+    public void testSpecifiedURIWriteAttributeNoRepair() {
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root>" + "<p:localName p:attrName=\"value\"></p:localName>" + "</root>";
+        try {
+            setUpForNoRepair();
+            startDocument(xmlStreamWriter);
+            xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/myURI");
+            xmlStreamWriter.writeAttribute("http://example.org/myURI", "attrName", "value");
+            xmlStreamWriter.writeEndElement();
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            System.out.println("actualOutput: " + actualOutput);
+            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+        } catch (Exception e) {
+            System.out.println("Caught an expected exception" + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testSpecifiedURIWriteAttributeWithRepair() {
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root>"
+                + "<p:localName xmlns:p=\"http://example.org/myURI\" p:attrName=\"value\"></p:localName>" + "</root>";
+        try {
+            startDocument(xmlStreamWriter);
+            xmlStreamWriter.writeStartElement("p", "localName", "http://example.org/myURI");
+            xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
+            xmlStreamWriter.writeAttribute("http://example.org/myURI", "attrName", "value");
+            xmlStreamWriter.writeEndElement();
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            System.out.println("actualOutput: " + actualOutput);
+            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testSpecifiedDefaultInDifferentElementsNoRepair() {
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root>" + "<localName xmlns=\"http://example.org/myURI\">"
+                + "<child xmlns=\"http://example.org/uniqueURI\"></child>" + "</localName>" + "</root>";
+        try {
+            setUpForNoRepair();
+            startDocument(xmlStreamWriter);
+            xmlStreamWriter.writeStartElement("localName");
+            xmlStreamWriter.writeDefaultNamespace("http://example.org/myURI");
+            xmlStreamWriter.writeStartElement("child");
+            xmlStreamWriter.writeDefaultNamespace("http://example.org/uniqueURI");
+            xmlStreamWriter.writeEndElement();
+            xmlStreamWriter.writeEndElement();
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            System.out.println("actualOutput: " + actualOutput);
+            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    /*------------- Tests for setPrefix() and setDefaultNamespace() methods --------------------*/
+
+    @Test
+    public void testSetPrefixWriteNamespaceNoRepair() {
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns:p=\"http://example.org/myURI\">" + "</root>";
+        try {
+            setUpForNoRepair();
+            startDocument(xmlStreamWriter);
+            xmlStreamWriter.setPrefix("p", "http://example.org/myURI");
+            xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
+            xmlStreamWriter.writeEndElement();
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            System.out.println("actualOutput: " + actualOutput);
+            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+        } catch (Exception e) {
+            System.out.println("Caught an expected exception" + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testSetPrefixWriteNamespaceWithRepair() {
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns:p=\"http://example.org/myURI\">" + "</root>";
+        try {
+            startDocument(xmlStreamWriter);
+            xmlStreamWriter.setPrefix("p", "http://example.org/myURI");
+            xmlStreamWriter.writeNamespace("p", "http://example.org/myURI");
+            xmlStreamWriter.writeEndElement();
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            System.out.println("actualOutput: " + actualOutput);
+            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+        } catch (Exception e) {
+            System.out.println("Caught an expected exception" + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testSetDefaultNamespaceWriteNamespaceNoRepair() {
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"http://example.org/myURI\">" + "</root>";
+        try {
+            setUpForNoRepair();
+            startDocument(xmlStreamWriter);
+            xmlStreamWriter.setDefaultNamespace("http://example.org/myURI");
+            xmlStreamWriter.writeNamespace("", "http://example.org/myURI");
+            xmlStreamWriter.writeEndElement();
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            System.out.println("actualOutput: " + actualOutput);
+            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+        } catch (Exception e) {
+            System.out.println("Caught an expected exception" + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testSetDefaultNamespaceWriteNamespaceWithRepair() {
+        final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<root xmlns=\"http://example.org/myURI\">" + "</root>";
+        try {
+            startDocument(xmlStreamWriter);
+            xmlStreamWriter.setDefaultNamespace("http://example.org/myURI");
+            xmlStreamWriter.writeNamespace("", "http://example.org/myURI");
+            xmlStreamWriter.writeEndElement();
+            String actualOutput = endDocumentEmptyDefaultNamespace(xmlStreamWriter);
+            System.out.println("actualOutput: " + actualOutput);
+            Assert.assertEquals(EXPECTED_OUTPUT, actualOutput);
+        } catch (Exception e) {
+            System.out.println("Caught an expected exception" + e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/NullUriDetectionTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,50 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamWriterTest;
+
+import java.io.StringWriter;
+
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamWriter;
+
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6391922
+ * @summary Test XMLStreamWriter can writeDefaultNamespace(null).
+ */
+public class NullUriDetectionTest {
+    @Test
+    public void test1() throws Exception {
+        XMLOutputFactory xof = XMLOutputFactory.newInstance();
+        xof.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, Boolean.TRUE);
+
+        StringWriter sw = new StringWriter();
+        XMLStreamWriter w = xof.createXMLStreamWriter(sw);
+        w.writeStartDocument();
+        w.writeStartElement("foo", "bar", "zot");
+        w.writeDefaultNamespace(null);
+        w.writeCharacters("---");
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/SqeLinuxTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,84 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamWriterTest;
+
+import java.io.ByteArrayOutputStream;
+
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamWriter;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLStreamWriter can output multiple declarations if IS_REPAIRING_NAMESPACES is false.
+ */
+public class SqeLinuxTest {
+
+    // note that expected output will have multiple declarations,
+    // StAX does not do well formedness checking
+    private static final String EXPECTED_OUTPUT = "<?xml version=\"1.0\" ?>" + "<?xml version=\"wStDoc_ver\"?>"
+            + "<?xml version=\"wStDoc_ver2\" encoding=\"ASCII\"?>" + "<?xml version=\"1.0\" ?>";
+
+    XMLStreamWriter xmlStreamWriter;
+    ByteArrayOutputStream byteArrayOutputStream;
+    XMLOutputFactory xmlOutputFactory;
+
+    @Test
+    public void testWriterOnLinux() throws Exception {
+
+        // setup XMLStreamWriter
+        try {
+            byteArrayOutputStream = new ByteArrayOutputStream();
+            xmlOutputFactory = XMLOutputFactory.newInstance();
+            xmlOutputFactory.setProperty(xmlOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(false));
+            xmlStreamWriter = xmlOutputFactory.createXMLStreamWriter(byteArrayOutputStream, "ASCII");
+        } catch (Exception e) {
+            System.err.println("Unexpected Exception: " + e.toString());
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+
+        // create & write a document
+        try {
+            xmlStreamWriter.writeStartDocument();
+            xmlStreamWriter.writeStartDocument("wStDoc_ver");
+            xmlStreamWriter.writeStartDocument("ASCII", "wStDoc_ver2");
+            xmlStreamWriter.writeStartDocument(null, null);
+
+            // orignal SQE test used reset() before flush()
+            // believe this is false as reset() throws away output before
+            // flush() writes any cached output
+            // it is valid for a XMLStreamWriter to write its output at any
+            // time, flush() just garuntees it
+            // byteArrayOutputStream.reset();
+            xmlStreamWriter.flush();
+            Assert.assertEquals(EXPECTED_OUTPUT, byteArrayOutputStream.toString());
+        } catch (Exception e) {
+            System.err.println("Unexpected Exception: " + e.toString());
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/UnprefixedNameTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,121 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamWriterTest;
+
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamWriter;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6394074
+ * @summary Test XMLStreamWriter namespace prefix with writeDefaultNamespace.
+ */
+public class UnprefixedNameTest {
+
+    @Test
+    public void testUnboundPrefix() throws Exception {
+
+        try {
+            XMLOutputFactory xof = XMLOutputFactory.newInstance();
+            XMLStreamWriter w = xof.createXMLStreamWriter(System.out);
+            // here I'm trying to write
+            // <bar xmlns="foo" />
+            w.writeStartDocument();
+            w.writeStartElement("foo", "bar");
+            w.writeDefaultNamespace("foo");
+            w.writeCharacters("---");
+            w.writeEndElement();
+            w.writeEndDocument();
+            w.close();
+
+            // Unexpected success
+            String FAIL_MSG = "Unexpected success.  Expected: " + "XMLStreamException - " + "if the namespace URI has not been bound to a prefix "
+                    + "and javax.xml.stream.isPrefixDefaulting has not been " + "set to true";
+            System.err.println(FAIL_MSG);
+            Assert.fail(FAIL_MSG);
+        } catch (XMLStreamException xmlStreamException) {
+            // Expected Exception
+            System.out.println("Expected XMLStreamException: " + xmlStreamException.toString());
+        }
+    }
+
+    @Test
+    public void testBoundPrefix() throws Exception {
+
+        try {
+            XMLOutputFactory xof = XMLOutputFactory.newInstance();
+            XMLStreamWriter w = xof.createXMLStreamWriter(System.out);
+            // here I'm trying to write
+            // <bar xmlns="foo" />
+            w.writeStartDocument();
+            w.writeStartElement("foo", "bar", "http://namespace");
+            w.writeCharacters("---");
+            w.writeEndElement();
+            w.writeEndDocument();
+            w.close();
+
+            // Expected success
+            System.out.println("Expected success.");
+        } catch (Exception exception) {
+            // Unexpected Exception
+            String FAIL_MSG = "Unexpected Exception: " + exception.toString();
+            System.err.println(FAIL_MSG);
+            Assert.fail(FAIL_MSG);
+        }
+    }
+
+    @Test
+    public void testRepairingPrefix() throws Exception {
+
+        try {
+
+            // repair namespaces
+            // use new XMLOutputFactory as changing its property settings
+            XMLOutputFactory xof = XMLOutputFactory.newInstance();
+            xof.setProperty(xof.IS_REPAIRING_NAMESPACES, new Boolean(true));
+            XMLStreamWriter w = xof.createXMLStreamWriter(System.out);
+
+            // here I'm trying to write
+            // <bar xmlns="foo" />
+            w.writeStartDocument();
+            w.writeStartElement("foo", "bar");
+            w.writeDefaultNamespace("foo");
+            w.writeCharacters("---");
+            w.writeEndElement();
+            w.writeEndDocument();
+            w.close();
+
+            // Expected success
+            System.out.println("Expected success.");
+        } catch (Exception exception) {
+            // Unexpected Exception
+            String FAIL_MSG = "Unexpected Exception: " + exception.toString();
+            System.err.println(FAIL_MSG);
+            Assert.fail(FAIL_MSG);
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/WriterTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,780 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamWriterTest;
+
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.io.LineNumberReader;
+import java.io.Reader;
+import java.net.URL;
+import java.util.Iterator;
+
+import javax.xml.namespace.NamespaceContext;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamWriter;
+
+import org.testng.Assert;
+import org.testng.annotations.AfterMethod;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XMLStreamWriter functionality.
+ */
+public class WriterTest {
+
+    final String ENCODING = "UTF-8";
+    XMLOutputFactory outputFactory = null;
+    XMLInputFactory inputFactory = null;
+    XMLStreamWriter xtw = null;
+    String[] files = new String[] { "testOne.xml", "testTwo.xml", "testThree.xml", "testFour.xml", "testFive.xml", "testSix.xml", "testSeven.xml",
+            "testEight.xml", "testNine.xml", "testTen.xml", "testEleven.xml", "testTwelve.xml", "testDefaultNS.xml", null, "testFixAttr.xml" };
+
+    String output = "";
+
+    @BeforeMethod
+    protected void setUp() {
+        try {
+            outputFactory = XMLOutputFactory.newInstance();
+            inputFactory = XMLInputFactory.newInstance();
+        } catch (Exception ex) {
+            Assert.fail("Could not create XMLInputFactory");
+        }
+    }
+
+    @AfterMethod
+    protected void tearDown() {
+        outputFactory = null;
+        inputFactory = null;
+    }
+
+    @Test
+    public void testOne() {
+
+        System.out.println("Test StreamWriter with out any namespace functionality");
+
+        try {
+            String outputFile = files[0] + ".out";
+            System.out.println("Writing output to " + outputFile);
+
+            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
+            xtw.writeStartDocument("utf-8", "1.0");
+            xtw.writeStartElement("elmeOne");
+            xtw.writeStartElement("elemTwo");
+            xtw.writeStartElement("elemThree");
+            xtw.writeStartElement("elemFour");
+            xtw.writeStartElement("elemFive");
+            xtw.writeEndDocument();
+            xtw.flush();
+            xtw.close();
+
+            Assert.assertTrue(checkResults(files[0] + ".out", files[0] + ".org"));
+
+        } catch (Exception ex) {
+            Assert.fail("testOne Failed " + ex);
+            ex.printStackTrace();
+        }
+
+    }
+
+    @Test
+    public void testTwo() {
+
+        System.out.println("Test StreamWriter's Namespace Context");
+
+        try {
+            String outputFile = files[1] + ".out";
+            System.out.println("Writing output to " + outputFile);
+
+            xtw = outputFactory.createXMLStreamWriter(System.out);
+            xtw.writeStartDocument();
+            xtw.writeStartElement("elemTwo");
+            xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
+            xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
+            xtw.writeEndDocument();
+            NamespaceContext nc = xtw.getNamespaceContext();
+            // Got a Namespace Context.class
+
+            XMLStreamWriter xtw1 = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
+
+            xtw1.writeComment("all elements here are explicitly in the HTML namespace");
+            xtw1.setNamespaceContext(nc);
+            xtw1.writeStartDocument("utf-8", "1.0");
+            xtw1.setPrefix("htmlOne", "http://www.w3.org/TR/REC-html40");
+            NamespaceContext nc1 = xtw1.getNamespaceContext();
+            xtw1.close();
+            Iterator it = nc1.getPrefixes("http://www.w3.org/TR/REC-html40");
+
+            // FileWriter fw = new FileWriter(outputFile);
+            while (it.hasNext()) {
+                System.out.println("Prefixes :" + it.next());
+                // fw.write((String)it.next());
+                // fw.write(";");
+            }
+            // fw.close();
+            // assertTrue(checkResults(testTwo+".out", testTwo+".org"));
+            System.out.println("Done");
+        } catch (Exception ex) {
+            Assert.fail("testTwo Failed " + ex);
+            ex.printStackTrace();
+        }
+
+    }
+
+    @Test
+    public void testThree() {
+
+        System.out.println("Test StreamWriter for proper element sequence.");
+
+        try {
+            String outputFile = files[2] + ".out";
+            System.out.println("Writing output to " + outputFile);
+
+            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
+            xtw.writeStartDocument("utf-8", "1.0");
+            xtw.writeStartElement("elmeOne");
+            xtw.writeStartElement("elemTwo");
+            xtw.writeEmptyElement("emptyElem");
+            xtw.writeStartElement("elemThree");
+            xtw.writeStartElement("elemFour");
+            xtw.writeStartElement("elemFive");
+            xtw.writeEndDocument();
+            xtw.flush();
+            xtw.close();
+
+            Assert.assertTrue(checkResults(files[2] + ".out", files[2] + ".org"));
+
+        } catch (Exception ex) {
+            Assert.fail("testThree Failed " + ex);
+            ex.printStackTrace();
+        }
+
+    }
+
+    @Test
+    public void testFour() {
+
+        System.out.println("Test StreamWriter with elements,attribute and element content.");
+
+        try {
+
+            String outputFile = files[3] + ".out";
+            System.out.println("Writing output to " + outputFile);
+
+            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
+            xtw.writeStartDocument("utf-8", "1.0");
+            xtw.writeStartElement("elmeOne");
+            xtw.writeStartElement("elemTwo");
+            xtw.writeEmptyElement("emptyElem");
+            xtw.writeAttribute("testAttr", "testValue");
+            xtw.writeStartElement("elemThree");
+            xtw.writeStartElement("elemFour");
+            xtw.writeCharacters("TestCharacterData");
+            xtw.writeStartElement("elemFive");
+            xtw.writeEndDocument();
+            xtw.flush();
+            xtw.close();
+
+            Assert.assertTrue(checkResults(files[3] + ".out", files[3] + ".org"));
+
+        } catch (Exception ex) {
+            Assert.fail("testFour Failed " + ex);
+            ex.printStackTrace();
+        }
+
+    }
+
+    @Test
+    public void testFive() {
+
+        System.out.println("Test StreamWriter's Namespace Context.");
+
+        try {
+
+            String outputFile = files[4] + ".out";
+            System.out.println("Writing output to " + outputFile);
+
+            xtw = outputFactory.createXMLStreamWriter(System.out);
+            xtw.writeStartDocument();
+            xtw.writeStartElement("elemTwo");
+            xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
+            xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
+            // xtw.writeEndDocument();
+            NamespaceContext nc = xtw.getNamespaceContext();
+            // Got a Namespace Context.class
+
+            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
+
+            xtw.writeComment("all elements here are explicitly in the HTML namespace");
+            xtw.setNamespaceContext(nc);
+            xtw.writeStartDocument("utf-8", "1.0");
+            // xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "html");
+            // xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
+
+            xtw.writeCharacters("Frobnostication");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
+            xtw.writeCharacters("Moved to");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
+            xtw.writeAttribute("href", "http://frob.com");
+
+            xtw.writeCharacters("here");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeEndElement();
+
+            xtw.writeEndDocument();
+            xtw.flush();
+            xtw.close();
+            Assert.assertTrue(checkResults(files[4] + ".out", files[4] + ".org"));
+            System.out.println("Done");
+        } catch (Exception ex) {
+            Assert.fail("testFive Failed " + ex);
+            ex.printStackTrace();
+        }
+
+    }
+
+    @Test
+    public void testSix() {
+
+        System.out.println("Test StreamWriter, uses the Namespace Context set by the user to resolve namespaces.");
+
+        try {
+
+            String outputFile = files[5] + ".out";
+            System.out.println("Writing output to " + outputFile);
+
+            xtw = outputFactory.createXMLStreamWriter(System.out);
+            xtw.writeStartDocument();
+            xtw.writeStartElement("elemTwo");
+            xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
+            xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
+            xtw.writeEndDocument();
+            NamespaceContext nc = xtw.getNamespaceContext();
+            // Got a Namespace Context information.
+
+            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
+
+            xtw.writeComment("all elements here are explicitly in the HTML namespace");
+            xtw.setNamespaceContext(nc);
+            xtw.writeStartDocument("utf-8", "1.0");
+            xtw.setPrefix("htmlNewPrefix", "http://www.w3.org/TR/REC-html40");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "html");
+            // xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
+
+            xtw.writeCharacters("Frobnostication");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
+            xtw.writeCharacters("Moved to");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
+            xtw.writeAttribute("href", "http://frob.com");
+
+            xtw.writeCharacters("here");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeEndElement();
+
+            xtw.writeEndDocument();
+            xtw.flush();
+            xtw.close();
+            Assert.assertTrue(checkResults(files[5] + ".out", files[5] + ".org"));
+            System.out.println("Done");
+        } catch (Exception ex) {
+            Assert.fail("testSix Failed " + ex);
+            ex.printStackTrace();
+        }
+
+    }
+
+    @Test
+    public void testSeven() {
+
+        System.out.println("Test StreamWriter supplied with correct namespace information");
+
+        try {
+
+            String outputFile = files[6] + ".out";
+            System.out.println("Writing output to " + outputFile);
+
+            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
+            xtw.writeComment("all elements here are explicitly in the HTML namespace");
+            xtw.writeStartDocument("utf-8", "1.0");
+            xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "html");
+            xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
+
+            xtw.writeCharacters("Frobnostication");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
+            xtw.writeCharacters("Moved to");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
+            xtw.writeAttribute("href", "http://frob.com");
+
+            xtw.writeCharacters("here");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeEndElement();
+
+            xtw.writeEndDocument();
+            xtw.flush();
+            xtw.close();
+            Assert.assertTrue(checkResults(files[6] + ".out", files[6] + ".org"));
+            System.out.println("Done");
+        } catch (Exception ex) {
+            Assert.fail("testSeven Failed " + ex);
+            ex.printStackTrace();
+        }
+
+    }
+
+    @Test
+    public void testEight() {
+
+        System.out.println("Test StreamWriter supplied with correct namespace information and" + "isRepairingNamespace is set to true.");
+
+        try {
+
+            String outputFile = files[7] + ".out";
+            System.out.println("Writing output to " + outputFile);
+            outputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
+            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
+            xtw.writeComment("all elements here are explicitly in the HTML namespace");
+            xtw.writeStartDocument("utf-8", "1.0");
+            xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "html");
+            xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
+
+            xtw.writeCharacters("Frobnostication");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
+            xtw.writeCharacters("Moved to");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
+            xtw.writeAttribute("href", "http://frob.com");
+
+            xtw.writeCharacters("here");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeEndElement();
+
+            xtw.writeEndDocument();
+            xtw.flush();
+            xtw.close();
+            // check against testSeven.xml.org
+            Assert.assertTrue(checkResults(files[7] + ".out", files[7] + ".org"));
+            System.out.println("Done");
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            Assert.fail("testEight Failed " + ex);
+
+        }
+
+    }
+
+    @Test
+    public void testNine() {
+
+        System.out.println("Test StreamWriter supplied with correct namespace information and" + "isRepairingNamespace is set to true."
+                + "pass namespace information using" + "writenamespace function");
+
+        try {
+
+            String outputFile = files[8] + ".out";
+            System.out.println("Writing output to " + outputFile);
+            outputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
+            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
+            xtw.writeComment("all elements here are explicitly in the HTML namespace");
+            xtw.writeStartDocument("utf-8", "1.0");
+            // xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "html");
+            xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
+
+            xtw.writeCharacters("Frobnostication");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
+            xtw.writeCharacters("Moved to");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
+            xtw.writeAttribute("href", "http://frob.com");
+
+            xtw.writeCharacters("here");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeEndElement();
+
+            xtw.writeEndDocument();
+            xtw.flush();
+            xtw.close();
+            // check against testSeven.xml.org
+            Assert.assertTrue(checkResults(files[8] + ".out", files[7] + ".org"));
+            System.out.println("Done");
+        } catch (Exception ex) {
+            Assert.fail("testNine Failed " + ex);
+            ex.printStackTrace();
+        }
+
+    }
+
+    @Test
+    public void testTen() {
+
+        System.out.println("Test StreamWriter supplied with no namespace information and" + "isRepairingNamespace is set to true.");
+        try {
+
+            String outputFile = files[9] + ".out";
+            System.out.println("Writing output to " + outputFile);
+            outputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
+            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
+            xtw.writeComment("all elements here are explicitly in the HTML namespace");
+            xtw.writeStartDocument("utf-8", "1.0");
+            // xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "html");
+            // xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
+
+            xtw.writeCharacters("Frobnostication");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
+            xtw.writeCharacters("Moved to");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
+            xtw.writeAttribute("href", "http://frob.com");
+
+            xtw.writeCharacters("here");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeEndElement();
+
+            xtw.writeEndDocument();
+            xtw.flush();
+            xtw.close();
+            // check against testSeven.xml.org
+            // prefix is generated while it was defined in the 'org' file, the
+            // following comparison method needs a rewrite.
+            // assertTrue(checkResults(files[9]+".out",files[7]+".org"));
+            System.out.println("Done");
+        } catch (Exception ex) {
+            Assert.fail("testTen Failed " + ex);
+            ex.printStackTrace();
+        }
+
+    }
+
+    @Test
+    public void testEleven() {
+
+        System.out.println("Test StreamWriter supplied with  namespace information passed through startElement and" + "isRepairingNamespace is set to true.");
+        try {
+
+            String outputFile = files[10] + ".out";
+            System.out.println("Writing output to " + outputFile);
+            outputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
+            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
+            xtw.writeComment("all elements here are explicitly in the HTML namespace");
+            xtw.writeStartDocument("utf-8", "1.0");
+            // xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
+            xtw.writeStartElement("html", "html", "http://www.w3.org/TR/REC-html40");
+            // xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
+
+            xtw.writeCharacters("Frobnostication");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
+            xtw.writeCharacters("Moved to");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
+            xtw.writeAttribute("href", "http://frob.com");
+
+            xtw.writeCharacters("here");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeEndElement();
+
+            xtw.writeEndDocument();
+            xtw.flush();
+            xtw.close();
+            // check against testSeven.xml.org
+            Assert.assertTrue(checkResults(files[10] + ".out", files[7] + ".org"));
+            System.out.println("Done");
+        } catch (Exception ex) {
+            Assert.fail("testEleven Failed " + ex);
+            ex.printStackTrace();
+        }
+
+    }
+
+    @Test
+    public void testTwelve() {
+
+        System.out.println("Test StreamWriter supplied with  namespace information set at few places");
+
+        try {
+
+            String outputFile = files[11] + ".out";
+            System.out.println("Writing output to " + outputFile);
+            outputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
+            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
+            xtw.writeComment("all elements here are explicitly in the HTML namespace");
+            xtw.writeStartDocument("utf-8", "1.0");
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "html");
+            // xtw.writeNamespace("html", "http://www.w3.org/TR/REC-html40");
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
+            xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
+
+            xtw.writeCharacters("Frobnostication");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
+            xtw.writeCharacters("Moved to");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
+            xtw.writeAttribute("href", "http://frob.com");
+
+            xtw.writeCharacters("here");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeEndElement();
+
+            xtw.writeEndDocument();
+            xtw.flush();
+            xtw.close();
+            // check against testSeven.xml.org
+            // assertTrue(checkResults(files[10]+".out",files[7]+".org"));
+            System.out.println("Done");
+        } catch (Exception ex) {
+            Assert.fail("testtwelve Failed " + ex);
+            ex.printStackTrace();
+        }
+
+    }
+
+    @Test
+    public void testDefaultNamespace() {
+
+        System.out.println("Test StreamWriter supplied with  namespace information set at few places");
+
+        try {
+
+            String outputFile = files[12] + ".out";
+            System.out.println("Writing output to " + outputFile);
+            outputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
+            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
+            xtw.writeComment("all elements here are explicitly in the HTML namespace");
+            xtw.writeStartDocument("utf-8", "1.0");
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "html");
+            xtw.writeDefaultNamespace("http://www.w3.org/TR/REC-html40");
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
+            // xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
+
+            xtw.writeCharacters("Frobnostication");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
+            xtw.writeCharacters("Moved to");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
+            xtw.writeAttribute("href", "http://frob.com");
+
+            xtw.writeCharacters("here");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeEndElement();
+
+            xtw.writeEndDocument();
+            xtw.flush();
+            xtw.close();
+            // check against testSeven.xml.org
+            // assertTrue(checkResults(files[10]+".out",files[7]+".org"));
+            System.out.println("Done");
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            Assert.fail("testDefaultNamespace Failed " + ex);
+
+        }
+
+    }
+
+    @Test
+    public void testRepairNamespace() {
+
+        System.out.println("Test StreamWriter supplied with  namespace information set at few places");
+
+        try {
+
+            String outputFile = files[14] + ".out";
+            System.out.println("Writing output to " + outputFile);
+            outputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, new Boolean(true));
+            xtw = outputFactory.createXMLStreamWriter(new FileOutputStream(outputFile), ENCODING);
+            xtw.writeComment("all elements here are explicitly in the HTML namespace");
+            xtw.writeStartDocument("utf-8", "1.0");
+            xtw.writeStartElement("html", "html", "http://www.w3.org/TR/REC-html40");
+            // xtw.writeStartElement("http://www.w3.org/TR/REC-html40","html");
+            // xtw.writeDefaultNamespace("http://www.w3.org/TR/REC-html40");
+            xtw.writeAttribute("html", "testPrefix", "attr1", "http://frob.com");
+            xtw.writeAttribute("html", "testPrefix", "attr2", "http://frob2.com");
+            xtw.writeAttribute("html", "http://www.w3.org/TR/REC-html40", "attr4", "http://frob4.com");
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "head");
+            xtw.setPrefix("html", "http://www.w3.org/TR/REC-html40");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "title");
+
+            xtw.writeCharacters("Frobnostication");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "body");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "p");
+            xtw.writeCharacters("Moved to");
+            xtw.writeStartElement("http://www.w3.org/TR/REC-html40", "a");
+            xtw.writeAttribute("href", "http://frob.com");
+
+            xtw.writeCharacters("here");
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+            xtw.writeEndElement();
+
+            xtw.writeEndElement();
+
+            xtw.writeEndDocument();
+            xtw.flush();
+            xtw.close();
+            // check against testSeven.xml.org
+            // assertTrue(checkResults(files[10]+".out",files[7]+".org"));
+            System.out.println("Done");
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            Assert.fail("testDefaultNamespace Failed " + ex);
+
+        }
+
+    }
+
+    protected boolean checkResults(String checkFile, String orgFile) {
+        try {
+            URL fileName = WriterTest.class.getResource(orgFile);
+            // URL outputFileName = WriterTest.class.getResource(checkFile);
+            return compareOutput(new InputStreamReader(fileName.openStream()), new InputStreamReader(new FileInputStream(checkFile)));
+
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            Assert.fail(ex.getMessage());
+        }
+        return false;
+    }
+
+    protected boolean compareOutput(Reader expected, Reader actual) throws IOException {
+        LineNumberReader expectedOutput = null;
+        LineNumberReader actualOutput = null;
+        try {
+            expectedOutput = new LineNumberReader(expected);
+            actualOutput = new LineNumberReader(actual);
+
+            while (expectedOutput.ready() && actualOutput.ready()) {
+                String expectedLine = expectedOutput.readLine();
+                String actualLine = actualOutput.readLine();
+                if (!expectedLine.equals(actualLine)) {
+                    System.out.println("Entityreference expansion failed, line no: " + expectedOutput.getLineNumber());
+                    System.out.println("Expected: " + expectedLine);
+                    System.out.println("Actual  : " + actualLine);
+                    return false;
+                }
+            }
+            return true;
+        } catch (IOException ex) {
+            System.err.println("Error  occured while comparing results.");
+            throw ex;
+        } finally {
+            expectedOutput.close();
+            actualOutput.close();
+
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/XMLStreamWriterTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,79 @@
+/*
+ * Copyright (c) 2014, 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 stream.XMLStreamWriterTest;
+
+import java.io.StringWriter;
+
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamWriter;
+
+import org.testng.Assert;
+import org.testng.annotations.AfterMethod;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6347190
+ * @summary Test StAX Writer won't insert comment into element inside.
+ */
+public class XMLStreamWriterTest {
+
+    @BeforeMethod
+    protected void setUp() throws Exception {
+    }
+
+    @AfterMethod
+    protected void tearDown() throws Exception {
+    }
+
+    /**
+     * Test of main method, of class TestXMLStreamWriter.
+     */
+    @Test
+    public void testWriteComment() {
+        try {
+            String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><a:html href=\"http://java.sun.com\"><!--This is comment-->java.sun.com</a:html>";
+            XMLOutputFactory f = XMLOutputFactory.newInstance();
+            // f.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES,
+            // Boolean.TRUE);
+            StringWriter sw = new StringWriter();
+            XMLStreamWriter writer = f.createXMLStreamWriter(sw);
+            writer.writeStartDocument("UTF-8", "1.0");
+            writer.writeStartElement("a", "html", "http://www.w3.org/TR/REC-html40");
+            writer.writeAttribute("href", "http://java.sun.com");
+            writer.writeComment("This is comment");
+            writer.writeCharacters("java.sun.com");
+            writer.writeEndElement();
+            writer.writeEndDocument();
+            writer.flush();
+            sw.flush();
+            StringBuffer sb = sw.getBuffer();
+            System.out.println("sb:" + sb.toString());
+            Assert.assertTrue(sb.toString().equals(xml));
+        } catch (Exception ex) {
+            Assert.fail("Exception: " + ex.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/message_12.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,287 @@
+      <S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope">
+      <S:Header>
+      <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" S:mustUnderstand="1">
+      <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="3">
+      <wsu:Created>2006-07-20T22:57:12Z</wsu:Created>
+      <wsu:Expires>2006-07-20T23:02:12Z</wsu:Expires>
+      </wsu:Timestamp>
+      <Assertion xmlns="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:ns2="http://www.w3.org/20
+00/09/xmldsig#" xmlns:ns3="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext
+-1.0.xsd" xmlns:ns4="http://www.w3.org/2005/08/addressing" xmlns:ns5="http://schemas.xmlsoap.org/ws/
+2005/02/sc" xmlns:ns6="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-op
+en.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xs="http://www.w3.org/2001/XML
+Schema" AssertionID="uuid-96df98ce-5d8e-4855-a4ab-3232ca88e6df" IssueInstant="2006-07-20T15:57:09.99
+6-07:00" Issuer="TestSTS" MajorVersion="1" MinorVersion="1">
+      <Conditions NotBefore="2006-07-20T15:57:09.996-07:00" NotOnOrAfter="2006-07-20T15:57:45.
+996-07:00"></Conditions>
+      <Advice></Advice>
+      <AttributeStatement>
+      <Subject>
+      <NameIdentifier>principal</NameIdentifier>
+      <SubjectConfirmation>
+      <ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:holder-of-key</ConfirmationMethod>
+      <ns2:KeyInfo>
+      <xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
+      <xenc:EncryptionMethod xmlns="" xmlns:ns4="urn:oasis:names:tc:SAML:1.0:assertion" Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"></xenc:EncryptionMethod>
+      <ns2:KeyInfo>
+      <ns3:SecurityTokenReference xmlns:ns5="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:ns6="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns8
+="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:ns9="http://schemas.xmlsoap.org/ws/2004/09/policy">
+      <ns3:KeyIdentifier xmlns="" xmlns:ns10="urn:oasis:names:tc:SAML:1.0:assertion" ValueType
+="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier">Xeg55vRyK3ZhAEhEf+YT0z986L0=</ns3:KeyIdentifier></ns3:SecurityTokenReference>
+      </ns2:KeyInfo>
+      <xenc:CipherData>
+      <xenc:CipherValue>sPVCOcRVBGYDmnBAjnxoe5LfqAumazmxygPnFbSxGL35e90e1KurbODwNj5fmHxz9CkwAf8VQL8U
+      ESF3jDRbew4EbdE726uRFKGhK8Xt5G3Mzwo8PCxIcLKmxwwJYc3tpXaE94x937YLzv+Rp6i+sfPe
+      7aNcDTMuQUmmDMujQcM=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></ns2:KeyInfo></SubjectConfirmation></Subject>
+      <Attribute AttributeName="name" AttributeNamespace="http://sun.com">
+      <AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">value</AttributeValue></Attribute></AttributeStatement>
+      <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
+      <ds:SignedInfo>
+      <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
+      <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
+      <ds:Reference URI="#uuid-96df98ce-5d8e-4855-a4ab-3232ca88e6df">
+      <ds:Transforms>
+      <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform>
+      <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform></ds:Transforms>
+      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
+      <ds:DigestValue>+6+meGLSaVyDUa0jzlDJaRTyuCI=</ds:DigestValue></ds:Reference></ds:SignedInfo>
+      <ds:SignatureValue>X0kmFj+HnmVgC71G69wsfSHS7bQ2E+bFl0lLg7McFAcQW8GVFv/ekHpctySndRPLVFiu1AnRcPM5
+      t/uRwQmbov6T0lJwP09rcgxwPVKPVycFHM8HLNOFA5L2MNpqGuKDSOyOXLDqba32BTxLGFyaJzCx
+      M/mH3WaZgiRDkWaeYUw=</ds:SignatureValue>
+      <ds:KeyInfo>
+      <wsse:SecurityTokenReference>
+      <wsse:KeyIdentifier EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-20
+0401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier">G9QGBPj/Lnv/Km4FCTiqMg1xamk=</wsse:KeyIdentifier>
+      </wsse:SecurityTokenReference></ds:KeyInfo></ds:Signature></Assertion>
+      <wsc:DerivedKeyToken xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-115
+3436232269143755810">
+      <ns3:SecurityTokenReference xmlns:ns3="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:ns2="htt
+p://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns4="http://www.w3.org/2005/08/addressing" xmlns:ns5="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:ns6="http:/
+/schemas.xmlsoap.org/ws/2004/09/policy">
+      <ns3:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.0#SAMLAssertionID">uuid-96df98ce-5d8e-4855-a4ab-3232ca88e6df</ns3:KeyIdentifier>
+      </ns3:SecurityTokenReference>
+      <wsc:Offset>0</wsc:Offset>
+      <wsc:Length>24</wsc:Length>
+      <wsc:Nonce>1NJRlYY/gA54WTvInE3VuJ13</wsc:Nonce>
+      </wsc:DerivedKeyToken>
+      <xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Id="XWSSGID-1153436232
+219-1223114149">
+      <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"/>
+      <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
+      <wsse:SecurityTokenReference>
+      <wsse:KeyIdentifier EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
+s-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/oasis-wss-soap-m
+essage-security-1.1#ThumbprintSHA1">NQM0IBvuplAtETQvk+6gn8C13wE=</wsse:KeyIdentifier>
+      </wsse:SecurityTokenReference>
+      </ds:KeyInfo>
+      <xenc:CipherData>
+      <xenc:CipherValue>NHjIM/BMwNP+XSrgyCE1MKYxwNoqSMX5WEVxABsyUzveDJr8kEmYdlXE4GiWsnJpuxHrYm
+437yIq
+      Qjn/xR9TZI/iOvrM+f1JkeLBRtvl83ZrB6tfEIhH+hXUeOddx+LX0uQAIsamJL+chNS4V4inojsE
+      00uFjPnq8JoJ9lI5nmA=</xenc:CipherValue>
+      </xenc:CipherData>
+      </xenc:EncryptedKey>
+      <wsc:DerivedKeyToken xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:wsu="htt
+p://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-115
+3436232279-1717841759">
+      <wsse:SecurityTokenReference>
+      <wsse:Reference URI="#XWSSGID-1153436232219-1223114149" ValueType="http://docs.oasis-ope
+n.org/wss/oasis-wss-soap-message-security-1.1#EncryptedKey"/>
+      </wsse:SecurityTokenReference>
+      <wsc:Offset>0</wsc:Offset>
+      <wsc:Length>32</wsc:Length>
+      <wsc:Nonce>FXNiOAEmn2Ndwvy3y5+/RJDM</wsc:Nonce>
+      </wsc:DerivedKeyToken>
+      <xenc:ReferenceList xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
+      <xenc:DataReference URI="#XWSSGID-11534362322891411385080"/>
+      <xenc:DataReference URI="#XWSSGID-11534362322791556489723"/>
+      </xenc:ReferenceList>
+      <wsc:DerivedKeyToken xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:wsu="htt
+p://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-115
+3436232209273494521">
+      <wsse:SecurityTokenReference>
+      <wsse:Reference URI="#XWSSGID-1153436232219-1223114149" ValueType="http://docs.oasis-ope
+n.org/wss/oasis-wss-soap-message-security-1.1#EncryptedKey"/>
+      </wsse:SecurityTokenReference>
+      <wsc:Offset>0</wsc:Offset>
+      <wsc:Length>24</wsc:Length>
+      <wsc:Nonce>cEhhCfrmBzyXdkkBxxHNp+0b</wsc:Nonce>
+      </wsc:DerivedKeyToken>
+      <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Id="XWSSGID-115343623
+22891411385080" Type="http://www.w3.org/2001/04/xmlenc#Element">
+          <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/>
+          <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
+      <wsse:SecurityTokenReference>
+      <wsse:Reference URI="#XWSSGID-1153436232279-1717841759"/>
+      </wsse:SecurityTokenReference>
+      </ds:KeyInfo>
+          <xenc:CipherData>
+      <xenc:CipherValue>6WZAPXqUx+Lx4T3o13a4DaZtf6iPmNEKNO997ZSfw9JafTnn/3L5VOU3tpAm/BfYODiR1C
+TSt/7V
+      JHVIMauBz/KE3ZjDKED33XR0jVWAMifNXMtcd4+tTYr8JWfT0aHGFuKXZlK1WdOI+4o7O5zHVcEP
+      b0O117p10DROF9tdQHQsmUJBiUcyMwCvY7LsFECRN6Ur9EKkkv8GR6ux4zuYcEFmLGWHVwywINAj
+      RFeLrtNtaV3ScB/eb1tnkvjEsqXJ+/H2o0saYgRShwQLR2+/3w0vCz4Hxd2PsU9yLi3AeeNApIzV
+      7/GFrFRIFA1PMwFn+CUID96wqb1GgZ+E+kwi/5VnTxQp+Frr+GWMGhBNqiEfy5m1GkeRXZyiWENl
+      3XUwChS59D/PB2ey6ioPOqyl7m2DuMfFLzJkYBPHiFpvyRYMxBafm3NMl+W9C+hIfVfCym7PpMAH
+      nlUz7oEKKtjjxgNBM+UWtr5DqQC3WKXDhOhZqomDRflshKkrjA+Xkxz+D4S44CK4nxGuHbesy4Tn
+      FutOWmfOvP5C3K9athS44nwm2kY7h+TrM4gs35RBMDrPFcrJGclA9umT2Ph2XvqDO/pQSQqV4r0X
+      pqwikAajgTKty3SJmHAhF2+ONB3ufdrlyJwM7fGIf2bGCCXbB4s6QrO6+8EvOZo/wk6uWnVj7t5F
+      meWNHCmhsnzPhlqnD6/OPxxWpG4UROfS6XbcHAnAbzSNpLPuxtdGILzBNSHB1r/Va3dGsae72ZtV
+      ULiJ+jVClNpxWhBsGUM1s9CXJN7uH5HIp/0cHh2X4OK80sReyqTMTiV+4/BYBZU6rJAIdI1GJLqB
+      p1mwaKzNR/IkwtCuMsua1IVJScGsGACppEa4g0fZhWr8D88Kc5UbqCgFuSddtONqFhDLYaSxjmgA
+      sT2CT+JLCPnPgb2KY6cqaNoceP3D6HyuvHU8B1/vJksjYmrZdeDCW5HZlIg3udK/OWY6xMgU6WP3
+      R7ZoENrmS7RyCRhdVpGMjFvNmxfTSWKyZ/Yf+xhXBWwG0k4K7cp5HL/kBTVNhLRACHk9aNGJf/V0
+      KK5eR61vLUE/bja5LwjKpmoFU5Y1S5sBxkaY623VlpHDBo8DRfNVcEYX3LRvf+Lxt7NX3Lvc3qxg
+      qrr1zWUznjOM81dcF1CxQWj4sPKIHFON7vVRkiUxA2V/py7yTKPlYofSr4KYF4Jye5GlROLVBucf
+      5eswQH8t7iHvJmnX+PF7blil0L5N8igi1uS7kzTeJsbcfxYh08elNUCZTb6x5/X9CjQ4zxsAaRFB
+      4ZaCog3Hj+jyh8pZl3iCmTm9qFwLF3CtA69VVtFZRtLBz6qsK+UwzG6u8RRDlvXSO2Bt5TcCG+mD
+      dfXCPILtPSaJvQykZFT+qirs2Fq1b9xTBjWtMZTCHJkuKFr+F61RZZiQRpw7mVyO+90yVA2i+bfk
+      ELMCPyL8Dg5MGUCDytPelRNziWAXkW1C7NK+iMv+tunkg/M/tSMlDM7a0GOZodwn0ls8Fa3Jx3Xm
+      aNLXDKZai9waq1LF/Waka9mo15y2y858Swb7/HdGOcXeLh1Ym1HFLEzjjYxSiaDYPHZMxPcC8OY9
+      Yva5ufMt09jBsOiOuiKS8I570A5jTV32xAFjEMQ8oSt4L/6J9Pb8ov6kjUCJxZGAkiMkg3o37BQl
+      fSTqq5vVAq72dFSa0jWroHLOmM0pfrqJ8uI6Y/5w6WD1WfMh11YFxJQJF6c92mPQVijPHZHQlVC0
+      7+9EaOC2KAc1fOCoeRS7QBCM6wWWVznFrkbhLi/p3c8QUzRuocL4vYv/aJWLeRBSjQbX/QtIliEx
+      fITDI0qt1cwjVxqfonvG5tNhelK8KijEH3x7bJ4GCYd4vl3p0+5u+rr3A0i7kEOxsrprOFJieSQ7
+      QBvv+hJeF/px+7vhjLYbYwfKq0Hi5R9rMYiXAHWB7JUJUAubYeKy+i/urkfuhaZJilgX20eLspGA
+      LO39AvHOc2ZXXO+HiH0qgUjMF/RS3GVXmiZg+r3LRviwuhcS5AUI1ZfXaoCNBi7Gyg/adUy9PQKJ
+      qjpbzdklY7PCVlt8bnXyrSpRuUwWbHyLVY1r4A/Qor2d2vXKkAZsYsLrKYieAMbgXSUcpiJmOfFn
+      jhELCkAONNyA86yLCi4gLElFkqkrEYowBLo3scQ+/x/718Gj49RCseebBbZtOc6Gr43ibhfjv1ph
+      QjMZv3fZaybxIULGum7tUQBZ/r67C3C6QYuW/KV/t/kV5oTk5N21BaMEBHYLBJIQFBgA3xpFpKfs
+      Tcaw8bW2UdHK4aC7Wo28K8RckCmcqX3KMStxzmVUWrOyLOrWLsL4Ul0AewFXy3mRTY0RIFy3WVgr
+      /BTIg+h5BePTzLMCwkScpGVrqQ8sdljbrD+PO40Hq+YQzkX7RVUvUUFK2+eQunscRPGHWk3PT1J5
+      JaDH5u8dvbx5lOqiMHYRof4GHgKS/PI+AalvWQ8ZwS9p6ptoJpoRD0JS+Wl1DFrstWPDgo3OfO9i
+      qMK4qfsJQtBBV40lXJz5OmmlcGqbVS0r6HhkCLh1wd3sAwnNGIf6veGj/x8k8gwEBLwfF8dpva4u
+      CvT3N6i0hWjlN8DCHKrMgE/s6TVIQJ5ZmVUzlwMR4IBFE0iC89YbThm3o63GETVRr+oTQXgNQrhG
+      heJNrfITdG8S6bA1x/JXsGK8J0uGnmyLRQjU9QjF3zJ9ktro7SeNb7OE5MvTaa0wWNqjn8BnmoEF
+      gFtCrBa7nXafGgWY+YIK5t6uJRORbUeRiXVAqSsHD/ETM3bs3waSKYDJqzgN/6vEoQ2MhOHw40tY
+      /szX/IIXt1LrTxiNrIFh9EoocIq8taKcn4Pe0Kv45rImUgOQqRHhx2NWJFpkkdTPiBKPVoGnqJvc
+      xQ4rqMm9BNVewRBoGNZdbqZOcx+RbsPR0ImF42dpo45ExovgbC3Qx28B3abBI8+PUNxe3XT1nMMt
+      A8+zqmWMsTY13j+FL2etx4kZgQ1OTrFLgyGL17+N394SDdLp/aWuXrDVIUVtgV1oBw8h+AEFT51A
+      AXadUu3TnOSpDjAVUooE3dAwmgnGxN+gzjmrdU80i9/xYddDfhtuMSYgHy1hjZ17H8aOUUl4U3p1
+      7QYNdW0OLPQcnWeiiICU93ctovgdwkkssOfcVbmuaEDbCTLF275VURSwSYHcWHaRPOcsur+9WROK
+      5AAIIQ18ac+G5e1eah4s/SCGbVL/3FJi92L1zbL0ycOIiJIDsIjGrz/PP/ITxNBBM7incG5RIfdD
+      vOR/Id4yJd/4VY8jqrNTKp3QEJ+BbSg5f7MpiFy5J4Usv7IpJNs8HM4/JO9J40YGQQ9v4jooOxPK
+      rED8zWonQppM/6VdVf07WCV7BquTurQLv9nixpL6gxreOjjdwBz4OL4SkALXTqrDGB+wgRN2NjmM
+      NTHah6SsekhNknrWx8bESZfnb0ZeVGvnw/cIssoLtDUOPHgE1f7lGTDsxDsjJ+LConImhFXOAVzv
+      77RWjV/UWkhwX6RkTe3p7cbXDfKk16ExJznYWkRUtoU8Ez3yfe5BKliDIbdDfZQr5ozFR+nHkDX9
+      kvwtI49JMGBHMaYW2wk53Mkv3T7siXt/XuNKciiCrsrBIraL6Ms+slb1Y5Eirnw0/sEwAX78uVwa
+      1hjWNRHADL4jnNDGB3wSAFWS3JklMht8kQDJX0k1po9Qypb1/B/2EPKrLRZ0QC2T2ced0/7H9/iT
+      s3Xp8qx8YYFQwSXRO3QozUEnHUlV+CC6YOxU8tzi9n6SYrxlMjezZWlxYybw6JArNY8pU8Nzjmv6
+      4R5mzLbyg99mv0tappIQd3UnZwBmpuHNZnqYoAgXaTtXdbkcWwFXMi98E4BSZkPzYmdiD+kfhf1y
+      swZxjZIb+L/ft9AKBOWMMeq7IrUaPMAlMQeEBW94/IDiI57LokiTqQO8ZLsAp4K978qLlz5f3vuj
+      wvU+v5PUtZOEuCSPzv8lMk2mswk8RF9FR5ATHsHfl7wG7mm6UczQRlDkKiRZi7stznLLy5OOcL6m
+      bBq21ZULx7fkTZssDTafxas/0JOvw38LBjS3wztxQzU4xnrdHAULWe+PRm9AGCvHyWugJrzu09AI
+      FG9M+EqqZYw/NqaKd1k+ucAfUExqUryC4JdnNI5WvQ7DgzgganJtmls/Sc7Yyed/xKGulyJcwnh3
+      3FdpL6ZBFTrAATSnvpmAOBexndu/GjRCvfj70OTdf8rqk2k/48KJlGp3mm5EI8SbemqU+3Ufxc4P
+      Z9pyRo0IhcuyPojZK2KU4B+rfZA29RjA87/Ru/4HNS3MQzkV0Rip3Q6qG7vXnIvcWdtva70EAba/
+      JrKPZcvNI2/ef2K4OIKwiHcck479YERscZ8zEcuC7gQEHnRaefGLDNC6bdUIZXpDha9ZEHhtJU8j
+      L+pwkMruIDnNbm4xIvoQPM34jtrbvsmZCf14RsG0gMwINR7zQnOH42+EpYgysvw0X7heD/EJvov/
+      81n8LaRg54LKgQ6O13mpCeW/lycyJKhm0hegIifWH8sS8EkESRB0SwP/eKqTWurvZKsVgYo6y5Bv
+      IC7DlIIWmpCD0WWbuqops/c6p2qcMPQJm65lU/4rIcez6bgUbcIQXjVjohu/hMTmGuII5nYCR+0a
+      9nWIqorlAQ/eMPejDZw8wNOdvkq1zPKbkgJke6Rg7qmQe4+p8HCMHahL0HKQyiW4vV2CztgoYp0H
+      KDIRGYZvaP3STR2iNVXu+8R4VoSiCroiMlz74qbEhAjg/XKPd/OYUM2rZK61Cmh5db8d7DYw00i0
+      XxmB0OWa920UndlK5uewuK+m8jvfyxYwEflUQEnkiahBFKZik7hqMFdkmh4oyGbSIUda6CA/V33C
+      xpJpZjO27pLI3jukOx4TtmU8MH/l7d0sqvRPRuHFjmsQvCOLIm3NTa4ZOM/4pj3uW53NJkBNx8eE
+      XIBvYY+CxrMblIvLSvGmpUds+8quW46iu/4LFyO2Jp2qK/oYVizcgYSik58mxrdM+sLKZs5FHP4J
+      O6QSV+ySwGKabaWLhB7+1B/oOOl/8lRfvIGGBXUXidextmXCq2r8P5lPgsYgd5Aq0RAalOsQCQhB
+      1UPSsSrZvP4hbHrv4EwKWvRWlOwZUzioag7lijoPUN82sB2aYMB7Mr1dwC3KR8fAydkaMuG+UVEO
+      6JPs23Sp69u8oNizkktrh8rG9J6P8V9Opl0vN1ajvM0jHQHxDHEO8YqBTamMg4UmCfEmsDK4wqmM
+      IrTg0WxwOSNVhHR7FcN5Uk7Hmt3PLeFW4sx6tYFv01LvzoclyWdUS8fxvtC5OCj70A110zdlpb+3
+      2mQ6vL7tphvUB1pBEI/AzsS4REBUZNYM1htlhsn0y3WJg8xyleSNK6lAEzN3DtgozTrgUKxO/d3T
+      xFoXap6D+jK9SILLcab7vLcxOI2k9xdbPbrnWC9BS6OLSm+JVO0mfUuE46qnICREZoUxf9WjnLQ1
+      D7IZ46dQyPYcvwkDuF8gOY+yk7VjiqijFqEDXjQ8qBpzEanzMCMbiv1MEFJNcahtkT7lqTooWokT
+      2SP+TmmcWWfI8PeOkGPC6LbsJu/sKicQAbn11OgYhL3JIob51YD09XH6IxQMfIdlyd4dsQZCQw1y
+      4nOnGjJBzwRwytYloQqOT+mqe0QInb2UyiG1gXPaAFw94/pt1lO2o0bhc5GgYUz+RmxdFiWkZlta
+      071rKmaQYvEfGaLhBXppx+imxfOcvinaTF7GGKdFkhv7AzCEr5ZxtccIZgU07XSkd43zWDO5s2M2
+      MwzOczzt+ZRxcbigUwAULbA2DyNNU9CczfkFqf2At426dEJJWaLwwDb4mieJfh5O6ZL8blORDry6
+      AuWULCrHWj2Uy6o/995P/FvJwu95djJLfTkk6UaCL4pgBYH9wVipbOE1pCHy5/B60OC28uqpo7+t
+      anBmIrxyrb92W8SjfPxIIRB7voSHYoUVvK5nmAr1q1Q+uY1ueCUtBtUB01XKleNe+plvRR19MTEa
+      6jFNo0C/qZBX0F82uQcNerda/rQnXhJULnTbDWr9Rft1GNT3ZRpTxqIP5+DwMD3mneiJjgFM3+Vg
+      +Mrj3trDBTQhQyTk0p+i0Ugz8K+Es8q1wMgbH9PNHuhop3rDFEMM3VfJ7NNtEaTLhSq0Sx30Se4A
+      pT+m/TMTny1g/WEQdMv49A+wslatBjnWXO4cKUHpB2RNtLq4Ms9xlCe1Puy8HySXcGlaJM69Rqmu
+      /sEGUaxwfEq0w6xIyyTFV2a89+M4OC12furqHlSwA439fCEeuxXZggWDq4NNKRQnwB0kSOm3kER0
+      X2xepHxXzahbjTcAVmH9phDW/1Epq8hN6dssslrz3jqRrQO8PmQ6AvxHkPfXjpwHbZf8KjQSeck6
+      x8+a8m09AmN79baCisysWT2M6NVJyTrfo1jqfFzSW8azHaMSACMO0bLu0Oco471xmA048KF+gFzg
+      bAyDKWHpvYm4wS2Qi+ciH1cgMyxXklkiL4pQySmOWLRKs3K7FAyF+5k8mqsrYSLiHtdqFhd1wj+v
+      axcD5vCWEPpy/fD336A27jZKs7hlKrScIxbGEPecVcuzzXYgQOFHV9GMUkNeTUOpvZs0ybVeNGky
+      vrlA3/groJS8Dc2uEv1LJQ1Z+r1dvh57qHMAHVeozL1sEQtVMp7kjT00BHmd56mcvF4PFc1wGR9T
+      Og0X31UzSGI2+LrnJNyM9llLaCdP3hbP8BokcsWKBuIppOGbs5JtfN0745txQ/ULPMH5izc6z6Tf
+      f7W2Q7RW9mbXI+dQ0hTwYWZBEgoqeLFlkR3IzBcr53Ci4eoxYPMZhgDnwjV6DPs=</xenc:CipherValue>
+      </xenc:CipherData>
+          </xenc:EncryptedData>
+      <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="4">
+      <ds:SignedInfo>
+      <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
+      <InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="wsse S"/>
+      </ds:CanonicalizationMethod>
+      <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/>
+      <ds:Reference URI="#1">
+      <ds:Transforms>
+      <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
+      <InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="ds wsse S"/>
+      </ds:Transform>
+      </ds:Transforms>
+      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
+      <ds:DigestValue>cHmTDN6hwJkJ7ZQ4K5jfDBX2EAg=</ds:DigestValue>
+      </ds:Reference>
+      </ds:SignedInfo>
+      <ds:SignatureValue>eUX07YDVpq71fQ43a+dqq3Te+V0=</ds:SignatureValue>
+      <ds:KeyInfo>
+      <wsse:SecurityTokenReference>
+      <wsse:Reference URI="#XWSSGID-1153436232269143755810"/>
+      </wsse:SecurityTokenReference>
+      </ds:KeyInfo>
+      </ds:Signature>
+      </wsse:Security>
+      <To xmlns="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/w
+ss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-1153436232219296575118">http
+://131.107.72.15/Security_Federation_FederatedService_Indigo/Symmetric.svc/Scenario_6_IssuedTokenFor
+CertificateSecureConversation_MutualCertificate11</To>
+      <MessageID xmlns="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-ope
+n.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-1153436232219-1738014
+962">uuid:85e2ee55-ad08-4f23-9146-de477243f284</MessageID>
+      <ReplyTo xmlns="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.
+org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-11534362322191988867143
+">
+      <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
+      </ReplyTo>
+      <Action xmlns="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.o
+rg/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-1153436232219414195439">
+http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT</Action>
+      </S:Header>
+      <S:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-ut
+ility-1.0.xsd" wsu:Id="XWSSGID-11534362322191212975073">
+      <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Id="XWSSGID-115343623
+22791556489723" Type="http://www.w3.org/2001/04/xmlenc#Content">
+          <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/>
+          <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
+      <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-20
+0401-wss-wssecurity-secext-1.0.xsd">
+      <wsse:Reference URI="#XWSSGID-1153436232279-1717841759"/>
+      </wsse:SecurityTokenReference>
+      </ds:KeyInfo>
+          <xenc:CipherData>
+      <xenc:CipherValue>nLnBkO5jNjQx7cnO4/ven6FmZ6THe73S/V6/tsZdfYuUI7saLrNf/dj/AFBRQhgr949gJ1
+GMuj04
+      +ZJ6ES891qroekDApSF4Bby38Nu5hL6vGLunEMofwyhcReqhTqlvpc4WqzVSQXC4FLudRjBrPGzY
+      2ezbPWSxn68QhsDo1vE9hAoWlPpuyi0TRmSlnn/P1Z0RPzXY4GcYXvwUOohx8TmwmDOeXTbReKXd
+      klpWOdOwjVxprK5UxOPne2K0qvZX9ciRsXJyv7Yt4FAtuT32R2b8aajEsmSB6EdzXCxNVZZw5knw
+      el6rHdJ3dG6lxcT6+IVuk2iHg+jk53I382z2x+hfHv3l7+dJyulfIp2k9XXIcBhyvkWP+1ZWtfeD
+      MzHoPj1JmZG7/NHd20BwNVNKxZwuv/qK09Ok6AoHwOfCwssx3rXKlkBJ+9mvG5SIGnOZ8u1TGfP6
+      7+Dq8cbdOVxbIvvw2N8Pm7/9Jr9oWLvCdmo0QuwLEH7PHzg0NZsPcdkX1Z7zpyZKixFQaXCczF2W
+      yq7hWP12nUw3hTBhA3CYL/Y05Ter/+D6wyBG6KLF0xFksg9Dm7GioGBhgpzY1exu7vbAKohwUJ+H
+      mQlr6cvi6RWcxB6VIMGEnZUKLJK2+F7ym60/gAEbBXQrVp8UndTV/Ut3wJcIisEs7uHZKI7WZUK9
+      Z8sZO4Lcl0ngnTXV5CYGfStw+uVWttJV1kjRkmzLNmYSDYuZ59bLgrKU5duA1OkGX+Q2Kejdc/Sg
+      GU5/wlufV+y2Qamwot0DSPNWAHUWZZSciLSbPSKSkk4FExj1o+ohDfvIRdvt4vXPzTHyEt0gvYh6
+      9vPzgVWsBjeETMTH88VPJoUeC0zfOROqYFHB51hRo7+VzRCsd3Q/ghFY5ai1xr5c5fKjuhcWMFDq
+      Caught Exception: javax.xml.stream.XMLStreamException: xmlns has been already bound to u
+rn:oasis:names:tc:SAML:1.0:assertion. Rebinding it to  is an error
+      fnHGPO5z4Ffv+10rd353oB9d+TVRFItlnDImYY/1Hd5bfKfFeaImxgdE3SfhusDet6edXnnPswHt
+      4h0rpMUHAB1hvGjQFv/YJv/Bxjr0fzNTrY69UUXO9Oqge26+xYGzgM2JBYDTs2Pee48RhkXa8Ee7
+      94WNNKweAtWm3IEoZWrnIyvxTbT3e9Hq07VVNLbak/pDzp1053UE71vv4poGd1eE3ZFZ88+X90tG
+      0F5l9Fi8X3iovnLt4+OeE5XV4FxeLxU8Je/SVb9adEKeRHJS4w6jtepNBrrQQBKLCQaZ3e4NglfL
+      61uf7m+wW+ASpL9a5MfeSw==</xenc:CipherValue>
+      </xenc:CipherData>
+          </xenc:EncryptedData>
+      </S:Body>
+          </S:Envelope>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/testEight.xml.org	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<!--all elements here are explicitly in the HTML namespace--><?xml version="1.0" encoding="utf-8"?><html:html xmlns:html="http://www.w3.org/TR/REC-html40"><html:head><html:title>Frobnostication</html:title></html:head><html:body><html:p>Moved to<html:a href="http://frob.com">here</html:a></html:p></html:body></html:html>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/testFive.xml.org	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<!--all elements here are explicitly in the HTML namespace--><?xml version="1.0" encoding="utf-8"?><html:html><html:head><html:title>Frobnostication</html:title></html:head><html:body><html:p>Moved to<html:a href="http://frob.com">here</html:a></html:p></html:body></html:html>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/testFour.xml.org	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8"?><elmeOne><elemTwo><emptyElem testAttr="testValue"/><elemThree><elemFour>TestCharacterData<elemFive></elemFive></elemFour></elemThree></elemTwo></elmeOne>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/testOne.xml.org	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8"?><elmeOne><elemTwo><elemThree><elemFour><elemFive></elemFive></elemFour></elemThree></elemTwo></elmeOne>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/testSeven.xml.org	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<!--all elements here are explicitly in the HTML namespace--><?xml version="1.0" encoding="utf-8"?><html:html xmlns:html="http://www.w3.org/TR/REC-html40"><html:head><html:title>Frobnostication</html:title></html:head><html:body><html:p>Moved to<html:a href="http://frob.com">here</html:a></html:p></html:body></html:html>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/testSix.xml.org	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<!--all elements here are explicitly in the HTML namespace--><?xml version="1.0" encoding="utf-8"?><htmlNewPrefix:html><htmlNewPrefix:head><htmlNewPrefix:title>Frobnostication</htmlNewPrefix:title></htmlNewPrefix:head><htmlNewPrefix:body><htmlNewPrefix:p>Moved to<htmlNewPrefix:a href="http://frob.com">here</htmlNewPrefix:a></htmlNewPrefix:p></htmlNewPrefix:body></htmlNewPrefix:html>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/testThree.xml.org	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8"?><elmeOne><elemTwo><emptyElem/><elemThree><elemFour><elemFive></elemFive></elemFour></elemThree></elemTwo></elmeOne>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/basic-form.vxml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE vxml PUBLIC "-//W3C//DTD VOICEXML 2.0//EN" "vxml.dtd">
+
+<vxml version="2.0"
+	xmlns="http://www.w3.org/2001/vxml"
+	xml:lang="en-US">
+
+	<form>
+		<field name="selection">
+			<prompt>
+				Please choose News, Weather, or Sports.
+			</prompt>
+			
+			<grammar type="application/x-nuance-gsl">
+				[ news weather sports ]
+			</grammar>
+		</field>
+
+		<block>
+			<submit next="select.jsp"/>
+			<prompt>Form is being submited.</prompt>
+		</block>
+	</form>
+
+</vxml>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/report.dtd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,31 @@
+<!NOTATION cgm PUBLIC "Computer Graphics Metafile">
+ <!NOTATION ccitt PUBLIC "CCITT group 4 raster">
+
+ <!ENTITY % text "(#PCDATA | emph)*">
+ <!ENTITY infoflow SYSTEM "infoflow.ccitt" NDATA ccitt>
+ <!ENTITY tagexamp SYSTEM "tagexamp.cgm"   NDATA cgm>
+
+ <!ELEMENT report (title, chapter+)>
+ <!ELEMENT title %text;>
+ <!ELEMENT chapter (title, intro?, section*)>
+ <!ATTLIST chapter
+               shorttitle CDATA #IMPLIED>
+ <!ELEMENT intro (para | graphic)+>
+ <!ELEMENT section (title, intro?, topic*)>
+ <!ATTLIST section
+               shorttitle CDATA #IMPLIED
+               sectid ID #IMPLIED>
+ <!ELEMENT topic (title, (para | graphic)+)>
+ <!ATTLIST topic
+               shorttitle CDATA #IMPLIED
+               topicid ID #IMPLIED>
+ <!ELEMENT para (#PCDATA | emph | xref)*>
+ <!ATTLIST para
+               security (u | c | s | ts) "u">
+ <!ELEMENT emph %text;>
+ <!ELEMENT graphic EMPTY>
+ <!ATTLIST graphic
+               graphname ENTITY #REQUIRED>
+ <!ELEMENT xref EMPTY>
+ <!ATTLIST xref
+               xrefid IDREF #IMPLIED>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/sgml-bad-systemId.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,103 @@
+<!DOCTYPE report SYSTEM "report-does-not-exist.dtd" [
+    <!ENTITY foo "bar">
+]>
+<report>
+<title>Getting started with SGML</title>
+<chapter>
+<title>The business challenge</title>
+<intro>
+<para>With the ever-changing and growing global market, companies and
+ large organizations are searching for ways to become more viable and
+ competitive. Downsizing and other cost-cutting measures demand more
+ efficient use of corporate resources. One very important resource is
+ an organization's information.</para>
+<para>As part of the move toward integrated information management,
+whole industries are developing and implementing standards for
+exchanging technical information. This report describes how one such
+standard, the Standard Generalized Markup Language (SGML), works as
+part of an overall information management strategy.</para>
+<graphic graphname="infoflow"/></intro></chapter>
+<chapter>
+<title>Getting to know SGML</title>
+<intro>
+<para>While SGML is a fairly recent technology, the use of
+<emph>markup</emph> in computer-generated documents has existed for a
+while.</para></intro>
+<section shorttitle="What is markup?">
+<title>What is markup, or everything you always wanted to know about
+document preparation but were afraid to ask?</title>
+<intro>
+<para>Markup is everything in a document that is not content. The
+traditional meaning of markup is the manual <emph>marking</emph> up
+of typewritten text to give instructions for a typesetter or
+compositor about how to fit the text on a page and what typefaces to
+use. This kind of markup is known as <emph>procedural markup</emph>.</para></intro>
+<topic topicid="top1">
+<title>Procedural markup</title>
+<para>Most electronic publishing systems today use some form of
+procedural markup. Procedural markup codes are good for one
+presentation of the information.</para></topic>
+<topic topicid="top2">
+<title>Generic markup</title>
+<para>Generic markup (also known as descriptive markup) describes the
+<emph>purpose</emph> of the text in a document. A basic concept of
+generic markup is that the content of a document must be separate from
+the style. Generic markup allows for multiple presentations of the
+information.</para></topic>
+<topic topicid="top3">
+<title>Drawbacks of procedural markup</title>
+<para>Industries involved in technical documentation increasingly
+prefer generic over procedural markup schemes. When a company changes
+software or hardware systems, enormous data translation tasks arise,
+often resulting in errors.</para></topic></section>
+<section shorttitle="What is SGML?">
+<title>What <emph>is</emph> SGML in the grand scheme of the universe, anyway?</title>
+<intro>
+<para>SGML defines a strict markup scheme with a syntax for defining
+document data elements and an overall framework for marking up
+documents.</para>
+<para>SGML can describe and create documents that are not dependent on
+any hardware, software, formatter, or operating system. Since SGML documents
+conform to an international standard, they are portable.</para></intro></section>
+<section shorttitle="How does SGML work?">
+<title>How is SGML and would you recommend it to your grandmother?</title>
+<intro>
+<para>You can break a typical document into three layers: structure,
+content, and style. SGML works by separating these three aspects and
+deals mainly with the relationship between structure and content.</para></intro>
+<topic topicid="top4">
+<title>Structure</title>
+<para>At the heart of an SGML application is a file called the DTD, or
+Document Type Definition. The DTD sets up the structure of a document,
+much like a database schema describes the types of information it
+handles.</para>
+<para>A database schema also defines the relationships between the
+various types of data. Similarly, a DTD specifies <emph>rules</emph>
+to help ensure documents have a consistent, logical structure.</para></topic>
+<topic topicid="top5">
+<title>Content</title>
+<para>Content is the information itself. The method for identifying
+the information and its meaning within this framework is called
+<emph>tagging</emph>. Tagging must
+conform to the rules established in the DTD (see <xref xrefid="top4"/>).</para>
+<graphic graphname="tagexamp"/></topic>
+<topic topicid="top6">
+<title>Style</title>
+<para>SGML does not standardize style or other processing methods for
+information stored in SGML.</para></topic></section></chapter>
+<chapter>
+<title>Resources</title>
+<section>
+<title>Conferences, tutorials, and training</title>
+<intro>
+<para>The Graphic Communications Association has been
+instrumental in the development of SGML. GCA provides conferences,
+tutorials, newsletters, and publication sales for both members and
+non-members.</para>
+<para security="c">Exiled members of the former Soviet Union's secret
+police, the KGB, have infiltrated the upper ranks of the GCA and are
+planning the Final Revolution as soon as DSSSL is completed.</para>
+</intro>
+</section>
+</chapter>
+</report>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/sgml.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,101 @@
+<!DOCTYPE report SYSTEM "report.dtd">
+<report>
+<title>Getting started with SGML</title>
+<chapter>
+<title>The business challenge</title>
+<intro>
+<para>With the ever-changing and growing global market, companies and
+ large organizations are searching for ways to become more viable and
+ competitive. Downsizing and other cost-cutting measures demand more
+ efficient use of corporate resources. One very important resource is
+ an organization's information.</para>
+<para>As part of the move toward integrated information management,
+whole industries are developing and implementing standards for
+exchanging technical information. This report describes how one such
+standard, the Standard Generalized Markup Language (SGML), works as
+part of an overall information management strategy.</para>
+<graphic graphname="infoflow"/></intro></chapter>
+<chapter>
+<title>Getting to know SGML</title>
+<intro>
+<para>While SGML is a fairly recent technology, the use of
+<emph>markup</emph> in computer-generated documents has existed for a
+while.</para></intro>
+<section shorttitle="What is markup?">
+<title>What is markup, or everything you always wanted to know about
+document preparation but were afraid to ask?</title>
+<intro>
+<para>Markup is everything in a document that is not content. The
+traditional meaning of markup is the manual <emph>marking</emph> up
+of typewritten text to give instructions for a typesetter or
+compositor about how to fit the text on a page and what typefaces to
+use. This kind of markup is known as <emph>procedural markup</emph>.</para></intro>
+<topic topicid="top1">
+<title>Procedural markup</title>
+<para>Most electronic publishing systems today use some form of
+procedural markup. Procedural markup codes are good for one
+presentation of the information.</para></topic>
+<topic topicid="top2">
+<title>Generic markup</title>
+<para>Generic markup (also known as descriptive markup) describes the
+<emph>purpose</emph> of the text in a document. A basic concept of
+generic markup is that the content of a document must be separate from
+the style. Generic markup allows for multiple presentations of the
+information.</para></topic>
+<topic topicid="top3">
+<title>Drawbacks of procedural markup</title>
+<para>Industries involved in technical documentation increasingly
+prefer generic over procedural markup schemes. When a company changes
+software or hardware systems, enormous data translation tasks arise,
+often resulting in errors.</para></topic></section>
+<section shorttitle="What is SGML?">
+<title>What <emph>is</emph> SGML in the grand scheme of the universe, anyway?</title>
+<intro>
+<para>SGML defines a strict markup scheme with a syntax for defining
+document data elements and an overall framework for marking up
+documents.</para>
+<para>SGML can describe and create documents that are not dependent on
+any hardware, software, formatter, or operating system. Since SGML documents
+conform to an international standard, they are portable.</para></intro></section>
+<section shorttitle="How does SGML work?">
+<title>How is SGML and would you recommend it to your grandmother?</title>
+<intro>
+<para>You can break a typical document into three layers: structure,
+content, and style. SGML works by separating these three aspects and
+deals mainly with the relationship between structure and content.</para></intro>
+<topic topicid="top4">
+<title>Structure</title>
+<para>At the heart of an SGML application is a file called the DTD, or
+Document Type Definition. The DTD sets up the structure of a document,
+much like a database schema describes the types of information it
+handles.</para>
+<para>A database schema also defines the relationships between the
+various types of data. Similarly, a DTD specifies <emph>rules</emph>
+to help ensure documents have a consistent, logical structure.</para></topic>
+<topic topicid="top5">
+<title>Content</title>
+<para>Content is the information itself. The method for identifying
+the information and its meaning within this framework is called
+<emph>tagging</emph>. Tagging must
+conform to the rules established in the DTD (see <xref xrefid="top4"/>).</para>
+<graphic graphname="tagexamp"/></topic>
+<topic topicid="top6">
+<title>Style</title>
+<para>SGML does not standardize style or other processing methods for
+information stored in SGML.</para></topic></section></chapter>
+<chapter>
+<title>Resources</title>
+<section>
+<title>Conferences, tutorials, and training</title>
+<intro>
+<para>The Graphic Communications Association has been
+instrumental in the development of SGML. GCA provides conferences,
+tutorials, newsletters, and publication sales for both members and
+non-members.</para>
+<para security="c">Exiled members of the former Soviet Union's secret
+police, the KGB, have infiltrated the upper ranks of the GCA and are
+planning the Final Revolution as soon as DSSSL is completed.</para>
+</intro>
+</section>
+</chapter>
+</report>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/sgml_Bug6509774.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,103 @@
+<!DOCTYPE report SYSTEM "report.dtd" [
+    <!ENTITY foo "bar">
+]>
+<report>
+<title>Getting started with SGML</title>
+<chapter>
+<title>The business challenge</title>
+<intro>
+<para>With the ever-changing and growing global market, companies and
+ large organizations are searching for ways to become more viable and
+ competitive. Downsizing and other cost-cutting measures demand more
+ efficient use of corporate resources. One very important resource is
+ an organization's information.</para>
+<para>As part of the move toward integrated information management,
+whole industries are developing and implementing standards for
+exchanging technical information. This report describes how one such
+standard, the Standard Generalized Markup Language (SGML), works as
+part of an overall information management strategy.</para>
+<graphic graphname="infoflow"/></intro></chapter>
+<chapter>
+<title>Getting to know SGML</title>
+<intro>
+<para>While SGML is a fairly recent technology, the use of
+<emph>markup</emph> in computer-generated documents has existed for a
+while.</para></intro>
+<section shorttitle="What is markup?">
+<title>What is markup, or everything you always wanted to know about
+document preparation but were afraid to ask?</title>
+<intro>
+<para>Markup is everything in a document that is not content. The
+traditional meaning of markup is the manual <emph>marking</emph> up
+of typewritten text to give instructions for a typesetter or
+compositor about how to fit the text on a page and what typefaces to
+use. This kind of markup is known as <emph>procedural markup</emph>.</para></intro>
+<topic topicid="top1">
+<title>Procedural markup</title>
+<para>Most electronic publishing systems today use some form of
+procedural markup. Procedural markup codes are good for one
+presentation of the information.</para></topic>
+<topic topicid="top2">
+<title>Generic markup</title>
+<para>Generic markup (also known as descriptive markup) describes the
+<emph>purpose</emph> of the text in a document. A basic concept of
+generic markup is that the content of a document must be separate from
+the style. Generic markup allows for multiple presentations of the
+information.</para></topic>
+<topic topicid="top3">
+<title>Drawbacks of procedural markup</title>
+<para>Industries involved in technical documentation increasingly
+prefer generic over procedural markup schemes. When a company changes
+software or hardware systems, enormous data translation tasks arise,
+often resulting in errors.</para></topic></section>
+<section shorttitle="What is SGML?">
+<title>What <emph>is</emph> SGML in the grand scheme of the universe, anyway?</title>
+<intro>
+<para>SGML defines a strict markup scheme with a syntax for defining
+document data elements and an overall framework for marking up
+documents.</para>
+<para>SGML can describe and create documents that are not dependent on
+any hardware, software, formatter, or operating system. Since SGML documents
+conform to an international standard, they are portable.</para></intro></section>
+<section shorttitle="How does SGML work?">
+<title>How is SGML and would you recommend it to your grandmother?</title>
+<intro>
+<para>You can break a typical document into three layers: structure,
+content, and style. SGML works by separating these three aspects and
+deals mainly with the relationship between structure and content.</para></intro>
+<topic topicid="top4">
+<title>Structure</title>
+<para>At the heart of an SGML application is a file called the DTD, or
+Document Type Definition. The DTD sets up the structure of a document,
+much like a database schema describes the types of information it
+handles.</para>
+<para>A database schema also defines the relationships between the
+various types of data. Similarly, a DTD specifies <emph>rules</emph>
+to help ensure documents have a consistent, logical structure.</para></topic>
+<topic topicid="top5">
+<title>Content</title>
+<para>Content is the information itself. The method for identifying
+the information and its meaning within this framework is called
+<emph>tagging</emph>. Tagging must
+conform to the rules established in the DTD (see <xref xrefid="top4"/>).</para>
+<graphic graphname="tagexamp"/></topic>
+<topic topicid="top6">
+<title>Style</title>
+<para>SGML does not standardize style or other processing methods for
+information stored in SGML.</para></topic></section></chapter>
+<chapter>
+<title>Resources</title>
+<section>
+<title>Conferences, tutorials, and training</title>
+<intro>
+<para>The Graphic Communications Association has been
+instrumental in the development of SGML. GCA provides conferences,
+tutorials, newsletters, and publication sales for both members and
+non-members.</para>
+<para security="c">Exiled members of the former Soviet Union's secret
+police, the KGB, have infiltrated the upper ranks of the GCA and are
+planning the Final Revolution as soon as DSSSL is completed.</para>
+</intro>
+</section>
+</chapter>
+</report>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/testfile1.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,8 @@
+<?xml version="1.0" standalone="no" ?>
+<ns1:foo  attr1="defaultAttr1" ns1:attr1="ns1Attr1" ns2:attr1="ns2Attr1" attr2="defaultAttr2" attr3="defaultAttr3" xmlns:ns1="http://ns1.java.com"  xmlns:ns2="http://ns2.java.com">
+<!--description-->
+    content text
+    <![CDATA[<greeting>Hello</greeting>]]>
+    other content
+</ns1:foo>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/testfile2.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ns1:foo xmlns:ns="http://ns1.java.com" xmlns:ns1="http://ns1.java.com"  xmlns:ns2="http://ns2.java.com" >
+ <!--description-->content text
+    <![CDATA[<greeting>Hello</greeting>]]>
+    other content
+</ns1:foo>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/testfile3.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,8 @@
+<?xml version="1.0"  encoding="utf-8" ?>
+<ns1:foo  xmlns:ns1="http://ns1.java.com"  xmlns:ns2="http://ns2.java.com">                  
+<!--description-->
+content text
+    <![CDATA[<greeting>Hello</greeting>]]>
+    other content
+</ns1:foo>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/testfile4.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,4 @@
+<?xml version="1.0"  encoding="utf-8" ?>
+<ns1:foo  attr1="defaultAttr1" xmlns:ns1="http://ns1.java.com"  xmlns:ns2="http://ns2.java.com">
+</ns1:foo>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/toys.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Document   : toys.xml
+    Created on : August 11, 2003, 6:42 PM
+    Author     : Prasad Subramanian
+    Description:
+-->
+
+<toys>
+    <toy>
+        <name>Lego-Model01</name>
+        <price>65.99</price>
+    </toy>
+    <toy>
+        <name>Lego-Model2</name>
+        <price>69.99</price>
+    </toy>
+    <toy>
+        <name>Lego-Model3</name>
+        <price>14.99</price>
+    </toy>
+    <toy>
+        <name>Barbie-Pink</name>
+        <price>12.99</price>
+    </toy>
+    <toy>
+        <name>Barbie-Blue</name>
+        <price>13.99</price>
+    </toy>        
+    <toy>
+        <name>Barbie-White</name>
+        <price>13.99</price>
+    </toy>   
+    <toy>
+        <name>Barbie-Plain</name>
+        <price>13.99</price>
+    </toy>           
+</toys>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/stream/vxml.dtd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,479 @@
+<!-- 
+VoiceXML 2.1 DTD (20031228)
+
+Copyright 1998-2003 W3C (MIT, ERCIM, Keio), All Rights Reserved. 
+
+Permission to use, copy, modify and distribute the VoiceXML DTD and 
+its accompanying documentation for any purpose and without fee is 
+hereby granted in perpetuity, provided that the above copyright 
+notice and this paragraph appear in all copies.  
+
+The copyright holders make no representation about the suitability 
+of the DTD for any purpose. It is provided "as is" without expressed 
+or implied warranty.
+-->
+
+<!ENTITY % audio "#PCDATA | audio | enumerate | value">
+<!ENTITY % bargeintype "( speech | hotword )">
+<!ENTITY % boolean "(true|false)">
+<!ENTITY % content.type "CDATA">
+<!ENTITY % duration "CDATA">
+<!ENTITY % event.handler "catch | help | noinput | nomatch | error">
+<!ENTITY % event.name "NMTOKEN">
+<!ENTITY % event.names "NMTOKENS">
+<!ENTITY % executable.content "%audio; | assign | clear | data | disconnect | 
+    exit | foreach |goto | if | log | prompt | 
+	reprompt | return | script | submit | throw | var ">
+<!ENTITY % expression "CDATA">
+<!ENTITY % restrictedvariable.name "NMTOKEN">
+<!ENTITY % variable.name "CDATA">
+<!ENTITY % restrictedvariable.names "NMTOKENS">
+<!ENTITY % variable.names "CDATA">
+<!ENTITY % integer "CDATA">
+<!ENTITY % item.attrs "name		%restrictedvariable.name; #IMPLIED 
+	cond		%expression;	#IMPLIED
+	expr		%expression;	#IMPLIED ">
+<!ENTITY % uri "CDATA">
+<!ENTITY % cache.attrs "fetchhint	(prefetch|safe)	#IMPLIED
+	fetchtimeout	%duration;	#IMPLIED
+	maxage		%integer;	#IMPLIED
+	maxstale	%integer;	#IMPLIED">
+<!ENTITY % next.attrs "next		%uri;		#IMPLIED
+	expr		%expression;	#IMPLIED ">
+<!ENTITY % submit.attrs "method		(get|post)	'get'
+	enctype		%content.type;	'application/x-www-form-urlencoded'
+	namelist	%variable.names;	#IMPLIED">
+<!ENTITY % throw.attrs "event		%event.name;	#IMPLIED
+	eventexpr	%expression;	#IMPLIED
+	message		CDATA		#IMPLIED
+	messageexpr	%expression;	#IMPLIED">
+<!ENTITY % variable "block | data | field | var">
+<!--================================= Root ================================-->
+<!ELEMENT vxml (%event.handler; | data | form | link | menu | meta | metadata | 
+                property | script | var)+>
+<!ATTLIST vxml
+	application %uri; #IMPLIED
+	xml:base %uri; #IMPLIED
+	xml:lang NMTOKEN #IMPLIED
+	xmlns CDATA #REQUIRED
+	xmlns:xsi CDATA #IMPLIED
+	xsi:schemaLocation CDATA #IMPLIED
+	version CDATA #REQUIRED
+>
+<!ELEMENT meta EMPTY>
+<!ATTLIST meta
+	name NMTOKEN #IMPLIED
+	content CDATA #REQUIRED
+	http-equiv NMTOKEN #IMPLIED
+>
+
+<!ELEMENT metadata ANY>
+
+<!--================================ Prompts ==============================-->
+<!-- definitions adapted from SSML 1.0 DTD -->
+<!ENTITY % structure "p | s">
+<!ENTITY % sentence-elements "break | emphasis | mark | phoneme | prosody | 
+                              say-as | voice | sub">
+<!-- addition of enumerate and value elements as 'allowed-within-sentence' 
+     audio elements -->
+<!ENTITY % allowed-within-sentence " %audio; | %sentence-elements; ">
+
+<!-- Prompt is modelled on SSML 1.0 DTD speak element:
+- addition of 'bargein', 'bargeintype', 'cond', 'count' and 'timeout' attributes
+- removal of xmlns, xmlns:xsi, and xsi:schemaLocation attributes
+- version attribute fixed as "1.0"
+-->
+<!ELEMENT prompt (%allowed-within-sentence; | foreach | %structure; | lexicon 
+                  | metadata )*>
+<!ATTLIST prompt
+	bargein %boolean; #IMPLIED
+	bargeintype %bargeintype; #IMPLIED
+	cond %expression; #IMPLIED
+	count %integer; #IMPLIED
+	xml:lang NMTOKEN #IMPLIED
+	timeout %duration; #IMPLIED
+	xml:base %uri; #IMPLIED
+	version CDATA #FIXED "1.0"
+>
+<!ELEMENT enumerate (%allowed-within-sentence; | %structure;)*>
+<!ELEMENT reprompt EMPTY>
+
+<!--================================= Dialogs =============================-->
+<!ENTITY % input "grammar">
+<!ENTITY % scope "(document | dialog)">
+<!ELEMENT form (%input; | %event.handler; | filled | initial | object | link |
+              property | record | script | subdialog | transfer | %variable;)*>
+<!ATTLIST form
+	id ID #IMPLIED
+	scope %scope; "dialog"
+>
+<!ENTITY % accept.attrs "accept		(exact | approximate)	'exact'">
+<!ELEMENT menu (%audio; | choice | data | %event.handler; | prompt | property)*>
+<!ATTLIST menu
+	id ID #IMPLIED
+	scope %scope; "dialog"
+	%accept.attrs; 
+	dtmf %boolean; "false"
+>
+<!ELEMENT choice ( #PCDATA | %input; )*>
+<!ATTLIST choice
+	%cache.attrs; 
+	%accept.attrs; 
+	dtmf CDATA #IMPLIED
+	%throw.attrs; 
+	fetchaudio %uri; #IMPLIED
+	%next.attrs; 
+>
+<!--================================ Audio Output ==============================-->
+<!-- definitions adapted from SSML 1.0 DTD -->
+<!ELEMENT paragraph (%allowed-within-sentence; | sentence | s)*>
+<!ATTLIST paragraph
+	xml:lang NMTOKEN #IMPLIED
+>
+<!ELEMENT sentence (%allowed-within-sentence;)*>
+<!ATTLIST sentence
+	xml:lang NMTOKEN #IMPLIED
+>
+<!ELEMENT p (%allowed-within-sentence; | sentence | s)*>
+<!ATTLIST p
+	xml:lang NMTOKEN #IMPLIED
+>
+<!ELEMENT s (%allowed-within-sentence;)*>
+<!ATTLIST s
+	xml:lang NMTOKEN #IMPLIED
+>
+<!ELEMENT voice (%allowed-within-sentence; | %structure;)*>
+<!ATTLIST voice
+	xml:lang NMTOKEN #IMPLIED
+	gender (male | female | neutral) #IMPLIED
+	age %integer; #IMPLIED
+	variant %integer; #IMPLIED
+	name CDATA #IMPLIED
+>
+<!ELEMENT prosody (%allowed-within-sentence; | %structure;)*>
+<!ATTLIST prosody
+	pitch CDATA #IMPLIED
+	contour CDATA #IMPLIED
+	range CDATA #IMPLIED
+	rate CDATA #IMPLIED
+	duration %duration; #IMPLIED
+	volume CDATA #IMPLIED
+>
+<!-- Changes to SSML 1.0 DTD audio element:
+- src not obligatory, addition of 'expr' and caching attributes
+-->
+<!ELEMENT audio (%allowed-within-sentence; | %structure; | desc)*>
+<!ATTLIST audio
+	src %uri; #IMPLIED
+	expr %expression; #IMPLIED
+	%cache.attrs; 
+>
+<!ELEMENT desc (#PCDATA)>
+<!ELEMENT emphasis (%allowed-within-sentence;)*>
+<!ATTLIST emphasis
+	level (strong | moderate | none | reduced) "moderate"
+>
+<!-- Changes to SSML 1.0 DTD say-as element:
+- allows value element as child
+-->
+<!ELEMENT say-as (#PCDATA | value )*>
+<!ATTLIST say-as
+	interpret-as NMTOKEN #REQUIRED
+	format NMTOKEN #IMPLIED
+	detail NMTOKEN #IMPLIED
+>
+<!ELEMENT sub (#PCDATA)>
+<!ATTLIST sub
+	alias CDATA #REQUIRED
+>
+<!ELEMENT phoneme (#PCDATA)>
+<!ATTLIST phoneme
+	ph CDATA #REQUIRED
+	alphabet CDATA #IMPLIED
+>
+<!ELEMENT break EMPTY>
+<!ATTLIST break
+	time CDATA "medium"
+>
+<!ELEMENT mark EMPTY>
+<!ATTLIST mark
+	name ID #IMPLIED
+	nameexpr %expression; #IMPLIED
+>
+<!--================================ Fields ===============================-->
+<!ELEMENT field (%audio; | %event.handler; | filled | %input; | link | option |
+                 prompt | property)*>
+<!ATTLIST field
+	%item.attrs; 
+	type CDATA #IMPLIED
+	slot NMTOKEN #IMPLIED
+	modal %boolean; "false"
+>
+<!ELEMENT option (#PCDATA)>
+<!ATTLIST option
+	%accept.attrs; 
+	dtmf CDATA #IMPLIED
+	value CDATA #IMPLIED
+>
+<!ELEMENT var EMPTY>
+<!ATTLIST var
+	name %restrictedvariable.name; #REQUIRED
+	expr %expression; #IMPLIED
+>
+<!ELEMENT initial (%audio; | %event.handler; | link | prompt | property)*>
+<!ATTLIST initial
+	%item.attrs; 
+>
+<!ELEMENT block (%executable.content;)*>
+<!ATTLIST block
+	%item.attrs; 
+>
+<!ELEMENT assign EMPTY>
+<!ATTLIST assign
+	name %variable.name; #REQUIRED
+	expr %expression; #REQUIRED
+>
+<!ELEMENT clear EMPTY>
+<!ATTLIST clear
+	namelist %variable.names; #IMPLIED
+>
+<!ELEMENT value EMPTY>
+<!ATTLIST value
+	expr %expression; #REQUIRED
+>
+<!--================================== Events =============================-->
+<!ENTITY % event.handler.attrs "count		%integer;	#IMPLIED
+	cond		%expression;	#IMPLIED">
+<!ELEMENT catch (%executable.content;)*>
+<!ATTLIST catch
+	event %event.names; #IMPLIED
+	%event.handler.attrs; 
+>
+<!ELEMENT error (%executable.content;)*>
+<!ATTLIST error
+	%event.handler.attrs; 
+>
+<!ELEMENT help (%executable.content;)*>
+<!ATTLIST help
+	%event.handler.attrs; 
+>
+<!ELEMENT link (%input;)*>
+<!ATTLIST link
+	%cache.attrs; 
+	%next.attrs; 
+	fetchaudio %uri; #IMPLIED
+	dtmf CDATA #IMPLIED
+	%throw.attrs; 
+>
+<!ELEMENT noinput (%executable.content;)*>
+<!ATTLIST noinput
+	%event.handler.attrs; 
+>
+<!ELEMENT nomatch (%executable.content;)*>
+<!ATTLIST nomatch
+	%event.handler.attrs; 
+>
+<!ELEMENT throw EMPTY>
+<!ATTLIST throw
+	%throw.attrs; 
+>
+<!--============================= Grammar Input =============================-->
+<!-- definitions adapted from SRGS 1.0 DTD -->
+<!ENTITY % rule-expansion "#PCDATA | token | ruleref
+                              | item | one-of | tag ">
+<!ELEMENT ruleref EMPTY>
+<!ATTLIST ruleref
+	uri %uri; #IMPLIED
+	type CDATA #IMPLIED
+	special (NULL | VOID | GARBAGE) #IMPLIED
+	xml:lang NMTOKEN #IMPLIED
+>
+<!ELEMENT token (#PCDATA)>
+<!ATTLIST token
+	xml:lang NMTOKEN #IMPLIED
+>
+<!ELEMENT tag (#PCDATA)>
+<!ELEMENT one-of (item)+>
+<!ATTLIST one-of
+	xml:lang NMTOKEN #IMPLIED
+>
+<!ELEMENT item (%rule-expansion;)*>
+<!ATTLIST item
+	repeat NMTOKEN #IMPLIED
+	repeat-prob NMTOKEN #IMPLIED
+	weight NMTOKEN #IMPLIED
+	xml:lang NMTOKEN #IMPLIED
+>
+<!ELEMENT rule (%rule-expansion; | example)*>
+<!ATTLIST rule
+	id ID #REQUIRED
+	scope (private | public) "private"
+>
+<!ELEMENT example (#PCDATA)>
+<!ELEMENT lexicon EMPTY>
+<!ATTLIST lexicon
+	uri %uri; #REQUIRED
+	type CDATA #IMPLIED
+>
+<!-- Changes to SRGS 1.0 DTD grammar element:
+- mixed, unordered content model 
+- addition of 'scope', 'src', 'type', 'weight' and caching attributes
+- 'version' attribute is optional
+- removal of xmlns, xmlns:xsi, and xsi:schemaLocation attributes
+-->
+<!ELEMENT grammar (#PCDATA | meta | metadata | lexicon | rule)*>
+<!ATTLIST grammar
+	scope %scope; #IMPLIED
+	src %uri; #IMPLIED
+	srcexpr %expression; #IMPLIED
+	type CDATA #IMPLIED
+	weight CDATA #IMPLIED
+	%cache.attrs; 
+	tag-format %uri; #IMPLIED
+	xml:base %uri; #IMPLIED
+	version NMTOKEN #IMPLIED
+	xml:lang NMTOKEN #IMPLIED
+	root IDREF #IMPLIED
+	mode (voice | dtmf) "voice"
+>
+<!--============================= Audio Input =============================-->
+<!ELEMENT record (%audio; | %event.handler; | filled | %input; | prompt | 
+                  property)*>
+<!ATTLIST record
+	%item.attrs; 
+	type CDATA #IMPLIED
+	beep %boolean; "false"
+	maxtime %duration; #IMPLIED
+	modal %boolean; "true"
+	finalsilence %duration; #IMPLIED
+	dtmfterm %boolean; "true"
+>
+<!--============================ Call Control ============================-->
+<!ELEMENT disconnect EMPTY>
+<!ATTLIST disconnect
+	namelist %variable.names; #IMPLIED
+>
+
+<!ELEMENT transfer (%audio; | %event.handler; | filled | %input; | prompt | 
+                    property)*>
+<!ATTLIST transfer
+	%item.attrs; 
+	dest %uri; #IMPLIED
+	destexpr %expression; #IMPLIED
+	bridge %boolean; "false"
+	type NMTOKEN #IMPLIED
+	connecttimeout %duration; #IMPLIED
+	maxtime %duration; #IMPLIED
+	transferaudio %uri; #IMPLIED
+	aai CDATA #IMPLIED
+	aaiexpr %expression; #IMPLIED
+>
+<!--============================ Control Flow ============================-->
+<!ENTITY % if.attrs "cond		%expression;	#REQUIRED">
+<!ELEMENT if (%executable.content; | elseif | else)*>
+<!ATTLIST if
+	%if.attrs; 
+>
+<!ELEMENT elseif EMPTY>
+<!ATTLIST elseif
+	%if.attrs; 
+>
+<!ELEMENT else EMPTY>
+<!ELEMENT exit EMPTY>
+<!ATTLIST exit
+	expr %expression; #IMPLIED
+	namelist %variable.names; #IMPLIED
+>
+<!ELEMENT filled (%executable.content;)*>
+<!ATTLIST filled
+	mode (any | all) #IMPLIED
+	namelist %restrictedvariable.names; #IMPLIED
+>
+
+<!-- executable content + contents of prompt  -->
+<!ELEMENT foreach (%executable.content; | %sentence-elements; | 
+    %structure; | metadata)*
+>
+<!ATTLIST foreach
+    item %restrictedvariable.name; #REQUIRED
+    array CDATA #REQUIRED
+>
+
+<!ELEMENT goto EMPTY>
+<!ATTLIST goto
+	%cache.attrs; 
+	%next.attrs; 
+	fetchaudio %uri; #IMPLIED
+	expritem %expression; #IMPLIED
+	nextitem %restrictedvariable.name; #IMPLIED
+>
+<!ELEMENT param EMPTY>
+<!ATTLIST param
+	name NMTOKEN #REQUIRED
+	expr %expression; #IMPLIED
+	value CDATA #IMPLIED
+	valuetype (data | ref) "data"
+	type CDATA #IMPLIED
+>
+<!ELEMENT return EMPTY>
+<!ATTLIST return
+	namelist %variable.names; #IMPLIED
+	%throw.attrs; 
+>
+<!ELEMENT subdialog (%audio; | %event.handler; | filled | param | prompt | 
+                     property)*>
+<!ATTLIST subdialog
+	%item.attrs; 
+	src %uri; #IMPLIED
+	srcexpr %expression; #IMPLIED
+	%cache.attrs; 
+	fetchaudio %uri; #IMPLIED
+	%submit.attrs; 
+>
+<!ELEMENT submit EMPTY>
+<!ATTLIST submit
+	%cache.attrs; 
+	%next.attrs; 
+	fetchaudio %uri; #IMPLIED
+	%submit.attrs; 
+>
+<!--========================== Miscellaneous ==============================-->
+<!ELEMENT data EMPTY >
+<!ATTLIST data
+    name %restrictedvariable.name; #IMPLIED
+    src %uri; #IMPLIED
+    srcexpr %expression; #IMPLIED 
+    fetchaudio  %uri;       #IMPLIED
+    %submit.attrs;
+    %cache.attrs;
+>
+
+<!ELEMENT log (#PCDATA | value)*>
+<!ATTLIST log
+	label CDATA #IMPLIED
+	expr %expression; #IMPLIED
+>
+<!ELEMENT object (%audio; | %event.handler; | filled | param | prompt | 
+                  property)*>
+<!ATTLIST object
+	%item.attrs; 
+	%cache.attrs; 
+	classid %uri; #IMPLIED
+	codebase %uri; #IMPLIED
+	data %uri; #IMPLIED
+	type CDATA #IMPLIED
+	codetype CDATA #IMPLIED
+	archive %uri; #IMPLIED
+>
+<!ELEMENT property EMPTY>
+<!ATTLIST property
+	name NMTOKEN #REQUIRED
+	value CDATA #REQUIRED
+>
+<!ELEMENT script (#PCDATA)>
+<!ATTLIST script
+	src %uri; #IMPLIED
+	srcexpr %expression; #IMPLIED
+	charset CDATA #IMPLIED
+	%cache.attrs; 
+>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/5368141.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,329 @@
+<?xml version="1.0" standalone="no" ?>
+<!DOCTYPE message PUBLIC "-//TSN//DTD Statistics 1.0/EN" "NCAA_Conference_Schedule_XML.dtd"> 
+<message>
+<XML_File_ID>5368141</XML_File_ID>
+<heading>AEX%06ATLANTICSUN-SKED</heading>
+<category>Statistics</category>
+<sport>CBASK</sport>
+<Title>2006-2007 Atlantic Sun Basketball Schedule/Results</Title>
+<Conference_Schedule>
+<Team fullname="Belmont Bruins">
+<Listing>Nov 13-L at  UNC-Wilmington, 83-88</Listing>
+<Listing>Nov 14-W vs. Fordham, 56-49</Listing>
+<Listing>Nov 18-W at  IUPUI, 67-61</Listing>
+<Listing>Nov 20-W vs. Fisk, 83-54</Listing>
+<Listing>Nov 27-L at  Middle Tennessee, 57-64</Listing>
+<Listing>Nov 30-W vs. North Florida, 87-32</Listing>
+<Listing>Dec  2-W vs. Jacksonville, 76-62</Listing>
+<Listing>Dec  4-W vs. IUPUI, 76-66</Listing>
+<Listing>Dec 13-W at  Ark-Little Rock, 72-57</Listing>
+<Listing>Dec 17-L at  Illinois, 51-77</Listing>
+<Listing>Dec 19-L at  Michigan State, 58-67</Listing>
+<Listing>Dec 28-W at  Rice, 87-85</Listing>
+<Listing>Dec 29-L at  St Marys-CA, 60-71</Listing>
+<Listing>Jan  2-W at  East Tenn St, 75-74 OT</Listing>
+<Listing>Jan  4-W at  Kennesaw St, 63-45</Listing>
+<Listing>Jan  7-W vs. Mercer, 72-47</Listing>
+<Listing>Jan  9-W vs. Stetson, 73-71</Listing>
+<Listing>Jan 12-L vs. Lipscomb, 50-55</Listing>
+<Listing>Jan 18- at  Campbell, 7:00 PM</Listing>
+<Listing>Jan 20- at  Gardner-Webb, 6:00 PM</Listing>
+<Listing>Jan 25- vs. East Tenn St, 7:00 PM</Listing>
+<Listing>Jan 27- vs. Kennesaw St, 7:00 PM</Listing>
+<Listing>Feb  1- at  Stetson, 6:00 PM</Listing>
+<Listing>Feb  3- at  Mercer, 6:00 PM</Listing>
+<Listing>Feb  9- at  Lipscomb, 6:30 PM</Listing>
+<Listing>Feb 15- vs. Gardner-Webb, 7:00 PM</Listing>
+<Listing>Feb 17- vs. Campbell, 7:30 PM</Listing>
+<Listing>Feb 22- at  Jacksonville, 6:00 PM</Listing>
+<Listing>Feb 24- at  North Florida, 7:00 PM</Listing>
+</Team>
+<Team fullname="Campbell Fighting Camels">
+<Listing>Nov 11-W vs. UNC-Pembroke, 106-66</Listing>
+<Listing>Nov 16-W vs. Coastal Carolina, 83-63</Listing>
+<Listing>Nov 20-W vs. UNC-Wilmington, 100-94</Listing>
+<Listing>Nov 25-L at  Radford, 80-87</Listing>
+<Listing>Nov 27-L at  Appalachian St, 71-84</Listing>
+<Listing>Dec 12-L at  San Diego St, 82-119</Listing>
+<Listing>Dec 14-L at  San Diego, 69-81</Listing>
+<Listing>Dec 18-W vs. Radford, 101-88</Listing>
+<Listing>Dec 23-L at  Virginia Tech, 70-94</Listing>
+<Listing>Dec 30-W vs. Ohio Valley, 107-65</Listing>
+<Listing>Jan  2-W at  North Florida, 78-48</Listing>
+<Listing>Jan  4-L at  Jacksonville, 71-90</Listing>
+<Listing>Jan  6-W vs. Kennesaw St, 88-85 2OT</Listing>
+<Listing>Jan  9-L vs. East Tenn St, 76-100</Listing>
+<Listing>Jan 13-L at  Mercer, 93-94</Listing>
+<Listing>Jan 15-L at  Stetson, 73-82</Listing>
+<Listing>Jan 18- vs. Belmont, 7:00 PM</Listing>
+<Listing>Jan 20- vs. Lipscomb, 1:00 PM</Listing>
+<Listing>Jan 25- vs. North Florida, 8:00 PM</Listing>
+<Listing>Jan 27- vs. Jacksonville, 4:00 PM</Listing>
+<Listing>Jan 30- at  Gardner-Webb, 7:00 PM</Listing>
+<Listing>Feb  2- at  Kennesaw St, 7:30 PM</Listing>
+<Listing>Feb  5- at  East Tenn St, 7:00 PM</Listing>
+<Listing>Feb  8- vs. Stetson, 7:00 PM</Listing>
+<Listing>Feb 10- vs. Mercer, 7:00 PM</Listing>
+<Listing>Feb 15- at  Lipscomb, 8:00 PM</Listing>
+<Listing>Feb 17- at  Belmont, 7:30 PM</Listing>
+<Listing>Feb 22- vs. Longwood, 7:00 PM</Listing>
+<Listing>Feb 24- vs. Gardner-Webb, 6:00 PM</Listing>
+</Team>
+<Team fullname="East Tennessee State Buccaneers">
+<Listing>Nov 10-W vs. Virginia-Wise, 90-43</Listing>
+<Listing>Nov 13-L at  Eastern Ky, 53-70</Listing>
+<Listing>Nov 15-W vs. Chattanooga, 71-70 OT</Listing>
+<Listing>Nov 19-L at  Auburn, 58-64</Listing>
+<Listing>Nov 21-L at  Morehead State, 56-77</Listing>
+<Listing>Nov 24-L vs. Sam Houston St, 61-72</Listing>
+<Listing>Nov 25-W at  Southern U, 66-52</Listing>
+<Listing>Nov 30-W at  Mercer, 76-70</Listing>
+<Listing>Dec  2-W at  Stetson, 75-61</Listing>
+<Listing>Dec  5-L at  Vanderbilt, 62-104</Listing>
+<Listing>Dec  9-W vs. Milligan, 73-47</Listing>
+<Listing>Dec 19-W vs. UNC-Asheville, 73-65</Listing>
+<Listing>Dec 21-W vs. Radford, 71-51</Listing>
+<Listing>Dec 30-L at  Tennessee, 88-93</Listing>
+<Listing>Jan  2-L vs. Belmont, 74-75 OT</Listing>
+<Listing>Jan  4-W vs. Lipscomb, 75-72 OT</Listing>
+<Listing>Jan  7-W at  Gardner-Webb, 66-63</Listing>
+<Listing>Jan  9-W at  Campbell, 100-76</Listing>
+<Listing>Jan 13-W vs. North Florida, 77-58</Listing>
+<Listing>Jan 15-W vs. Jacksonville, 71-59</Listing>
+<Listing>Jan 19- vs. Kennesaw St, 7:30 PM</Listing>
+<Listing>Jan 25- at  Belmont, 7:00 PM</Listing>
+<Listing>Jan 27- at  Lipscomb, 5:00 PM</Listing>
+<Listing>Feb  2- vs. Gardner-Webb, 7:00 PM</Listing>
+<Listing>Feb  5- vs. Campbell, 7:00 PM</Listing>
+<Listing>Feb  8- at  Jacksonville, 7:00 PM</Listing>
+<Listing>Feb 10- at  North Florida, 4:00 PM</Listing>
+<Listing>Feb 17- at  Kennesaw St, 7:30 PM</Listing>
+<Listing>Feb 23- vs. Stetson, 7:30 PM</Listing>
+<Listing>Feb 25- vs. Mercer, 2:00 PM</Listing>
+</Team>
+<Team fullname="Gardner-Webb Bulldogs">
+<Listing>Nov 13-L at  Texas Tech, 74-86</Listing>
+<Listing>Nov 14-L vs. Akron, 61-89</Listing>
+<Listing>Nov 19-L at  North Carolina, 50-103</Listing>
+<Listing>Nov 21-L vs. UNC Greensboro, 67-79</Listing>
+<Listing>Nov 24-L at  NC State, 76-88</Listing>
+<Listing>Nov 29-W vs. Ferrum, 70-53</Listing>
+<Listing>Dec  5-L at  Georgia, 67-96</Listing>
+<Listing>Dec  9-W vs. Western Carolina, 74-73 O</Listing>
+<Listing>Dec 16-L at  High Point, 51-65</Listing>
+<Listing>Dec 19-L at  Wake Forest, 60-92</Listing>
+<Listing>Dec 27-L at  Wisconsin, 40-98</Listing>
+<Listing>Jan  2-L at  Jacksonville, 64-73</Listing>
+<Listing>Jan  4-W at  North Florida, 72-52</Listing>
+<Listing>Jan  7-L vs. East Tenn St, 63-66</Listing>
+<Listing>Jan 10-L vs. Kennesaw St, 60-77</Listing>
+<Listing>Jan 13-W at  Stetson, 77-64</Listing>
+<Listing>Jan 15-L at  Mercer, 74-85</Listing>
+<Listing>Jan 18- vs. Lipscomb, 7:00 PM</Listing>
+<Listing>Jan 20- vs. Belmont, 6:00 PM</Listing>
+<Listing>Jan 25- vs. Jacksonville, 6:00 PM</Listing>
+<Listing>Jan 27- vs. North Florida, 8:15 PM</Listing>
+<Listing>Jan 30- vs. Campbell, 7:00 PM</Listing>
+<Listing>Feb  2- at  East Tenn St, 7:00 PM</Listing>
+<Listing>Feb  4- at  Kennesaw St, 2:00 PM</Listing>
+<Listing>Feb  8- vs. Mercer, 7:00 PM</Listing>
+<Listing>Feb 10- vs. Stetson, 7:00 PM</Listing>
+<Listing>Feb 15- at  Belmont, 7:00 PM</Listing>
+<Listing>Feb 17- at  Lipscomb, 3:00 PM</Listing>
+<Listing>Feb 24- at  Campbell, 6:00 PM</Listing>
+</Team>
+<Team fullname="Jacksonville Dolphins">
+<Listing>Nov 12-L at  Savannah State, 64-67</Listing>
+<Listing>Nov 14-W vs. Saint Leo, 77-73</Listing>
+<Listing>Nov 16-L at  Florida, 61-90</Listing>
+<Listing>Nov 22-W vs. Florida Tech, 89-60</Listing>
+<Listing>Nov 25-W vs. SC State, 87-74</Listing>
+<Listing>Nov 27-L at  U-C-F, 62-99</Listing>
+<Listing>Nov 30-L at  Lipscomb, 61-73</Listing>
+<Listing>Dec  2-L at  Belmont, 62-76</Listing>
+<Listing>Dec 10-W vs. Coastal Carolina, 85-72</Listing>
+<Listing>Dec 16-L at  Texas A&amp;M, 58-97</Listing>
+<Listing>Dec 19-L at  Georgia, 77-93</Listing>
+<Listing>Dec 29-L at  South Carolina, 73-80</Listing>
+<Listing>Jan  2-W vs. Gardner-Webb, 73-64</Listing>
+<Listing>Jan  4-W vs. Campbell, 90-71</Listing>
+<Listing>Jan  9-W at  North Florida, 64-60</Listing>
+<Listing>Jan 13-L at  Kennesaw St, 76-83</Listing>
+<Listing>Jan 15-L at  East Tenn St, 59-71</Listing>
+<Listing>Jan 18- vs. Mercer, 7:00 PM</Listing>
+<Listing>Jan 20- vs. Stetson, 7:00 PM</Listing>
+<Listing>Jan 25- at  Gardner-Webb, 6:00 PM</Listing>
+<Listing>Jan 27- at  Campbell, 4:00 PM</Listing>
+<Listing>Feb  3- vs. North Florida, 6:00 PM</Listing>
+<Listing>Feb  8- vs. East Tenn St, 7:00 PM</Listing>
+<Listing>Feb 10- vs. Kennesaw St, 7:00 PM</Listing>
+<Listing>Feb 16- at  Mercer, 7:30 PM</Listing>
+<Listing>Feb 18- at  Stetson, 5:00 PM</Listing>
+<Listing>Feb 22- vs. Belmont, 6:00 PM</Listing>
+<Listing>Feb 24- vs. Lipscomb, 6:00 PM</Listing>
+<Listing></Listing>
+<Listing></Listing>
+<Listing></Listing>
+</Team>
+<Team fullname="Kennesaw Fighting Owls">
+<Listing>Nov 11-L vs. Western Ky, 55-96</Listing>
+<Listing>Nov 17-W at  St Peters, 67-60</Listing>
+<Listing>Nov 18-L at  Columbia, 51-63</Listing>
+<Listing>Nov 21-L vs. George Washington, 52-69</Listing>
+<Listing>Nov 25-L vs. Florida Intl, 68-70</Listing>
+<Listing>Nov 28-W vs. Newberry, 68-55</Listing>
+<Listing>Nov 30-L at  Stetson, 56-61</Listing>
+<Listing>Dec  2-L at  Mercer, 77-84 OT</Listing>
+<Listing>Dec 17-L at  Kansas State, 54-82</Listing>
+<Listing>Dec 19-L at  Wichita State, 65-74</Listing>
+<Listing>Dec 22-W at  MD-Eastern Shore, 67-49</Listing>
+<Listing>Dec 23-L at  Longwood, 85-87 OT</Listing>
+<Listing>Dec 29-L at  Chattanooga, 67-83</Listing>
+<Listing>Dec 30-W vs. Alabama State, 78-72</Listing>
+<Listing>Jan  2-W vs. Lipscomb, 66-55</Listing>
+<Listing>Jan  4-L vs. Belmont, 45-63</Listing>
+<Listing>Jan  6-L at  Campbell, 85-88 2OT</Listing>
+<Listing>Jan 10-W at  Gardner-Webb, 77-60</Listing>
+<Listing>Jan 13-W vs. Jacksonville, 83-76</Listing>
+<Listing>Jan 15-W vs. North Florida, 77-57</Listing>
+<Listing>Jan 19- at  East Tenn St, 7:30 PM</Listing>
+<Listing>Jan 25- at  Lipscomb, 8:00 PM</Listing>
+<Listing>Jan 27- at  Belmont, 7:00 PM</Listing>
+<Listing>Feb  2- vs. Campbell, 7:30 PM</Listing>
+<Listing>Feb  4- vs. Gardner-Webb, 2:00 PM</Listing>
+<Listing>Feb  8- at  North Florida, 7:00 PM</Listing>
+<Listing>Feb 10- at  Jacksonville, 7:00 PM</Listing>
+<Listing>Feb 14- at  Georgia, 7:30 PM</Listing>
+<Listing>Feb 17- vs. East Tenn St, 7:30 PM</Listing>
+<Listing>Feb 22- vs. Mercer, 7:30 PM</Listing>
+<Listing>Feb 24- vs. Stetson, 2:00 PM</Listing>
+</Team>
+<Team fullname="Lipscomb Bison">
+<Listing>Nov 11-W vs. Tusculum, 70-67</Listing>
+<Listing>Nov 13-W vs. Evansville, 67-64</Listing>
+<Listing>Nov 16-L at  Missouri, 69-89</Listing>
+<Listing>Nov 19-L at  South Carolina, 68-75</Listing>
+<Listing>Nov 25-W vs. Fisk, 80-68</Listing>
+<Listing>Nov 27-W vs. Winston-Salem St, 62-46</Listing>
+<Listing>Nov 30-W vs. Jacksonville, 73-61</Listing>
+<Listing>Dec  2-W vs. North Florida, 68-54</Listing>
+<Listing>Dec  7-L at  Vanderbilt, 50-59</Listing>
+<Listing>Dec 14-W vs. Nicholls State, 75-55</Listing>
+<Listing>Dec 16-L at  Evansville, 73-80</Listing>
+<Listing>Dec 21-W at  Liberty, 66-61</Listing>
+<Listing>Dec 29-L at  Alabama, 58-80</Listing>
+<Listing>Jan  2-L at  Kennesaw St, 55-66</Listing>
+<Listing>Jan  4-L at  East Tenn St, 72-75 OT</Listing>
+<Listing>Jan  7-W vs. Stetson, 79-68</Listing>
+<Listing>Jan  9-W vs. Mercer, 89-68</Listing>
+<Listing>Jan 12-W at  Belmont, 55-50</Listing>
+<Listing>Jan 18- at  Gardner-Webb, 7:00 PM</Listing>
+<Listing>Jan 20- at  Campbell, 1:00 PM</Listing>
+<Listing>Jan 25- vs. Kennesaw St, 8:00 PM</Listing>
+<Listing>Jan 27- vs. East Tenn St, 5:00 PM</Listing>
+<Listing>Feb  1- at  Mercer, 7:00 PM</Listing>
+<Listing>Feb  3- at  Stetson, 7:00 PM</Listing>
+<Listing>Feb  9- vs. Belmont, 6:30 PM</Listing>
+<Listing>Feb 15- vs. Campbell, 8:00 PM</Listing>
+<Listing>Feb 17- vs. Gardner-Webb, 3:00 PM</Listing>
+<Listing>Feb 22- at  North Florida, 7:00 PM</Listing>
+<Listing>Feb 24- at  Jacksonville, 6:00 PM</Listing>
+</Team>
+<Team fullname="Mercer Bears">
+<Listing>Nov 12-L at  Wisconsin, 48-72</Listing>
+<Listing>Nov 14-L at  Savannah State, 61-71</Listing>
+<Listing>Nov 18-W vs. Emory, 89-71</Listing>
+<Listing>Nov 27-L vs. Ga Southern, 59-61</Listing>
+<Listing>Nov 30-L vs. East Tenn St, 70-76</Listing>
+<Listing>Dec  2-W vs. Kennesaw St, 84-77 OT</Listing>
+<Listing>Dec  4-W vs. Char Southern, 78-59</Listing>
+<Listing>Dec  7-W vs. Fort Valley St, 79-74</Listing>
+<Listing>Dec  9-W at  Va Military, 105-103</Listing>
+<Listing>Dec 21-L at  Oregon State, 62-93</Listing>
+<Listing>Dec 23-L at  Oregon, 64-84</Listing>
+<Listing>Dec 30-L at  Furman, 69-83</Listing>
+<Listing>Jan  2-W vs. Stetson, 84-63</Listing>
+<Listing>Jan  7-L at  Belmont, 47-72</Listing>
+<Listing>Jan  9-L at  Lipscomb, 68-89</Listing>
+<Listing>Jan 13-W vs. Campbell, 94-93</Listing>
+<Listing>Jan 15-W vs. Gardner-Webb, 85-74</Listing>
+<Listing>Jan 18- at  Jacksonville, 7:00 PM</Listing>
+<Listing>Jan 20- at  North Florida, 4:00 PM</Listing>
+<Listing>Jan 24- vs. Savannah State, 7:00 PM</Listing>
+<Listing>Jan 26- at  Stetson, 7:30 PM</Listing>
+<Listing>Feb  1- vs. Lipscomb, 7:00 PM</Listing>
+<Listing>Feb  3- vs. Belmont, 6:00 PM</Listing>
+<Listing>Feb  8- at  Gardner-Webb, 7:00 PM</Listing>
+<Listing>Feb 10- at  Campbell, 7:00 PM</Listing>
+<Listing>Feb 16- vs. Jacksonville, 7:30 PM</Listing>
+<Listing>Feb 18- vs. North Florida, 2:00 PM</Listing>
+<Listing>Feb 22- at  Kennesaw St, 7:30 PM</Listing>
+<Listing>Feb 25- at  East Tenn St, 2:00 PM</Listing>
+</Team>
+<Team fullname="North Florida Ospreys">
+<Listing>Nov 10-L at  St Johns, 53-74</Listing>
+<Listing>Nov 11-L vs. Loyola-Maryland, 50-65</Listing>
+<Listing>Nov 14-L at  Florida, 40-86</Listing>
+<Listing>Nov 19-W vs. Concordia (NY), 77-72</Listing>
+<Listing>Nov 22-L vs. Fla Atlantic, 44-59</Listing>
+<Listing>Nov 25-L at  Northwestern, 39-40</Listing>
+<Listing>Nov 30-L at  Belmont, 32-87</Listing>
+<Listing>Dec  2-L at  Lipscomb, 54-68</Listing>
+<Listing>Dec  8-L at  William &amp; Mary, 44-61</Listing>
+<Listing>Dec 18-L vs. Binghamton, 61-79</Listing>
+<Listing>Dec 20-L vs. Florida A&amp;M, 65-66</Listing>
+<Listing>Dec 28-W vs. Skidmore, 70-43</Listing>
+<Listing>Jan  2-L vs. Campbell, 48-78</Listing>
+<Listing>Jan  4-L vs. Gardner-Webb, 52-72</Listing>
+<Listing>Jan  9-L vs. Jacksonville, 60-64</Listing>
+<Listing>Jan 13-L at  East Tenn St, 58-77</Listing>
+<Listing>Jan 15-L at  Kennesaw St, 57-77</Listing>
+<Listing>Jan 18- vs. Stetson, 7:00 PM</Listing>
+<Listing>Jan 20- vs. Mercer, 4:00 PM</Listing>
+<Listing>Jan 25- at  Campbell, 8:00 PM</Listing>
+<Listing>Jan 27- at  Gardner-Webb, 8:15 PM</Listing>
+<Listing>Jan 30- at  Savannah State, 7:00 PM</Listing>
+<Listing>Feb  3- at  Jacksonville, 6:00 PM</Listing>
+<Listing>Feb  8- vs. Kennesaw St, 7:00 PM</Listing>
+<Listing>Feb 10- vs. East Tenn St, 4:00 PM</Listing>
+<Listing>Feb 15- at  Stetson, 7:00 PM</Listing>
+<Listing>Feb 18- at  Mercer, 2:00 PM</Listing>
+<Listing>Feb 22- vs. Lipscomb, 7:00 PM</Listing>
+<Listing>Feb 24- vs. Belmont, 7:00 PM</Listing>
+<Listing></Listing>
+</Team>
+<Team fullname="Stetson Hatters">
+<Listing>Nov 10-L at  Army, 68-80</Listing>
+<Listing>Nov 11-W at  NC A&amp;T, 72-69</Listing>
+<Listing>Nov 12-L at  Missouri, 45-66</Listing>
+<Listing>Nov 18-L at  U-C-F, 60-73</Listing>
+<Listing>Nov 20-W vs. Palm Beach Atlantic, 80-6</Listing>
+<Listing>Nov 27-L at  South Florida, 72-77 2OT</Listing>
+<Listing>Nov 30-W vs. Kennesaw St, 61-56</Listing>
+<Listing>Dec  2-L vs. East Tenn St, 61-75</Listing>
+<Listing>Dec  5-L vs. Florida State, 63-82</Listing>
+<Listing>Dec 16-L at  Miami-Florida, 64-89</Listing>
+<Listing>Dec 20-L at  Florida, 67-88</Listing>
+<Listing>Dec 23-W at  Savannah State, 58-46</Listing>
+<Listing>Dec 30-W vs. Skidmore, 85-55</Listing>
+<Listing>Jan  2-L at  Mercer, 63-84</Listing>
+<Listing>Jan  7-L at  Lipscomb, 68-79</Listing>
+<Listing>Jan  9-L at  Belmont, 71-73</Listing>
+<Listing>Jan 13-L vs. Gardner-Webb, 64-77</Listing>
+<Listing>Jan 15-W vs. Campbell, 82-73</Listing>
+<Listing>Jan 18- at  North Florida, 7:00 PM</Listing>
+<Listing>Jan 20- at  Jacksonville, 7:00 PM</Listing>
+<Listing>Jan 26- vs. Mercer, 7:30 PM</Listing>
+<Listing>Feb  1- vs. Belmont, 6:00 PM</Listing>
+<Listing>Feb  3- vs. Lipscomb, 7:00 PM</Listing>
+<Listing>Feb  8- at  Campbell, 7:00 PM</Listing>
+<Listing>Feb 10- at  Gardner-Webb, 7:00 PM</Listing>
+<Listing>Feb 13- vs. Savannah State, 7:00 PM</Listing>
+<Listing>Feb 15- vs. North Florida, 7:00 PM</Listing>
+<Listing>Feb 18- vs. Jacksonville, 5:00 PM</Listing>
+<Listing>Feb 23- at  East Tenn St, 7:30 PM</Listing>
+<Listing>Feb 24- at  Kennesaw St, 2:00 PM</Listing>
+</Team>
+</Conference_Schedule>
+<time_stamp> January 18, 2007, at 03:41 AM ET </time_stamp>
+</message>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug4693341.dtd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,39 @@
+<!ELEMENT SupplierOrder (OrderId, OrderDate, ShippingAddress, LineItems)>
+
+<!ELEMENT OrderId (#PCDATA)>
+
+<!ELEMENT OrderDate (#PCDATA)>
+
+<!ELEMENT ShippingAddress (FirstName, LastName, Street, City, State, Country, ZipCode, Email, Phone)>
+
+<!ELEMENT FirstName (#PCDATA)>
+
+<!ELEMENT LastName (#PCDATA)>
+
+<!ELEMENT Street (#PCDATA)>
+
+<!ELEMENT City (#PCDATA)>
+
+<!ELEMENT State (#PCDATA)>
+
+<!ELEMENT Country (#PCDATA)>
+
+<!ELEMENT ZipCode (#PCDATA)>
+
+<!ELEMENT Email (#PCDATA)>
+
+<!ELEMENT Phone (#PCDATA)>
+
+<!ELEMENT LineItems (LineItem+)>
+
+<!ELEMENT LineItem EMPTY>
+
+<!ATTLIST LineItem
+     categoryId CDATA #REQUIRED
+     productId CDATA #REQUIRED
+     itemId CDATA #REQUIRED
+     lineNo CDATA #REQUIRED
+     quantity CDATA #REQUIRED
+     unitPrice CDATA #REQUIRED
+>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug4693341.out	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE SupplierOrder SYSTEM "Bug4693341.dtd">
+<SupplierOrder>
+<OrderId>10016</OrderId>
+<OrderDate>Wed May 29 12:45:00 PDT 2002</OrderDate>
+<ShippingAddress>
+<FirstName>ABC</FirstName>
+<LastName>XYZ</LastName>
+<Street>1234 Anywhere Street</Street>
+<City>Palo Alto</City>
+<State>California</State>
+<Country>USA</Country>
+<ZipCode>94303</ZipCode>
+<Email>NULL</Email>
+<Phone>NULL</Phone>
+</ShippingAddress>
+<LineItems>
+<LineItem categoryId="BIRDS" itemId="EST-18" lineNo="0" productId="AV-CB-01" quantity="1" unitPrice="193.5"/>
+</LineItems>
+</SupplierOrder>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug4693341.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE SupplierOrder SYSTEM "Bug4693341.dtd" >
+<SupplierOrder>
+<OrderId>10016</OrderId>
+<OrderDate>Wed May 29 12:45:00 PDT 2002</OrderDate>
+<ShippingAddress>
+<FirstName>ABC</FirstName>
+<LastName>XYZ</LastName>
+<Street>1234 Anywhere Street</Street>
+<City>Palo Alto</City>
+<State>California</State>
+<Country>USA</Country>
+<ZipCode>94303</ZipCode>
+<Email>NULL</Email>
+<Phone>NULL</Phone>
+</ShippingAddress>
+<LineItems>
+<LineItem categoryId="BIRDS" itemId="EST-18" lineNo="0" productId="AV-CB-01" quantity="1" unitPrice="193.5"/>
+</LineItems>
+</SupplierOrder>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug4693341Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,80 @@
+/*
+ * 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 transform;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.net.URL;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 4693341
+ * @summary Test transform with external dtd.
+ */
+public class Bug4693341Test {
+
+    @Test
+    public void test() {
+        boolean status = false;
+
+        try {
+            Transformer transformer = TransformerFactory.newInstance().newTransformer();
+
+            String out = getClass().getResource("Bug4693341.out").getPath();
+            StreamResult result = new StreamResult(new FileOutputStream(out));
+
+            String in = getClass().getResource("Bug4693341.xml").getPath();
+            File file = new File(in);
+            StreamSource source = new StreamSource(new FileInputStream(file), ("file://" + in));
+
+            transformer.transform(source, result);
+
+            //URL inputsource = new URL("file", "", golden);
+            URL output = new URL("file", "", out);
+
+            // error happens when trying to parse output
+            String systemId = output.toExternalForm();
+            System.out.println("systemId: " + systemId);
+            InputSource is = new InputSource(systemId);
+            SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
+            parser.parse(is, new DefaultHandler());
+
+        } catch (Exception ex) {
+            Assert.fail(ex.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug4693341_golden.dtd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,39 @@
+<!ELEMENT SupplierOrder (OrderId, OrderDate, ShippingAddress, LineItems)>
+
+<!ELEMENT OrderId (#PCDATA)>
+
+<!ELEMENT OrderDate (#PCDATA)>
+
+<!ELEMENT ShippingAddress (FirstName, LastName, Street, City, State, Country, ZipCode, Email, Phone)>
+
+<!ELEMENT FirstName (#PCDATA)>
+
+<!ELEMENT LastName (#PCDATA)>
+
+<!ELEMENT Street (#PCDATA)>
+
+<!ELEMENT City (#PCDATA)>
+
+<!ELEMENT State (#PCDATA)>
+
+<!ELEMENT Country (#PCDATA)>
+
+<!ELEMENT ZipCode (#PCDATA)>
+
+<!ELEMENT Email (#PCDATA)>
+
+<!ELEMENT Phone (#PCDATA)>
+
+<!ELEMENT LineItems (LineItem+)>
+
+<!ELEMENT LineItem EMPTY>
+
+<!ATTLIST LineItem
+     categoryId CDATA #REQUIRED
+     productId CDATA #REQUIRED
+     itemId CDATA #REQUIRED
+     lineNo CDATA #REQUIRED
+     quantity CDATA #REQUIRED
+     unitPrice CDATA #REQUIRED
+>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug4693341_golden.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE SupplierOrder SYSTEM "Bug4693341_golden.dtd" >
+<SupplierOrder>
+<OrderId>10016</OrderId>
+<OrderDate>Wed May 29 12:45:00 PDT 2002</OrderDate>
+<ShippingAddress>
+<FirstName>ABC</FirstName>
+<LastName>XYZ</LastName>
+<Street>1234 Anywhere Street</Street>
+<City>Palo Alto</City>
+<State>California</State>
+<Country>USA</Country>
+<ZipCode>94303</ZipCode>
+<Email>NULL</Email>
+<Phone>NULL</Phone>
+</ShippingAddress>
+<LineItems>
+<LineItem categoryId="BIRDS" itemId="EST-18" lineNo="0" productId="AV-CB-01" quantity="1" unitPrice="193.5"/>
+</LineItems>
+</SupplierOrder>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug4892774.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,373 @@
+/*
+ * 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 transform;
+
+import java.io.File;
+
+import javax.xml.transform.Source;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.sax.SAXResult;
+import javax.xml.transform.stax.StAXResult;
+import javax.xml.transform.stream.StreamResult;
+
+import org.testng.Assert;
+import org.testng.annotations.AfterMethod;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
+import transform.util.DOMUtil;
+import transform.util.SAXUtil;
+import transform.util.StAXUtil;
+import transform.util.StreamUtil;
+
+/*
+ * @bug 4892774
+ * @summary Test identity transformer with all possible types of Source and Result combinations for doucment version and encoding information.
+ */
+
+public class Bug4892774 {
+
+    private final String XML_FILE = "catalog.xml";
+    private final String XML10_FILE = "catalog_10.xml"; // 1.0 version document
+    private final String TEMP_FILE = "tmp.xml";
+    private final String EXPECTED_VERSION = "1.1";
+    static private Transformer idTransform = null;
+
+    private static DOMUtil domUtil = null;
+    private static StreamUtil streamUtil = null;
+    private static SAXUtil saxUtil = null;
+    private static StAXUtil staxUtil = null;
+
+    @BeforeMethod
+    protected void setUp() {
+        File tmpFile = new File(TEMP_FILE);
+        if (tmpFile.exists())
+            tmpFile.delete();
+        try {
+
+            if (idTransform == null)
+                idTransform = getIdTransformer();
+            else
+                idTransform.reset();
+
+            initializeUtils();
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured during setUp(): " + e.getMessage());
+        }
+    }
+
+    @AfterMethod
+    protected void tearDown() {
+        File tmpFile = new File(TEMP_FILE);
+        if (tmpFile.exists())
+            tmpFile.delete();
+    }
+
+    private void initializeUtils() throws Exception {
+        if (domUtil == null)
+            domUtil = (DOMUtil) TransformerUtilFactory.getUtil(TransformerUtilFactory.DOM);
+        if (saxUtil == null)
+            saxUtil = (SAXUtil) TransformerUtilFactory.getUtil(TransformerUtilFactory.SAX);
+        if (streamUtil == null)
+            streamUtil = (StreamUtil) TransformerUtilFactory.getUtil(TransformerUtilFactory.STREAM);
+        if (staxUtil == null)
+            staxUtil = (StAXUtil) TransformerUtilFactory.getUtil(TransformerUtilFactory.StAX);
+    }
+
+    @Test
+    public void testDOM2DOM() {
+        try {
+            Source input = domUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
+            DOMResult domResult = (DOMResult) domUtil.prepareResult();
+            idTransform.transform(input, domResult);
+            domUtil.checkResult(domResult, EXPECTED_VERSION);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    private Transformer getIdTransformer() throws Exception {
+        return TransformerFactory.newInstance().newTransformer();
+    }
+
+    @Test
+    public void testDOM2Stream() {
+        try {
+
+            Source input = domUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
+            StreamResult strResult = (StreamResult) streamUtil.prepareResult();
+            idTransform.transform(input, strResult);
+            streamUtil.checkResult(strResult, EXPECTED_VERSION, "UTF-8");
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testDOM2SAX() {
+        try {
+            Source input = domUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
+            SAXResult saxResult = (SAXResult) saxUtil.prepareResult();
+            idTransform.transform(input, saxResult);
+            saxUtil.checkResult(saxResult, EXPECTED_VERSION, "UTF-8");
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testDOM2StAX() {
+        try {
+            Source input = domUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
+            StAXResult staxResult = (StAXResult) staxUtil.prepareResult();
+            idTransform.transform(input, staxResult);
+            staxUtil.checkResult(staxResult, EXPECTED_VERSION, "UTF-8");
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testDOM2StAXStream() {
+        try {
+            Source input = domUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
+            StAXResult staxResult = (StAXResult) staxUtil.prepareStreamResult();
+            idTransform.transform(input, staxResult);
+            staxUtil.checkStreamResult(staxResult, EXPECTED_VERSION);
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testSAX2DOM() {
+        try {
+            Source input = saxUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
+            DOMResult domResult = (DOMResult) domUtil.prepareResult();
+            idTransform.transform(input, domResult);
+            domUtil.checkResult(domResult, EXPECTED_VERSION);
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testSAX2SAX() {
+        try {
+            Source input = saxUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
+            SAXResult saxResult = (SAXResult) saxUtil.prepareResult();
+            idTransform.transform(input, saxResult);
+            saxUtil.checkResult(saxResult, EXPECTED_VERSION, "UTF-8");
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testSAX2Stream() {
+        try {
+            Source input = saxUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
+            StreamResult strResult = (StreamResult) streamUtil.prepareResult();
+            idTransform.transform(input, strResult);
+            streamUtil.checkResult(strResult, EXPECTED_VERSION, "UTF-8");
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testSAX2StAX() {
+        try {
+            Source input = saxUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
+            StAXResult staxResult = (StAXResult) staxUtil.prepareResult();
+            idTransform.transform(input, staxResult);
+            staxUtil.checkResult(staxResult, EXPECTED_VERSION, "UTF-8");
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testSAX2StAXStream() {
+        try {
+            Source input = saxUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
+            StAXResult staxResult = (StAXResult) staxUtil.prepareStreamResult();
+            idTransform.transform(input, staxResult);
+            staxUtil.checkStreamResult(staxResult, EXPECTED_VERSION);
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testStream2DOM() {
+        try {
+            Source input = streamUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
+            DOMResult domResult = (DOMResult) domUtil.prepareResult();
+            idTransform.transform(input, domResult);
+            domUtil.checkResult(domResult, EXPECTED_VERSION);
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testStream2Stream() {
+        try {
+            Source input = streamUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
+            StreamResult strResult = (StreamResult) streamUtil.prepareResult();
+            idTransform.transform(input, strResult);
+            streamUtil.checkResult(strResult, EXPECTED_VERSION, "UTF-8");
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testStream2Stax() {
+        try {
+            Source input = streamUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
+            StAXResult staxResult = (StAXResult) staxUtil.prepareResult();
+            idTransform.transform(input, staxResult);
+            staxUtil.checkResult(staxResult, EXPECTED_VERSION, "UTF-8");
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testStream2StaxStream() {
+        try {
+            Source input = streamUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
+            StAXResult staxResult = (StAXResult) staxUtil.prepareStreamResult();
+            idTransform.transform(input, staxResult);
+            staxUtil.checkStreamResult(staxResult, EXPECTED_VERSION);
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testStream2SAX() {
+        try {
+            Source input = streamUtil.prepareSource(this.getClass().getResourceAsStream(XML_FILE));
+            SAXResult saxResult = (SAXResult) saxUtil.prepareResult();
+            idTransform.transform(input, saxResult);
+            saxUtil.checkResult(saxResult, EXPECTED_VERSION, "UTF-8");
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testStAX2DOM() {
+        try {
+            Source input = staxUtil.prepareStreamSource(this.getClass().getResourceAsStream(XML10_FILE));
+            DOMResult domResult = (DOMResult) domUtil.prepareResult();
+            idTransform.transform(input, domResult);
+            domUtil.checkResult(domResult, "1.0");
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testStAX2Stream() {
+        try {
+            Source input = staxUtil.prepareStreamSource(this.getClass().getResourceAsStream(XML10_FILE));
+            StreamResult strResult = (StreamResult) streamUtil.prepareResult();
+            idTransform.transform(input, strResult);
+            streamUtil.checkResult(strResult, "1.0", "UTF-8");
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testStAX2StAX() {
+        try {
+            Source input = staxUtil.prepareStreamSource(this.getClass().getResourceAsStream(XML10_FILE));
+            StAXResult staxResult = (StAXResult) staxUtil.prepareResult();
+            idTransform.transform(input, staxResult);
+            staxUtil.checkResult(staxResult, "1.0", "UTF-8");
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testStAXEvent2DOM() {
+        try {
+            Source input = staxUtil.prepareSource(this.getClass().getResourceAsStream(XML10_FILE));
+            DOMResult domResult = (DOMResult) domUtil.prepareResult();
+            idTransform.transform(input, domResult);
+            domUtil.checkResult(domResult, "1.0");
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+
+    @Test
+    public void testStAXEvent2Stream() {
+        try {
+            Source input = staxUtil.prepareSource(this.getClass().getResourceAsStream(XML10_FILE));
+            StreamResult strResult = (StreamResult) streamUtil.prepareResult();
+            idTransform.transform(input, strResult);
+            streamUtil.checkResult(strResult, "1.0", "UTF-8");
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug5073477.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,51 @@
+/*
+ * 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 transform;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.transform.dom.DOMResult;
+
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+
+/*
+ * @bug 5073477
+ * @summary Test DOMResult.setNextSibling works correctly.
+ */
+public class Bug5073477 {
+
+    @Test
+    public void test1() throws Exception {
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        DocumentBuilder parser = dbf.newDocumentBuilder();
+        Document dom = parser.parse(Bug5073477.class.getResourceAsStream("Bug5073477.xml"));
+
+        DOMResult r = new DOMResult();
+
+        r.setNode(dom.getDocumentElement());
+        r.setNextSibling(r.getNode().getFirstChild());
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug5073477.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<root>
+  <f1/>
+  <f2/>
+  <f3/>
+</root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6175602.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,50 @@
+/*
+ * 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 transform;
+
+import java.io.File;
+
+import javax.xml.transform.Templates;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6175602
+ * @summary Test compilation of MsWordXMLImport.xsl.
+ */
+public class Bug6175602 {
+
+    public Bug6175602() {
+    }
+
+    @Test
+    public void test926007_1() throws Exception {
+        TransformerFactory factory = TransformerFactory.newInstance();
+        File f = new File(getClass().getResource("MsWordXMLImport.xsl.data").getPath());
+        Templates t = factory.newTemplates(new StreamSource(f));
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6206491.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,130 @@
+/*
+ * 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 transform;
+
+import java.io.File;
+import java.io.IOException;
+import java.io.StringWriter;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerConfigurationException;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @bug 6206491
+ * @summary Test key searches over more than one document.
+ */
+public class Bug6206491 {
+
+    private String getResource(String s) {
+        return getClass().getResource(s).toString();
+
+    }
+
+    @Test
+    public void test() {
+        try {
+            Document document = getNewXmlDoc(new File(getClass().getResource("Bug6206491.xml").getFile()));
+
+            xmlxsl2html(TransformerFactory.newInstance(), new File(getClass().getResource("Bug6206491.xsl").getFile()), document);
+        } catch (Exception ex) {
+            System.err.println(ex.getMessage());
+            ex.printStackTrace(System.err);
+            Assert.fail(ex.toString());
+        }
+    }
+
+    void xmlxsl2html(TransformerFactory tFactory, File xslFile, Document document) throws Exception {
+        try {
+            // tFactory.setAttribute("generate-translet", Boolean.TRUE);
+        } catch (Exception e) {
+            // Ignore
+        }
+
+        try {
+            StreamSource stylesource = new StreamSource(xslFile);
+            Transformer transformer = tFactory.newTransformer(stylesource);
+
+            transformer.clearParameters();
+
+            DOMSource source = new DOMSource(document);
+
+            StringWriter sw = new StringWriter();
+            StreamResult result = new StreamResult(sw);
+            transformer.transform(source, result);
+            String s = sw.toString();
+            Assert.assertFalse(s.contains("<must-be-one>0</must-be-one>"));
+        } catch (TransformerConfigurationException ex) {
+            throw ex;
+
+        } catch (TransformerException ex) {
+            throw ex;
+        }
+    }
+
+    Document getNewXmlDoc(File xmlFile) throws Exception {
+        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+        factory.setNamespaceAware(true);
+        factory.setValidating(true);
+
+        try {
+            DocumentBuilder builder = factory.newDocumentBuilder();
+            builder.setErrorHandler(new org.xml.sax.helpers.DefaultHandler() {
+                public void fatalError(SAXParseException e) throws SAXParseException {
+                    throw e;
+                }
+
+                public void error(SAXParseException e) throws SAXParseException {
+                    throw e;
+                }
+
+                public void warning(SAXParseException e) throws SAXParseException {
+                    throw e;
+                }
+            });
+            return builder.parse(xmlFile);
+
+        } catch (SAXException ex) {
+            throw ex;
+        } catch (ParserConfigurationException ex) {
+            throw ex;
+        } catch (IOException ex) {
+            throw ex;
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6206491.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
+<!DOCTYPE organization [
+    <!ELEMENT organization (company*,ids)>
+    <!ELEMENT company (#PCDATA | department | equipment:instance)*>
+    <!ELEMENT ids (id*)>
+    <!ELEMENT id EMPTY>
+    <!ELEMENT department EMPTY>
+    <!ELEMENT equipment:instance EMPTY>
+
+    <!ATTLIST organization  id              ID  #IMPLIED
+                            xmlns:equipment CDATA  #FIXED "http://namespaces.tksoft.com/equipment/"
+    >
+    <!ATTLIST company   id                  ID  #REQUIRED
+                        count               CDATA  #REQUIRED
+    >
+    <!ATTLIST department    id              ID  #REQUIRED
+    >
+    <!ATTLIST equipment:instance    id          ID  #REQUIRED
+    >
+    <!ATTLIST id
+        value       IDREF   #REQUIRED
+    >
+]>
+<organization>
+    <company id="ca" count="2">
+        <department id="da"/>
+        <equipment:instance id="ea"/>
+        <equipment:instance id="eb"/>
+    </company>
+    <company id="cb" count="0"/>
+    <company id="cc" count="5"/>
+    <ids>
+        <id value="ca"/>
+        <id value="cb"/>
+    </ids>
+</organization>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6206491.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+    
+    <xsl:output method="xml" indent="yes"/>
+    
+    <xsl:variable name="ids" select="//ids//id"/>
+    <xsl:variable name="dummy" select="document('Bug6206491_2.xml')"/>
+    
+    <xsl:template match="/"> 
+        <test1><xsl:apply-templates select="$ids"/></test1>
+        <test2><xsl:apply-templates select="$dummy//ids/id"/></test2>
+    </xsl:template>
+    
+    <xsl:template match="id">
+        <xsl:variable name="entity" select="id(@value)"/> 
+        <must-be-one><xsl:value-of select="count($entity)"/></must-be-one>
+    </xsl:template>
+    
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6206491_2.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
+<!DOCTYPE organization2 [
+    <!ELEMENT organization2 (company*,ids)>
+    <!ELEMENT company (#PCDATA | department)*>
+    <!ELEMENT ids (id*)>
+    <!ELEMENT id EMPTY>
+    <!ELEMENT department EMPTY>
+    
+    <!ATTLIST organization  id              ID  #IMPLIED
+    >
+    <!ATTLIST company   id                  ID  #REQUIRED
+                        count               CDATA  #REQUIRED
+    >
+    <!ATTLIST department    id              ID  #REQUIRED
+    >
+    <!ATTLIST id
+        value       IDREF   #REQUIRED
+    >
+]>
+<organization2>
+    <company id="xca" count="2">
+        <department id="xda"/>
+    </company>
+    <company id="xcb" count="0"/>
+    <company id="xcc" count="5"/>
+    <ids>
+        <id value="xca"/>
+        <id value="xcb"/>
+    </ids>
+</organization2>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6216226Test.java	Mon Aug 17 11:18:31 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 transform;
+
+import java.io.File;
+import java.io.StringReader;
+
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6216226
+ * @summary Test StreamResult(File) is closed after transform().
+ */
+public class Bug6216226Test {
+
+    @Test
+    public final void test() {
+        try {
+            File test = new File("bug6216226.txt");
+            TransformerFactory tf = TransformerFactory.newInstance();
+            Transformer xformer = tf.newTransformer();
+            StringReader st = new StringReader("<?xml version=\"1.0\" encoding=\"UTF-8\"?><doc></doc>");
+            StreamSource s = new StreamSource(st);
+            StreamResult r = new StreamResult(test);
+            xformer.transform(s, r);
+            if (!test.delete()) {
+                Assert.fail("cannot delete file: " + test.getPath());
+            }
+        } catch (Exception e) {
+            // unexpected failure
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6311448.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,81 @@
+/*
+ * 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 transform;
+
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+
+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.stream.StreamResult;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+
+/*
+ * @bug 6311448
+ * @summary Test XML transformer can output Unicode surrorate pair.
+ */
+public class Bug6311448 {
+
+    @Test
+    public void test01() {
+        try {
+            String attrKey = "key";
+            String attrValue = "\ud800\udc00"; // 17-bit code point in UTF-16
+
+            // Some obvious assertions for documentation purposes
+            Assert.assertTrue(Character.isSurrogatePair('\ud800', '\udc00'));
+            Assert.assertTrue(Character.toCodePoint('\ud800', '\udc00') == 65536);
+            Assert.assertTrue(Character.charCount(Character.toCodePoint('\ud800', '\udc00')) == 2);
+
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            Transformer t = TransformerFactory.newInstance().newTransformer();
+
+            // Create a DOM with 'attrValue' in it
+            Document doc = dbf.newDocumentBuilder().getDOMImplementation().createDocument(null, null, null);
+            Element xmlRoot = doc.createElement("root");
+            xmlRoot.setAttribute(attrKey, attrValue);
+            doc.appendChild(xmlRoot);
+
+            // Serialize DOM into a byte array
+            ByteArrayOutputStream baos = new ByteArrayOutputStream();
+            t.setOutputProperty("encoding", "utf-8");
+            t.transform(new DOMSource(doc), new StreamResult(baos));
+
+            // Re-parse byte array back into a DOM
+            ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
+            doc = dbf.newDocumentBuilder().parse(bais);
+            String newValue = doc.getDocumentElement().getAttribute(attrKey);
+            Assert.assertTrue(newValue.charAt(0) == '\ud800' && newValue.charAt(1) == '\udc00');
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6384805.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,90 @@
+/*
+ * 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 transform;
+
+import java.util.Iterator;
+
+import javax.xml.namespace.NamespaceContext;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathConstants;
+import javax.xml.xpath.XPathFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6384805
+ * @summary Test XSLTC can parse XML namespace when nodeset is created within a template.
+ */
+public class Bug6384805 {
+
+    @Test
+    public void test0() {
+        try {
+            TransformerFactory tf = TransformerFactory.newInstance();
+
+            try {
+                // tf.setAttribute("generate-translet", Boolean.TRUE);
+            } catch (IllegalArgumentException e) {
+                // ignore
+            }
+
+            Transformer t = tf.newTransformer(new StreamSource(getClass().getResourceAsStream("tigertest.xsl"), getClass().getResource("tigertest.xsl")
+                    .toString()));
+
+            StreamSource src = new StreamSource(getClass().getResourceAsStream("tigertest-in.xml"));
+            DOMResult res = new DOMResult();
+            t.transform(src, res);
+
+            // Verify output of transformation
+            XPath query = XPathFactory.newInstance().newXPath();
+
+            query.setNamespaceContext(new NamespaceContext() {
+                public String getNamespaceURI(String prefix) {
+                    return prefix.equals("style") ? "http://openoffice.org/2000/style" : prefix.equals("office") ? "http://openoffice.org/2000/office" : null;
+                }
+
+                public String getPrefix(String namespaceURI) {
+                    return null;
+                }
+
+                public Iterator getPrefixes(String namespaceURI) {
+                    return null;
+                }
+            });
+
+            // Find the value of the style:family attribute
+            Object o1 = query.evaluate("/test/office:document/office:styles/style:default-style/@style:family", res.getNode(), XPathConstants.STRING);
+
+            Assert.assertTrue(o1.equals("graphics"));
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6465722.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,68 @@
+/*
+ * 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 transform;
+
+import java.io.StringReader;
+import java.io.StringWriter;
+
+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.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+
+/*
+ * @bug 6465722
+ * @summary Test Transformer can transform the node attribute prefixed with a namespace.
+ */
+public class Bug6465722 {
+
+    public Bug6465722(String name) {
+    }
+
+    private static final String IDENTITY_XSLT = "<xsl:stylesheet version='1.0' " + "xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>"
+            + "<xsl:template match='@*|node()'>" + "<xsl:copy>" + "<xsl:apply-templates select='@*|node()'/>" + "</xsl:copy>" + "</xsl:template>"
+            + "</xsl:stylesheet>";
+
+    @Test
+    public void test() {
+        try {
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            dbf.setNamespaceAware(true);
+            Document d = dbf.newDocumentBuilder().getDOMImplementation().createDocument(null, "r", null);
+            d.getDocumentElement().setAttributeNS("http://nowhere.net/", "id", "1");
+
+            Transformer t = TransformerFactory.newInstance().newTransformer(new StreamSource(new StringReader(IDENTITY_XSLT)));
+            t.transform(new DOMSource(d), new StreamResult(new StringWriter()));
+        } catch (Throwable ex) {
+            Assert.fail("Exception: " + ex.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6467808.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,72 @@
+/*
+ * 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 transform;
+
+import java.io.StringReader;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6467808
+ * @summary Test Transformer can parse re-declare prefixed namespace mappings.
+ */
+public class Bug6467808 {
+
+    private static final String TESTXML = "<?xml version='1.0' ?>\n"
+            + "<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:ns1='http://faulttestservice.org/wsdl'>\n"
+            + "<soapenv:Body>\n" + "<soapenv:Fault xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'>\n" + "<faultcode>\n"
+            + "soapenv:Server</faultcode>\n" + "<faultstring>\n" + "com.sun.ts.tests.jaxws.sharedwebservices.faultservice.DummyException</faultstring>\n"
+            + "<detail>\n" + "<ns1:DummyException>\n" + "<dummyField1>\n" + "dummyString1</dummyField1>\n" + "<dummyField2>\n" + "dummyString2</dummyField2>\n"
+            + "</ns1:DummyException>\n" + "</detail>\n" + "</soapenv:Fault>\n" + "</soapenv:Body>\n" + "</soapenv:Envelope>\n";
+
+    // simplest XML to re-declare same prefix/namespace mappings
+    private static final String SIMPLE_TESTXML = "<?xml version='1.0' ?>\n" + "<prefix:ElementName xmlns:prefix='URI'>\n"
+            + "<prefix:ElementName xmlns:prefix='URI'>\n" + "</prefix:ElementName>\n" + "</prefix:ElementName>\n";
+
+    @Test
+    public void test() {
+        try {
+            SAXParserFactory fac = SAXParserFactory.newInstance();
+            fac.setNamespaceAware(true);
+            SAXParser saxParser = fac.newSAXParser();
+
+            StreamSource src = new StreamSource(new StringReader(SIMPLE_TESTXML));
+            Transformer transformer = TransformerFactory.newInstance().newTransformer();
+            DOMResult result = new DOMResult();
+            transformer.transform(src, result);
+        } catch (Throwable ex) {
+            // unexpected failure
+            ex.printStackTrace();
+            Assert.fail(ex.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6490380.java	Mon Aug 17 11:18:31 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 transform;
+
+import java.io.StringWriter;
+import java.net.URL;
+
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6490380
+ * @summary Test only a single DOCTYPE declaration is generated through transforming.
+ */
+public class Bug6490380 {
+
+    @Test
+    public void test() {
+        try {
+            Transformer transformer = TransformerFactory.newInstance().newTransformer();
+            URL input = Bug6490380.class.getResource("Bug4693341.xml");
+            StreamSource source = new StreamSource(input.openStream(), input.toString());
+            StringWriter sw = new StringWriter();
+            transformer.transform(source, new StreamResult(sw));
+            String s = sw.toString();
+            Assert.assertEquals(s.indexOf("!DOCTYPE"), s.lastIndexOf("!DOCTYPE"));
+        } catch (Exception ex) {
+            Assert.fail(ex.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6490921.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,139 @@
+/*
+ * 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 transform;
+
+import java.io.IOException;
+import java.io.StringReader;
+import java.io.StringWriter;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.sax.SAXSource;
+import javax.xml.transform.sax.SAXTransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import org.xml.sax.helpers.XMLFilterImpl;
+
+/*
+ * @bug 6490921
+ * @summary Test property org.xml.sax.driver is always applied in transformer API.
+ */
+public class Bug6490921 {
+
+    public static class ReaderStub extends XMLFilterImpl {
+        static boolean used = false;
+
+        public ReaderStub() throws ParserConfigurationException, SAXException {
+            super();
+            super.setParent(SAXParserFactory.newInstance().newSAXParser().getXMLReader());
+        }
+
+        public void parse(InputSource input) throws SAXException, IOException {
+            used = true;
+            super.parse(input);
+        }
+
+        public void parse(String systemId) throws SAXException, IOException {
+            used = true;
+            super.parse(systemId);
+        }
+    }
+
+    @Test
+    public void test01() {
+        String xml = "<?xml version='1.0'?><root/>";
+        ReaderStub.used = false;
+        System.setProperty("org.xml.sax.driver", "");
+
+        // Don't set 'org.xml.sax.driver' here, just use default
+        try {
+            TransformerFactory transFactory = TransformerFactory.newInstance();
+            Transformer transformer = transFactory.newTransformer();
+            InputSource in = new InputSource(new StringReader(xml));
+            SAXSource source = new SAXSource(in);
+            StreamResult result = new StreamResult(new StringWriter());
+            transformer.transform(source, result);
+            Assert.assertTrue(!printWasReaderStubCreated());
+        } catch (Exception ex) {
+            Assert.fail(ex.getMessage());
+        }
+    }
+
+    @Test
+    public void test02() {
+        String xml = "<?xml version='1.0'?><root/>";
+        ReaderStub.used = false;
+        System.setProperty("org.xml.sax.driver", ReaderStub.class.getName());
+        try {
+            TransformerFactory transFactory = TransformerFactory.newInstance();
+            Transformer transformer = transFactory.newTransformer();
+            InputSource in = new InputSource(new StringReader(xml));
+            SAXSource source = new SAXSource(in);
+            StreamResult result = new StreamResult(new StringWriter());
+            transformer.transform(source, result);
+            Assert.assertTrue(printWasReaderStubCreated());
+        } catch (Exception ex) {
+            Assert.fail(ex.getMessage());
+        }
+    }
+
+    @Test
+    public void test03() {
+        String xsl = "<?xml version='1.0'?>\n" + "<xsl:stylesheet" + " xmlns:xsl='http://www.w3.org/1999/XSL/Transform'" + " version='1.0'>\n"
+                + "   <xsl:template match='/'>Hello World!</xsl:template>\n" + "</xsl:stylesheet>\n";
+
+        ReaderStub.used = false;
+        System.setProperty("org.xml.sax.driver", ReaderStub.class.getName());
+        try {
+            TransformerFactory transFactory = TransformerFactory.newInstance();
+            if (transFactory.getFeature(SAXTransformerFactory.FEATURE) == false) {
+                System.out.println("SAXTransformerFactory not supported");
+            }
+            InputSource in = new InputSource(new StringReader(xsl));
+            SAXSource source = new SAXSource(in);
+
+            transFactory.newTransformer(source);
+            Assert.assertTrue(printWasReaderStubCreated());
+        } catch (TransformerException e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    private static boolean printWasReaderStubCreated() {
+        if (ReaderStub.used) {
+            System.out.println("\tReaderStub is used.");
+            return ReaderStub.used;
+        } else {
+            System.out.println("\tReaderStub is not used.");
+            return ReaderStub.used;
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6505031.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,94 @@
+/*
+ * 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 transform;
+
+import java.io.StringWriter;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6505031
+ * @summary Test transformer parses keys and their values coming from different xml documents.
+ */
+public class Bug6505031 {
+
+    private String getResource(String s) {
+        return getClass().getResource(s).toString();
+
+    }
+
+    @Test
+    public void test() {
+        Map params = new HashMap();
+
+        params.put("config", getResource("config.xml"));
+        params.put("mapsFile", getResource("maps.xml"));
+        generate(getResource("template.xml"), getResource("transform.xsl"), params);
+    }
+
+    private void generate(String in, String xsl, Map params) {
+        try {
+            Transformer transformer = getTransformer(xsl);
+
+            for (Iterator i = params.entrySet().iterator(); i.hasNext();) {
+                Map.Entry entry = (Map.Entry) i.next();
+
+                transformer.setParameter((String) entry.getKey(), entry.getValue());
+            }
+            transform(in, transformer);
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    private Transformer getTransformer(String transform) throws Exception {
+        TransformerFactory tfactory = TransformerFactory.newInstance();
+
+        try {
+            // tfactory.setAttribute("generate-translet", Boolean.TRUE);
+        } catch (Exception e) {
+            // Ignore
+        }
+
+        Transformer transformer = tfactory.newTransformer(new StreamSource(transform));
+        return (transformer);
+    }
+
+    private void transform(String in, Transformer transformer) throws Exception {
+        StringWriter sw = new StringWriter();
+        transformer.transform(new StreamSource(in), new StreamResult(sw));
+        String s = sw.toString();
+        Assert.assertTrue(s.contains("map1key1value") && s.contains("map2key1value"));
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6513892.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,73 @@
+/*
+ * 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 transform;
+
+import java.io.File;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.BeforeClass;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+
+/*
+ * @bug 6513892
+ * @summary Test the output encoding of the transform is the same as that of the redirect extension.
+ */
+public class Bug6513892 {
+    @BeforeClass
+    public void setup(){
+        if (System.getSecurityManager() != null)
+            System.setSecurityManager(null);
+    }
+
+    @Test
+    public void test0() {
+        try {
+            TransformerFactory tf = TransformerFactory.newInstance();
+            Transformer t = tf.newTransformer(new StreamSource(getClass().getResourceAsStream("redirect.xsl"), getClass().getResource("redirect.xsl")
+                    .toString()));
+
+            StreamSource src1 = new StreamSource(getClass().getResourceAsStream("redirect.xml"));
+            t.transform(src1, new StreamResult("redirect1.xml"));
+
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            DocumentBuilder db = dbf.newDocumentBuilder();
+
+            Document d1 = db.parse(new File("redirect1.xml"));
+            Document d2 = db.parse(new File("redirect2.xml"));
+
+            Assert.assertTrue(d1.getDocumentElement().getFirstChild().getNodeValue().equals(d2.getDocumentElement().getFirstChild().getNodeValue()));
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6537167.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,81 @@
+/*
+ * 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 transform;
+
+import java.io.File;
+
+import javax.xml.transform.OutputKeys;
+import javax.xml.transform.Templates;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6537167
+ * @summary Test transforming for particular xsl files.
+ */
+public class Bug6537167 {
+
+    @Test
+    public void test926007_1() throws Exception {
+        TransformerFactory factory = TransformerFactory.newInstance();
+        File f = new File(getClass().getResource("logon.xsl").getPath());
+        Templates t = factory.newTemplates(new StreamSource(f));
+        Transformer transformer = t.newTransformer();
+        transformer.setOutputProperty(OutputKeys.INDENT, "yes");
+        transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
+
+        transformer.transform(new StreamSource(getClass().getResourceAsStream("src.xml")), new StreamResult(System.out));
+    }
+
+    @Test
+    public void test926007_2() throws Exception {
+        TransformerFactory factory = TransformerFactory.newInstance();
+        // factory.setAttribute("generate-translet", Boolean.TRUE);
+        File f = new File(getClass().getResource("home.xsl").getPath());
+        Templates t = factory.newTemplates(new StreamSource(f));
+        Transformer transformer = t.newTransformer();
+        transformer.setOutputProperty(OutputKeys.INDENT, "yes");
+        transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
+
+        transformer.transform(new StreamSource(getClass().getResourceAsStream("src.xml")), new StreamResult(System.out));
+    }
+
+    @Test
+    public void test926007_3() throws Exception {
+        TransformerFactory factory = TransformerFactory.newInstance();
+        // factory.setAttribute("generate-translet", Boolean.TRUE);
+        File f = new File(getClass().getResource("upload-media.xsl").getPath());
+        Templates t = factory.newTemplates(new StreamSource(f));
+        Transformer transformer = t.newTransformer();
+        transformer.setOutputProperty(OutputKeys.INDENT, "yes");
+        transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
+
+        transformer.transform(new StreamSource(getClass().getResourceAsStream("src.xml")), new StreamResult(System.out));
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6540545.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,60 @@
+/*
+ * 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 transform;
+
+import java.io.StringWriter;
+
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6540545
+ * @summary Test XSLT as expected.
+ */
+public class Bug6540545 {
+
+    @Test
+    public void test() {
+        try {
+            String xmlFile = "numbering63.xml";
+            String xslFile = "numbering63.xsl";
+
+            TransformerFactory tFactory = TransformerFactory.newInstance();
+            // tFactory.setAttribute("generate-translet", Boolean.TRUE);
+            Transformer t = tFactory.newTransformer(new StreamSource(getClass().getResourceAsStream(xslFile), getClass().getResource(xslFile).toString()));
+            StringWriter sw = new StringWriter();
+            t.transform(new StreamSource(getClass().getResourceAsStream(xmlFile)), new StreamResult(sw));
+            String s = sw.getBuffer().toString();
+            Assert.assertFalse(s.contains("1: Level A"));
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6559595.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,66 @@
+/*
+ * 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 transform;
+
+import java.io.StringReader;
+import java.io.StringWriter;
+
+import javax.xml.transform.OutputKeys;
+import javax.xml.transform.Result;
+import javax.xml.transform.Source;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6559595
+ * @summary Test ampersand in href attribute is not handled specially even if output is set to HTML.
+ */
+public class Bug6559595 {
+
+    @Test
+    public void test() {
+        try {
+            String xml = "<html><body><a href='http://example.com/bla?x&amp;y'>" + "</a></body></html>";
+
+            Source src = new StreamSource(new StringReader(xml));
+            StringWriter stringWriter = new StringWriter();
+            Result res = new StreamResult(stringWriter);
+            TransformerFactory tf = TransformerFactory.newInstance();
+            Transformer t = tf.newTransformer();
+            t.setOutputProperty(OutputKeys.METHOD, "html");
+            t.transform(src, res);
+
+            // System.out.println("s = " + stringWriter.toString());
+            Assert.assertTrue(stringWriter.toString().contains("&amp;"));
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6565260.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,60 @@
+/*
+ * 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 transform;
+
+import java.io.StringWriter;
+
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6565260
+ * @summary Test use-attribute-sets attribute is not used for the root node.
+ */
+public class Bug6565260 {
+
+    @Test
+    public void test() {
+        try {
+            String xmlFile = "attribset27.xml";
+            String xslFile = "attribset27.xsl";
+
+            TransformerFactory tFactory = TransformerFactory.newInstance();
+            // tFactory.setAttribute("generate-translet", Boolean.TRUE);
+            Transformer t = tFactory.newTransformer(new StreamSource(getClass().getResourceAsStream(xslFile)));
+            StringWriter sw = new StringWriter();
+            t.transform(new StreamSource(getClass().getResourceAsStream(xmlFile)), new StreamResult(sw));
+            String s = sw.getBuffer().toString();
+            Assert.assertFalse(s.contains("color") || s.contains("font-size"));
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Bug6940416.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,111 @@
+/*
+ * 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 transform;
+
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.StringWriter;
+
+import javax.xml.transform.Result;
+import javax.xml.transform.Source;
+import javax.xml.transform.SourceLocator;
+import javax.xml.transform.Templates;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerConfigurationException;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6940416
+ * @summary Test transforming correctly.
+ */
+public class Bug6940416 {
+
+    @Test
+    public void test() {
+        String xslFilename = getClass().getResource("ViewEditor1.xsl").getFile();
+        String inFilename = getClass().getResource("in.xml").getFile();
+        // String outFilename =
+        // getClass().getResource("out-6u17.xml").getFile();
+        // the xml result
+        StringWriter xmlResultString = new StringWriter();
+        try {
+            // Create transformer factory
+            TransformerFactory factory = TransformerFactory.newInstance();
+            factory.setAttribute("debug", true);
+            // Use the factory to create a template containing the xsl file
+            Templates template = factory.newTemplates(new StreamSource(new FileInputStream(xslFilename)));
+            // Use the template to create a transformer
+            Transformer xformer = template.newTransformer();
+            // Prepare the input and output files
+            Source source = new StreamSource(new FileInputStream(inFilename));
+            // Result result = new StreamResult(new
+            // FileOutputStream(outFilename));
+            Result result = new StreamResult(xmlResultString);
+            // Apply the xsl file to the source file and write the result to the
+            // output file
+            xformer.transform(source, result);
+
+            // 6u17 results contain the following:
+            /**
+             * var g_strInitialTabID = "VIEWEDITOR_TAB_FIELDS";
+             *
+             * var g_strCurrentDataEditorTabID = "DATA_OBJECTS"; var
+             * g_strCurrentPropertyEditorTabID = "VIEWEDITOR_TAB_GENERAL";
+             *
+             * while 6u18: var g_strInitialTabID = "";
+             *
+             * var g_strCurrentDataEditorTabID = ""; var
+             * g_strCurrentPropertyEditorTabID = "VIEWEDITOR_TAB_GENERAL";
+             */
+            System.out.println(xmlResultString.toString());
+            if (xmlResultString.toString().indexOf("VIEWEDITOR_TAB_FIELDS") == -1) {
+                Assert.fail("regression from 6u17");
+            }
+        } catch (FileNotFoundException e) {
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        } catch (TransformerConfigurationException e) {
+            // An error occurred in the XSL file
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        } catch (TransformerException e) {
+            e.printStackTrace();
+            // An error occurred while applying the XSL file
+            // Get location of error in input file
+            SourceLocator locator = e.getLocator();
+            int col = locator.getColumnNumber();
+            int line = locator.getLineNumber();
+            String publicId = locator.getPublicId();
+            String systemId = locator.getSystemId();
+            Assert.fail("error while applying the XSL file." + "systemId : " + systemId + ". publicId : " + publicId + ". col : " + col + ". line : " + line);
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/BugDB12665704.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="utf-8"?>
+<survey><ratingfactor><q1>1 </q1><q02>1 </q02><q03>0 </q03><q04>0 </q04><q05>0 </q05><q06>0 </q06><q07>0 </q07><q08>0 </q08><q09>0 </q09><q10>0 </q10><q11>0 </q11><q12>0 </q12><q13>0 </q13><q14>0 </q14><q15>0 </q15><q16>0 </q16><q17>0 </q17><q18>0 </q18><q19>0 </q19><q20>0 </q20><q21>0 </q21><q22>0 </q22><q23>0 </q23><q24>0 </q24><q25_biproposal>0 </q25_biproposal><q26>0 </q26><q27>0 </q27><id_4dd20c2384ef12e0e10080000ab5dd78>0 </id_4dd20c2384ef12e0e10080000ab5dd78><id_4dd111b255800ff0e10080000ab5dd78>0 </id_4dd111b255800ff0e10080000ab5dd78><id_4dd1111d55800ff0e10080000ab5dd78>0 </id_4dd1111d55800ff0e10080000ab5dd78><id_4dd20b5c84ef12e0e10080000ab5dd78>0 </id_4dd20b5c84ef12e0e10080000ab5dd78><q28>0 </q28></ratingfactor><rating><q1><a01_bimos rating="1 ">init_01_InitialDummy</a01_bimos><a01_bimos rating="1 ">MOS</a01_bimos><a01_bimos rating="1 ">MES</a01_bimos><a01_bimos rating="1 ">NN</a01_bimos></q1><q02><a02 rating="1 ">init_02_InitialDummy</a02><a02 rating="1 ">X</a02><a02 rating="1 ">id_4dd1acc6337e11d0e10080000ab5dd78</a02></q02><q03><a03 rating="0 ">init_03_InitialDummy</a03><a03 rating="0 ">id_4dd1ad48337e11d0e10080000ab5dd78</a03><a03 rating="0 ">id_4dd1ad8a337e11d0e10080000ab5dd78</a03><a03 rating="0 ">id_4dd1add2337e11d0e10080000ab5dd78</a03><a03 rating="0 ">id_4dd1ae1a337e11d0e10080000ab5dd78</a03></q03><q04><a04 rating="0 ">init_04_InitialDummy</a04><a04 rating="0 ">id_4dd1af06337e11d0e10080000ab5dd78</a04><a04 rating="0 ">id_4dd1af58337e11d0e10080000ab5dd78</a04></q04><q05><a05 rating="0 ">init_05_InitialDummy</a05><a05 rating="0 ">id_4dd1b05d337e11d0e10080000ab5dd78</a05><a05 rating="0 ">id_4dd1b0b9337e11d0e10080000ab5dd78</a05></q05><q06><a06 rating="0 ">init_06_InitialDummy</a06><a06 rating="0 ">id_4dd1b1da337e11d0e10080000ab5dd78</a06><a06 rating="0 ">id_4dd1b240337e11d0e10080000ab5dd78</a06></q06><q07><a07 rating="0 ">init_07_InitialDummy</a07><a07 rating="0 ">id_4dd1b320337e11d0e10080000ab5dd78</a07><a07 rating="0 ">id_4dd1b390337e11d0e10080000ab5dd78</a07></q07><q08><a08 rating="0 "/></q08><q09><a09 rating="0 ">init_09_InitialDummy</a09><a09 rating="0 ">id_4dd225b0770407c0e10080000ab5dd78</a09><a09 rating="0 ">id_4dd2262e770407c0e10080000ab5dd78</a09><a09 rating="0 ">id_4dd226af770407c0e10080000ab5dd78</a09></q09><q10><a10 rating="0 ">init_10_InitialDummy</a10><a10 rating="0 ">id_4dd2280f770407c0e10080000ab5dd78</a10><a10 rating="0 ">id_4dd20ac184ef12e0e10080000ab5dd78</a10></q10><q11><a11 rating="0 ">init_11_InitialDummy</a11><a11 rating="0 ">id_4dd2240285141030e10080000ab5dd78</a11><a11 rating="0 ">id_4dd2250885141030e10080000ab5dd78</a11></q11><q12><a12 rating="0 ">init_12_InitialDummy</a12><a12 rating="0 ">id_4dd2271585141030e10080000ab5dd78</a12><a12 rating="0 ">id_4dd2281485141030e10080000ab5dd78</a12></q12><q13><a13_matnr rating="0 "/><a13_matdesc rating="0 "/></q13><q14><a14 rating="0 ">init_14_InitialDummy</a14><a14 rating="0 ">id_4dd22d8585141030e10080000ab5dd78</a14><a14 rating="0 ">id_4dd22e9685141030e10080000ab5dd78</a14></q14><q15><a15 rating="0 ">init_15_InitialDummy</a15><a15 rating="0 ">id_4dd231ea85141030e10080000ab5dd78</a15><a15 rating="0 ">id_4dd2331685141030e10080000ab5dd78</a15></q15><q16><a16 rating="0 ">init_16_InitialDummy</a16><a16 rating="0 ">id_4dd2367685141030e10080000ab5dd78</a16><a16 rating="0 ">id_4dd2379b85141030e10080000ab5dd78</a16></q16><q17><a17 rating="0 ">init_17_InitialDummy</a17><a17 rating="0 ">id_4dd23b1f85141030e10080000ab5dd78</a17><a17 rating="0 ">id_4dd23c5f85141030e10080000ab5dd78</a17></q17><q18><a18 rating="0 ">init_18_InitialDummy</a18><a18 rating="0 ">id_4dd20e5685071800e10080000ab5dd78</a18><a18 rating="0 ">id_4dd20f8f85071800e10080000ab5dd78</a18></q18><q19><a19 rating="0 ">init_19_InitialDummy</a19><a19 rating="0 ">id_4dd2134985071800e10080000ab5dd78</a19><a19 rating="0 ">id_4dd2148c85071800e10080000ab5dd78</a19><a19 rating="0 ">id_4dd215d285071800e10080000ab5dd78</a19><a19 rating="0 ">id_4dd2172285071800e10080000ab5dd78</a19><a19 rating="0 ">id_4dd2186e85071800e10080000ab5dd78</a19></q19><q20><a20 rating="0 ">init_20_InitialDummy</a20><a20 rating="0 ">id_4dd21c6385071800e10080000ab5dd78</a20><a20 rating="0 ">id_4dd21db985071800e10080000ab5dd78</a20><a20 rating="0 ">id_4dd21f1285071800e10080000ab5dd78</a20><a20 rating="0 ">id_4dd2206e85071800e10080000ab5dd78</a20><a20 rating="0 ">id_4dd221cd85071800e10080000ab5dd78</a20><a20 rating="0 ">id_4dd2232f85071800e10080000ab5dd78</a20><a20 rating="0 ">id_4dd2249485071800e10080000ab5dd78</a20></q20><q21><a21 rating="0 ">init_21_InitialDummy</a21><a21 rating="0 ">id_4dd228d085071800e10080000ab5dd78</a21><a21 rating="0 ">id_4dd22a3f85071800e10080000ab5dd78</a21><a21 rating="0 ">id_4dd22bb185071800e10080000ab5dd78</a21></q21><q22><a22 rating="0 "/></q22><q23><a23 rating="0 "/></q23><q24><a24 rating="0 "/></q24><q25_biproposal><a25_biproposal_matnr rating="0 "/><a25_biproposal_matdesc rating="0 "/></q25_biproposal><q26><a26 rating="0 "/></q26><q27><a27 rating="0 "/></q27><id_4dd20c2384ef12e0e10080000ab5dd78><a30_biprodext rating="0 ">id_4dd209ce85141030e10080000ab5dd78</a30_biprodext><a30_biprodext rating="0 ">CUSTOMER_WISH</a30_biprodext><a30_biprodext rating="0 ">DEALER_WISH</a30_biprodext></id_4dd20c2384ef12e0e10080000ab5dd78><id_4dd111b255800ff0e10080000ab5dd78><id_4dd210d485141030e10080000ab5dd78 rating="0 "/></id_4dd111b255800ff0e10080000ab5dd78><id_4dd1111d55800ff0e10080000ab5dd78><a31_bimosdealer rating="0 ">id_4dd20ced85141030e10080000ab5dd78</a31_bimosdealer><a31_bimosdealer rating="0 ">Y</a31_bimosdealer><a31_bimosdealer rating="0 ">N</a31_bimosdealer></id_4dd1111d55800ff0e10080000ab5dd78><id_4dd20b5c84ef12e0e10080000ab5dd78><a29_birefund rating="0 ">id_4dd112db55800ff0e10080000ab5dd78</a29_birefund><a29_birefund rating="0 ">Y</a29_birefund><a29_birefund rating="0 ">N</a29_birefund><a29_birefundreason rating="0 ">id_4dd114c155800ff0e10080000ab5dd78</a29_birefundreason><a29_birefundreason rating="0 ">TEL_CUSTOMER</a29_birefundreason><a29_birefundreason rating="0 ">TEL_DEALER</a29_birefundreason><a29_birefundreason rating="0 ">TECHNICIAN</a29_birefundreason><a29_birefundreason rating="0 ">ORDER</a29_birefundreason></id_4dd20b5c84ef12e0e10080000ab5dd78><q28><a28 rating="0 "/></q28></rating><result><q1><a01_bimos>init_01_InitialDummy</a01_bimos></q1><q02><a02>init_02_InitialDummy</a02></q02><q03><a03>init_03_InitialDummy</a03></q03><q04><a04>init_04_InitialDummy</a04></q04><q05><a05>init_05_InitialDummy</a05></q05><q06><a06>init_06_InitialDummy</a06></q06><q07><a07>init_07_InitialDummy</a07></q07><q08><a08/></q08><q09><a09>init_09_InitialDummy</a09></q09><q10><a10>init_10_InitialDummy</a10></q10><q11><a11>init_11_InitialDummy</a11></q11><q12><a12>init_12_InitialDummy</a12></q12><q13><a13_matnr/><a13_matdesc/></q13><q14><a14>init_14_InitialDummy</a14></q14><q15><a15>init_15_InitialDummy</a15></q15><q16><a16>init_16_InitialDummy</a16></q16><q17><a17>init_17_InitialDummy</a17></q17><q18><a18>init_18_InitialDummy</a18></q18><q19><a19>init_19_InitialDummy</a19></q19><q20><a20>init_20_InitialDummy</a20></q20><q21><a21>init_21_InitialDummy</a21></q21><q22><a22/></q22><q23><a23/></q23><q24><a24/></q24><q25_biproposal><a25_biproposal_matnr/><a25_biproposal_matdesc/></q25_biproposal><q26><a26/></q26><q27><a27/></q27><id_4dd20c2384ef12e0e10080000ab5dd78><a30_biprodext>id_4dd209ce85141030e10080000ab5dd78</a30_biprodext></id_4dd20c2384ef12e0e10080000ab5dd78><id_4dd111b255800ff0e10080000ab5dd78><id_4dd210d485141030e10080000ab5dd78/></id_4dd111b255800ff0e10080000ab5dd78><id_4dd1111d55800ff0e10080000ab5dd78><a31_bimosdealer>id_4dd20ced85141030e10080000ab5dd78</a31_bimosdealer></id_4dd1111d55800ff0e10080000ab5dd78><id_4dd20b5c84ef12e0e10080000ab5dd78><a29_birefund>id_4dd112db55800ff0e10080000ab5dd78</a29_birefund><a29_birefundreason>id_4dd114c155800ff0e10080000ab5dd78</a29_birefundreason></id_4dd20b5c84ef12e0e10080000ab5dd78><q28><a28/></q28></result><mandatory><q08><a08/></q08></mandatory></survey>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/BugDB12665704.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wff="http://www.mysap.com/wff/2001" version="1.0" exclude-result-prefixes="wff">
+    <xsl:output encoding="UTF-8" indent="yes" method="html" version="4.01" doctype-system="http://www.w3.org/TR/html4/loose.dtd" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
+    <xsl:template match="/">
+        <html>
+            <xsl:variable name="enterValidDate">Bitte geben Sie ein gültiges Datum ein!</xsl:variable>
+            <xsl:variable name="enterValidNumber">Bitte geben Sie eine Zahl ein!</xsl:variable>
+            <xsl:variable name="enterValidTime">Bitte geben Sie eine gültige Uhrzeit ein!</xsl:variable>
+            <xsl:variable name="enterMandatoryField">Bitte machen Sie Eingaben in alle Mussfelder!</xsl:variable>
+            <xsl:variable name="C_Mode" select="//processing/@Mode"/>
+            <head><title/><meta name="save" content="snapshot"/><style type="text/css"></style>
+                <xsl:for-each select="//script/*">
+                    <xsl:element name="script">
+                        <xsl:attribute name="language">
+                            <xsl:apply-templates select="@language"/>
+                        </xsl:attribute>
+                        <xsl:text>&#xD;&lt;!--&#xD;</xsl:text>
+                            <xsl:apply-templates select="."/>
+                            <xsl:text>&#xD;//--&gt;</xsl:text>
+                    </xsl:element>
+                </xsl:for-each>
+            </head>
+            <body><xsl:for-each select="//onEvent/html/body/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><xsl:if test="count(/wff:envelope/wff:header/wff:message) > 0"><div class="Message"><xsl:value-of select="/wff:envelope/wff:header/wff:message"/></div></xsl:if><xsl:for-each select="/wff:envelope/wff:messages/wff:message/wff:text"><div class="Message"><xsl:value-of select="."/></div></xsl:for-each><xsl:for-each select="//message"><div class="Message"><xsl:variable name="source"><xsl:value-of select="//message/text()"/></xsl:variable><xsl:call-template name="getLineBreak"><xsl:with-param name="source" select="$source"/></xsl:call-template></div></xsl:for-each><div class="Title"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Geräteaustauschanforderung (GAF)'"/></xsl:call-template></div><form class="saveSnapshot" id="SAPSurvey" onSubmit="return check(this)" method="post"><xsl:if test="count(/wff:envelope/wff:header/wff:server_url) > 0"><xsl:attribute name="action"><xsl:value-of select="/wff:envelope/wff:header/wff:server_url"/></xsl:attribute></xsl:if><xsl:if test="count(/wff:envelope/wff:header/wff:server_url) = 0"><xsl:attribute name="action">SAPEVENT:WFF_EVENT</xsl:attribute><xsl:attribute name="enctype"/></xsl:if><xsl:if test="count(//survey/systemparamlocation) > 0"><xsl:variable name="X1" select="document(//survey/systemparamlocation[1])"/><xsl:attribute name="method"><xsl:value-of select="$X1/SurveySystemParam/@Method"/></xsl:attribute><xsl:attribute name="action"><xsl:value-of select="$X1/SurveySystemParam/@Action"/></xsl:attribute><xsl:attribute name="enctype"><xsl:value-of select="$X1/SurveySystemParam/@Enctype"/></xsl:attribute></xsl:if><xsl:for-each select="//onEvent/html/form/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><input type="hidden" name="svyApplicationId" value="CRM_SURVEY_SERVICE"/><input type="hidden" name="SurveyId" value="Z002_AER_AWASCHAUTOMAT"/><input type="hidden" name="svySurveyId" value="Z002_AER_AWASCHAUTOMAT"/><input type="hidden" name="svyVersion" value="0000000003"/><input type="hidden" name="SchemaVersion" value="1 "/><input type="hidden" name="svySchemaVersion" value="1 "/><input type="hidden" name="svyLanguage" value="DE"/><xsl:if test="count(//survey/systemparamlocation) > 0"><xsl:variable name="X1" select="document(//survey/systemparamlocation[1])"/><xsl:if test="$X1/SurveySystemParam/@ReplyDest"><xsl:element name="input"><xsl:attribute name="type">hidden</xsl:attribute><xsl:attribute name="name">svyReplyDest1</xsl:attribute><xsl:attribute name="value"><xsl:value-of select="$X1/SurveySystemParam/@ReplyDest"/></xsl:attribute></xsl:element></xsl:if></xsl:if><xsl:element name="input"><xsl:attribute name="type">hidden</xsl:attribute><xsl:attribute name="name">conid</xsl:attribute><xsl:attribute name="value"/><xsl:if test="count(//survey/systemparamlocation) > 0"><xsl:variable name="X1" select="document(//survey/systemparamlocation[1])"/><xsl:if test="$X1/SurveySystemParam/@ConnectorId"><xsl:attribute name="value"><xsl:value-of select="$X1/SurveySystemParam/@ConnectorId"/></xsl:attribute></xsl:if></xsl:if></xsl:element><xsl:for-each select="//hidden/*"><input type="hidden"><xsl:attribute name="name"><xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each><!--Begin of Section--><div Id="" class="Section1"><div class="SectionText1"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Waschautomaten'"/></xsl:call-template></div><xsl:if test="not((count(//noDisplay/q1)) + (count(//noDisplay/q1/*))= 1)"><div class="Question" Id="q1"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'01. Verantwortlich'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q1/a01_bimos)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/q1/a01_bimos" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q1/a01_bimos"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q1/a01_bimos/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="init_01_InitialDummy"><xsl:if test="//survey/result/q1/a01_bimos[. = 'init_01_InitialDummy']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></option><option value="MOS"><xsl:if test="//survey/result/q1/a01_bimos[. = 'MOS']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'MOS'"/></xsl:call-template></option><option value="MES"><xsl:if test="//survey/result/q1/a01_bimos[. = 'MES']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'MES'"/></xsl:call-template></option><option value="NN"><xsl:if test="//survey/result/q1/a01_bimos[. = 'NN']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'keine Zuordnung'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/q1/a01_bimos"><xsl:for-each select="//survey/result/q1/a01_bimos"><input type="hidden"><xsl:attribute name="name">survey/result/q1/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q02)) + (count(//noDisplay/q02/*))= 1)"><div class="Question" Id="q02"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'02. Offerte Ausführen'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q02/a02)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q02/a02" value="init_02_InitialDummy"><xsl:if test="//survey/result/q02/a02[. ='init_02_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q02/a02"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q02/a02/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q02/a02"><xsl:if test="//survey/result/q02/a02[. = 'init_02_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q02/a02</xsl:attribute><xsl:attribute name="value">init_02_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q02/a02" value="X"><xsl:if test="//survey/result/q02/a02[. ='X']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q02/a02"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q02/a02/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q02/a02"><xsl:if test="//survey/result/q02/a02[. = 'X']"><input type="hidden"><xsl:attribute name="name">survey/result/q02/a02</xsl:attribute><xsl:attribute name="value">X</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q02/a02" value="id_4dd1acc6337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q02/a02[. ='id_4dd1acc6337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q02/a02"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q02/a02/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q02/a02"><xsl:if test="//survey/result/q02/a02[. = 'id_4dd1acc6337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q02/a02</xsl:attribute><xsl:attribute name="value">id_4dd1acc6337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q03)) + (count(//noDisplay/q03/*))= 1)"><div class="Question" Id="q03"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'03. Elektrischer Anschluss'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q03/a03)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/q03/a03" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q03/a03"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q03/a03/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="init_03_InitialDummy"><xsl:if test="//survey/result/q03/a03[. = 'init_03_InitialDummy']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></option><option value="id_4dd1ad48337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q03/a03[. = 'id_4dd1ad48337e11d0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'230 Volt'"/></xsl:call-template></option><option value="id_4dd1ad8a337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q03/a03[. = 'id_4dd1ad8a337e11d0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'400 Volt 2N'"/></xsl:call-template></option><option value="id_4dd1add2337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q03/a03[. = 'id_4dd1add2337e11d0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'400 Volt 3N'"/></xsl:call-template></option><option value="id_4dd1ae1a337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q03/a03[. = 'id_4dd1ae1a337e11d0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'keine Zuordnung'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/q03/a03"><xsl:for-each select="//survey/result/q03/a03"><input type="hidden"><xsl:attribute name="name">survey/result/q03/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q04)) + (count(//noDisplay/q04/*))= 1)"><div class="Question" Id="q04"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'04. Nullleiter vorhanden'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q04/a04)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q04/a04" value="init_04_InitialDummy"><xsl:if test="//survey/result/q04/a04[. ='init_04_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q04/a04"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q04/a04/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q04/a04"><xsl:if test="//survey/result/q04/a04[. = 'init_04_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q04/a04</xsl:attribute><xsl:attribute name="value">init_04_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q04/a04" value="id_4dd1af06337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q04/a04[. ='id_4dd1af06337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q04/a04"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q04/a04/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q04/a04"><xsl:if test="//survey/result/q04/a04[. = 'id_4dd1af06337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q04/a04</xsl:attribute><xsl:attribute name="value">id_4dd1af06337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q04/a04" value="id_4dd1af58337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q04/a04[. ='id_4dd1af58337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q04/a04"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q04/a04/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q04/a04"><xsl:if test="//survey/result/q04/a04[. = 'id_4dd1af58337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q04/a04</xsl:attribute><xsl:attribute name="value">id_4dd1af58337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q05)) + (count(//noDisplay/q05/*))= 1)"><div class="Question" Id="q05"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'05. Via Münzwerk'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q05/a05)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q05/a05" value="init_05_InitialDummy"><xsl:if test="//survey/result/q05/a05[. ='init_05_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q05/a05"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q05/a05/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q05/a05"><xsl:if test="//survey/result/q05/a05[. = 'init_05_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q05/a05</xsl:attribute><xsl:attribute name="value">init_05_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q05/a05" value="id_4dd1b05d337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q05/a05[. ='id_4dd1b05d337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q05/a05"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q05/a05/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q05/a05"><xsl:if test="//survey/result/q05/a05[. = 'id_4dd1b05d337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q05/a05</xsl:attribute><xsl:attribute name="value">id_4dd1b05d337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q05/a05" value="id_4dd1b0b9337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q05/a05[. ='id_4dd1b0b9337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q05/a05"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q05/a05/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q05/a05"><xsl:if test="//survey/result/q05/a05[. = 'id_4dd1b0b9337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q05/a05</xsl:attribute><xsl:attribute name="value">id_4dd1b0b9337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q06)) + (count(//noDisplay/q06/*))= 1)"><div class="Question" Id="q06"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'06. Adapter Steuerausgang'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q06/a06)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q06/a06" value="init_06_InitialDummy"><xsl:if test="//survey/result/q06/a06[. ='init_06_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q06/a06"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q06/a06/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q06/a06"><xsl:if test="//survey/result/q06/a06[. = 'init_06_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q06/a06</xsl:attribute><xsl:attribute name="value">init_06_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q06/a06" value="id_4dd1b1da337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q06/a06[. ='id_4dd1b1da337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q06/a06"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q06/a06/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q06/a06"><xsl:if test="//survey/result/q06/a06[. = 'id_4dd1b1da337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q06/a06</xsl:attribute><xsl:attribute name="value">id_4dd1b1da337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q06/a06" value="id_4dd1b240337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q06/a06[. ='id_4dd1b240337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q06/a06"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q06/a06/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q06/a06"><xsl:if test="//survey/result/q06/a06[. = 'id_4dd1b240337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q06/a06</xsl:attribute><xsl:attribute name="value">id_4dd1b240337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q07)) + (count(//noDisplay/q07/*))= 1)"><div class="Question" Id="q07"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'07. Auf Betonsockel'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q07/a07)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q07/a07" value="init_07_InitialDummy"><xsl:if test="//survey/result/q07/a07[. ='init_07_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q07/a07"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q07/a07/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q07/a07"><xsl:if test="//survey/result/q07/a07[. = 'init_07_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q07/a07</xsl:attribute><xsl:attribute name="value">init_07_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q07/a07" value="id_4dd1b320337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q07/a07[. ='id_4dd1b320337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q07/a07"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q07/a07/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q07/a07"><xsl:if test="//survey/result/q07/a07[. = 'id_4dd1b320337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q07/a07</xsl:attribute><xsl:attribute name="value">id_4dd1b320337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q07/a07" value="id_4dd1b390337e11d0e10080000ab5dd78"><xsl:if test="//survey/result/q07/a07[. ='id_4dd1b390337e11d0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q07/a07"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q07/a07/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q07/a07"><xsl:if test="//survey/result/q07/a07[. = 'id_4dd1b390337e11d0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q07/a07</xsl:attribute><xsl:attribute name="value">id_4dd1b390337e11d0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q08)) + (count(//noDisplay/q08/*))= 1)"><div class="Question" Id="q08"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'08. Grösse: Breite x Tiefe'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q08/a08)"><tr><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q08/a08" size="48 " maxlength="48 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q08/a08"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q08/a08"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q08/a08/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q09)) + (count(//noDisplay/q09/*))= 1)"><div class="Question" Id="q09"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'09. Ablauf'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q09/a09)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/q09/a09" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q09/a09"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q09/a09/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="init_09_InitialDummy"><xsl:if test="//survey/result/q09/a09[. = 'init_09_InitialDummy']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></option><option value="id_4dd225b0770407c0e10080000ab5dd78"><xsl:if test="//survey/result/q09/a09[. = 'id_4dd225b0770407c0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Pumpe'"/></xsl:call-template></option><option value="id_4dd2262e770407c0e10080000ab5dd78"><xsl:if test="//survey/result/q09/a09[. = 'id_4dd2262e770407c0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ventil'"/></xsl:call-template></option><option value="id_4dd226af770407c0e10080000ab5dd78"><xsl:if test="//survey/result/q09/a09[. = 'id_4dd226af770407c0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'keine Zuordnung'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/q09/a09"><xsl:for-each select="//survey/result/q09/a09"><input type="hidden"><xsl:attribute name="name">survey/result/q09/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q10)) + (count(//noDisplay/q10/*))= 1)"><div class="Question" Id="q10"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'10. Normale Länge der Schläuche und Kabel'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q10/a10)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q10/a10" value="init_10_InitialDummy"><xsl:if test="//survey/result/q10/a10[. ='init_10_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q10/a10"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q10/a10/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q10/a10"><xsl:if test="//survey/result/q10/a10[. = 'init_10_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q10/a10</xsl:attribute><xsl:attribute name="value">init_10_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q10/a10" value="id_4dd2280f770407c0e10080000ab5dd78"><xsl:if test="//survey/result/q10/a10[. ='id_4dd2280f770407c0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q10/a10"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q10/a10/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q10/a10"><xsl:if test="//survey/result/q10/a10[. = 'id_4dd2280f770407c0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q10/a10</xsl:attribute><xsl:attribute name="value">id_4dd2280f770407c0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q10/a10" value="id_4dd20ac184ef12e0e10080000ab5dd78"><xsl:if test="//survey/result/q10/a10[. ='id_4dd20ac184ef12e0e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q10/a10"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q10/a10/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q10/a10"><xsl:if test="//survey/result/q10/a10[. = 'id_4dd20ac184ef12e0e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q10/a10</xsl:attribute><xsl:attribute name="value">id_4dd20ac184ef12e0e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q11)) + (count(//noDisplay/q11/*))= 1)"><div class="Question" Id="q11"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'11. Anschluss mit Waterproof-Ventil möglich'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q11/a11)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q11/a11" value="init_11_InitialDummy"><xsl:if test="//survey/result/q11/a11[. ='init_11_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q11/a11"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q11/a11/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q11/a11"><xsl:if test="//survey/result/q11/a11[. = 'init_11_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q11/a11</xsl:attribute><xsl:attribute name="value">init_11_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q11/a11" value="id_4dd2240285141030e10080000ab5dd78"><xsl:if test="//survey/result/q11/a11[. ='id_4dd2240285141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q11/a11"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q11/a11/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q11/a11"><xsl:if test="//survey/result/q11/a11[. = 'id_4dd2240285141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q11/a11</xsl:attribute><xsl:attribute name="value">id_4dd2240285141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q11/a11" value="id_4dd2250885141030e10080000ab5dd78"><xsl:if test="//survey/result/q11/a11[. ='id_4dd2250885141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q11/a11"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q11/a11/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q11/a11"><xsl:if test="//survey/result/q11/a11[. = 'id_4dd2250885141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q11/a11</xsl:attribute><xsl:attribute name="value">id_4dd2250885141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q12)) + (count(//noDisplay/q12/*))= 1)"><div class="Question" Id="q12"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'12. Wasch-Trocken-Turm'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q12/a12)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q12/a12" value="init_12_InitialDummy"><xsl:if test="//survey/result/q12/a12[. ='init_12_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q12/a12"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q12/a12/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q12/a12"><xsl:if test="//survey/result/q12/a12[. = 'init_12_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q12/a12</xsl:attribute><xsl:attribute name="value">init_12_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q12/a12" value="id_4dd2271585141030e10080000ab5dd78"><xsl:if test="//survey/result/q12/a12[. ='id_4dd2271585141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q12/a12"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q12/a12/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q12/a12"><xsl:if test="//survey/result/q12/a12[. = 'id_4dd2271585141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q12/a12</xsl:attribute><xsl:attribute name="value">id_4dd2271585141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q12/a12" value="id_4dd2281485141030e10080000ab5dd78"><xsl:if test="//survey/result/q12/a12[. ='id_4dd2281485141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q12/a12"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q12/a12/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q12/a12"><xsl:if test="//survey/result/q12/a12[. = 'id_4dd2281485141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q12/a12</xsl:attribute><xsl:attribute name="value">id_4dd2281485141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q13)) + (count(//noDisplay/q13/*))= 1)"><div class="Question" Id="q13"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'13. Anderes Gerät im Turm'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q13/a13_matnr)"><tr><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Produktnummer:'"/></xsl:call-template></td><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q13/a13_matnr" size="30 " maxlength="30 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q13/a13_matnr"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q13/a13_matnr"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q13/a13_matnr/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td></tr></xsl:if><xsl:if test="not(//noDisplay/q13/a13_matdesc)"><tr><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Bezeichnung:'"/></xsl:call-template></td><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q13/a13_matdesc" size="30 " maxlength="50 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q13/a13_matdesc"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q13/a13_matdesc"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q13/a13_matdesc/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q14)) + (count(//noDisplay/q14/*))= 1)"><div class="Question" Id="q14"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'14. WTV mit Auszug vorhanden'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q14/a14)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q14/a14" value="init_14_InitialDummy"><xsl:if test="//survey/result/q14/a14[. ='init_14_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q14/a14"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q14/a14/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q14/a14"><xsl:if test="//survey/result/q14/a14[. = 'init_14_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q14/a14</xsl:attribute><xsl:attribute name="value">init_14_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q14/a14" value="id_4dd22d8585141030e10080000ab5dd78"><xsl:if test="//survey/result/q14/a14[. ='id_4dd22d8585141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q14/a14"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q14/a14/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q14/a14"><xsl:if test="//survey/result/q14/a14[. = 'id_4dd22d8585141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q14/a14</xsl:attribute><xsl:attribute name="value">id_4dd22d8585141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q14/a14" value="id_4dd22e9685141030e10080000ab5dd78"><xsl:if test="//survey/result/q14/a14[. ='id_4dd22e9685141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q14/a14"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q14/a14/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q14/a14"><xsl:if test="//survey/result/q14/a14[. = 'id_4dd22e9685141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q14/a14</xsl:attribute><xsl:attribute name="value">id_4dd22e9685141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q15)) + (count(//noDisplay/q15/*))= 1)"><div class="Question" Id="q15"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'15. Eingebaut'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q15/a15)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q15/a15" value="init_15_InitialDummy"><xsl:if test="//survey/result/q15/a15[. ='init_15_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q15/a15"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q15/a15/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q15/a15"><xsl:if test="//survey/result/q15/a15[. = 'init_15_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q15/a15</xsl:attribute><xsl:attribute name="value">init_15_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q15/a15" value="id_4dd231ea85141030e10080000ab5dd78"><xsl:if test="//survey/result/q15/a15[. ='id_4dd231ea85141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q15/a15"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q15/a15/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q15/a15"><xsl:if test="//survey/result/q15/a15[. = 'id_4dd231ea85141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q15/a15</xsl:attribute><xsl:attribute name="value">id_4dd231ea85141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q15/a15" value="id_4dd2331685141030e10080000ab5dd78"><xsl:if test="//survey/result/q15/a15[. ='id_4dd2331685141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q15/a15"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q15/a15/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q15/a15"><xsl:if test="//survey/result/q15/a15[. = 'id_4dd2331685141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q15/a15</xsl:attribute><xsl:attribute name="value">id_4dd2331685141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q16)) + (count(//noDisplay/q16/*))= 1)"><div class="Question" Id="q16"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'16. Integriert'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q16/a16)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q16/a16" value="init_16_InitialDummy"><xsl:if test="//survey/result/q16/a16[. ='init_16_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q16/a16"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q16/a16/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q16/a16"><xsl:if test="//survey/result/q16/a16[. = 'init_16_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q16/a16</xsl:attribute><xsl:attribute name="value">init_16_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q16/a16" value="id_4dd2367685141030e10080000ab5dd78"><xsl:if test="//survey/result/q16/a16[. ='id_4dd2367685141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q16/a16"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q16/a16/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q16/a16"><xsl:if test="//survey/result/q16/a16[. = 'id_4dd2367685141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q16/a16</xsl:attribute><xsl:attribute name="value">id_4dd2367685141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q16/a16" value="id_4dd2379b85141030e10080000ab5dd78"><xsl:if test="//survey/result/q16/a16[. ='id_4dd2379b85141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q16/a16"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q16/a16/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q16/a16"><xsl:if test="//survey/result/q16/a16[. = 'id_4dd2379b85141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q16/a16</xsl:attribute><xsl:attribute name="value">id_4dd2379b85141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q17)) + (count(//noDisplay/q17/*))= 1)"><div class="Question" Id="q17"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'17. Untergebaut'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q17/a17)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q17/a17" value="init_17_InitialDummy"><xsl:if test="//survey/result/q17/a17[. ='init_17_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q17/a17"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q17/a17/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q17/a17"><xsl:if test="//survey/result/q17/a17[. = 'init_17_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q17/a17</xsl:attribute><xsl:attribute name="value">init_17_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q17/a17" value="id_4dd23b1f85141030e10080000ab5dd78"><xsl:if test="//survey/result/q17/a17[. ='id_4dd23b1f85141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q17/a17"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q17/a17/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q17/a17"><xsl:if test="//survey/result/q17/a17[. = 'id_4dd23b1f85141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q17/a17</xsl:attribute><xsl:attribute name="value">id_4dd23b1f85141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q17/a17" value="id_4dd23c5f85141030e10080000ab5dd78"><xsl:if test="//survey/result/q17/a17[. ='id_4dd23c5f85141030e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q17/a17"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q17/a17/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q17/a17"><xsl:if test="//survey/result/q17/a17[. = 'id_4dd23c5f85141030e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q17/a17</xsl:attribute><xsl:attribute name="value">id_4dd23c5f85141030e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q18)) + (count(//noDisplay/q18/*))= 1)"><div class="Question" Id="q18"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'18. Freistehend'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q18/a18)"><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q18/a18" value="init_18_InitialDummy"><xsl:if test="//survey/result/q18/a18[. ='init_18_InitialDummy']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q18/a18"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q18/a18/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q18/a18"><xsl:if test="//survey/result/q18/a18[. = 'init_18_InitialDummy']"><input type="hidden"><xsl:attribute name="name">survey/result/q18/a18</xsl:attribute><xsl:attribute name="value">init_18_InitialDummy</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q18/a18" value="id_4dd20e5685071800e10080000ab5dd78"><xsl:if test="//survey/result/q18/a18[. ='id_4dd20e5685071800e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q18/a18"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q18/a18/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q18/a18"><xsl:if test="//survey/result/q18/a18[. = 'id_4dd20e5685071800e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q18/a18</xsl:attribute><xsl:attribute name="value">id_4dd20e5685071800e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></td></tr><tr><td class="ListAnswerRadioButton"><input class="AnswerRadioButtonRW" type="radio" name="survey/result/q18/a18" value="id_4dd20f8f85071800e10080000ab5dd78"><xsl:if test="//survey/result/q18/a18[. ='id_4dd20f8f85071800e10080000ab5dd78']"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q18/a18"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerRadioButtonRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q18/a18/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input><xsl:for-each select="//readOnly/q18/a18"><xsl:if test="//survey/result/q18/a18[. = 'id_4dd20f8f85071800e10080000ab5dd78']"><input type="hidden"><xsl:attribute name="name">survey/result/q18/a18</xsl:attribute><xsl:attribute name="value">id_4dd20f8f85071800e10080000ab5dd78</xsl:attribute></input></xsl:if></xsl:for-each></td><td class="ListAnswerRadioButtonText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q19)) + (count(//noDisplay/q19/*))= 1)"><div class="Question" Id="q19"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'19. Einbauvarianten'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q19/a19)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/q19/a19" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q19/a19"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q19/a19/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="init_19_InitialDummy"><xsl:if test="//survey/result/q19/a19[. = 'init_19_InitialDummy']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></option><option value="id_4dd2134985071800e10080000ab5dd78"><xsl:if test="//survey/result/q19/a19[. = 'id_4dd2134985071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'GDU'"/></xsl:call-template></option><option value="id_4dd2148c85071800e10080000ab5dd78"><xsl:if test="//survey/result/q19/a19[. = 'id_4dd2148c85071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Montage-Set'"/></xsl:call-template></option><option value="id_4dd215d285071800e10080000ab5dd78"><xsl:if test="//survey/result/q19/a19[. = 'id_4dd215d285071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Integriert'"/></xsl:call-template></option><option value="id_4dd2172285071800e10080000ab5dd78"><xsl:if test="//survey/result/q19/a19[. = 'id_4dd2172285071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Normal'"/></xsl:call-template></option><option value="id_4dd2186e85071800e10080000ab5dd78"><xsl:if test="//survey/result/q19/a19[. = 'id_4dd2186e85071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'keine Zuordnung'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/q19/a19"><xsl:for-each select="//survey/result/q19/a19"><input type="hidden"><xsl:attribute name="name">survey/result/q19/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q20)) + (count(//noDisplay/q20/*))= 1)"><div class="Question" Id="q20"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'20. Farbe'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q20/a20)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/q20/a20" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q20/a20"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q20/a20/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="init_20_InitialDummy"><xsl:if test="//survey/result/q20/a20[. = 'init_20_InitialDummy']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></option><option value="id_4dd21c6385071800e10080000ab5dd78"><xsl:if test="//survey/result/q20/a20[. = 'id_4dd21c6385071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'braun'"/></xsl:call-template></option><option value="id_4dd21db985071800e10080000ab5dd78"><xsl:if test="//survey/result/q20/a20[. = 'id_4dd21db985071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'weiss'"/></xsl:call-template></option><option value="id_4dd21f1285071800e10080000ab5dd78"><xsl:if test="//survey/result/q20/a20[. = 'id_4dd21f1285071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'schwarz'"/></xsl:call-template></option><option value="id_4dd2206e85071800e10080000ab5dd78"><xsl:if test="//survey/result/q20/a20[. = 'id_4dd2206e85071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'edelstahl'"/></xsl:call-template></option><option value="id_4dd221cd85071800e10080000ab5dd78"><xsl:if test="//survey/result/q20/a20[. = 'id_4dd221cd85071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'aluminium'"/></xsl:call-template></option><option value="id_4dd2232f85071800e10080000ab5dd78"><xsl:if test="//survey/result/q20/a20[. = 'id_4dd2232f85071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'andere'"/></xsl:call-template></option><option value="id_4dd2249485071800e10080000ab5dd78"><xsl:if test="//survey/result/q20/a20[. = 'id_4dd2249485071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'keine Zuordnung'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/q20/a20"><xsl:for-each select="//survey/result/q20/a20"><input type="hidden"><xsl:attribute name="name">survey/result/q20/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q21)) + (count(//noDisplay/q21/*))= 1)"><div class="Question" Id="q21"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'21. Bandung'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q21/a21)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/q21/a21" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q21/a21"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q21/a21/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="init_21_InitialDummy"><xsl:if test="//survey/result/q21/a21[. = 'init_21_InitialDummy']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Auswahl erforderlich'"/></xsl:call-template></option><option value="id_4dd228d085071800e10080000ab5dd78"><xsl:if test="//survey/result/q21/a21[. = 'id_4dd228d085071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'rechts'"/></xsl:call-template></option><option value="id_4dd22a3f85071800e10080000ab5dd78"><xsl:if test="//survey/result/q21/a21[. = 'id_4dd22a3f85071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'links'"/></xsl:call-template></option><option value="id_4dd22bb185071800e10080000ab5dd78"><xsl:if test="//survey/result/q21/a21[. = 'id_4dd22bb185071800e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'keine Zuordnung'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/q21/a21"><xsl:for-each select="//survey/result/q21/a21"><input type="hidden"><xsl:attribute name="name">survey/result/q21/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q22)) + (count(//noDisplay/q22/*))= 1)"><div class="Question" Id="q22"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'22. Nischen-Breite'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q22/a22)"><tr><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q22/a22" size="48 " maxlength="48 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q22/a22"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q22/a22"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q22/a22/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q23)) + (count(//noDisplay/q23/*))= 1)"><div class="Question" Id="q23"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'23. Nischen-Höhe'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q23/a23)"><tr><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q23/a23" size="48 " maxlength="48 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q23/a23"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q23/a23"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q23/a23/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q24)) + (count(//noDisplay/q24/*))= 1)"><div class="Question" Id="q24"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'24. Sockel-Höhe'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q24/a24)"><tr><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q24/a24" size="48 " maxlength="48 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q24/a24"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q24/a24"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q24/a24/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q25_biproposal)) + (count(//noDisplay/q25_biproposal/*))= 1)"><div class="Question" Id="q25_biproposal"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'25. Neugeräte Vorschlag'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q25_biproposal/a25_biproposal_matnr)"><tr><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Produktnummer:'"/></xsl:call-template></td><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q25_biproposal/a25_biproposal_matnr" size="30 " maxlength="30 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q25_biproposal/a25_biproposal_matnr"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q25_biproposal/a25_biproposal_matnr"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q25_biproposal/a25_biproposal_matnr/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td></tr></xsl:if><xsl:if test="not(//noDisplay/q25_biproposal/a25_biproposal_matdesc)"><tr><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Bezeichnung:'"/></xsl:call-template></td><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q25_biproposal/a25_biproposal_matdesc" size="30 " maxlength="50 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q25_biproposal/a25_biproposal_matdesc"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q25_biproposal/a25_biproposal_matdesc"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q25_biproposal/a25_biproposal_matdesc/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q26)) + (count(//noDisplay/q26/*))= 1)"><div class="Question" Id="q26"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'26. Grund der Störung'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q26/a26)"><tr><td class="ListAnswerText"><textarea class="AnswerTextRW" name="survey/result/q26/a26" rows="3 " cols="41 "><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerTextRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q26/a26"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerTextRO</xsl:attribute></xsl:for-each><xsl:value-of select="//survey/result/q26/a26"/><xsl:text/><xsl:for-each select="//onEvent/q26/a26/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></textarea></td><td class="ListAnswerTextText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q27)) + (count(//noDisplay/q27/*))= 1)"><div class="Question" Id="q27"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'27. Bemerkung'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q27/a27)"><tr><td class="ListAnswerText"><textarea class="AnswerTextRW" name="survey/result/q27/a27" rows="3 " cols="41 "><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerTextRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q27/a27"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerTextRO</xsl:attribute></xsl:for-each><xsl:value-of select="//survey/result/q27/a27"/><xsl:text/><xsl:for-each select="//onEvent/q27/a27/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></textarea></td><td class="ListAnswerTextText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/id_4dd20c2384ef12e0e10080000ab5dd78)) + (count(//noDisplay/id_4dd20c2384ef12e0e10080000ab5dd78/*))= 1)"><div class="Question" Id="id_4dd20c2384ef12e0e10080000ab5dd78"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Grund Fremdproduktekauf'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="id_4dd209ce85141030e10080000ab5dd78"><xsl:if test="//survey/result/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext[. = 'id_4dd209ce85141030e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></option><option value="CUSTOMER_WISH"><xsl:if test="//survey/result/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext[. = 'CUSTOMER_WISH']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Kundenwunsch'"/></xsl:call-template></option><option value="DEALER_WISH"><xsl:if test="//survey/result/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext[. = 'DEALER_WISH']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Händlerwunsch'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext"><xsl:for-each select="//survey/result/id_4dd20c2384ef12e0e10080000ab5dd78/a30_biprodext"><input type="hidden"><xsl:attribute name="name">survey/result/id_4dd20c2384ef12e0e10080000ab5dd78/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/id_4dd111b255800ff0e10080000ab5dd78)) + (count(//noDisplay/id_4dd111b255800ff0e10080000ab5dd78/*))= 1)"><div class="Question" Id="id_4dd111b255800ff0e10080000ab5dd78"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Interne Bemerkung'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/id_4dd111b255800ff0e10080000ab5dd78/id_4dd210d485141030e10080000ab5dd78)"><tr><td class="ListAnswerText"><textarea class="AnswerTextRW" name="survey/result/id_4dd111b255800ff0e10080000ab5dd78/id_4dd210d485141030e10080000ab5dd78" rows="3 " cols="41 "><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerTextRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/id_4dd111b255800ff0e10080000ab5dd78/id_4dd210d485141030e10080000ab5dd78"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerTextRO</xsl:attribute></xsl:for-each><xsl:value-of select="//survey/result/id_4dd111b255800ff0e10080000ab5dd78/id_4dd210d485141030e10080000ab5dd78"/><xsl:text/><xsl:for-each select="//onEvent/id_4dd111b255800ff0e10080000ab5dd78/id_4dd210d485141030e10080000ab5dd78/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></textarea></td><td class="ListAnswerTextText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/id_4dd1111d55800ff0e10080000ab5dd78)) + (count(//noDisplay/id_4dd1111d55800ff0e10080000ab5dd78/*))= 1)"><div class="Question" Id="id_4dd1111d55800ff0e10080000ab5dd78"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Händlerauswahl durch MES/MOS'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="id_4dd20ced85141030e10080000ab5dd78"><xsl:if test="//survey/result/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer[. = 'id_4dd20ced85141030e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></option><option value="Y"><xsl:if test="//survey/result/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer[. = 'Y']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></option><option value="N"><xsl:if test="//survey/result/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer[. = 'N']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer"><xsl:for-each select="//survey/result/id_4dd1111d55800ff0e10080000ab5dd78/a31_bimosdealer"><input type="hidden"><xsl:attribute name="name">survey/result/id_4dd1111d55800ff0e10080000ab5dd78/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/id_4dd20b5c84ef12e0e10080000ab5dd78)) + (count(//noDisplay/id_4dd20b5c84ef12e0e10080000ab5dd78/*))= 1)"><div class="Question" Id="id_4dd20b5c84ef12e0e10080000ab5dd78"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Rückerstattungsbeleg'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="id_4dd112db55800ff0e10080000ab5dd78"><xsl:if test="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund[. = 'id_4dd112db55800ff0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></option><option value="Y"><xsl:if test="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund[. = 'Y']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Ja'"/></xsl:call-template></option><option value="N"><xsl:if test="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund[. = 'N']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'Nein'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund"><xsl:for-each select="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefund"><input type="hidden"><xsl:attribute name="name">survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if><xsl:if test="not(//noDisplay/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason)"><tr><td class="ListAnswerListbox"><select class="AnswerListboxRW" name="survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason" size="1"><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason"><xsl:attribute name="disabled">disabled</xsl:attribute><xsl:attribute name="class">AnswerListboxRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each><option value="id_4dd114c155800ff0e10080000ab5dd78"><xsl:if test="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason[. = 'id_4dd114c155800ff0e10080000ab5dd78']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></option><option value="TEL_CUSTOMER"><xsl:if test="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason[. = 'TEL_CUSTOMER']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'gemäss Telefonat mit Kunde'"/></xsl:call-template></option><option value="TEL_DEALER"><xsl:if test="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason[. = 'TEL_DEALER']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'gemäss Telefonat mit Händler'"/></xsl:call-template></option><option value="TECHNICIAN"><xsl:if test="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason[. = 'TECHNICIAN']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'gemäss Techniker'"/></xsl:call-template></option><option value="ORDER"><xsl:if test="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason[. = 'ORDER']"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'gemäss Bestellung'"/></xsl:call-template></option></select><xsl:for-each select="//readOnly/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason"><xsl:for-each select="//survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/a29_birefundreason"><input type="hidden"><xsl:attribute name="name">survey/result/id_4dd20b5c84ef12e0e10080000ab5dd78/<xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute></input></xsl:for-each></xsl:for-each></td></tr></xsl:if></tbody></table></div></xsl:if><xsl:if test="not((count(//noDisplay/q28)) + (count(//noDisplay/q28/*))= 1)"><div class="Question" Id="q28"><div class="QuestionText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="'28. Maschinenalter'"/></xsl:call-template></div><table summary="Survey Questions" class="QuestionList"><tbody><xsl:if test="not(//noDisplay/q28/a28)"><tr><td class="ListAnswerField"><input class="AnswerFieldRW" type="text" name="survey/result/q28/a28" size="50 " maxlength="50 "><xsl:attribute name="value"><xsl:value-of select="//survey/result/q28/a28"/></xsl:attribute><xsl:if test="$C_Mode='DISPLAY'"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:if><xsl:for-each select="//readOnly/q28/a28"><xsl:attribute name="readonly">readonly</xsl:attribute><xsl:attribute name="class">AnswerFieldRO</xsl:attribute></xsl:for-each><xsl:for-each select="//onEvent/q28/a28/*"><xsl:attribute name="{@Name}"><xsl:value-of select="@CallFunction"/></xsl:attribute></xsl:for-each></input></td><td class="ListAnswerFieldText"><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="''"/></xsl:call-template></td></tr></xsl:if></tbody></table></div></xsl:if><div class="Event"><xsl:if test="not($C_Mode='DISPLAY')"><input type="submit" class="ButtonInside" name="onInputProcessing(SUBMIT)" value="Sichern"/></xsl:if><xsl:if test="not($C_Mode='DISPLAY')"><input type="reset" class="ButtonInside" value="Eingaben zurücksetzen"/></xsl:if></div></div><!--End of Section--></form></body></html></xsl:template><xsl:template name="getLineBreak"><xsl:param name="source"/><xsl:variable name="sourceTextBR" select="string($source)"/><xsl:variable name="findBR">&lt;BR&gt;</xsl:variable><xsl:choose><xsl:when test="contains($sourceTextBR, $findBR)"><xsl:value-of select="substring-before($sourceTextBR,$findBR)"/><br/><xsl:call-template name="getLineBreak"><xsl:with-param name="source" select="substring-after($sourceTextBR,$findBR)"/></xsl:call-template></xsl:when><xsl:otherwise><xsl:value-of select="$sourceTextBR"/></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="getCRLF"><xsl:param name="source"/><xsl:variable name="sourceTextCRLF" select="string($source)"/><xsl:variable name="findCRLF">&amp;#013;&amp;#010;</xsl:variable><xsl:choose><xsl:when test="contains($sourceTextCRLF, $findCRLF)"><xsl:value-of select="substring-before($sourceTextCRLF,$findCRLF)"/>
+						&lt;BR&gt;
+						<xsl:call-template name="getCRLF"><xsl:with-param name="source" select="substring-after($sourceTextCRLF,$findCRLF)"/></xsl:call-template></xsl:when><xsl:otherwise><xsl:value-of select="$sourceTextCRLF"/></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="getCOMMENT"><xsl:param name="source"/><xsl:variable name="sourceTextCMNT" select="string($source)"/><xsl:variable name="findCOMMENT">&lt;COMMENT&gt;</xsl:variable><xsl:choose><xsl:when test="contains($sourceTextCMNT, $findCOMMENT)"><xsl:call-template name="getLineBreak"><xsl:with-param name="source" select="substring-before($sourceTextCMNT,$findCOMMENT)"/></xsl:call-template><xsl:element name="div"><xsl:attribute name="name">Comment</xsl:attribute><xsl:attribute name="class">Comment</xsl:attribute><xsl:call-template name="getLineBreak"><xsl:with-param name="source" select="substring-after($sourceTextCMNT,$findCOMMENT)"/></xsl:call-template></xsl:element></xsl:when><xsl:otherwise><xsl:call-template name="getLineBreak"><xsl:with-param name="source" select="$sourceTextCMNT"/></xsl:call-template></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="replaceString"><xsl:param name="source"/><xsl:param name="find"/><xsl:param name="replace"/><xsl:variable name="sourceText" select="string($source)"/><xsl:choose><xsl:when test="contains($sourceText, $find)"><xsl:value-of select="substring-before($sourceText,$find)"/><xsl:value-of select="$replace"/><xsl:call-template name="replaceString"><xsl:with-param name="source" select="substring-after($sourceText,$find)"/><xsl:with-param name="find" select="$find"/><xsl:with-param name="replace" select="$replace"/></xsl:call-template></xsl:when><xsl:otherwise><xsl:value-of select="$sourceText"/></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="replaceParams"><xsl:param name="source"/><xsl:param name="index" select="1"/><xsl:variable name="sourceText" select="$source"/><xsl:variable name="indexSource" select="$index - 1"/><xsl:choose><xsl:when test="count(//replaceables/*) > $indexSource"><xsl:for-each select="//replaceables/*[$index]"><xsl:variable name="find"><xsl:value-of select="name()"/></xsl:variable><xsl:variable name="replace"><xsl:value-of select="."/></xsl:variable><xsl:choose><xsl:when test="contains($sourceText, $find)"><xsl:call-template name="replaceParams"><xsl:with-param name="source"><xsl:call-template name="replaceString"><xsl:with-param name="source" select="$sourceText"/><xsl:with-param name="find" select="$find"/><xsl:with-param name="replace" select="$replace"/></xsl:call-template></xsl:with-param><xsl:with-param name="index" select="$index+1"/></xsl:call-template></xsl:when><xsl:otherwise><xsl:call-template name="replaceParams"><xsl:with-param name="source" select="$sourceText"/><xsl:with-param name="index" select="$index+1"/></xsl:call-template></xsl:otherwise></xsl:choose></xsl:for-each></xsl:when><xsl:otherwise><xsl:call-template name="getCOMMENT"><xsl:with-param name="source"><xsl:call-template name="getCRLF"><xsl:with-param name="source" select="$sourceText"/></xsl:call-template></xsl:with-param></xsl:call-template></xsl:otherwise></xsl:choose></xsl:template></xsl:stylesheet>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/BugDB12665704Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,153 @@
+/*
+ * 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 transform;
+
+import java.io.BufferedReader;
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.io.FileReader;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.StringReader;
+import java.io.StringWriter;
+
+import javax.xml.transform.Result;
+import javax.xml.transform.Source;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerConfigurationException;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6935697
+ * @summary Test Transformer can compile large xsl file.
+ */
+public class BugDB12665704Test {
+
+    @Test
+    public final void testTransform() {
+
+        try {
+            String str = new String();
+            ByteArrayOutputStream byte_stream = new ByteArrayOutputStream();
+            File inputFile = new File(getClass().getResource("BugDB12665704.xml").getPath());
+            FileReader in = new FileReader(inputFile);
+            int c;
+
+            while ((c = in.read()) != -1) {
+                str = str + new Character((char) c).toString();
+            }
+
+            in.close();
+
+            System.out.println(str);
+            byte buf[] = str.getBytes();
+            byte_stream.write(buf);
+            String style_sheet_uri = "BugDB12665704.xsl";
+            byte[] xml_byte_array = byte_stream.toByteArray();
+            InputStream xml_input_stream = new ByteArrayInputStream(xml_byte_array);
+
+            Source xml_source = new StreamSource(xml_input_stream);
+
+            TransformerFactory tFactory = TransformerFactory.newInstance();
+            Transformer transformer = tFactory.newTransformer();
+            StreamSource source = new StreamSource(getClass().getResource(style_sheet_uri).toString());
+            transformer = tFactory.newTransformer(source);
+
+            ByteArrayOutputStream result_output_stream = new ByteArrayOutputStream();
+            Result result = new StreamResult(result_output_stream);
+            transformer.transform(xml_source, result);
+            result_output_stream.close();
+
+            // expected success
+        } catch (Exception e) {
+            // unexpected failure
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+
+    @Test
+    public void testSAPTransform() {
+        StringWriter out = new StringWriter();
+        try {
+            String xml = getXML(getClass().getResource("BugDB12665704.xml").getPath());
+            getTransformer().transform(new StreamSource(new StringReader(xml)), new StreamResult(out));
+        } catch (TransformerConfigurationException ex) {
+            // Trace.dump(xslt);
+            // Trace.dump(xml);
+            System.err.println("can't process xslt: " + ex.getMessage() + " (" + ex + ")");
+        } catch (TransformerException ex) {
+            // Trace.dump(xslt);
+            // Trace.dump(xml);
+            System.err.println("can't process xml: " + ex.getMessage() + " (" + ex + ")");
+        } catch (Exception ex) {
+            // Trace.dump(xslt);
+            // Trace.dump(xml);
+            System.err.println("can't create processor: " + ex.getMessage() + " (" + ex + ")");
+        }
+    }
+
+    Transformer getTransformer() {
+        Transformer transformer = null;
+        try {
+            InputStream xin = this.getClass().getResourceAsStream("BugDB12665704.xsl");
+            StreamSource xslt = new StreamSource(xin);
+            TransformerFactory fc = TransformerFactory.newInstance();
+            transformer = fc.newTransformer(xslt);
+
+        } catch (Exception e) {
+            // unexpected failure
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+
+        return transformer;
+    }
+
+    String getXML(String sourceFile) throws IOException {
+        BufferedReader inputStream = null;
+        StringBuilder sb = new StringBuilder();
+        try {
+            inputStream = new BufferedReader(new FileReader(sourceFile));
+            String l;
+
+            while ((l = inputStream.readLine()) != null) {
+                sb.append(l);
+            }
+
+        } finally {
+            if (inputStream != null) {
+                inputStream.close();
+            }
+        }
+        return sb.toString();
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6401137.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<ObjectSetRoot>
+<Object>
+</Object>
+</ObjectSetRoot>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6401137.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xsl:stylesheet version="1.0"
+      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:variable name="validAffectsRelClasses">
+</xsl:variable>
+
+<xsl:key name="UniqueAffectsRelObjects"
+      match="/ObjectSetRoot/Object[
+      contains($validAffectsRelClasses, @Class)]"
+      use="not(@OBID=preceding-sibling::Object[
+      contains($validAffectsRelClasses, @Class)]/@OBID)"/>
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6401137Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,90 @@
+/*
+ * 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 transform;
+
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.io.FileReader;
+import java.io.InputStream;
+
+import javax.xml.transform.Result;
+import javax.xml.transform.Source;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6401137
+ * @summary Test transform certain xsl.
+ */
+public class CR6401137Test {
+
+    @Test
+    public final void testTransform() {
+
+        try {
+            String str = new String();
+            ByteArrayOutputStream byte_stream = new ByteArrayOutputStream();
+            File inputFile = new File(getClass().getResource("CR6401137.xml").getPath());
+            FileReader in = new FileReader(inputFile);
+            int c;
+
+            while ((c = in.read()) != -1) {
+                str = str + new Character((char) c).toString();
+            }
+
+            in.close();
+
+            System.out.println(str);
+            byte buf[] = str.getBytes();
+            byte_stream.write(buf);
+            String style_sheet_uri = "CR6401137.xsl";
+            byte[] xml_byte_array = byte_stream.toByteArray();
+            InputStream xml_input_stream = new ByteArrayInputStream(xml_byte_array);
+
+            Source xml_source = new StreamSource(xml_input_stream);
+
+            TransformerFactory tFactory = TransformerFactory.newInstance();
+            Transformer transformer = tFactory.newTransformer();
+            StreamSource source = new StreamSource(getClass().getResourceAsStream(style_sheet_uri));
+            transformer = tFactory.newTransformer(source);
+
+            ByteArrayOutputStream result_output_stream = new ByteArrayOutputStream();
+            Result result = new StreamResult(result_output_stream);
+            transformer.transform(xml_source, result);
+            result_output_stream.close();
+
+            // expected success
+        } catch (Exception e) {
+            // unexpected failure
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6551600.policy	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,22 @@
+grant {
+	permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
+	permission java.lang.RuntimePermission "accessDeclaredMembers";
+	
+	permission java.io.FilePermission "${test.classes}/../../-", "read, write, delete";
+	permission java.io.FilePermission ".", "read, write, delete";
+	permission java.util.PropertyPermission "*", "read, write";
+	
+    permission java.lang.RuntimePermission "setSecurityManager";
+    permission java.lang.RuntimePermission "createSecurityManager";
+    permission java.lang.RuntimePermission "createClassLoader";
+    permission java.lang.RuntimePermission "setIO";
+	permission java.lang.RuntimePermission "setContextClassLoader"; 
+	permission java.security.SecurityPermission "getPolicy";
+    
+    permission java.io.FilePermission "${test.src}/-", "read, write, delete";
+    permission java.io.FilePermission "${user.dir}/-", "read, write, delete";
+    permission java.io.FilePermission "${java.io.tmpdir}/-", "read, write, delete";
+    
+    permission java.io.FilePermission "//localhost/C$/xslt_unc_test.xml", "read, write, delete";
+    
+};
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6551600Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,88 @@
+/*
+ * 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 transform;
+
+import java.io.File;
+
+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.stream.StreamResult;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+
+/*
+ * @bug 6551600
+ * @summary Test using UNC path as StreamResult.
+ */
+public class CR6551600Test {
+
+    @Test
+    public final void testUNCPath() {
+        String hostName = "";
+        try {
+            hostName = java.net.InetAddress.getLocalHost().getHostName();
+        } catch (java.net.UnknownHostException e) {
+            // falls through
+        }
+
+        String path = "\\\\" + hostName + "\\C$\\xslt_unc_test.xml";
+        String os = System.getProperty("os.name");
+        if (os.indexOf("Windows") < 0) {
+            path = "///tmp/test.xml";
+        }
+        else {
+                policy.PolicyUtil.changePolicy(getClass().getResource("CR6551600.policy").getFile());
+        }
+
+        try {
+            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+            DocumentBuilder builder = factory.newDocumentBuilder();
+            Document doc = builder.newDocument();
+            Element root = doc.createElement("test");
+            doc.appendChild(root);
+            // create an identity transform
+            Transformer t = TransformerFactory.newInstance().newTransformer();
+            File f = new File(path);
+            StreamResult result = new StreamResult(f);
+            DOMSource source = new DOMSource(doc);
+            System.out.println("Writing to " + f);
+            t.transform(source, result);
+        } catch (Exception e) {
+            // unexpected failure
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+
+        File file = new File(path);
+        if (file.exists()) {
+            file.deleteOnExit();
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6577667.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+      xmlns:xlink="http://www.w3.org/1999/xlink"
+   >
+      <xsl:output omit-xml-declaration = "yes" />
+<xsl:template match="mo" >
+   <xsl:choose>
+      <xsl:when test="and * and" ></xsl:when>
+      <xsl:when test="and and and" ></xsl:when>
+      <xsl:when test="* and *" ></xsl:when>
+      <xsl:when test="not(preceding-sibling::elem1 and following-sibling::elem2)"></xsl:when>
+      <xsl:when test="not(preceding-sibling::* and following-sibling::*)"></xsl:when>
+      <xsl:when test="or * or" ></xsl:when>
+      <xsl:when test="and or or" ></xsl:when>
+      <xsl:when test="* or *" ></xsl:when>
+      <xsl:when test="not(preceding-sibling::elem1 or following-sibling::elem2)"></xsl:when>
+      <xsl:when test="not(preceding-sibling::* or following-sibling::*)"></xsl:when>
+      <xsl:when test="and | and" ></xsl:when>
+      <xsl:when test="* | *" ></xsl:when>
+      <xsl:when test="not(preceding-sibling::elem1 | following-sibling::elem2)"></xsl:when>
+      <xsl:when test="not(preceding-sibling::* | following-sibling::*)"></xsl:when>
+    </xsl:choose>
+</xsl:template>
+</xsl:stylesheet>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6577667Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,55 @@
+/*
+ * 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 transform;
+
+import java.io.InputStream;
+
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6577667
+ * @summary Test XSLT can parse statement "not(preceding-sibling::* or following-sibling::*)" in stylesheet file.
+ */
+public class CR6577667Test {
+
+    @Test
+    public final void testTransform() {
+        try {
+            InputStream xin = this.getClass().getResourceAsStream("CR6577667.xsl");
+            StreamSource xslt = new StreamSource(xin);
+            TransformerFactory fc = TransformerFactory.newInstance();
+            Transformer transformer = fc.newTransformer(xslt);
+        } catch (Exception e) {
+            // unexpected failure
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6652519Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,75 @@
+/*
+ * 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 transform;
+
+import java.io.File;
+
+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.DOMResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+
+/*
+ * @bug 6652519
+ * @summary Test transfoming from StreamSource to DOMResult.
+ */
+public class CR6652519Test {
+
+    @Test
+    public final void test1() {
+        try {
+            long start = System.currentTimeMillis();
+            Transformer t = TransformerFactory.newInstance().newTransformer();
+            File file = new File(getClass().getResource("msgAttach.xml").getFile());
+            StreamSource source = new StreamSource(file);
+            DOMResult result = new DOMResult();
+            t.transform(source, result);
+
+            long end = System.currentTimeMillis();
+            System.out.println("Test2:Total Time Taken=" + (end - start));
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    public final void xtest2() {
+        try {
+            long start = System.currentTimeMillis();
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            DocumentBuilder db = dbf.newDocumentBuilder();
+            Document doc = db.parse(new File(getClass().getResource("msgAttach.xml").getFile()));
+            long end = System.currentTimeMillis();
+            System.out.println("Test1: Total Time Taken=" + (end - start));
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6689809Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,60 @@
+/*
+ * 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 transform;
+
+import java.io.CharArrayWriter;
+
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6689809
+ * @summary Test Transformer can handle XPath predicates in xsl:key elements.
+ */
+public class CR6689809Test {
+
+    @Test
+    public final void testTransform() {
+
+        try {
+            StreamSource input = new StreamSource(getClass().getResourceAsStream("PredicateInKeyTest.xml"));
+            StreamSource stylesheet = new StreamSource(getClass().getResourceAsStream("PredicateInKeyTest.xsl"));
+            CharArrayWriter buffer = new CharArrayWriter();
+            StreamResult output = new StreamResult(buffer);
+
+            TransformerFactory.newInstance().newTransformer(stylesheet).transform(input, output);
+
+            Assert.assertEquals(buffer.toString(), "0|1|2|3", "XSLT xsl:key implementation is broken!");
+            // expected success
+        } catch (Exception e) {
+            // unexpected failure
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6905829.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<catalog>
+  <book>
+    <title>Java</title>
+  </book>
+</catalog>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6905829.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,22 @@
+<?xml version="1.0" ?>
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:template match="book">
+  <h1><xsl:value-of select="title"/></h1>
+  <xsl:call-template name="MyTemplate"/>
+
+<!--
+  <xsl:call-template name="MyTemplate">
+  <xsl:with-param name="x" select="2"/>
+  </xsl:call-template>
+-->
+</xsl:template>
+
+<xsl:template name="MyTemplate">
+  <xsl:param name="x" select="1"/>
+  <p>MyTemplate has been called. param x=<xsl:value-of select="$x"/>.</p>
+</xsl:template>
+
+<xsl:include href="CR6905829Inc.xsl"/>
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6905829Inc.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,10 @@
+<?xml version="1.0" ?>
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:template name="Dummy">
+  <p>Dummy has been called.</p>
+</xsl:template>
+
+</xsl:stylesheet>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6905829Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,61 @@
+/*
+ * 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 transform;
+
+import java.io.File;
+import java.io.StringWriter;
+
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6905829
+ * @summary Test XSLT can parse certain xsl.
+ */
+public class CR6905829Test {
+
+    @Test
+    public final void testTransform() {
+        try {
+            String file = getClass().getResource("CR6905829.xsl").getFile();
+            Transformer t = TransformerFactory.newInstance().newTransformer(new StreamSource(new File(file)));
+
+            System.out.printf("transformer: %s%n", t.getClass().getName());
+
+            StringWriter streamResult = new StringWriter();
+            t.transform(new StreamSource(getClass().getResourceAsStream("CR6905829.xml")), new StreamResult(streamResult));
+
+            // expected success
+        } catch (Exception e) {
+            // unexpected failure
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6935697.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,158 @@
+<Iteration><ViewEditor  ViewType='PieChart' DataSet='_Employees' ModifierID='undefined' Context='Data' Page='chartFields' ViewName='Pie Chart' bViewEditorAnimation="false" ><Translated><String name="DATA_OBJECTS">Data Objects</String>
+<String name="DATA_FIELDS">Data Fields</String>
+<String name="SELECT_ALL">select all</String>
+<String name="SELECT_NONE">select none</String>
+<String name="CHOOSE_DATA_OBJECT">Choose Data Object</String>
+<String name="CHOOSE_DATA_FIELDS">Choose Data Fields</String>
+<String name="MORE_OPTIONS">More Options, or Finish</String>
+<String name="NEXT">Next</String>
+<String name="BACK">Back</String>
+<String name="FINISH">Finish</String>
+<String name="APPLY">Apply</String>
+<String name="SORT_DIRECTION">Sort Direction</String>
+<String name="VIEW_FIELDS">View Fields</String>
+<String name="SORTED_FIELDS">Sorted Fields</String>
+<String name="ASCENDING">Ascending</String>
+<String name="DESCENDING">Descending</String>
+<String name="OK">OK</String>
+<String name="CANCEL">Cancel</String>
+<String name="REPORT_GROUPS">Report Groups</String>
+<String name="REPORT_GROUP">Report Group</String>
+<String name="REPORT_FIELDS">Report Fields</String>
+<String name="GROUP_PROPERTIES">Group Properties</String>
+<String name="DISPLAY_HEADER_FOOTER">Display Group Header/Footer</String>
+<String name="GROUP_SORT_DIRECTION">Group Sort Direction</String>
+<String name="GROUP_TYPE">Group Type</String>
+<String name="VIEWEDITOR_TAB_SURFACE_PROMPTS">Surface Prompts</String>
+<String name="HEADER">Header</String>
+<String name="FOOTER">Footer</String>
+<String name="DISPLAY_IN">Display in</String>
+<String name="ROW_FILTER_TAB">Row Filter</String>
+<String name="GROUP_FILTER_TAB">Group Filter</String>
+<String name="SUMMARY_FUNCTIONS">Summary Function(s)</String>
+<String name="REPORT_FOOTER">Report Footer</String>
+<String name="GROUP_FOOTER">Group Footer</String>
+<String name="DETAIL">Detail</String>
+<String name="SAME_VALUE">Same Value</String>
+<String name="CHOOSE_CONTENT_TYPE">Choose Content Type</String>
+<String name="PIE_GROUPS_AND_MULTIPLE_SERIES">If you group by a field, you can only choose one Summary Function for one Chart Value.</String>
+<String name="CHART_FIELDS_WITHOUT_AGGREGATES">You must select at least one summary function for each chart value.</String>
+<String name="AGGREGATE_SUM">Sum</String>
+<String name="AGGREGATE_AVERAGE">Average</String>
+<String name="AGGREGATE_MINIMUM">Minimum</String>
+<String name="AGGREGATE_MAXIMUM">Maximum</String>
+<String name="AGGREGATE_COUNT">Count</String>
+<String name="AGGREGATE_COUNTDISTINCT">Count Distinct</String>
+<String name="CHOOSE_GROUPS">Group</String>
+<String name="CHOOSE_SUMMARY">Summary</String>
+<String name="COLUMNS">Columns</String>
+<String name="ROWS">rows</String>
+<String name="VALUES">Values</String>
+<String name="SHOW_INTERMEDIATE_SUMMARY_FUNCTIONS">Show intermediate summary functions</String>
+<String name="SUMMARY_LEVELS">Summary Levels</String>
+<String name="HIDE">Hide</String>
+<String name="ARRANGE">Arrange</String>
+<String name="DATA_OBJECT">data object</String>
+<String name="FILTER_NAV_WARNING">You must click Add/Update Entry to apply the filter</String>
+<String name="FILTER_NAV_WARNING_TITLE">Filter Entry</String>
+<String name="CROSSTAB_EDITOR">Crosstab Editor</String>
+<String name="CROSSTAB_ROW_HELP_TEXT">Drag fields here to put the values on the row axis.</String>
+<String name="CROSSTAB_ERROR_NO_ROWS_OR_COLUMNS">There must be at least one field in either rows or columns.</String>
+<String name="CROSSTAB_ERROR_NO_VALUES">There must be at least one field selected for values.</String>
+<String name="CROSSTAB_ERROR_BUCKET">Invalid value for Time Group quantity. Year should be a perfect divisor of 10, Month of 12, Week of 52, and Hour of 24. Minute and Second should be a perfect divisor of 60. Quarter and Day of Year/Month/Week values can only be 1.</String>
+<String name="VIEWEDITOR_TAB_FIELDS">Fields</String>
+<String name="VIEWEDITOR_TAB_SORT">Sort</String>
+<String name="VIEWEDITOR_TAB_DATA_OBJECTS">Data Objects</String>
+<String name="VIEWEDITOR_TAB_ACTIONS">Actions</String>
+<String name="VIEWEDITOR_TAB_EDITABLEFIELDS">Editable Fields</String>
+<String name="VIEWEDITOR_TAB_FILTER">Filter</String>
+<String name="VIEWEDITOR_TAB_TOPN">Top N</String>
+<String name="VIEWEDITOR_TAB_DRILLING">Drilling</String>
+<String name="VIEWEDITOR_TAB_CALCULATION">Calculation</String>
+<String name="VIEWEDITOR_TAB_SUMMARY">Summary</String>
+<String name="VIEWEDITOR_TAB_GROUP">Group</String>
+<String name="VIEWEDITOR_TAB_DRIVING">Driving</String>
+<String name="VIEWEDITOR_TAB_GENERAL">General</String>
+<String name="VIEWEDITOR_TAB_CONTENT">Content</String>
+<String name="VIEWEDITOR_TAB_SHADING">Shading</String>
+<String name="VIEWEDITOR_TAB_TEXT">Text</String>
+<String name="VIEWEDITOR_TAB_ALIGN">Align</String>
+<String name="VIEWEDITOR_TAB_CONDITIONAL_FORMAT">Cond Format</String>
+<String name="VIEWEDITOR_TAB_VALUE_FORMAT">Value Format</String>
+<String name="VIEWEDITOR_TAB_DATALABELS">Data Labels</String>
+<String name="VIEWEDITOR_TAB_FONT">Font</String>
+<String name="VIEWEDITOR_TAB_ACTIVE_DATA">Active Data</String>
+<String name="VIEWEDITOR_TAB_AXIS">Axis</String>
+<String name="VIEWEDITOR_TAB_ACTION_FORM_CONTENT_TYPE">Content Type</String>
+<String name="VIEWEDITOR_TAB_ACTION_FORM_INPUTS">Inputs</String>
+<String name="VIEWEDITOR_TAB_ACTION_FORM_ASSOCIATIONS">Associations</String>
+<String name="VIEWEDITOR_TAB_GAUGE_STYLE">Gauge Styles</String>
+<String name="VIEWEDITOR_TAB_THEMES">Themes</String>
+<String name="BACKGROUND_COLOR">Background color</String>
+<String name="VIEWEDITOR_COLLAPSE_TIP_TEXT">Collapse Edit Pane</String>
+<String name="VIEWEDITOR_EXPAND_TIP_TEXT">Expand Edit Pane</String>
+<String name="VIEWEDITOR_MOVE_TIP_TEXT">Move Edit Pane</String>
+<String name="TOPN_TITLE_BARCHART">Display the Top N based on the first series of the chart</String>
+<String name="TOPN_TITLE_STACKEDBARCHART">Display the Top N based on the sum of the series of the chart</String>
+<String name="TOPN_TITLE_UPDATINGORDEREDLIST">Display the Top N based on the current sort criteria</String>
+<String name="VIEWEDITOR_TAB_LAYOUT">Layout</String>
+<String name="TOPN_QUANTITY">Quantity</String>
+<String name="TOPN_ADD_RANK_FIELD">Add a field displaying the rank number</String>
+<String name="TOPN_FIELD_NAME">Field Name</String>
+<String name="RANK_COLUMN">Rank Field</String>
+<String name="SELECT_STYLE">Select Style</String>
+<String name="STYLE1">High Performance</String>
+<String name="STYLE2">Horizon</String>
+<String name="MEDALLION">Medallion</String>
+<String name="VIEWEDITOR_TAB_MACROS">Macro Options</String>
+<String name="VIEWEDITOR_TAB_DATA_TRANSFER">Data Transfer</String>
+<String name="VIEWEDITOR_MACRO_BEFORE">Run this macro before</String>
+<String name="VIEWEDITOR_MACRO_AFTER">Run this macro after</String>
+<String name="VIEWEDITOR_EXCEL_NAME">Name</String>
+<String name="EXCEL_PROPERTIES_MACRO_STRING1">Run on data transfer</String>
+<String name="EXCEL_PROPERTIES_DATA_STRING1">Name definition for data</String>
+<String name="VIEWEDITOR_UOL_TOPN_NO_SORT">For Updating Ordered List views, apply a sort for Top N to display.</String>
+<String name="VIEWEDITOR_UOL_RANKCOLORS_NO_SORT">For Updating Ordered List views, apply a sort for Rank Colors to display.</String>
+<String name="VIEWEDITOR_UOL_TOPN_NO_SORT_TITLE">View Editor</String>
+<String name="SUMMARIZE">Summarize</String>
+<String name="SHOULD_COLLAPSE_WITH_NO_AGGREGATES">You must choose an aggregate function to Summarize a List.</String>
+<String name="VIEWEDITOR_UOL_SORTFIELD_NOT_SELECTED">For Updating Ordered List views, a field must be selected in the Fields page if you want to sort on it.</String>
+<String name="VIEWEDITOR_TAB_PATTERNS">Patterns</String>
+<String name="TIMEBUCKETS_NEGATIVEORZERO">Cannot create a negative or zero grouped time bucket.</String>
+<String name="TIMEBUCKETS_NONTIMEBASEDFUNCTION">Cannot create time buckets with a non time based function.</String>
+<String name="TIMEBUCKETS_NOTDIVISIBLE">is not a supported quantity for this time unit. \nSelect a quantity that divides evenly into</String>
+<String name="TIMEBUCKETS_CONTINUOUSSINGLE">Cannot create a continuous time series with multiple groupings or units.</String>
+<String name="VIEWEDITOR_TAB_TARGET">Target</String>
+<String name="AGGREGATE_NOOP">Calculation</String>
+<String name="AGGREGATE_PERCENTOFTOTAL">Percent Of Total</String>
+<String name="TAB_CONTENTS">Tab Contents</String>
+<String name="DASHBOARD_TOOLBAR">Toolbar</String>
+<String name="DASHBOARD_CONTENTS">Dashboard Contents</String>
+<String name="TIMEBUCKETS_NOTDIVISIBLE_QUARTER">is not a supported quantity for Quarters. \nQuarters can only use a quantity of</String>
+<String name="CHART_FIELDS_MODIFIERS_GROUPLEVELS">You must group by the same number of fields for all Data Objects.</String>
+<String name="CHART_FIELDS_MODIFIERS_GROUPLEVELS_TYPE">You must group by the same type of fields for all Data Objects.</String>
+<String name="CHART_DATA_FIELDS">Chart Data Fields</String>
+<String name="CHART_DATA_FIELDS_INDEX_MEASURE_SELECT">A field cannot be selected as an index and a measure.</String>
+<String name="CHART_DATA_FIELDS_SELECT_INDEX">Please select an Index</String>
+<String name="CHART_DATA_FIELDS_SELECT_MEASURE">Please select a Measure</String>
+<String name="CHART_DATA_FIELDS_PASS_FILTER">Please type in a Pass Filter</String>
+<String name="CHART_INDEX">Index</String>
+<String name="CHART_SPC_MEASURES">SPC Chart Measures</String>
+<String name="VIEWEDITOR_TAB_3D_VIEW">3D View</String>
+<String name="VIEW_EDITOR_DATA_ICON_TEXT">Data</String>
+<String name="VIEW_EDITOR_PROPERTIES_ICON_TEXT">Properties</String></Translated><Translated><String name="TIME_GROUP_TIME_UNIT">Time Unit</String>
+<String name="TIME_GROUP_QUANTITY">Quantity</String>
+<String name="TIME_BUCKETS">Time Groups</String>
+<String name="TIME_BUCKET_YEAR">Year</String>
+<String name="TIME_BUCKET_QUARTER">Quarter</String>
+<String name="TIME_BUCKET_MONTH">Month</String>
+<String name="TIME_BUCKET_WEEK">Week</String>
+<String name="TIME_BUCKET_DAYOFYEAR">Day of Year</String>
+<String name="TIME_BUCKET_DAYOFMONTH">Day of Month</String>
+<String name="TIME_BUCKET_DAYOFWEEK">Day of Week</String>
+<String name="TIME_BUCKET_HOUR">Hour</String>
+<String name="TIME_BUCKET_MINUTE">Minute</String>
+<String name="TIME_BUCKET_SECOND">Second</String>
+<String name="USE_TIME_SERIES">Use time series</String>
+<String name="CONTINUOUS_TIME_SERIES">Continuous time series</String>
+<String name="USE_TIME_GROUPS">Use time groups</String></Translated></ViewEditor><HelpTopicId>bam_as_viewedit_doselect</HelpTopicId></Iteration>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6935697.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,1452 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet version="2.0"
+  xmlns:Iteration="http://www.iterationsoftware.com"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:xalan="http://xml.apache.org/xalan"
+  xmlns:HTML="http://www.w3.org/Profiles/XHTML-transitional"
+  xmlns:v="urn:schemas-microsoft-com:vml"
+  xmlns:local="#local-functions">
+
+  <xsl:output method="xml" encoding="UTF-8" cdata-section-elements="CalcExpression Value"/>
+
+  <xsl:variable name="TabRowHeight">21</xsl:variable>
+
+  <xsl:variable name="DataEditor">
+      <xsl:call-template name="DataEditor"/>
+  </xsl:variable>
+
+  <xsl:variable name="PropertyEditor">
+    <PropertyEditor>
+      <View>
+        <ContentType>StreamingList</ContentType>
+        <ContentType>UpdatesList</ContentType>
+        <ContentType>List</ContentType>
+        <ContentType>UpdatingOrderedList</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
+          <Event>ValueFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
+          <Event>ActiveData</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRIVING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRIVING']"/></xsl:attribute>
+          <Event>Driving</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>CollapsedList</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
+          <Event>ValueFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
+          <Event>ActiveData</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRIVING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRIVING']"/></xsl:attribute>
+          <Event>Driving</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>ActionList</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_ACTIONS" path="/activestudio/stylesheets/xsl/vieweditor/views/list">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIONS']"/></xsl:attribute>
+          <Event>Actions</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_EDITABLEFIELDS" path="/activestudio/stylesheets/xsl/vieweditor/views/list">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_EDITABLEFIELDS']"/></xsl:attribute>
+          <Event>EditableFields</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
+          <Event>ValueFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
+          <Event>ActiveData</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRIVING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRIVING']"/></xsl:attribute>
+          <Event>Driving</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>OWCSpreadsheet</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor/views/owcspreadsheet">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
+          <Event>ActiveData</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>ExcelSpreadsheet</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor/views/excelspreadsheet">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_MACROS" path="/activestudio/stylesheets/xsl/vieweditor/views/excelspreadsheet">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_MACROS']"/></xsl:attribute>
+          <Event>Macros</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DATA_TRANSFER" path="/activestudio/stylesheets/xsl/vieweditor/views/excelspreadsheet">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DATA_TRANSFER']"/></xsl:attribute>
+          <Event>DataTransfer</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>Columnar</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
+          <Event>ValueFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
+          <Event>ActiveData</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>DialGauge</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>GeneralDial</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_GAUGE_STYLE">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GAUGE_STYLE']"/></xsl:attribute>
+          <Event>Styles</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
+          <Event>ValueFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>Arrow</ContentType>
+        <ContentType>MarketArrow</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor/views/kpi/arrow">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>GeneralArrow</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
+          <Event>ValueFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>RangeGauge</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>GeneralRange</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_GAUGE_STYLE">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GAUGE_STYLE']"/></xsl:attribute>
+          <Event>Styles</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
+          <Event>ValueFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+      </View>
+
+      <View>
+        <ContentType>SurfacePrompts</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor/views/surfaceprompts">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS" path="/activestudio/stylesheets/xsl/vieweditor/views/surfaceprompts">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
+          <Event>SurfacePrompts</Event>
+        </Page>
+      </View>
+
+      <View>
+        <ContentType>Container</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor/views/surfaceprompts">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRILLING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
+          <Event>Drilling</Event>
+        </Page>
+      </View>
+
+      <View>
+        <ContentType>RowGroup</ContentType>
+        <ContentType>ColumnGroup</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_LAYOUT" path="/activestudio/stylesheets/xsl/vieweditor/views/group">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_LAYOUT']"/></xsl:attribute>
+          <Event>Layout</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+      </View>
+
+      <View>
+        <ContentType>CustomContent</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_CONTENT">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CONTENT']"/></xsl:attribute>
+          <Event>ChooseContentType</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+      </View>
+
+      <View>
+        <ContentType>TabGroup</ContentType>
+        <Page id="TAB_CONTENTS">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='TAB_CONTENTS']"/>
+          </xsl:attribute>
+          <Event>TabContents</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+      </View>
+
+      <View>
+        <ContentType>Dashboard</ContentType>
+        <Page id="DASHBOARD_CONTENTS">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='DASHBOARD_CONTENTS']"/>
+          </xsl:attribute>
+          <Event>DashboardContents</Event>
+        </Page>
+        <Page id="DASHBOARD_TOOLBAR">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='DASHBOARD_TOOLBAR']"/>
+          </xsl:attribute>
+          <Event>DashboardToolbar</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+      </View>
+
+      <View>
+        <ContentType>ActionForm</ContentType>
+        <Page id="VIEWEDITOR_TAB_ACTION_FORM_CONTENT_TYPE">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTION_FORM_CONTENT_TYPE']"/></xsl:attribute>
+          <Event>chooseActionFormType</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_ACTION_FORM_INPUTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTION_FORM_INPUTS']"/></xsl:attribute>
+          <Event>inputs</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_ACTION_FORM_ASSOCIATIONS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTION_FORM_ASSOCIATIONS']"/></xsl:attribute>
+          <Event>associations</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_GENERAL" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+      </View>
+
+      <View>
+        <ContentType>BarChart</ContentType>
+        <ContentType>LineChart</ContentType>
+        <ContentType>AreaChart</ContentType>
+        <ContentType>ComboChart</ContentType>
+        <ContentType>StackedBarChart</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_AXIS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_AXIS']"/></xsl:attribute>
+          <Event>Axis</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DATALABELS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DATALABELS']"/></xsl:attribute>
+          <Event>DataLabels</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
+          <Event>ValueFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_THEMES">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_THEMES']"/></xsl:attribute>
+          <Event>Themes</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
+          <Event>ActiveData</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_PATTERNS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_PATTERNS']"/></xsl:attribute>
+          <Event>Patterns</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TARGET">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TARGET']"/></xsl:attribute>
+          <Event>Target</Event>
+        </Page>
+      </View>
+
+      <View>
+        <ContentType>ThreeDBarChart</ContentType>
+        <ContentType>ThreeDLineChart</ContentType>
+        <ContentType>ThreeDAreaChart</ContentType>
+        <ContentType>ThreeDComboChart</ContentType>
+        <ContentType>ThreeDStackedBarChart</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_AXIS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_AXIS']"/></xsl:attribute>
+          <Event>Axis</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DATALABELS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DATALABELS']"/></xsl:attribute>
+          <Event>DataLabels</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
+          <Event>ValueFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_THEMES">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_THEMES']"/></xsl:attribute>
+          <Event>Themes</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
+          <Event>ActiveData</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_PATTERNS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_PATTERNS']"/></xsl:attribute>
+          <Event>Patterns</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TARGET">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TARGET']"/></xsl:attribute>
+          <Event>Target</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_3DVIEW">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_3D_VIEW']"/></xsl:attribute>
+          <Event>3DView</Event>
+        </Page>
+      </View>
+      <View>
+
+        <Page id="VIEWEDITOR_TAB_GENERAL">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DATALABELS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DATALABELS']"/></xsl:attribute>
+          <Event>DataLabels</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
+          <Event>ValueFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+
+      </View>
+      <View>
+        <ContentType>RChart</ContentType>
+        <ContentType>SChart</ContentType>
+        <ContentType>PChart</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_AXIS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_AXIS']"/></xsl:attribute>
+          <Event>Axis</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
+          <Event>ValueFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_THEMES">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_THEMES']"/></xsl:attribute>
+          <Event>Themes</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
+          <Event>ActiveData</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>PieChart</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DATALABELS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DATALABELS']"/></xsl:attribute>
+          <Event>DataLabels</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
+          <Event>ValueFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_THEMES" path="/activestudio/stylesheets/xsl/vieweditor/views/chart">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_THEMES']"/></xsl:attribute>
+          <Event>Themes</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
+          <Event>ActiveData</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_PATTERNS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_PATTERNS']"/></xsl:attribute>
+          <Event>Patterns</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>ThreeDPieChart</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DATALABELS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DATALABELS']"/></xsl:attribute>
+          <Event>DataLabels</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
+          <Event>ValueFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_THEMES" path="/activestudio/stylesheets/xsl/vieweditor/views/chart">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_THEMES']"/></xsl:attribute>
+          <Event>Themes</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
+          <Event>ActiveData</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_PATTERNS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_PATTERNS']"/></xsl:attribute>
+          <Event>Patterns</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_3DVIEW">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_3D_VIEW']"/></xsl:attribute>
+          <Event>3DView</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>CrossTab</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
+          <Event>ValueFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_THEMES" path="/activestudio/stylesheets/xsl/vieweditor/views/crosstab">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_THEMES']"/></xsl:attribute>
+          <Event>Themes</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
+          <Event>ActiveData</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRIVING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRIVING']"/></xsl:attribute>
+          <Event>Driving</Event>
+        </Page>
+      </View>
+
+      <View>
+        <ContentType>Matrix</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
+          <Event>ValueFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_CONDITIONAL_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CONDITIONAL_FORMAT']"/></xsl:attribute>
+          <Event>ConditionalFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_THEMES" path="/activestudio/stylesheets/xsl/vieweditor/views/crosstab">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_THEMES']"/></xsl:attribute>
+          <Event>Themes</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
+          <Event>ActiveData</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRIVING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRIVING']"/></xsl:attribute>
+          <Event>Driving</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>SummaryCrosstab</ContentType>
+        <Page id="VIEWEDITOR_TAB_GENERAL">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GENERAL']"/></xsl:attribute>
+          <Event>General</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SHADING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SHADING']"/></xsl:attribute>
+          <Event>BordersAndShading</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TEXT_AND_ALIGN" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TEXT']"/>
+            <xsl:text> &amp; </xsl:text>
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ALIGN']"/>
+          </xsl:attribute>
+          <Event>TextAndAlignment</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FONT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FONT']"/></xsl:attribute>
+          <Event>Font</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_VALUE_FORMAT" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_VALUE_FORMAT']"/></xsl:attribute>
+          <Event>ValueFormat</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_ACTIVE_DATA" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_ACTIVE_DATA']"/></xsl:attribute>
+          <Event>ActiveData</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRIVING" path="/activestudio/stylesheets/xsl/vieweditor">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRIVING']"/></xsl:attribute>
+          <Event>Driving</Event>
+        </Page>
+      </View>
+
+    </PropertyEditor>
+  </xsl:variable>
+
+  <xsl:variable name="view_type"><xsl:value-of select="//ViewEditor/@ViewType"/></xsl:variable>
+  <xsl:variable name="InitialTabEvent"><xsl:value-of select="//ViewEditor/@Page"/></xsl:variable>
+
+  <xsl:template match="/">
+    <xsl:apply-templates select="Iteration"/>
+  </xsl:template>
+
+  <xsl:template match="Iteration">
+
+
+
+    <script>
+
+	  var g_strInitialTabID = "<xsl:choose>
+        <xsl:when test="//ViewEditor/@Context = 'Data'">
+          <xsl:value-of select="xalan:nodeset($DataEditor)/DataEditor/View[ContentType=$view_type]/Page[Event = $InitialTabEvent]/@id"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="xalan:nodeset($PropertyEditor)/PropertyEditor/View[ContentType=$view_type]/Page[Event = $InitialTabEvent]/@id"/>
+        </xsl:otherwise>
+      </xsl:choose>";
+
+      var g_strCurrentDataEditorTabID = "<xsl:value-of select="xalan:nodeset($DataEditor)/DataEditor/View[ContentType=$view_type]/Page[1]/@id"/>";
+      var g_strCurrentPropertyEditorTabID = "<xsl:value-of select="xalan:nodeset($PropertyEditor)/PropertyEditor/View[ContentType=$view_type]/Page[1]/@id"/>";
+
+    </script>
+
+      <xsl:apply-templates select="ViewEditor"/>
+  </xsl:template>
+
+  <xsl:template match="ViewEditor">
+    <Iteration:viewEditor id="viewEditor" mode="editor">
+      <xsl:attribute name="bAnimate"><xsl:value-of select="@bViewEditorAnimation"/></xsl:attribute>
+
+
+
+
+
+    <tbody id="viewEditorBody">
+      <tr>
+        <td><xsl:call-template name="Content"/></td>
+        </tr>
+    </tbody>
+
+
+
+    </Iteration:viewEditor>
+  </xsl:template>
+
+  <xsl:template name="Content">
+          <xsl:attribute name="height"><xsl:value-of select="$TabRowHeight"/></xsl:attribute>
+          <xsl:call-template name="ContentScroller">
+            <xsl:with-param name="UniqueScrollerID">DataTabsScroller</xsl:with-param>
+            <xsl:with-param name="ScrolledRegionHeight"><xsl:value-of select="$TabRowHeight"/></xsl:with-param>
+            <xsl:with-param name="ScrolledContentTop">2</xsl:with-param>
+            <xsl:with-param name="HTMLContent">
+              <Iteration:TabBar id="ViewEditorDataTabBar" TabStyle="Editor">
+                <xml id="TabsXML">
+                  <Tabs>
+                    <xsl:apply-templates select="xalan:nodeset($DataEditor)/DataEditor/View[ContentType=$view_type]/Page"></xsl:apply-templates>
+                  </Tabs>
+                </xml>
+              </Iteration:TabBar>
+            </xsl:with-param>
+          </xsl:call-template>
+    </xsl:template>
+
+  <xsl:template match="Page">
+    <Tab>
+      <xsl:attribute name="TabID"><xsl:value-of select="@id"/></xsl:attribute>
+      <TabText>
+        <xsl:attribute name="strText"><xsl:value-of select="@label"/></xsl:attribute>
+      </TabText>
+      <Description>
+        <xsl:attribute name="strDescription"><xsl:value-of select="@label"/></xsl:attribute>
+      </Description>
+      <OnClick bCheckForSuccess="true">
+        <xsl:attribute name="onclick">viewEditor.SelectTab('<xsl:value-of select="@id"/>');</xsl:attribute>
+      </OnClick>
+      <TabProperties>
+        <TabProperty name="label">
+          <xsl:attribute name="value"><xsl:value-of select="@label"/></xsl:attribute>
+        </TabProperty>
+        <TabProperty name="event">
+          <xsl:attribute name="value"><xsl:value-of select="Event"/></xsl:attribute>
+        </TabProperty>
+        <TabProperty name="path">
+          <xsl:attribute name="value"><xsl:value-of select="@path"/></xsl:attribute>
+        </TabProperty>
+      </TabProperties>
+    </Tab>
+  </xsl:template>
+
+  <xsl:template name="ContentScroller">
+    <xsl:param name="UniqueScrollerID"/>
+    <xsl:param name="ClassName"/>
+    <xsl:param name="ScrolledRegionHeight"/>
+    <xsl:param name="ScrolledContentTop"/>
+    <xsl:param name="AttachResize">true</xsl:param>
+    <xsl:param name="HTMLContent"/>
+
+    <Iteration:ContentScroller>
+      <xsl:attribute name="id"><xsl:value-of select="$UniqueScrollerID"/></xsl:attribute>
+
+      <table cellspacing="0" cellpadding="0" border="0" width="100%" style="margin:0;">
+        <xsl:attribute name="class"><xsl:value-of select="$ClassName"/></xsl:attribute>
+        <tr>
+          <td id="LeftScrollerButton" style="padding-right:5px;padding-left:2px;display:none;">
+            <img src="../shared/images/scroller_leftarrow.gif">
+              <xsl:attribute name="onmousedown"><xsl:value-of select="$UniqueScrollerID"/>.StartScrollLeft();</xsl:attribute>
+              <xsl:attribute name="onmouseout"><xsl:value-of select="$UniqueScrollerID"/>.EndScroll();</xsl:attribute>
+              <xsl:attribute name="onmouseup"><xsl:value-of select="$UniqueScrollerID"/>.EndScroll();</xsl:attribute>
+            </img>
+          </td>
+
+          <td width="100%">
+            <div id="OuterScrollDiv">
+              <xsl:if test="$AttachResize = 'true'">
+                <xsl:attribute name="onresize"><xsl:value-of select="$UniqueScrollerID"/>.OnResize();</xsl:attribute>
+              </xsl:if>
+              <xsl:attribute name="style">
+                position:relative;overflow:hidden;width:100%;height:<xsl:value-of select="$ScrolledRegionHeight"/>px;
+              </xsl:attribute>
+              <div id="ScrollDiv">
+                <xsl:attribute name="style">
+                  position:absolute;width:100%;left:0px;top:<xsl:value-of select="$ScrolledContentTop"/>px;
+                </xsl:attribute>
+                <xsl:copy-of select="$HTMLContent"/>
+              </div>
+            </div>
+          </td>
+
+        </tr>
+      </table>
+    </Iteration:ContentScroller>
+
+  </xsl:template>
+
+
+  <xsl:template name="DataEditor">
+    <DataEditor>
+      <View>
+        <ContentType>UpdatingOrderedList</ContentType>
+        <ContentType>ActionList</ContentType>
+        <Page id="DATA_OBJECTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
+          <Event>datasets</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FIELDS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
+          <Event>fields</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SORT">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SORT']"/></xsl:attribute>
+          <Event>sort</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FILTER">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
+          <Event>rowFilter</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TOPN">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TOPN']"/></xsl:attribute>
+          <Event>topN</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_CALCULATION">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
+          <Event>calculations</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRILLING">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
+          <Event>drilling</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
+          <Event>surfacePrompts</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>CollapsedList</ContentType>
+        <ContentType>List</ContentType>
+        <ContentType>OWCSpreadsheet</ContentType>
+        <ContentType>ExcelSpreadsheet</ContentType>
+        <Page id="DATA_OBJECTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
+          <Event>datasets</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FIELDS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
+          <Event>fields</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SORT">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SORT']"/></xsl:attribute>
+          <Event>sort</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FILTER">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
+          <Event>rowFilter</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_CALCULATION">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
+          <Event>calculations</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRILLING">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
+          <Event>drilling</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
+          <Event>surfacePrompts</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>StreamingList</ContentType>
+        <ContentType>UpdatesList</ContentType>
+        <Page id="DATA_OBJECTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
+          <Event>datasets</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FIELDS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
+          <Event>fields</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FILTER">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
+          <Event>rowFilter</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_CALCULATION">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
+          <Event>calculations</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRILLING">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
+          <Event>drilling</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
+          <Event>surfacePrompts</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>CrossTab</ContentType>
+        <Page id="DATA_OBJECTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
+          <Event>datasets</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FIELDS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
+          <Event>crosstabFields</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SUMMARY">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SUMMARY']"/></xsl:attribute>
+          <Event>aggregate</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FILTER">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
+          <Event>rowFilter</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_CALCULATION">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
+          <Event>calculations</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRILLING">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
+          <Event>drilling</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
+          <Event>surfacePrompts</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>Matrix</ContentType>
+        <Page id="DATA_OBJECTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
+          <Event>datasets</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FIELDS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
+          <Event>crosstabFields</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FILTER">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
+          <Event>rowFilter</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRILLING">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
+          <Event>drilling</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_CALCULATION">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
+          <Event>calculations</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
+          <Event>surfacePrompts</Event>
+        </Page>
+     </View>
+     <View>
+        <ContentType>SummaryCrosstab</ContentType>
+        <Page id="DATA_OBJECTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
+          <Event>datasets</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FIELDS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
+          <Event>crosstabFields</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SUMMARY">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SUMMARY']"/></xsl:attribute>
+          <Event>aggregate</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FILTER">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
+          <Event>rowFilter</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_CALCULATION">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
+          <Event>calculations</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRILLING">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
+          <Event>drilling</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
+          <Event>surfacePrompts</Event>
+        </Page>
+     </View>
+     <View>
+        <ContentType>Columnar</ContentType>
+        <Page id="DATA_OBJECTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
+          <Event>datasets</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FIELDS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
+          <Event>fields</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_GROUP">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_GROUP']"/></xsl:attribute>
+          <Event>group</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SUMMARY">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SUMMARY']"/></xsl:attribute>
+          <Event>aggregate</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FILTER">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
+          <Event>rowFilter</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_CALCULATION">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
+          <Event>calculations</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRILLING">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
+          <Event>drilling</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>StackedBarChart</ContentType>
+        <ContentType>LineChart</ContentType>
+        <ContentType>AreaChart</ContentType>
+        <ContentType>ComboChart</ContentType>
+        <ContentType>ThreeDStackedBarChart</ContentType>
+        <ContentType>ThreeDLineChart</ContentType>
+        <ContentType>ThreeDAreaChart</ContentType>
+        <ContentType>ThreeDComboChart</ContentType>
+        <Page id="DATA_OBJECTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
+          <Event>datasets</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FIELDS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
+          <Event>chartFields</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FILTER">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
+          <Event>rowFilter</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TOPN">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TOPN']"/></xsl:attribute>
+          <Event>topN</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_CALCULATION">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
+          <Event>calculations</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRILLING">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
+          <Event>drilling</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
+          <Event>surfacePrompts</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>RChart</ContentType>
+        <ContentType>SChart</ContentType>
+        <ContentType>PChart</ContentType>
+        <Page id="DATA_OBJECTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
+          <Event>datasets</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FIELDS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
+          <Event>chartFields</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FILTER">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
+          <Event>rowFilter</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_CALCULATION">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
+          <Event>calculations</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRILLING">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
+          <Event>drilling</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
+          <Event>surfacePrompts</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>BarChart</ContentType>
+        <ContentType>ThreeDBarChart</ContentType>
+        <Page id="DATA_OBJECTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
+          <Event>datasets</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FIELDS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
+          <Event>chartFields</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FILTER">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
+          <Event>rowFilter</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_TOPN">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_TOPN']"/></xsl:attribute>
+          <Event>topN</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_CALCULATION">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
+          <Event>calculations</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRILLING">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
+          <Event>drilling</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
+          <Event>surfacePrompts</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>PieChart</ContentType>
+        <ContentType>ThreeDPieChart</ContentType>
+
+        <Page id="DATA_OBJECTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
+          <Event>datasets</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FIELDS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
+          <Event>chartFields</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FILTER">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
+          <Event>rowFilter</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_CALCULATION">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
+          <Event>calculations</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRILLING">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
+          <Event>drilling</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
+          <Event>surfacePrompts</Event>
+        </Page>
+      </View>
+      <View>
+        <ContentType>Arrow</ContentType>
+        <ContentType>MarketArrow</ContentType>
+        <ContentType>RangeGauge</ContentType>
+        <ContentType>DialGauge</ContentType>
+        <Page id="DATA_OBJECTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/></xsl:attribute>
+          <Event>datasets</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FIELDS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/></xsl:attribute>
+          <Event>kPIFields</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FILTER">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FILTER']"/></xsl:attribute>
+          <Event>rowFilter</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_CALCULATION">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_CALCULATION']"/></xsl:attribute>
+          <Event>calculations</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_DRILLING">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_DRILLING']"/></xsl:attribute>
+          <Event>drilling</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_SURFACE_PROMPTS">
+          <xsl:attribute name="label"><xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_SURFACE_PROMPTS']"/></xsl:attribute>
+          <Event>surfacePrompts</Event>
+        </Page>
+      </View>
+    </DataEditor>
+  </xsl:template>
+
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6935697Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,73 @@
+/*
+ * 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 transform;
+
+import java.io.FileOutputStream;
+
+import javax.xml.transform.Result;
+import javax.xml.transform.Source;
+import javax.xml.transform.Templates;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6935697
+ * @summary Test XSLT can parse the certain xsl.
+ */
+public class CR6935697Test {
+
+    @Test
+    public final void testTransform() {
+
+        try {
+
+            String inFilename = "CR6935697.xml";
+            String xslFilename = "CR6935697.xsl";
+            String outFilename = "CR6935697.out";
+
+            // Create transformer factory
+            TransformerFactory factory = TransformerFactory.newInstance();
+            // Use the factory to create a template containing the xsl file
+            Templates template = factory.newTemplates(new StreamSource(getClass().getResourceAsStream(xslFilename)));
+            // Use the template to create a transformer
+            Transformer xformer = template.newTransformer();
+            // Prepare the input and output files
+            Source source = new StreamSource(getClass().getResourceAsStream(inFilename));
+            Result result = new StreamResult(new FileOutputStream(outFilename));
+            // Apply the xsl file to the source file and write the result to the
+            // output file
+            xformer.transform(source, result);
+
+        } catch (Exception e) {
+            // unexpected failure
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6941869.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,21 @@
+<a>
+  <b>
+    <c>
+      <d>
+        <e attr="foo">
+	  E3
+        </e>
+      </d>
+    </c>
+  </b>
+  <b>
+    <c>
+      <d>
+        <e attr="bar">
+	  E3
+        </e>
+      </d>
+    </c>
+  </b>
+</a>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6941869.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,49 @@
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <!-- Xalan 2.6 contained in the Sun JDK 1.5 u12 and newer has issues with
+       evaluating grouping nodes according the Muenchian Method (by Steve Muench),
+       where nodes are stored in a key data structure for the group key, and later
+       a group start is checked by checking for the first node retrieved for a key.
+       The nodes are compared using a set union, where the size of the set should
+       be 1 when the nodes are identical, and different to 1 when the nodes are
+       different.
+       The issue with Xalan 2.6 as part of the JDK is, that it does not evaluate the
+       expression "count(.|key('props', subexpr)[1])" correctly. It always returns
+       "1". If the argument expression of count() is stored in a variable first,
+       and the variable is used as argument for count(), then everything works fine.
+  -->
+
+
+
+  <xsl:key name="props" match="c" use="d/e"/>
+  <xsl:template match="a">
+
+    Working (by replacing the count() argument with a variable):
+    <xsl:for-each select="b">
+      <xsl:for-each select="c">
+        <xsl:variable name="tNodeSet" select=".|key('props', d/e)[1]"/>
+        <xsl:for-each select="$tNodeSet">
+        Node <xsl:value-of select="d/e/@attr"/>;
+        </xsl:for-each>
+        count = <xsl:value-of select="count($tNodeSet)"/>
+      </xsl:for-each>
+        ---------
+    </xsl:for-each>
+    Not working in the 2nd loop iteration (by using the union expression as count() argument):
+    <xsl:for-each select="b">
+      <xsl:for-each select="c">
+        <!-- We replaced the variable "tNodeSet" by the related union expression.
+             The for-each loop will work correctly, but the count() will
+             always return "1" instead of first "1" and then "2".
+        -->
+
+        <xsl:for-each select=".|key('props', d/e)[1]">
+        Node <xsl:value-of select="d/e/@attr"/>;
+        </xsl:for-each>
+        count = <xsl:value-of select="count(.|key('props', d/e)[1])"/>
+      </xsl:for-each>
+        ---------
+    </xsl:for-each>
+
+  </xsl:template>
+</xsl:stylesheet>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6941869Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,72 @@
+/*
+ * 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 transform;
+
+import java.io.File;
+import java.io.StringWriter;
+
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6941869
+ * @summary Test XSLT evaluate "count(.|key('props', d/e)[1])" correctly.
+ */
+public class CR6941869Test {
+
+    @Test
+    public final void testTransform() {
+        File xml = new File(getClass().getResource("CR6941869.xml").getFile());
+        File xsl = new File(getClass().getResource("CR6941869.xsl").getFile());
+        try {
+            TransformerFactory tFactory = TransformerFactory.newInstance();
+            Transformer transformer = tFactory.newTransformer();
+            StreamSource source = new StreamSource(xsl);
+            transformer = tFactory.newTransformer(source);
+            // the xml result
+            StringWriter xmlResultString = new StringWriter();
+            StreamResult xmlResultStream = new StreamResult(xmlResultString);
+
+            transformer.transform(new StreamSource(xml), xmlResultStream);
+            System.out.println(xmlResultString.toString());
+            String temp = xmlResultString.toString();
+            int pos = temp.lastIndexOf("count");
+            if (temp.substring(pos + 8, pos + 9).equals("1")) {
+                Assert.fail("count=1");
+            } else if (temp.substring(pos + 8, pos + 9).equals("2")) {
+                // expected success
+                System.out.println("count=2");
+            }
+        } catch (Exception e) {
+            // unexpected failure
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6957215.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<aaa name="aaa-name" package="aaa-package">
+  <bbb name="bbb-name" />
+</aaa>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6957215.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,19 @@
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <xsl:output method="xml" indent="yes" />
+  <xsl:template match="aaa">
+    <xsl:copy>
+      <xsl:copy-of select="@*" />
+      <xsl:element name="aaa-ref">
+        <xsl:attribute name="name">namevalue</xsl:attribute>
+        <xsl:attribute name="package">packagevalue</xsl:attribute>
+      </xsl:element>
+    </xsl:copy>
+  </xsl:template>
+  <xsl:variable name="this">
+    <xsl:apply-templates select="aaa" />
+  </xsl:variable>
+  <xsl:template match="/">
+    <xsl:copy-of select="$this" />
+  </xsl:template>
+</xsl:stylesheet>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR6957215Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,95 @@
+/*
+ * 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 transform;
+
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.StringWriter;
+
+import javax.xml.transform.Result;
+import javax.xml.transform.Source;
+import javax.xml.transform.SourceLocator;
+import javax.xml.transform.Templates;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerConfigurationException;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6957215
+ * @summary Test XSLT generates the element content using xsl:attribute instructions.
+ */
+public class CR6957215Test {
+
+    @Test
+    public final void testTransform() {
+        xsl(getClass().getResource("CR6957215.xml").getFile(), getClass().getResource("CR6957215.xsl").getFile());
+    }
+
+    public static void xsl(String inFilename, String xslFilename) {
+        try {
+            // Create transformer factory
+            TransformerFactory factory = TransformerFactory.newInstance();
+
+            // Use the factory to create a template containing the xsl file
+            Templates template = factory.newTemplates(new StreamSource(new FileInputStream(xslFilename)));
+
+            // Use the template to create a transformer
+            Transformer xformer = template.newTransformer();
+
+            // Prepare the input and output files
+            Source source = new StreamSource(new FileInputStream(inFilename));
+
+            StringWriter strResult = new StringWriter();
+            Result result = new StreamResult(strResult);
+
+            // Apply the xsl file to the source file and write the result to the
+            // output file
+            xformer.transform(source, result);
+            String resultString = strResult.toString();
+            System.out.println(resultString);
+            if (resultString.indexOf("aaa-ref/") > 0)
+                Assert.fail("missing attributes");
+        } catch (FileNotFoundException e) {
+            e.printStackTrace();
+        } catch (TransformerConfigurationException e) {
+            // An error occurred in the XSL file
+            e.printStackTrace();
+        } catch (TransformerException e) {
+            e.printStackTrace();
+            // An error occurred while applying the XSL file
+            // Get location of error in input file
+            SourceLocator locator = e.getLocator();
+            int col = locator.getColumnNumber();
+            int line = locator.getLineNumber();
+            String publicId = locator.getPublicId();
+            String systemId = locator.getSystemId();
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR7098746.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<?xml-stylesheet type="text/xsl" href="../resources/style/page.xsl"?>
+
+<my:doc xmlns:my="http://www.jenitennison.com/" xmlns="http://www.w3.org/1999/xhtml">
+
+   <p>
+	These pages are all about XSLT, an XML-based language for translating one set of XML into another set of XML, or into HTML.  Of course, there are all sorts of <my:link href="#links">other pages</my:link>	around that cover XSLT.  Jeni's XSLT Pages, though, are dedicated to helping people understand and make the most of using XSLT.
+</p>
+   <p>
+	My warmest thanks to all those people who post interesting problems on <my:link href="http://www.mulberytech.com/xsl/xsl-list/">XSL-List</my:link>, and 	especially to those of you that have encouraged me to set up this site through your kind emails.
+</p>
+
+</my:doc>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR7098746.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,618 @@
+<?xml version="1.0" encoding='UTF-8'?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0"
+                xmlns:my="http://www.jenitennison.com/"
+                xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:html="http://www.w3.org/1999/xhtml"
+                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                xmlns:dcq="http://purl.org/dc/qualifiers/1.0/"
+                xmlns:vcf="http://www.ietf.org/internet-drafts/draft-dawson-vcard-xml-dtd-03.txt"
+                xmlns:msxsl="urn:schemas-microsoft-com:xslt"
+                exclude-result-prefixes="rdf dc dcq my html vcf msxsl">
+
+<xsl:output doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
+            cdata-section-elements="script"
+            indent="no"
+            method="xml"
+            encoding='UTF-8'/>
+
+<xsl:param name="dynamic" select="'true'" />
+<xsl:param name="base" select="'/'" />
+
+<xsl:variable name="supports-document" select="function-available('document')" />
+<xsl:variable name="supports-keys" select="function-available('key')" />
+
+<xsl:variable name="default-title" select='"Jeni&apos;s XML Site"' />
+
+<xsl:template match="my:doc">
+  <xsl:variable name="metadata" select="/*/rdf:RDF" />
+  <xsl:variable name="uri" select="$metadata/rdf:Description[1]/@about" />
+	<html>
+		<head>
+			<title>
+				<xsl:call-template name="get-metadata">
+					<xsl:with-param name="what" select="'title'" />
+				  <xsl:with-param name="about" select="$uri" />
+				</xsl:call-template>
+			</title>
+			<xsl:call-template name="get-metadata">
+				<xsl:with-param name="what" select="'link'" />
+				<xsl:with-param name="about" select="$uri" />
+			</xsl:call-template>
+			<link rel="alternate" type="text/xml" href="{$uri}" />
+			<xsl:call-template name="get-metadata">
+			  <xsl:with-param name="what" select="'rights'" />
+			  <xsl:with-param name="about" select="$uri" />
+			</xsl:call-template>
+		</head>
+		<body>
+			<xsl:if test="$dynamic = 'false'">
+				<p id="xml-link">
+					Try the <a href="{$uri}">XML version</a> of this page.
+					If you have problems with it, consult the
+					<a href="/compatibility.html">compatibility page</a>.
+				</p>
+			</xsl:if>
+			<xsl:apply-templates />
+			<xsl:apply-templates select="." mode="colophon" />
+		</body>
+	</html>
+</xsl:template>
+
+<xsl:template match="html:h1">
+  <h1>
+    <xsl:apply-templates />
+    <xsl:call-template name="insert-navigation" />
+  </h1>
+</xsl:template>
+
+<xsl:template name="insert-navigation">
+  <xsl:variable name="metadata" select="/*/rdf:RDF" />
+  <xsl:variable name="uri" select="$metadata/rdf:Description[1]/@about" />
+	<xsl:if test="$uri != concat($base, 'index.xml')">
+	<span id="link-top">
+		<a class="img">
+		  <xsl:attribute name="href">
+			  <xsl:choose>
+			    <xsl:when test="$dynamic = 'true'">/index.xml</xsl:when>
+
+			    <xsl:otherwise>/index.html</xsl:otherwise>
+			  </xsl:choose>
+		  </xsl:attribute>
+			<img src="{$base}resources/icons/top.gif" width="29" height="29" />
+		</a>
+	</span>
+  <span id="link-up">
+		<a class="img">
+			<xsl:attribute name="href">
+				<xsl:choose>
+					<xsl:when test="contains($uri, 'index.xml')">
+					  <xsl:choose>
+					    <xsl:when test="$dynamic = 'true'">../index.xml</xsl:when>
+					    <xsl:otherwise>../index.html</xsl:otherwise>
+					  </xsl:choose>						  
+					</xsl:when>
+					<xsl:otherwise>
+					  <xsl:choose>
+					    <xsl:when test="$dynamic = 'true'">index.xml</xsl:when>
+					    <xsl:otherwise>index.html</xsl:otherwise>
+					  </xsl:choose>
+					</xsl:otherwise>
+				</xsl:choose>
+			</xsl:attribute>
+			<img src="{$base}resources/icons/up.gif" width="29" height="29" />
+		</a>
+  </span>
+</xsl:if>
+</xsl:template>
+
+
+<xsl:template match="rdf:RDF" />
+
+<xsl:template name="get-metadata">
+	<xsl:param name="what" />
+	<xsl:param name="about" select="/*/rdf:RDF/rdf:Description/@about" />
+  <xsl:variable name="metadata" select="/*/rdf:RDF" />
+	<xsl:variable name="type">
+		<xsl:choose>
+			<xsl:when test="contains($what, '::')">
+				<xsl:value-of select="substring-before($what, '::')" />
+			</xsl:when>
+			<xsl:otherwise><xsl:value-of select="$what" /></xsl:otherwise>
+		</xsl:choose>
+	</xsl:variable>
+	<xsl:variable name="mode">
+		<xsl:choose>
+			<xsl:when test="contains($what, '::')">
+				<xsl:value-of select="substring-after($what, '::')" />
+			</xsl:when>
+			<xsl:otherwise />
+		</xsl:choose>
+	</xsl:variable>
+	<xsl:apply-templates select="$metadata/rdf:Description[@about = $about or
+	                                                       (@aboutEachPrefix != '' and starts-with($about, @aboutEachPrefix))]/*[local-name() = $type]">
+		<xsl:with-param name="mode" select="$mode" />
+	</xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="rdf:Description/*">
+	<xsl:param name="mode" />
+	<xsl:choose>
+		<xsl:when test="@rdf:resource != ''">
+			<xsl:call-template name="get-metadata">
+				<xsl:with-param name="about" select="@rdf:resource" />
+				<xsl:with-param name="what" select="$mode" />
+			</xsl:call-template>
+		</xsl:when>
+		<xsl:when test="$mode = '' and @rdf:value != ''">
+			<xsl:value-of select="@rdf:value" />
+		</xsl:when>
+		<xsl:when test="$mode = '' and *">
+			<xsl:apply-templates />
+		</xsl:when>
+		<xsl:otherwise>
+			<xsl:apply-templates select="." mode="get-metadata">
+				<xsl:with-param name="mode" select="$mode" />
+			</xsl:apply-templates>
+		</xsl:otherwise>
+	</xsl:choose>
+</xsl:template>
+
+<xsl:template match="html:link" mode="get-metadata">
+	<link>
+		<xsl:copy-of select="@*" />
+	</link>
+</xsl:template>
+
+<xsl:template match="dc:rights" mode="get-metadata">
+  <xsl:comment>
+    <xsl:value-of select="." />
+  </xsl:comment>
+</xsl:template>
+
+<xsl:template match="dc:date" mode="get-metadata">
+	<xsl:param name="mode" select="''" />
+	<xsl:if test="$mode = @dcq:dateType">
+		<xsl:value-of select="@rdf:value" />
+	</xsl:if>
+</xsl:template>
+
+<xsl:template match="vcf:vCard" mode="get-metadata">
+	<xsl:param name="mode" select="''" />
+	<xsl:choose>
+		<xsl:when test="$mode = 'mailto-link'">
+			<xsl:call-template name="link">
+				<xsl:with-param name="link">
+					<xsl:choose>
+						<xsl:when test="vcf:email[contains(@email.type, 'PREF')]">
+							<xsl:value-of select="vcf:email[contains(@email.type, 'PREF')]" />
+						</xsl:when>
+						<xsl:otherwise><xsl:value-of select="vcf:email[1]" /></xsl:otherwise>
+					</xsl:choose>
+				</xsl:with-param>
+				<xsl:with-param name="value">
+					<xsl:apply-templates select="vcf:n" mode="full" />
+				</xsl:with-param>
+			</xsl:call-template>
+		</xsl:when>
+		<xsl:when test="$mode = 'name'">
+			<xsl:apply-templates select="vcf:n" mode="full" />
+		</xsl:when>
+		<xsl:otherwise />
+	</xsl:choose>
+</xsl:template>
+
+<xsl:template match="vcf:n" mode="full">
+	<xsl:if test="vcf:prefix">
+		<xsl:value-of select="vcf:prefix" /><xsl:text> </xsl:text>
+	</xsl:if>
+	<xsl:choose>
+		<xsl:when test="../vcf:nickname">
+			<xsl:value-of select="../vcf:nickname" />
+		</xsl:when>
+		<xsl:otherwise>
+			<xsl:value-of select="vcf:given" />
+		</xsl:otherwise>
+	</xsl:choose>
+	<xsl:text> </xsl:text>
+	<xsl:value-of select="vcf:family" />
+</xsl:template>
+
+<xsl:template match="html:*">
+	<xsl:element name="{local-name()}">
+		<xsl:copy-of select="@*" />
+		<xsl:apply-templates />
+	</xsl:element>
+</xsl:template>
+
+<xsl:template match="my:vars">
+  <dl>
+    <xsl:apply-templates />
+  </dl>
+</xsl:template>
+
+<xsl:template match="my:var">
+  <dt id="{translate(my:name, ' ', '-')}">
+    <xsl:text/>$<xsl:value-of select="my:name" />
+    <xsl:choose>
+      <xsl:when test="my:value">
+        <xsl:text/> = <xsl:apply-templates select="my:value" />
+      </xsl:when>
+      <xsl:when test="my:default">
+        <xsl:text/> [= <xsl:apply-templates select="my:default" />]<xsl:text/>
+      </xsl:when>
+    </xsl:choose>
+  </dt>
+  <dd>
+    <xsl:if test="my:desc"><xsl:apply-templates select="my:desc" /></xsl:if>
+    <xsl:if test="my:option">
+      <ul>
+        <xsl:apply-templates select="my:option" />
+      </ul>
+    </xsl:if>
+    <xsl:apply-templates select="my:defn" />
+  </dd>
+</xsl:template>
+
+<xsl:template match="my:option">
+  <li><xsl:apply-templates select="my:value" />: <xsl:apply-templates select="my:desc" /></li>
+</xsl:template>
+
+<xsl:template match="my:value | my:default">
+  <xsl:choose>
+    <xsl:when test="@type">
+      <span class="{@type}">
+        <xsl:choose>
+          <xsl:when test="@type = 'string'">'<xsl:value-of select="." />'</xsl:when>
+          <xsl:when test="@type = 'rtf'">"<xsl:value-of select="." />"</xsl:when>
+          <xsl:otherwise><xsl:value-of select="." /></xsl:otherwise>
+        </xsl:choose>
+      </span>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="." />
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="my:post">
+	<div class="post">
+		<xsl:apply-templates />
+	</div>
+</xsl:template>
+
+<xsl:template match="my:response">
+	<div class="response">
+		<xsl:apply-templates />
+	</div>
+</xsl:template>
+
+<xsl:template match="my:question">
+	<div class="question">
+		<p>
+			<xsl:call-template name="insert-icon">
+				<xsl:with-param name="icon" select="'question'" />
+				<xsl:with-param name="active" select="false()" />
+			</xsl:call-template>
+			<xsl:text> </xsl:text>
+			<xsl:apply-templates select="*[1]/node()" />
+		</p>
+		<xsl:apply-templates select="*[position() > 1]"/>
+	</div>
+</xsl:template>
+
+<xsl:template match="my:example | my:defn">
+	<pre>
+		<xsl:apply-templates />
+	</pre>
+</xsl:template>
+
+<xsl:template match="my:example[parent::my:aside and ancestor::my:example]">
+  <xsl:choose>
+    <xsl:when test="$dynamic = 'true'">
+      <pre>
+        <xsl:apply-templates />
+      </pre>
+    </xsl:when>
+    <xsl:otherwise>
+      <span class="example">
+        <xsl:apply-templates />
+      </span>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="my:example[parent::my:aside and not(ancestor::my:example)]">
+  <xsl:call-template name="split-and-code">
+    <xsl:with-param name="text" select="string(.)" />
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="split-and-code">
+  <xsl:param name="text" />
+  <br />
+  <xsl:choose>
+    <xsl:when test="contains($text, '&#x0A;')">
+      <code><xsl:value-of select="substring-before($text, '&#x0A;')" /></code>
+      <xsl:call-template name="split-and-code">
+        <xsl:with-param name="text" select="substring-after($text, '&#x0A;')" />
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <code><xsl:value-of select="$text" /></code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="my:aside">
+  <xsl:choose>
+    <xsl:when test="$dynamic = 'true'">
+    	<span class="note"
+    	><img src="{$base}resources/icons/note.gif" height="17" width="13" border="0"
+    		    style="z-index: 2;"
+    		    onmouseover="javascript:{generate-id()}.style.visibility='visible';"
+    	      onmouseout="javascript:{generate-id()}.style.visibility='hidden';"
+    	/><span class="popup" id="{generate-id()}"
+    		      onmouseover="javascript:{generate-id()}.style.visibility='visible';"
+    	        onmouseout="javascript:{generate-id()}.style.visibility='hidden';">
+    			<xsl:apply-templates />
+    		</span
+    	></span>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text> </xsl:text>
+      <span class="note">[<xsl:apply-templates />]</span>
+      <xsl:text> </xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="my:quote">
+  <blockquote uri="{@href}">
+    <xsl:apply-templates />
+  </blockquote>
+  <p class="byline">
+    <xsl:text>[From </xsl:text>
+    <xsl:call-template name="link">
+      <xsl:with-param name="link" select="@href" />
+      <xsl:with-param name="value">
+        <xsl:value-of select="@href" />
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:text>]</xsl:text>
+  </p>
+</xsl:template>
+
+<xsl:template match="my:icon">
+	<xsl:call-template name="insert-icon">
+		<xsl:with-param name="icon" select="@name" />
+	</xsl:call-template>
+</xsl:template>
+
+<xsl:template name="insert-icon">
+	<xsl:param name="icon" select="'goto'" />
+	<xsl:param name="active" select="true()" />
+	<img src="{$base}resources/icons/{$icon}.gif" height="28" width="28" border="0">
+		<xsl:attribute name="src">
+			<xsl:value-of select="$base" />
+			<xsl:text>resources/icons/</xsl:text>
+			<xsl:if test="not($active)">click-</xsl:if>
+			<xsl:value-of select="$icon" />
+			<xsl:text>.gif</xsl:text>
+		</xsl:attribute>
+		<xsl:if test="$active">
+			<xsl:attribute name="onmouseover">javascript:this.src='<xsl:value-of select="$base" />resources/icons/over-<xsl:value-of select="$icon" />.gif'</xsl:attribute>
+			<xsl:attribute name="onclick">javascript:this.src='<xsl:value-of select="$base" />resources/icons/click-<xsl:value-of select="$icon" />.gif'</xsl:attribute>
+			<xsl:attribute name="onmouseout">javascript:this.src='<xsl:value-of select="$base" />resources/icons/<xsl:value-of select="$icon" />.gif'</xsl:attribute>
+		</xsl:if>
+	</img>
+</xsl:template>
+
+<xsl:template match="my:links">
+	<xsl:choose>
+		<xsl:when test="parent::html:dd">
+			<xsl:apply-templates select="my:link" mode="list" />			
+		</xsl:when>
+		<xsl:otherwise>
+			<xsl:call-template name="columnise">
+				<xsl:with-param name="max-height" select="3" />
+			</xsl:call-template>
+		</xsl:otherwise>
+	</xsl:choose>
+</xsl:template>
+
+<xsl:template name="columnise">
+	<xsl:param name="max-height" select="5" />
+	<xsl:param name="max-width" select="3" />
+	<xsl:variable name="no-items" select="count(*)" />
+	<xsl:variable name="width">
+		<xsl:choose>
+			<xsl:when test="$no-items > $max-height * $max-width">
+				<xsl:value-of select="$max-width" />
+			</xsl:when>
+			<xsl:otherwise>
+				<xsl:value-of select="ceiling($no-items div $max-height)" />
+			</xsl:otherwise>
+		</xsl:choose>
+	</xsl:variable>
+	<xsl:variable name="height" select="ceiling($no-items div $width)" />
+	<table>
+		<colgroup span="{$width}" />
+		<tr>
+			<xsl:for-each select="*[position() = 1 or position() mod $height = 1]">
+				<td>
+					<xsl:apply-templates select=". | following-sibling::*[position() &lt; $height]" mode="list" />
+				</td>
+			</xsl:for-each>
+		</tr>
+	</table>
+</xsl:template>
+
+<xsl:template match="my:link" mode="list">
+	<p class="link">
+		<xsl:call-template name="link">
+			<xsl:with-param name="link" select="@href" />
+			<xsl:with-param name="value">
+				<xsl:value-of select="." />
+			</xsl:with-param>
+			<xsl:with-param name="addicon" select="true()" />
+		</xsl:call-template>
+	</p>
+</xsl:template>
+
+<xsl:template match="my:link">
+	<xsl:apply-templates select="." mode="link" />
+</xsl:template>
+
+<xsl:template match="*[@href][. != '']" mode="link">
+	<xsl:call-template name="link">
+		<xsl:with-param name="link" select="@href" />
+		<xsl:with-param name="value">
+			<xsl:apply-templates />
+		</xsl:with-param>
+		<xsl:with-param name="addicon" select="@addicon" />
+	</xsl:call-template>
+</xsl:template>
+
+<xsl:template match="*[@href][. = '']" mode="link">
+	<xsl:call-template name="link">
+		<xsl:with-param name="link" select="@href" />
+		<xsl:with-param name="value">
+			<xsl:value-of select="@href" />
+		</xsl:with-param>
+		<xsl:with-param name="addicon" select="@addicon" />
+	</xsl:call-template>
+</xsl:template>
+
+<xsl:template match="text()|@*" mode="link">
+	<xsl:call-template name="link">
+		<xsl:with-param name="link" select="." />
+		<xsl:with-param name="value">
+			<xsl:value-of select="." />
+		</xsl:with-param>
+	</xsl:call-template>
+</xsl:template>
+
+<xsl:template name="link">
+	<xsl:param name="link" />
+	<xsl:param name="value" />
+	<xsl:param name="addicon" select="''" />
+	<xsl:variable name="uri">
+		<xsl:call-template name="full-uri">
+			<xsl:with-param name="uri" select="$link" />
+		</xsl:call-template>
+	</xsl:variable>
+	<xsl:variable name="class">
+		<xsl:call-template name="uri-class">
+			<xsl:with-param name="uri" select="$uri" />
+		</xsl:call-template>
+	</xsl:variable>
+	<xsl:if test="$addicon">
+		<a href="{$uri}">
+			<xsl:attribute name="class">
+				<xsl:text>img </xsl:text>
+				<xsl:value-of select="$class" />
+			</xsl:attribute>
+			<xsl:call-template name="insert-icon">
+				<xsl:with-param name="icon">
+					<xsl:call-template name="icon-type">
+						<xsl:with-param name="uri" select="$uri" />
+					</xsl:call-template>
+				</xsl:with-param>
+			</xsl:call-template>
+		</a>
+		<xsl:text> </xsl:text>
+	</xsl:if>
+	<a href="{$uri}">
+		<xsl:if test="$class != ''">
+			<xsl:attribute name="class">
+				<xsl:value-of select="$class" />
+			</xsl:attribute>
+		</xsl:if>
+		<xsl:copy-of select="$value" />
+	</a>
+</xsl:template>
+
+<xsl:template name="full-uri">
+	<xsl:param name="uri" />
+	<xsl:variable name="partial-uri">
+		<xsl:choose>
+			<xsl:when test="$dynamic='false' and
+			                substring($uri, string-length($uri) - 3, 4) = '.xml'">
+				<xsl:value-of select="concat(substring($uri, 1, string-length($uri) - 4), '.html')" />
+			</xsl:when>
+			<xsl:otherwise><xsl:value-of select="$uri" /></xsl:otherwise>
+		</xsl:choose>
+	</xsl:variable>
+	<xsl:choose>
+		<xsl:when test="starts-with($partial-uri, 'www')">
+			<xsl:text>http://</xsl:text><xsl:value-of select="$partial-uri" />
+		</xsl:when>
+		<xsl:when test="contains($partial-uri, '@') and not(starts-with($partial-uri, 'mailto:'))">
+			<xsl:text>mailto:</xsl:text><xsl:value-of select="$partial-uri" />
+		</xsl:when>
+		<xsl:otherwise><xsl:value-of select="$partial-uri" /></xsl:otherwise>
+	</xsl:choose>
+</xsl:template>
+
+<xsl:template name="uri-class">
+	<xsl:param name="uri" />
+	<xsl:choose>
+		<xsl:when test="starts-with($uri, 'http://') and not(starts-with($uri, $base))">offsite</xsl:when>
+		<xsl:when test="starts-with($uri, 'mailto:')">mailto</xsl:when>
+		<xsl:when test="starts-with($uri, '#')">local</xsl:when>
+	</xsl:choose>
+</xsl:template>
+
+<xsl:template name="icon-type">
+	<xsl:param name="uri" />
+	<xsl:variable name="url">
+	  <xsl:choose>
+	    <xsl:when test="starts-with($uri, 'http://')"><xsl:value-of select="substring-after($uri, 'http://')" /></xsl:when>
+	    <xsl:otherwise><xsl:value-of select="$uri" /></xsl:otherwise>
+	  </xsl:choose>
+	</xsl:variable>
+	<xsl:choose>
+		<xsl:when test="(not(contains($url, '/')) and starts-with($url, 'www.')) or (contains($url, '/') and not(substring-after($url, '/')))">home</xsl:when>
+		<xsl:when test="contains($url, '@')">mail</xsl:when>
+		<xsl:otherwise>goto</xsl:otherwise>
+	</xsl:choose>
+</xsl:template>
+
+<xsl:template match="/*" mode="colophon">
+  <xsl:variable name="metadata" select="/*/rdf:RDF" />
+  <xsl:variable name="uri" select="$metadata/rdf:Description[1]/@about" />
+	<div id="colophon">
+		<hr class="final" />
+		<p>
+			<xsl:apply-templates select="$uri" mode="link" />
+			<xsl:variable name="modified">
+				<xsl:call-template name="get-metadata">
+					<xsl:with-param name="what" select="'date::modified'" />
+				</xsl:call-template>
+			</xsl:variable>
+			<xsl:if test="string($modified)">
+				<xsl:text> last modified </xsl:text>
+				<xsl:copy-of select="$modified" />
+			</xsl:if>
+			<xsl:variable name="creator">
+				<xsl:call-template name="get-metadata">
+					<xsl:with-param name="what" select="'creator::vCard::mailto-link'" />
+				</xsl:call-template>
+			</xsl:variable>
+			<xsl:text> by </xsl:text>
+			<xsl:choose>
+  			<xsl:when test="string($creator)">
+  				<xsl:copy-of select="$creator" />
+  			</xsl:when>
+  			<xsl:otherwise>
+  			  <a href="mailto:mail@jenitennison.com" class="mailto">Jeni Tennison</a>
+  			</xsl:otherwise>
+  		</xsl:choose>		  
+		</p>
+	</div>
+</xsl:template>
+
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/CR7098746Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,86 @@
+/*
+ * 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 transform;
+
+import java.io.StringWriter;
+
+import javax.xml.transform.Result;
+import javax.xml.transform.Source;
+import javax.xml.transform.Templates;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 7098746
+ * @summary Test transforming as expected.
+ */
+public class CR7098746Test {
+
+    @Test
+    public final void testTransform() {
+
+        try {
+
+            String inFilename = "CR7098746.xml";
+            String xslFilename = "CR7098746.xsl";
+
+            StringWriter sw = new StringWriter();
+            // Create transformer factory
+            TransformerFactory factory = TransformerFactory.newInstance();
+            // set the translet name
+            // factory.setAttribute("translet-name", "myTranslet");
+
+            // set the destination directory
+            // factory.setAttribute("destination-directory", "c:\\temp");
+            // factory.setAttribute("generate-translet", Boolean.TRUE);
+
+            // Use the factory to create a template containing the xsl file
+            Templates template = factory.newTemplates(new StreamSource(getClass().getResourceAsStream(xslFilename)));
+            // Use the template to create a transformer
+            Transformer xformer = template.newTransformer();
+            // Prepare the input and output files
+            Source source = new StreamSource(getClass().getResourceAsStream(inFilename));
+            // Result result = new StreamResult(new
+            // FileOutputStream(outFilename));
+            Result result = new StreamResult(sw);
+            // Apply the xsl file to the source file and write the result to the
+            // output file
+            xformer.transform(source, result);
+
+            String out = sw.toString();
+            if (out.indexOf("<p>") < 0) {
+                Assert.fail(out);
+            }
+        } catch (Exception e) {
+            // unexpected failure
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/DOMResultTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,211 @@
+/*
+ * 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 transform;
+
+import org.testng.annotations.Test;
+import org.testng.Assert;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerConfigurationException;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.dom.DOMSource;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.Node;
+import org.xml.sax.SAXException;
+
+/*
+ * @summary Test DOMResult.
+ */
+public class DOMResultTest {
+
+    @Test
+    public void testDOMResult1() {
+        try {
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            DocumentBuilder db = dbf.newDocumentBuilder();
+            String xml = this.getClass().getResource("toys.xml").getFile();
+            Document doc = db.parse(new FileInputStream(new File(xml)));
+            TransformerFactory tff = TransformerFactory.newInstance();
+            Transformer tf = tff.newTransformer();
+            // get <toys> element node
+            Node toys = doc.getChildNodes().item(1);
+            // supposed to insert new node at index=4
+            int index = 4;
+            String systemId = "customSysId";
+            DOMResult result = new DOMResult(toys, systemId);
+            result.setNextSibling(result.getNode().getChildNodes().item(index));
+            int length = result.getNode().getChildNodes().getLength();
+            // copy the first <toy> element node and insert it to position
+            // marked by index
+            Node source = doc.getLastChild().getChildNodes().item(1);
+            tf.transform(new DOMSource(source), result);
+
+            // document length verification
+            if (result.getNode().getChildNodes().getLength() != length + 1) {
+                Assert.fail("incorrect nodes length");
+            }
+            // element content verification
+            Node newnode = result.getNode().getChildNodes().item(index);
+            System.out.println(newnode.getTextContent());
+            if (!source.getTextContent().equals(newnode.getTextContent())) {
+                Assert.fail("target node content is not matched with source");
+            }
+            // element systemid verification
+            if (!result.getSystemId().equals(systemId)) {
+                Assert.fail("systemId is not matched");
+            }
+        } catch (ParserConfigurationException e) {
+            e.printStackTrace();
+        } catch (FileNotFoundException e) {
+            e.printStackTrace();
+        } catch (SAXException e) {
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+        } catch (IOException e) {
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+        } catch (TransformerConfigurationException e) {
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+        } catch (TransformerException e) {
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    @Test
+    public void testDOMResult2() {
+        try {
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            DocumentBuilder db = dbf.newDocumentBuilder();
+            String xml = this.getClass().getResource("toys.xml").getFile();
+            Document doc = db.parse(new FileInputStream(new File(xml)));
+            TransformerFactory tff = TransformerFactory.newInstance();
+            Transformer tf = tff.newTransformer();
+            // get <toys> element node
+            Node toys = doc.getChildNodes().item(1);
+            // supposed to insert new node at index=4
+            int index = 4;
+            String systemId = "customSysId";
+            DOMResult result = new DOMResult(toys, toys.getChildNodes().item(index), systemId);
+            int length = result.getNode().getChildNodes().getLength();
+            // copy the first <toy> element node and insert it to position
+            // marked by index
+            Node source = doc.getLastChild().getChildNodes().item(1);
+            tf.transform(new DOMSource(source), result);
+
+            // document length verification
+            if (result.getNode().getChildNodes().getLength() != length + 1) {
+                Assert.fail("incorrect nodes length");
+            }
+            // element content verification
+            Node newnode = result.getNode().getChildNodes().item(index);
+            System.out.println(newnode.getTextContent());
+            if (!source.getTextContent().equals(newnode.getTextContent())) {
+                Assert.fail("target node content is not matched with source");
+            }
+            // element systemid verification
+            if (!result.getSystemId().equals(systemId)) {
+                Assert.fail("systemId is not matched");
+            }
+        } catch (ParserConfigurationException e) {
+            e.printStackTrace();
+        } catch (FileNotFoundException e) {
+            e.printStackTrace();
+        } catch (SAXException e) {
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+        } catch (IOException e) {
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+        } catch (TransformerConfigurationException e) {
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+        } catch (TransformerException e) {
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    @Test
+    public void testDOMResult3() {
+        try {
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            DocumentBuilder db = dbf.newDocumentBuilder();
+            String xml = this.getClass().getResource("toys.xml").getFile();
+            Document doc = db.parse(new FileInputStream(new File(xml)));
+            TransformerFactory tff = TransformerFactory.newInstance();
+            Transformer tf = tff.newTransformer();
+            // get <toys> element node
+            Node toys = doc.getChildNodes().item(1);
+            // supposed to insert new node at index=4
+            int index = 4;
+            DOMResult result = new DOMResult(toys, toys.getChildNodes().item(index));
+            int length = result.getNode().getChildNodes().getLength();
+            // copy the first <toy> element node and insert it to position
+            // marked by index
+            Node source = doc.getLastChild().getChildNodes().item(1);
+            tf.transform(new DOMSource(source), result);
+
+            // document length verification
+            if (result.getNode().getChildNodes().getLength() != length + 1) {
+                Assert.fail("incorrect nodes length");
+            }
+            // element content verification
+            Node newnode = result.getNode().getChildNodes().item(index);
+            System.out.println(newnode.getTextContent());
+            if (!source.getTextContent().equals(newnode.getTextContent())) {
+                Assert.fail("target node content is not matched with source");
+            }
+        } catch (ParserConfigurationException e) {
+            e.printStackTrace();
+        } catch (FileNotFoundException e) {
+            e.printStackTrace();
+        } catch (SAXException e) {
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+        } catch (IOException e) {
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+        } catch (TransformerConfigurationException e) {
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+        } catch (TransformerException e) {
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/DocumentExtFunc.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,35 @@
+/*
+ * Copyright (c) 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 transform;
+
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+public class DocumentExtFunc {
+
+    public static String test(NodeList list) {
+        Node node = list.item(0);
+        return "["+node.getNodeName() + ":" + node.getTextContent()+"]";
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/FactoryFindTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,76 @@
+/*
+ * 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 transform;
+
+import java.net.URL;
+import java.net.URLClassLoader;
+
+import javax.xml.transform.TransformerFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test creating TransformerFactory with ContextClassLoader.
+ */
+public class FactoryFindTest {
+
+    boolean myClassLoaderUsed = false;
+
+    @Test
+    public void testFactoryFind() {
+        try {
+            // System.setProperty("jaxp.debug", "true");
+
+            TransformerFactory factory = TransformerFactory.newInstance();
+            Assert.assertTrue(factory.getClass().getClassLoader() == null);
+
+            Thread.currentThread().setContextClassLoader(null);
+            factory = TransformerFactory.newInstance();
+            Assert.assertTrue(factory.getClass().getClassLoader() == null);
+
+            Thread.currentThread().setContextClassLoader(new MyClassLoader());
+            factory = TransformerFactory.newInstance();
+            if (System.getSecurityManager() == null)
+                Assert.assertTrue(myClassLoaderUsed);
+            else
+                Assert.assertFalse(myClassLoaderUsed);
+        } catch (Exception ex) {
+            Assert.fail(ex.toString());
+        }
+
+    }
+
+    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/jaxp/test/javax/xml/jaxp/unittest/transform/Issue2204.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.0" ?><A><B>1</B><B>2</B></A>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Issue2204.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,10 @@
+<?xml version="1.0" ?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:variable name="XML" select="/A"/>
+    <xsl:template match="/">
+        First:<xsl:value-of select="count($XML[B=1])"/>
+        Second:<xsl:value-of select="count($XML[B=1])"/>
+        Third:<xsl:value-of select="count($XML[B=1])"/>
+    </xsl:template>
+</xsl:stylesheet>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Issue2204Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,63 @@
+/*
+ * 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 transform;
+
+import java.io.StringWriter;
+
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6905829
+ * @summary Test XSLT can work against the certain xsl.
+ */
+public class Issue2204Test {
+
+    @Test
+    public final void testTransform() {
+        try {
+            Transformer t = TransformerFactory.newInstance().newTransformer(new StreamSource(getClass().getResourceAsStream("Issue2204.xsl")));
+
+            System.out.printf("transformer: %s%n", t.getClass().getName());
+
+            StringWriter streamResult = new StringWriter();
+            t.transform(new StreamSource(getClass().getResourceAsStream("Issue2204.xml")), new StreamResult(streamResult));
+
+            System.out.println(streamResult.toString());
+            if (streamResult.toString().indexOf("3") > 0) {
+                Assert.fail("Function Count on variable modifies number of nodes in variable.");
+            }
+            // expected success
+        } catch (Exception e) {
+            // unexpected failure
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Issue2290.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0" exclude-result-prefixes="xps" extension-element-prefixes="xps" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xps="xalan://com.xx.TestExt" xmlns:lxslt="http://xml.apache.org/xslt">
+    <xsl:template match="/">
+        <xsl:variable name="lang">
+        <xps:getAttribute pathDoc="test" attName="keymask"/>
+        </xsl:variable>
+    </xsl:template>
+</xsl:stylesheet>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/Issue2290Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,92 @@
+/*
+ * 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 transform;
+
+import java.io.StringReader;
+import java.io.StringWriter;
+import java.util.Properties;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.transform.OutputKeys;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.DocumentFragment;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test XSL extension for RTF works, for https://issues.apache.org/jira/i#browse/XALANJ-2290.
+ */
+public class Issue2290Test {
+
+    @Test
+    public final void testTransform() throws Exception {
+        DocumentFragment outNode = null;
+        DocumentBuilder docBuilder = null;
+        Document outDoc = null;
+        // TransformerImpl transformer = null;
+        StringReader execReaderXML = null;
+        Properties propFormat = null;
+        StringWriter sw = null;
+
+        try {
+            // template = TransformerFactory.newInstance().newTemplates(new
+            // StreamSource("D:/Work/Apache/TestVar.xsl"));
+            // transformer = (TransformerImpl) template.newTransformer();
+            Transformer t = TransformerFactory.newInstance().newTransformer(new StreamSource(getClass().getResourceAsStream("Issue2290.xsl")));
+            System.out.print("Created Transformer");
+            execReaderXML = new StringReader("<?xml version=\"1.0\"?> <doc>Stuff</doc>");
+
+
+            docBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
+            outDoc = docBuilder.newDocument();
+            outNode = outDoc.createDocumentFragment();
+            System.out.println("Created Fragment");
+            System.out.println("execute transformer.");
+            // transformer.transform(new StreamSource(execReaderXML),new
+            // DOMResult(outNode));
+            t.transform(new StreamSource(execReaderXML), new DOMResult(outNode));
+            System.out.println("Finsished transformer.");
+            sw = new StringWriter();
+
+            StreamResult sr = new StreamResult(sw);
+            t = TransformerFactory.newInstance().newTransformer();
+            t.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
+            t.transform(new DOMSource(outNode), sr);
+            System.out.println(sw.toString());
+        } catch (Exception e) {
+            Assert.fail(e.toString());
+        } finally {
+        }
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/MsWordXMLImport.xsl.data	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,3156 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *
+ * 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.
+ *
+ -->
+ 
+<!-- Start of OOo2.0 import/wordml/wordml2ooo.xsl stylesheet  -->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:v="urn:schemas-microsoft-com:vml" 
+    xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" 
+    xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint" 
+    xmlns:o="urn:schemas-microsoft-com:office:office" 
+    xmlns:aml="http://schemas.microsoft.com/aml/2001/core"
+    xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" 
+    xmlns:dc="http://purl.org/dc/elements/1.1/"    
+    xmlns:office="http://openoffice.org/2000/office"
+    xmlns:style="http://openoffice.org/2000/style"
+    xmlns:text="http://openoffice.org/2000/text"
+    xmlns:table="http://openoffice.org/2000/table"
+    xmlns:draw="http://openoffice.org/2000/drawing"
+    xmlns:fo="http://www.w3.org/1999/XSL/Format"
+    xmlns:xlink="http://www.w3.org/1999/xlink"
+    xmlns:number="http://openoffice.org/2000/datastyle"
+    xmlns:svg="http://www.w3.org/2000/svg"
+    xmlns:chart="http://openoffice.org/2000/chart"
+    xmlns:dr3d="http://openoffice.org/2000/dr3d"
+    xmlns:math="http://www.w3.org/1998/Math/MathML"
+    xmlns:form="http://openoffice.org/2000/form"
+    xmlns:script="http://openoffice.org/2000/script"
+    xmlns:meta="http://openoffice.org/2000/meta"
+    xmlns:config="http://openoffice.org/2001/config"
+    xmlns:help="http://openoffice.org/2000/help"
+    exclude-result-prefixes="v w wx aml o aml dt" 
+    office:version="1.0"
+    >
+    <xsl:output method="xml" indent="no" encoding="UTF-8" version="1.0"/>
+    <!--
+    <xsl:include href="../../common/measure_conversion.xsl"/>
+    <xsl:include href="../common/ms2ooo_docpr.xsl"/>
+    <xsl:include href="wordml2ooo_text.xsl"/>
+    <xsl:include href="wordml2ooo_settings.xsl"/>
+    <xsl:include href="wordml2ooo_table.xsl"/>
+    <xsl:include href="wordml2ooo_page.xsl"/>
+    <xsl:include href="wordml2ooo_list.xsl"/>
+    <xsl:include href="wordml2ooo_draw.xsl"/>
+    -->
+    <xsl:key name="paragraph-style" match="w:style[@w:type = 'paragraph']" use="@w:styleId"/>
+    <xsl:key name="heading-style" match="w:style[@w:type = 'paragraph' and w:pPr/w:outlineLvl]" use="@w:styleId"/>
+    <xsl:template match="/">
+        <xsl:apply-templates select="w:wordDocument"/>
+    </xsl:template>
+    <xsl:template match="w:wordDocument">
+        <office:document office:class="text" office:version="1.0">
+            <xsl:apply-templates select="o:DocumentProperties"/>
+            <xsl:apply-templates select="w:docPr"/>
+            <xsl:apply-templates select="w:fonts"/>
+            <xsl:apply-templates select="w:styles"/>
+            <xsl:apply-templates select="w:body"/>
+        </office:document>
+    </xsl:template>
+    <xsl:template match="w:fonts">
+        <xsl:element name="office:font-decls">
+            <!-- MS Word's default font declaration, added for Writer automatically. glu -->
+            <style:font-decl style:name="Arial" fo:font-family="Arial" style:font-family-generic="roman" style:font-pitch="variable"/>
+            <style:font-decl style:name="Times New Roman" fo:font-family="'Times New Roman'" style:font-family-generic="roman" style:font-pitch="variable"/>
+            <style:font-decl style:name="Symbol" fo:font-family="Symbol" style:font-family-generic="roman" style:font-pitch="variable" style:font-charset="x-symbol"/>
+            <style:font-decl style:name="Courier New" fo:font-family="'Courier New'" style:font-family-generic="modern" style:font-pitch="fixed"/>
+            <xsl:if test="not(w:font[@w:name='StarSymbol'])">
+                <style:font-decl style:name="StarSymbol" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
+            </xsl:if>
+            <xsl:for-each select="w:font">
+                <xsl:element name="style:font-decl">
+                    <xsl:attribute name="style:name"><xsl:value-of select="@w:name"/></xsl:attribute>
+                    <xsl:attribute name="fo:font-family"><xsl:value-of select="@w:name"/></xsl:attribute>
+                    <!-- added by glu, for process special fonts e.g. Marlett, -->
+                    <xsl:if test="w:charset/@w:val = '02'">
+                        <xsl:attribute name="style:font-charset">x-symbol</xsl:attribute>
+                    </xsl:if>
+                    <xsl:if test="w:family">
+                        <xsl:choose>
+                            <xsl:when test="w:family/@w:val = 'Swiss'">
+                                <xsl:attribute name="style:font-family-generic">swiss</xsl:attribute>
+                            </xsl:when>
+                            <xsl:when test="w:family/@w:val='Modern'">
+                                <xsl:attribute name="style:font-family-generic">modern</xsl:attribute>
+                            </xsl:when>
+                            <xsl:when test="w:family/@w:val='Roman'">
+                                <xsl:attribute name="style:font-family-generic">roman</xsl:attribute>
+                            </xsl:when>
+                            <xsl:when test="w:family/@w:val='Script'">
+                                <xsl:attribute name="style:font-family-generic">script</xsl:attribute>
+                            </xsl:when>
+                            <xsl:when test="w:family/@w:val='Decorative'">
+                                <xsl:attribute name="style:font-family-generic">decorative</xsl:attribute>
+                            </xsl:when>
+                            <xsl:when test="w:family/@w:val='System'">
+                                <xsl:attribute name="style:font-family-generic">system</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="style:font-family-generic">system</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:if>
+                    <xsl:if test="w:pitch">
+                        <xsl:attribute name="style:font-pitch"><xsl:value-of select="w:pitch/@w:val"/></xsl:attribute>
+                    </xsl:if>
+                </xsl:element>
+            </xsl:for-each>
+        </xsl:element>
+    </xsl:template>
+    <xsl:template match="w:styles">
+        <office:styles>
+            <xsl:call-template name="create-default-paragraph-styles"/>
+            <xsl:call-template name="create-default-text-styles"/>
+            <xsl:call-template name="create-default-frame-style"/>
+            <!-- StarWriter has no default style family 'list'. glu -->
+            <xsl:if test="w:style[@w:type = 'paragraph' and w:pPr/w:outlineLvl and w:pPr/w:listPr]">
+                <xsl:call-template name="create-outline-style"/>
+            </xsl:if>
+            <xsl:apply-templates select="w:style[@w:type='list']" mode="list"/>
+            <xsl:apply-templates select="w:style[@w:type!='list']"/>
+        </office:styles>
+        <office:automatic-styles>
+            <xsl:apply-templates select="/w:wordDocument/w:body//w:p" mode="style"/>
+            <xsl:apply-templates select="/w:wordDocument/w:body//w:rPr[not(parent::w:pPr)]" mode="style"/>
+            <xsl:apply-templates select="/w:wordDocument/w:body//w:tblPr" mode="style"/>
+            <xsl:apply-templates select="/w:wordDocument/w:body//w:gridCol" mode="style"/>
+            <xsl:apply-templates select="/w:wordDocument/w:body//w:trHeight" mode="style"/>
+            <xsl:apply-templates select="/w:wordDocument/w:body//w:tcPr" mode="style"/>
+            <xsl:apply-templates select="/w:wordDocument/w:body//w:listPr" mode="style"/>
+            <xsl:apply-templates select="/w:wordDocument/w:body//w:sectPr" mode="page-master"/>
+        </office:automatic-styles>
+        <office:master-styles>
+            <xsl:apply-templates select="/w:wordDocument/w:body//w:sectPr" mode="master-page"/>
+        </office:master-styles>
+    </xsl:template>
+    <xsl:template match="w:style">
+        <style:style>
+            <xsl:attribute name="style:name"><xsl:value-of select="@w:styleId"/></xsl:attribute>
+            <xsl:if test="w:basedOn">
+                <xsl:attribute name="style:parent-style-name"><xsl:value-of select="w:basedOn/@w:val"/></xsl:attribute>
+            </xsl:if>
+            <xsl:if test="w:next">
+                <xsl:attribute name="style:next-style-name"><xsl:value-of select="w:next/@w:val"/></xsl:attribute>
+            </xsl:if>
+            <xsl:choose>
+                <xsl:when test="@w:type = 'character'">
+                    <xsl:attribute name="style:family">text</xsl:attribute>
+                </xsl:when>
+                <!-- table, paragraph are the same as in Writer . glu -->
+                <xsl:when test="@w:type">
+                    <xsl:attribute name="style:family"><xsl:value-of select="@w:type"/></xsl:attribute>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:attribute name="style:family">text</xsl:attribute>
+                </xsl:otherwise>
+            </xsl:choose>
+            <xsl:element name="style:properties">
+                <xsl:apply-templates select="w:pPr"/>
+                <xsl:apply-templates select="w:rPr"/>
+            </xsl:element>
+        </style:style>
+    </xsl:template>
+    <xsl:template match="w:body">
+        <xsl:element name="office:body">
+            <xsl:apply-templates/>
+        </xsl:element>
+    </xsl:template>
+    <xsl:template name="create-default-frame-style">
+        <!--add for default frame style -->
+        <style:style style:name="Frame" style:family="graphics">
+            <style:properties text:anchor-type="paragraph" svg:x="0inch" svg:y="0inch" style:wrap="parallel" style:number-wrapped-paragraphs="no-limit" style:wrap-contour="false" style:vertical-pos="top" style:vertical-rel="paragraph-content" style:horizontal-pos="center" style:horizontal-rel="paragraph-content"/>
+        </style:style>
+    </xsl:template>
+    
+<!-- End of OOo2.0 import/wordml/wordml2ooo.xsl stylesheet  -->
+<!-- Start of OOo2.0 import/wordml/wordml2ooo_draw.xsl stylesheet  -->
+    <xsl:template match="w:pict">
+        <xsl:choose>
+            <xsl:when test="descendant::w:binData">
+                <!-- Cannot load zipped Wmf file. glu <xsl:if test="not(contains(w:binData/@w:name,'.wmz'))"> -->
+                <xsl:element name="draw:image">
+                    <xsl:if test="v:shape/@style">
+                        <xsl:if test="contains( v:shape/@style, 'margin-left:')">
+                            <xsl:attribute name="svg:x"><xsl:value-of select="concat( number(substring-before( substring-after( v:shape/@style, 'margin-left:'), 'pt'))*0.0353, 'cm')"/></xsl:attribute>
+                        </xsl:if>
+                        <xsl:if test="contains( v:shape/@style, 'margin-top:')">
+                            <xsl:attribute name="svg:y"><xsl:value-of select="concat( number(substring-before( substring-after( v:shape/@style, 'margin-top:'), 'pt'))*0.0353, 'cm')"/></xsl:attribute>
+                        </xsl:if>
+                        <xsl:attribute name="svg:width"><xsl:value-of select="concat( number(substring-before( substring-after( v:shape/@style, 'width:'), 'pt'))*0.0353, 'cm')"/></xsl:attribute>
+                        <xsl:attribute name="svg:height"><xsl:value-of select="concat( number(substring-before( substring-after( v:shape/@style, 'height:'), 'pt'))*0.0353, 'cm')"/></xsl:attribute>
+                        <xsl:variable name="anchor-type">
+                            <xsl:if test="contains( v:shape/@style, 'mso-position-horizontal-relative')">
+                                <xsl:value-of select="substring-before( substring-after( v:shape/@style, 'mso-position-horizontal-relative:'), ';')"/>
+                            </xsl:if>
+                        </xsl:variable>
+                        <xsl:choose>
+                            <xsl:when test="$anchor-type = 'margin'">
+                                <xsl:attribute name="text:anchor-type">frame</xsl:attribute>
+                            </xsl:when>
+                            <xsl:when test="$anchor-type = 'page'">
+                                <xsl:attribute name="text:anchor-type">page</xsl:attribute>
+                            </xsl:when>
+                            <xsl:when test="$anchor-type = 'char'">
+                                <xsl:attribute name="text:anchor-type">as-char</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="text:anchor-type">paragraph</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                        <xsl:if test="v:shape/v:imagedata/@o:title">
+                            <xsl:attribute name="draw:name"><xsl:value-of select="v:shape/v:imagedata/@o:title"/></xsl:attribute>
+                        </xsl:if>
+                        <xsl:element name="office:binary-data">
+                            <xsl:value-of select="w:binData"/>
+                        </xsl:element>
+                    </xsl:if>
+                </xsl:element>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:apply-templates/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    <xsl:template match="w:binData">
+        <xsl:element name="office:binary-data">
+            <xsl:value-of select="."/>
+        </xsl:element>
+    </xsl:template>
+    <xsl:template match="v:group">
+        <xsl:apply-templates/>
+    </xsl:template>
+    <xsl:template match="v:oval">
+        <xsl:element name="draw:ellipse">
+            <xsl:variable name="style" select="@style"/>
+            <xsl:variable name="position" select="substring-after($style,'position:')"/>
+            <xsl:variable name="positionval" select="substring-before($position,';')"/>
+            <xsl:variable name="left" select="substring-after($style,'left:')"/>
+            <xsl:variable name="leftval" select="substring-before($left,';')"/>
+            <xsl:variable name="top" select="substring-after($style,'top:')"/>
+            <xsl:variable name="topval" select="substring-before($top,';')"/>
+            <xsl:variable name="width" select="substring-after($style,'width:')"/>
+            <xsl:variable name="widthval" select="substring-before($width,';')"/>
+            <xsl:variable name="height" select="substring-after($style,'height:')"/>
+            <xsl:variable name="heightval" select="$height"/>
+            <xsl:if test="$positionval = 'absolute'">
+                <xsl:variable name="parentgroup" select="parent::v:group"/>
+                <xsl:variable name="origin" select="$parentgroup/@coordorigin"/>
+                <xsl:variable name="groupleft" select="substring-before($origin,',')"/>
+                <xsl:variable name="grouptop" select="substring-after($origin,',')"/>
+                <xsl:variable name="currsect" select="ancestor::wx:sect"/>
+                <xsl:variable name="currsectPr" select="$currsect/descendant::w:sectPr/w:pgMar"/>
+                <xsl:variable name="leftmar" select="$currsectPr/@w:left"/>
+                <xsl:variable name="topmar" select="$currsectPr/@w:top"/>
+                <xsl:attribute name="text:anchor-type">page</xsl:attribute>
+                <xsl:attribute name="svg:width"><xsl:value-of select="(number($widthval) div 1440) * 2.54"/>cm</xsl:attribute>
+                <xsl:attribute name="svg:height"><xsl:value-of select="(number($heightval) div 1440) * 2.54"/>cm</xsl:attribute>
+                <xsl:attribute name="svg:x"><xsl:value-of select="(number($topval + $topmar) div 1440) * 2.54"/>cm</xsl:attribute>
+                <xsl:attribute name="svg:y"><xsl:value-of select="(number($leftval + $leftmar) div 1440) * 2.54"/>cm</xsl:attribute>
+            </xsl:if>
+        </xsl:element>
+    </xsl:template>
+    <xsl:template match="v:rect">
+        <xsl:element name="draw:rect">
+            <xsl:variable name="style" select="@style"/>
+            <xsl:variable name="position" select="substring-after($style,'position:')"/>
+            <xsl:variable name="positionval" select="substring-before($position,';')"/>
+            <xsl:variable name="left" select="substring-after($style,'left:')"/>
+            <xsl:variable name="leftval" select="substring-before($left,';')"/>
+            <xsl:variable name="top" select="substring-after($style,'top:')"/>
+            <xsl:variable name="topval" select="substring-before($top,';')"/>
+            <xsl:variable name="width" select="substring-after($style,'width:')"/>
+            <xsl:variable name="widthval" select="substring-before($width,';')"/>
+            <xsl:variable name="height" select="substring-after($style,'height:')"/>
+            <xsl:variable name="heightval" select="$height"/>
+            <xsl:if test="$positionval = 'absolute'">
+                <xsl:variable name="parentgroup" select="parent::v:group"/>
+                <xsl:variable name="origin" select="$parentgroup/@coordorigin"/>
+                <xsl:variable name="groupleft" select="substring-before($origin,',')"/>
+                <xsl:variable name="grouptop" select="substring-after($origin,',')"/>
+                <xsl:variable name="currsect" select="ancestor::wx:sect"/>
+                <xsl:variable name="currsectPr" select="$currsect/descendant::w:sectPr/w:pgMar"/>
+                <xsl:variable name="leftmar" select="$currsectPr/@w:left"/>
+                <xsl:variable name="topmar" select="$currsectPr/@w:top"/>
+                <xsl:attribute name="text:anchor-type">page</xsl:attribute>
+                <xsl:attribute name="svg:width"><xsl:value-of select="(number($widthval) div 1440) * 2.54"/>cm</xsl:attribute>
+                <xsl:attribute name="svg:height"><xsl:value-of select="(number($heightval) div 1440) * 2.54"/>cm</xsl:attribute>
+                <xsl:attribute name="svg:x"><xsl:value-of select="(number($topval + $topmar) div 1440) * 2.54"/>cm</xsl:attribute>
+                <xsl:attribute name="svg:y"><xsl:value-of select="(number($leftval + $leftmar) div 1440) * 2.54"/>cm</xsl:attribute>
+            </xsl:if>
+        </xsl:element>
+    </xsl:template>
+<!-- End of OOo2.0 import/wordml/wordml2ooo_draw.xsl stylesheet  -->
+<!-- Start of OOo2.0 import/wordml/wordml2ooo_list.xsl stylesheet  -->
+    <xsl:template match="w:listPr" mode="style">
+        <xsl:variable name="currlistid" select="w:ilfo/@w:val"/>
+        <xsl:variable name="currlist" select="."/>
+        <xsl:variable name="rootlistid" select="/w:wordDocument/w:lists/w:list[@w:ilfo=$currlistid]/w:ilst/@w:val"/>
+        <xsl:variable name="rootlist" select="/w:wordDocument/w:lists/w:listDef[@w:listDefId =$rootlistid ]"/>
+        <xsl:if test="not(ancestor::w:p/preceding-sibling::w:p/w:pPr/w:listPr[1]/w:ilfo/@w:val= $currlistid) and $rootlist/w:lvl ">
+            <xsl:element name="text:list-style">
+                <xsl:attribute name="style:name">List<xsl:value-of select="count(preceding::w:listPr)"/></xsl:attribute>
+                <xsl:apply-templates select="$rootlist/w:lvl"/>
+            </xsl:element>
+        </xsl:if>
+    </xsl:template>
+    <xsl:template match="w:lvl">
+        <xsl:variable name="listtype">
+            <xsl:choose>
+                <xsl:when test="w:nfc/@w:val">
+                    <xsl:value-of select="w:nfc/@w:val"/>
+                </xsl:when>
+                <xsl:otherwise>0</xsl:otherwise>
+            </xsl:choose>
+        </xsl:variable>
+        <xsl:choose>
+            <xsl:when test="$listtype =23 and w:lvlPicBulletId">
+                <!-- image characters. wym -->
+                <xsl:element name="text:list-level-style-image">
+                    <xsl:call-template name="list-styles-image"/>
+                </xsl:element>
+            </xsl:when>
+            <xsl:when test="$listtype =23">
+                <!-- nfcBullet: Bullet character. glu -->
+                <xsl:element name="text:list-level-style-bullet">
+                    <xsl:call-template name="list-styles-common">
+                        <xsl:with-param name="listtype" select="$listtype"/>
+                        <xsl:with-param name="currlevel" select="number(@w:ilvl)+1"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:when>
+            <xsl:otherwise>
+                <!-- all kinds of numbering characters. glu :( -->
+                <xsl:element name="text:list-level-style-number">
+                    <xsl:call-template name="list-styles-common">
+                        <xsl:with-param name="listtype" select="$listtype"/>
+                        <xsl:with-param name="currlevel" select="number(@w:ilvl)+1"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    <xsl:template name="list-styles-common">
+        <xsl:param name="listtype"/>
+        <xsl:param name="currlevel"/>
+        <xsl:variable name="startval" select="w:start/@w:val"/>
+        <xsl:attribute name="text:level"><xsl:value-of select="$currlevel"/></xsl:attribute>
+        <xsl:choose>
+            <xsl:when test="$listtype = 23">
+                <!-- bullet character. glu -->
+                <xsl:attribute name="text:style-name">Bullet Symbols</xsl:attribute>
+                <xsl:attribute name="text:bullet-char"><xsl:value-of select="w:lvlText/@w:val"/></xsl:attribute>
+            </xsl:when>
+            <xsl:when test="($listtype &gt;= 0) and ($listtype &lt; 60)">
+                <xsl:attribute name="text:style-name">Numbering Symbols</xsl:attribute>
+                <xsl:if test="$startval">
+                    <xsl:attribute name="text:start-value"><xsl:value-of select="$startval"/></xsl:attribute>
+                </xsl:if>
+                <xsl:attribute name="text:display-levels"><xsl:value-of select="string-length(w:lvlText/@w:val) - string-length(translate(w:lvlText/@w:val,'%','') )"/></xsl:attribute>
+                <xsl:call-template name="nfc2numformat">
+                    <xsl:with-param name="nfcvalue" select="$listtype"/>
+                    <xsl:with-param name="prefix" select="substring-before(w:lvlText/@w:val, '%')"/>
+                    <xsl:with-param name="suffix" select="substring-after(w:lvlText/@w:val, concat('%', $currlevel) )"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:attribute name="text:style-name">Numbering Symbols</xsl:attribute>
+                <xsl:if test="$startval">
+                    <xsl:attribute name="text:start-value"><xsl:value-of select="$startval"/></xsl:attribute>
+                </xsl:if>
+                <xsl:attribute name="text:display-levels"><xsl:value-of select="string-length(w:lvlText/@w:val) - string-length(translate(w:lvlText/@w:val,'%','') )"/></xsl:attribute>
+                <!-- 'none' in Word 2003. wym -->
+                <xsl:attribute name="style:num-format"/>
+                <xsl:attribute name="style:num-prefix"><xsl:value-of select="substring-before(w:lvlText/@w:val, '%')"/></xsl:attribute>
+                <xsl:attribute name="style:num-suffix"><xsl:value-of select="substring-after(w:lvlText/@w:val, concat('%', $currlevel + 1) )"/></xsl:attribute>
+            </xsl:otherwise>
+        </xsl:choose>
+        <xsl:element name="style:properties">
+            <xsl:choose>
+                <xsl:when test="w:lvlJc/@w:val='right'">
+                    <xsl:attribute name="fo:text-align">end</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:lvlJc/@w:val='center'">
+                    <xsl:attribute name="fo:text-align">center</xsl:attribute>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:attribute name="fo:text-align">start</xsl:attribute>
+                </xsl:otherwise>
+            </xsl:choose>
+            <xsl:variable name="labelwidth">
+                <xsl:choose>
+                    <xsl:when test="w:pPr/w:ind/@w:hanging">
+                        <xsl:call-template name="convert2cm">
+                            <xsl:with-param name="value" select="concat(w:pPr/w:ind/@w:hanging,'dxa')"/>
+                        </xsl:call-template>
+                    </xsl:when>
+                    <xsl:when test="w:pPr/w:ind/@w:first-line">
+                        <xsl:call-template name="convert2cm">
+                            <xsl:with-param name="value" select="concat('-',w:pPr/w:ind/@w:first-line,'dxa')"/>
+                        </xsl:call-template>
+                    </xsl:when>
+                    <xsl:otherwise>0</xsl:otherwise>
+                </xsl:choose>
+            </xsl:variable>
+            <xsl:variable name="leftwidth">
+                <xsl:call-template name="convert2cm">
+                    <xsl:with-param name="value" select="concat(w:pPr/w:ind/@w:left,'dxa')"/>
+                </xsl:call-template>
+            </xsl:variable>
+            <xsl:attribute name="text:space-before"><xsl:value-of select="concat(number($leftwidth)-number($labelwidth),'cm')"/></xsl:attribute>
+            <xsl:attribute name="text:min-label-width"><xsl:choose><xsl:when test="$labelwidth &gt; 0"><xsl:value-of select="concat($labelwidth,'cm')"/></xsl:when><xsl:otherwise>0cm</xsl:otherwise></xsl:choose></xsl:attribute>
+            <!-- In binary word translation, text:min-label-distance do not generate. So, the width of number-symbol will not effect the start position of text. But first line always start same position of second line, no indent. If text:min-label-distance generate, the look of list will change because of uncountable number-symbol's width, now use 0.25cm as default width-->
+            <xsl:choose>
+                <xsl:when test="w:suff/@w:val='Space'">
+                    <xsl:attribute name="text:min-label-distance">0.20cm</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:pPr/w:tabs/w:tab/@w:pos">
+                    <xsl:variable name="tabpos">
+                        <xsl:call-template name="convert2cm">
+                            <xsl:with-param name="value" select="concat(w:pPr/w:tabs/w:tab/@w:pos,'dxa')"/>
+                        </xsl:call-template>
+                    </xsl:variable>
+                    <xsl:if test="number($tabpos) &gt; (number($leftwidth)-number($labelwidth))">
+                        <xsl:attribute name="text:min-label-distance"><xsl:value-of select="concat(number($tabpos)+number($labelwidth)-number($leftwidth)-0.25,'cm')"/></xsl:attribute>
+                    </xsl:if>
+                </xsl:when>
+            </xsl:choose>
+            <!-- Find the node that corresponds to the level being processed. We can use this to determine the indentation to be used
+            <xsl:variable name="currNode" select="/w:wordDocument/w:body//w:listPr[w:ilvl/@w:val = $currlevel][w:ilfo/@w:val = $currlist/w:ilfo/@w:val]"/>
+            <xsl:choose>
+                <xsl:when test="($currNode/wx:t/@wx:wTabBefore ) and ($currNode/wx:t/@wx:wTabAfter ) and (not($currNode/following-sibling::w:jc) or $currNode/following-sibling::w:jc/@w:val = 'left')">
+                    <xsl:attribute name="text:space-before"><xsl:value-of select="(number($currNode/wx:t/@wx:wTabBefore)div 1440) * 2.54"/>cm</xsl:attribute>
+                    <xsl:attribute name="text:min-label-distance"><xsl:value-of select="(number($currNode/wx:t/@wx:wTabAfter)div 1440) * 2.54"/>cm</xsl:attribute>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:attribute name="text:space-before"><xsl:value-of select="((number(w:pPr/w:ind/@w:left)  div 1440) * 2.54) "/>cm</xsl:attribute>
+                    <xsl:attribute name="text:min-label-distance"><xsl:value-of select="(number($currlist/wx:t/@wx:wTabAfter) div 1440) * 2.54"/>cm</xsl:attribute>
+                </xsl:otherwise>
+            </xsl:choose>-->
+            <xsl:if test="w:rPr/w:rFonts">
+                <xsl:if test="w:rPr/w:rFonts/@w:ascii">
+                    <xsl:attribute name="style:font-name"><xsl:value-of select="w:rPr/w:rFonts/@w:ascii"/></xsl:attribute>
+                </xsl:if>
+                <xsl:if test="w:rPr/w:rFonts/@w:fareast">
+                    <xsl:attribute name="style:font-name-asian"><xsl:value-of select="w:rPr/w:rFonts/@w:fareast"/></xsl:attribute>
+                </xsl:if>
+                <xsl:if test="w:rPr/w:rFonts/@w:cs">
+                    <xsl:attribute name="style:font-name-complex"><xsl:value-of select="w:rPr/w:rFonts/@w:cs"/></xsl:attribute>
+                </xsl:if>
+            </xsl:if>
+        </xsl:element>
+    </xsl:template>
+    <xsl:template name="list-styles-image">
+        <xsl:variable name="currlevel" select="number(@w:ilvl)"/>
+        <xsl:attribute name="text:level"><xsl:value-of select="$currlevel+1"/></xsl:attribute>
+        <xsl:variable name="picid" select="w:lvlPicBulletId/@w:val"/>
+        <xsl:element name="style:properties">
+            <xsl:attribute name="style:vertical-pos">middle</xsl:attribute>
+            <xsl:attribute name="style:vertical-rel">line</xsl:attribute>
+            <xsl:variable name="picsize" select="/descendant::w:lists/w:listPicBullet[@w:listPicBulletId=$picid]/w:pict/v:shape/@style"/>
+            <xsl:attribute name="fo:width"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="substring-before(substring-after($picsize,'width:'), ';')"/></xsl:call-template><xsl:text>cm</xsl:text></xsl:attribute>
+            <xsl:attribute name="fo:height"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="substring-after($picsize,'height:')"/></xsl:call-template><xsl:text>cm</xsl:text></xsl:attribute>
+            <xsl:variable name="labelwidth">
+                <xsl:choose>
+                    <xsl:when test="w:pPr/w:ind/@w:hanging">
+                        <xsl:call-template name="convert2cm">
+                            <xsl:with-param name="value" select="concat(w:pPr/w:ind/@w:hanging,'dxa')"/>
+                        </xsl:call-template>
+                    </xsl:when>
+                    <xsl:when test="w:pPr/w:ind/@w:first-line">
+                        <xsl:call-template name="convert2cm">
+                            <xsl:with-param name="value" select="concat('-',w:pPr/w:ind/@w:first-line,'dxa')"/>
+                        </xsl:call-template>
+                    </xsl:when>
+                    <xsl:otherwise>0</xsl:otherwise>
+                </xsl:choose>
+            </xsl:variable>
+            <xsl:variable name="leftwidth">
+                <xsl:call-template name="convert2cm">
+                    <xsl:with-param name="value" select="concat(w:pPr/w:ind/@w:left,'dxa')"/>
+                </xsl:call-template>
+            </xsl:variable>
+            <xsl:attribute name="text:space-before"><xsl:value-of select="concat(number($leftwidth)-number($labelwidth),'cm')"/></xsl:attribute>
+            <xsl:attribute name="text:min-label-width"><xsl:choose><xsl:when test="$labelwidth &gt; 0"><xsl:value-of select="concat($labelwidth,'cm')"/></xsl:when><xsl:otherwise>0cm</xsl:otherwise></xsl:choose></xsl:attribute>
+            <xsl:choose>
+                <xsl:when test="w:suff/@w:val='Space'">
+                    <xsl:attribute name="text:min-label-distance">0.20cm</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:pPr/w:tabs/w:tab/@w:pos">
+                    <xsl:variable name="tabpos">
+                        <xsl:call-template name="convert2cm">
+                            <xsl:with-param name="value" select="concat(w:pPr/w:tabs/w:tab/@w:pos,'dxa')"/>
+                        </xsl:call-template>
+                    </xsl:variable>
+                    <xsl:if test="number($tabpos) &gt; (number($leftwidth)-number($labelwidth))">
+                        <xsl:attribute name="text:min-label-distance"><xsl:value-of select="concat(number($tabpos)+number($labelwidth)-number($leftwidth),'cm')"/></xsl:attribute>
+                    </xsl:if>
+                </xsl:when>
+            </xsl:choose>
+        </xsl:element>
+        <office:binary-data>
+            <xsl:value-of select="/descendant::w:lists/w:listPicBullet[@w:listPicBulletId=$picid]/w:pict/w:binData"/>
+        </office:binary-data>
+    </xsl:template>
+    <!-- avoid listPr in textbox. :( glu -->
+    <xsl:template match="w:p[w:pPr/w:listPr[w:ilvl and w:ilfo]]">
+        <xsl:call-template name="genlist"/>
+    </xsl:template>
+    <xsl:template name="genlist">
+        <xsl:variable name="currlistid" select="w:pPr/w:listPr/w:ilfo/@w:val"/>
+        <xsl:variable name="currlistlvl" select="w:pPr/w:listPr/w:ilvl/@w:val"/>
+        <xsl:variable name="firstoccur" select="/descendant::w:pPr[w:listPr/w:ilfo/@w:val = $currlistid][1]"/>
+        <xsl:variable name="rootlistid" select="/w:wordDocument/w:lists/w:list[@w:ilfo=$currlistid]/w:ilst/@w:val"/>
+        <xsl:variable name="rootlistname" select="/w:wordDocument/w:lists/w:listDef[@w:listDefId =$rootlistid ]/w:listStyleLink/@w:val"/>
+        <xsl:element name="text:ordered-list">
+            <xsl:attribute name="text:style-name"><xsl:choose><xsl:when test="string-length($rootlistname) &gt; 0"><xsl:value-of select="$rootlistname"/></xsl:when><xsl:otherwise>List<xsl:value-of select="count($firstoccur/preceding::w:listPr)"/></xsl:otherwise></xsl:choose></xsl:attribute>
+            <xsl:choose>
+                <xsl:when test="preceding::w:pPr/w:listPr/w:ilfo/@w:val = w:pPr/w:listPr/w:ilfo/@w:val">
+                    <xsl:attribute name="text:continue-numbering">true</xsl:attribute>
+                    <xsl:element name="text:list-item">
+                        <xsl:call-template name="levels">
+                            <xsl:with-param name="level" select="$currlistlvl"/>
+                        </xsl:call-template>
+                    </xsl:element>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:element name="text:list-item">
+                        <xsl:call-template name="levels">
+                            <xsl:with-param name="level" select="$currlistlvl"/>
+                        </xsl:call-template>
+                    </xsl:element>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:element>
+    </xsl:template>
+    <xsl:template name="levels">
+        <xsl:param name="level"/>
+        <xsl:choose>
+            <xsl:when test="$level = '0'">
+                <xsl:call-template name="process-common-paragraph"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:element name="text:ordered-list">
+                    <xsl:element name="text:list-item">
+                        <xsl:call-template name="levels">
+                            <xsl:with-param name="level" select="$level -1"/>
+                        </xsl:call-template>
+                    </xsl:element>
+                </xsl:element>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    <xsl:template match="w:style" mode="list">
+        <xsl:variable name="listname" select="@w:styleId"/>
+        <xsl:if test="/w:wordDocument/w:lists/w:listDef[w:styleLink/@w:val=$listname]">
+            <text:list-style style:name="{$listname}">
+                <xsl:apply-templates select="/w:wordDocument/w:lists/w:listDef[w:styleLink/@w:val=$listname]/w:lvl"/>
+            </text:list-style>
+        </xsl:if>
+    </xsl:template>
+    <!-- for create outline style in office:styles -->
+    <xsl:template name="create-outline-style">
+        <xsl:element name="text:outline-style">
+            <xsl:call-template name="outline-level-style">
+                <xsl:with-param name="level" select="1"/>
+            </xsl:call-template>
+            <xsl:call-template name="outline-level-style">
+                <xsl:with-param name="level" select="2"/>
+            </xsl:call-template>
+            <xsl:call-template name="outline-level-style">
+                <xsl:with-param name="level" select="3"/>
+            </xsl:call-template>
+            <xsl:call-template name="outline-level-style">
+                <xsl:with-param name="level" select="4"/>
+            </xsl:call-template>
+            <xsl:call-template name="outline-level-style">
+                <xsl:with-param name="level" select="5"/>
+            </xsl:call-template>
+            <xsl:call-template name="outline-level-style">
+                <xsl:with-param name="level" select="6"/>
+            </xsl:call-template>
+            <xsl:call-template name="outline-level-style">
+                <xsl:with-param name="level" select="7"/>
+            </xsl:call-template>
+            <xsl:call-template name="outline-level-style">
+                <xsl:with-param name="level" select="8"/>
+            </xsl:call-template>
+            <xsl:call-template name="outline-level-style">
+                <xsl:with-param name="level" select="9"/>
+            </xsl:call-template>
+            <xsl:call-template name="outline-level-style">
+                <xsl:with-param name="level" select="10"/>
+            </xsl:call-template>
+        </xsl:element>
+    </xsl:template>
+    <xsl:template name="outline-level-style">
+        <xsl:param name="level"/>
+        <xsl:element name="text:outline-level-style">
+            <xsl:choose>
+                <xsl:when test="w:style[@w:type = 'paragraph' and (w:pPr/w:outlineLvl/@w:val = $level -1) and w:pPr/w:listPr]">
+                    <xsl:apply-templates select="(w:style[@w:type = 'paragraph' and w:pPr/w:outlineLvl/@w:val = $level -1 and w:pPr/w:listPr ]/w:pPr/w:listPr)[position()=1]" mode="outline">
+                        <xsl:with-param name="outlinelevel" select="$level"/>
+                    </xsl:apply-templates>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:attribute name="text:level"><xsl:value-of select="$level"/></xsl:attribute>
+                    <xsl:attribute name="style:num-format"/>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:element>
+    </xsl:template>
+    <xsl:template match="w:listPr" mode="outline">
+        <xsl:param name="outlinelevel"/>
+        <xsl:variable name="currlistid" select="w:ilfo/@w:val"/>
+        <xsl:variable name="currlistlevel">
+            <xsl:choose>
+                <xsl:when test="w:ilvl">
+                    <xsl:value-of select="w:ilvl/@w:val"/>
+                </xsl:when>
+                <xsl:otherwise>0</xsl:otherwise>
+            </xsl:choose>
+        </xsl:variable>
+        <xsl:variable name="rootlistid" select="/w:wordDocument/w:lists/w:list[@w:ilfo=$currlistid]/w:ilst/@w:val"/>
+        <xsl:variable name="rootlist" select="/w:wordDocument/w:lists/w:listDef[@w:listDefId =$rootlistid ]"/>
+        <xsl:for-each select="$rootlist/w:lvl[@w:ilvl=$currlistlevel]">
+            <xsl:call-template name="list-styles-common">
+                <xsl:with-param name="listtype">
+                    <xsl:choose>
+                        <xsl:when test="w:nfc/@w:val">
+                            <xsl:value-of select="w:nfc/@w:val"/>
+                        </xsl:when>
+                        <xsl:otherwise>0</xsl:otherwise>
+                    </xsl:choose>
+                </xsl:with-param>
+                <xsl:with-param name="currlevel" select="$outlinelevel"/>
+            </xsl:call-template>
+        </xsl:for-each>
+    </xsl:template>
+    <xsl:template name="nfc2numformat">
+        <xsl:param name="nfcvalue"/>
+        <xsl:param name="prefix"/>
+        <xsl:param name="suffix"/>
+        <xsl:choose>
+            <xsl:when test="$nfcvalue=0">
+                <xsl:attribute name="style:num-format">1</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=1">
+                <xsl:attribute name="style:num-format">I</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=2">
+                <xsl:attribute name="style:num-format">i</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=3">
+                <xsl:attribute name="style:num-format">A</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=4">
+                <xsl:attribute name="style:num-format">a</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=10 or $nfcvalue=11 or $nfcvalue=17 or $nfcvalue=29 or $nfcvalue=33 or $nfcvalue=35 or $nfcvalue=36 or $nfcvalue=37 or $nfcvalue=39 or $nfcvalue=44">
+                <xsl:attribute name="style:num-format">一, 二, 三, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=12">
+                <xsl:attribute name="style:num-format">ア, イ, ウ, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=13">
+                <xsl:attribute name="style:num-format">イ, ロ, ハ, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=14 or $nfcvalue=19">
+                <xsl:attribute name="style:num-format">1, 2, 3, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=16">
+                <xsl:attribute name="style:num-format">壱, 弐, 参, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=18 or $nfcvalue=28">
+                <xsl:attribute name="style:num-format">①, ②, ③, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=20">
+                <xsl:attribute name="style:num-format">ア, イ, ウ, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=21">
+                <xsl:attribute name="style:num-format">イ, ロ, ハ, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=24">
+                <xsl:attribute name="style:num-format">가, 나, 다, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=25">
+                <xsl:attribute name="style:num-format">ㄱ, ㄴ, ㄷ, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=30">
+                <xsl:attribute name="style:num-format">甲, 乙, 丙, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=31">
+                <xsl:attribute name="style:num-format">子, 丑, 寅, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=34">
+                <xsl:attribute name="style:num-format">壹, 貳, 參, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=38">
+                <xsl:attribute name="style:num-format">壹, 贰, 叁, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=41 or $nfcvalue=42 or $nfcvalue=43">
+                <xsl:attribute name="style:num-format">일, 이, 삼, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=45 or $nfcvalue=47">
+                <xsl:attribute name="style:num-format">א, ב, ג, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=46 or $nfcvalue=48">
+                <xsl:attribute name="style:num-format">أ, ب, ت, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=53">
+                <xsl:attribute name="style:num-format">ก, ข, ฃ, ...</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue!=57 and $nfcvalue &gt; 48 and $nfcvalue &lt; 60">
+                <xsl:attribute name="style:num-format">Native Numbering</xsl:attribute>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:attribute name="style:num-format">1</xsl:attribute>
+            </xsl:otherwise>
+        </xsl:choose>
+        <xsl:choose>
+            <xsl:when test="$nfcvalue=26">
+                <xsl:attribute name="style:num-prefix"><xsl:value-of select="$prefix"/></xsl:attribute>
+                <xsl:attribute name="style:num-suffix"><xsl:value-of select="concat( '.' , $suffix )"/></xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=27 or $nfcvalue=29">
+                <xsl:attribute name="style:num-prefix"><xsl:value-of select="concat( $prefix, '(' )"/></xsl:attribute>
+                <xsl:attribute name="style:num-suffix"><xsl:value-of select="concat( ')' , $suffix )"/></xsl:attribute>
+            </xsl:when>
+            <xsl:when test="$nfcvalue=57">
+                <xsl:attribute name="style:num-prefix"><xsl:value-of select="concat( $prefix, '- ' )"/></xsl:attribute>
+                <xsl:attribute name="style:num-suffix"><xsl:value-of select="concat( ' -' , $suffix )"/></xsl:attribute>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:attribute name="style:num-prefix"><xsl:value-of select="$prefix"/></xsl:attribute>
+                <xsl:attribute name="style:num-suffix"><xsl:value-of select="$suffix"/></xsl:attribute>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+<!-- End of OOo2.0 import/wordml/wordml2ooo_list.xsl stylesheet  -->
+<!-- Start of OOo2.0 import/wordml/wordml2ooo_page.xsl stylesheet  -->
+    <xsl:template match="w:sectPr" mode="page-master">
+        <style:page-master>
+            <xsl:attribute name="style:name">pm<xsl:number from="/w:wordDocument/w:body" level="any" count="w:sectPr"/></xsl:attribute>
+            <style:properties>
+                <xsl:attribute name="fo:page-width"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgSz/@w:w,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                <xsl:attribute name="fo:page-height"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgSz/@w:h,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                <xsl:choose>
+                    <xsl:when test="/w:wordDocument/w:docPr/w:gutterAtTop">
+                        <xsl:attribute name="fo:margin-top"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:top + w:pgMar/@w:gutter,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                        <xsl:attribute name="fo:margin-left"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:left,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                        <xsl:attribute name="fo:margin-right"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:right,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="w:rtlGutter">
+                        <xsl:attribute name="fo:margin-top"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:top,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                        <xsl:attribute name="fo:margin-left"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:left,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                        <xsl:attribute name="fo:margin-right"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:right + w:pgMar/@w:gutter,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="fo:margin-top"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:top,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                        <xsl:attribute name="fo:margin-left"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:left + w:pgMar/@w:gutter,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                        <xsl:attribute name="fo:margin-right"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:right,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                    </xsl:otherwise>
+                </xsl:choose>
+                <xsl:attribute name="fo:margin-bottom"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:bottom,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                <xsl:attribute name="style:footnote-max-height"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:footer,'dxa')"/></xsl:call-template></xsl:attribute>
+                <xsl:if test="w:pgSz/@w:orient">
+                    <xsl:attribute name="style:print-orientation"><xsl:value-of select="w:pgSz/@w:orient"/></xsl:attribute>
+                </xsl:if>
+                <xsl:if test="w:cols/@w:num">
+                    <!-- create sction property-->
+                    <style:columns>
+                        <xsl:attribute name="fo:column-count"><xsl:value-of select="w:cols/@w:num"/></xsl:attribute>
+                        <xsl:attribute name="fo:column-gap"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:cols/@w:space,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                    </style:columns>
+                </xsl:if>
+            </style:properties>
+        </style:page-master>
+    </xsl:template>
+    <xsl:template match="w:sectPr" mode="master-page">
+        <!-- style:page-master style:style-->
+        <style:master-page>
+            <xsl:variable name="master-page-name">
+                <xsl:number count="w:sectPr" from="/w:wordDocument/w:body" level="any"/>
+            </xsl:variable>
+            <xsl:attribute name="style:name">Standard<xsl:value-of select="$master-page-name"/></xsl:attribute>
+            <xsl:attribute name="style:page-master-name"><xsl:value-of select="concat('pm', $master-page-name)"/></xsl:attribute>
+            <!-- Headers and footers-->
+            <style:header-style>
+                <style:properties>
+                    <xsl:attribute name="fo:min-height"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:header,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                    <xsl:attribute name="fo:margin-bottom">0.792cm</xsl:attribute>
+                    <xsl:attribute name="style:dynamic-spacing">true</xsl:attribute>
+                </style:properties>
+            </style:header-style>
+            <style:footer-style>
+                <style:properties>
+                    <xsl:attribute name="fo:min-height"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pgMar/@w:footer,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                    <xsl:attribute name="fo:margin-top">0.792cm</xsl:attribute>
+                    <xsl:attribute name="style:dynamic-spacing">true</xsl:attribute>
+                </style:properties>
+            </style:footer-style>
+            <xsl:if test="not(w:titlePg)">
+                <xsl:apply-templates select="w:hdr[@w:type='odd']"/>
+                <xsl:apply-templates select="w:hdr[@w:type='even']"/>
+                <xsl:apply-templates select="w:ftr[@w:type='odd']"/>
+                <xsl:apply-templates select="w:ftr[@w:type='even']"/>
+            </xsl:if>
+        </style:master-page>
+    </xsl:template>
+    <xsl:template match="w:hdr">
+        <xsl:choose>
+            <xsl:when test="@w:type = 'odd'">
+                <style:header>
+                    <xsl:apply-templates/>
+                </style:header>
+            </xsl:when>
+            <xsl:when test="@w:type = 'even'">
+                <style:header-left>
+                    <xsl:apply-templates/>
+                </style:header-left>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+    <xsl:template match="w:ftr">
+        <xsl:choose>
+            <xsl:when test="@w:type = 'odd'">
+                <style:footer>
+                    <xsl:apply-templates/>
+                </style:footer>
+            </xsl:when>
+            <xsl:when test="@w:type = 'even'">
+                <style:footer-left>
+                    <xsl:apply-templates/>
+                </style:footer-left>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+<!-- End of OOo2.0 import/wordml/wordml2ooo_page.xsl stylesheet  -->
+<!-- Start of OOo2.0 import/wordml/wordml2ooo_settings.xsl stylesheet  -->
+    <xsl:template match="w:docPr">
+        <office:settings>
+            <config:config-item-set config:name="view-settings">
+                <config:config-item config:name="InBrowseMode" config:type="boolean">
+                    <xsl:choose>
+                        <xsl:when test="w:view/@w:val = 'outline'">true</xsl:when>
+                        <xsl:when test="w:view/@w:val = 'print'">false</xsl:when>
+                        <!-- others: web, reading, normal, master-pages, none. glu -->
+                        <xsl:otherwise>true</xsl:otherwise>
+                    </xsl:choose>
+                </config:config-item>
+                <config:config-item-map-indexed config:name="Views">
+                    <config:config-item-map-entry>
+                        <xsl:if test="w:zoom">
+                            <!-- VisibleRight and VisibleBottom are arbitrary positive numbers. ;) glu -->
+                            <config:config-item config:name="VisibleRight" config:type="int">1</config:config-item>
+                            <config:config-item config:name="VisibleBottom" config:type="int">1</config:config-item>
+                            <xsl:choose>
+                                <xsl:when test="w:zoom/@w:val = 'best-fit'">
+                                    <config:config-item config:name="ZoomType" config:type="short">3</config:config-item>
+                                </xsl:when>
+                                <xsl:when test="w:zoom/@w:val = 'full-page'">
+                                    <config:config-item config:name="ZoomType" config:type="short">2</config:config-item>
+                                </xsl:when>
+                                <xsl:when test="w:zoom/@w:val = 'text-fit'">
+                                    <config:config-item config:name="ZoomType" config:type="short">1</config:config-item>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <config:config-item config:name="ZoomType" config:type="short">0</config:config-item>
+                                </xsl:otherwise>
+                            </xsl:choose>
+                            <config:config-item config:name="ZoomFactor" config:type="short">
+                                <xsl:value-of select="w:zoom/@w:percent"/>
+                            </config:config-item>
+                        </xsl:if>
+                    </config:config-item-map-entry>
+                </config:config-item-map-indexed>
+            </config:config-item-set>
+        </office:settings>
+    </xsl:template>
+<!-- End of OOo2.0 import/wordml/wordml2ooo_settings.xsl stylesheet  -->
+<!-- Start of OOo2.0 import/wordml/wordml2ooo_table.xsl stylesheet  -->
+    <xsl:template match="w:tblPr" mode="style">
+        <xsl:element name="style:style">
+            <xsl:attribute name="style:name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/></xsl:attribute>
+            <xsl:attribute name="style:family">table</xsl:attribute>
+            <xsl:if test="w:tblStyle">
+                <xsl:attribute name="style:parent-style-name"><xsl:value-of select="w:tblStyle/@w:val"/></xsl:attribute>
+            </xsl:if>
+            <xsl:element name="style:properties">
+                <xsl:choose>
+                    <xsl:when test="w:jc/@w:val = 'left' or w:jc/@w:val = 'center' or w:jc/@w:val = 'right'">
+                        <xsl:attribute name="table:align"><xsl:value-of select="w:jc/@w:val"/></xsl:attribute>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="table:align">margins</xsl:attribute>
+                    </xsl:otherwise>
+                </xsl:choose>
+                <!-- adopt the width of table and column corresponding the width of page and margins. . -->
+                <xsl:variable name="sectPr" select="following::w:sectPr[1]"/>
+                <xsl:variable name="total-page-size" select="$sectPr/w:pgSz/@w:w"/>
+                <xsl:variable name="page-left-mar" select="$sectPr/w:pgMar/@w:left"/>
+                <xsl:variable name="page-right-mar" select="$sectPr/w:pgMar/@w:right"/>
+                <xsl:variable name="page-size-value" select="$total-page-size - $page-left-mar - $page-right-mar"/>
+                <xsl:variable name="page-size-inch">
+                    <xsl:call-template name="convert2in">
+                        <xsl:with-param name="value" select="concat($page-size-value, 'dxa') "/>
+                    </xsl:call-template>
+                </xsl:variable>
+                <xsl:variable name="gridcols" select="../w:tblGrid/w:gridCol"/>
+                <xsl:variable name="tblsize" select="sum($gridcols/@w:w)"/>
+                <xsl:variable name="table_indent">
+                    <xsl:choose>
+                        <xsl:when test="w:tblInd and  w:tblInd/@w:w &gt; 0 ">
+                            <xsl:call-template name="convert2in">
+                                <xsl:with-param name="value" select="concat(w:tblInd/@w:w, 'dxa') "/>
+                            </xsl:call-template>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:value-of select="number( '0') "/>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                </xsl:variable>
+                <xsl:variable name="rel-tblsize">
+                    <xsl:choose>
+                        <xsl:when test="w:tblW/@w:type = 'pct'">
+                            <xsl:value-of select="(number(w:tblW/@w:w  ) div 5000) * $page-size-inch"/>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:call-template name="convert2in">
+                                <xsl:with-param name="value" select="concat($tblsize, 'dxa')"/>
+                            </xsl:call-template>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                </xsl:variable>
+                <xsl:attribute name="style:width"><xsl:value-of select="concat($rel-tblsize, 'inch' )"/></xsl:attribute>
+                <xsl:variable name="tbl_margin_left">
+                    <xsl:choose>
+                        <xsl:when test="not(w:tblpPr ) ">
+                            <xsl:choose>
+                                <xsl:when test="w:bidiVisual">
+                                    <xsl:choose>
+                                        <xsl:when test=" number($page-size-inch - $table_indent - $rel-tblsize) &gt; 0">
+                                            <xsl:value-of select="$page-size-inch - $table_indent - $rel-tblsize"/>
+                                        </xsl:when>
+                                        <xsl:otherwise>
+                                            <xsl:text>0</xsl:text>
+                                        </xsl:otherwise>
+                                    </xsl:choose>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <xsl:value-of select="$table_indent"/>
+                                </xsl:otherwise>
+                            </xsl:choose>
+                        </xsl:when>
+                        <xsl:when test="w:tblpPr">
+                            <!-- if the table is  put into a draw:text-box,  fo:margin-left and fo:margin-right should be 0 -->
+                            <xsl:text>0</xsl:text>
+                        </xsl:when>
+                    </xsl:choose>
+                </xsl:variable>
+                <xsl:variable name="tbl_margin_right">
+                    <xsl:choose>
+                        <xsl:when test="not(w:tblpPr ) ">
+                            <xsl:choose>
+                                <xsl:when test="w:bidiVisual">
+                                    <xsl:value-of select="$table_indent"/>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <xsl:choose>
+                                        <xsl:when test=" number($page-size-inch - $table_indent - $rel-tblsize) &gt; 0">
+                                            <xsl:value-of select="$page-size-inch - $table_indent - $rel-tblsize"/>
+                                        </xsl:when>
+                                        <xsl:otherwise>
+                                            <xsl:text>0</xsl:text>
+                                        </xsl:otherwise>
+                                    </xsl:choose>
+                                </xsl:otherwise>
+                            </xsl:choose>
+                        </xsl:when>
+                        <xsl:when test="w:tblpPr">
+                            <!-- if the table is  put into a draw:text-box,  fo:margin-left and fo:margin-right should be 0 -->
+                            <xsl:text>0</xsl:text>
+                        </xsl:when>
+                    </xsl:choose>
+                </xsl:variable>
+                <xsl:attribute name="fo:margin-left"><xsl:value-of select="concat( $tbl_margin_left, 'inch')"/></xsl:attribute>
+                <xsl:attribute name="fo:margin-right"><xsl:value-of select="concat($tbl_margin_right, 'inch')"/></xsl:attribute>
+                <!-- If previous w:p has a page break, the table must have the page break attribute applied to it	 May need this for tables starting on new pages -->
+                <!--	<xsl:if test="parent::w:tbl/preceding-sibling::w:p[1][descendant::w:br/@w:type='page']">
+							<xsl:attribute name="fo:break-before">page</xsl:attribute></xsl:if>	-->
+                <!-- initial values for tables-->
+            </xsl:element>
+        </xsl:element>
+        <!-- the following style is for conveting Word table text wrapping to SO Writer. Since SO Writer has no table text wrapping feature, so we use the draw:text-box as a container and put the table in draw:text-box -->
+        <xsl:if test="w:tblpPr">
+            <xsl:element name="style:style">
+                <xsl:attribute name="style:name">TableFrame<xsl:number count="w:tblpPr" from="/w:wordDocument/w:body" level="any"/></xsl:attribute>
+                <xsl:attribute name="style:family">graphics</xsl:attribute>
+                <xsl:attribute name="style:parent-style-name"><xsl:value-of select=" 'Frame' "/></xsl:attribute>
+                <xsl:element name="style:properties">
+                    <xsl:if test="w:tblpPr/@w:leftFromText">
+                        <xsl:variable name="left_margin_from_text">
+                            <xsl:call-template name="convert2in">
+                                <xsl:with-param name="value" select="concat (w:tblpPr/@w:leftFromText, 'dxa') "/>
+                            </xsl:call-template>
+                        </xsl:variable>
+                        <xsl:attribute name="fo:margin-left"><xsl:value-of select="concat( $left_margin_from_text, 'inch') "/></xsl:attribute>
+                    </xsl:if>
+                    <xsl:if test="w:tblpPr/@w:rightFromText">
+                        <xsl:variable name="right_margin_from_text">
+                            <xsl:call-template name="convert2in">
+                                <xsl:with-param name="value" select="concat (w:tblpPr/@w:rightFromText, 'dxa') "/>
+                            </xsl:call-template>
+                        </xsl:variable>
+                        <xsl:attribute name="fo:margin-right"><xsl:value-of select="concat( $right_margin_from_text, 'inch') "/></xsl:attribute>
+                    </xsl:if>
+                    <xsl:if test="w:tblpPr/@w:topFromText">
+                        <xsl:variable name="top_margin_from_text">
+                            <xsl:call-template name="convert2in">
+                                <xsl:with-param name="value" select="concat (w:tblpPr/@w:topFromText, 'dxa') "/>
+                            </xsl:call-template>
+                        </xsl:variable>
+                        <xsl:attribute name="fo:margin-top"><xsl:value-of select="concat( $top_margin_from_text, 'inch') "/></xsl:attribute>
+                    </xsl:if>
+                    <xsl:if test="w:tblpPr/@w:bottomFromText">
+                        <xsl:variable name="bottom_margin_from_text">
+                            <xsl:call-template name="convert2in">
+                                <xsl:with-param name="value" select="concat (w:tblpPr/@w:bottomFromText, 'dxa') "/>
+                            </xsl:call-template>
+                        </xsl:variable>
+                        <xsl:attribute name="fo:margin-bottom"><xsl:value-of select="concat( $bottom_margin_from_text, 'inch') "/></xsl:attribute>
+                    </xsl:if>
+                    <xsl:attribute name="style:number-wrapped-paragraphs"><xsl:text>no-limit</xsl:text></xsl:attribute>
+                    <!--xsl:if test="w:tblpPr/@w:tblpYSpec" to get the vertical alignment-->
+                    <xsl:variable name="vertical_alignment">
+                        <xsl:choose>
+                            <xsl:when test="w:tblpPr/@w:tblpYSpec = 'top' ">
+                                <xsl:text>top</xsl:text>
+                            </xsl:when>
+                            <xsl:when test="w:tblpPr/@w:tblpYSpec = 'center' ">
+                                <xsl:text>middle</xsl:text>
+                            </xsl:when>
+                            <xsl:when test="w:tblpPr/@w:tblpYSpec= 'bottom' ">
+                                <xsl:text>bottom</xsl:text>
+                            </xsl:when>
+                            <xsl:when test="w:tblpPr/@w:tblpYSpec = 'inside' ">
+                                <xsl:text>from-top</xsl:text>
+                            </xsl:when>
+                            <xsl:when test="w:tblpPr/@w:tblpYSpec= 'outside' ">
+                                <xsl:text>top</xsl:text>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:text>from-top</xsl:text>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:variable>
+                    <xsl:attribute name="style:vertical-pos"><xsl:value-of select="$vertical_alignment"/></xsl:attribute>
+                    <!--/xsl:if-->
+                    <!--xsl:if test="w:tblpPr/@w:vertAnchor" to get the vertical anchor related area type -->
+                    <xsl:variable name="frame_v_anchor">
+                        <xsl:choose>
+                            <xsl:when test="w:tblpPr/@w:vertAnchor = 'text' ">
+                                <xsl:value-of select=" 'paragraph' "/>
+                            </xsl:when>
+                            <xsl:when test="w:tblpPr/@w:vertAnchor = 'margin' ">
+                                <xsl:value-of select=" 'paragraph-content' "/>
+                            </xsl:when>
+                            <xsl:when test="w:tblpPr/@w:vertAnchor = 'page' ">
+                                <xsl:value-of select="w:tblpPr/@w:vertAnchor"/>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:value-of select=" 'page-content' "/>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:variable>
+                    <xsl:attribute name="style:vertical-rel"><xsl:value-of select="$frame_v_anchor"/></xsl:attribute>
+                    <!--/xsl:if-->
+                    <!--xsl:if test="w:tblpPr/@w:tblpXSpec" to get the horizntal alignment-->
+                    <xsl:variable name="horizental_alignment">
+                        <xsl:choose>
+                            <xsl:when test="w:tblpPr/@w:tblpXSpec = 'left' ">
+                                <xsl:text>left</xsl:text>
+                            </xsl:when>
+                            <xsl:when test="w:tblpPr/@w:tblpXSpec = 'center' ">
+                                <xsl:text>center</xsl:text>
+                            </xsl:when>
+                            <xsl:when test="w:tblpPr/@w:tblpXSpec = 'right' ">
+                                <xsl:text>right</xsl:text>
+                            </xsl:when>
+                            <xsl:when test="w:tblpPr/@w:tblpXSpec = 'inside' ">
+                                <xsl:text>from-left</xsl:text>
+                            </xsl:when>
+                            <xsl:when test="w:tblpPr/@w:tblpXSpec = 'outside' ">
+                                <xsl:text>outside</xsl:text>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:text>left</xsl:text>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:variable>
+                    <xsl:attribute name="style:horizontal-pos"><xsl:value-of select="$horizental_alignment"/></xsl:attribute>
+                    <!--/xsl:if-->
+                    <!--xsl:if test="w:tblpPr/@w:horzAnchor" to get the horizental anchor related area type-->
+                    <xsl:variable name="frame_h_anchor">
+                        <xsl:choose>
+                            <xsl:when test="w:tblpPr/@w:horzAnchor = 'text' ">
+                                <xsl:value-of select=" 'paragraph' "/>
+                            </xsl:when>
+                            <xsl:when test="w:tblpPr/@w:horzAnchor = 'margin' ">
+                                <xsl:value-of select=" 'page-content' "/>
+                            </xsl:when>
+                            <xsl:when test="w:tblpPr/@w:horzAnchor = 'page' ">
+                                <xsl:value-of select="w:tblpPr/@w:horzAnchor"/>
+                            </xsl:when>
+                            <xsl:when test="w:tblpPr/@w:horzAnchor= 'inside' ">
+                                <xsl:value-of select=" 'paragraph-start-margin' "/>
+                            </xsl:when>
+                            <xsl:when test="w:tblpPr/@w:horzAnchor= 'outside' ">
+                                <xsl:value-of select=" 'paragraph-end-margin' "/>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:value-of select=" 'paragraph-content' "/>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:variable>
+                    <xsl:attribute name="style:horizontal-rel"><xsl:value-of select="$frame_h_anchor"/></xsl:attribute>
+                    <!--/xsl:if-->
+                    <xsl:attribute name="fo:background-color"><xsl:text>#ffffff</xsl:text></xsl:attribute>
+                    <xsl:attribute name="style:background-transparency"><xsl:text>100%</xsl:text></xsl:attribute>
+                    <xsl:attribute name="style:wrap"><xsl:text>parallel</xsl:text></xsl:attribute>
+                </xsl:element>
+            </xsl:element>
+        </xsl:if>
+    </xsl:template>
+    <xsl:template match="w:gridCol" mode="style">
+        <xsl:element name="style:style">
+            <xsl:attribute name="style:family">table-column</xsl:attribute>
+            <xsl:attribute name="style:name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/>.C<xsl:number count="w:gridCol" from="/w:wordDocument/w:body" level="single"/></xsl:attribute>
+            <xsl:element name="style:properties">
+                <xsl:variable name="column_width">
+                    <xsl:call-template name="convert2in">
+                        <xsl:with-param name="value" select="concat(@w:w, 'dxa') "/>
+                    </xsl:call-template>
+                </xsl:variable>
+                <xsl:attribute name="style:column-width"><xsl:value-of select="concat($column_width,'inch') "/></xsl:attribute>
+            </xsl:element>
+        </xsl:element>
+    </xsl:template>
+    <xsl:template match="w:trPr" mode="style">
+        <!-- to generate style:style of table-row height.  -->
+        <xsl:element name="style:style">
+            <xsl:attribute name="style:family">table-row</xsl:attribute>
+            <xsl:attribute name="style:name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/>.R<xsl:number count="w:tr" from="/w:wordDocument/w:body" level="single"/></xsl:attribute>
+            <xsl:element name="style:properties">
+                <xsl:choose>
+                    <xsl:when test="w:trHeight/@w:val">
+                        <xsl:variable name="tbl_row_height">
+                            <xsl:call-template name="convert2in">
+                                <xsl:with-param name="value" select="concat(w:trHeight/@w:val, 'dxa') "/>
+                            </xsl:call-template>
+                        </xsl:variable>
+                        <xsl:attribute name="style:row-height"><xsl:value-of select="concat($tbl_row_height, 'inch' )"/></xsl:attribute>
+                    </xsl:when>
+                </xsl:choose>
+            </xsl:element>
+        </xsl:element>
+    </xsl:template>
+    <xsl:template match="w:tcPr" mode="style">
+        <style:style>
+            <xsl:attribute name="style:name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/>.R<xsl:number count="w:tr" from="/w:wordDocument/w:body" level="single"/>C<xsl:number count="w:tc" from="/w:wordDocument/w:body" level="single"/></xsl:attribute>
+            <xsl:attribute name="style:family">table-cell</xsl:attribute>
+            <xsl:variable name="rootStyle" select="ancestor::w:tbl/w:tblPr/w:tblStyle/@w:val"/>
+            <xsl:variable name="rootStyleNode" select="/w:wordDocument/w:styles/w:style[@w:styleId = $rootStyle]"/>
+            <xsl:element name="style:properties">
+                <!-- cell background color start -->
+                <xsl:variable name="tbl_cell_background_color">
+                    <xsl:choose>
+                        <xsl:when test="w:shd/@w:fill">
+                            <xsl:value-of select="w:shd/@w:fill"/>
+                        </xsl:when>
+                        <xsl:when test="$rootStyleNode/w:tblpr/w:shd/@w:fill">
+                            <xsl:value-of select="$rootStyleNode/w:tblpr/w:shd/@w:fill"/>
+                        </xsl:when>
+                    </xsl:choose>
+                </xsl:variable>
+                <xsl:attribute name="fo:background-color"><xsl:value-of select="concat('#',$tbl_cell_background_color)"/></xsl:attribute>
+                <!--cell background color end -->
+                <!-- table cell vertical alignment start -->
+                <xsl:if test="w:vAlign">
+                    <xsl:variable name="tbl_cell_alignment">
+                        <xsl:choose>
+                            <xsl:when test="w:vAlign/@w:val = 'top' ">
+                                <xsl:text>top</xsl:text>
+                            </xsl:when>
+                            <xsl:when test="w:vAlign/@w:val = 'center' ">
+                                <xsl:text>middle</xsl:text>
+                            </xsl:when>
+                            <xsl:when test="w:vAlign/@w:val = 'bottom' ">
+                                <xsl:text>bottom</xsl:text>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:text>automatic</xsl:text>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:variable>
+                    <xsl:attribute name="fo:vertical-align"><xsl:value-of select="$tbl_cell_alignment"/></xsl:attribute>
+                </xsl:if>
+                <!--table cell alignment end -->
+                <!-- cell margin start -->
+                <xsl:variable name="tblcell_leftmargin">
+                    <xsl:choose>
+                        <xsl:when test="w:tcMar/w:left">
+                            <xsl:call-template name="convert2in">
+                                <xsl:with-param name="value" select="concat(w:tcMar/w:left/@w:w , w:tcMar/w:left/@w:type) "/>
+                            </xsl:call-template>
+                        </xsl:when>
+                        <xsl:when test="$rootStyleNode/w:tblPr/w:tblCellMar/w:left">
+                            <xsl:call-template name="convert2in">
+                                <xsl:with-param name="value" select="concat($rootStyleNode/w:tblPr/w:tblCellMar/w:left/@w:w , $rootStyleNode/w:tblPr/w:tblCellMar/w:left/@w:type)"/>
+                            </xsl:call-template>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:text>0</xsl:text>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                </xsl:variable>
+                <xsl:variable name="tblcell_rightmargin">
+                    <xsl:choose>
+                        <xsl:when test="w:tcMar/w:right">
+                            <xsl:call-template name="convert2in">
+                                <xsl:with-param name="value" select="concat(w:tcMar/w:right/@w:w , w:tcMar/w:right/@w:type) "/>
+                            </xsl:call-template>
+                        </xsl:when>
+                        <xsl:when test="$rootStyleNode/w:tblPr/w:tblCellMar/w:right">
+                            <xsl:call-template name="convert2in">
+                                <xsl:with-param name="value" select="concat($rootStyleNode/w:tblPr/w:tblCellMar/w:right/@w:w , $rootStyleNode/w:tblPr/w:tblCellMar/w:right/@w:type)"/>
+                            </xsl:call-template>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:text>0</xsl:text>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                </xsl:variable>
+                <xsl:variable name="tblcell_topmargin">
+                    <xsl:choose>
+                        <xsl:when test="w:tcMar/w:top">
+                            <xsl:call-template name="convert2in">
+                                <xsl:with-param name="value" select="concat(w:tcMar/w:top/@w:w , w:tcMar/w:top/@w:type) "/>
+                            </xsl:call-template>
+                        </xsl:when>
+                        <xsl:when test="$rootStyleNode/w:tblPr/w:tblCellMar/w:top">
+                            <xsl:call-template name="convert2in">
+                                <xsl:with-param name="value" select="concat($rootStyleNode/w:tblPr/w:tblCellMar/w:top/@w:w , $rootStyleNode/w:tblPr/w:tblCellMar/w:top/@w:type)"/>
+                            </xsl:call-template>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:text>0</xsl:text>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                </xsl:variable>
+                <xsl:variable name="tblcell_bottommargin">
+                    <xsl:choose>
+                        <xsl:when test="w:tcMar/w:bottom">
+                            <xsl:call-template name="convert2in">
+                                <xsl:with-param name="value" select="concat(w:tcMar/w:bottom/@w:w , w:tcMar/w:bottom/@w:type) "/>
+                            </xsl:call-template>
+                        </xsl:when>
+                        <xsl:when test="$rootStyleNode/w:tblPr/w:tblCellMar/w:bottom">
+                            <xsl:call-template name="convert2in">
+                                <xsl:with-param name="value" select="concat($rootStyleNode/w:tblPr/w:tblCellMar/w:bottom/@w:w , $rootStyleNode/w:tblPr/w:tblCellMar/w:bottom/@w:type)"/>
+                            </xsl:call-template>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:text>0</xsl:text>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                </xsl:variable>
+                <xsl:attribute name="fo:padding-left"><xsl:value-of select="concat($tblcell_leftmargin, 'inch' )"/></xsl:attribute>
+                <xsl:attribute name="fo:padding-right"><xsl:value-of select="concat($tblcell_rightmargin, 'inch' )"/></xsl:attribute>
+                <xsl:attribute name="fo:padding-top"><xsl:value-of select="concat($tblcell_topmargin, 'inch' )"/></xsl:attribute>
+                <xsl:attribute name="fo:padding-bottom"><xsl:value-of select="concat($tblcell_bottommargin, 'inch' )"/></xsl:attribute>
+                <!-- cell margin end -->
+                <xsl:variable name="row-position">
+                    <xsl:number count="w:tr" from="/w:wordDocument/w:body" level="single"/>
+                </xsl:variable>
+                <!-- cell borders should be carefully converted. a little complex. glu :( -->
+                <xsl:variable name="Borders" select="ancestor::w:tbl/w:tblPr/w:tblBorders"/>
+                <xsl:choose>
+                    <xsl:when test="$row-position &gt; 1">
+                        <xsl:call-template name="get-table-border">
+                            <xsl:with-param name="style-pos" select="'top'"/>
+                            <xsl:with-param name="style-position-0" select="w:tcBorders/w:top"/>
+                            <xsl:with-param name="style-position-1" select="$Borders/w:insideH"/>
+                            <xsl:with-param name="style-position-2" select="$rootStyleNode/w:tblPr/w:tblBorders/w:insideH"/>
+                        </xsl:call-template>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:call-template name="get-table-border">
+                            <xsl:with-param name="style-pos" select="'top'"/>
+                            <xsl:with-param name="style-position-0" select="w:tcBorders/w:top"/>
+                            <xsl:with-param name="style-position-1" select="$Borders/w:top"/>
+                            <xsl:with-param name="style-position-2" select="$rootStyleNode/w:tblPr/w:tblBorders/w:top"/>
+                        </xsl:call-template>
+                    </xsl:otherwise>
+                </xsl:choose>
+                <xsl:choose>
+                    <xsl:when test="count(ancestor::w:tr/following-sibling::w:tr) &gt; 0">
+                        <xsl:call-template name="get-table-border">
+                            <xsl:with-param name="style-pos" select="'bottom'"/>
+                            <xsl:with-param name="style-position-0" select="w:tcBorders/w:bottom"/>
+                            <xsl:with-param name="style-position-1" select="$Borders/w:insideH"/>
+                            <xsl:with-param name="style-position-2" select="$rootStyleNode/w:tblPr/w:tblBorders/w:insideH"/>
+                        </xsl:call-template>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:call-template name="get-table-border">
+                            <xsl:with-param name="style-pos" select="'bottom'"/>
+                            <xsl:with-param name="style-position-0" select="w:tcBorders/w:bottom"/>
+                            <xsl:with-param name="style-position-1" select="$Borders/w:bottom"/>
+                            <xsl:with-param name="style-position-2" select="$rootStyleNode/w:tblPr/w:tblBorders/w:bottom"/>
+                        </xsl:call-template>
+                    </xsl:otherwise>
+                </xsl:choose>
+                <xsl:choose>
+                    <xsl:when test="count(ancestor::w:tc/preceding-sibling::w:tc) &gt; 0">
+                        <xsl:call-template name="get-table-border">
+                            <xsl:with-param name="style-pos" select="'left'"/>
+                            <xsl:with-param name="style-position-0" select="w:tcBorders/w:left"/>
+                            <xsl:with-param name="style-position-1" select="$Borders/w:insideV"/>
+                            <xsl:with-param name="style-position-2" select="$rootStyleNode/w:tblPr/w:tblBorders/w:insideV"/>
+                        </xsl:call-template>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:call-template name="get-table-border">
+                            <xsl:with-param name="style-pos" select="'left'"/>
+                            <xsl:with-param name="style-position-0" select="w:tcBorders/w:left"/>
+                            <xsl:with-param name="style-position-1" select="$Borders/w:left"/>
+                            <xsl:with-param name="style-position-2" select="$rootStyleNode/w:tblPr/w:tblBorders/w:left"/>
+                        </xsl:call-template>
+                    </xsl:otherwise>
+                </xsl:choose>
+                <xsl:choose>
+                    <xsl:when test="count(ancestor::w:tc/following-sibling::w:tc) &gt; 0">
+                        <xsl:call-template name="get-table-border">
+                            <xsl:with-param name="style-pos" select="'right'"/>
+                            <xsl:with-param name="style-position-0" select="w:tcBorders/w:right"/>
+                            <xsl:with-param name="style-position-1" select="$Borders/w:insideV"/>
+                            <xsl:with-param name="style-position-2" select="$rootStyleNode/w:tblPr/w:tblBorders/w:insideV"/>
+                        </xsl:call-template>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:call-template name="get-table-border">
+                            <xsl:with-param name="style-pos" select="'right'"/>
+                            <xsl:with-param name="style-position-0" select="w:tcBorders/w:right"/>
+                            <xsl:with-param name="style-position-1" select="$Borders/w:right"/>
+                            <xsl:with-param name="style-position-2" select="$rootStyleNode/w:tblPr/w:tblBorders/w:right"/>
+                        </xsl:call-template>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:element>
+        </style:style>
+    </xsl:template>
+    <xsl:template name="get-table-border">
+        <xsl:param name="style-pos"/>
+        <xsl:param name="style-position-0"/>
+        <xsl:param name="style-position-1"/>
+        <xsl:param name="style-position-2"/>
+        <xsl:variable name="size-style">
+            <xsl:choose>
+                <xsl:when test="$style-position-0">
+                    <xsl:value-of select="$style-position-0/@w:sz"/>
+                </xsl:when>
+                <xsl:when test="$style-position-1">
+                    <xsl:value-of select="$style-position-1/@w:sz"/>
+                </xsl:when>
+                <xsl:when test="$style-position-2">
+                    <xsl:value-of select="$style-position-2/@w:sz"/>
+                </xsl:when>
+                <xsl:otherwise>2</xsl:otherwise>
+            </xsl:choose>
+        </xsl:variable>
+        <xsl:variable name="border-style">
+            <xsl:choose>
+                <xsl:when test="$style-position-0">
+                    <xsl:value-of select="$style-position-0/@w:val"/>
+                </xsl:when>
+                <xsl:when test="$style-position-1">
+                    <xsl:value-of select="$style-position-1/@w:val"/>
+                </xsl:when>
+                <xsl:when test="$style-position-2">
+                    <xsl:value-of select="$style-position-2/@w:val"/>
+                </xsl:when>
+                <xsl:otherwise>single</xsl:otherwise>
+            </xsl:choose>
+        </xsl:variable>
+        <!-- totally basic Word table border styles: nil, none, single, thick, double, dotted, dashed, dot-dash, dot-dot-dash, triple, thin-thick-small-gap, thick-thin-small-gap, thin-thick-thin-small-gap, thin-thick-medium-gap, thick-thin-medium-gap, thin-thick-thin-medium-gap, thin-thick-large-gap, thick-thin-large-gap, thin-thick-thin-large-gap, wave, double-wave, dash-small-gap, dash-dot-stroked, three-d-emboss, three-d-engrave, outset, inset. Others are advanced graphical table border styles. glu -->
+        <xsl:variable name="style-border">
+            <xsl:choose>
+                <xsl:when test="$border-style = 'nil' or $border-style ='none'">hidden</xsl:when>
+                <xsl:when test="$border-style = 'single' or $border-style = 'thick' or $border-style = 'dotted' or $border-style = 'dashed' or $border-style = 'dot-dash' or $border-style = 'dot-dot-dash' or $border-style = 'wave' or $border-style = 'dash-small-gap' or $border-style = 'dash-dot-stroked'">solid</xsl:when>
+                <xsl:otherwise>double</xsl:otherwise>
+            </xsl:choose>
+        </xsl:variable>
+        <xsl:variable name="color-border">
+            <xsl:choose>
+                <xsl:when test="$style-position-0 and string-length($style-position-0/@w:color) = 6">
+                    <xsl:value-of select="$style-position-0/@w:color"/>
+                </xsl:when>
+                <xsl:when test="$style-position-0 and $style-position-0/@w:color = 'auto' and contains($border-style, 'set')">
+                    <xsl:text>c0c0c0</xsl:text>
+                </xsl:when>
+                <xsl:when test="$style-position-1 and string-length($style-position-1/@w:color) = 6">
+                    <xsl:value-of select="$style-position-1/@w:color"/>
+                </xsl:when>
+                <xsl:when test="$style-position-1 and $style-position-1/@w:color = 'auto' and contains($border-style, 'set')">
+                    <xsl:text>c0c0c0</xsl:text>
+                </xsl:when>
+                <xsl:when test="$style-position-2 and string-length($style-position-2/@w:color) = 6">
+                    <xsl:value-of select="$style-position-2/@w:color"/>
+                </xsl:when>
+                <xsl:when test="$style-position-2 and $style-position-2/@w:color = 'auto' and contains($border-style, 'set')">
+                    <xsl:text>c0c0c0</xsl:text>
+                </xsl:when>
+                <xsl:otherwise>000000</xsl:otherwise>
+            </xsl:choose>
+        </xsl:variable>
+        <!-- mapping border line widths. glu -->
+        <xsl:choose>
+            <xsl:when test="$border-style = 'single'">
+                <xsl:choose>
+                    <xsl:when test="$size-style &lt; 7">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.002cm solid #', $color-border)"/></xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 20">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.035cm solid #', $color-border)"/></xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 30">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.088cm solid #', $color-border)"/></xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 40">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.141cm solid #', $color-border)"/></xsl:attribute>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.176cm solid #', $color-border)"/></xsl:attribute>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
+            <xsl:when test="$border-style = 'double'">
+                <xsl:choose>
+                    <xsl:when test="$size-style &lt; 10">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.039cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.035cm 0.002cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 15">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.092cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.002cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 20">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.106cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.035cm 0.035cm 0.035cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.265cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.088cm</xsl:attribute>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
+            <xsl:when test="$border-style = 'triple'">
+                <xsl:choose>
+                    <xsl:when test="$size-style &lt; 5">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.039cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.035cm 0.002cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 10">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.092cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">.002cm 0.088cm 0.002cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 15">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.106cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.035cm 0.035cm 0.035cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.265cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.088cm</xsl:attribute>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
+            <xsl:when test="$border-style = 'thin-thick-small-gap' or $border-style = 'thick-thin-small-gap'">
+                <xsl:choose>
+                    <xsl:when test="($border-style = 'thin-thick-small-gap' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'thick-thin-small-gap' and ($style-pos = 'right' or $style-pos = 'bottom'))">
+                        <xsl:choose>
+                            <xsl:when test="$size-style &lt; 20">
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.125cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.035cm</xsl:attribute>
+                            </xsl:when>
+                            <xsl:when test="$size-style &lt; 30">
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.178cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.088cm</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.231cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.141cm</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
+            <xsl:when test="$border-style = 'thin-thick-thin-small-gap'">
+                <xsl:choose>
+                    <xsl:when test="$size-style &lt; 20">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.178cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.088cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 40">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.231cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.141cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.318cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.141cm</xsl:attribute>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
+            <xsl:when test="$border-style = 'thin-thick-medium-gap' or $border-style = 'thick-thin-medium-gap'">
+                <xsl:choose>
+                    <xsl:when test="$size-style &lt; 10">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.039cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.035cm 0.002cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 15">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.106cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.035cm 0.035cm 0.035cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 30">
+                        <xsl:choose>
+                            <xsl:when test="($border-style = 'thin-thick-medium-gap' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'thick-thin-medium-gap' and ($style-pos = 'right' or $style-pos = 'bottom'))">
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.212cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.035cm 0.088cm 0.088cm</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.318cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:choose>
+                            <xsl:when test="($border-style = 'thin-thick-medium-gap' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'thick-thin-medium-gap' and ($style-pos = 'right' or $style-pos = 'bottom'))">
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.141cm</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.141cm 0.088cm 0.088cm</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
+            <xsl:when test="$border-style = 'thin-thick-thin-medium-gap'">
+                <xsl:choose>
+                    <xsl:when test="$size-style &lt; 10">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.039cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.035cm 0.002cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 15">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.106cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.035cm 0.035cm 0.035cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 30">
+                        <xsl:choose>
+                            <xsl:when test="$style-pos = 'left' or $style-pos = 'top'">
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.212cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.035cm 0.088cm 0.088cm</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.318cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:choose>
+                            <xsl:when test="$style-pos = 'left' or $style-pos = 'top'">
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.141cm 0.088cm 0.088cm</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.141cm</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
+            <xsl:when test="$border-style = 'thin-thick-large-gap' or $border-style = 'thick-thin-large-gap'">
+                <xsl:choose>
+                    <xsl:when test="$size-style &lt; 7">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.092cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.002cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 10">
+                        <xsl:choose>
+                            <xsl:when test="($border-style = 'thin-thick-large-gap' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'thick-thin-large-gap' and ($style-pos = 'right' or $style-pos = 'bottom'))">
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.125cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.035cm</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.092cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.002cm</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 15">
+                        <xsl:choose>
+                            <xsl:when test="($border-style = 'thin-thick-large-gap' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'thick-thin-large-gap' and ($style-pos = 'right' or $style-pos = 'bottom'))">
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.125cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.035cm</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 30">
+                        <xsl:choose>
+                            <xsl:when test="($border-style = 'thin-thick-large-gap' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'thick-thin-large-gap' and ($style-pos = 'right' or $style-pos = 'bottom'))">
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.178cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.088cm</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 40">
+                        <xsl:choose>
+                            <xsl:when test="($border-style = 'thin-thick-large-gap' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'thick-thin-large-gap' and ($style-pos = 'right' or $style-pos = 'bottom'))">
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.231cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.141cm</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.318cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:choose>
+                            <xsl:when test="($border-style = 'thin-thick-large-gap' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'thick-thin-large-gap' and ($style-pos = 'right' or $style-pos = 'bottom'))">
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.141cm</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.141cm 0.088cm 0.088cm</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
+            <xsl:when test="$border-style = 'thin-thick-thin-large-gap'">
+                <xsl:choose>
+                    <xsl:when test="$size-style &lt; 5">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.125cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.035cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 10">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.178cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.088cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 20">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.231cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.141cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.318cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.141cm</xsl:attribute>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
+            <xsl:when test="contains( $border-style, 'wave') or $border-style = 'dash-dot-stroked'">
+                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.106cm double #', $color-border)"/></xsl:attribute>
+                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.035cm 0.035cm 0.035cm</xsl:attribute>
+            </xsl:when>
+            <xsl:when test="contains( $border-style, 'three-d')">
+                <xsl:choose>
+                    <xsl:when test="$size-style &lt; 10">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.035cm solid #', $color-border)"/></xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 20">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.088cm solid #', $color-border)"/></xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 30">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.176cm solid #', $color-border)"/></xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 40">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.265cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.088cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.318cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.141cm</xsl:attribute>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
+            <xsl:when test="contains( $border-style, 'set')">
+                <xsl:choose>
+                    <xsl:when test="$size-style &lt; 7">
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.092cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.002cm</xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 10">
+                        <xsl:choose>
+                            <xsl:when test="($border-style = 'outset' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'inset' and ($style-pos = 'right' or $style-pos = 'bottom'))">
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.092cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.002cm</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.125cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.035cm</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 15">
+                        <xsl:choose>
+                            <xsl:when test="($border-style = 'outset' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'inset' and ($style-pos = 'right' or $style-pos = 'bottom'))">
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.125cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.035cm</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 30">
+                        <xsl:choose>
+                            <xsl:when test="($border-style = 'outset' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'inset' and ($style-pos = 'right' or $style-pos = 'bottom'))">
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.178cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.088cm</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:when>
+                    <xsl:when test="$size-style &lt; 40">
+                        <xsl:choose>
+                            <xsl:when test="($border-style = 'outset' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'inset' and ($style-pos = 'right' or $style-pos = 'bottom'))">
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.159cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.035cm 0.035cm</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.231cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.002cm 0.088cm 0.141cm</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.318cm double #', $color-border)"/></xsl:attribute>
+                        <xsl:choose>
+                            <xsl:when test="($border-style = 'outset' and ($style-pos = 'left' or $style-pos = 'top')) or ($border-style = 'inset' and ($style-pos = 'right' or $style-pos = 'bottom'))">
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.141cm 0.088cm 0.088cm</xsl:attribute>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="{concat('fo:border-', $style-pos)}"><xsl:value-of select="concat('0.231cm double #', $color-border)"/></xsl:attribute>
+                                <xsl:attribute name="{concat('style:border-line-width-',$style-pos)}">0.088cm 0.088cm 0.141cm</xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:attribute name="{concat('fo:border-', $style-pos)}">0.002cm solid #000000</xsl:attribute>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    <xsl:template match="w:tbl">
+        <xsl:choose>
+            <xsl:when test="w:tblPr/w:tblpPr">
+                <!-- if the table is surrounded by text then put the table into a draw:text-box -->
+                <xsl:element name="text:p">
+                    <xsl:element name="draw:text-box">
+                        <xsl:attribute name="draw:style-name"><xsl:text>TableFrame</xsl:text><xsl:number count="w:tblpPr" from="/w:wordDocument/w:body" level="any"/></xsl:attribute>
+                        <xsl:attribute name="draw:name">TableFr<xsl:number count="w:tblpPr" from="/w:wordDocument/w:body" level="any"/></xsl:attribute>
+                        <xsl:variable name="tbl_anchor_type">
+                            <xsl:choose>
+                                <xsl:when test="name(..) = 'w:tc' ">
+                                    <xsl:text>as-char</xsl:text>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <xsl:text>paragraph</xsl:text>
+                                </xsl:otherwise>
+                            </xsl:choose>
+                        </xsl:variable>
+                        <xsl:attribute name="text:anchor-type"><xsl:value-of select="$tbl_anchor_type"/></xsl:attribute>
+                        <xsl:variable name="tbl_draw_textbox_width">
+                            <xsl:call-template name="convert2in">
+                                <!--  adjust the width of draw:text-box containing a table with 20dxa + table-width -->
+                                <xsl:with-param name="value" select="concat(string(number(sum(w:tblGrid/w:gridCol/@w:w) +20)), 'dxa' )"/>
+                            </xsl:call-template>
+                        </xsl:variable>
+                        <xsl:attribute name="svg:width"><xsl:value-of select="concat ($tbl_draw_textbox_width, 'inch') "/></xsl:attribute>
+                        <xsl:if test="w:tblPr/w:tblpPr/@w:tblpX">
+                            <xsl:variable name="x_distance_from_anchor">
+                                <xsl:call-template name="convert2in">
+                                    <xsl:with-param name="value" select="concat(w:tblPr/w:tblpPr/@w:tblpX, 'dxa' ) "/>
+                                </xsl:call-template>
+                            </xsl:variable>
+                            <xsl:attribute name="svg:x"><xsl:value-of select="concat ($x_distance_from_anchor, 'inch' )"/></xsl:attribute>
+                        </xsl:if>
+                        <xsl:if test="w:tblPr/w:tblpPr/@w:tblpY">
+                            <xsl:variable name="y_distance_from_anchor">
+                                <xsl:call-template name="convert2in">
+                                    <xsl:with-param name="value" select="concat(w:tblPr/w:tblpPr/@w:tblpY, 'dxa' ) "/>
+                                </xsl:call-template>
+                            </xsl:variable>
+                            <xsl:attribute name="svg:y"><xsl:value-of select="concat ($y_distance_from_anchor, 'inch' )"/></xsl:attribute>
+                        </xsl:if>
+                        <!--create table in draw:text-box to produce table wrapping text effect-->
+                        <xsl:element name="table:table">
+                            <xsl:if test="w:tblPr">
+                                <xsl:attribute name="table:style-name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/></xsl:attribute>
+                            </xsl:if>
+                            <xsl:apply-templates select="w:tblGrid | w:tr"/>
+                        </xsl:element>
+                    </xsl:element>
+                    <!--draw:text-box end  -->
+                </xsl:element>
+                <!-- text:p end -->
+            </xsl:when>
+            <xsl:otherwise>
+                <!-- if the table is not surrounded by text then put the table into a draw:text-box -->
+                <xsl:element name="table:table">
+                    <xsl:if test="w:tblPr">
+                        <xsl:attribute name="table:style-name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/></xsl:attribute>
+                    </xsl:if>
+                    <xsl:apply-templates select="w:tblGrid | w:tr"/>
+                </xsl:element>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    <xsl:template match="w:tblGrid">
+        <xsl:apply-templates select="w:gridCol"/>
+    </xsl:template>
+    <xsl:template match="w:gridCol">
+        <xsl:element name="table:table-column">
+            <xsl:attribute name="table:style-name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/>.C<xsl:number count="w:gridCol" from="/w:wordDocument/w:body" level="single"/></xsl:attribute>
+        </xsl:element>
+    </xsl:template>
+    <xsl:template match="w:tr">
+        <xsl:element name="table:table-row">
+            <!-- generate row in table and add attribute of table:style-name if the style:style exists. cp tom chen. -->
+            <xsl:if test="w:trPr/w:trHeight">
+                <xsl:attribute name="table:style-name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/>.R<xsl:number count="w:tr" from="/w:wordDocument/w:body" level="single"/></xsl:attribute>
+            </xsl:if>
+            <xsl:apply-templates select="w:tc"/>
+        </xsl:element>
+    </xsl:template>
+    <xsl:template match="w:tc">
+        <xsl:element name="table:table-cell">
+            <xsl:attribute name="table:style-name">Table<xsl:number count="w:tbl" from="/w:wordDocument/w:body" level="any"/>.R<xsl:number count="w:tr" from="/w:wordDocument/w:body" level="single"/>C<xsl:number count="w:tc" from="/w:wordDocument/w:body" level="single"/></xsl:attribute>
+            <xsl:if test="w:tcPr/w:gridSpan">
+                <xsl:attribute name="table:number-columns-spanned"><xsl:value-of select="w:tcPr/w:gridSpan/@w:val"/></xsl:attribute>
+            </xsl:if>
+            <xsl:apply-templates select="w:p | w:tbl"/>
+        </xsl:element>
+    </xsl:template>
+<!-- End of OOo2.0 import/wordml/wordml2ooo_table.xsl stylesheet  -->
+<!-- Start of OOo2.0 import/wordml/wordml2ooo_text.xsl stylesheet  -->
+    <xsl:template name="create-default-paragraph-styles">
+        <xsl:variable name="default-paragraph-style" select="w:style[@w:default = 'on' and @w:type = 'paragraph']"/>
+        <xsl:if test="$default-paragraph-style">
+            <style:default-style style:family="paragraph">
+                <style:properties>
+                    <xsl:choose>
+                        <xsl:when test="/w:wordDocument/w:fonts/w:defaultFonts">
+                            <xsl:attribute name="style:font-name"><xsl:value-of select="/w:wordDocument/w:fonts/w:defaultFonts/@w:ascii"/></xsl:attribute>
+                            <xsl:attribute name="style:font-name-asian"><xsl:value-of select="/w:wordDocument/w:fonts/w:defaultFonts/@w:fareast"/></xsl:attribute>
+                            <xsl:attribute name="style:font-name-complex"><xsl:value-of select="/w:wordDocument/w:fonts/w:defaultFonts/@w:cs"/></xsl:attribute>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:attribute name="style:font-name">Times New Roman</xsl:attribute>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                    <xsl:if test="$default-paragraph-style/w:rPr/w:sz">
+                        <xsl:attribute name="fo:font-size"><xsl:value-of select="$default-paragraph-style/w:rPr/w:sz/@w:val div 2"/>pt</xsl:attribute>
+                        <xsl:attribute name="fo:font-size-asian"><xsl:value-of select="$default-paragraph-style/w:rPr/w:sz/@w:val div 2"/>pt</xsl:attribute>
+                    </xsl:if>
+                    <xsl:if test="$default-paragraph-style/w:rPr/w:sz-cs">
+                        <xsl:attribute name="fo:font-size-complex"><xsl:value-of select="$default-paragraph-style/w:rPr/w:sz-cs/@w:val div 2"/>pt</xsl:attribute>
+                    </xsl:if>
+                    <!-- if not defined default font size in Word, make it out as 10pt. glu -->
+                    <xsl:if test="not($default-paragraph-style/w:rPr/w:sz or w:rPr/w:sz-cs)">
+                        <xsl:attribute name="fo:font-size">10pt</xsl:attribute>
+                        <xsl:attribute name="fo:font-size-asian">10pt</xsl:attribute>
+                        <xsl:attribute name="fo:font-size-complex">10pt</xsl:attribute>
+                    </xsl:if>
+                    <xsl:if test="$default-paragraph-style/w:rPr/w:lang">
+                        <xsl:if test="$default-paragraph-style/w:rPr/w:lang/@w:val">
+                            <xsl:attribute name="fo:language"><xsl:value-of select="substring-before( $default-paragraph-style/w:rPr/w:lang/@w:val, '-')"/></xsl:attribute>
+                            <xsl:attribute name="fo:country"><xsl:value-of select="substring-after( $default-paragraph-style/w:rPr/w:lang/@w:val, '-')"/></xsl:attribute>
+                        </xsl:if>
+                        <xsl:if test="$default-paragraph-style/w:rPr/w:lang/@w:fareast">
+                            <xsl:attribute name="fo:language-asian"><xsl:value-of select="substring-before( $default-paragraph-style/w:rPr/w:lang/@w:fareast, '-')"/></xsl:attribute>
+                            <xsl:attribute name="fo:country-asian"><xsl:value-of select="substring-after( $default-paragraph-style/w:rPr/w:lang/@w:fareast, '-')"/></xsl:attribute>
+                        </xsl:if>
+                        <xsl:if test="$default-paragraph-style/w:rPr/w:lang/@w:bidi">
+                            <xsl:attribute name="fo:language-complex"><xsl:value-of select="substring-before( $default-paragraph-style/w:rPr/w:lang/@w:bidi, '-')"/></xsl:attribute>
+                            <xsl:attribute name="fo:country-complex"><xsl:value-of select="substring-after( $default-paragraph-style/w:rPr/w:lang/@w:bidi, '-')"/></xsl:attribute>
+                        </xsl:if>
+                    </xsl:if>
+                    <xsl:attribute name="style:tab-stop-distance"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(/w:wordDocument/w:docPr/w:defaultTabStop/@w:val,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                </style:properties>
+            </style:default-style>
+        </xsl:if>
+    </xsl:template>
+    <xsl:template name="create-default-text-styles">
+        <style:style style:name="Numbering Symbols" style:family="text"/>
+        <style:style style:name="Bullet Symbols" style:family="text">
+            <style:properties style:font-name="StarSymbol" fo:font-size="12pt" style:font-name-asian="StarSymbol" style:font-size-asian="12pt" style:font-name-complex="StarSymbol" style:font-size-complex="12pt"/>
+        </style:style>
+    </xsl:template>
+    <xsl:template match="w:p" mode="style">
+        <xsl:variable name="paragraph-number">
+            <xsl:number from="/w:wordDocument/w:body" level="any" count="w:p"/>
+        </xsl:variable>
+        <xsl:variable name="section-property-number" select="count(preceding::w:sectPr)"/>
+        <xsl:variable name="last-section-property" select="preceding::w:pPr/w:sectPr[1]"/>
+        <style:style style:family="paragraph" style:name="P{$paragraph-number}">
+            <xsl:if test="w:pPr/w:pStyle">
+                <xsl:attribute name="style:parent-style-name"><xsl:value-of select="w:pPr/w:pStyle/@w:val"/></xsl:attribute>
+            </xsl:if>
+            <xsl:choose>
+                <xsl:when test="generate-id($last-section-property[last()]/following::w:p[1]) = generate-id(.) and not(ancestor::w:sectPr)">
+                    <xsl:attribute name="style:master-page-name">Standard<xsl:value-of select="$section-property-number + 1"/></xsl:attribute>
+                </xsl:when>
+                <xsl:when test="$paragraph-number = 1">
+                    <xsl:attribute name="style:master-page-name">Standard1</xsl:attribute>
+                </xsl:when>
+            </xsl:choose>
+            <style:properties>
+                <xsl:apply-templates select="w:pPr"/>
+            </style:properties>
+        </style:style>
+        <xsl:if test="w:r/w:br/@w:type='page'">
+            <style:style style:family="paragraph" style:name="P{$paragraph-number}page-break">
+                <xsl:if test="w:pPr/w:pStyle">
+                    <xsl:attribute name="style:parent-style-name"><xsl:value-of select="w:pPr/w:pStyle/@w:val"/></xsl:attribute>
+                </xsl:if>
+                <xsl:choose>
+                    <xsl:when test="generate-id($last-section-property[last()]/following::w:p[1]) = generate-id(.) and not(ancestor::w:sectPr)">
+                        <xsl:attribute name="style:master-page-name">Standard<xsl:value-of select="$section-property-number + 1"/></xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$paragraph-number = 1">
+                        <xsl:attribute name="style:master-page-name">Standard1</xsl:attribute>
+                    </xsl:when>
+                </xsl:choose>
+                <style:properties fo:break-before="page">
+                    <xsl:apply-templates select="w:pPr"/>
+                </style:properties>
+            </style:style>
+        </xsl:if>
+        <xsl:if test="w:r/w:br/@w:type='column'">
+            <style:style style:family="paragraph" style:name="P{$paragraph-number}column-break">
+                <xsl:if test="w:pPr/w:pStyle">
+                    <xsl:attribute name="style:parent-style-name"><xsl:value-of select="w:pPr/w:pStyle/@w:val"/></xsl:attribute>
+                </xsl:if>
+                <xsl:choose>
+                    <xsl:when test="generate-id($last-section-property[last()]/following::w:p[1]) = generate-id(.) and not(ancestor::w:sectPr)">
+                        <xsl:attribute name="style:master-page-name">Standard<xsl:value-of select="$section-property-number + 1"/></xsl:attribute>
+                    </xsl:when>
+                    <xsl:when test="$paragraph-number = 1">
+                        <xsl:attribute name="style:master-page-name">Standard1</xsl:attribute>
+                    </xsl:when>
+                </xsl:choose>
+                <style:properties fo:break-before="column">
+                    <xsl:apply-templates select="w:pPr"/>
+                </style:properties>
+            </style:style>
+        </xsl:if>
+    </xsl:template>
+    <xsl:template match="w:pPr">
+        <xsl:if test="w:ind/@w:left">
+            <xsl:attribute name="fo:margin-left"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:ind/@w:left, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:ind/@w:right">
+            <xsl:attribute name="fo:margin-right"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:ind/@w:right, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:ind/@w:first-line">
+            <xsl:attribute name="fo:text-indent"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:ind/@w:first-line, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:ind/@w:hanging">
+            <xsl:attribute name="fo:text-indent"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat('-',w:ind/@w:hanging, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
+        </xsl:if>
+        <!-- bi-directional support-->
+        <xsl:if test="w:bidi">
+            <xsl:attribute name="style:writing-mode">rl-tb</xsl:attribute>
+            <xsl:attribute name="fo:text-align">end</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:jc">
+            <xsl:choose>
+                <xsl:when test="w:jc/@w:val = 'center'">
+                    <xsl:attribute name="fo:text-align">center</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:jc/@w:val = 'left'">
+                    <xsl:choose>
+                        <xsl:when test="w:bidi">
+                            <xsl:attribute name="fo:text-align">end</xsl:attribute>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:attribute name="fo:text-align">start</xsl:attribute>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                </xsl:when>
+                <xsl:when test="w:jc/@w:val = 'right'">
+                    <xsl:choose>
+                        <xsl:when test="w:bidi">
+                            <xsl:attribute name="fo:text-align">start</xsl:attribute>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:attribute name="fo:text-align">end</xsl:attribute>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:attribute name="fo:text-align">justify</xsl:attribute>
+                    <xsl:attribute name="style:justify-single-word">false</xsl:attribute>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:if>
+        <xsl:attribute name="style:auto-text-indent">false</xsl:attribute>
+        <xsl:if test="w:spacing">
+            <xsl:choose>
+                <xsl:when test="w:spacing/@w:line-rule = 'at-least'">
+                    <xsl:attribute name="style:line-height-at-least"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:spacing/@w:line, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:spacing/@w:line-rule = 'auto'">
+                    <xsl:attribute name="fo:line-height"><xsl:value-of select="round(w:spacing/@w:line div 240 * 100)"/>%</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:spacing/@w:line-rule = 'exact'">
+                    <xsl:attribute name="fo:line-height"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:spacing/@w:line, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                </xsl:when>
+            </xsl:choose>
+            <xsl:if test="w:spacing/@w:before">
+                <xsl:attribute name="fo:margin-top"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:spacing/@w:before, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
+            </xsl:if>
+            <xsl:if test="w:spacing/@w:after">
+                <xsl:attribute name="fo:margin-bottom"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:spacing/@w:after, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
+            </xsl:if>
+        </xsl:if>
+        <xsl:if test="w:shd">
+            <xsl:variable name="background-color">
+                <xsl:choose>
+                    <xsl:when test="string-length(w:shd/@w:fill) = 6">
+                        <xsl:value-of select="concat('#', w:shd/@w:fill)"/>
+                    </xsl:when>
+                    <xsl:otherwise>#000000</xsl:otherwise>
+                </xsl:choose>
+            </xsl:variable>
+            <xsl:choose>
+                <xsl:when test="w:shd/@w:val = 'solid'">
+                    <xsl:attribute name="fo:background-color"><xsl:value-of select="$background-color"/></xsl:attribute>
+                </xsl:when>
+                <!-- patterns are necessary in the future. glu -->
+                <xsl:otherwise/>
+            </xsl:choose>
+        </xsl:if>
+        <xsl:if test="w:pageBreakBefore">
+            <xsl:attribute name="fo:break-before">page</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:tabs">
+            <xsl:element name="style:tab-stops">
+                <xsl:for-each select="w:tabs/w:tab">
+                    <xsl:element name="style:tab-stop">
+                        <xsl:attribute name="style:position"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(@w:pos, 'dxa')"/></xsl:call-template>cm</xsl:attribute>
+                        <xsl:choose>
+                            <xsl:when test="@w:val = 'decimal'">
+                                <xsl:attribute name="style:type">char</xsl:attribute>
+                                <xsl:attribute name="style:char"/>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:attribute name="style:type"><xsl:value-of select="@w:val"/></xsl:attribute>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                        <xsl:if test="@w:leader">
+                            <xsl:attribute name="style:leader-char"><xsl:choose><xsl:when test="hyphen">-</xsl:when><xsl:when test="underscore">_</xsl:when><xsl:when test="dot">.</xsl:when></xsl:choose></xsl:attribute>
+                        </xsl:if>
+                        <xsl:if test="@style:leader-char">
+                            <xsl:choose>
+                                <xsl:when test="@style:leader-char='-'">
+                                    <xsl:attribute name="w:leader">hyphen</xsl:attribute>
+                                </xsl:when>
+                                <xsl:when test="@style:leader-char='_'">
+                                    <xsl:attribute name="w:leader">underscore</xsl:attribute>
+                                </xsl:when>
+                                <xsl:when test="@style:leader-char='.'">
+                                    <xsl:attribute name="w:leader">dot</xsl:attribute>
+                                </xsl:when>
+                                <xsl:when test="@style:leader-char='·'">
+                                    <xsl:attribute name="w:leader">middle-dot</xsl:attribute>
+                                </xsl:when>
+                            </xsl:choose>
+                        </xsl:if>
+                    </xsl:element>
+                </xsl:for-each>
+            </xsl:element>
+        </xsl:if>
+        <xsl:if test="w:keepNext">
+            <xsl:attribute name="fo:keep-with-next">true</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:keepLines">
+            <xsl:attribute name="style:break-inside">avoid</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:widowControl='on'">
+            <xsl:attribute name="fo:widows">2</xsl:attribute>
+            <xsl:attribute name="fo:orphans">2</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:suppressAutoHyphens">
+            <xsl:attribute name="fo:hyphenate">false</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:kinsoku/@w:val='off'">
+            <xsl:attribute name="style:line-break">normal</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:overflowPunct/@w:val='off'">
+            <xsl:attribute name="style:punctuation-wrap">simple</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:autoSpaceDE/@w:val='off' or w:autoSpaceDN/@w:val='off'">
+            <xsl:attribute name="style:text-autospace">none</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:textAlignment">
+            <xsl:choose>
+                <xsl:when test="w:textAlignment/@w:val='center'">
+                    <xsl:attribute name="style:vertical-align">middle</xsl:attribute>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:attribute name="style:vertical-align"><xsl:value-of select="w:textAlignment/@w:val"/></xsl:attribute>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:if>
+        <xsl:if test="w:pBdr">
+            <xsl:if test="w:pBdr/w:top">
+                <xsl:call-template name="get-table-border">
+                    <xsl:with-param name="style-pos" select="'top'"/>
+                    <xsl:with-param name="style-position-0" select="w:pBdr/w:top"/>
+                </xsl:call-template>
+                <xsl:attribute name="fo:padding-top"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pBdr/w:top/@w:space,'pt')"/></xsl:call-template>cm</xsl:attribute>
+            </xsl:if>
+            <xsl:if test="w:pBdr/w:left">
+                <xsl:call-template name="get-table-border">
+                    <xsl:with-param name="style-pos" select="'left'"/>
+                    <xsl:with-param name="style-position-0" select="w:pBdr/w:left"/>
+                </xsl:call-template>
+                <xsl:attribute name="fo:padding-left"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pBdr/w:left/@w:space,'pt')"/></xsl:call-template>cm</xsl:attribute>
+            </xsl:if>
+            <xsl:if test="w:pBdr/w:right">
+                <xsl:call-template name="get-table-border">
+                    <xsl:with-param name="style-pos" select="'right'"/>
+                    <xsl:with-param name="style-position-0" select="w:pBdr/w:right"/>
+                </xsl:call-template>
+                <xsl:attribute name="fo:padding-right"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pBdr/w:right/@w:space,'pt')"/></xsl:call-template>cm</xsl:attribute>
+            </xsl:if>
+            <xsl:if test="w:pBdr/w:bottom">
+                <xsl:call-template name="get-table-border">
+                    <xsl:with-param name="style-pos" select="'bottom'"/>
+                    <xsl:with-param name="style-position-0" select="w:pBdr/w:bottom"/>
+                </xsl:call-template>
+                <xsl:attribute name="fo:padding-bottom"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:pBdr/w:bottom/@w:space,'pt')"/></xsl:call-template>cm</xsl:attribute>
+            </xsl:if>
+            <xsl:if test="w:pBdr/*/@w:shadow='on'">
+                <xsl:attribute name="style:shadow">#000000 0.15cm 0.15cm</xsl:attribute>
+            </xsl:if>
+        </xsl:if>
+         <xsl:if test="w:snapToGrid/@w:val='off'">
+            <xsl:attribute name="style:snap-to-layout-grid">false</xsl:attribute>
+        </xsl:if>
+        <xsl:apply-templates select="w:rPr"/>
+    </xsl:template>
+    <xsl:template match="w:rPr" mode="style">
+        <xsl:element name="style:style">
+            <xsl:attribute name="style:name">T<xsl:number from="/w:wordDocument/w:body" level="any" count="w:rPr"/></xsl:attribute>
+            <xsl:attribute name="style:family">text</xsl:attribute>
+            <xsl:if test="w:rStyle">
+                <xsl:attribute name="style:parent-style-name"><xsl:value-of select="w:rStyle/@w:val"/></xsl:attribute>
+            </xsl:if>
+            <xsl:element name="style:properties">
+                <xsl:apply-templates select="current()"/>
+            </xsl:element>
+        </xsl:element>
+    </xsl:template>
+    <xsl:template match="w:rPr">
+        <xsl:if test="w:rFonts">
+            <xsl:if test="w:rFonts/@w:ascii">
+                <xsl:attribute name="style:font-name"><xsl:value-of select="w:rFonts/@w:ascii"/></xsl:attribute>
+                <xsl:if test="ancestor::w:body">
+                    <xsl:attribute name="style:font-name-asian"><xsl:value-of select="w:rFonts/@w:ascii"/></xsl:attribute>
+                    <xsl:attribute name="style:font-name-complex"><xsl:value-of select="w:rFonts/@w:ascii"/></xsl:attribute>
+                </xsl:if>
+            </xsl:if>
+            <xsl:if test="ancestor::w:styles">
+                <xsl:if test="w:rFonts/@w:fareast">
+                    <xsl:attribute name="style:font-name-asian"><xsl:value-of select="w:rFonts/@w:fareast"/></xsl:attribute>
+                </xsl:if>
+                <xsl:if test="w:rFonts/@w:cs">
+                    <xsl:attribute name="style:font-name-complex"><xsl:value-of select="w:rFonts/@w:cs"/></xsl:attribute>
+                </xsl:if>
+            </xsl:if>
+        </xsl:if>
+        <xsl:if test="w:b">
+            <xsl:attribute name="fo:font-weight">bold</xsl:attribute>
+            <xsl:attribute name="fo:font-weight-asian">bold</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:b-cs">
+            <xsl:attribute name="fo:font-weight-complex">bold</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:i">
+            <xsl:attribute name="fo:font-style">italic</xsl:attribute>
+            <xsl:attribute name="fo:font-style-asian">italic</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:i-cs">
+            <xsl:attribute name="fo:font-style-complex">italic</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:caps">
+            <xsl:attribute name="fo:text-transform">uppercase</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:smallCaps">
+            <xsl:attribute name="fo:font-variant">small-caps</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:strike">
+            <xsl:attribute name="style:text-crossing-out">single-line</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:dstrike">
+            <xsl:attribute name="style:text-crossing-out">double-line</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:outline">
+            <xsl:attribute name="style:text-outline">true</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:shadow">
+            <xsl:attribute name="style:text-shadow">1pt 1pt</xsl:attribute>
+            <xsl:attribute name="fo:text-shadow">1pt 1pt</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:imprint">
+            <xsl:attribute name="style:font-relief">engraved</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:emboss">
+            <xsl:attribute name="style:font-relief">embossed</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:vanish">
+            <xsl:attribute name="text:display">true</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:color[not(@w:val = 'auto')]">
+            <xsl:attribute name="fo:color">#<xsl:value-of select="w:color/@w:val"/></xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:spacing">
+            <xsl:attribute name="fo:letter-spacing"><xsl:call-template name="convert2cm"><xsl:with-param name="value" select="concat(w:spacing/@w:val,'dxa')"/></xsl:call-template>cm</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:w/@w:val">
+            <xsl:attribute name="style:text-scale"><xsl:value-of select="w:w/@w:val"/></xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:vertAlign or w:position">
+            <xsl:variable name="height">
+                <xsl:choose>
+                    <xsl:when test="w:vertAlign[@w:val = 'superscript' or @w:val = 'subscript']">58%</xsl:when>
+                    <xsl:otherwise>100%</xsl:otherwise>
+                </xsl:choose>
+            </xsl:variable>
+            <xsl:variable name="position">
+                <xsl:choose>
+                    <xsl:when test="w:position">
+                        <!-- con't get font height easily, so just set w:val as percentage. glu -->
+                        <xsl:value-of select="concat( w:position/@w:val, '%')"/>
+                    </xsl:when>
+                    <xsl:when test="w:vertAlign[@w:val = 'superscript']">super</xsl:when>
+                    <xsl:when test="w:vertAlign[@w:val = 'subscript']">sub</xsl:when>
+                </xsl:choose>
+            </xsl:variable>
+            <xsl:attribute name="style:text-position"><xsl:value-of select="concat($position, ' ', $height)"/></xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:sz">
+            <xsl:attribute name="fo:font-size"><xsl:value-of select="w:sz/@w:val div 2"/>pt</xsl:attribute>
+            <xsl:attribute name="fo:font-size-asian"><xsl:value-of select="w:sz/@w:val div 2"/>pt</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:sz-cs">
+            <xsl:attribute name="fo:font-size-complex"><xsl:value-of select="w:sz-cs/@w:val div 2"/>pt</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:highlight">
+            <xsl:choose>
+                <xsl:when test="w:highlight/@w:val='black'">
+                    <xsl:attribute name="style:text-background-color">#000000</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:highlight/@w:val='yellow'">
+                    <xsl:attribute name="style:text-background-color">#ffff00</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:highlight/@w:val='green'">
+                    <xsl:attribute name="style:text-background-color">#00ff00</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:highlight/@w:val='cyan'">
+                    <xsl:attribute name="style:text-background-color">#00ffff</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:highlight/@w:val='magenta'">
+                    <xsl:attribute name="style:text-background-color">#ff00ff</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:highlight/@w:val='blue'">
+                    <xsl:attribute name="style:text-background-color">#0000ff</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:highlight/@w:val='red'">
+                    <xsl:attribute name="style:text-background-color">#ff0000</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:highlight/@w:val='dark-blue'">
+                    <xsl:attribute name="style:text-background-color">#000080</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:highlight/@w:val='dark-cyan'">
+                    <xsl:attribute name="style:text-background-color">#008080</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:highlight/@w:val='dark-green'">
+                    <xsl:attribute name="style:text-background-color">#008000</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:highlight/@w:val='dark-magenta'">
+                    <xsl:attribute name="style:text-background-color">#800080</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:highlight/@w:val='dark-red'">
+                    <xsl:attribute name="style:text-background-color">#800000</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:highlight/@w:val='dark-yellow'">
+                    <xsl:attribute name="style:text-background-color">#808000</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:highlight/@w:val='dark-gray'">
+                    <xsl:attribute name="style:text-background-color">#808080</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:highlight/@w:val='light-gray'">
+                    <xsl:attribute name="style:text-background-color">#c0c0c0</xsl:attribute>
+                </xsl:when>
+            </xsl:choose>
+        </xsl:if>
+        <xsl:if test="w:u">
+            <xsl:choose>
+                <xsl:when test="w:u/@w:val = 'words'">
+                    <xsl:attribute name="style:text-underline">single</xsl:attribute>
+                    <xsl:attribute name="fo:score-spaces">false</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:u/@w:val = 'thick'">
+                    <xsl:attribute name="style:text-underline">bold</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:u/@w:val = 'dotted-heavy'">
+                    <xsl:attribute name="style:text-underline">bold-dotted</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:u/@w:val = 'dashed-heavy'">
+                    <xsl:attribute name="style:text-underline">bold-dash</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:u/@w:val = 'dash-long'">
+                    <xsl:attribute name="style:text-underline">long-dash</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:u/@w:val = 'dash-long-heavy'">
+                    <xsl:attribute name="style:text-underline">bold-long-dash</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:u/@w:val = 'dash-dot-heavy'">
+                    <xsl:attribute name="style:text-underline">bold-dot-dash</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:u/@w:val = 'dash-dot-dot-heavy'">
+                    <xsl:attribute name="style:text-underline">bold-dot-dot-dash</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:u/@w:val = 'wavy-heavy'">
+                    <xsl:attribute name="style:text-underline">bold-wave</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:u/@w:val = 'wavy-double'">
+                    <xsl:attribute name="style:text-underline">double-wave</xsl:attribute>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:attribute name="style:text-underline"><xsl:value-of select="w:u/@w:val"/></xsl:attribute>
+                </xsl:otherwise>
+            </xsl:choose>
+            <xsl:if test="w:u/@w:color and not(w:u/@w:color = 'auto')">
+                <xsl:attribute name="style:text-underline-color">#<xsl:value-of select="w:u/@w:color"/></xsl:attribute>
+            </xsl:if>
+        </xsl:if>
+        <xsl:if test="w:effect[@w:val = 'blink-background']">
+            <xsl:attribute name="style:text-blinking">true</xsl:attribute>
+            <xsl:attribute name="style:text-background-color">#000000</xsl:attribute>
+        </xsl:if>
+        <xsl:if test="w:shd and not(w:highlight)">
+            <xsl:if test="string-length(w:shd/@w:fill) = 6">
+                <xsl:attribute name="style:text-background-color">#<xsl:value-of select="w:shd/@w:fill"/></xsl:attribute>
+            </xsl:if>
+        </xsl:if>
+        <xsl:if test="w:em">
+            <xsl:choose>
+                <xsl:when test="w:em/@w:val = 'comma'">
+                    <xsl:attribute name="style:text-emphasize">accent below</xsl:attribute>
+                </xsl:when>
+                <xsl:when test="w:em/@w:val = 'under-dot'">
+                    <xsl:attribute name="style:text-emphasize">disc below</xsl:attribute>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:attribute name="style:text-emphasize"><xsl:value-of select="concat( w:em/@w:val, ' below')"/></xsl:attribute>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:if>
+        <xsl:if test="w:lang">
+            <xsl:if test="w:lang/@w:val">
+                <xsl:attribute name="fo:language"><xsl:value-of select="substring-before( w:lang/@w:val, '-')"/></xsl:attribute>
+                <xsl:attribute name="fo:country"><xsl:value-of select="substring-after( w:lang/@w:val, '-')"/></xsl:attribute>
+            </xsl:if>
+            <xsl:if test="w:lang/@w:fareast">
+                <xsl:attribute name="fo:language-asian"><xsl:value-of select="substring-before( w:lang/@w:fareast, '-')"/></xsl:attribute>
+                <xsl:attribute name="fo:country-asian"><xsl:value-of select="substring-after( w:lang/@w:fareast, '-')"/></xsl:attribute>
+            </xsl:if>
+            <xsl:if test="w:lang/@w:bidi">
+                <xsl:attribute name="fo:language-complex"><xsl:value-of select="substring-before( w:lang/@w:bidi, '-')"/></xsl:attribute>
+                <xsl:attribute name="fo:country-complex"><xsl:value-of select="substring-after( w:lang/@w:bidi, '-')"/></xsl:attribute>
+            </xsl:if>
+        </xsl:if>
+    </xsl:template>
+    <xsl:template match="w:p">
+        <xsl:choose>
+            <!-- because word treats page breaks as separate tags, we must split some paragraphs up so that we can 
+			give the sub para a fo:break-before ="page" or column attribute. -->
+            <xsl:when test="w:r[w:br/@w:type='page' or w:br/@w:type='column']">
+                <xsl:call-template name="process-breaks-in-paragraph"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:call-template name="process-common-paragraph"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    <xsl:template name="process-breaks-in-paragraph">
+        <xsl:variable name="textruns-with-break" select="w:r[w:br/@w:type='page' or w:br/@w:type='column']"/>
+        <xsl:call-template name="create-sub-paragraph">
+            <xsl:with-param name="textruns" select="$textruns-with-break[1]/preceding-sibling::w:r"/>
+        </xsl:call-template>
+        <xsl:for-each select="$textruns-with-break">
+            <xsl:variable name="break-position" select="position()"/>
+            <xsl:call-template name="create-sub-paragraph">
+                <xsl:with-param name="textruns" select="following-sibling::w:r[not(w:br/@w:type='page' or w:br/@w:type='column') and (count(preceding::w:r[w:br/@w:type='page' or w:br/@w:type='column']) = $break-position)]"/>
+                <xsl:with-param name="textruns-with-break" select="current()"/>
+            </xsl:call-template>
+        </xsl:for-each>
+    </xsl:template>
+    <xsl:template name="create-sub-paragraph">
+        <xsl:param name="textruns"/>
+        <xsl:param name="textruns-with-break"/>
+        <xsl:if test="$textruns or $textruns-with-break">
+            <xsl:variable name="curr-num">
+                <xsl:number from="/w:wordDocument/w:body" level="any" count="w:p"/>
+            </xsl:variable>
+            <text:p>
+                <xsl:choose>
+                    <xsl:when test="$textruns-with-break">
+                        <xsl:attribute name="text:style-name"><xsl:value-of select="concat('P',$curr-num,w:br/@w:type, '-break')"/></xsl:attribute>
+                        <xsl:apply-templates select="$textruns-with-break"/>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="text:style-name"><xsl:value-of select="concat( 'P', $curr-num)"/></xsl:attribute>
+                    </xsl:otherwise>
+                </xsl:choose>
+                <xsl:if test="$textruns">
+                    <xsl:apply-templates select="$textruns"/>
+                </xsl:if>
+            </text:p>
+        </xsl:if>
+    </xsl:template>
+    <xsl:template name="process-common-paragraph">
+        <xsl:variable name="heading-or-paragraph">
+            <xsl:choose>
+                <xsl:when test="key('heading-style', w:pPr/w:pStyle/@w:val)">text:h</xsl:when>
+                <xsl:otherwise>text:p</xsl:otherwise>
+            </xsl:choose>
+        </xsl:variable>
+        <xsl:element name="{$heading-or-paragraph}">
+            <xsl:if test="$heading-or-paragraph = 'text:h'">
+                <xsl:attribute name="text:level"><xsl:value-of select="key('heading-style',w:pPr/w:pStyle/@w:val)/w:pPr/w:outlineLvl/@w:val + 1"/></xsl:attribute>
+            </xsl:if>
+            <xsl:variable name="curr-num">
+                <xsl:number from="/w:wordDocument/w:body" level="any" count="w:p"/>
+            </xsl:variable>
+            <xsl:attribute name="text:style-name"><xsl:value-of select="concat( 'P', $curr-num)"/></xsl:attribute>
+            <!-- call the template to generate bookmark-start matching nodes before current. cp tom chen. -->
+            <xsl:variable name="bm-node" select="preceding::aml:annotation[@w:type = 'Word.Bookmark.Start']"/>
+            <xsl:variable name="wp-node" select="preceding::w:p[1]"/>
+            <xsl:call-template name="start-end-bookmark">
+                <xsl:with-param name="type" select="'start'"/>
+                <xsl:with-param name="bm-node" select="$bm-node"/>
+                <xsl:with-param name="wp-node" select="$wp-node"/>
+            </xsl:call-template>
+            <xsl:apply-templates select=".//w:r | w:fldSimple | w:hlink"/>
+            <xsl:variable name="bm-node2" select="following::aml:annotation[@w:type = 'Word.Bookmark.End']"/>
+            <xsl:variable name="wp-node2" select="following::w:p[position() = 1]"/>
+            <xsl:call-template name="start-end-bookmark">
+                <xsl:with-param name="type" select="'end'"/>
+                <xsl:with-param name="bm-node" select="$bm-node2"/>
+                <xsl:with-param name="wp-node" select="$wp-node2"/>
+            </xsl:call-template>
+        </xsl:element>
+    </xsl:template>
+    <!-- WordML contains multiple w:t within one w:r, so in Star Writer text:span should correspond to w:t glu -->
+    <xsl:template match="w:r">
+        <!-- handling another type of Hyperlink address in w:body.cp tom chen. 
+            Acutally they're from Field features, a complex one. glu 
+            <xsl:when test="w:r/w:instrText and contains(w:r/w:instrText , 'HYPERLINK')">
+                <xsl:variable name="hyper-str" select="normalize-space(w:r/w:instrText)"/>
+                <xsl:variable name="hyper-dest" select="substring-before( substring($hyper-str, 12), '&quot;')"/>
+                <xsl:variable name="hyper-bookmark">
+                    <xsl:choose>
+                        <xsl:when test="contains( $hyper-str, ' \l ')">
+                            <xsl:value-of select="concat( '#', substring-before( substring-after( substring-after( $hyper-str, ' \l '), '&quot;'), '&quot;') )"/>
+                        </xsl:when>
+                        <xsl:otherwise/>
+                    </xsl:choose>
+                </xsl:variable>
+                <text:p>
+                    <text:a>
+                        <xsl:attribute name="xlink:type">simple</xsl:attribute>
+                        <xsl:attribute name="xlink:href"><xsl:value-of select="concat( $hyper-dest, $hyper-bookmark)"/></xsl:attribute>
+                        <xsl:apply-templates/>
+                    </text:a>
+                </text:p>
+            </xsl:when>
+            -->
+        <xsl:if test="w:br[@w:type='text-wrapping' or not(@w:type)]">
+            <text:line-break/>
+        </xsl:if>
+        <xsl:choose>
+            <xsl:when test="aml:annotation/@w:type = 'Word.Comment'">
+                <office:annotation office:author="{aml:annotation/@aml:author}" office:create-date="{substring(aml:annotation/@aml:createdate,1,10)}" office:display="true">
+                    <xsl:apply-templates/>
+                </office:annotation>
+            </xsl:when>
+            <xsl:when test="(preceding-sibling::w:r) or (w:rPr)">
+                <xsl:element name="text:span">
+                    <xsl:choose>
+                        <xsl:when test="w:rPr/w:rStyle">
+                            <xsl:attribute name="text:style-name"><xsl:value-of select="w:rPr/w:rStyle/@w:val"/></xsl:attribute>
+                        </xsl:when>
+                        <xsl:when test="w:rPr">
+                            <xsl:variable name="position">
+                                <xsl:number from="/w:wordDocument/w:body" level="any" count="w:rPr"/>
+                            </xsl:variable>
+                            <xsl:attribute name="text:style-name">T<xsl:value-of select="$position + 1"/></xsl:attribute>
+                        </xsl:when>
+                    </xsl:choose>
+                    <xsl:apply-templates/>
+                </xsl:element>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:apply-templates/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    <!-- strange enough, WordML allows bookmarks out of w:p, but this isn't supported by StarWriter. To be patched. :( glu -->
+    <xsl:template match="aml:annotation[@w:type = 'Word.Bookmark.Start']">
+        <xsl:variable name="id" select="@aml:id"/>
+        <text:bookmark-start text:name="{@w:name}"/>
+    </xsl:template>
+    <xsl:template match="aml:annotation[@w:type = 'Word.Bookmark.End']">
+        <xsl:variable name="id" select="@aml:id"/>
+        <text:bookmark-end text:name="{preceding::aml:annotation[@aml:id = $id]/@w:name}"/>
+    </xsl:template>
+    <xsl:template match="w:hlink">
+        <xsl:element name="text:a">
+            <xsl:attribute name="xlink:type">simple</xsl:attribute>
+            <xsl:choose>
+                <xsl:when test="@w:dest and @w:bookmark">
+                    <xsl:attribute name="xlink:href"><xsl:value-of select="concat( @w:dest, concat('#', @w:bookmark) )"/></xsl:attribute>
+                </xsl:when>
+                <xsl:when test="@w:dest">
+                    <xsl:attribute name="xlink:href"><xsl:value-of select="@w:dest"/></xsl:attribute>
+                </xsl:when>
+                <xsl:when test="@w:bookmark">
+                    <xsl:attribute name="xlink:href"><xsl:value-of select="concat('#', @w:bookmark)"/></xsl:attribute>
+                </xsl:when>
+            </xsl:choose>
+            <xsl:if test="@w:target">
+                <xsl:attribute name="office:target-frame-name"><xsl:value-of select="@w:target"/></xsl:attribute>
+            </xsl:if>
+            <xsl:apply-templates/>
+        </xsl:element>
+    </xsl:template>
+    <xsl:template name="start-end-bookmark">
+        <!--?? generate bookmark before/after the tag w:p by recursion untill another type of aml:annotation. type: start/end. cp tom chen. -->
+        <xsl:param name="type"/>
+        <xsl:param name="bm-node"/>
+        <xsl:param name="wp-node"/>
+        <xsl:for-each select="$bm-node">
+            <xsl:variable name="curr" select="."/>
+            <xsl:for-each select="$wp-node[1]">
+                <xsl:if test="not(preceding::aml:annotation/@aml:id = $curr/@aml:id) and not(./aml:annotation[@aml:id = $curr/@aml:id]) and ($type = 'start')">
+                    <text:bookmark-start text:name="{$bm-node[@aml:id = $curr/@aml:id]/@w:name}"/>
+                </xsl:if>
+                <xsl:if test="not(following::aml:annotation/@aml:id = $curr/@aml:id) and not(./aml:annotation[@aml:id = $curr/@aml:id]) and ($type = 'end')">
+                    <text:bookmark-end text:name="{preceding::aml:annotation[@aml:id = $curr/@aml:id]/@w:name}"/>
+                </xsl:if>
+            </xsl:for-each>
+        </xsl:for-each>
+    </xsl:template>
+    <xsl:template match="w:t">
+        <xsl:choose>
+            <xsl:when test="string(.) = ' ' ">
+                <xsl:element name="text:s"/>
+            </xsl:when>
+            <xsl:when test="contains(.,'  ')">
+                <xsl:call-template name="replace-spaces">
+                    <xsl:with-param name="curr-string" select="."/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:apply-templates/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    <xsl:template name="replace-spaces">
+        <xsl:param name="curr-string"/>
+        <xsl:if test="contains($curr-string,'  ')">
+            <xsl:value-of select="substring-before($curr-string,'  ')"/>
+            <text:s text:c="2"/>
+            <xsl:variable name="next-string" select="substring-after($curr-string,'  ')"/>
+            <xsl:choose>
+                <xsl:when test="contains($next-string, '  ')">
+                    <xsl:call-template name="replace-spaces">
+                        <xsl:with-param name="curr-string" select="$next-string"/>
+                    </xsl:call-template>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:value-of select="$next-string"/>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:if>
+    </xsl:template>
+    <xsl:template match="w:tab">
+        <xsl:element name="text:tab-stop"/>
+    </xsl:template>
+    <xsl:template match="w:instrText"/>
+    <xsl:template match="w:fldChar"/>
+<!-- End of OOo2.0 import/wordml/wordml2ooo_text.xsl stylesheet  -->
+<!-- Start of OOo2.0 import/common/ms2ooo_docpr.xsl stylesheet  -->
+    <xsl:template match="o:DocumentProperties">
+        <office:meta>
+            <meta:generator>Microsoft Word 2003</meta:generator>
+            <dc:title>
+                <xsl:value-of select="o:Title"/>
+            </dc:title>
+            <dc:description>
+                <xsl:value-of select="o:Description"/>
+            </dc:description>
+            <dc:subject>
+                <xsl:value-of select="o:Subject"/>
+            </dc:subject>
+            <meta:initial-creator>
+                <xsl:value-of select="o:Author"/>
+            </meta:initial-creator>
+            <meta:creation-date>
+                <xsl:value-of select="substring-before( o:Created, 'Z')"/>
+            </meta:creation-date>
+            <dc:creator>
+                <xsl:value-of select="o:LastAuthor"/>
+            </dc:creator>
+            <dc:date>
+                <xsl:value-of select="substring-before( o:LastSaved, 'Z')"/>
+            </dc:date>
+            <meta:printed-by/>
+            <meta:print-date>
+                <xsl:value-of select="substring-before( o:LastPrinted, 'Z')"/>
+            </meta:print-date>
+            <meta:keywords>
+                <meta:keyword>
+                    <xsl:value-of select="o:Keywords"/>
+                </meta:keyword>
+            </meta:keywords>
+            <dc:language/>
+            <meta:editing-cycles>
+                <xsl:value-of select="o:Revision"/>
+            </meta:editing-cycles>
+            <meta:editing-duration>
+                <xsl:if test="o:TotalTime">
+                    <xsl:value-of select="concat('PT', floor(o:TotalTime div 60), 'H', o:TotalTime mod 60, 'M0S')"/>
+                </xsl:if>
+            </meta:editing-duration>
+            <meta:user-defined meta:name="Category">
+                <xsl:value-of select="o:Category"/>
+            </meta:user-defined>
+            <meta:user-defined meta:name="Manager">
+                <xsl:value-of select="o:Manager"/>
+            </meta:user-defined>
+            <meta:user-defined meta:name="Company">
+                <xsl:value-of select="o:Company"/>
+            </meta:user-defined>
+            <meta:user-defined meta:name="Version">
+                <xsl:value-of select="o:Version"/>
+            </meta:user-defined>
+            <meta:user-defined meta:name="HyperlinkBase">
+                <xsl:value-of select="o:HyperlinkBase"/>
+            </meta:user-defined>
+            <xsl:apply-templates select="../o:CustomDocumentProperties"/>
+            <meta:document-statistic meta:page-count="{o:Pages}" meta:paragraph-count="{o:Paragraphs}" meta:word-count="{o:Words}" meta:character-count="{o:Characters}"/>
+        </office:meta>
+    </xsl:template>
+    <xsl:template match="o:CustomDocumentProperties">
+        <xsl:for-each select="node()[@dt:dt]">
+            <meta:user-defined meta:name="{local-name()}">
+                <xsl:value-of select="."/>
+            </meta:user-defined>
+        </xsl:for-each>
+    </xsl:template>
+<!-- End of OOo2.0 import/common/ms2ooo_docpr.xsl stylesheet  -->
+<!-- Start of OOo2.0 common/measure_conversion.xsl stylesheet  -->
+    <!-- DPI (dots per inch) the standard resolution of given pictures (necessary for the conversion of 'cm' into 'pixel')
+         Although many pictures have a 96 dpi resolution, a higher resoltion give better results for common browsers -->
+    <xsl:param name="dpi" select="111"/>
+    <xsl:param name="centimeter-in-mm" select="10"/>
+    <xsl:param name="inch-in-mm" select="25.4"/>
+    <xsl:param name="didot-point-in-mm" select="0.376065"/>
+    <xsl:param name="pica-in-mm" select="4.2333333"/>
+    <xsl:param name="point-in-mm" select="0.3527778"/>
+    <xsl:param name="twip-in-mm" select="0.017636684"/>
+    <xsl:param name="pixel-in-mm" select="$inch-in-mm div $dpi"/>
+    <!-- ***** MEASUREMENT CONVERSIONS *****
+      PARAM 'value'
+        The measure to be converted.
+        The current measure is judged by a substring (e.g. 'mm', 'cm', 'in', 'pica'...)
+        directly added to the number.
+
+      PARAM 'rounding-factor'
+        Is used for the rounding of decimal places.
+        The parameter number is the product of 1 and some '10', where
+        every zero represents a decimal place.
+
+        For example, providing as parameter:
+            <xsl:param name="rounding-factor" select="10000" />
+        Gives by default four decimal places.
+
+        To round two decimal places, basically the following is done:
+            <xsl:value-of select="round(100 * value) div 100"/>
+
+      RETURN    The converted number, by default rounded to four decimal places.
+                In case the input measure could not be matched the same value is
+                returned and a warning message is written out.
+
+
+
+     MEASURE LIST:
+     * 1 milimeter (mm), the basic measure
+
+     * 1 centimeter (cm) = 10 mm
+
+     * 1 inch (in) = 25.4 mm
+        While the English have already seen the light (read: the metric system), the US
+        remains loyal to this medieval system.
+
+     * 1 point (pt) = 0.35277777.. mm
+        Sometimes called PostScript point (ppt), as when Adobe created PostScript, they added their own system of points.
+        There are exactly 72 PostScript points in 1 inch.
+
+     * 1 twip = twentieth of a (PostScript) point
+        A twip (twentieth of a point) is a 1/20th of a PostScript point, a traditional measure in printing.
+
+     * 1 didot point (dpt) = 0.376065 mm
+        Didot point after the French typographer Firmin Didot (1764-1836).
+
+        More details under
+        http://www.unc.edu/~rowlett/units/dictP.html:
+        "A unit of length used by typographers and printers. When printing was done
+        from hand-set metal type, one point represented the smallest element of type
+        that could be handled, roughly 1/64 inch. Eventually, the point was standardized
+        in Britain and America as exactly 1/72.27 = 0.013 837 inch, which is
+        about 0.35 mm (351.46 micrometers). In continental Europe, typographers
+        traditionally used a slightly larger point of 0.014 83 inch (about
+        1/72 pouce, 0.377 mm, or roughly 1/67 English inch), called a Didot point
+        after the French typographer Firmin Didot (1764-1836). In the U.S.,
+        Adobe software defines the point to be exactly 1/72 inch (0.013 888 9 inch
+        or 0.352 777 8 millimeters) and TeX software uses a slightly smaller point
+        of 0.351 459 8035 mm. The German standards agency DIN has proposed that
+        all these units be replaced by multiples of 0.25 millimeters (1/101.6 inch).
+
+     * 1 pica = 4.233333 mm
+        1/6 inch or 12 points
+
+     * 1 pixel (px) = 0.26458333.. mm   (relative to 'DPI', here: 96 dpi)
+        Most pictures have the 96 dpi resolution, but the dpi variable may vary by stylesheet parameter
+
+
+    -->
+    <!-- changing measure to mm -->
+    <xsl:template name="convert2mm">
+        <xsl:param name="value"/>
+        <xsl:param name="rounding-factor" select="10000"/>
+        <xsl:choose>
+            <xsl:when test="contains($value, 'mm')">
+                <xsl:value-of select="substring-before($value, 'mm')"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'cm')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'cm' ) * $centimeter-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'in')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'in' ) * $inch-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pt')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pt') * $point-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'twip')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'twip') * $twip-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dxa')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dxa') * $twip-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+
+            <xsl:when test="contains($value, 'dpt')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dpt') * $didot-point-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pica')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pica') * $pica-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'px')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'px') * $pixel-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'mm'!</xsl:message>
+                <xsl:value-of select="$value"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    <!-- changing measure to cm -->
+    <xsl:template name="convert2cm">
+        <xsl:param name="value"/>
+        <xsl:param name="rounding-factor" select="10000"/>
+        <xsl:choose>
+            <xsl:when test="contains($value, 'mm')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'mm') div $centimeter-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'cm')">
+                <xsl:value-of select="substring-before($value, 'cm')"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'in')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'in') div $centimeter-in-mm * $inch-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pt')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pt') div $centimeter-in-mm * $point-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dpt')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dpt') div $centimeter-in-mm * $didot-point-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pica')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pica') div $centimeter-in-mm * $pica-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'twip')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'twip') div $centimeter-in-mm * $twip-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+             <xsl:when test="contains($value, 'dxa')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dxa') div $centimeter-in-mm * $twip-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+
+            <xsl:when test="contains($value, 'px')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'px') div $centimeter-in-mm * $pixel-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'cm'!</xsl:message>
+                <xsl:value-of select="$value"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    <!-- changing measure to inch (cp. section comment) -->
+    <xsl:template name="convert2in">
+        <xsl:param name="value"/>
+        <xsl:param name="rounding-factor" select="10000"/>
+        <xsl:choose>
+            <xsl:when test="contains($value, 'mm')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'mm') div $inch-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'cm')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'cm') div $inch-in-mm * $centimeter-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'in')">
+                <xsl:value-of select="substring-before($value, 'in')"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pt')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pt') div $inch-in-mm * $point-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dpt')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dpt') div $inch-in-mm * $didot-point-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pica')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pica') div $inch-in-mm * $pica-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'twip')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'twip') div $inch-in-mm * $twip-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+             <xsl:when test="contains($value, 'dxa')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dxa') div $inch-in-mm * $twip-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+
+            <xsl:when test="contains($value, 'px')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'px') div $inch-in-mm * $pixel-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'in'!</xsl:message>
+                <xsl:value-of select="$value"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    <!-- changing measure to dpt (cp. section comment) -->
+    <xsl:template name="convert2dpt">
+        <xsl:param name="value"/>
+        <xsl:param name="rounding-factor" select="10000"/>
+        <xsl:choose>
+            <xsl:when test="contains($value, 'mm')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'mm') div $didot-point-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'cm')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'cm') div $didot-point-in-mm * $centimeter-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'in')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'in') div $didot-point-in-mm * $inch-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pt')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pt') div $didot-point-in-mm * $point-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dpt')">
+                <xsl:value-of select="substring-before($value, 'dpt')"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pica')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pica') div $didot-point-in-mm * $pica-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'twip')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'twip') div $didot-point-in-mm * $twip-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+             <xsl:when test="contains($value, 'dxa')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dxa') div $didot-point-in-mm * $twip-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+
+            <xsl:when test="contains($value, 'px')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'px') div $didot-point-in-mm * $pixel-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'dpt'!</xsl:message>
+                <xsl:value-of select="$value"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    <!-- changing measure to pica (cp. section comment) -->
+    <xsl:template name="convert2pica">
+        <xsl:param name="value"/>
+        <xsl:param name="rounding-factor" select="10000"/>
+        <xsl:choose>
+            <xsl:when test="contains($value, 'mm')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'mm') div $pica-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'cm')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'cm') div $pica-in-mm * $centimeter-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'in')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'in') div $pica-in-mm * $inch-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pt')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pt') div $pica-in-mm * $point-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dpt')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dpt') div $pica-in-mm * $didot-point-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pica')">
+                <xsl:value-of select="substring-before($value, 'pica')"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'twip')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'twip') div $pica-in-mm * $twip-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+             <xsl:when test="contains($value, 'dxa')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dxa') div $pica-in-mm * $twip-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+
+            <xsl:when test="contains($value, 'px')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'px') div $pica-in-mm * $pixel-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'pica'!</xsl:message>
+                <xsl:value-of select="$value"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    <!-- changing measure to pt (cp. section comment) -->
+    <xsl:template name="convert2pt">
+        <xsl:param name="value"/>
+        <xsl:param name="rounding-factor" select="10000"/>
+        <xsl:choose>
+            <xsl:when test="contains($value, 'mm')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'mm') div $point-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'cm')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'cm') div $point-in-mm * $centimeter-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'in')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'in') div $point-in-mm * $inch-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pt')">
+                <xsl:value-of select="substring-before($value, 'pt')"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dpt')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dpt') div $point-in-mm * $didot-point-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pica')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pica') div $point-in-mm * $pica-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'twip')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'twip') div $point-in-mm * $twip-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+             <xsl:when test="contains($value, 'dxa')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dxa') div $point-in-mm * $twip-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+
+            <xsl:when test="contains($value, 'px')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'px') div $point-in-mm * $pixel-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'pt'!</xsl:message>
+                <xsl:value-of select="$value"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    <!-- changing measure to pt (cp. section comment) -->
+    <xsl:template name="convert2twip">
+        <xsl:param name="value"/>
+        <xsl:param name="rounding-factor" select="10000"/>
+        <xsl:choose>
+            <xsl:when test="contains($value, 'mm')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'mm') div $twip-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'cm')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'cm') div $twip-in-mm * $centimeter-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'in')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'in') div $twip-in-mm * $inch-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pt')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pt') div $twip-in-mm * $point-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dpt')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dpt') div $twip-in-mm * $didot-point-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pica')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pica') div $twip-in-mm * $pica-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'twip')">
+                <xsl:value-of select="substring-before($value, 'twip')"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dxa')">
+                <xsl:value-of select="substring-before($value, 'dxa')"/>
+            </xsl:when>
+
+            <xsl:when test="contains($value, 'px')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'px') div $twip-in-mm * $pixel-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'twip'!</xsl:message>
+                <xsl:value-of select="$value"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    <!-- changing measure to pixel by via parameter provided dpi (dots per inch) standard factor (cp. section comment) -->
+    <xsl:template name="convert2px">
+        <xsl:param name="value"/>
+        <xsl:choose>
+            <xsl:when test="contains($value, 'mm')">
+                <xsl:value-of select="round(number(substring-before($value, 'mm')) div $pixel-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'cm')">
+                <xsl:value-of select="round(number(substring-before($value, 'cm')) div $pixel-in-mm * $centimeter-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'in')">
+                <xsl:value-of select="round(number(substring-before($value, 'in')) div $pixel-in-mm * $inch-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pt')">
+                <xsl:value-of select="round(number(substring-before($value, 'pt')) div $pixel-in-mm * $point-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dpt')">
+                <xsl:value-of select="round(number(substring-before($value, 'dpt')) div $pixel-in-mm * $didot-point-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pica')">
+                <xsl:value-of select="round(number(substring-before($value, 'pica')) div $pixel-in-mm * $pica-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'twip')">
+                <xsl:value-of select="round(number(substring-before($value, 'twip')) div $pixel-in-mm * $twip-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dxa')">
+                <xsl:value-of select="round(number(substring-before($value, 'dxa')) div $pixel-in-mm * $twip-in-mm)"/>
+            </xsl:when>
+
+            <xsl:when test="contains($value, 'px')">
+                <xsl:value-of select="$value"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'px'!</xsl:message>
+                <xsl:value-of select="$value"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+        <xsl:template name="convert2dxa">
+        <!-- this template is the same as the template of convert2twip because M$ word uses the dxa to represent twip-->
+        <xsl:param name="value"/>
+        <xsl:param name="rounding-factor" select="10000"/>
+        <xsl:choose>
+            <xsl:when test="contains($value, 'mm')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'mm') div $twip-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'cm')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'cm') div $twip-in-mm * $centimeter-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'in')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'in') div $twip-in-mm * $inch-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pt')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pt') div $twip-in-mm * $point-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dpt')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'dpt') div $twip-in-mm * $didot-point-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'pica')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'pica') div $twip-in-mm * $pica-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'twip')">
+                <xsl:value-of select="substring-before($value, 'twip')"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dxa')">
+                <xsl:value-of select="substring-before($value, 'dxa')"/>
+            </xsl:when>
+
+            <xsl:when test="contains($value, 'px')">
+                <xsl:value-of select="round($rounding-factor * number(substring-before($value, 'px') div $twip-in-mm * $pixel-in-mm)) div $rounding-factor"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:message>measure_conversion.xsl: Find no conversion for <xsl:value-of select="$value"/> to 'twip'!</xsl:message>
+                <xsl:value-of select="$value"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+<!-- End of OOo2.0 common/measure_conversion.xsl stylesheet  -->
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/NCAA_Conference_Schedule_XML.dtd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,20 @@
+<!ELEMENT message  (XML_File_ID , heading , category , sport , Title , Conference_Schedule , time_stamp )>
+
+<!ELEMENT XML_File_ID  (#PCDATA )>
+
+<!ELEMENT heading  (#PCDATA )>
+
+<!ELEMENT category  (#PCDATA )>
+
+<!ELEMENT sport  (#PCDATA )>
+
+<!ELEMENT Title  (#PCDATA )>
+
+<!ELEMENT Conference_Schedule  (Team+ )>
+
+<!ELEMENT Team  (Listing+ )>
+<!ATTLIST Team  fullname CDATA  #REQUIRED >
+<!ELEMENT Listing  (#PCDATA )>
+
+<!ELEMENT time_stamp  (#PCDATA )>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/OpenJDK100017Test.java	Mon Aug 17 11:18:31 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 transform;
+
+import java.io.IOException;
+
+import javax.xml.transform.TransformerConfigurationException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.sax.SAXTransformerFactory;
+import javax.xml.transform.sax.TransformerHandler;
+import javax.xml.transform.stream.StreamResult;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6883209
+ * @summary Test XSLT won't cause StackOverflow when it handle many characters.
+ */
+public class OpenJDK100017Test {
+
+    @Test
+    public final void testXMLStackOverflowBug() throws TransformerConfigurationException, IOException, SAXException {
+        try {
+            SAXTransformerFactory stf = (SAXTransformerFactory) TransformerFactory.newInstance();
+            TransformerHandler ser = stf.newTransformerHandler();
+            ser.setResult(new StreamResult(System.out));
+
+            StringBuilder sb = new StringBuilder(4096);
+            for (int x = 4096; x > 0; x--) {
+                sb.append((char) x);
+            }
+            ser.characters(sb.toString().toCharArray(), 0, sb.toString().toCharArray().length);
+            ser.endDocument();
+        } catch (StackOverflowError se) {
+            se.printStackTrace();
+            Assert.fail("StackOverflow");
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/PredicateInKeyTest.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<!--
+  * PredicateInKeyTest.xml - XSLT test input file for PredicatInKeyTest.xsl
+  *
+ *
+ * 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.
+ *
+  -->
+<document><t>0</t><t>1</t><t>2</t><t>3</t></document>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/PredicateInKeyTest.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+<!--
+ *
+ * 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.
+ *
+  -->
+<xsl:stylesheet
+   version="1.0"
+   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+>
+
+   <xsl:output method="text"/>
+   
+   <xsl:key name="key" match="t[1]" use="0"/>
+   <xsl:key name="key" match="t[2]" use="1"/>
+   <xsl:key name="key" match="t[following-sibling::t[1] = 3]" use="2"/>
+   <xsl:key name="key" match="t[preceding-sibling::t[. = 2]]" use="3"/>
+   
+   <xsl:template match="/">
+      <xsl:copy-of select="key('key', 0)/text()"/> <!-- 0 -->
+      <xsl:text>|</xsl:text>
+      <xsl:copy-of select="key('key', 1)/text()"/> <!-- 1 -->
+      <xsl:text>|</xsl:text>
+      <xsl:copy-of select="key('key', 2)/text()"/> <!-- 2 -->
+      <xsl:text>|</xsl:text>
+      <xsl:copy-of select="key('key', 3)/text()"/> <!-- 3 -->
+   </xsl:template>
+
+</xsl:stylesheet>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/SAX2DOMTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,194 @@
+/*
+ * 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 transform;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.sax.SAXSource;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.xml.sax.Attributes;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXNotRecognizedException;
+import org.xml.sax.SAXNotSupportedException;
+import org.xml.sax.XMLReader;
+import org.xml.sax.ext.LexicalHandler;
+import org.xml.sax.helpers.AttributesImpl;
+import org.xml.sax.helpers.XMLFilterImpl;
+
+/*
+ * @summary Test Transforming from SAX to DOM.
+ */
+public class SAX2DOMTest {
+
+    @Test
+    public void test() throws Exception {
+        SAXParserFactory fac = SAXParserFactory.newInstance();
+        fac.setNamespaceAware(true);
+        SAXParser saxParser = fac.newSAXParser();
+
+        StreamSource sr = new StreamSource(this.getClass().getResourceAsStream("SAX2DOMTest.xml"));
+        InputSource is = SAXSource.sourceToInputSource(sr);
+        RejectDoctypeSaxFilter rf = new RejectDoctypeSaxFilter(saxParser);
+        SAXSource src = new SAXSource(rf, is);
+        Transformer transformer = TransformerFactory.newInstance().newTransformer();
+        DOMResult result = new DOMResult();
+        transformer.transform(src, result);
+
+        Document doc = (Document) result.getNode();
+        System.out.println("Name" + doc.getDocumentElement().getLocalName());
+
+        String id = "XWSSGID-11605791027261938254268";
+        Element selement = doc.getElementById(id);
+        if (selement == null) {
+            System.out.println("getElementById returned null");
+        }
+
+    }
+
+    public static class RejectDoctypeSaxFilter extends XMLFilterImpl implements XMLReader, LexicalHandler {
+
+        /** Standard SAX 2.0 ext property */
+        static final String LEXICAL_HANDLER_PROP = "http://xml.org/sax/properties/lexical-handler";
+
+        static final String WSU_NS = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd".intern();
+        static final String SIGNATURE_LNAME = "Signature".intern();
+        static final String ENCRYPTED_DATA_LNAME = "EncryptedData".intern();
+        static final String DSIG_NS = "http://www.w3.org/2000/09/xmldsig#".intern();
+        static final String XENC_NS = "http://www.w3.org/2001/04/xmlenc#".intern();
+        static final String ID_NAME = "ID".intern();
+
+        /** LexicalHandler to forward events to, if any */
+        private LexicalHandler lexicalHandler;
+
+        public RejectDoctypeSaxFilter(SAXParser saxParser) throws Exception {
+            XMLReader xmlReader;
+            try {
+                xmlReader = saxParser.getXMLReader();
+            } catch (Exception e) {
+                throw new Exception("Couldn't get an XMLReader while constructing a RejectDoctypeSaxFilter", e);
+            }
+
+            // Set ourselves up to be the SAX LexicalHandler
+            try {
+                xmlReader.setProperty(LEXICAL_HANDLER_PROP, this);
+            } catch (Exception e) {
+                throw new Exception("Couldn't set the lexical handler property while constructing a RejectDoctypeSaxFilter", e);
+            }
+
+            // Set the parent XMLReader of this SAX filter
+            setParent(xmlReader);
+        }
+
+        /*
+         * Override setProperty() to capture any LexicalHandler that is set for
+         * forwarding of events.
+         */
+        public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException {
+            if (LEXICAL_HANDLER_PROP.equals(name)) {
+                lexicalHandler = (LexicalHandler) value;
+            } else {
+                super.setProperty(name, value);
+            }
+        }
+
+        //
+        // Beginning of SAX LexicalHandler callbacks...
+        //
+
+        public void startDTD(String name, String publicId, String systemId) throws SAXException {
+            throw new SAXException("Document Type Declaration is not allowed");
+        }
+
+        public void endDTD() throws SAXException {
+        }
+
+        public void startEntity(String name) throws SAXException {
+            if (lexicalHandler != null) {
+                lexicalHandler.startEntity(name);
+            }
+        }
+
+        public void endEntity(String name) throws SAXException {
+            if (lexicalHandler != null) {
+                lexicalHandler.endEntity(name);
+            }
+        }
+
+        public void startCDATA() throws SAXException {
+            if (lexicalHandler != null) {
+                lexicalHandler.startCDATA();
+            }
+        }
+
+        public void endCDATA() throws SAXException {
+            if (lexicalHandler != null) {
+                lexicalHandler.endCDATA();
+            }
+        }
+
+        public void comment(char[] ch, int start, int length) throws SAXException {
+            if (lexicalHandler != null) {
+                lexicalHandler.comment(ch, start, length);
+            }
+        }
+
+        //
+        // End of SAX LexicalHandler callbacks
+        //
+
+        public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException {
+            if (atts != null) {
+                boolean eos = false;
+                if (namespaceURI == DSIG_NS || XENC_NS == namespaceURI) {
+                    eos = true;
+                }
+                int length = atts.getLength();
+                AttributesImpl attrImpl = new AttributesImpl();
+                for (int i = 0; i < length; i++) {
+                    String name = atts.getLocalName(i);
+                    if (name != null && (name.equals("Id"))) {
+                        if (eos || atts.getURI(i) == WSU_NS) {
+                            attrImpl.addAttribute(atts.getURI(i), atts.getLocalName(i), atts.getQName(i), ID_NAME, atts.getValue(i));
+                        } else {
+                            attrImpl.addAttribute(atts.getURI(i), atts.getLocalName(i), atts.getQName(i), atts.getType(i), atts.getValue(i));
+                        }
+                    } else {
+                        attrImpl.addAttribute(atts.getURI(i), atts.getLocalName(i), atts.getQName(i), atts.getType(i), atts.getValue(i));
+                    }
+                }
+                super.startElement(namespaceURI, localName, qName, attrImpl);
+            } else {
+                super.startElement(namespaceURI, localName, qName, atts);
+            }
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/SAX2DOMTest.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"  
+    xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"  
+    xmlns:ns0="http://tax.org/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
+    env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
+    <env:Header>
+        <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/ 
+            oasis-200401-wss-wssecurity-secext-1.0.xsd" env:mustUnderstand="1">
+            <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"  
+                EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" 
+                ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"  
+                wsu:Id="XWSSGID-1160579093284-731518813">MIICvjCCAicCBEUKVsswDQYJKoZIhvc 
+                NAQEEBQAwgaUxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpD
+                YWxpZm9ybmlhMRQwEgYDVQQHEwtTYW50YSBDbGFyYTEZMBcGA1UEChMQU3VuIE1pY3Jvc3lz 
+                dGVt
+                czErMCkGA1UECxMiU3VuIEphdmEgU3lzdGVtIEFwcGxpY2F0aW9uIFNlcnZlcjEjMCEGA1UE 
+                AxMa
+                a3VtYXJqYXlhbnRpLmluZGlhLnN1bi5jb20wHhcNMDYwOTE1MDczMTIzWhcNMTYwOTEyMDcz 
+                MTIz
+                WjCBpTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFDASBgNVBAcTC1NhbnRh 
+                IENs
+                YXJhMRkwFwYDVQQKExBTdW4gTWljcm9zeXN0ZW1zMSswKQYDVQQLEyJTdW4gSmF2YSBTeXN0 
+                ZW0g
+                QXBwbGljYXRpb24gU2VydmVyMSMwIQYDVQQDExprdW1hcmpheWFudGkuaW5kaWEuc3VuLmNv 
+                bTCB
+                nzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEArvcLWMmE7KUE+QJhhv 
+                +sNEpsVnOgDQ8Q2Q7WUUHh
+                psY/o059aaurJT6GpmBL8fOoVRw08hsRN5B1rBUSjEQhlVNP/RM5tKow/hdXNt 
+                +zBhQ11d8Kocvd
+                VJcTSsuLCQombPJj0gzVeu3UOa0n290YvakbDxpBLoA14d4K/ 
+                lA6BOsCAwEAATANBgkqhkiG9w0B
+                AQQFAAOBgQCWxwpM2eVlE2mG6rsnrhJMQdtaLIoEilh6xtUTkFgLW 
+                +H6rRSFAr7pxCO2OiwWWzRa
+                FQuuigYlhDpTcCcQARElhlL5ZHLP84cgp/ 
+                2KfFKXBphOx9xNoThFLDuh2ExUUydfqZMXYhpN39fe
+            ziQeqggTVsTKHTfFsNpAW09ZoXx5ug==</wsse:BinarySecurityToken>
+            <xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
+                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/ 
+                xmlenc#rsa-1_5"/>
+                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
+                    <wsse:SecurityTokenReference>
+                        <wsse:Reference URI="#XWSSGID-1160579093284-731518813"  
+                        ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/>
+                    </wsse:SecurityTokenReference>
+                </ds:KeyInfo>
+                <xenc:CipherData>
+                    <xenc:CipherValue>elU7zQXCWw3VUeb7CRRhm2Qc0HTF6tQz4MAaLDrlw60oBi0bHi2npe 
+                        vNuhQuDIMBcqA4U9f51zK7
+                        /tR8602YjpMETlby/w01yLGb2IvzKsFAL02NilRUT4o1Jj2PiLibcbVonzuye/ 
+                        dfoNKi5dNeQY6k
+                    In3JurQmap8QEEpEoIM=</xenc:CipherValue>
+                </xenc:CipherData>
+                <xenc:ReferenceList>
+                    <xenc:DataReference URI="#XWSSGID-11605791027261938254268"/>
+                </xenc:ReferenceList>
+            </xenc:EncryptedKey>
+            <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ 
+                oasis-200401-wss-wssecurity-utility-1.0.xsd"  
+                wsu:Id="XWSSGID-11605790933402107175190">
+                <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"  
+                    Id="XWSSGID-11605791027261938254268" Type="http://www.w3.org/2001/04/xmlenc#Content">
+                    <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
+                    <xenc:CipherData>
+                        <xenc:CipherValue>ZnUgV0uixMVhb7LYujc+vGwlnZdfG7c9MtI3+M8P92Oyh2Mk 
+                            +xfQsADTlk2Gqux6gRLAeKjafdXG
+                            gVsdZvWkc9+tvKE9cGRv8Gm2d7ephTdSDwKRX1m7I8Q52U87MCrBWPfWEZAhm/ 
+                            UE8RfZf54YHFB6
+                            AA2gIrQQF1qYprX6eyHzaLdZe2iVRs5wXD2uRr1C3e1F6HbftGVc8gGMcsClXXzrSu3wMzJ7 
+                            CIRH
+                            tGg8R/Xoghj2KHwv4p4FGOBQ4AT3F54I3/ 
+                            wcfFLawPLH40wwjDuHK9ufRWIrkn4VYTUrWfZoUxMV
+                            ZSaUkGeLi1d55IeWJhjQwwktYFd/KKe79qHLbc5IMzrVNbK7yKpxvQ25/CL+6lHVmPAd 
+                            +RrLtopX
+                            qBhSRGVwHUHoLl7lAZX7q+x4AbO0x6ftib/5ytRgIBhpZWo6/ 
+                            WvVYAQrV5Fw1e5OYZq1kkWuq3XO
+                            jJuBU7x4vCTXlUphe9aDMJV/K7mTXwrgzRXFxSkUS/ 
+                            L1q8EfCTT73aFyGuRQmFK9ZTyXuZtg4E1V
+                            ooxYuOwvAQZfp49lj39+oieNP4q24/I2tcflA+blHjSrV/ 
+                            8CqrRLZfMnGzTAW4rA3JPzQcwexuAv
+                            bkUdMF8GU8XzfGDWSiPz0EDLV0dBOPPL6Da6IH1sWXXegSBnblxRDWZ4XGC5lGXErs7wo9Yo 
+                            NaNN
+                            Y2C3TEfgchGMbg0JvQ7JytKWfKcfjL0A7DoP1ChIbh4JC3rTpRbGvqbAgs7zyS+NyZ06/ 
+                            s4m4s34
+                            U4HcILs+lkZUszRAXwKhc9th6KoFl7i+q1UoiOfxFbf/ 
+                            RsIwDg5ULIHRJS7AJrm703jn7OUKalrB
+                            a8d5vm0b6PFMQx8eD7 
+                            +7HaXpBn9GJ5RubfB94QB3BUuy0av8INHtmYpvzcIwTLYmuGYcg7UnvJ6I
+                            8qjagbc67eSNC+vnKQHPrOyrqvY44R5qzfij+rp9k1vp4an/ys5db9P 
+                            +igwmyH3BTXC3rqjbgO7i
+                            tuv5Kw/H8mfl2VKme13VyWry6zCCNo8ug8O7YE0M/ 
+                            lhjb0SCDyz8Rfxp7zApgGXDjrx4TNlBf+Jj
+                            Ys4QVbDA8EQf6Ku3ZYfLGM+eFFSguR0OiCWb6pOD8AWxIv4yq6d6hA3pE5/ 
+                            okvOmHl2BpElpyePb
+                            lbeOuU8DrmceetMTL+U5QOUYSvYpMPop20QDUNje7 
+                            +SIDcHG3xp9Vx78gI7HOqmeBzFla49wXJxF
+                        ffK86OmEV14=</xenc:CipherValue>
+                    </xenc:CipherData>
+                </xenc:EncryptedData>
+            </wsse:UsernameToken>
+        </wsse:Security>
+    </env:Header>
+    <env:Body>
+        <ns0:getFedTax>
+            <double_1 xsi:type="xsd:double">97000.0</double_1>
+            <double_2 xsi:type="xsd:double">7000.0</double_2>
+        </ns0:getFedTax>
+    </env:Body>
+</env:Envelope>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/SecureProcessingTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,151 @@
+/*
+ * 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 transform;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.StringWriter;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerConfigurationException;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.SAXException;
+
+/*
+ * @summary Test XSLT shall report TransformerException for unsafe xsl when FEATURE_SECURE_PROCESSING is true.
+ */
+public class SecureProcessingTest {
+    static boolean _isSecureMode = false;
+    static {
+        if (System.getSecurityManager() != null) {
+            _isSecureMode = true;
+            System.out.println("Security Manager is present");
+        } else {
+            System.out.println("Security Manager is NOT present");
+        }
+    }
+
+
+
+    @Test
+    public final void testSecureProcessing() {
+
+        // SECURE_PROCESSING == false
+
+        // the style sheet
+        InputStream xslStream = this.getClass().getResourceAsStream("SecureProcessingTest.xsl");
+        StreamSource xslSource = new StreamSource(xslStream);
+
+        // the xml source
+        InputStream xmlStream = this.getClass().getResourceAsStream("SecureProcessingTest.xml");
+        StreamSource xmlSource = new StreamSource(xmlStream);
+
+        // the xml result
+        StringWriter xmlResultString = new StringWriter();
+        StreamResult xmlResultStream = new StreamResult(xmlResultString);
+
+        // the transformer
+        TransformerFactory transformerFactory = null;
+        Transformer transformer = null;
+
+        // transform with a non-secure Transformer
+        // expect success
+        String xmlResult;
+        if (!_isSecureMode) { // jaxp secure feature can not be turned off when
+                              // security manager is present
+            try {
+                transformerFactory = TransformerFactory.newInstance();
+                transformerFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false);
+                transformer = transformerFactory.newTransformer(xslSource);
+                transformer.transform(xmlSource, xmlResultStream);
+            } catch (TransformerConfigurationException ex) {
+                ex.printStackTrace();
+                Assert.fail(ex.toString());
+            } catch (TransformerException ex) {
+                ex.printStackTrace();
+                Assert.fail(ex.toString());
+            }
+
+            // expected success
+            // and the result is ...
+            xmlResult = xmlResultString.toString();
+            System.out.println("Transformation result (SECURE_PROCESSING == false) = \"" + xmlResult + "\"");
+        }
+
+        // now do same transformation but with SECURE_PROCESSING == true
+        // expect Exception
+        boolean exceptionCaught = false;
+
+        // the style sheet
+        xslStream = this.getClass().getResourceAsStream("SecureProcessingTest.xsl");
+        xslSource = new StreamSource(xslStream);
+
+        // the xml source
+        xmlStream = this.getClass().getResourceAsStream("SecureProcessingTest.xml");
+        xmlSource = new StreamSource(xmlStream);
+
+        // the xml result
+        xmlResultString = new StringWriter();
+        xmlResultStream = new StreamResult(xmlResultString);
+
+        // the transformer
+        transformerFactory = null;
+        transformer = null;
+
+        // transform with a secure Transformer
+        try {
+            transformerFactory = TransformerFactory.newInstance();
+            transformerFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
+            transformer = transformerFactory.newTransformer(xslSource);
+            transformer.transform(xmlSource, xmlResultStream);
+        } catch (TransformerConfigurationException ex) {
+            ex.printStackTrace();
+            Assert.fail(ex.toString());
+        } catch (TransformerException ex) {
+            // expected failure
+            System.out.println("expected failure: " + ex.toString());
+            ex.printStackTrace(System.out);
+            exceptionCaught = true;
+        }
+
+        // unexpected success?
+        if (!exceptionCaught) {
+            // and the result is ...
+            xmlResult = xmlResultString.toString();
+            System.err.println("Transformation result (SECURE_PROCESSING == true) = \"" + xmlResult + "\"");
+            Assert.fail("SECURITY_PROCESSING == true, expected failure but got result: \"" + xmlResult + "\"");
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/SecureProcessingTest.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.0"?>
+<helloWorld/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/SecureProcessingTest.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:java="http://xml.apache.org/xslt/java"
+                version="1.0">
+    <xsl:template
+        match="/helloWorld"
+        xmlns:java="http://xml.apache.org/xslt/java">
+      <int>
+        <xsl:value-of
+            select="java:java.lang.String.valueOf(0)"
+        />
+      </int>
+    </xsl:template>
+</xsl:stylesheet>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/SourceTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,144 @@
+/*
+ * 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 transform;
+
+import java.io.File;
+import java.io.StringWriter;
+
+import javax.xml.transform.Source;
+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 org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test Sources.
+ */
+public class SourceTest {
+
+    @Test
+    public final void testDOMSource() {
+        String xml = getClass().getResource("SourceTest.xml").getFile();
+        xml = "file://" + xml;
+        File xsl = new File(getClass().getResource("SourceTest.xsl").getFile());
+        try {
+            TransformerFactory tFactory = TransformerFactory.newInstance();
+            Transformer transformer = tFactory.newTransformer();
+            StreamSource source = new StreamSource(xsl);
+            transformer = tFactory.newTransformer(source);
+            // the xml result
+            StringWriter xmlResultString = new StringWriter();
+            StreamResult xmlResultStream = new StreamResult(xmlResultString);
+
+            Source xmlSource = new DOMSource();
+            xmlSource.setSystemId(xml);
+
+            transformer.transform(xmlSource, xmlResultStream);
+            System.out.println(xmlResultString.toString());
+            String temp = xmlResultString.toString();
+            int pos = temp.lastIndexOf("count");
+            if (temp.substring(pos + 8, pos + 9).equals("1")) {
+                Assert.fail("count=1");
+            } else if (temp.substring(pos + 8, pos + 9).equals("2")) {
+                // expected success
+                System.out.println("count=2");
+            }
+        } catch (Exception e) {
+            // unexpected failure
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+
+    @Test
+    public final void testSAXSource() {
+        String xml = getClass().getResource("SourceTest.xml").getFile();
+        File xsl = new File(getClass().getResource("SourceTest.xsl").getFile());
+        try {
+            TransformerFactory tFactory = TransformerFactory.newInstance();
+            Transformer transformer = tFactory.newTransformer();
+            StreamSource source = new StreamSource(xsl);
+            transformer = tFactory.newTransformer(source);
+            // the xml result
+            StringWriter xmlResultString = new StringWriter();
+            StreamResult xmlResultStream = new StreamResult(xmlResultString);
+
+            Source xmlSource = new SAXSource();
+            xmlSource.setSystemId(xml);
+
+            transformer.transform(xmlSource, xmlResultStream);
+            System.out.println(xmlResultString.toString());
+            String temp = xmlResultString.toString();
+            int pos = temp.lastIndexOf("count");
+            if (temp.substring(pos + 8, pos + 9).equals("1")) {
+                Assert.fail("count=1");
+            } else if (temp.substring(pos + 8, pos + 9).equals("2")) {
+                // expected success
+                System.out.println("count=2");
+            }
+        } catch (Exception e) {
+            // unexpected failure
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+
+    @Test
+    public final void testStreamSource() {
+        String xml = getClass().getResource("SourceTest.xml").getFile();
+        File xsl = new File(getClass().getResource("SourceTest.xsl").getFile());
+        try {
+            TransformerFactory tFactory = TransformerFactory.newInstance();
+            Transformer transformer = tFactory.newTransformer();
+            StreamSource source = new StreamSource(xsl);
+            transformer = tFactory.newTransformer(source);
+            // the xml result
+            StringWriter xmlResultString = new StringWriter();
+            StreamResult xmlResultStream = new StreamResult(xmlResultString);
+
+            Source xmlSource = new StreamSource();
+            xmlSource.setSystemId(xml);
+
+            transformer.transform(xmlSource, xmlResultStream);
+            System.out.println(xmlResultString.toString());
+            String temp = xmlResultString.toString();
+            int pos = temp.lastIndexOf("count");
+            if (temp.substring(pos + 8, pos + 9).equals("1")) {
+                Assert.fail("count=1");
+            } else if (temp.substring(pos + 8, pos + 9).equals("2")) {
+                // expected success
+                System.out.println("count=2");
+            }
+        } catch (Exception e) {
+            // unexpected failure
+            e.printStackTrace();
+            Assert.fail(e.toString());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/SourceTest.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,21 @@
+<a>
+  <b>
+    <c>
+      <d>
+        <e attr="foo">
+	  E3
+        </e>
+      </d>
+    </c>
+  </b>
+  <b>
+    <c>
+      <d>
+        <e attr="bar">
+	  E3
+        </e>
+      </d>
+    </c>
+  </b>
+</a>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/SourceTest.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,52 @@
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <!-- Xalan 2.6 contained in the Sun JDK 1.5 u12 and newer has issues with
+       evaluating grouping nodes according the Muenchian Method (by Steve Muench),
+       where nodes are stored in a key data structure for the group key, and later
+       a group start is checked by checking for the first node retrieved for a key.
+       The nodes are compared using a set union, where the size of the set should
+       be 1 when the nodes are identical, and different to 1 when the nodes are
+       different.
+       The issue with Xalan 2.6 as part of the JDK is, that it does not evaluate the
+       expression "count(.|key('props', subexpr)[1])" correctly. It always returns
+       "1". If the argument expression of count() is stored in a variable first,
+       and the variable is used as argument for count(), then everything works fine.
+  -->
+
+
+
+  <xsl:key name="props" match="c" use="d/e"/>
+  <xsl:template match="a">
+
+    Working (by replacing the count() argument with a variable):
+    <xsl:for-each select="b">
+      <xsl:for-each select="c">
+        <xsl:variable name="tNodeSet" select=".|key('props', d/e)[1]"/>
+        <xsl:for-each select="$tNodeSet">
+        Node <xsl:value-of select="d/e/@attr"/>;
+        </xsl:for-each>
+        count = <xsl:value-of select="count($tNodeSet)"/>
+      </xsl:for-each>
+        ---------
+    </xsl:for-each>
+
+    Not working in the 2nd loop iteration (by using the union expression as count() argument):
+    <xsl:for-each select="b">
+      <xsl:for-each select="c">
+
+        <!-- We replaced the variable "tNodeSet" by the related union expression.
+             The for-each loop will work correctly, but the count() will
+             always return "1" instead of first "1" and then "2".
+        -->
+
+        <xsl:for-each select=".|key('props', d/e)[1]">
+        Node <xsl:value-of select="d/e/@attr"/>;
+        </xsl:for-each>
+
+        count = <xsl:value-of select="count(.|key('props', d/e)[1])"/>
+      </xsl:for-each>
+        ---------
+    </xsl:for-each>
+
+  </xsl:template>
+</xsl:stylesheet>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/StAXSourceTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,125 @@
+/*
+ * 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 transform;
+
+import java.io.StringReader;
+import java.io.StringWriter;
+
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLEventWriter;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerConfigurationException;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.stax.StAXResult;
+import javax.xml.transform.stax.StAXSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test parsing from StAXSource.
+ */
+public class StAXSourceTest {
+
+    @Test
+    public final void testStAXSource() throws XMLStreamException {
+        XMLInputFactory ifactory = XMLInputFactory.newInstance();
+        XMLOutputFactory ofactory = XMLOutputFactory.newInstance();
+
+        String xslStylesheet = "<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>"
+                + "  <xsl:output method='xml' encoding='utf-8' indent='no'/>" + "  <xsl:preserve-space elements='*'/>" + "  <xsl:template match='*'>"
+                + "    <xsl:copy><xsl:copy-of select='@*'/><xsl:apply-templates/></xsl:copy>" + "  </xsl:template>"
+                + "  <xsl:template match='comment()|processing-instruction()|text()'>" + "    <xsl:copy/>" + "  </xsl:template>" + "</xsl:stylesheet>";
+        StringReader xslStringReader = new StringReader(xslStylesheet);
+        StringReader xmlStringReader = new StringReader(xslStylesheet); // identity
+                                                                        // on
+                                                                        // itself,
+        StringWriter xmlStringWriter = new StringWriter();
+
+        XMLEventReader styleReader = ifactory.createXMLEventReader(xslStringReader);
+        XMLEventReader docReader = ifactory.createXMLEventReader(xmlStringReader);
+        XMLEventWriter writer = ofactory.createXMLEventWriter(xmlStringWriter);
+
+        StAXSource stylesheet = new StAXSource(styleReader);
+        StAXSource document = new StAXSource(docReader);
+        StAXResult result = new StAXResult(writer);
+
+        try {
+            document.setSystemId("sourceSystemId");
+        } catch (UnsupportedOperationException e) {
+            System.out.println("Expected UnsupportedOperationException in StAXSource.setSystemId()");
+        } catch (Exception e) {
+            Assert.fail("StAXSource.setSystemId() does not throw java.lang.UnsupportedOperationException");
+        }
+
+        TransformerFactory tfactory = TransformerFactory.newInstance();
+        try {
+            Transformer transformer = tfactory.newTransformer(stylesheet);
+            transformer.transform(document, result);
+        } catch (TransformerConfigurationException tce) {
+            throw new XMLStreamException(tce);
+        } catch (TransformerException te) {
+            throw new XMLStreamException(te);
+        } finally {
+            styleReader.close();
+            docReader.close();
+            writer.close();
+        }
+
+        try {
+            result.setSystemId("systemId");
+        } catch (UnsupportedOperationException e) {
+            System.out.println("Expected UnsupportedOperationException in StAXResult.setSystemId()");
+        } catch (Exception e) {
+            Assert.fail("StAXResult.setSystemId() does not throw java.lang.UnsupportedOperationException");
+        }
+
+        if (result.getSystemId() != null) {
+            Assert.fail("StAXResult.getSystemId() does not return null");
+        }
+    }
+
+    @Test
+    public final void testStAXSource2() throws XMLStreamException {
+        XMLInputFactory ifactory = XMLInputFactory.newInstance();
+        ifactory.setProperty("javax.xml.stream.supportDTD", Boolean.TRUE);
+
+        StAXSource ss = new StAXSource(ifactory.createXMLStreamReader(getClass().getResource("5368141.xml").toString(),
+                getClass().getResourceAsStream("5368141.xml")));
+        DOMResult dr = new DOMResult();
+
+        TransformerFactory tfactory = TransformerFactory.newInstance();
+        try {
+            Transformer transformer = tfactory.newTransformer();
+            transformer.transform(ss, dr);
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/TransformerFactoryTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,149 @@
+/*
+ * 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 transform;
+
+import java.io.IOException;
+import java.io.InputStream;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.transform.Source;
+import javax.xml.transform.Templates;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerConfigurationException;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.URIResolver;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stax.StAXResult;
+import javax.xml.transform.stax.StAXSource;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.SAXException;
+
+/*
+ * @summary Test TransformerFactory.
+ */
+public class TransformerFactoryTest {
+
+    private static URIResolver resolver = new URIResolver() {
+
+        private int n = 0;
+
+        public Source resolve(String href, String base) throws TransformerException {
+
+            System.out.println("resolving: " + href);
+
+            if (n++ > 10) {
+                Assert.fail("Nesting too deep when resolving: " + href);
+            }
+
+            return new StreamSource(this.getClass().getResourceAsStream(href));
+        }
+    };
+
+    private static Document load(InputStream in) throws IOException {
+
+        Document document = null;
+
+        try {
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            dbf.setNamespaceAware(true);
+            DocumentBuilder db = dbf.newDocumentBuilder();
+            document = db.parse(in);
+        } catch (ParserConfigurationException parserConfigurationException) {
+            parserConfigurationException.printStackTrace();
+            Assert.fail(parserConfigurationException.toString());
+        } catch (SAXException saxException) {
+            saxException.printStackTrace();
+            Assert.fail(saxException.toString());
+        }
+
+        return document;
+    }
+
+    /**
+     * <p>
+     * Test stylesheets that import other stylesheets.
+     * </p>
+     *
+     * <p>
+     * Inspired by: CR 6236727-2125981 XSLTC never stops resolving imported
+     * stylesheets when outer stylesheet is a DOMSource
+     * </p>
+     */
+    @Test
+    public final void testImport() {
+
+        TransformerFactory tff = TransformerFactory.newInstance();
+        tff.setURIResolver(resolver);
+        Templates tt = null;
+        Transformer tf = null;
+
+        // work-a-round is to use a StreamSource.
+        // test should complete
+        System.out.println("StreamSource: pre-Transformer creation");
+        System.out.flush(); // in case import hangs
+        try {
+            InputStream xin = this.getClass().getResourceAsStream("outer.xsl");
+            tt = tff.newTemplates(new StreamSource(xin));
+            tf = tt.newTransformer();
+        } catch (TransformerConfigurationException ex) {
+            ex.printStackTrace();
+            Assert.fail(ex.toString());
+        }
+        System.out.println("StreamSource: post-Transformer creation");
+
+        // CR is that DOMSource never stops resolving
+        System.out.println("DOMSource: pre-Transformer creation");
+        System.out.flush(); // in case import hangs
+        try {
+            InputStream xin = this.getClass().getResourceAsStream("outer.xsl");
+            tt = tff.newTemplates(new DOMSource(load(xin)));
+            tf = tt.newTransformer();
+        } catch (TransformerConfigurationException ex) {
+            ex.printStackTrace();
+            Assert.fail(ex.toString());
+        } catch (IOException ioException) {
+            ioException.printStackTrace();
+            Assert.fail(ioException.toString());
+        }
+        System.out.println("DOMSource: post-Transformer creation");
+    }
+
+    /**
+     * Refer to 6631168 : StAXSource & StAXResult support in JavaSE6
+     */
+    @Test
+    public final void testFeatures() {
+        TransformerFactory tff = TransformerFactory.newInstance();
+        Assert.assertTrue(tff.getFeature(StAXSource.FEATURE));
+        Assert.assertTrue(tff.getFeature(StAXResult.FEATURE));
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/TransformerTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,272 @@
+/*
+ * 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 transform;
+
+import java.io.ByteArrayInputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.StringReader;
+import java.io.StringWriter;
+
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.sax.SAXSource;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.testng.AssertJUnit;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+import org.xml.sax.ContentHandler;
+import org.xml.sax.DTDHandler;
+import org.xml.sax.EntityResolver;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXNotRecognizedException;
+import org.xml.sax.SAXNotSupportedException;
+import org.xml.sax.XMLReader;
+import org.xml.sax.helpers.AttributesImpl;
+
+/*
+ * @summary Test Transformer.
+ */
+public class TransformerTest {
+
+    private static final String LINE_SEPARATOR = System.getProperty("line.separator");
+
+    private static final String XML_DOCUMENT = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + "<prefix:localName xmlns:prefix=\"namespaceUri\"/>";
+
+    //Test for JDK-6305029
+    @Test
+    public final void testTransform() throws TransformerException {
+
+        // test SAXSource
+        SAXSource saxSource = new SAXSource(new MyXMLReader(), new InputSource());
+
+        StringWriter builder = new StringWriter();
+        TransformerFactory.newInstance().newTransformer().transform(saxSource, new StreamResult(builder));
+
+        AssertJUnit.assertEquals("Identity transform of SAXSource", XML_DOCUMENT, builder.toString());
+
+        // test StreamSource
+        StreamSource streamSource = new StreamSource(new StringReader(XML_DOCUMENT));
+
+        StringWriter streamResult = new StringWriter();
+
+        TransformerFactory.newInstance().newTransformer().transform(streamSource, new StreamResult(streamResult));
+
+        AssertJUnit.assertEquals("Identity transform of StreamSource", XML_DOCUMENT, streamResult.toString());
+    }
+
+    private static class MyXMLReader implements XMLReader {
+
+        private static final String NAMESPACES = "http://xml.org/sax/features/namespaces";
+
+        private static final String NAMESPACE_PREFIXES = "http://xml.org/sax/features/namespace-prefixes";
+
+        private boolean namespaces = true;
+
+        private boolean namespacePrefixes = false;
+
+        private EntityResolver resolver;
+
+        private DTDHandler dtdHandler;
+
+        private ContentHandler contentHandler;
+
+        private ErrorHandler errorHandler;
+
+        public boolean getFeature(final String name) throws SAXNotRecognizedException, SAXNotSupportedException {
+
+            if (name.equals(NAMESPACES)) {
+                return namespaces;
+            } else if (name.equals(NAMESPACE_PREFIXES)) {
+                return namespacePrefixes;
+            } else {
+                throw new SAXNotRecognizedException();
+            }
+        }
+
+        public void setFeature(final String name, final boolean value) throws SAXNotRecognizedException, SAXNotSupportedException {
+
+            if (name.equals(NAMESPACES)) {
+                namespaces = value;
+            } else if (name.equals(NAMESPACE_PREFIXES)) {
+                namespacePrefixes = value;
+            } else {
+                throw new SAXNotRecognizedException();
+            }
+        }
+
+        public Object getProperty(final String name) throws SAXNotRecognizedException, SAXNotSupportedException {
+            return null;
+        }
+
+        public void setProperty(final String name, final Object value) throws SAXNotRecognizedException, SAXNotSupportedException {
+        }
+
+        public void setEntityResolver(final EntityResolver theResolver) {
+            this.resolver = theResolver;
+        }
+
+        public EntityResolver getEntityResolver() {
+            return resolver;
+        }
+
+        public void setDTDHandler(final DTDHandler theHandler) {
+            dtdHandler = theHandler;
+        }
+
+        public DTDHandler getDTDHandler() {
+            return dtdHandler;
+        }
+
+        public void setContentHandler(final ContentHandler handler) {
+            contentHandler = handler;
+        }
+
+        public ContentHandler getContentHandler() {
+            return contentHandler;
+        }
+
+        public void setErrorHandler(final ErrorHandler handler) {
+            errorHandler = handler;
+        }
+
+        public ErrorHandler getErrorHandler() {
+            return errorHandler;
+        }
+
+        public void parse(final InputSource input) throws IOException, SAXException {
+
+            parse();
+        }
+
+        public void parse(final String systemId) throws IOException, SAXException {
+
+            parse();
+        }
+
+        private void parse() throws SAXException {
+            contentHandler.startDocument();
+            contentHandler.startPrefixMapping("prefix", "namespaceUri");
+
+            AttributesImpl atts = new AttributesImpl();
+            if (namespacePrefixes) {
+                atts.addAttribute("", "xmlns:prefix", "xmlns:prefix", "CDATA", "namespaceUri");
+            }
+
+            contentHandler.startElement("namespaceUri", "localName", namespacePrefixes ? "prefix:localName" : "", atts);
+            contentHandler.endElement("namespaceUri", "localName", namespacePrefixes ? "prefix:localName" : "");
+            contentHandler.endPrefixMapping("prefix");
+            contentHandler.endDocument();
+        }
+    }
+
+    @Test
+    public final void testCR6272879() {
+
+        final String xsl = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>" + LINE_SEPARATOR
+                + "<xsl:stylesheet version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\">" + LINE_SEPARATOR
+                + "<xsl:output method=\"xml\" indent=\"no\" encoding=\"ISO-8859-1\"/>" + LINE_SEPARATOR + "<xsl:template match=\"/\">" + LINE_SEPARATOR
+                + "<xsl:element name=\"TransformateurXML\">" + LINE_SEPARATOR + "  <xsl:for-each select=\"XMLUtils/test\">" + LINE_SEPARATOR
+                + "  <xsl:element name=\"test2\">" + LINE_SEPARATOR + "    <xsl:element name=\"valeur2\">" + LINE_SEPARATOR
+                + "      <xsl:attribute name=\"attribut2\">" + LINE_SEPARATOR + "        <xsl:value-of select=\"valeur/@attribut\"/>" + LINE_SEPARATOR
+                + "      </xsl:attribute>" + LINE_SEPARATOR + "      <xsl:value-of select=\"valeur\"/>" + LINE_SEPARATOR + "    </xsl:element>"
+                + LINE_SEPARATOR + "  </xsl:element>" + LINE_SEPARATOR + "  </xsl:for-each>" + LINE_SEPARATOR + "</xsl:element>" + LINE_SEPARATOR
+                + "</xsl:template>" + LINE_SEPARATOR + "</xsl:stylesheet>";
+
+        final String sourceXml = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>"
+                + LINE_SEPARATOR
+                // "<!DOCTYPE XMLUtils [" + LINE_SEPARATOR +
+                // "<!ELEMENT XMLUtils (test*)>" + LINE_SEPARATOR +
+                // "<!ELEMENT test (valeur*)>" + LINE_SEPARATOR +
+                // "<!ELEMENT valeur (#PCDATA)>" + LINE_SEPARATOR +
+                // "<!ATTLIST valeur attribut CDATA #REQUIRED>]>" +
+                // LINE_SEPARATOR +
+                + "<XMLUtils>" + LINE_SEPARATOR + "  <test>" + LINE_SEPARATOR + "    <valeur attribut=\"Attribut 1\">Valeur 1</valeur>" + LINE_SEPARATOR
+                + "  </test>" + LINE_SEPARATOR + "  <test>" + LINE_SEPARATOR + "    <valeur attribut=\"Attribut 2\">Valeur 2</valeur>" + LINE_SEPARATOR
+                + "  </test>" + LINE_SEPARATOR + "</XMLUtils>";
+
+        Document document;
+        Node node;
+
+        System.out.println("Stylesheet:");
+        System.out.println("==================================");
+        System.out.println(xsl);
+        System.out.println();
+
+        System.out.println("Source file before transformation:");
+        System.out.println("==================================");
+        System.out.println(sourceXml);
+        System.out.println();
+
+        System.out.println("Source file after transformation:");
+        System.out.println("=================================");
+        document = getTransformation(xsl, sourceXml);
+
+        System.out.println(document);
+
+        System.out.println("Node content for element valeur2:");
+        System.out.println("=================================");
+        NodeList nodes = document.getElementsByTagName("valeur2");
+        nodes = document.getElementsByTagName("valeur2");
+        for (int i = 0; i < nodes.getLength(); i++) {
+            node = nodes.item(i);
+            System.out.println("  Node value: " + node.getFirstChild().getNodeValue());
+            System.out.println("  Node attribute: " + node.getAttributes().item(0).getNodeValue());
+
+            AssertJUnit.assertEquals("Node value mismatch", "Valeur " + (i + 1), node.getFirstChild().getNodeValue());
+            AssertJUnit.assertEquals("Node attribute mismatch", "Attribut " + (i + 1), node.getAttributes().item(0).getNodeValue());
+        }
+    }
+
+    private static Document getTransformation(final String xsl, final String sourceXml) {
+
+        Transformer transformer;
+        DOMResult reponse;
+        Document document = null;
+
+        try {
+            InputStream in = new ByteArrayInputStream(xsl.getBytes());
+            transformer = TransformerFactory.newInstance().newTransformer(new StreamSource(in));
+
+            reponse = new DOMResult();
+            transformer.transform(new StreamSource(new ByteArrayInputStream(sourceXml.getBytes())), reponse);
+            document = (Document) reponse.getNode();
+        } catch (Exception e) {
+            String msg = "Exception in getTransformation: " + e;
+            System.err.println(msg);
+            Assert.fail(msg);
+        }
+
+        return (document);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/TransformerUtilFactory.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,58 @@
+/*
+ * 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 transform;
+
+import transform.util.DOMUtil;
+import transform.util.SAXUtil;
+import transform.util.StAXUtil;
+import transform.util.StreamUtil;
+import transform.util.TransformerUtil;
+
+public class TransformerUtilFactory {
+
+    public final static String DOM = "dom";
+
+    public final static String SAX = "sax";
+
+    public final static String StAX = "stax";
+
+    public final static String STREAM = "stream";
+
+    /** Creates a new instance of TransformerUtilFactory */
+    private TransformerUtilFactory() {
+    }
+
+    public static TransformerUtil getUtil(String type) throws Exception {
+        if (type.equals(DOM)) {
+            return DOMUtil.getInstance();
+        } else if (type.equals(STREAM))
+            return StreamUtil.getInstance();
+        else if (type.equals(SAX))
+            return SAXUtil.getInstance();
+        else if (type.equals(StAX))
+            return StAXUtil.getInstance();
+        else
+            return null;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/VersionDefaultHandler.java	Mon Aug 17 11:18:31 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 transform;
+
+import org.xml.sax.Attributes;
+import org.xml.sax.Locator;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+import org.xml.sax.helpers.DefaultHandler;
+
+public class VersionDefaultHandler extends DefaultHandler {
+
+    private String version = null;
+
+    private String encoding = null;
+
+    /** Creates a new instance of VersionDefaultHandler */
+    public VersionDefaultHandler() {
+    }
+
+    Locator saxLocator = null;
+
+    public void setDocumentLocator(Locator locator) {
+        saxLocator = locator;
+    }
+
+    public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
+        version = ((org.xml.sax.ext.Locator2) saxLocator).getXMLVersion();
+        encoding = ((org.xml.sax.ext.Locator2) saxLocator).getEncoding();
+    }
+
+    public void error(SAXParseException e) throws SAXException {
+        e.printStackTrace();
+    }
+
+    public String getVersion() {
+        return version;
+    }
+
+    public String getEncoding() {
+        return encoding;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/VersionEventWriter.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,84 @@
+/*
+ * 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 transform;
+
+import javax.xml.namespace.NamespaceContext;
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLEventWriter;
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.events.StartDocument;
+import javax.xml.stream.events.XMLEvent;
+
+public class VersionEventWriter implements XMLEventWriter {
+
+    private String version = null;
+
+    private String encoding = null;
+
+    /** Creates a new instance of VersionEventWriter */
+    public VersionEventWriter() {
+    }
+
+    public void add(XMLEvent event) throws XMLStreamException {
+        if (event.getEventType() == XMLStreamConstants.START_DOCUMENT) {
+            version = ((StartDocument) event).getVersion();
+            encoding = ((StartDocument) event).getCharacterEncodingScheme();
+        }
+    }
+
+    public void flush() throws XMLStreamException {
+    }
+
+    public void close() throws XMLStreamException {
+    }
+
+    public void add(XMLEventReader reader) throws XMLStreamException {
+    }
+
+    public java.lang.String getPrefix(java.lang.String uri) throws XMLStreamException {
+        return null;
+    }
+
+    public void setPrefix(java.lang.String prefix, java.lang.String uri) throws XMLStreamException {
+    }
+
+    public void setDefaultNamespace(java.lang.String uri) throws XMLStreamException {
+    }
+
+    public void setNamespaceContext(NamespaceContext context) throws XMLStreamException {
+    }
+
+    public NamespaceContext getNamespaceContext() {
+        return null;
+    }
+
+    public String getVersion() {
+        return version;
+    }
+
+    public String getEncoding() {
+        return encoding;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/ViewEditor1.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,50 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="2.0" xmlns:Iteration="http://www.iterationsoftware.com"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xalan="http://xml.apache.org/xalan"
+  xmlns:HTML="http://www.w3.org/Profiles/XHTML-transitional" xmlns:v="urn:schemas-microsoft-com:vml"
+  xmlns:local="#local-functions">
+
+  <xsl:output method="xml" encoding="UTF-8" cdata-section-elements="CalcExpression Value"/>
+
+  <xsl:variable name="TabRowHeight">21</xsl:variable>
+
+  <xsl:variable name="DataEditor">
+    <xsl:call-template name="DataEditor"/>
+  </xsl:variable>
+
+  <xsl:variable name="view_type">
+    <xsl:value-of select="//ViewEditor/@ViewType"/>
+  </xsl:variable>
+
+  <xsl:variable name="InitialTabEvent">
+    <xsl:value-of select="//ViewEditor/@Page"/>
+  </xsl:variable>
+
+  <xsl:template match="Iteration">
+    <id>
+      <xsl:value-of
+        select="xalan:nodeset($DataEditor)/DataEditor/View[ContentType=$view_type]/Page[Event=$InitialTabEvent]/@id"/>
+    </id>
+  </xsl:template>
+
+  <xsl:template name="DataEditor">
+    <DataEditor>
+      <View>
+        <ContentType>PieChart</ContentType>
+        <ContentType>ThreeDPieChart</ContentType>
+        <Page id="DATA_OBJECTS">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='DATA_OBJECTS']"/>
+          </xsl:attribute>
+          <Event>datasets</Event>
+        </Page>
+        <Page id="VIEWEDITOR_TAB_FIELDS">
+          <xsl:attribute name="label">
+            <xsl:value-of select="//Translated/String[@name='VIEWEDITOR_TAB_FIELDS']"/>
+          </xsl:attribute>
+          <Event>chartFields</Event>
+        </Page>
+      </View>
+    </DataEditor>
+  </xsl:template>
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/XSLTFunctionsTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,128 @@
+/*
+ * Copyright (c) 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 transform;
+
+import java.io.StringReader;
+import java.io.StringWriter;
+
+import javax.xml.transform.Source;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.URIResolver;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.annotations.DataProvider;
+import org.testng.annotations.Test;
+
+import static org.testng.Assert.assertEquals;
+
+/*
+ * @summary This class contains tests for XSLT functions.
+ */
+
+public class XSLTFunctionsTest {
+
+    /**
+     * @bug 8062518
+     * Verifies that a reference to the DTM created by XSLT document function is
+     * actually read from the DTM by an extension function.
+     * @param xml Content of xml file to process
+     * @param xsl stylesheet content that loads external document {@code externalDoc}
+     *        with XSLT 'document' function and then reads it with
+     *        DocumentExtFunc.test() function
+     * @param externalDoc Content of the external xml document
+     * @param expectedResult Expected transformation result
+     **/
+    @Test(dataProvider = "document")
+    public void testDocument(final String xml, final String xsl,
+                             final String externalDoc, final String expectedResult) throws Exception {
+        // Prepare sources for transormation
+        Source src = new StreamSource(new StringReader(xml));
+        Source xslsrc = new StreamSource(new StringReader(xsl));
+
+        // Create factory and transformer
+        TransformerFactory tf = TransformerFactory.newInstance();
+        Transformer t = tf.newTransformer( xslsrc );
+        t.setErrorListener(tf.getErrorListener());
+
+        // Set URI Resolver to return the newly constructed xml
+        // stream source object from xml test string
+        t.setURIResolver(new URIResolver() {
+            @Override
+            public Source resolve(String href, String base)
+                    throws TransformerException {
+                if (href.contains("externalDoc")) {
+                    return new StreamSource(new StringReader(externalDoc));
+                } else {
+                    return new StreamSource(new StringReader(xml));
+                }
+            }
+        });
+
+        // Prepare output stream
+        StringWriter xmlResultString = new StringWriter();
+        StreamResult xmlResultStream = new StreamResult(xmlResultString);
+
+        //Transform the xml
+        t.transform(src, xmlResultStream);
+
+        // If the document can't be accessed and the bug is in place then
+        // reported exception will be thrown during transformation
+        System.out.println("Transformation result:"+xmlResultString.toString().trim());
+
+        // Check the result - it should contain two (node name, node values) entries -
+        // one for original document, another for a document created with
+        // call to 'document' function
+        assertEquals(xmlResultString.toString().trim(), expectedResult);
+    }
+
+    @DataProvider(name = "document")
+    public static Object[][] documentTestData() {
+        return new Object[][] {
+            {documentTestXml, documentTestXsl, documentTestExternalDoc, documentTesteExpectedResult},
+        };
+    }
+
+    static final String documentTestXml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Test>Doc</Test>";
+
+    static final String documentTestExternalDoc = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Test>External Doc</Test>";
+
+    static final String documentTestXsl = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+            + "<xsl:transform version=\"1.0\""
+            + " xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" "
+            + " xmlns:cfunc=\"http://xml.apache.org/xalan/java/\">"
+            + "<xsl:template match=\"/\">"
+            + "<xsl:element name=\"root\">"
+            + "<xsl:variable name=\"other_doc\" select=\"document(&#39;externalDoc&#39;)\"/>"
+            + "<!-- Source -->"
+            + "<xsl:value-of select=\"cfunc:transform.DocumentExtFunc.test(/Test)\"/>"
+            + "<!-- document() -->"
+            + "<xsl:value-of select=\"cfunc:transform.DocumentExtFunc.test($other_doc/Test)\"/>"
+            + "</xsl:element></xsl:template></xsl:transform>";
+
+    static final String documentTesteExpectedResult = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+                                                    + "<root>[Test:Doc][Test:External Doc]</root>";
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/attribset27.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<doc>
+  <foo>a</foo>
+</doc>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/attribset27.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <!-- FileName: attribset27 -->
+  <!-- Document: http://www.w3.org/TR/xslt -->
+  <!-- DocVersion: 19991116 -->
+  <!-- Section: 7.1.4 Named Attribute Sets -->
+  <!-- Purpose: Use xsl:copy with multiple attribute sets with conflicting set name,
+    then reset one attribute with xsl:attribute. -->
+  <!-- Author: Carmelo Montanez --><!-- ResultTree004 in NIST suite -->
+
+<xsl:template match="/">
+  <out>
+    <xsl:copy use-attribute-sets="set1">
+      <xsl:attribute name="text-decoration">none</xsl:attribute>
+    </xsl:copy>
+  </out>
+</xsl:template>
+
+<xsl:attribute-set name="set1">
+  <xsl:attribute name="text-decoration">underline</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="set1">
+  <xsl:attribute name="color">black</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="set1">
+  <xsl:attribute name="font-size">14pt</xsl:attribute>
+</xsl:attribute-set>
+
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/catalog.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.1" encoding="UTF-8"?>
+<stardb xmlns="http://www.astro.com/astro" xmlns:astro="http://www.astro.com/astro" xsi:schemaLocation="http://www.astro.com/astro catalog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><_test01></_test01><test-02 xmlns:xsi=""></test-02><test.03></test.03><_test-04>T%e!s#t$</_test-04><star><hr>1</hr><constellation/><fullname/><ra><h>00</h><m>05</m><s>09.9</s><dv>0.08608333333333333</dv></ra><dec><sgn/><d>45</d><m>13</m><s>45</s><dv>45.22916666666667</dv></dec><glng>114.44</glng><glat>-16.88</glat><vmag>6.70</vmag><spec>A1Vn</spec></star><star><hr>2</hr><constellation/><fullname/><ra><h>00</h><m>05</m><s>03.8</s><dv>0.08438888888888889</dv></ra><dec><sgn>-</sgn><d>00</d><m>30</m><s>11</s><dv>-0.5030555555555556</dv></dec><glng>98.33</glng><glat>-61.14</glat><vmag>6.29</vmag><spec>gG9</spec></star><star><hr>3</hr><constellation>Psc</constellation><fullname>33    Psc</fullname><ra><h>00</h><m>05</m><s>20.1</s><dv>0.08891666666666666</dv></ra><dec><sgn>-</sgn><d>05</d><m>42</m><s>27</s><dv>-5.7075000000000005</dv></dec><glng>93.75</glng><glat>-65.93</glat><vmag>4.61</vmag><spec>K0IIIbCN-0.5</spec></star><star><hr>4</hr><constellation>Peg</constellation><fullname>86    Peg</fullname><ra><h>00</h><m>05</m><s>42.0</s><dv>0.095</dv></ra><dec><sgn/><d>13</d><m>23</m><s>46</s><dv>13.39611111111111</dv></dec><glng>106.19</glng><glat>-47.98</glat><vmag>5.51</vmag><spec>G5III</spec></star><star><hr>5</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>16.0</s><dv>0.10444444444444445</dv></ra><dec><sgn/><d>58</d><m>26</m><s>12</s><dv>58.43666666666666</dv></dec><glng>117.03</glng><glat>-03.92</glat><vmag>5.96</vmag><spec>G5V</spec></star><star><hr>6</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>19.0</s><dv>0.10527777777777779</dv></ra><dec><sgn>-</sgn><d>49</d><m>04</m><s>30</s><dv>-49.075</dv></dec><glng>321.61</glng><glat>-66.38</glat><vmag>5.70</vmag><spec>G1IV</spec></star><star><hr>7</hr><constellation>Cas</constellation><fullname>10    Cas</fullname><ra><h>00</h><m>06</m><s>26.5</s><dv>0.10736111111111112</dv></ra><dec><sgn/><d>64</d><m>11</m><s>46</s><dv>64.19611111111111</dv></dec><glng>118.06</glng><glat>1.75</glat><vmag>5.59</vmag><spec>B9III</spec></star><star><hr>8</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>36.8</s><dv>0.11022222222222222</dv></ra><dec><sgn/><d>29</d><m>01</m><s>17</s><dv>29.02138888888889</dv></dec><glng>111.26</glng><glat>-32.83</glat><vmag>6.13</vmag><spec>K0V</spec></star><star><hr>9</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>50.1</s><dv>0.11391666666666667</dv></ra><dec><sgn>-</sgn><d>23</d><m>06</m><s>27</s><dv>-23.1075</dv></dec><glng>52.21</glng><glat>-79.14</glat><vmag>6.18</vmag><spec>A7V</spec></star><star><hr>10</hr><constellation/><fullname/><ra><h>00</h><m>07</m><s>18.2</s><dv>0.12172222222222222</dv></ra><dec><sgn>-</sgn><d>17</d><m>23</m><s>11</s><dv>-17.386388888888888</dv></dec><glng>74.36</glng><glat>-75.90</glat><vmag>6.19</vmag><spec>A6Vn</spec></star></stardb>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/catalog.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,122 @@
+<xs:schema 
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://www.astro.com/astro" 
+    xmlns:astro="http://www.astro.com/astro"
+    elementFormDefault="qualified"
+    attributeFormDefault="qualified"
+>
+    <!-- Star Identification String Type  -->
+    <xs:simpleType name="staridType">
+	<xs:restriction base="xs:string">
+	    <xs:maxLength value="4"/>
+	</xs:restriction>
+    </xs:simpleType>
+
+    <!-- Hour Type -->
+    <xs:simpleType name="hourType">
+	<xs:restriction base="xs:decimal">
+	    <xs:minInclusive value="0.0"/>
+	    <xs:maxInclusive value="24.0"/>
+	</xs:restriction>
+    </xs:simpleType>
+
+    <!-- Minute Type -->
+    <xs:simpleType name="minuteType">
+	<xs:restriction base="xs:decimal">
+	    <xs:minInclusive value="0.0"/>
+	    <xs:maxInclusive value="60.0"/>
+	</xs:restriction>
+    </xs:simpleType>
+
+    <!-- Second Type -->
+    <xs:simpleType name="secondType">
+	<xs:restriction base="xs:decimal">
+	    <xs:minInclusive value="0.0"/>
+	    <xs:maxInclusive value="60.0"/>
+	</xs:restriction>
+    </xs:simpleType>
+
+    <xs:simpleType name="decimalValueType">
+	<xs:restriction base="xs:decimal">
+	</xs:restriction>
+    </xs:simpleType> 
+
+    <xs:simpleType name="degType">
+	<xs:restriction base="xs:decimal">
+	    <xs:minInclusive value="-90.0"/>
+	    <xs:maxInclusive value="90.0"/>
+	</xs:restriction>
+    </xs:simpleType> 
+
+    <xs:simpleType name="vmagType">
+	<xs:restriction base="xs:decimal">
+	    <xs:minInclusive value="-3.0"/>
+	    <xs:maxInclusive value="12.0"/>
+	</xs:restriction>
+    </xs:simpleType> 
+
+
+    <xs:simpleType name="signType">
+	<xs:restriction base="xs:string">
+	    <xs:enumeration value="+"/>
+	    <xs:enumeration value="-"/>
+	    <xs:enumeration value=""/>
+	</xs:restriction>
+    </xs:simpleType> 
+
+    <xs:complexType name="raType">
+	<xs:sequence>
+	    <xs:element name="h"  type="astro:hourType"/>
+	    <xs:element name="m"  type="astro:minuteType"/>
+	    <xs:element name="s"  type="astro:secondType"/>
+	    <xs:element name="dv" type="astro:decimalValueType"/>
+	</xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="decType">
+	<xs:sequence>
+	    <xs:element name="sgn" type="astro:signType"/>
+	    <xs:element name="d"   type="astro:degType"/>
+	    <xs:element name="m"   type="astro:minuteType"/>
+	    <xs:element name="s"   type="astro:secondType"/>
+	    <xs:element name="dv"  type="astro:decimalValueType"/>
+	</xs:sequence>
+    </xs:complexType>
+
+
+    <xs:complexType name="starType">
+	<xs:sequence>
+	    <xs:element name="hr"            type="astro:staridType"/>
+	    <xs:element name="constellation" type="xs:string"/>
+	    <xs:element name="fullname"      type="xs:string"/>
+	    <xs:element name="ra"            type="astro:raType"/>
+	    <xs:element name="dec"           type="astro:decType"/>
+	    <xs:element name="glng"          type="xs:decimal"/>
+	    <xs:element name="glat"          type="xs:decimal"/>
+	    <xs:element name="vmag"          type="astro:vmagType"/>
+	    <xs:element name="spec"          type="xs:string"/>
+	</xs:sequence>
+    </xs:complexType>
+
+
+    <!-- The real part of the catalog starts here -->
+    <xs:element name="stardb">
+       <xs:complexType>
+          <xs:sequence>
+
+	     <!-- for testing purposes -->
+	     <xs:element name="_test01" type="xs:string"
+		minOccurs="0" maxOccurs="1"/>
+	     <xs:element name="test-02" type="xs:string"/>
+	     <xs:element name="test.03" type="xs:string"/>
+	     <xs:element name="_test-04" type="xs:string"/>
+
+	     <!-- astro data elements -->
+             <xs:element name="star" type="astro:starType"
+	        minOccurs="0" maxOccurs="unbounded"/>
+          </xs:sequence>
+       </xs:complexType>
+    </xs:element>
+    <!-- The real part of the catalog ends here -->
+
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/catalog_10.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<stardb xmlns="http://www.astro.com/astro" xmlns:astro="http://www.astro.com/astro" xsi:schemaLocation="http://www.astro.com/astro catalog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><_test01></_test01><test-02></test-02><test.03></test.03><_test-04>T%e!s#t$</_test-04><star><hr>1</hr><constellation/><fullname/><ra><h>00</h><m>05</m><s>09.9</s><dv>0.08608333333333333</dv></ra><dec><sgn/><d>45</d><m>13</m><s>45</s><dv>45.22916666666667</dv></dec><glng>114.44</glng><glat>-16.88</glat><vmag>6.70</vmag><spec>A1Vn</spec></star><star><hr>2</hr><constellation/><fullname/><ra><h>00</h><m>05</m><s>03.8</s><dv>0.08438888888888889</dv></ra><dec><sgn>-</sgn><d>00</d><m>30</m><s>11</s><dv>-0.5030555555555556</dv></dec><glng>98.33</glng><glat>-61.14</glat><vmag>6.29</vmag><spec>gG9</spec></star><star><hr>3</hr><constellation>Psc</constellation><fullname>33    Psc</fullname><ra><h>00</h><m>05</m><s>20.1</s><dv>0.08891666666666666</dv></ra><dec><sgn>-</sgn><d>05</d><m>42</m><s>27</s><dv>-5.7075000000000005</dv></dec><glng>93.75</glng><glat>-65.93</glat><vmag>4.61</vmag><spec>K0IIIbCN-0.5</spec></star><star><hr>4</hr><constellation>Peg</constellation><fullname>86    Peg</fullname><ra><h>00</h><m>05</m><s>42.0</s><dv>0.095</dv></ra><dec><sgn/><d>13</d><m>23</m><s>46</s><dv>13.39611111111111</dv></dec><glng>106.19</glng><glat>-47.98</glat><vmag>5.51</vmag><spec>G5III</spec></star><star><hr>5</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>16.0</s><dv>0.10444444444444445</dv></ra><dec><sgn/><d>58</d><m>26</m><s>12</s><dv>58.43666666666666</dv></dec><glng>117.03</glng><glat>-03.92</glat><vmag>5.96</vmag><spec>G5V</spec></star><star><hr>6</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>19.0</s><dv>0.10527777777777779</dv></ra><dec><sgn>-</sgn><d>49</d><m>04</m><s>30</s><dv>-49.075</dv></dec><glng>321.61</glng><glat>-66.38</glat><vmag>5.70</vmag><spec>G1IV</spec></star><star><hr>7</hr><constellation>Cas</constellation><fullname>10    Cas</fullname><ra><h>00</h><m>06</m><s>26.5</s><dv>0.10736111111111112</dv></ra><dec><sgn/><d>64</d><m>11</m><s>46</s><dv>64.19611111111111</dv></dec><glng>118.06</glng><glat>1.75</glat><vmag>5.59</vmag><spec>B9III</spec></star><star><hr>8</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>36.8</s><dv>0.11022222222222222</dv></ra><dec><sgn/><d>29</d><m>01</m><s>17</s><dv>29.02138888888889</dv></dec><glng>111.26</glng><glat>-32.83</glat><vmag>6.13</vmag><spec>K0V</spec></star><star><hr>9</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>50.1</s><dv>0.11391666666666667</dv></ra><dec><sgn>-</sgn><d>23</d><m>06</m><s>27</s><dv>-23.1075</dv></dec><glng>52.21</glng><glat>-79.14</glat><vmag>6.18</vmag><spec>A7V</spec></star><star><hr>10</hr><constellation/><fullname/><ra><h>00</h><m>07</m><s>18.2</s><dv>0.12172222222222222</dv></ra><dec><sgn>-</sgn><d>17</d><m>23</m><s>11</s><dv>-17.386388888888888</dv></dec><glng>74.36</glng><glat>-75.90</glat><vmag>6.19</vmag><spec>A6Vn</spec></star></stardb>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/config.dtd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<!ELEMENT config (subConfig)*>
+<!ATTLIST config type CDATA #REQUIRED>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/config.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE configDescription SYSTEM "config.dtd">
+<config type="key1">
+</config>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/default-layout.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,280 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+	xmlns:m="http://msqr.us/xsd/matte"
+	xmlns:x="http://msqr.us/xsd/jaxb-web"
+	exclude-result-prefixes="m x">
+
+	<xsl:import href="global.xsl"/>
+	
+	<xsl:output method="xml" omit-xml-declaration="no" 
+		doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" 
+		doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
+		media-type="text/xml"/>
+    
+	<!-- 
+		Layout Stylesheet
+		
+		This stylesheet is not designed to be used directly, rather it should be 
+		imported or included into another stylesheet. That stylesheet must define
+		the following variables:
+		
+		layout.global.nav.page: the current global nav page
+		
+		The layout of this template is as roughly as follows:
+		
+		+============================================================+
+		| PAGE-HEAD-CONTENT, PAGE-BODY-CLASS                         |
+		+============================================================+
+		| PAGE-TITLE                                 PAGE-GLOBAL-NAV |
+		| - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  |
+		| PAGE-SUB-NAV-DATA                             PAGE-SUB-NAV |
+		| - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  |
+		| PAGE-BODY                                                  |
+		|                                                            |
+		| PAGE-FOOTER                                                |
+		+============================================================+
+		
+		Thus implementing stylesheets should define templates that match 
+		the x:x-data element for the mode of the elements outlined 
+		above (the modes should be lower-case). This stylesheet does 
+		provide defaults for some of these elements, so to override 
+		those defaults you must import this stylesheet rather than 
+		include it.
+	-->
+	<xsl:template match="x:x-data">
+		<xsl:variable name="layout.page.title">
+			<xsl:apply-templates select="." mode="page-title"/>
+		</xsl:variable>
+		<xsl:variable name="layout.body.class">
+			<xsl:apply-templates select="." mode="page-body-class"/>
+		</xsl:variable>
+		<!--html xmlns="http://www.w3.org/1999/xhtml"-->
+		<html>
+			<head>
+				<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+				<title><xsl:value-of select="$layout.page.title"/></title>
+				<link rel="stylesheet" type="text/css" href="{$web-context}/css/matte-global.css" media="screen,print"/>
+				<script type="text/javascript" src="{$web-context}/js/sniff.js"><xsl:text> </xsl:text></script>
+				<script type="text/javascript" src="{$web-context}/js/prototype.js"><xsl:text> </xsl:text></script>
+				<script type="text/javascript" src="{$web-context}/js/behaviour.js"><xsl:text> </xsl:text></script>
+				<script type="text/javascript" src="{$web-context}/js/scriptaculous.js"><xsl:text> </xsl:text></script>
+				<script type="text/javascript" src="{$web-context}/js/xslt/misc.js"><xsl:text> </xsl:text></script>
+				<script type="text/javascript" src="{$web-context}/js/xslt/dom.js"><xsl:text> </xsl:text></script>
+				<script type="text/javascript" src="{$web-context}/js/xslt/xpath.js"><xsl:text> </xsl:text></script>
+				<script type="text/javascript" src="{$web-context}/js/xpath.js"><xsl:text> </xsl:text></script>
+				<script id="matte-classes-js" type="text/javascript" src="{$web-context}/js/matte-classes.js?context={$web-context}"><xsl:text> </xsl:text></script>
+				<script type="text/javascript" src="{$web-context}/js/matte-global.js"><xsl:text> </xsl:text></script>
+				<script id="locale-js" type="text/javascript" src="{$web-context}/js/matte-locale.js?lang={$ctx/x:user-locale}"><xsl:text> </xsl:text></script>
+				<xsl:apply-templates select="." mode="page-head-content"/>
+			</head>
+			<body>
+				<xsl:if test="string($layout.body.class)">
+					<xsl:attribute name="class">
+						<xsl:value-of select="$layout.body.class"/>
+					</xsl:attribute>
+				</xsl:if>
+				
+				<h1><xsl:value-of select="$layout.page.title"/></h1>
+                
+				<xsl:apply-templates select="." mode="page-main-nav"/>
+				
+				<!-- Only output the sub-nav <div> if some content is generated for it -->
+				<xsl:variable name="layout.page.sub.nav">
+					<xsl:apply-templates select="." mode="page-sub-nav"/>
+				</xsl:variable>
+				<xsl:if test="string($layout.page.sub.nav)">
+					<div id="sub-nav">
+						<xsl:copy-of select="$layout.page.sub.nav"/>
+					</div>
+				</xsl:if>
+				
+				<!-- Only output the sub-nav-data <div> if some content is generated for it -->
+				<xsl:variable name="layout.page.sub.nav.data">
+					<xsl:apply-templates select="." mode="page-sub-nav-data"/>
+				</xsl:variable>
+				<xsl:if test="string($layout.page.sub.nav.data)">
+					<div id="sub-nav-data">
+						<xsl:copy-of select="$layout.page.sub.nav.data"/>
+					</div>
+				</xsl:if>
+				
+				<xsl:call-template name="error-intro">
+					<xsl:with-param name="errors-node" select="x:x-errors"/>
+				</xsl:call-template>
+
+                <xsl:apply-templates select="." mode="page-body"/>
+                
+			</body>
+		</html>
+	</xsl:template>
+
+	<!-- 
+		PAGE-TITLE
+		
+		Render the browser page title as well as the main heading. This should 
+		return a simple string, without any markup.
+	-->
+	<xsl:template match="x:x-data" mode="page-title">
+		<xsl:value-of select="key('i18n','title')"/>
+	</xsl:template>
+	
+	<!--
+		PAGE-MAIN-NAV
+		
+		Default implementation: calls "global-nav" template with $page = 'home'.
+	-->
+	<xsl:template match="x:x-data" mode="page-main-nav">
+		<xsl:call-template name="main-nav">
+			<xsl:with-param name="page" select="'home'"/>
+		</xsl:call-template>
+	</xsl:template>
+	
+	<!--
+		MAIN-NAV
+		
+		Global vars:
+		acting-user: the logged in user, if logged in
+		web-context: the web context
+	-->
+	<xsl:template name="main-nav">
+		<xsl:param name="page"/>
+		<div id="main-nav">
+			<xsl:if test="$acting-user">
+				<xsl:choose>
+					<xsl:when test="$page = 'home'">
+						<xsl:value-of select="key('i18n','link.home')"/>
+					</xsl:when>
+					<xsl:otherwise>
+						<a href="{$web-context}/home.do" title="{key('i18n','link.home.title')}"
+							alt="{key('i18n','link.home.title')}">
+							<xsl:value-of select="key('i18n','link.home')"/>
+						</a>
+					</xsl:otherwise>
+				</xsl:choose>
+				<xsl:text> - </xsl:text>
+				<xsl:choose>
+					<xsl:when test="$page = 'upload'">
+						<xsl:value-of select="key('i18n','link.upload')"/>
+					</xsl:when>
+					<xsl:otherwise>
+						<a href="{$web-context}/add.do" title="{key('i18n','link.upload.title')}"
+							alt="{key('i18n','link.upload')}">
+							<xsl:attribute name="href">
+								<xsl:value-of select="$web-context"/>
+								<xsl:text>/add.do</xsl:text>
+								<xsl:if test="/x:x-data/x:x-request/x:param[@key='collectionId']">
+									<xsl:text>?collectionId=</xsl:text>
+									<xsl:value-of select="/x:x-data/x:x-request/x:param[@key='collectionId']"/>
+								</xsl:if>
+							</xsl:attribute>
+							<xsl:value-of select="key('i18n','link.upload')"/>
+						</a>
+					</xsl:otherwise>
+				</xsl:choose>
+				<!--xsl:text> - </xsl:text>
+				<xsl:choose>
+					<xsl:when test="$page = 'search'">
+						<xsl:value-of select="key('i18n','link.search')"/>
+					</xsl:when>
+					<xsl:otherwise>
+						<a href="{$web-context}/search.do" title="{key('i18n','link.search.title')}"
+							alt="{key('i18n','link.search.title')}">
+							<xsl:value-of select="key('i18n','link.search')"/>
+						</a>
+					</xsl:otherwise>
+				</xsl:choose>
+				<xsl:text> - </xsl:text>
+				<xsl:choose>
+					<xsl:when test="$page = 'settings'">
+						<xsl:value-of select="key('i18n','link.settings')"/>
+					</xsl:when>
+					<xsl:otherwise>
+						<a href="{$web-context}/settings.do" title="{key('i18n','link.settings.title')}"
+							alt="{key('i18n','link.settings.title')}">
+							<xsl:value-of select="key('i18n','link.settings')"/>
+						</a>
+					</xsl:otherwise>
+				</xsl:choose>
+				<xsl:text> - </xsl:text>
+				<xsl:choose>
+					<xsl:when test="$page = 'themes'">
+						<xsl:value-of select="key('i18n','link.themes')"/>
+					</xsl:when>
+					<xsl:otherwise>
+						<a href="{$web-context}/themes.do" title="{key('i18n','link.themes.title')}"
+							alt="{key('i18n','link.themes.title')}">
+							<xsl:value-of select="key('i18n','link.themes')"/>
+						</a>
+					</xsl:otherwise>
+				</xsl:choose-->
+			</xsl:if>
+			<xsl:if test="$acting-user">
+				<xsl:text> - </xsl:text>
+			</xsl:if>
+			<xsl:choose>
+				<xsl:when test="$acting-user">
+					<xsl:if test="$acting-user/../@admin = 'true'">
+						<xsl:choose>
+							<xsl:when test="$page = 'admin'">
+								<xsl:value-of select="key('i18n','link.admin')"/>
+							</xsl:when>
+							<xsl:otherwise>
+								<a href="{$web-context}/admin.do" title="{key('i18n','link.admin.title')}">
+									<xsl:value-of select="key('i18n','link.admin')"/>
+								</a>
+							</xsl:otherwise>
+						</xsl:choose>
+						<xsl:text> - </xsl:text>
+					</xsl:if>
+					<a href="{$web-context}/logoff.do" title="{key('i18n','link.logout.title')}">
+						<xsl:value-of select="key('i18n','link.logout')"/>
+					</a>
+					<xsl:text> (</xsl:text>
+					<xsl:value-of select="$acting-user/@name"/>
+					<xsl:text>)</xsl:text>
+				</xsl:when>
+				<xsl:when test="$page = 'logon'">
+					<xsl:value-of select="key('i18n','link.logon')"/>
+				</xsl:when>
+				<xsl:otherwise>
+					<a href="{$web-context}/logon.do" title="{key('i18n','link.logon.title')}">
+						<xsl:value-of select="key('i18n','link.logon')"/>
+					</a>
+				</xsl:otherwise>
+			</xsl:choose>
+		</div>
+	</xsl:template>
+	
+	<!--
+		PAGE-HEAD-CONTENT (empty implementation)
+		
+		Can be used to insert more links (CSS, JavaScript) into <head> section.
+	-->
+	<xsl:template match="x:x-data" mode="page-head-content"/>
+	
+	<!--
+		PAGE-SUB-NAV (empty implementation)
+	-->
+	<xsl:template match="x:x-data" mode="page-sub-nav"/>
+	
+	<!--
+		PAGE-SUB-NAV-DATA (empty implementation)
+	-->
+	<xsl:template match="x:x-data" mode="page-sub-nav-data"/>
+	
+	<!-- 
+		PAGE-BODY-CLASS
+		
+		Add a "class" attribute to the <body> tag. Default implementation 
+		does not specify any value, so no class attribute added.
+	-->
+	<xsl:template match="x:x-data" mode="page-body-class"/>
+	
+	<!--
+		PAGE-BODY (empty implementation)
+		
+		Main page content.
+	-->
+	<xsl:template match="x:x-data" mode="page-body"/>
+	
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/global-variables.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:m="http://msqr.us/xsd/matte"
+	xmlns:x="http://msqr.us/xsd/jaxb-web"
+	version="1.0">
+
+	<!-- standard data vars -->
+	<xsl:variable name="aux" select="x:x-data/x:x-auxillary"/>
+	<xsl:variable name="ctx" select="x:x-data/x:x-context"/>
+	<xsl:variable name="err" select="x:x-data/x:x-errors/x:error[@field]"/>
+	<xsl:variable name="req" select="x:x-data/x:x-request/x:param"/>
+	<xsl:variable name="ses" select="x:x-data/x:x-session"/>
+	
+	<!-- helper vars -->
+	<xsl:variable name="acting-user" select="x:x-data/x:x-session[1]/m:session[1]/m:acting-user[1]"/>
+	<xsl:variable name="server-name" select="string($ctx/x:server-name)"/>
+	<xsl:variable name="server-port" select="string($ctx/x:server-port)"/>
+	<xsl:variable name="user-locale" select="string($ctx/x:user-locale)"/>
+	<xsl:variable name="web-context" select="string($ctx/x:web-context)"/>
+	<xsl:variable name="web-path" select="string($ctx/x:path)"/>
+	
+	<!-- application context defined as key for quick lookup -->
+	<xsl:key name="appenv" match="x:x-data/x:x-auxillary/m:app-context/m:meta" use="@key"/>
+	
+	<!-- auxillaray params defined as key for quick lookup -->
+	<xsl:key name="aux-param" match="x:x-data/x:x-auxillary/x:x-param" use="@key"/>
+	
+	<!-- message resource bundle defined as key for quick lookup -->
+	<xsl:key name="i18n" match="x:x-data/x:x-msg/x:msg" use="@key"/>
+	
+	<!-- request params defined as key for quick lookup -->
+	<xsl:key name="req-param" match="x:x-data/x:x-request/x:param" use="@key"/>
+	
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/global.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,272 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:m="http://msqr.us/xsd/matte"
+	xmlns:x="http://msqr.us/xsd/jaxb-web"
+	exclude-result-prefixes="m x">
+	
+	<xsl:import href="global-variables.xsl"/>
+	<xsl:import href="util.xsl"/>
+	
+	<!-- 
+		Generate <div> with error messages, if errors present.
+		
+		@param errors-node the x:errors element (optional)
+	  -->
+ 	<xsl:template name="error-intro">
+ 		<xsl:param name="errors-node" select="/x:x-data/x:x-errors"/>
+		<xsl:if test="$errors-node/x:error">
+			<div class="error-intro">
+				<xsl:if test="$errors-node/x:error[not(@field)]">
+					<!--<xsl:value-of select="$messages[@key='global.error.intro']"/>
+					<xsl:text> </xsl:text>-->
+					<xsl:apply-templates select="$errors-node/x:error[not(@field)]"/>
+				</xsl:if>
+				<xsl:if test="$errors-node/x:error[@field]">
+					<xsl:value-of select="key('i18n','field.error.intro')"/>
+					<ul>
+						<xsl:for-each select="$errors-node/x:error[@field]">
+							<li><xsl:value-of select="."/></li>
+						</xsl:for-each>
+					</ul>
+				</xsl:if>
+			</div>
+		</xsl:if>
+	</xsl:template>
+	
+	<!--
+		Generate a server URL, eg. http://myhost
+	 -->
+	<xsl:template name="server-url">
+		<xsl:variable name="port" select="$ctx/x:server-port"/>
+		<xsl:text>http</xsl:text>
+		<xsl:if test="$port = '443'">
+			<xsl:text>s</xsl:text>
+		</xsl:if>
+		<xsl:text>://</xsl:text>
+		<xsl:value-of select="$ctx/x:server-name"/>
+		<xsl:if test="$port != '80' and $port != '443'">
+			<xsl:text>:</xsl:text>
+			<xsl:value-of select="$port"/>
+		</xsl:if>
+	</xsl:template>
+
+	<!--
+		Generate the public absolute URL for viewing an album.
+	  -->
+	<xsl:template match="m:album" mode="view.album.absolute.url">
+		<xsl:call-template name="server-url"/>
+		<xsl:apply-templates select="." mode="view.album.relative.url"/>
+	</xsl:template>
+	
+	<!--
+		Generate the public relative URL for viewing an album.
+	-->
+	<xsl:template match="m:album" mode="view.album.relative.url">
+		<xsl:value-of select="$web-context"/>
+		<xsl:text>/album.do?key=</xsl:text>
+		<xsl:value-of select="@anonymous-key"/>
+	</xsl:template>
+	
+
+	<!--
+		Named Template: render-media-server-url
+		
+		Generate the URL for an image for the MediaServer server. For example:
+		
+		render-media-server-url(item = $MediaItem{id = 1565}, quality = 'GOOD', size = 'THUMB_NORMAL')
+		
+		=> media.do?id=1565&size=THUMB_NORMAL&quality=GOOD
+		
+		Parameters:
+		item - a MediaItem node
+		quality (opt) - value to use for the MediaServer quality parameter
+		size (opt) - value to use for the MediaServer size parameter
+		download (opt) - if set, add download=true flag
+		album-key (opt) - if set and original = true, then add for original downloading
+		original (opt) - if set, then generate URL for downloading original media
+		web-context - the web context
+	-->
+	<xsl:template name="render-media-server-url">
+		<xsl:param name="item"/>
+		<xsl:param name="quality"/>
+		<xsl:param name="size"/>
+		<xsl:param name="download"/>
+		<xsl:param name="album-key"/>
+		<xsl:param name="original"/>
+		<xsl:param name="web-context"/>
+		
+		<xsl:value-of select="$web-context"/>
+		<xsl:text>/media.do?id=</xsl:text>
+		<xsl:value-of select="$item/@item-id"/>
+		<xsl:if test="$album-key">
+			<xsl:text>&amp;albumKey=</xsl:text>
+			<xsl:value-of select="$album-key"/>
+		</xsl:if>
+		<xsl:choose>
+			<xsl:when test="$original">
+				<xsl:text>&amp;original=true</xsl:text>
+			</xsl:when>
+			<xsl:otherwise>
+				<xsl:text>&amp;size=</xsl:text>
+				<xsl:value-of select="$size"/>
+				<xsl:if test="$quality">
+					<xsl:text>&amp;quality=</xsl:text>
+					<xsl:value-of select="$quality"/>
+				</xsl:if>
+			</xsl:otherwise>
+		</xsl:choose>
+		<xsl:if test="$download">
+			<xsl:text>&amp;download=true</xsl:text>
+		</xsl:if>
+	</xsl:template>
+
+
+	<!--
+		Named Template: render-view-album-url
+		
+		Generate the URL for viewing a public album.
+		
+		=> /viewAlbum.do?key=ABC
+		
+		Parameters:
+		album - an Album
+		web-context - the web context
+		item-id - (opt) the ID of an item to display
+	-->
+	<xsl:template name="render-shared-album-url">
+		<xsl:param name="album"/>
+		<xsl:param name="web-context"/>
+		<xsl:param name="item-id"/>
+		<xsl:value-of select="$web-context"/>
+		<xsl:text>/album.do?key=</xsl:text>
+		<xsl:value-of select="$album/@anonymous-key"/>
+		<xsl:if test="$item-id">
+			<xsl:text>&amp;itemId=</xsl:text>
+			<xsl:value-of select="$item-id"/>
+		</xsl:if>
+	</xsl:template>
+
+	<!--
+		Named Template: render-file-size
+		
+		Generate text representation of the size of a file. For example:
+		
+		render-file-size(size = 14875) => 14.53 KB
+		
+		Parameters:
+		size - an integer, assumed to be the number of bytes of the file
+	-->
+	<xsl:template name="render-file-size">
+		<xsl:param name="size"/>
+		<xsl:choose>
+			<xsl:when test="$size &gt; 1048576">
+				<xsl:value-of select="format-number($size div 1048576,'#,##0.##')"/>
+				<xsl:text> MB</xsl:text>
+			</xsl:when>
+			<xsl:when test="$size &gt; 1024">
+				<xsl:value-of select="format-number($size div 1024,'#,##0.##')"/>
+				<xsl:text> KB</xsl:text>
+			</xsl:when>
+			<xsl:otherwise>
+				<xsl:value-of select="format-number($size div 1024,'#,##0')"/>
+				<xsl:text> bytes</xsl:text>
+			</xsl:otherwise>
+		</xsl:choose>
+	</xsl:template>
+
+	<!--
+		Named Template: render-download-album-url
+		
+		Generate the URL to download an album.
+		
+		Parameters:
+		key - the album anonymous key
+		albumId - (optional) the album ID
+		orig - if true, download original media items
+	-->
+	<xsl:template name="render-download-album-url">
+		<xsl:param name="quality"/>
+		<xsl:param name="size"/>
+		<xsl:param name="download"/>
+		<xsl:param name="album-key"/>
+		<xsl:param name="original"/>
+		<xsl:param name="web-context"/>
+		<xsl:value-of select="$web-context"/>
+		
+		<xsl:text>/downloadAlbum.do?albumKey=</xsl:text>
+		<xsl:value-of select="$album-key"/>
+		<xsl:choose>
+			<xsl:when test="$original">
+				<xsl:text>&amp;original=true</xsl:text>
+			</xsl:when>
+			<xsl:otherwise>
+				<xsl:if test="$size">
+					<xsl:text>&amp;size=</xsl:text>
+					<xsl:value-of select="$size"/>
+				</xsl:if>
+				<xsl:if test="$quality">
+					<xsl:text>&amp;quality=</xsl:text>
+					<xsl:value-of select="$quality"/>
+				</xsl:if>
+			</xsl:otherwise>
+		</xsl:choose>
+	</xsl:template>
+	
+	<!--
+		Named Template: render-i18n-options
+		
+		Render a set of <option> elements for a list of items, 
+		using i18n keys for the display values.
+		
+		Parameters:
+		content-key-prefix: the prefix for the i18n key values, to prepend to 
+		                    each item in the value-list
+		value-list:         a comma-delimited list of key values
+		selected-value:     the value to mark as selected
+	-->
+	<xsl:template name="render-i18n-options">
+		<xsl:param name="content-key-prefix"/>
+		<xsl:param name="selected-value"/>
+		<xsl:param name="value-list"/>
+		
+		<xsl:variable name="first" select="substring-before($value-list,',')"/>
+		<xsl:variable name="rest" select="substring-after($value-list,',')"/>
+		
+		<option value="{$first}">
+			<xsl:if test="$first = $selected-value">
+				<xsl:attribute name="selected">selected</xsl:attribute>
+			</xsl:if>
+			<xsl:value-of select="key('i18n',concat($content-key-prefix,$first))"/>
+		</option>
+		
+		<xsl:if test="$rest">
+			<xsl:call-template name="render-i18n-options">
+				<xsl:with-param name="selected-value" select="$selected-value"/>
+				<xsl:with-param name="value-list" select="$rest"/>
+				<xsl:with-param name="content-key-prefix" select="$content-key-prefix"/>
+			</xsl:call-template>
+		</xsl:if>
+		
+	</xsl:template>
+	
+	<xsl:template name="render-id3-genre">
+		<xsl:param name="genre"/>
+		<xsl:choose>
+			<xsl:when test="starts-with($genre,'(')">
+				<xsl:variable name="code" select="concat('id3.',substring-before(substring-after($genre,'('),')'))"/>
+				<xsl:choose>
+					<xsl:when test="key('i18n',$code)">
+						<xsl:value-of select="key('i18n',$code)"/>
+					</xsl:when>
+					<xsl:otherwise>
+						<xsl:value-of select="$genre"/>
+					</xsl:otherwise>
+				</xsl:choose>
+			</xsl:when>
+			<xsl:otherwise>
+				<xsl:value-of select="$genre"/>
+			</xsl:otherwise>
+		</xsl:choose>
+	</xsl:template>
+		
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/home.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,514 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:m="http://msqr.us/xsd/matte"
+	xmlns:x="http://msqr.us/xsd/jaxb-web"
+	xmlns:date="http://exslt.org/dates-and-times"
+	exclude-result-prefixes="m x date">
+	
+	<!-- imports -->
+	<xsl:import href="default-layout.xsl"/>
+        
+        <!-- auxillaray params defined as key for quick lookup -->
+	<xsl:key name="aux-param" match="x:x-data/x:x-auxillary/x:x-param" use="@key"/>
+	
+	<!-- Selected items -->
+	<xsl:variable name="display.items" select="x:x-data/x:x-model/m:model/m:item"/>
+	
+	<!-- Are there any items to display? -->
+	<xsl:variable name="display.items.count" select="count($display.items)"/>
+	
+	<!-- Selected Collection -->
+	<xsl:variable name="display.collection.id" select="x:x-data/x:x-request/x:param[@key='collectionId']"/>
+	<xsl:variable name="display.collection" select="x:x-data/x:x-model/m:model/m:collection[@collection-id = $display.collection.id]"/>
+	
+	<!-- Selected Album -->
+	<xsl:variable name="display.album.id" select="x:x-data/x:x-request/x:param[@key='albumId']"/>
+	<xsl:variable name="display.album" select="x:x-data/x:x-model/m:model/m:album[@album-id = $display.album.id]"/>
+	
+	<!-- Alert message, work ticket -->
+	<xsl:variable name="alert.message" select="x:x-data/x:x-messages[1]/x:msg[1]"/>
+	<xsl:variable name="work.ticket">
+		<xsl:choose>
+			<xsl:when test="key('aux-param','work.ticket')">
+				<xsl:value-of select="'aux-param'"/>
+			</xsl:when>
+			<xsl:when test="key('req-param','work.ticket')">
+				<xsl:value-of select="'req-param'"/>
+			</xsl:when>
+		</xsl:choose>
+	</xsl:variable>
+	
+	<!-- MediaSpec -->
+	<xsl:variable name="mediaspec.thumb" select="$acting-user/m:thumbnail-setting"/>
+	<xsl:variable name="mediaspec.view" select="$acting-user/m:view-setting"/>
+	
+	<xsl:template match="x:x-data" mode="page-head-content">
+		<link rel="stylesheet" type="text/css" href="{$web-context}/css/listmenu.css" media="screen"><xsl:text> </xsl:text></link>
+		<script type="text/javascript" src="{$web-context}/js/fsmenu.js"><xsl:text> </xsl:text></script>
+		<script type="text/javascript" src="{$web-context}/js/date.js"><xsl:text> </xsl:text></script>
+		<script id="behaviour-js" type="text/javascript" src="{$web-context}/js/matte-behaviours.js"><xsl:text> </xsl:text></script>
+		<script id="app-js" type="text/javascript" xml:space="preserve">
+			var APP_INFO = new Object();
+			
+			<xsl:if test="string-length($work.ticket) &gt; 0">
+				APP_INFO.workTicket = <xsl:value-of 
+					select="key($work.ticket,'work.ticket')"/>;
+				APP_INFO.workDisplayName = "<xsl:value-of 
+					select="key($work.ticket,'work.displayName')"/>";
+				APP_INFO.workSubmitTime = "<xsl:value-of 
+					select="key($work.ticket,'work.submitTime')"/>";
+				APP_INFO.workCompleted = <xsl:value-of 
+					select="key($work.ticket,'work.completed')"/>;
+				APP_INFO.workMessage = "<xsl:value-of 
+					select="key($work.ticket,'work.message')"/>";
+			</xsl:if>
+
+			<xsl:if test="$alert.message">
+				APP_INFO.alertMessage = "<xsl:value-of select="$alert.message"/>";
+			</xsl:if>
+			<xsl:if test="$display.collection.id">
+				APP_INFO.displayCollectionId = <xsl:value-of select="$display.collection.id"/>;
+			</xsl:if>
+			<xsl:if test="$display.album.id">
+				APP_INFO.displayAlbumId = <xsl:value-of select="$display.album.id"/>;
+			</xsl:if>
+			APP_INFO.thumbSpec = {
+				size : "<xsl:value-of select="$mediaspec.thumb/@size"/>",
+				quality : "<xsl:value-of select="$mediaspec.thumb/@quality"/>"};
+			APP_INFO.viewSpec = {
+				size : "<xsl:value-of select="$mediaspec.view/@size"/>",
+				quality : "<xsl:value-of select="$mediaspec.view/@quality"/>"};
+		</script>
+	</xsl:template>
+        
+	<!--xsl:template match="x:x-data" mode="page-body-class">
+		<xsl:if test="$display.items.count = 0">
+			<xsl:text>no-sub-nav</xsl:text>
+		</xsl:if>
+	</xsl:template-->
+	
+	<xsl:template match="x:x-data" mode="page-main-nav">
+		<xsl:call-template name="main-nav">
+			<xsl:with-param name="page" select="'home'"/>
+		</xsl:call-template>
+	</xsl:template>	
+	
+	<xsl:template match="x:x-data" mode="page-sub-nav">
+		<xsl:comment>SUB NAV</xsl:comment>
+		<ul class="menulist" id="listMenuRoot">
+			<li class="action-action">
+				<a href="#"><xsl:value-of select="key('i18n','link.select')"/></a>
+				<ul>
+					<li>
+						<a href="#" title="{key('i18n','link.select.all.title')}"
+								class="link-select-all">
+							<xsl:value-of select="key('i18n','link.select.all')"/>
+						</a>
+					</li>
+					<li>
+						<a href="#" title="{key('i18n','link.select.none.title')}"
+								class="link-select-none">
+							<xsl:value-of select="key('i18n','link.select.none')"/>
+						</a>
+					</li>
+				</ul>
+			</li>
+			<li>
+				<a href="#"><xsl:value-of select="key('i18n','link.actions')"/></a>
+				<ul>
+					<li>
+						<a title="{key('i18n','link.search.items.title')}" href="#" 
+							class="link-search-item">
+							<xsl:value-of select="key('i18n','link.search.items')"/>
+						</a>
+					</li>
+					<li class="action-album">
+						<a title="{key('i18n','link.delete.album.title')}" href="#" 
+								class="link-delete-album">
+							<xsl:value-of select="key('i18n','link.delete.album')"/>
+						</a>
+					</li>
+					<li class="action-album">
+						<a title="{key('i18n','link.share.album.title')}" href="#" 
+							class="link-share-album">
+							<xsl:value-of select="key('i18n','link.share.album')"/>
+						</a>
+					</li>
+					<li class="action-item context-album">
+						<a title="{key('i18n','link.removefrom.album.title')}" href="#" 
+							class="link-removefrom-album">
+							<xsl:value-of select="key('i18n','link.removefrom.album')"/>
+						</a>
+					</li>
+					<li class="action-item context-album">
+						<a title="{key('i18n','link.set.album.poster.title')}" href="#" 
+							class="link-setposter-album">
+							<xsl:value-of select="key('i18n','link.set.album.poster')"/>
+						</a>
+					</li>
+					<li class="action-collection">
+						<a title="{key('i18n','link.upload.collection.title')}" href="#" 
+							class="link-upload-collection">
+							<xsl:value-of select="key('i18n','link.upload.collection')"/>
+						</a>
+					</li>
+					<li class="action-collection">
+						<a title="{key('i18n','link.delete.collection.title')}" href="#" 
+								class="link-delete-collection">
+							<xsl:value-of select="key('i18n','link.delete.collection')"/>
+						</a>
+					</li>
+					<li class="action-item context-collection">
+						<a title="{key('i18n','link.removefrom.collection.title')}" href="#" 
+							class="link-removefrom-collection">
+							<xsl:value-of select="key('i18n','link.removefrom.collection')"/>
+						</a>
+					</li>
+					<li>
+						<a title="{key('i18n','link.new.album.title')}" href="#" 
+								class="link-add-album">
+							<xsl:value-of select="key('i18n','link.new.album')"/>
+						</a>
+					</li>
+					<li class="action-album">
+						<a title="{key('i18n','link.update.album.title')}" href="#" 
+							class="link-update-album">
+							<xsl:value-of select="key('i18n','link.update.album')"/>
+						</a>
+					</li>
+					<li>
+						<a title="{key('i18n','link.new.collection.title')}" href="#" 
+								class="link-add-collection">
+							<xsl:value-of select="key('i18n','link.new.collection')"/>
+						</a>
+					</li>
+					<li class="action-collection">
+						<a title="{key('i18n','link.update.collection.title')}" href="#" 
+							class="link-update-collection">
+							<xsl:value-of select="key('i18n','link.update.collection')"/>
+						</a>
+					</li>
+					<li>
+						<a title="{key('i18n','link.user.prefs.title')}" href="#" 
+							class="link-user-prefs">
+							<xsl:value-of select="key('i18n','link.user.prefs')"/>
+						</a>
+					</li>
+				</ul>
+			</li>
+		</ul>
+		<xsl:if test="$display.items.count != 0">
+			<!-- TODO -->
+		</xsl:if>
+	</xsl:template>	
+	
+	<xsl:template match="x:x-data" mode="page-sub-nav-data">
+		<xsl:text> </xsl:text>
+		<xsl:comment>
+			<xsl:text>sub nav data: collection = [</xsl:text>
+			<xsl:value-of select="$display.collection.id"/>
+			<xsl:text>]; album = [</xsl:text>
+			<xsl:value-of select="$display.album.id"/>
+			<xsl:text>]</xsl:text>
+		</xsl:comment>
+	</xsl:template>	
+	
+	<xsl:template match="x:x-data" mode="page-body">
+		<div id="left-pane">
+			<!--xsl:if test="$display.items.count = 0">
+				<xsl:attribute name="class">
+					<xsl:text>no-sub-nav</xsl:text>
+				</xsl:attribute>
+			</xsl:if-->
+			<img id="left-pane-tab" src="img/left-pane-tab.png" alt="Tab"/>
+			<div id="progress-pane" style="display: none;">
+				<h2><xsl:value-of select="key('i18n','progress.displayName')"/></h2>
+				<ol id="progress-list" class="collapsing">
+					<!-- progress items populate here -->
+				</ol>
+			</div>
+			<div id="info-pane">
+				<h2><xsl:value-of select="key('i18n','info.displayName')"/></h2>
+				<form id="info-form" action="{$web-context}/saveMediaInfo.do" 
+					method="post" class="collapsing">
+					<div class="single">
+						<label for="item-name">
+							<xsl:value-of select="key('i18n','item.name')"/>
+						</label>
+						<input type="text" id="item-name" name="name"/>
+					</div>
+					<div class="single">
+						<label for="item-date">
+							<xsl:value-of select="key('i18n','item.date')"/>
+						</label>
+						<input type="text" id="item-date" name="date"/>
+					</div>
+					<div class="single">
+						<label for="item-comments">
+							<xsl:value-of select="key('i18n','item.comments')"/>
+						</label>
+						<textarea id="item-comments" name="comments">
+							<xsl:text> </xsl:text>
+						</textarea>
+					</div>
+					<div class="single multi">
+						<label for="item-tags"><xsl:value-of select="key('i18n','meta.tags')"/></label>
+						<textarea id="item-tags" name="tags">
+							<xsl:text> </xsl:text>
+						</textarea>
+					</div>
+					<div class="single multi">
+						<label for="item-copyright">
+							<xsl:value-of select="key('i18n','item.copyright')"/>
+						</label>
+						<input type="text" id="item-copyright" name="copyright"/>
+					</div>
+					<div class="submit">
+						<input value="{key('i18n','save.displayName')}" type="submit" />
+					</div>
+					<hr />
+					<div class="single multi">
+						<label for="item-tags">
+							<xsl:value-of select="key('i18n','item.rating')"/>
+						</label>
+						<span class="rating-stars" id="item-rating"/>
+					</div>
+					<div><xsl:comment>This is here to "clear" the floats.</xsl:comment></div>
+				</form>
+			</div>
+			<h2><xsl:value-of select="key('i18n','collections.displayName')"/></h2>
+			<ol id="collection-list" class="collapsing">
+				<xsl:apply-templates select="x:x-model/m:model/m:collection" mode="collection.list"/>
+				<xsl:if test="count(x:x-model/m:model/m:collection) = 0">
+					<xsl:comment>There are no collections.</xsl:comment>
+				</xsl:if>
+			</ol>
+			<h2><xsl:value-of select="key('i18n','albums.displayName')"/></h2>
+			<ol id="album-list" class="collapsing">
+				<xsl:apply-templates select="x:x-model/m:model/m:album" mode="album.list"/>
+				<xsl:if test="count(x:x-model/m:model/m:album) = 0">
+					<xsl:comment>There are no albums.</xsl:comment>
+				</xsl:if>
+			</ol>
+		</div>
+		
+		<div id="search-pane" style="display: none;">
+			<div class="close-x">
+				<span class="alt-hide"><xsl:value-of select="key('i18n','close')"/></span>
+			</div>
+			<form id="search-item-form" action="{$web-context}/find.do" 
+					method="post" class="simple-form">
+				<!--p style="max-width: 300px;">
+					<xsl:value-of select="key('i18n','share.album.intro')"
+						disable-output-escaping="yes"/>
+				</p-->
+				<div>
+					<label for="quick-search">
+						<xsl:value-of select="key('i18n','search.items.quick.displayName')"/>
+					</label>
+					<div>
+						<input type="text" name="quickSearch" id="quick-search"/>
+						<input value="{key('i18n','find.displayName')}" type="submit" />
+					</div>
+				</div>
+				<div><xsl:comment>This is here to "clear" the floats.</xsl:comment></div>
+			</form>
+		</div>
+		
+		<div id="main-pane" class="main-pane-normal">
+			<xsl:comment>main-pane content here</xsl:comment>
+		</div>
+	
+		<div id="message-pane" style="display: none;">
+			<div class="close-x">
+				<span class="alt-hide"><xsl:value-of select="key('i18n','close')"/></span>
+			</div>
+			<div id="message-content-pane" class="message-box">
+				<xsl:text> </xsl:text>
+			</div>
+		</div>
+		
+		<div id="dialog-pane" style="display: none;">
+			<div class="close-x">
+				<span class="alt-hide"><xsl:value-of select="key('i18n','close')"/></span>
+			</div>
+			<div id="dialog-content-pane" class="dialog-box">
+				<xsl:text> </xsl:text>
+			</div>
+		</div>
+		
+		<div id="system-working" style="display: none;">
+			<xsl:value-of select="key('i18n','working.displayName')"/>
+		</div>
+		
+		<div id="ui-elements">
+			<!-- Dialog: delete album form -->
+			<form id="delete-album-form" action="{$web-context}/deleteAlbum.do" method="post" 
+					class="simple-form-validate">
+				<p style="max-width: 300px;">
+					<xsl:value-of select="key('i18n','delete.album.intro')"/>
+				</p>
+				<div>
+					<div class="label"><xsl:value-of select="key('i18n','album.name.displayName')"/></div>
+					<div id="delete-album-name" style="max-width: 240px;">
+						<xsl:value-of select="$display.album/@name"/>
+						<xsl:text> </xsl:text>
+					</div>
+				</div>
+				<div class="submit">
+					<input type="hidden" name="albumId" id="delete-album-id" value="{$display.album.id}" />
+					<input value="{key('i18n','delete.displayName')}" type="submit" />
+				</div>
+				<div><xsl:comment>This is here to "clear" the floats.</xsl:comment></div>
+			</form>
+			
+			<!-- Dialog: delete collection form -->
+			<form id="delete-collection-form" action="{$web-context}/deleteCollection.do" method="post" 
+				class="simple-form-validate">
+				<p style="max-width: 300px;">
+					<xsl:value-of select="key('i18n','delete.collection.intro')" 
+						disable-output-escaping="yes"/>
+				</p>
+				<div>
+					<div class="label"><xsl:value-of select="key('i18n','collection.name.displayName')"/></div>
+					<div id="delete-collection-name" style="max-width: 240px;">
+						<xsl:value-of select="$display.collection/@name"/>
+						<xsl:text> </xsl:text>
+					</div>
+				</div>
+				<div class="submit">
+					<input type="hidden" name="collectionId" id="delete-collection-id" 
+						value="{$display.collection/@collection-id}" />
+					<input value="{key('i18n','delete.displayName')}" type="submit" />
+				</div>
+				<div><xsl:comment>This is here to "clear" the floats.</xsl:comment></div>
+			</form>
+
+			<!-- Dialog: remove from album form -->
+			<form id="removefrom-album-form" action="{$web-context}/removeFromAlbum.do" method="post" class="simple-form">
+				<p style="max-width: 300px;">
+					<xsl:value-of select="key('i18n','removefrom.album.intro')"/>
+				</p>
+				<div class="submit">
+					<input type="hidden" name="albumId" id="removefrom-album-id" 
+						value="{$display.album/@album-id}"/>
+					<input value="{key('i18n','remove.displayName')}" type="submit" />
+				</div>
+				<div><xsl:comment>This is here to "clear" the floats.</xsl:comment></div>
+			</form>
+			
+			<!-- Dialog: remove from collection form -->
+			<form id="removefrom-collection-form" action="{$web-context}/deleteItems.do" method="post" class="simple-form">
+				<p style="max-width: 300px;">
+					<xsl:value-of select="key('i18n','removefrom.collection.intro')"
+						disable-output-escaping="yes"/>
+				</p>
+				<div class="submit">
+					<input type="hidden" name="collectionId" id="removefrom-collection-id" 
+						value="{$display.collection/@collection-id}"/>
+					<input value="{key('i18n','delete.displayName')}" type="submit" />
+				</div>
+				<div><xsl:comment>This is here to "clear" the floats.</xsl:comment></div>
+			</form>
+			
+			<!-- Dialog: share album form -->
+			<form id="share-album-form" action="{$web-context}/shareAlbum.do" method="post" class="simple-form">
+				<p style="max-width: 300px;">
+					<xsl:value-of select="key('i18n','share.album.intro')"
+						disable-output-escaping="yes"/>
+				</p>
+				<div>
+					<label for="shared">
+						<xsl:value-of select="key('i18n','share.album.shared.displayName')"/>
+					</label>
+					<div>
+						<input type="checkbox" name="shared" id="share-album-shared" 
+							value="true"/>
+						<span style="max-width: 300px;"><xsl:value-of 
+							select="key('i18n','share.album.shared.caption')" 
+							disable-output-escaping="yes"/></span>
+					</div>
+				</div>
+				<div>
+					<label for="feed">
+						<xsl:value-of select="key('i18n','share.album.feed.displayName')"/>
+					</label>
+					<div>
+						<input type="checkbox" name="feed" id="share-album-feed" 
+							value="true"/>
+						<span style="max-width: 300px;"><xsl:value-of 
+							select="key('i18n','share.album.feed.caption')" 
+							disable-output-escaping="yes"/></span>
+					</div>
+				</div>
+				<div>
+					<label for="theme">
+						<xsl:value-of select="key('i18n','theme.displayName')"/>
+					</label>
+					<div>
+						<select name="themeId" id="share-album-theme">
+							<xsl:comment>themes populated here</xsl:comment>
+							<xsl:for-each select="x:x-model/m:model/m:theme">
+								<option value="{@theme-id}">
+									<xsl:value-of select="@name"/>
+								</option>
+							</xsl:for-each>
+						</select>
+					</div>
+				</div>
+				<div class="submit">
+					<input type="hidden" name="albumId" id="share-album-id" 
+						value="{$display.album/@album-id}"/>
+					<input value="{key('i18n','share.displayName')}" type="submit" />
+				</div>
+				<div><xsl:comment>This is here to "clear" the floats.</xsl:comment></div>
+			</form>
+			
+			<div id="service-dialog-container">
+				<xsl:text> </xsl:text>
+			</div>
+
+		</div>
+		
+	</xsl:template>
+	
+	<!-- Generate the list of albums -->
+	<xsl:template match="m:album" mode="album.list">
+		<li>
+			<xsl:if test="@album-id = $display.album.id">
+				<xsl:attribute name="class">selected</xsl:attribute>
+			</xsl:if>
+			<a href="{$web-context}/home.do?albumId={@album-id}" title="{@name}">
+				<xsl:value-of select="@name"/>
+			</a>
+			<!-- TODO: nested albums, selected album? -->
+		</li>
+		<!--li><a href="#?albumId=101" title="Default">Default</a></li>
+		<li><a href="#?albumId=105" title="Default">Bar Foo</a></li>
+		<li>
+			<a href="#?albumId=106" title="Default">La te da</a>
+			<ol class="collapsing">
+				<li><a href="#?albumId=113" title="Default">More La te da</a></li>
+			</ol>
+		</li-->
+	</xsl:template>
+	
+	<!-- Generate the list of collections -->
+	<xsl:template match="m:collection" mode="collection.list">
+		<li>
+			<xsl:if test="@collection-id = $display.collection.id">
+				<xsl:attribute name="class">selected</xsl:attribute>
+			</xsl:if>
+			<a href="{$web-context}/home.do?collectionId={@collection-id}" title="{@name}">
+				<xsl:value-of select="@name"/>
+			</a>
+		</li>
+	</xsl:template>
+	
+	<!-- Generate main display items -->
+	<xsl:template match="m:item" mode="main.items">
+		<!-- FIXME: get the thumb size from user prefs -->
+		<img class="thumb" src="{$web-context}/media.do?id={@item-id}&amp;size=THUMB_SMALL" alt="{@name}"/>
+	</xsl:template>
+	
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/in.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,3 @@
+<Iteration><ViewEditor  ViewType='PieChart' DataSet='_Employees' ModifierID='undefined' Context='Data' Page='chartFields' ViewName='Pie Chart' bViewEditorAnimation="false" ><Translated><String name="DATA_OBJECTS">Data Objects</String>
+<String name="VIEWEDITOR_TAB_FIELDS">Fields</String>
+</Translated></ViewEditor><HelpTopicId>bam_as_viewedit_doselect</HelpTopicId></Iteration>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/inner.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,1 @@
+<s:stylesheet xmlns:s="http://www.w3.org/1999/XSL/Transform" version="1.0"/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/logon.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:m="http://msqr.us/xsd/matte"
+	xmlns:xweb="http://msqr.us/xsd/jaxb-web"
+	exclude-result-prefixes="m xweb">
+	
+    <!-- imports -->
+	<xsl:import href="default-layout.xsl"/>
+		
+	<xsl:template match="xweb:x-data" mode="page-title">
+		<xsl:value-of select="key('i18n','logon.title')"/>
+	</xsl:template>
+	
+	<xsl:template match="xweb:x-data" mode="page-body-class">
+		<xsl:text>no-sub-nav</xsl:text>
+	</xsl:template>
+	
+	<xsl:template match="xweb:x-data" mode="page-main-nav">
+		<xsl:call-template name="main-nav">
+			<xsl:with-param name="page" select="'logon'"/>
+		</xsl:call-template>
+	</xsl:template>	
+	
+	<xsl:template match="xweb:x-data" mode="page-body">
+		<div class="intro">
+			<xsl:value-of select="key('i18n','logon.intro')"/>
+
+			<!--xsl:if test="key('appenv','feature.registration') = 'true'"-->
+				<xsl:text> </xsl:text>
+				<xsl:value-of select="key('i18n','logon.intro.register')"/>
+				<xsl:text> </xsl:text>
+				<a href="{$web-context}/register.do">
+				    <xsl:value-of select="key('i18n','logon.intro.register.link')"/>
+				</a>
+				<xsl:value-of select="key('i18n','logon.intro.register.close')"/>
+			<!--/xsl:if-->
+			
+			<!--xsl:text> </xsl:text>
+			<a href="{$web-context}/forgotPassword.do" title="{key('i18n','link.forgot-password.title')}">
+			    <xsl:value-of select="key('i18n','link.forgot-password')"/>
+			</a-->
+		</div>
+        
+		<form method="post" class="simple-form" action="{$web-context}{$ctx/xweb:path}">
+			<div>
+				<label for="login">
+					<xsl:value-of select="key('i18n','login.displayName')"/>
+				</label>
+				<div>
+					<input type="text" name="login" maxlength="64"/>
+				</div>
+			</div>
+			<div>
+				<label for="password">
+					<xsl:value-of select="key('i18n','password.displayName')"/>
+				</label>
+				<div>
+					<input type="password" name="password" maxlength="64"/>
+				</div>
+			</div>
+			<div class="submit">
+				<input type="submit" value="{key('i18n','logon.displayName')}"/>
+			</div>
+		</form>
+		<script type="text/javascript" xml:space="preserve">
+			document.forms[0].elements['login'].focus();
+		</script>
+	</xsl:template>
+	
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/maps.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE stylesheet []>
+
+<maps>
+	<map1 type="key1">map1key1value</map1>
+	<map1 type="key2">map1key2value</map1>
+
+	<map2 type="key1">map2key1value</map2>
+	<map2 type="key2">map2key2value</map2>
+</maps>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/msgAttach.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><nfeRecepcaoLote xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NfeRecepcao"><nfeCabecMsg>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;cabecMsg xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.09"&gt;&lt;versaoDados&gt;1.03&lt;/versaoDados&gt;&lt;/cabecMsg&gt;</nfeCabecMsg><nfeDadosMsg>&lt;enviNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.09"&gt;&lt;idLote&gt;200602220000001&lt;/idLote&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110809" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110809"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;zYASgizMNBAzgn+ot4ejStxDPTA=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;WnrapbX3Ewvi10agoVw2ZXl2drRxQdEbe3AHEXwIcr3LbDKGsMhqQusQGgifJkEbLL+IKC2kE9BE/HVFLxhFN9zj7zasTo6voeRApftKmibfASYcLSMTMkRcE97qU7BKQveBb0rYtKoumF020DUofx4TQlq0XhXHwQRSMfjU+PI=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ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p7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110801" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110801"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;eDf91anljJDYxbEccusEuMITI6w=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;1l8xkXfjmhtrkFMXXHxyS2FQ7jM1hBIeqAxk/zVVgaAhAUvOnyqvt6EnIkbkqo+4uRyASFjhr5oFUHz5ryj9oSz+wW2Si95QIXUciWvDSAw2vbWaeusHI4fpJYqjyhUlXAelmQtgl9lkB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hdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110802" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110802"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;KgIkUWcNbSYo+9i4n1Wib3gggRI=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A1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110803" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110803"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;fJTDfYgu7OhtAEucE40612pj8yo=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;ROGdT3yu5ZbkhXNyn650tfD1bhNo33tYKfH1Ayp+syUJGIRfuepP58gaH8fJbuM4vU8LJozcK87tOaXc0EwM5mej6f+wZ2sv1DPglrt7Bb6Vs8j4v1HPvp7EUYoGYD8cq0IDC32h9ItHlg4H1oTxeM6U7xFMPjEndCRm7Hcym1Y=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110804" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110804"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;Omf325HzAlgBnP9MoAA2Gbf4vbo=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;vzjdVi3qU160PgIsCX9Qq07JVy98gwmtFZud6Unkn9uozWVgXGm9V2V3NJ67ke7pkcYZonXHrOTmOGTpuoaW0ZiQ55Mo50zlDS5TCBWn26stI12ecYwrqpgDENpoCKBRa5ZCa7GMaWZZyEgAYYQ8YeI9BtMqaKJnjhuXVaJErdw=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTl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VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110805"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;ctmsHHDqE+E+UssdsL4jajRQVWk=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;nCoM230bM4Befsnpl3w5/G0ocn1MVkGoqIMIFkcijK7QzBY7n3tK2B9tr9dFv1mN+y/WFZ6+66tKYefaioSNiI0QLVIXfrdYMtZ4+Ewe1N/1xHKlGqujglkmNRF17KH106lBxOltsuxZd5AsyxZ+nF37GIjWzpY/0jOJD4c+OO8=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVj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X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110806" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110806"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;UVJeRp5XuzdojbAnEjuohV8NFO8=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;5Zm+uGuO/xHT/CwgUIWobkM+JaAaYCym4/Kr4goBugykbLXyxXpHAvO4bYN050usn5kMGfELISipAVoaHXvrZ67FgaHkcKGHkymHGS+f8wLLL5TsNVRtZomdJjEy3GVQic8xpU4HUYrgOGktWpOnblaVzir0lZPeuRdkLbRe2y8=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxC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DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110807" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110807"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;U+jxoc1fo7d4WXa0CrvP1YBQwgA=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;QAYBZN3c09rcoVij+fkp4lahEAD5cZV3zjdqvNEE2lzT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UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110808" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110808"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;rNWb1uYrH9oj+IaQzAQgBgoNJ1Q=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;NyJKj4su571ckKVCMK1Ki9QcpKBKczzxIs71nsxH4dZSCG3TUWycHoCsMjRUa7/REKoq1au1TmoZYAIYqZytyQYZ9m+Y+V8HDgGLde3Ymarz5X43MRIVsalGDSw1ukCYQptSLihiOUAT2hd8HYI1DAVWnqHnqDHvJ/wIcH9c44w=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110810" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110810"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;g3nEVfyjf0bEYF0+TFE+f8I0Ekg=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;VnwKnzSdKtp2i8rqNAFNc5NPrh1YWRTy4xvlSkcCdxHX0RAwlQ1mFL0wFUVOjNvt3KUVn9d4X5x76yjFbnXDPkcOrf/mpFl5JMhy2oruovcC0MtWrnvguSM/Ujyyl2p4MPLT1lzcUHAFPijh4MPOX694EX+KXxMW8jz9UqpXfn0=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110811" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110811"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;nhhsoA1RmioP/vXoARwWijDfkAg=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;SNh8Aa27uDRSZRe7nhkEa6ZTVfJV3ljwUSlwikYTMiEMk+B6/62IQqIyfVhfSN1Lx1grYgUfrzoNRanYZWQEUcIk07ENQcIS5KgY9ydSSuuOFVuiRsk/6INm1gjR4XCq4F/tWAdenasZCtZ0DPRNH5la4GSuKevNfoLOGbKgC00=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBF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Fe28070413349550000324550010000109000000110812" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110812"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;DFhT+RWH4lqQbbUvFNAXv/GseL0=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;250R3TBs7J3uMUiLMywVtlIqn9PpB9Z9vH2vRQtcalB/Jx6bZbhYgRX6GhfVH7wrGfmtfU694g5sKm3447afm74mGV/5rvUlmECOnozuKv+SvXRK0wFvogaaXo5qCYlAqh9rOCa3W4RfVbq9TWfGevyKA7e0uKsjPctcKR/L4xg=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEB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Zm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110813" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110813"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;Al5DzbSR6cps7LzToU+cyzc51GY=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;bGf13rBYoifk5Z2e97D/TiS8oy7qjB+TAfd0ECwgtn0VlWI0z8V9QQWaShjHI6sV5EVJEZlx3s/3HeFPFRiv12d5466EuzI5ftJpZNqAOS+CMkFeRFVGazaIcRY2ncw7wKNsa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lmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110814" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110814"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;0VdDjtU1ZtFc2w5EQU9FW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geAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110815" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110815"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;P+vIva8ejzq9bYhM1xL46vbdbEE=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;tod/k9ZRlFEMakj89FM12YkHFvBJ2m4wDJwq9bPe6X3CKbv1mYIUAXTkasJL1BF5aJa/z+V0pvK2xTSOznvF1Y5H+TpdaToiZtMeFCbRF+nTqW+cudA3KsgSCjQs2U2kid4BWUNID9hCQHSCUoHsoVbsXDeD0Lbu6r/B0IB8FDU=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110816" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110816"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;llPDkiDAQfwf0brph3hhqCNXliI=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;uFDUFef+q2r65uDmR8hS2DR+PAxVBtifJrOdVGmrdA0zQojPYziTlR0kZN/JIkBUkPklz9ejKoxx+XjVhZhu3OgI1ceHya0smOJEMDLfIJ0vHO7WmkunNl0/SBeR4yEGtjm7UxQ55/ZEHU0N/+cDn3iyzOB9t4wabUn5txA9JiA=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWS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p&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110817"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;qjS8ay1R+Kl2cRxAcxet6HZdt4M=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;HoafBrpcYfLjXnH9GHUoZIuxjIhrpLyQeiM3KQMaWx6uyS7c2oXPtVs80L49S7i1CMma+RAywTiGf79RzI95mBy/Vlk4wa51m5h6qizT8NZMP3Pa2ern9+mDhDV7kNgvNl7JDi7hCPvACpGZy54TuzXs2luH5O8iUVYR+g2jD7Y=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIER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gq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110818" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110818"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;xgoWPViXwimNipoyKVr8h/69A7I=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;bvGpF6fK/R2srzaaqG3XVDFxkvcvZ97MxAT4CBoezfiQywHPjXaEzmUXF/LMGjfbV1UEjFdoE+ZlPRU1F6Y3IreJvfQNLvXoGlnKASSHIZYWq/HCuv2q5DlUfw916LjUgygRbuPLaF8YJdqS+HxYsWJFxQu9ZChtb+rWYjCiCkw=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&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NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110819" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110819"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;YTY3upEgZtcegklKapx3PmBt1eI=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;Nma+uO1zfJMPDGNgg2tRR43CQJCalIvz1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I0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110820" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110820"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;hZA9ZbAfkJ1gGw/5zgVaFfXmuz4=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;WUC6gHMQLuJa73yxDSuSzxVqds5ZBjl5OqtzOTLEEp83mKZwkako1zIhF59D2JXh5TnhwulWv7xqDzf3CxELf/rhftYIh108zFR7DDKMim2ofDcJ0ibWwBYYduVydpLQ37nGb0Cs8E8hVf5FDSamauvJhrXfC2jLfPQk1OCOmLc=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110821" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110821"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;mcwN77/JOXRmUj3Un5rnQukgOCk=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;fDXHeIDC4hz/dpsT66Mi1aPryUrpuCISosHapZ7VKsvjeC+y4jFAXEXR5+9OuJr1SPzhKyhwbr8do3K6spTKYkOOZFZ4Ujk9xhGIXabtK/WLt6FuIuk98xXZVOtzwU3IyYeObkaJg1SzAKwq0qIW4rkfmn/4uJfayXNXaseJnhc=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110822" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110822"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;1a2RQgN0sJrLDRPQHR59US0EYT0=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;jcNqHv8KDQKkcbov9Ffsix5qssBSMdx1kuM2AO3YjbjNOoJgSb+GmMy/j/iVnANeVDNLM4vjapHrPxCEFIG4E1ZuA7hId7JFajNDN1oXa32TtBfThJ27Rw35NJUcWI+YA+8JDnPa2qQCdxUWkiXvwyJ21zQzIZsw5UdvuQUqxm4=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSV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="NFe28070413349550000324550010000109000000110823" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110823"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;XmVTTTXirQvExYZ4yHj2Bz0bw/c=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;1RNe6RLJyXBr3/lGcqLipxwcUvUIYznpp8cwEsIPMhVnVK+250ZGyy3ap2NvgnLDvXlmQOVUu6xUthwF8ll58dspBFIfHAqoww/KojAg+6V3Wwm+DwVc7222KbJ6eu451iqI68cUaRYQiciPTa2Y9DfDtxoprKBN488/PkOYyhY=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1U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+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110824" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110824"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;YauB6rHbqykRGk5K/ESVswxJpvs=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;iBHHYQzntaGIOO62UUQ/p2svvoR8XjDoO8es7vyJ35PmrFWtocWdM9FEUW1Vp4ql7qmtzXascvw86JdPwZ0UjhPO9qKIIYk8XrzG9AY4SqF99gf1POWHK7xxmk3K3a9GivyQ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ydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110825" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110825"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;sBG0b72pNgwjtyk2sCcr2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eAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110826" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110826"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;gDyFrITIpGqBPPeUls+UoQ1eFFw=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;p3lSbnCBYnKbz6rpghVwsRzjIleu8R4dlvexNH+lxtYMPMSEll1C6qMHFo393SpKJu0Yufb7NRfDBhQFBYWwHJ5/GDchagr79ihn0hVRo58wDIbWwpHPqP5QlyGttdUm2BMTXaNsvwzJWycZqkkLwvjRO1M+5CD91pYYAB27u2A=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110827" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110827"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;nq3klXHixnYIhGVm/zzRuGSMwv0=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;QPp1qTof2JWZjqlWtMLOW2Hz0XrMqMd+Gp+kKqLZDBGbqQ/YCUKXnGjUiEPoO2Zy96Y98JlLaC7yFWkeslM2wMxmQEQoAFlWp5gdtjmzhFBPpuHYsS8WAz2VJVDlGik02JkXDKG/6sbHrxTQkq9ksp5ijygmRSvlxNBnG7AS9oM=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0x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natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110828"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;KxutkHGJ8tvxNtSAy8N4b7sgfOU=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;GZ9XS/REkXN97VEYMz1AAPZ4J9Lb08TNhsloCuH8QaTaPqIIuT4dlcQgdBX7oysVc1NXUoSxFKUeej2ZMdD/J2EPxPacM8S3XlbZe5CoHKaxqR3hqPW5ANxzN61ldjDKPz+mY7dmgVttyEYQKdy44rt3lf0TqcdWfBiucZYylAM=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRk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owrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110829" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110829"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;9eOPR0G4en+2xpr+R6nlm83gxVM=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;t/Iwe+qlyWyuQpAHWdK//Lm+sRes/6EQb3I3XpFId+Xo4b8bdbcqv+Wlb7oPT5He654Yeg88z1mpHSZdtV5fdrr1dlKflrLT9AGKyYGiPcOpH2sUdQ655kJBtu/ByT6gQ8qaA+aufHmEL1CEUA5AbYAWk9CYzOi8BTs5zdsbDCA=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt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WVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110830" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110830"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;PKubq8TelaLWOEu6e2hUS7KlvBA=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;jQPSq10OxqJKbEwlQuW+Rq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MDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110831" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110831"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;fSUS3zUG0gFM15Rb5Xeuowu5q8Y=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;WnN/escY4TTLdqKWdlhl9VCaotMF1lkFjxSx32va5+nFXr/gYY+bZw7tYMPq8q0glhE3i5tG08Ai3zewmIIYGLbraf/2HSogXeYbM9PfoNPwlP2tXMWbvwWqg8sm5JviGS/P7kKcbKxtB35oUk0lCo0m72Kt6vaY3bmYRsv/VNQ=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110832" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110832"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;ShPPZLiE8+w2+TYc4IbHUFAJtew=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;rQgO5c6bD+bB3WyRfrCb/96/JkH0bjMARhL0Rh744IdvLX+DL/u8+n/F3bTuM5nMg2MxqiCM5dJVhjfBZ8HlpUn2Ed6gTMRGRufrHEYq4Vb8CYiloLQBkXBt1Adf31Rwo1H+ASTu+GrCQyypTSJjlDy0R2+E8keWfabj15xjyts=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110833" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110833"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;vH6jMKDthPy/f/oqcOu3Kl9jQIM=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;Cv24RtVaYwqxTJBFFkoji77H/x76K1jKIbuulbZ0Nm9lcYk4sz14YT5ewKlmpbypuUtbl5NCSkSPsWZ4y7QCTpbddmtUX1ZPcbRLPg9I8xWG1NbcyQqlCkpS0h76163wLFjzQp4gf+a9aSVzTkw9r/URj/0m4RcmiA4UhC+mhg4=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQ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t;&lt;infNFe Id="NFe28070413349550000324550010000109000000110834" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110834"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;p7hP4H+8hnM91WiYpcftVEgr+Cw=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;FvsM3yhnphCD3/KOg9beknJx1+kcw4RWNJQbXsWUvwQOa6uz6PFuKjHeDdUSa0tTRoRQ8t15TfP38SyOco/DmoMfBmCuj70tQxk78BZ/Z+UjESdaHgv2GSB3TBAVe2GaT6JYAKUSSCAFPY7GfgAQhOPEuk89ztQx7s4qB69IKZA=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0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brJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110835" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110835"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;VCjVED64OxI7juJhG+0yWNlXusg=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;NnmraR5m+J0bapZxL+8xsruVjidhmHqFrQwhHG4xeXeIytfQ3GgtLpaMYWO+Y+U/TrP1wKz10blLRfLa3vSuYEDuy1TI5tNjwPdmdLDXc+65YkYlO1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HZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110836" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110836"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;9+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JYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110837" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110837"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;pzvez2i5zHJO5NK7aGrsXzawOKM=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;qJlA6hsqLbKMrjDavcfvaxG1q5OfvmeU7hVUmhJ2ipn3dKI6VpOuXaepFTA/hDz9+S1P7uc7UZj9tc/ndcUMEY1Fu97KbYpo9wyOZcKc2roxvwFlVah/3dIm3W2aH/nzanOXfx6hWCRzVyFpWlHnfkWiqsFbdyD9Y+dkiaJ6EBg=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110838" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110838"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;YjkOrMdDzFQvTy/lqIxwm4HXEZU=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;5OfLaCwWLSOr1PPrj8mm6TYFynD2TJlsvmontCO2+lZ83GvHCmv/o/az72L4zTJLA+7EjWLXyVDaniVLz0KT580yAAVETdy7Am+ZGWSNgEyp+Fwc5eL4AiHtMPABnhdY1Y7GIZ+m74XPJLW31ybwH8G8tJEkib9bmVUK6LLcal8=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzE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&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110839"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;mpqSlfCCvmFn5WrxQ9Dfl5uWuPU=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;yISvrdTREuQiZ1uA4dl1HrIuk1VpcYc5bWYWa7Te01UMXNZ/bmqz0LH8oFiVoqPRnHHTSJ7NvgHC79z9z+EuDbrga1uTvLlY7CvtbxD1AuChyPc7IbkM5PGIS2EMuLI74y3FpjXPLf9ZanXisSLLVc7OhbrnCTzS5YsXLSGImyk=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB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DGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110840" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110840"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;9IyNbREn2DYaDA6UUVNTmUx7Pdo=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;MkQ4Ors8jwGneaOz+4cbbyL8u/kBUyx26JXe0skHJmKYq08uvihpylT7DHPr3ysXwMMhjsE5uuQQnKh48JpxmIkOXFTEzKvKnliiIsjFb5ENA+QG66Ae4Wmzt1z0CeUaGLf12qzAHJfxiNklvl1vSS7Gdxt9jGN1p8sm1ziqXU4=&lt;/SignatureValue&gt;&lt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1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110841" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110841"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;KBQvgLVJ/pHIs2mchbP6r+XUV3w=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;Signat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WBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110842" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110842"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;3g5AU6Z5Pat0IPL/OYpTRwx4taQ=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;VmXtcslq9V5bKh+ZzPRl9o+h9E04S2XiUwxvz605kN8hzCOPUTNzEMBlm1eiXKg9UAsRrFhCtJcUyqZdwN2ldVN57lxwZlPQ1Qj5DDyhG4MYtynBXNI5DhlrBb0xKOHFxsUJ4YkgtNGxwDfUyUlKwpNrgBABrbxe4W1Ibf/aX7M=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110843" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110843"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;h9UKsUjSbe8JbvsUApBt2psKKAU=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;TVt205QhgqS2gZc9S0IxRbgc5x+d/iXhpCQpwYpGHbsVfvjmAPl3+zRKscTC3asPH8Nf2+6IGHwtElFqF2tE9c1RrS3cDuyjiXfKaGC5KmZ/5teXuGN1l4WF4/jitaSLu0nHcfmwxVQj3XH25+gHNXBAZXJCj1mHQO0jsmgDEz0=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110844" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110844"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;HbZModFP0Iui9gfuR7n/4sHi024=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;WPU7Sj9DeVV91fBDnlAM/JKlKaC57/ID4/jbFYkcX4uO/tf0fpVUkOEwhxDUKldf/REsxKzOy3LAs/VoOLgqh3PmMBOZkTGWQjasY150ZCZHOIPuUk6wrObozuI+V0g3Xfff6pxId+t7Z3sLMWMggSSKG8+Qs27XJmODe08l+Zg=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwx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ature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110845" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110845"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;t72hWlvvtDZ6wNPjniZ2pDoTj/w=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;XnKgmioztIbSGyiwYq0Xc5jGA5bxvoqGaNfWSulvY/e4CM6KY95fwMS9GYbEjTxMB8wcIZpziq8jlEMRnNkF+yHn/4QI+8y8K17EF7pebG4XHUuOGAditKlHbC85Fehj40+/+S0kc2iSe2D+FzY1TGe/2B7x78u45LaUtLT9sXE=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQ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EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110846" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110846"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;YsqTqpi1W7aZmk0w4pmyS9ICgIs=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;NgHBGSEmJP4tPp4LViQYbDLfs7fQti90qvTJJ8KR2N0N8SPbmldwI8JRZyTldlQwUlRyaUqEE6OwFPW0vA0b4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sBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110847" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110847"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;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ci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110848" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110848"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;JxHrYj68TOJrQDYwbNRgpcd31wk=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;WC86hQyLd3romAna+vQgzS4Y+6p6qGIzNMKyye3MJU8YWb8NzycRTqXdzmV3vTc1f7JRHZxv7OotOYGkdgO9WQtuqNmy7bUlpTw+VHDaLYk0IKODNS3AalvJ34cEYeERrWJ46VkOeTAGkA0SvO8nheChrUg9316VpQ99PJnxT2M=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMxDzANBgNVBAsTBkdFUlRFQzEnMCUGA1UEAxMeREVTRU5WT0xWSU1FTlRPOjEzMzQ5NTUwMDAwMzI0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlzjg0NkHlxB24FS2fI4h+knKEwh3v5hYRtWGZvYVlMxMU5F9AAAXIaDltPrCp0dETRKYhAVGVAUuHaPHEFiJO5uhFUT6JJEy6ppYN3oH4xNijk/SaJL8yL1hQm8cvc0LNJadnHHLiFlpISTiZK6eX7gjOW6iIFRl44OoYMUtPWQIDAQABo4IBQDCCATwwCQYDVR0TBAIwADBHBgNVHR8EQDA+MDygOqA4hjZodHRwOi8vbmZlZC5zZWZhei5zZS5nb3YuYnIvbmZlL2xjci9JbnRTRUZBWkRlc2Vudi5jcmwwEQYJYIZIAYb4QgEBBAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAkBgNVHREEHTAboBkGBWBMAQMDoBAMDjEzMzQ5NTUwMDAwMzI0MBMGA1UdIAQMMAowCAYGYEwBAgEQMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFCbkjsXo4Zjm3aujOOFXRnhhesTXMB8GA1UdIwQYMBaAFCdUULrpSDfI6YnadWVtjen7d/NYMA0GCSqGSIb3DQEBBQUAA4GBAJCV67LXSw37DGcMDxOWn97wrpawYzW9EIFRn0ymeYgz5RNHVeFQNpCbrJHiSgTr6UsghqdQT+QZm94XZmqMp7S5oiCYY69uz8ulsZ6BZWFdCnsSO+Ab3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;NFe&gt;&lt;infNFe Id="NFe28070413349550000324550010000109000000110849" versao="1.09"&gt;&lt;ide&gt;&lt;cUF&gt;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110849"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;SXeCCjCKON99cwODW7wBGEO1vnk=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;hlSBLj1DztVcfDubBVkCJ1Tgm5nvAqJF01lK2fbNzYRBozUwd7nQ+fvnHK+UI9OaR7wJKJwSY/nqK7OV1Iz1h+Nu/zFg/YV3hrG+mV+EvOzJEKhp0c7+NO45FQKhB5a+jLFCFCypOJW0OyyVGe1inhI6mC8iCCBy08LElb3x3vg=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgNVBAsTBkdFUlRFQzEfMB0GA1UEAxMWQUMgSU5URVJNIFNFRkFaIERFU0VOVjAeFw0wNzA5MTgxMzE5MjdaFw0wODA5MTcxMzE5MjdaMHwxCzAJBgNVBAYTAkJSMRAwDgYDVQQIEwdTRVJHSVBFMRAwDgYDVQQHEwdBUkFDQUpVMQ8wDQYDVQQKEwZHRVJURUMx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t;28&lt;/cUF&gt;&lt;cNF&gt;000011080&lt;/cNF&gt;&lt;natOp&gt;VENDAS PRODUCAO PROPRIA&lt;/natOp&gt;&lt;indPag&gt;0&lt;/indPag&gt;&lt;mod&gt;55&lt;/mod&gt;&lt;serie&gt;1&lt;/serie&gt;&lt;nNF&gt;10900&lt;/nNF&gt;&lt;dEmi&gt;2007-04-18&lt;/dEmi&gt;&lt;dSaiEnt&gt;2007-04-18&lt;/dSaiEnt&gt;&lt;tpNF&gt;1&lt;/tpNF&gt;&lt;cMunFG&gt;0352050&lt;/cMunFG&gt;&lt;tpImp&gt;2&lt;/tpImp&gt;&lt;tpEmis&gt;1&lt;/tpEmis&gt;&lt;cDV&gt;9&lt;/cDV&gt;&lt;tpAmb&gt;2&lt;/tpAmb&gt;&lt;tpNFe&gt;1&lt;/tpNFe&gt;&lt;/ide&gt;&lt;emit&gt;&lt;CNPJ&gt;13349550000324&lt;/CNPJ&gt;&lt;xNome&gt;TOYOTA DO BRASIL LTDA&lt;/xNome&gt;&lt;xFant&gt;TDB IDT&lt;/xFant&gt;&lt;enderEmit&gt;&lt;xLgr&gt;RODOVIA SP75&lt;/xLgr&gt;&lt;nro&gt;S/N&lt;/nro&gt;&lt;xCpl&gt;KM 48&lt;/xCpl&gt;&lt;xBairro&gt;CALDEIRA&lt;/xBairro&gt;&lt;cMun&gt;0352050&lt;/cMun&gt;&lt;xMun&gt;INDAIATUBA&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;13330000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;1938857000&lt;/fone&gt;&lt;/enderEmit&gt;&lt;!--IE&gt;353080289118&lt;/IE--&gt;&lt;IE&gt;270621458&lt;/IE&gt;&lt;IEST&gt;270969918&lt;/IEST&gt;&lt;/emit&gt;&lt;dest&gt;&lt;CNPJ&gt;07234453001446&lt;/CNPJ&gt;&lt;xNome&gt;BENARROS VEICULOS LTDA&lt;/xNome&gt;&lt;enderDest&gt;&lt;xLgr&gt;AVENIDA TANCREDO NEVES&lt;/xLgr&gt;&lt;nro&gt;5121&lt;/nro&gt;&lt;xBairro&gt;JABOTIANA&lt;/xBairro&gt;&lt;cMun&gt;0280030&lt;/cMun&gt;&lt;xMun&gt;ARACAJU&lt;/xMun&gt;&lt;UF&gt;SE&lt;/UF&gt;&lt;CEP&gt;49097000&lt;/CEP&gt;&lt;cPais&gt;105&lt;/cPais&gt;&lt;xPais&gt;BRASIL&lt;/xPais&gt;&lt;fone&gt;7932595252&lt;/fone&gt;&lt;/enderDest&gt;&lt;IE&gt;270832980&lt;/IE&gt;&lt;/dest&gt;&lt;det nItem="1"&gt;&lt;prod&gt;&lt;cProd&gt;62&lt;/cProd&gt;&lt;cEAN&gt;&lt;/cEAN&gt;&lt;xProd&gt;COROLLA SE-G,A/T,1.8L GAS,A/C AUT.&lt;/xProd&gt;&lt;NCM&gt;87032310&lt;/NCM&gt;&lt;EXTIPI&gt;01&lt;/EXTIPI&gt;&lt;CFOP&gt;6401&lt;/CFOP&gt;&lt;uCom&gt;TESTE&lt;/uCom&gt;&lt;qCom&gt;1&lt;/qCom&gt;&lt;vUnCom&gt;99999&lt;/vUnCom&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;cEANTrib&gt;12345678901234&lt;/cEANTrib&gt;&lt;uTrib&gt;PC&lt;/uTrib&gt;&lt;qTrib&gt;1.000&lt;/qTrib&gt;&lt;vUnTrib&gt;88888&lt;/vUnTrib&gt;&lt;veicProd&gt;&lt;tpOp&gt;1&lt;/tpOp&gt;&lt;chassi&gt;9BR53ZEC278678265&lt;/chassi&gt;&lt;cCor&gt;205&lt;/cCor&gt;&lt;xCor&gt;PRETO PEROLA METALICO&lt;/xCor&gt;&lt;pot&gt;136&lt;/pot&gt;&lt;CM3&gt;1794&lt;/CM3&gt;&lt;pesoL&gt;1185&lt;/pesoL&gt;&lt;pesoB&gt;1185&lt;/pesoB&gt;&lt;nSerie&gt;000678265&lt;/nSerie&gt;&lt;tpComb&gt;GASOLINA&lt;/tpComb&gt;&lt;nMotor&gt;4650701&lt;/nMotor&gt;&lt;CMKG&gt;0&lt;/CMKG&gt;&lt;dist&gt;2600&lt;/dist&gt;&lt;RENAVAM&gt;000000000&lt;/RENAVAM&gt;&lt;anoMod&gt;2007&lt;/anoMod&gt;&lt;anoFab&gt;2007&lt;/anoFab&gt;&lt;tpPint&gt;M&lt;/tpPint&gt;&lt;tpVeic&gt;06&lt;/tpVeic&gt;&lt;espVeic&gt;1&lt;/espVeic&gt;&lt;VIN&gt;N&lt;/VIN&gt;&lt;condVeic&gt;1&lt;/condVeic&gt;&lt;cMod&gt;114810&lt;/cMod&gt;&lt;/veicProd&gt;&lt;/prod&gt;&lt;imposto&gt;&lt;ICMS&gt;&lt;ICMS70&gt;&lt;orig&gt;0&lt;/orig&gt;&lt;CST&gt;70&lt;/CST&gt;&lt;modBC&gt;2&lt;/modBC&gt;&lt;pRedBC&gt;5.16&lt;/pRedBC&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;pICMS&gt;7.00&lt;/pICMS&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;modBCST&gt;0&lt;/modBCST&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;pICMSST&gt;12.00&lt;/pICMSST&gt;&lt;vICMSST&gt;5735.62&lt;/vICMSST&gt;&lt;/ICMS70&gt;&lt;/ICMS&gt;&lt;IPI&gt;&lt;cEnq&gt;999&lt;/cEnq&gt;&lt;IPITrib&gt;&lt;CST&gt;50&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pIPI&gt;13.00&lt;/pIPI&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;/IPITrib&gt;&lt;/IPI&gt;&lt;PIS&gt;&lt;PISAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pPIS&gt;2.00&lt;/pPIS&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;/PISAliq&gt;&lt;/PIS&gt;&lt;COFINS&gt;&lt;COFINSAliq&gt;&lt;CST&gt;01&lt;/CST&gt;&lt;vBC&gt;56361.43&lt;/vBC&gt;&lt;pCOFINS&gt;9.60&lt;/pCOFINS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;/COFINSAliq&gt;&lt;/COFINS&gt;&lt;/imposto&gt;&lt;/det&gt;&lt;total&gt;&lt;ICMSTot&gt;&lt;vBC&gt;53453.46&lt;/vBC&gt;&lt;vICMS&gt;3741.74&lt;/vICMS&gt;&lt;vBCST&gt;78978.00&lt;/vBCST&gt;&lt;vST&gt;5735.62&lt;/vST&gt;&lt;vProd&gt;56157.87&lt;/vProd&gt;&lt;vFrete&gt;0.00&lt;/vFrete&gt;&lt;vSeg&gt;0.00&lt;/vSeg&gt;&lt;vDesc&gt;0.00&lt;/vDesc&gt;&lt;vII&gt;0&lt;/vII&gt;&lt;vIPI&gt;7326.98&lt;/vIPI&gt;&lt;vPIS&gt;1127.23&lt;/vPIS&gt;&lt;vCOFINS&gt;5410.70&lt;/vCOFINS&gt;&lt;vOutro&gt;0.00&lt;/vOutro&gt;&lt;vNF&gt;69220.47&lt;/vNF&gt;&lt;/ICMSTot&gt;&lt;/total&gt;&lt;transp&gt;&lt;modFrete&gt;0&lt;/modFrete&gt;&lt;transporta&gt;&lt;CNPJ&gt;60395589000104&lt;/CNPJ&gt;&lt;xNome&gt;BRAZUL TRANSP.DE VEICULOS LTDA&lt;/xNome&gt;&lt;IE&gt;635024834114&lt;/IE&gt;&lt;xEnder&gt;AV. MARIA SERVIDEI DEMARCHI, 1420,&lt;/xEnder&gt;&lt;xMun&gt;SAO BERNARDO DO CAMPO&lt;/xMun&gt;&lt;UF&gt;SP&lt;/UF&gt;&lt;/transporta&gt;&lt;vol&gt;&lt;qVol&gt;1&lt;/qVol&gt;&lt;esp&gt;VEICULO&lt;/esp&gt;&lt;marca&gt;TOYOTA&lt;/marca&gt;&lt;pesoL&gt;1185.000&lt;/pesoL&gt;&lt;pesoB&gt;1185.000&lt;/pesoB&gt;&lt;/vol&gt;&lt;/transp&gt;&lt;infAdic&gt;&lt;infCpl&gt;MARCA TOYOTA, MOTOR TOYOTA GASOLINA 4 TEMPOS, COM SISTEMA DE INJECAO ELETRONICA DE COMBUSTIVEL COMBUSTIVEL GASOLINA, TIPO AUTOMOVEL, 136CV, 4 CILINDROS, 4 PORTAS, TRANSM. AUT. DE 4 VEL. 1.794 CM3, 6.000 RPM,16 VALVULAS, ANO FAB. 2007, ANO MODELO 2007 CAPACIDADE: 5 PASSAGEIROS, COR: PRETO PEROLA METALICO COD.MARCA/MODELO RENAVAM: 114810 TOYOTA/COROLLA SEG18VVT NRO DO CHASSIS: 9BR53ZEC278678265, NRO DO MOTOR: 4650701, NUMERO DA CHAVE: T09175 EQUIPAMENTOS OBRIGATORIOS : 01 EXTINTOR(ES) 01 TRIANGULO(S) 01 MACACO(S) C/CABO, 01 CHAVE(S) DE RODAS OPCIONAIS: PINTURA METALICA/PEROLIZADA - TERMO DE PENHOR MERCANTIL: - VEICULO EM GARANTIA DE PENHOR MERCANTIL, CONFORME CONTRATO DE ABERTURA DE CREDITO ROTATIVO PARA FINANCIAMENTO DE AQUISICAO DE VEICULOS FIRMADO COM BANCO TOYOTA DO BRASIL S/A. ESTA NOTA FISCAL E PARTE INTEGRANTE E COMPLEMENTAR DO REFERIDO CONTRATO, PARA FINS DE CONSTITUICAO DO PENHOR MERCANTIL. ACOMPANHA VEICULO: TERMO DE GARANTIA, MANUAL DO PROPRIETARIO, ACENDEDOR. BASE DE CALCULO REDUZIDA CONFORME. ITEM IV PARAGRAFO 2 DO CONVENIO ICMS 133/02 VALOR SEGURO INCLUSO NO VALOR UNITARIO - BASE DE CALCULO E ALIQUOTA ICMS CONF.CONV.132/92 E DECRETO 45490/00 FRETE JA INCLUSO NO PRECO DO VEICULO. VIA TRANSPORTE: TERRESTRE ORDEM PRODUCAO: 294020 CONSORCIO: PATIO: 1 BASE CALC ICMS/IPI : 56.361,43 BASE RED/VALOR ICMS: 53.453,46/3.741,74&lt;/infCpl&gt;&lt;/infAdic&gt;&lt;/infNFe&gt;&lt;Signature xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;&lt;SignedInfo&gt;&lt;CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod&gt;&lt;SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod&gt;&lt;Reference URI="#NFe28070413349550000324550010000109000000110850"&gt;&lt;Transforms&gt;&lt;Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"&gt;&lt;/Transform&gt;&lt;Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/Transform&gt;&lt;/Transforms&gt;&lt;DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod&gt;&lt;DigestValue&gt;I58ROhWJ1+GlmoKlUDAbplxrJ8w=&lt;/DigestValue&gt;&lt;/Reference&gt;&lt;/SignedInfo&gt;&lt;SignatureValue&gt;jb3X9Sh3OvC+EGDdH3crhS9l1TJbiIpkQ0oPbXDWLnyOCMRx3QoXC6AEqhDqP6M0eiumhDIZr4AtL96gL0KdUedTuoH1e/CV0uOvvKrz0ZQex/6grLG195lm1wiZPk4T6+OzVjez0rOmyB4BQxtC26ER0OlXrJj9uNI4bG0neCQ=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;&lt;X509Data&gt;&lt;X509Certificate&gt;MIIDpzCCAxCgAwIBAgIBBDANBgkqhkiG9w0BAQUFADBzMQswCQYDVQQGEwJCUjEQMA4GA1UECBMHU0VSR0lQRTEQMA4GA1UEBxMHQVJBQ0FKVTEOMAwGA1UEChMFU0VGQVoxDzANBgN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3HAbBQX+XhJ72KffwHhZDGtcoLALlakT0Ugqkow1ztw4GB+JAowrnzgq&lt;/X509Certificate&gt;&lt;/X509Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/NFe&gt;&lt;/enviNFe&gt;</nfeDadosMsg></nfeRecepcaoLote></env:Body></env:Envelope>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/numbering63.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<doc>
+  <title>Test for source tree numbering</title>
+  <a>
+      <title>Level A</title>
+    <b>
+      <title>Level B</title>
+    </b>
+    <b>
+      <title>Level B</title>
+      <c>
+        <title>Level C</title>
+      </c>
+    </b>
+    <b>
+      <title>Level B</title>
+      <c>
+        <title>Level C</title>
+        <d>
+          <title>Level D</title>
+        </d>
+      </c>
+    </b>
+  </a>
+  <a>
+    <title>Level A</title>
+    <b>
+      <title>Level B</title>
+      <c>
+        <title>Level C</title>
+        <d>
+          <title>Level D</title>
+          <e>
+            <title>Level E</title>
+          </e>
+        </d>
+      </c>
+    </b>
+  </a>
+  <a>
+    <title>Level A</title>
+    <b>
+      <title>Level B</title>
+      <c>
+        <title>Level C</title>
+        <d>
+          <title>Level D</title>
+          <e>
+            <title>Level E</title>
+          </e>
+        </d>
+        <d>
+          <title>Level D</title>
+          <e>
+            <title>Level E</title>
+          </e>
+        </d>
+      </c>
+      <c>
+        <title>Level C</title>
+        <d>
+          <title>Level D</title>
+        </d>
+      </c>
+    </b>
+    <b>
+      <title>Level B</title>
+    </b>
+  </a>
+</doc>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/numbering63.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <!-- CaseName: numbering63 -->
+  <!-- Author: David Marston -->
+  <!-- Purpose: Count all levels of changes and number by level, level=single. -->
+  <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(number)/ulist[2]/item[1]/p[1]/text()[5]" -->
+  <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(number)/ulist[1]/item[2]/p[1]/text()[1]" -->
+  <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(number)/ulist[1]/item[3]/p[1]/text()[1]" -->
+  <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(convert)/ulist[1]/item[1]/p[1]/text()[1]" -->
+  <!-- Scenario: operation="standard-XML" -->
+
+<xsl:template match="doc">
+  <out><xsl:apply-templates/></out>
+</xsl:template>
+
+<xsl:template match="title">
+  <xsl:number level="single" from="a" count="a|b|c|d|e" format="1"/><xsl:text>: </xsl:text><xsl:value-of select="."/><xsl:text>
+</xsl:text>
+</xsl:template>
+
+<xsl:template match="text()"><!-- To suppress empty lines --><xsl:apply-templates/></xsl:template>
+
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/outer.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,3 @@
+<s:stylesheet xmlns:s="http://www.w3.org/1999/XSL/Transform" version="1.0">
+  <s:include href="inner.xsl"/>
+</s:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/redirect.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<foo/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/redirect.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding="UTF-8"?>
+<xsl:stylesheet version="1.0" 
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:redirect="http://xml.apache.org/xalan/redirect">
+    
+    <xsl:output method="xml" indent="no" encoding="UTF-8"/>
+    
+    <xsl:template match="/">
+        <redirect:write file="redirect2.xml">
+            <out>
+                <xsl:text disable-output-escaping="yes">Euro 1: &#8364; </xsl:text>
+            </out>
+        </redirect:write>
+        <out>
+            <xsl:text disable-output-escaping="yes">Euro 1: &#8364; </xsl:text>
+        </out>
+    </xsl:template>
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/sax/Bug6451633.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,58 @@
+/*
+ * 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 transform.sax;
+
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.sax.SAXTransformerFactory;
+import javax.xml.transform.sax.TransformerHandler;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.helpers.AttributesImpl;
+
+/*
+ * @bug 6451633
+ * @summary Test TransformerHandler ignores empty text node.
+ */
+public class Bug6451633 {
+
+    @Test
+    public void test() throws Exception {
+        TransformerHandler th = ((SAXTransformerFactory) TransformerFactory.newInstance()).newTransformerHandler();
+
+        DOMResult result = new DOMResult();
+        th.setResult(result);
+
+        th.startDocument();
+        th.startElement("", "root", "root", new AttributesImpl());
+        th.characters(new char[0], 0, 0);
+        th.endElement("", "root", "root");
+        th.endDocument();
+
+        // there's no point in having empty text --- we should remove it
+        Assert.assertEquals(0, ((Document) result.getNode()).getDocumentElement().getChildNodes().getLength());
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/src.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<x:x-data xmlns:x="http://msqr.us/xsd/jaxb-web" xmlns:m="http://msqr.us/xsd/matte">
+	<x:x-context>
+		<x:server-name>localhost</x:server-name>
+		<x:server-port>8484</x:server-port>
+		<x:user-agent>Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/419 (KHTML, like Gecko) Safari/419.3</x:user-agent>
+		<x:user-locale>en</x:user-locale>
+		<x:web-context>/matte</x:web-context>
+		<x:path>/logon.do</x:path>
+	</x:x-context>
+	<x:x-auxillary>
+		<x:x-param key="magoffin.matt.xweb.REQ">org.springframework.web.servlet.support.RequestContext@4bf0ff</x:x-param>
+	</x:x-auxillary>
+	<x:x-messages>
+		<x:msg key="">You must be logged in and have sufficient access privileges to view the requested page.</x:msg>
+	</x:x-messages>
+	<x:x-session>
+		<x:x-param key="magoffin.matt.xweb.URL">http://localhost:8484/matte/home.do</x:x-param>
+	</x:x-session>
+	<x:x-request/>
+	<x:x-request-headers>
+		<x:param key="accept">*/*</x:param>
+		<x:param key="accept-language">en</x:param>
+		<x:param key="accept-encoding">gzip, deflate</x:param>
+		<x:param key="cookie">JSESSIONID=42E37E740D15356C0E861590CEA4A421; JSESSIONID=5647B2F0C0A7E5E673970E4A21D2F3FD</x:param>
+		<x:param key="user-agent">Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/419 (KHTML, like Gecko) Safari/419.3</x:param>
+		<x:param key="connection">keep-alive</x:param>
+		<x:param key="host">localhost:8484</x:param>
+	</x:x-request-headers>
+	<x:x-model>
+		<x:x-param key="no.model">no model</x:x-param>
+	</x:x-model>
+</x:x-data>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/template.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<process><map1/>
+<map2/>
+</process>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/tigertest-in.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style"  office:class="text" office:version="1.0">
+	<office:styles>
+		<style:default-style style:family="graphics"/>
+		<style:default-style style:family="paragraph"/>
+	</office:styles>
+</office:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/tigertest.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,21 @@
+<?xml version='1.0' encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+		xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+		xmlns:office="http://openoffice.org/2000/office"
+		xmlns:style="http://openoffice.org/2000/style">
+
+	<xsl:output method="xml" encoding="UTF-8"/>
+
+	<xsl:template match="/">
+		<xsl:variable name="copyData">
+			<xsl:call-template name="copy-by-template" />
+		</xsl:variable>
+		<test>
+  		   <xsl:copy-of select="$copyData"/>
+		</test>
+	</xsl:template>
+
+	<xsl:template name="copy-by-template">
+		<xsl:copy-of select="/"/>
+	</xsl:template>
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/tmp.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,1 @@
+<?xml version="1.0" encoding="UTF-8"?><stardb xmlns="http://www.astro.com/astro" xsi:schemaLocation="http://www.astro.com/astro catalog.xsd" xmlns:astro="http://www.astro.com/astro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><_test01/><test-02/><test.03/><_test-04>T%e!s#t$</_test-04><star><hr>1</hr><constellation/><fullname/><ra><h>00</h><m>05</m><s>09.9</s><dv>0.08608333333333333</dv></ra><dec><sgn/><d>45</d><m>13</m><s>45</s><dv>45.22916666666667</dv></dec><glng>114.44</glng><glat>-16.88</glat><vmag>6.70</vmag><spec>A1Vn</spec></star><star><hr>2</hr><constellation/><fullname/><ra><h>00</h><m>05</m><s>03.8</s><dv>0.08438888888888889</dv></ra><dec><sgn>-</sgn><d>00</d><m>30</m><s>11</s><dv>-0.5030555555555556</dv></dec><glng>98.33</glng><glat>-61.14</glat><vmag>6.29</vmag><spec>gG9</spec></star><star><hr>3</hr><constellation>Psc</constellation><fullname>33    Psc</fullname><ra><h>00</h><m>05</m><s>20.1</s><dv>0.08891666666666666</dv></ra><dec><sgn>-</sgn><d>05</d><m>42</m><s>27</s><dv>-5.7075000000000005</dv></dec><glng>93.75</glng><glat>-65.93</glat><vmag>4.61</vmag><spec>K0IIIbCN-0.5</spec></star><star><hr>4</hr><constellation>Peg</constellation><fullname>86    Peg</fullname><ra><h>00</h><m>05</m><s>42.0</s><dv>0.095</dv></ra><dec><sgn/><d>13</d><m>23</m><s>46</s><dv>13.39611111111111</dv></dec><glng>106.19</glng><glat>-47.98</glat><vmag>5.51</vmag><spec>G5III</spec></star><star><hr>5</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>16.0</s><dv>0.10444444444444445</dv></ra><dec><sgn/><d>58</d><m>26</m><s>12</s><dv>58.43666666666666</dv></dec><glng>117.03</glng><glat>-03.92</glat><vmag>5.96</vmag><spec>G5V</spec></star><star><hr>6</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>19.0</s><dv>0.10527777777777779</dv></ra><dec><sgn>-</sgn><d>49</d><m>04</m><s>30</s><dv>-49.075</dv></dec><glng>321.61</glng><glat>-66.38</glat><vmag>5.70</vmag><spec>G1IV</spec></star><star><hr>7</hr><constellation>Cas</constellation><fullname>10    Cas</fullname><ra><h>00</h><m>06</m><s>26.5</s><dv>0.10736111111111112</dv></ra><dec><sgn/><d>64</d><m>11</m><s>46</s><dv>64.19611111111111</dv></dec><glng>118.06</glng><glat>1.75</glat><vmag>5.59</vmag><spec>B9III</spec></star><star><hr>8</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>36.8</s><dv>0.11022222222222222</dv></ra><dec><sgn/><d>29</d><m>01</m><s>17</s><dv>29.02138888888889</dv></dec><glng>111.26</glng><glat>-32.83</glat><vmag>6.13</vmag><spec>K0V</spec></star><star><hr>9</hr><constellation/><fullname/><ra><h>00</h><m>06</m><s>50.1</s><dv>0.11391666666666667</dv></ra><dec><sgn>-</sgn><d>23</d><m>06</m><s>27</s><dv>-23.1075</dv></dec><glng>52.21</glng><glat>-79.14</glat><vmag>6.18</vmag><spec>A7V</spec></star><star><hr>10</hr><constellation/><fullname/><ra><h>00</h><m>07</m><s>18.2</s><dv>0.12172222222222222</dv></ra><dec><sgn>-</sgn><d>17</d><m>23</m><s>11</s><dv>-17.386388888888888</dv></dec><glng>74.36</glng><glat>-75.90</glat><vmag>6.19</vmag><spec>A6Vn</spec></star></stardb>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/toys.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Document   : toys.xml
+    Created on : August 11, 2003, 6:42 PM
+    Author     : Prasad Subramanian
+    Description:
+-->
+
+<toys>
+    <toy>
+        <name>Lego-Model01</name>
+        <price>65.99</price>
+    </toy>
+    <toy>
+        <name>Lego-Model2</name>
+        <price>69.99</price>
+    </toy>
+    <toy>
+        <name>Lego-Model3</name>
+        <price>14.99</price>
+    </toy>
+    <toy>
+        <name>Barbie-Pink</name>
+        <price>12.99</price>
+    </toy>
+    <toy>
+        <name>Barbie-Blue</name>
+        <price>13.99</price>
+    </toy>        
+    <toy>
+        <name>Barbie-White</name>
+        <price>13.99</price>
+    </toy>   
+    <toy>
+        <name>Barbie-Plain</name>
+        <price>13.99</price>
+    </toy>           
+</toys>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/transform.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE stylesheet []>
+
+<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
+
+	<xsl:param name="config"/>
+	<xsl:param name="mapsFile"/>
+
+	<xsl:output method="text"/>
+
+	<xsl:key name="key1" match="map1" use="@type"/>
+	<xsl:key name="key2" match="map2" use="@type"/>
+        
+	<xsl:variable name="maps" select="document($mapsFile)"/>
+	<xsl:variable name="type" select="document($config)/config/@type"/>
+
+	<xsl:template match="map1">
+		<xsl:for-each select="$maps">
+			<xsl:value-of select="key('key1', $type)"/>
+		</xsl:for-each>
+	</xsl:template>
+
+	<xsl:template match="map2">
+		<xsl:for-each select="$maps">
+			<xsl:value-of select="key('key2',$type)"/>
+		</xsl:for-each>
+	</xsl:template>
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/upload-media-form.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:m="http://msqr.us/xsd/matte"
+	xmlns:x="http://msqr.us/xsd/jaxb-web"
+	exclude-result-prefixes="m x">
+	
+	<!-- <xsl:import href="global-variables.xsl"/> -->
+
+	<!-- helper vars -->
+	<xsl:variable name="form.collectionId" 
+		select="x:x-data/x:x-auxillary[1]/x:x-param[@key='collectionId']"/>
+	<xsl:variable name="form.localTz" 
+		select="x:x-data/x:x-auxillary[1]/x:x-param[@key='localTz']"/>
+	<xsl:variable name="form.mediaTz" 
+		select="x:x-data/x:x-auxillary[1]/x:x-param[@key='mediaTz']"/>
+	
+	<xsl:template match="x:x-data" mode="add-media-form">
+		
+		<form id="upload-media-form" method="post" class="simple-form" 
+			action="{$web-context}{$ctx/x:path}" enctype="multipart/form-data">
+			<p>
+				<xsl:value-of select="key('i18n','upload.media.intro')"/>
+			</p>
+			<div>
+				<label for="tempFile">
+					<xsl:value-of select="key('i18n','file.displayName')"/>
+				</label>
+				<div>
+					<input type="file" name="tempFile" id="tempFile"/>
+					<div class="caption"><xsl:value-of 
+						select="key('i18n','upload.media.file.caption')" 
+						disable-output-escaping="yes"/></div>
+				</div>
+			</div>
+			<div>
+				<label for="collectionId">
+					<xsl:value-of select="key('i18n','collection.displayName')"/>
+				</label>
+				<div>
+					<select name="collectionId" id="collectionId">
+						<xsl:apply-templates select="$aux/m:model/m:collection"/>
+					</select>
+				</div>
+			</div>
+			<div>
+				<label for="mediaTz">
+					<xsl:if test="$err[@field='mediaTz']">
+						<xsl:attribute name="class">error</xsl:attribute>
+					</xsl:if>
+					<xsl:value-of select="key('i18n','upload.media.timeZone.displayName')"/>
+				</label>
+				<div>
+					<select name="mediaTz" id="mediaTz">
+						<xsl:for-each select="$aux/m:model/m:time-zone">
+							<option value="{@code}">
+								<xsl:if test="$form.mediaTz = @code">
+									<xsl:attribute name="selected">
+										<xsl:text>selected</xsl:text>
+									</xsl:attribute>
+								</xsl:if>
+								<xsl:value-of select="@name"/>
+							</option>
+						</xsl:for-each>
+					</select>
+					<div class="caption">
+						<xsl:value-of select="key('i18n','upload.media.timeZone.caption')"/>
+					</div>
+				</div>
+			</div>
+			<div>
+				<label for="localTz">
+					<xsl:if test="$err[@field='localTz']">
+						<xsl:attribute name="class">error</xsl:attribute>
+					</xsl:if>
+					<xsl:value-of select="key('i18n','upload.media.localTimeZone.displayName')"/>
+				</label>
+				<div>
+					<select name="localTz" id="localTz">
+						<xsl:for-each select="$aux/m:model/m:time-zone">
+							<option value="{@code}">
+								<xsl:if test="$form.localTz = @code">
+									<xsl:attribute name="selected">
+										<xsl:text>selected</xsl:text>
+									</xsl:attribute>
+								</xsl:if>
+								<xsl:value-of select="@name"/>
+							</option>
+						</xsl:for-each>
+					</select>
+					<div class="caption">
+						<xsl:value-of select="key('i18n','upload.media.localTimeZone.caption')"/>
+					</div>
+				</div>
+			</div>
+			<div>
+				<label for="autoAlbum">
+					<xsl:if test="$err[@field='autoAlbum']">
+						<xsl:attribute name="class">error</xsl:attribute>
+					</xsl:if>
+					<xsl:value-of select="key('i18n','upload.media.autoAlbum.displayName')"/>
+				</label>
+				<div>
+					<input type="checkbox" name="autoAlbum" id="autoAlbum" value="true"/>
+					<div class="caption">
+						<xsl:value-of select="key('i18n','upload.media.autoAlbum.caption')"/>
+					</div>
+				</div>
+			</div>
+			<div class="submit">
+				<input type="submit" value="{key('i18n','add.displayName')}"/>
+			</div>
+		</form>
+	</xsl:template>
+	
+	<xsl:template match="m:collection">
+		<option value="{@collection-id}">
+			<xsl:if test="$form.collectionId = @collection-id">
+				<xsl:attribute name="selected">
+					<xsl:text>selected</xsl:text>
+				</xsl:attribute>
+			</xsl:if>
+			<xsl:value-of select="@name"/>
+		</option>
+	</xsl:template>
+	
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/upload-media.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:m="http://msqr.us/xsd/matte"
+	xmlns:xweb="http://msqr.us/xsd/jaxb-web"
+	exclude-result-prefixes="m xweb">
+	
+    <!-- imports -->
+	<xsl:import href="default-layout.xsl"/>
+	<xsl:import href="upload-media-form.xsl"/>
+
+        
+	<!-- helper vars -->
+	<xsl:variable name="form.collectionId" 
+		select="xweb:x-data/xweb:x-auxillary[1]/xweb:x-param[@key='collectionId']"/>
+	<xsl:variable name="form.localTz" 
+		select="xweb:x-data/xweb:x-auxillary[1]/xweb:x-param[@key='localTz']"/>
+	<xsl:variable name="form.mediaTz" 
+		select="xweb:x-data/xweb:x-auxillary[1]/xweb:x-param[@key='mediaTz']"/>
+	
+	<xsl:template match="xweb:x-data" mode="page-title">
+		<xsl:value-of select="key('i18n','upload.media.title')"/>
+	</xsl:template>
+	
+	<xsl:template match="xweb:x-data" mode="page-body-class">
+		<xsl:text>no-sub-nav</xsl:text>
+	</xsl:template>
+	
+	<xsl:template match="xweb:x-data" mode="page-main-nav">
+		<xsl:call-template name="main-nav">
+			<xsl:with-param name="page" select="'upload'"/>
+		</xsl:call-template>
+	</xsl:template>	
+	
+	<xsl:template match="xweb:x-data" mode="page-body">
+		<xsl:apply-templates select="." mode="add-media-form"/>
+		<script type="text/javascript" xml:space="preserve">
+			<xsl:comment>
+			document.forms[0].elements['tempFile'].focus();
+			//</xsl:comment>
+		</script>
+	</xsl:template>
+	
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/util.xsl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+	xmlns:xweb="http://msqr.us/xsd/jaxb-web"
+	exclude-result-prefixes="xweb">
+	
+	<!--
+		Named Template: javascript-string
+		
+		Replace occurances of " in a string with \".
+		
+		Parameters:
+			output-string	- the text to seach/replace in
+	-->
+	<xsl:template name="javascript-string">
+		<xsl:param name="output-string"/>
+		<xsl:call-template name="global-replace">
+			<xsl:with-param name="output-string" select="$output-string"/>
+			<xsl:with-param name="target"><xsl:text>"</xsl:text></xsl:with-param>
+			<xsl:with-param name="replacement"><xsl:text>\"</xsl:text></xsl:with-param>
+		</xsl:call-template>
+	</xsl:template>
+	
+	<!--
+		Named Template: single-quote-string
+		
+		Replace occurances of ' in a string with \'.
+		
+		Parameters:
+			output-string	- the text to seach/replace in
+	-->
+	<xsl:template name="single-quote-string">
+		<xsl:param name="output-string"/>
+		<xsl:call-template name="global-replace">
+			<xsl:with-param name="output-string" select="$output-string"/>
+			<xsl:with-param name="target"><xsl:text>'</xsl:text></xsl:with-param>
+			<xsl:with-param name="replacement"><xsl:text>\'</xsl:text></xsl:with-param>
+		</xsl:call-template>
+	</xsl:template>
+	
+	<!--
+		Named Template: escape-string
+		
+		Replace occurances of a string with that string preceeded by a '\' 
+		character.
+		
+		Parameters:
+			output-string	- the text to seach/replace in
+			target			- the text to search for
+	-->
+	<xsl:template name="escape-string">
+		<xsl:param name="output-string"/>
+		<xsl:param name="target"/>
+		<xsl:call-template name="global-replace">
+			<xsl:with-param name="output-string" select="$output-string"/>
+			<xsl:with-param name="target" select="$target"/>
+			<xsl:with-param name="replacement">
+				<xsl:text>\</xsl:text>
+				<xsl:value-of select="$target"/>
+			</xsl:with-param>
+		</xsl:call-template>
+	</xsl:template>
+	
+	<!--
+		Named Template: global-replace
+		
+		Replace occurances of one string with another.
+		
+		Parameters:
+			output-string	- the text to seach/replace in
+			target			- the text to search for
+			replacement		- the text to replace occurances of 'target' with
+	-->
+	<xsl:template name="global-replace">
+		<xsl:param name="output-string"/>
+		<xsl:param name="target"/>
+		<xsl:param name="replacement"/>
+		<xsl:choose>
+			<xsl:when test="contains($output-string,$target)">
+
+				<xsl:value-of select=
+					"concat(substring-before($output-string,$target), $replacement)"/>
+				<xsl:call-template name="global-replace">
+					<xsl:with-param name="output-string" 
+						 select="substring-after($output-string,$target)"/>
+					<xsl:with-param name="target" select="$target"/>
+					<xsl:with-param name="replacement" 
+						 select="$replacement"/>
+				</xsl:call-template>
+			</xsl:when>
+			<xsl:otherwise>
+				<xsl:value-of select="$output-string"/>
+			</xsl:otherwise>
+		</xsl:choose>
+	</xsl:template>
+	
+	<!--
+		Named Template: truncate-at-word
+		
+		Truncate a string at a word break (space). If the input text
+		is shorter than max-length the text is returned unchanged.
+		Otherwise the text is truncated at the max-length plus any 
+		characters up to the next space, and a ellipsis character is
+		appended.
+		
+		Parameters:
+			text       - the text to truncate
+			max-length - the maximum number of characters to allow
+	-->
+	<xsl:template name="truncate-at-word">
+		<xsl:param name="text"/>
+		<xsl:param name="max-length">350</xsl:param>
+		<xsl:choose>
+			<xsl:when test="string-length($text) &lt; $max-length">
+				<xsl:value-of select="$text" disable-output-escaping="yes"/>
+			</xsl:when>
+			<xsl:otherwise>
+				<xsl:variable name="start" select="substring($text,1,$max-length)"/>
+				<xsl:variable name="after" select="substring($text,($max-length+1))"/>
+				<xsl:variable name="word" select="substring-before($after,' ')"/>
+				<xsl:value-of select="$start" disable-output-escaping="yes"/>
+				<xsl:value-of select="$word" disable-output-escaping="yes"/>
+				<xsl:text>&#x2026;</xsl:text>
+			</xsl:otherwise>
+		</xsl:choose>
+	</xsl:template>
+	
+
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/util/DOMUtil.java	Mon Aug 17 11:18:31 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 transform.util;
+
+import java.io.InputStream;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.transform.Result;
+import javax.xml.transform.Source;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.dom.DOMSource;
+
+import org.testng.Assert;
+import org.w3c.dom.Document;
+
+public class DOMUtil extends TransformerUtil {
+
+    DocumentBuilder docBuilder = null;
+
+    private static DOMUtil instance = null;
+
+    /** Creates a new instance of DOMUtil */
+    private DOMUtil() throws Exception {
+        if (docBuilder == null)
+            docBuilder = getDomParser();
+    }
+
+    public static synchronized DOMUtil getInstance() throws Exception {
+        if (instance == null)
+            instance = new DOMUtil();
+        return instance;
+    }
+
+    public Source prepareSource(InputStream is) throws Exception {
+        docBuilder.reset();
+        Document doc1 = docBuilder.parse(is);
+        return new DOMSource(doc1);
+    }
+
+    public Result prepareResult() {
+        Document target = docBuilder.newDocument();
+        return new DOMResult(target);
+    }
+
+    public void checkResult(Result result, String version) {
+        String resultVersion = ((Document) ((DOMResult) result).getNode()).getXmlVersion();
+        Assert.assertTrue(version.equals(resultVersion), "Expected XML Version is 1.1, but actual version " + resultVersion);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/util/SAXUtil.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,72 @@
+/*
+ * 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 transform.util;
+
+import java.io.InputStream;
+
+import javax.xml.transform.Result;
+import javax.xml.transform.Source;
+import javax.xml.transform.sax.SAXResult;
+import javax.xml.transform.sax.SAXSource;
+
+import org.testng.Assert;
+import org.xml.sax.InputSource;
+
+import transform.VersionDefaultHandler;
+
+public class SAXUtil extends TransformerUtil {
+
+    private static SAXUtil instance = null;
+
+    /** Creates a new instance of SAXUtil */
+    private SAXUtil() {
+
+    }
+
+    public static synchronized SAXUtil getInstance() throws Exception {
+        if (instance == null)
+            instance = new SAXUtil();
+        return instance;
+    }
+
+    public Source prepareSource(InputStream is) throws Exception {
+        return new SAXSource(new InputSource(is));
+    }
+
+    public Result prepareResult() throws Exception {
+        VersionDefaultHandler dh = new VersionDefaultHandler();
+        return new SAXResult(dh);
+    }
+
+    public void checkResult(Result result, String inputVersion) throws Exception {
+        String version = ((VersionDefaultHandler) ((SAXResult) result).getHandler()).getVersion();
+        Assert.assertTrue(inputVersion.equals(version), "Expected XML Version is 1.1, but actual version " + version);
+    }
+
+    public void checkResult(Result result, String inputVersion, String encoding) throws Exception {
+        checkResult(result, inputVersion);
+        String resultEncoding = ((VersionDefaultHandler) ((SAXResult) result).getHandler()).getEncoding();
+        Assert.assertTrue(encoding.equals(resultEncoding), "Expected XML Version is " + encoding + " , but actual  encoding " + resultEncoding);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/util/StAXUtil.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,94 @@
+/*
+ * 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 transform.util;
+
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.InputStream;
+
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.XMLStreamWriter;
+import javax.xml.transform.Result;
+import javax.xml.transform.Source;
+import javax.xml.transform.stax.StAXResult;
+import javax.xml.transform.stax.StAXSource;
+
+import org.testng.Assert;
+
+import transform.TransformerUtilFactory;
+import transform.VersionEventWriter;
+
+public class StAXUtil extends TransformerUtil {
+
+    private static StAXUtil instance = null;
+
+    /** Creates a new instance of StAXUtil */
+    private StAXUtil() {
+    }
+
+    public static synchronized StAXUtil getInstance() throws Exception {
+        if (instance == null)
+            instance = new StAXUtil();
+        return instance;
+    }
+
+    public Source prepareSource(InputStream is) throws Exception {
+        XMLEventReader reader = XMLInputFactory.newInstance().createXMLEventReader(is);
+        return new StAXSource(reader);
+    }
+
+    public Result prepareResult() throws Exception {
+        VersionEventWriter writer = new VersionEventWriter();
+        return new StAXResult(writer);
+    }
+
+    public void checkResult(Result staxResult, String version) throws Exception {
+        VersionEventWriter writer = (VersionEventWriter) ((StAXResult) staxResult).getXMLEventWriter();
+        Assert.assertTrue(writer.getVersion().equals(version), "Expected XML Version is 1.1, but actual version " + writer.getVersion());
+    }
+
+    public void checkResult(Result staxResult, String version, String encoding) throws Exception {
+        VersionEventWriter writer = (VersionEventWriter) ((StAXResult) staxResult).getXMLEventWriter();
+        Assert.assertTrue(writer.getVersion().equals(version), "Expected XML Version is 1.1, but actual version " + writer.getVersion());
+        Assert.assertTrue(writer.getEncoding().equals(encoding), "Expected encoding is " + encoding + ", but actual encoding " + writer.getEncoding());
+    }
+
+    public Source prepareStreamSource(InputStream is) throws Exception {
+        XMLStreamReader reader = XMLInputFactory.newInstance().createXMLStreamReader(is);
+        return new StAXSource(reader);
+    }
+
+    public Result prepareStreamResult() throws Exception {
+        XMLStreamWriter writer = XMLOutputFactory.newInstance().createXMLStreamWriter(new FileOutputStream(TEMP_FILE));
+        return new StAXResult(writer);
+    }
+
+    public void checkStreamResult(Result staxResult, String version) throws Exception {
+        ((StAXResult) staxResult).getXMLStreamWriter().close();
+        ((StreamUtil) TransformerUtilFactory.getUtil(TransformerUtilFactory.STREAM)).checkStream(new FileInputStream(TEMP_FILE), version);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/util/StreamUtil.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,92 @@
+/*
+ * 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 transform.util;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.InputStream;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.Result;
+import javax.xml.transform.Source;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.testng.Assert;
+import org.w3c.dom.Document;
+
+import transform.VersionDefaultHandler;
+
+public class StreamUtil extends TransformerUtil {
+
+    DocumentBuilder docBuilder = null;
+
+    private static StreamUtil instance = null;
+
+    /** Creates a new instance of StreamUtil */
+    private StreamUtil() throws Exception {
+        if (docBuilder == null)
+            docBuilder = getDomParser();
+    }
+
+    public static synchronized StreamUtil getInstance() throws Exception {
+        if (instance == null)
+            instance = new StreamUtil();
+        return instance;
+    }
+
+    public Source prepareSource(InputStream is) throws Exception {
+        return new StreamSource(is);
+    }
+
+    public Result prepareResult() throws Exception {
+        FileOutputStream fos = new FileOutputStream(TEMP_FILE);
+        return new StreamResult(fos);
+    }
+
+    public void checkResult(Result result, String inputVersion) throws Exception {
+        ((StreamResult) result).getOutputStream().close();
+        FileInputStream fis = new FileInputStream(TEMP_FILE);
+        checkStream(fis, inputVersion);
+    }
+
+    public void checkStream(FileInputStream fis, String inputVersion) throws Exception {
+        docBuilder.reset();
+        Document output = docBuilder.parse(fis);
+        String version = output.getXmlVersion();
+        Assert.assertTrue(inputVersion.equals(version), "Expected XML Version is 1.1, but actual version " + version);
+    }
+
+    public void checkResult(Result result, String version, String encoding) throws Exception {
+        // use sax parser, as encoding info cannot be set on DOM document
+        SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
+        VersionDefaultHandler dh = new VersionDefaultHandler();
+        parser.parse(new File(TEMP_FILE), dh);
+        Assert.assertTrue(dh.getVersion().equals(version), "Expected version is " + version + " actual version " + dh.getVersion());
+        Assert.assertTrue(dh.getEncoding().equals(encoding), "Expected version is " + encoding + " actual version " + dh.getEncoding());
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/transform/util/TransformerUtil.java	Mon Aug 17 11:18:31 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 transform.util;
+
+import java.io.InputStream;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.transform.Result;
+import javax.xml.transform.Source;
+
+public abstract class TransformerUtil {
+
+    protected String type;
+
+    protected final String TEMP_FILE = "tmp.xml";
+
+    public abstract Source prepareSource(InputStream is) throws Exception;
+
+    public abstract Result prepareResult() throws Exception;
+
+    public abstract void checkResult(Result result, String version) throws Exception;
+
+    public void checkResult(Result result, String version, String encoding) throws Exception {
+        checkResult(result, version);
+    }
+
+    public DocumentBuilder getDomParser() throws Exception {
+        DocumentBuilderFactory docBF = DocumentBuilderFactory.newInstance();
+        return docBF.newDocumentBuilder();
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/6773084.policy	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,23 @@
+grant {
+	permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
+	permission java.lang.RuntimePermission "accessDeclaredMembers";
+	
+	permission java.io.FilePermission "${test.classes}/../../-", "read, write, delete";
+	permission java.io.FilePermission ".", "read, write, delete";
+	permission java.util.PropertyPermission "*", "read, write";
+	
+    permission java.lang.RuntimePermission "setSecurityManager";
+    permission java.lang.RuntimePermission "createSecurityManager";
+    permission java.lang.RuntimePermission "createClassLoader";
+    permission java.lang.RuntimePermission "setIO";
+	permission java.lang.RuntimePermission "setContextClassLoader"; 
+	permission java.security.SecurityPermission "getPolicy";
+    
+    permission java.io.FilePermission "${test.src}/-", "read, write, delete";
+    permission java.io.FilePermission "${user.dir}/-", "read, write, delete";
+    permission java.io.FilePermission "${java.io.tmpdir}/-", "read, write, delete";
+    
+    
+    permission java.lang.RuntimePermission "modifyThread";
+
+};
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/AnyElementTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,81 @@
+/*
+ * Copyright (c) 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 validation;
+
+/*
+ * @bug 8080907
+ * @summary Test processContents attribute of any element
+ */
+import static javax.xml.XMLConstants.W3C_XML_SCHEMA_NS_URI;
+
+import java.net.URISyntaxException;
+
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.annotations.BeforeClass;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+public class AnyElementTest {
+    @BeforeClass
+    public void setup() throws URISyntaxException, SAXException {
+        validator = SchemaFactory.newInstance(W3C_XML_SCHEMA_NS_URI).newSchema(new StreamSource(getUri("ProcessContents.xsd"))).newValidator();
+    }
+
+    /*
+     * processContents attribute - Specifies how the XML processor should handle
+     * validation against the elements specified by this any element. Can be set
+     * to one of the following:
+     * strict - the XML processor must obtain the schema for the required
+     * namespaces and validate the elements (this is default)
+     * lax - same as strict, but if the schema cannot be obtained, no errors
+     * will occur
+     * skip - The XML processor does not attempt to validate any elements from
+     * the specified namespaces
+     */
+    @Test
+    public void testProcessContents() throws Exception {
+        validator.validate(new StreamSource(getUri("ProcessContents-ok.xml")));
+    }
+
+    /*
+     * When processContents="lax", validation will be performed when the element
+     * is declared in the schema.
+     */
+    @Test(expectedExceptions = SAXParseException.class)
+    public void testProcessContentsLax() throws Exception {
+        validator.validate(new StreamSource(getUri("ProcessContents-lax-error.xml")));
+    }
+
+    /*
+     * Get the URI of the file, which is in the same path as this class
+     */
+    private String getUri(String fileName) throws URISyntaxException {
+        return this.getClass().getResource(fileName).toURI().toASCIIString();
+    }
+
+    private Validator validator;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4966232.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,71 @@
+/*
+ * 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 validation;
+
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.sax.SAXSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.InputSource;
+
+/*
+ * @bug 4966232
+ * @summary Test SchemaFactory.newSchema(Source) returns a Schema instance for DOMSource & SAXSource.
+ */
+public class Bug4966232 {
+
+    // test for W3C XML Schema 1.0 - newSchema(Source schema)
+    // supports and return a valid Schema instance
+    // SAXSource - valid schema
+
+    @Test
+    public void testSchemaFactory01() throws Exception {
+        SchemaFactory sf = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+        InputSource is = new InputSource(Bug4966232.class.getResourceAsStream("test.xsd"));
+        SAXSource ss = new SAXSource(is);
+        Schema s = sf.newSchema(ss);
+        Assert.assertNotNull(s);
+    }
+
+    // test for W3C XML Schema 1.0 - newSchema(Source schema)
+    // supports and return a valid Schema instance
+    // DOMSource - valid schema
+
+    @Test
+    public void testSchemaFactory02() throws Exception {
+        Document doc = null;
+        SchemaFactory sf = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        doc = dbf.newDocumentBuilder().parse(Bug4966232.class.getResource("test.xsd").toExternalForm());
+        DOMSource ds = new DOMSource(doc);
+        Schema s = sf.newSchema(ds);
+        Assert.assertNotNull(s);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4966254.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,74 @@
+/*
+ * 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 validation;
+
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+import util.DraconianErrorHandler;
+
+/*
+ * @bug 4966254
+ * @summary Test validate(StreamSource) & validate(StreamSource,null) works instead of throws IOException.
+ */
+public class Bug4966254 {
+
+    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 testValidator01() throws Exception {
+        getValidator().validate(getInstance());
+    }
+
+    @Test
+    public void testValidator02() throws Exception {
+        getValidator().validate(getInstance(), null);
+    }
+
+    private StreamSource getInstance() {
+        return new StreamSource(Bug4966254.class.getResource(("Bug4966254.xml")).toExternalForm());
+    }
+
+    private Validator getValidator() throws SAXException {
+        Schema s = getSchema();
+        Validator v = s.newValidator();
+        Assert.assertNotNull(v);
+        v.setErrorHandler(new DraconianErrorHandler());
+        return v;
+    }
+
+    private Schema getSchema() throws SAXException {
+        SchemaFactory sf = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+        Schema s = sf.newSchema(Bug4966254.class.getResource("Bug4966254.xsd"));
+        Assert.assertNotNull(s);
+        return s;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4966254.xml	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4966254.xsd	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4969042.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,107 @@
+/*
+ * 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 validation;
+
+import java.io.IOException;
+import java.io.StringReader;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.ValidatorHandler;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import org.xml.sax.XMLReader;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 4969042
+ * @summary Test ValidationHandler shall invoke ignorableWhitespace() of the
+ * user-defined ContentHandler once the validator detects any ignorable whitespaces.
+ */
+public class Bug4969042 {
+
+    public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test'\n"
+            + "        targetNamespace='jaxp13_test'\n" + "        elementFormDefault='qualified'>\n" + "    <element name='test'>\n"
+            + "        <complexType>\n" + "            <sequence>\n" + "                <element name='child' type='string'/>\n" + "            </sequence>\n"
+            + "        </complexType>\n" + "    </element>\n" + "</schema>\n";
+
+    public static final String XML = "<?xml version='1.0'?>\n" + "<ns:test xmlns:ns='jaxp13_test'>\n" + "  <ns:child>\n" + "      123abc\n" + "  </ns:child>\n"
+            + "</ns:test>\n";
+
+    private ValidatorHandler createValidatorHandler(String xsd) throws SAXException {
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+        StringReader reader = new StringReader(xsd);
+        StreamSource xsdSource = new StreamSource(reader);
+
+        Schema schema = schemaFactory.newSchema(xsdSource);
+        return schema.newValidatorHandler();
+    }
+
+    private XMLReader createXMLReader() throws ParserConfigurationException, SAXException {
+        SAXParserFactory parserFactory = SAXParserFactory.newInstance();
+        if (!parserFactory.isNamespaceAware()) {
+            parserFactory.setNamespaceAware(true);
+        }
+
+        return parserFactory.newSAXParser().getXMLReader();
+    }
+
+    private void parse(XMLReader xmlReader, String xml) throws SAXException, IOException {
+        StringReader reader = new StringReader(xml);
+        InputSource inSource = new InputSource(reader);
+
+        xmlReader.parse(inSource);
+    }
+
+    @Test
+    public void test() throws SAXException, ParserConfigurationException, IOException {
+        XMLReader xmlReader = createXMLReader();
+        ValidatorHandler validatorHandler = createValidatorHandler(XSD);
+        xmlReader.setContentHandler(validatorHandler);
+
+        final boolean[] invoked = { false, false };
+        DefaultHandler contentHandler = new DefaultHandler() {
+            public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException {
+                invoked[0] = true;
+            }
+
+            public void characters(char[] ch, int start, int length) throws SAXException {
+                invoked[1] = true;
+            }
+        };
+        validatorHandler.setContentHandler(contentHandler);
+
+        parse(xmlReader, XML);
+
+        Assert.assertTrue(invoked[0], "Method ignorableWhitespace() was not invoked.");
+        Assert.assertTrue(invoked[1], "Method characters() was not invoked.");
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4969089.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,72 @@
+/*
+ * 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 validation;
+
+import java.io.StringReader;
+
+import javax.xml.transform.Source;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 4969089
+ * @summary Test when an ErrorHandler is set for a SchemaFactory, SchemaFactory.newSchema(Source[])
+ * method throws an exception that is not equal to the exception thrown from the ErrorHandler.
+ */
+public class Bug4969089 {
+
+    @Test
+    public void test1() {
+        String xsd1 = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test1'\n"
+                + "        targetNamespace='jaxp13_test1'\n" + "        elementFormDefault='qualified'>\n" + "    <element name='test'>\n" + "</schema>\n";
+
+        final SAXException EUREKA = new SAXException("NewSchema007");
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+        StringReader reader = new StringReader(xsd1);
+        StreamSource source = new StreamSource(reader);
+        DefaultHandler errorHandler = new DefaultHandler() {
+            public void fatalError(SAXParseException unused) throws SAXException {
+                throw EUREKA;
+            }
+
+            public void error(SAXParseException unused) throws SAXException {
+                throw EUREKA;
+            }
+        };
+        schemaFactory.setErrorHandler(errorHandler);
+
+        try {
+            schemaFactory.newSchema(new Source[] { source });
+            Assert.fail("SAXException was not thrown.");
+        } catch (SAXException e) {
+            Assert.assertSame(e, EUREKA);
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4969110.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,75 @@
+/*
+ * 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 validation;
+
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.ValidatorHandler;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXNotRecognizedException;
+
+/*
+ * @bug 4969110
+ * @summary Test ValidationHandler.set/getProperty() throws a correct exception
+ * instead of a sun internal exception in case the "property name" parameter is invalid.
+ */
+public class Bug4969110 {
+
+    SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+    @Test
+    public void test1() throws SAXException {
+        try {
+            ValidatorHandler validatorHandler = schemaFactory.newSchema().newValidatorHandler();
+            validatorHandler.getProperty("unknown1234");
+            Assert.fail("SAXNotRecognizedException was not thrown.");
+        } catch (SAXNotRecognizedException e) {
+        }
+    }
+
+    @Test
+    public void test2() throws SAXException {
+        try {
+            doTest(null);
+            Assert.fail("NullPointerException was not thrown.");
+        } catch (NullPointerException e) {
+        }
+    }
+
+    @Test
+    public void test3() throws SAXException {
+        try {
+            doTest("unknown1234");
+            Assert.fail("SAXNotRecognizedException was not thrown.");
+        } catch (SAXNotRecognizedException e) {
+        }
+    }
+
+    public void doTest(String name) throws SAXException {
+        ValidatorHandler validatorHandler = schemaFactory.newSchema().newValidatorHandler();
+        validatorHandler.setProperty(name, "123");
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4969689.java	Mon Aug 17 11:18:31 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 validation;
+
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXNotRecognizedException;
+import org.xml.sax.SAXNotSupportedException;
+
+
+/*
+ * @bug 4969689
+ * @summary Test SchemaFactory.get/setFeature() throw NullPointerException
+ * instead of SAXNotRecognizedException in case the "feature name" parameter is null.
+ */
+public class Bug4969689 {
+
+    SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+    @Test
+    public void test01() throws SAXNotRecognizedException, SAXNotSupportedException {
+        try {
+            schemaFactory.getFeature(null);
+            Assert.fail("exception expected");
+        } catch (NullPointerException e) {
+            ; // expected
+        }
+    }
+
+    @Test
+    public void test() throws SAXNotRecognizedException, SAXNotSupportedException {
+        try {
+            schemaFactory.setFeature(null, false);
+            Assert.fail("exception expected");
+        } catch (NullPointerException e) {
+            ; // as expected
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4969692.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,63 @@
+/*
+ * 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 validation;
+
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 4969692
+ * @summary Test Validator.get/setFeature() throw NullPointerException
+ * instead of SAXNotRecognizedException in case the "feature name" parameter is null.
+ */
+public class Bug4969692 {
+
+    SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+    @Test
+    public void test01() throws SAXException {
+        Validator validator = schemaFactory.newSchema().newValidator();
+        try {
+            validator.getFeature(null);
+            Assert.fail("exception expected");
+        } catch (NullPointerException e) {
+            ;
+        }
+    }
+
+    @Test
+    public void test02() throws SAXException {
+        Validator validator = schemaFactory.newSchema().newValidator();
+        try {
+            validator.setFeature(null, false);
+            Assert.fail("exception expected");
+        } catch (NullPointerException e) {
+            ;
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4969693.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,63 @@
+/*
+ * 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 validation;
+
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 4969693
+ * @summary Test Validator.get/setProperty() throw NullPointerException
+ * instead of SAXNotRecognizedException in case the "property name" parameter is null.
+ */
+public class Bug4969693 {
+
+    SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+    @Test
+    public void test01() throws SAXException {
+        Validator validator = schemaFactory.newSchema().newValidator();
+        try {
+            validator.getProperty(null);
+            Assert.fail("exception expected");
+        } catch (NullPointerException e) {
+            ;
+        }
+    }
+
+    @Test
+    public void test02() throws SAXException {
+        Validator validator = schemaFactory.newSchema().newValidator();
+        try {
+            validator.setProperty(null, "abc");
+            Assert.fail("exception expected");
+        } catch (NullPointerException e) {
+            ;
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4969695.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,61 @@
+/*
+ * 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 validation;
+
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXNotRecognizedException;
+import org.xml.sax.SAXNotSupportedException;
+
+/*
+ * @bug 4969695
+ * @summary Test SchemaFactory.get/setProperty() throw NullPointerException
+ * instead of SAXNotRecognizedException in case the "property name" parameter is null.
+ */
+public class Bug4969695 {
+
+    SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+    @Test
+    public void test01() throws SAXNotRecognizedException, SAXNotSupportedException {
+        try {
+            schemaFactory.getProperty(null);
+            Assert.fail("exception expected");
+        } catch (NullPointerException e) {
+            ; // expected
+        }
+    }
+
+    @Test
+    public void test() throws SAXNotRecognizedException, SAXNotSupportedException {
+        try {
+            schemaFactory.setProperty(null, "123");
+            Assert.fail("exception expected");
+        } catch (NullPointerException e) {
+            ; // as expected
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4969732.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,108 @@
+/*
+ * 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 validation;
+
+import java.io.StringReader;
+
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.TypeInfoProvider;
+import javax.xml.validation.ValidatorHandler;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import org.xml.sax.XMLReader;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 4969732
+ * @summary Test TypeInfoProvider.getElementTypeInfo() throws IllegalStateException
+ * in case the method is not called from method startElement() or endElement().
+ */
+public class Bug4969732 {
+
+    public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test'\n"
+            + "        targetNamespace='jaxp13_test'\n" + "        elementFormDefault='qualified'>\n" + "    <element name='test' type='string'/>\n"
+            + "</schema>\n";
+
+    public static final String XML = "<?xml version='1.0'?>\n" + "<ns:test xmlns:ns='jaxp13_test'>1234abc</ns:test>\n";
+
+    private ValidatorHandler createValidatorHandler(String xsd) throws SAXException {
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+        StringReader reader = new StringReader(xsd);
+        StreamSource xsdSource = new StreamSource(reader);
+
+        Schema schema = schemaFactory.newSchema(xsdSource);
+        return schema.newValidatorHandler();
+    }
+
+    private XMLReader createXMLReader() throws Exception {
+        SAXParserFactory parserFactory = SAXParserFactory.newInstance();
+        parserFactory.setNamespaceAware(true);
+
+        return parserFactory.newSAXParser().getXMLReader();
+    }
+
+    private void parse(XMLReader xmlReader, String xml) throws Exception {
+        StringReader reader = new StringReader(xml);
+        InputSource inSource = new InputSource(reader);
+
+        xmlReader.parse(inSource);
+    }
+
+    @Test
+    public void test1() throws Exception {
+        XMLReader xmlReader = createXMLReader();
+        final ValidatorHandler validatorHandler = createValidatorHandler(XSD);
+        xmlReader.setContentHandler(validatorHandler);
+
+        DefaultHandler handler = new DefaultHandler() {
+            public void characters(char[] ch, int start, int length) throws SAXException {
+                TypeInfoProvider infoProvider = null;
+                synchronized (validatorHandler) {
+                    infoProvider = validatorHandler.getTypeInfoProvider();
+                }
+                if (infoProvider == null) {
+                    Assert.fail("Can't obtain TypeInfo object.");
+                }
+
+                try {
+                    infoProvider.getElementTypeInfo();
+                    Assert.fail("IllegalStateException was not thrown.");
+                } catch (IllegalStateException e) {
+                    // as expected
+                    System.out.println("OK");
+                }
+            }
+        };
+        validatorHandler.setContentHandler(handler);
+
+        parse(xmlReader, XML);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4970380.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,58 @@
+/*
+ * 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 validation;
+
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.ValidatorHandler;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXNotRecognizedException;
+
+/*
+ * @bug 4970380
+ * @summary Test validatorHandler.getFeature(...) with unknown name and "http://xml.org/sax/features/namespace-prefixes".
+ */
+public class Bug4970380 {
+
+    @Test
+    public void test1() throws Exception {
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+        ValidatorHandler validatorHandler = schemaFactory.newSchema().newValidatorHandler();
+
+        try {
+            validatorHandler.getFeature("unknown1234");
+            Assert.fail("SAXNotRecognizedException was not thrown.");
+        } catch (SAXNotRecognizedException e) {
+            ; // expected
+        }
+
+        if (!validatorHandler.getFeature("http://xml.org/sax/features/namespace-prefixes")) {
+            // as expected
+            System.out.println("getFeature(namespace-prefixes): OK");
+        } else {
+            Assert.fail("Expected false, returned true.");
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4970383.java	Mon Aug 17 11:18:31 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 validation;
+
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.ValidatorHandler;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 4970383
+ * @summary Test validatorHandler.setFeature throws NullPointerException if name parameter is null.
+ */
+public class Bug4970383 {
+
+    @Test
+    public void test() throws Exception {
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+        ValidatorHandler validatorHandler = schemaFactory.newSchema().newValidatorHandler();
+        try {
+            validatorHandler.setFeature(null, false);
+            Assert.fail("should report an error");
+        } catch (NullPointerException e) {
+            ; // expected
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4970400.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,44 @@
+/*
+ * 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 validation;
+
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.ValidatorHandler;
+
+import org.testng.annotations.Test;
+
+/*
+ * @bug 4970400
+ * @summary Test ValidatorHandler recognizes namespace-prefixes feature.
+ */
+public class Bug4970400 {
+
+    @Test
+    public void test1() throws Exception {
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+        ValidatorHandler validatorHandler = schemaFactory.newSchema().newValidatorHandler();
+        validatorHandler.setFeature("http://xml.org/sax/features/namespace-prefixes", false);
+        validatorHandler.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4970402.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,119 @@
+/*
+ * 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 validation;
+
+import java.io.IOException;
+import java.io.StringReader;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.TypeInfoProvider;
+import javax.xml.validation.ValidatorHandler;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.Attributes;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import org.xml.sax.XMLReader;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 4970402
+ * @summary Test TypeInfoProvider's attribute accessing methods throw IndexOutOfBoundsException when index parameter is invalid.
+ */
+public class Bug4970402 {
+
+    public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test'\n"
+            + "        targetNamespace='jaxp13_test'\n" + "        elementFormDefault='qualified'>\n" + "    <element name='test'>\n"
+            + "        <complexType>\n" + "            <sequence>\n" + "                <element name='child' type='string'/>\n" + "            </sequence>\n"
+            + "            <attribute name='id' />\n" + "        </complexType>\n" + "    </element>\n" + "</schema>\n";
+
+    public static final String XML = "<?xml version='1.0'?>\n" + "<ns:test xmlns:ns='jaxp13_test' id='2003-12-02'>\n" + "  <ns:child>123abc</ns:child>\n"
+            + "</ns:test>\n";
+
+    private ValidatorHandler createValidatorHandler(String xsd) throws SAXException {
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+        StringReader reader = new StringReader(xsd);
+        StreamSource xsdSource = new StreamSource(reader);
+
+        Schema schema = schemaFactory.newSchema(xsdSource);
+        return schema.newValidatorHandler();
+    }
+
+    private XMLReader createXMLReader() throws ParserConfigurationException, SAXException {
+        SAXParserFactory parserFactory = SAXParserFactory.newInstance();
+        parserFactory.setNamespaceAware(true);
+        return parserFactory.newSAXParser().getXMLReader();
+    }
+
+    private void parse(XMLReader xmlReader, String xml) throws SAXException, IOException {
+        StringReader reader = new StringReader(xml);
+        InputSource inSource = new InputSource(reader);
+
+        xmlReader.parse(inSource);
+    }
+
+    @Test
+    public void test() throws Exception {
+        XMLReader xmlReader = createXMLReader();
+        final ValidatorHandler validatorHandler = createValidatorHandler(XSD);
+        xmlReader.setContentHandler(validatorHandler);
+
+        DefaultHandler handler = new DefaultHandler() {
+            public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
+                if (!"ns:test".equals(qName)) {
+                    return;
+                }
+
+                TypeInfoProvider infoProvider = null;
+                synchronized (validatorHandler) {
+                    infoProvider = validatorHandler.getTypeInfoProvider();
+                }
+                Assert.assertTrue(infoProvider != null, "Can't obtain TypeInfoProvider object.");
+
+                try {
+                    infoProvider.getAttributeTypeInfo(-1);
+                    Assert.fail("IndexOutOfBoundsException was not thrown.");
+                } catch (IndexOutOfBoundsException e) {
+                    ; // as expected
+                }
+
+                try {
+                    infoProvider.isIdAttribute(-1);
+                    Assert.fail("IndexOutOfBoundsException was not thrown.");
+                } catch (IndexOutOfBoundsException e) {
+                    ; // as expected
+                }
+            }
+        };
+        validatorHandler.setContentHandler(handler);
+
+        parse(xmlReader, XML);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4970951.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,122 @@
+/*
+ * 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 validation;
+
+import java.io.IOException;
+import java.io.StringReader;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.TypeInfoProvider;
+import javax.xml.validation.ValidatorHandler;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.Attributes;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import org.xml.sax.XMLReader;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 4970951
+ * @summary Test TypeInfoProvider.isSpecified(...) return true if the attribute was originally present.
+ */
+public class Bug4970951 {
+
+    public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test'\n"
+            + "        targetNamespace='jaxp13_test'\n" + "        elementFormDefault='qualified'>\n" + "    <element name='test'>\n"
+            + "        <complexType>\n" + "            <sequence>\n" + "                <element name='child' type='string'/>\n" + "            </sequence>\n"
+            + "            <attribute name='id' />\n" + "            <attribute name='date' default='2003-12-04'/>\n" + "        </complexType>\n"
+            + "    </element>\n" + "</schema>\n";
+
+    public static final String XML = "<?xml version='1.0'?>\n" + "<ns:test xmlns:ns='jaxp13_test' id='i001'>\n" + "  <ns:child>123abc</ns:child>\n"
+            + "</ns:test>\n";
+
+    private ValidatorHandler createValidatorHandler(String xsd) throws SAXException {
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+        StringReader reader = new StringReader(xsd);
+        StreamSource xsdSource = new StreamSource(reader);
+
+        Schema schema = schemaFactory.newSchema(xsdSource);
+        return schema.newValidatorHandler();
+    }
+
+    private XMLReader createXMLReader() throws ParserConfigurationException, SAXException {
+        SAXParserFactory parserFactory = SAXParserFactory.newInstance();
+        parserFactory.setNamespaceAware(true);
+
+        return parserFactory.newSAXParser().getXMLReader();
+    }
+
+    private void parse(XMLReader xmlReader, String xml) throws SAXException, IOException {
+        StringReader reader = new StringReader(xml);
+        InputSource inSource = new InputSource(reader);
+
+        xmlReader.parse(inSource);
+    }
+
+    @Test
+    public void test() throws Exception {
+        XMLReader xmlReader = createXMLReader();
+        final ValidatorHandler validatorHandler = createValidatorHandler(XSD);
+        xmlReader.setContentHandler(validatorHandler);
+
+        DefaultHandler handler = new DefaultHandler() {
+            public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
+                if (!"ns:test".equals(qName)) {
+                    return;
+                }
+
+                TypeInfoProvider infoProvider = validatorHandler.getTypeInfoProvider();
+                if (infoProvider == null) {
+                    throw new SAXException("Can't obtain TypeInfoProvider object.");
+                }
+
+                int index = attributes.getIndex("id");
+                if (index == -1) {
+                    throw new SAXException("The attribute 'id' is not in the list.");
+                }
+
+                Assert.assertTrue(infoProvider.isSpecified(index));
+
+                index = attributes.getIndex("date");
+                if (index == -1) {
+                    throw new SAXException("The attribute 'date' is not in the list.");
+                }
+
+                Assert.assertFalse(infoProvider.isSpecified(index));
+
+                System.out.println("OK");
+            }
+        };
+        validatorHandler.setContentHandler(handler);
+
+        parse(xmlReader, XML);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4971605.java	Mon Aug 17 11:18:31 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 validation;
+
+import java.io.StringReader;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.transform.Source;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Node;
+import org.xml.sax.InputSource;
+
+/*
+ * @bug 4971605
+ * @summary Test SchemaFactory.newSchema(Source) returns a Schema instance for DOMSource.
+ */
+public class Bug4971605 {
+
+    @Test
+    public void test1() throws Exception {
+        String xsd = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test1'\n"
+                + "        targetNamespace='jaxp13_test1'\n" + "        elementFormDefault='qualified'>\n" + "    <element name='test'/>\n" + "</schema>\n";
+
+        DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
+        docBuilderFactory.setNamespaceAware(true);
+        DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
+
+        Node document = docBuilder.parse(new InputSource(new StringReader(xsd)));
+        Assert.assertNotNull(document);
+
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+        Schema schema = schemaFactory.newSchema(new Source[] { new DOMSource(document) });
+        Assert.assertNotNull(schema, "Failed: newSchema returned null.");
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4971607.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,52 @@
+/*
+ * 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 validation;
+
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.ValidatorHandler;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 4971607
+ * @summary Test ValidatorHandler.getFeature(...) throws NullPointerException when name parameter is null.
+ */
+public class Bug4971607 {
+
+    @Test
+    public void test1() throws Exception {
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+        ValidatorHandler validatorHandler = schemaFactory.newSchema().newValidatorHandler();
+
+        try {
+            validatorHandler.getFeature(null);
+            Assert.fail();
+        } catch (NullPointerException e) {
+            e.printStackTrace();
+            ; // as expected
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4972882.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,63 @@
+/*
+ * 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 validation;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+import util.DraconianErrorHandler;
+
+/*
+ * @bug 4972882
+ * @summary Test Validator throws Exception when two identity-constraints are defined with the same {name} and {target namespace}.
+ */
+public class Bug4972882 {
+
+    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, Bug4972882.class.getResource("targetNS00101m2_stub.xsd").toExternalForm());
+
+        DocumentBuilder builder = dbf.newDocumentBuilder();
+        builder.setErrorHandler(new DraconianErrorHandler());
+
+        try {
+            builder.parse(Bug4972882.class.getResource("targetNS00101m2_stub.xml").toExternalForm());
+            Assert.fail("failure expected");
+        } catch (SAXException e) {
+            Assert.assertTrue(e.getMessage().indexOf("sch-props-correct.2") != -1);
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4986844.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,52 @@
+/*
+ * 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 validation;
+
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 4986844
+ * @summary Test SchemaFactory can detect particle restriction.
+ */
+public class Bug4986844 {
+
+    @Test
+    public void test1() throws Exception {
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+        try {
+            schemaFactory.newSchema(Bug4986844.class.getResource("Bug4986844.xsd"));
+            Assert.fail("should report an error");
+        } catch (SAXException e) {
+            if (e.getMessage().startsWith("rcase-RecurseUnordered.2"))
+                ; // as expected
+            else
+                throw e;
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4986844.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+            targetNamespace="http://xsdtesting" 
+            xmlns:x="http://xsdtesting">
+	<xsd:complexType name="B">
+		<xsd:all>
+			<xsd:element name="e1" minOccurs="1" maxOccurs="1"/>
+			<xsd:element name="e2" minOccurs="1" maxOccurs="1"/>
+		</xsd:all>
+	</xsd:complexType>
+	<xsd:complexType name="R">
+		<xsd:complexContent>
+			<xsd:restriction base="x:B">
+				<xsd:sequence>
+					<xsd:element name="e1" minOccurs="1" maxOccurs="1"/>
+					<xsd:element name="e2" minOccurs="1" maxOccurs="2"/>
+				</xsd:sequence>
+			</xsd:restriction>
+		</xsd:complexContent>
+	</xsd:complexType>
+	<xsd:element name="doc">
+		<xsd:complexType>
+			<xsd:choice>
+				<xsd:element name="elem" type="x:R"/>
+			</xsd:choice>
+		</xsd:complexType>
+	</xsd:element>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4987574.java	Mon Aug 17 11:18:31 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 validation;
+
+import java.io.File;
+import java.io.FileWriter;
+import java.io.PrintWriter;
+
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.annotations.Test;
+
+/*
+ * @bug 4987574
+ * @summary Test schemaFactory.newSchema doesn't throw NullPointerExceptio for empty schema.
+ */
+public class Bug4987574 {
+
+    @Test
+    public void test1() throws Exception {
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+        File tmpFile = File.createTempFile("jaxpri", "bug");
+        tmpFile.deleteOnExit();
+        {
+            PrintWriter pw = new PrintWriter(new FileWriter(tmpFile));
+            pw.println("<schema xmlns='http://www.w3.org/2001/XMLSchema'/>");
+            pw.close();
+        }
+
+        schemaFactory.newSchema(tmpFile);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4988267.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,52 @@
+/*
+ * 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 validation;
+
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 4988267
+ * @summary Test SchemaFactory can detect particle restriction.
+ */
+public class Bug4988267 {
+
+    @Test
+    public void test1() throws Exception {
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+        try {
+            schemaFactory.newSchema(Bug4988267.class.getResource("Bug4988267.xsd"));
+            Assert.fail("should report an error");
+        } catch (SAXException e) {
+            if (e.getMessage().startsWith("cos-nonambig"))
+                ; // as expected
+            else
+                throw e;
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4988267.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+            targetNamespace="http://xsdtesting">
+  <xsd:element name="foo">
+    <xsd:complexType>
+      <xsd:choice maxOccurs="10">
+        <xsd:any namespace="A" processContents="lax"/>
+        <xsd:any namespace="A"/>
+      </xsd:choice>
+    </xsd:complexType>
+  </xsd:element>
+  
+  <xsd:element name="bar"/>
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4988268.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,42 @@
+/*
+ * 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 validation;
+
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.annotations.Test;
+
+/*
+ * @bug 4988268
+ * @summary Test the schema is valid.
+ */
+public class Bug4988268 {
+
+    @Test
+    public void test1() throws Exception {
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+        schemaFactory.newSchema(Bug4988268.class.getResource("Bug4988268.xsd"));
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4988268.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+            targetNamespace="http://xsdtesting" 
+            xmlns:x="http://xsdtesting" 
+            elementFormDefault="qualified">
+        <xsd:group name="G">
+                <xsd:all>
+                        <xsd:element name="a1"/>
+                        <xsd:element name="a2"/>
+                </xsd:all>
+        </xsd:group>
+        <xsd:element name="doc">
+                <xsd:complexType>
+                        <xsd:group ref="x:G" minOccurs="0"/>
+                </xsd:complexType>
+        </xsd:element>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4988387.java	Mon Aug 17 11:18:31 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 validation;
+
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 4988387
+ * @summary Test SchemaFactory can detect invalid XPath expressions.
+ */
+public class Bug4988387 {
+
+    @Test
+    public void test1() throws Exception {
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+        try {
+            schemaFactory.newSchema(Bug4988387.class.getResource("Bug4988387.xsd"));
+            Assert.fail("incorrect XPath processed");
+        } catch (SAXException e) {
+            Assert.assertTrue(e.getMessage().startsWith("c-general-xpath"));
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4988387.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+        <xsd:element name="root">
+                <xsd:complexType>
+                        <xsd:sequence>
+                                <xsd:element ref="tid" maxOccurs="unbounded"/>
+                        </xsd:sequence>
+                </xsd:complexType>
+                <xsd:unique name="uid">
+                        <xsd:selector xpath=".//tid"/>
+                        <xsd:field xpath="./ /."/>
+                </xsd:unique>
+        </xsd:element>
+        <xsd:element name="tid" type="xsd:string"/>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4996446.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,86 @@
+/*
+ * 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 validation;
+
+import java.net.URL;
+
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.AfterMethod;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 4996446
+ * @summary Test SchemaFactory can detect violations of the "Schema Component Constraint: Element Declarations Consistent".
+ */
+public class Bug4996446 {
+
+    SchemaFactory schemaFactory = null;
+
+    @BeforeMethod
+    protected void setUp() {
+        schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+    }
+
+    @AfterMethod
+    protected void tearDown() {
+        schemaFactory = null;
+    }
+
+    @Test
+    public void testOne() {
+
+        ErrorHandler errorHandler = new ErrorHandler();
+        schemaFactory.setErrorHandler(errorHandler);
+        URL fileName = Bug4996446.class.getResource("Bug4996446.xsd");
+        try {
+            schemaFactory.newSchema(fileName);
+        } catch (SAXException e) {
+        }
+
+        if (errorHandler.errorCounter == 0) {
+            Assert.fail(" No Errors reported: " + errorHandler.errorCounter);
+        }
+        return;
+    }
+}
+
+class ErrorHandler extends DefaultHandler {
+    public int errorCounter = 0;
+
+    public void error(SAXParseException e) throws SAXException {
+        // System.out.println(e);
+        errorCounter++;
+    }
+
+    public void fatalError(SAXParseException e) throws SAXException {
+        // System.out.println(e);
+        errorCounter++;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4996446.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+        <xsd:element name="doc" type="foo"/>
+        <xsd:complexType name="foo">
+                <xsd:all>
+                        <xsd:element name="e1" type="xsd:string"/>
+                        <xsd:element name="e1" type="bar"/>
+                </xsd:all>
+        </xsd:complexType>
+        <xsd:complexType name="bar">
+                <xsd:sequence>
+                        <xsd:choice>
+                                <xsd:choice>
+                                        <xsd:element name="e1" type="xsd:string"/>
+                                </xsd:choice>
+                        </xsd:choice>
+                </xsd:sequence>
+        </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug4997818.java	Mon Aug 17 11:18:31 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 validation;
+
+import java.io.StringReader;
+
+import javax.xml.transform.Source;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.ls.LSInput;
+import org.w3c.dom.ls.LSResourceResolver;
+
+/*
+ * @bug 4997818
+ * @summary Test SchemaFactory.newSchema(...) throws an exception, which is thrown from LSResourceResolver.
+ */
+
+public class Bug4997818 {
+
+    @Test
+    public void test1() throws Exception {
+        String xsd1 = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test1'\n"
+                + "        targetNamespace='jaxp13_test1'\n" + "        elementFormDefault='qualified'>\n" + "    <import namespace='jaxp13_test2'/>\n"
+                + "    <element name='test'/>\n" + "    <element name='child1'/>\n" + "</schema>\n";
+
+        final NullPointerException EUREKA = new NullPointerException("NewSchema015");
+
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+        StringReader reader = new StringReader(xsd1);
+        StreamSource source = new StreamSource(reader);
+        LSResourceResolver resolver = new LSResourceResolver() {
+            public LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI) {
+                LSInput input;
+                if (namespaceURI != null && namespaceURI.endsWith("jaxp13_test2")) {
+                    throw EUREKA;
+                } else {
+                    input = null;
+                }
+
+                return input;
+            }
+        };
+        schemaFactory.setResourceResolver(resolver);
+
+        try {
+            schemaFactory.newSchema(new Source[] { source });
+            Assert.fail("NullPointerException was not thrown.");
+        } catch (RuntimeException e) {
+            if (e != EUREKA)
+                throw e;
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug5011500.java	Mon Aug 17 11:18:31 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 validation;
+
+import java.io.ByteArrayInputStream;
+import java.io.InputStreamReader;
+
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+import javax.xml.validation.ValidatorHandler;
+
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+import org.xml.sax.XMLReader;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 5011500
+ * @summary Test ValidatorHanlder and Validator can work for the xml document.
+ */
+public class Bug5011500 {
+
+    public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test'\n"
+            + "        targetNamespace='jaxp13_test'>\n" + "    <element name='test'>\n" + "        <complexType>\n" + "            <sequence>\n"
+            + "                <element name='child' type='string'/>\n" + "            </sequence>\n" + "            <attribute name='id' type='ID'/>\n"
+            + "        </complexType>\n" + "    </element>\n" + "</schema>\n";
+
+    public static final String XML = "<?xml version='1.0'?>\n" + "<?test v01?>\n" + "<ns:test xmlns:ns='jaxp13_test' id='i001'>\n"
+            + "  <child>123abc</child>\n" + "</ns:test>\n";
+
+    private ValidatorHandler validatorHandler;
+    private Validator validator;
+
+    private XMLReader createXMLReader() throws Exception {
+        SAXParserFactory parserFactory = SAXParserFactory.newInstance();
+        parserFactory.setNamespaceAware(true);
+
+        return parserFactory.newSAXParser().getXMLReader();
+    }
+
+    private void parse(XMLReader xmlReader, String xml) throws Exception {
+        InputStreamReader reader = new InputStreamReader(new ByteArrayInputStream(xml.getBytes()));
+        InputSource inSource = new InputSource(reader);
+
+        xmlReader.parse(inSource);
+    }
+
+    @BeforeMethod
+    public void setUp() throws Exception {
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+        InputStreamReader reader = new InputStreamReader(new ByteArrayInputStream(XSD.getBytes()));
+        StreamSource xsdSource = new StreamSource(reader);
+
+        Schema schema = schemaFactory.newSchema(xsdSource);
+
+        this.validatorHandler = schema.newValidatorHandler();
+        this.validator = schema.newValidator();
+    }
+
+    @Test
+    public void test1() throws Exception {
+        DefaultHandler contentHandler = new DefaultHandler();
+        validatorHandler.setContentHandler(contentHandler);
+        validatorHandler.setErrorHandler(contentHandler);
+
+        XMLReader xmlReader = createXMLReader();
+        xmlReader.setContentHandler(validatorHandler);
+        parse(xmlReader, XML);
+    }
+
+    @Test
+    public void test2() throws Exception {
+        InputStreamReader reader = new InputStreamReader(new ByteArrayInputStream(XML.getBytes()));
+        StreamSource xmlSource = new StreamSource(reader);
+
+        validator.validate(xmlSource);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug5072946.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,121 @@
+/*
+ * 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 validation;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.sax.SAXTransformerFactory;
+import javax.xml.transform.sax.TransformerHandler;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.xml.sax.InputSource;
+import org.xml.sax.XMLReader;
+import org.xml.sax.helpers.XMLReaderFactory;
+
+/*
+ * @bug 5072946
+ * @summary Test Validator.validate(DOMSource,DOMResult) outputs to the result.
+ */
+public class Bug5072946 {
+
+    @Test
+    public void test1() throws Exception {
+
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        DocumentBuilder parser = dbf.newDocumentBuilder();
+        Document dom = parser.parse(Bug5072946.class.getResourceAsStream("Bug5072946.xml"));
+
+        SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        Schema s = sf.newSchema(Bug5072946.class.getResource("Bug5072946.xsd"));
+        Validator v = s.newValidator();
+
+        DOMResult r = new DOMResult();
+        // r.setNode(dbf.newDocumentBuilder().newDocument());
+        v.validate(new DOMSource(dom), r);
+
+        Node node = r.getNode();
+        Assert.assertNotNull(node);
+        Node fc = node.getFirstChild();
+        Assert.assertTrue(fc instanceof Element);
+        Element e = (Element) fc;
+
+        Assert.assertEquals("value", e.getAttribute("foo"));
+    }
+
+    /**
+     * Tests if the identity transformer correctly sets the output node.
+     */
+    @Test
+    public void test2() throws Exception {
+        SAXTransformerFactory sf = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
+        TransformerHandler th = sf.newTransformerHandler();
+        DOMResult r = new DOMResult();
+        th.setResult(r);
+
+        XMLReader reader = XMLReaderFactory.createXMLReader();
+        reader.setContentHandler(th);
+        reader.parse(new InputSource(Bug5072946.class.getResourceAsStream("Bug5072946.xml")));
+
+        Assert.assertNotNull(r.getNode());
+    }
+
+    @Test
+    public void test3() throws Exception {
+        SAXTransformerFactory sf = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
+        Transformer t = sf.newTransformer();
+
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        DocumentBuilder parser = dbf.newDocumentBuilder();
+        Document dom = parser.parse(Bug5072946.class.getResourceAsStream("Bug5072946.xml"));
+
+        DOMResult r = new DOMResult();
+
+        t.transform(new DOMSource(dom), r);
+        Assert.assertNotNull(r.getNode());
+
+        Node n = r.getNode().getFirstChild();
+        r.setNode(n);
+        t.transform(new DOMSource(dom), r);
+        Assert.assertNotNull(r.getNode());
+        Assert.assertSame(r.getNode(), n);
+
+        r.setNextSibling(r.getNode().getFirstChild());
+        t.transform(new DOMSource(dom), r);
+        Assert.assertNotNull(r.getNode());
+        Assert.assertSame(r.getNode(), n);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug5072946.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.0"?>
+<root />
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug5072946.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+     <xsd:element name="root">
+         <xsd:complexType>
+           <xsd:attribute name="foo" type="xsd:string" default="value"/>
+         </xsd:complexType>
+     </xsd:element>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6378043.java	Mon Aug 17 11:18:31 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 validation;
+
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6378043
+ * @summary Test XPath expression "child::" can be parsed.
+ */
+public class Bug6378043 {
+
+    static String SCHEMA_LANG = "http://www.w3.org/2001/XMLSchema";
+
+    @Test
+    public void testSelectorXPath() {
+        try {
+            Schema schema = SchemaFactory.newInstance(SCHEMA_LANG).newSchema(this.getClass().getResource("idI009.xsd"));
+        } catch (Exception e) {
+            e.printStackTrace();
+            Assert.fail("Exception occured: " + e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6449797.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,42 @@
+/*
+ * 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 validation;
+
+import javax.xml.XMLConstants;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6449797
+ * @summary Test SchemaFactory can parse the specified attribute value with a specified namespace.
+ */
+public class Bug6449797 {
+
+    @Test
+    public void test() throws SAXException {
+        // this shouldn't fail
+        SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI).newSchema(getClass().getResource("Bug6449797.xsd"));
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6449797.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<xs:schema version="1.0" targetNamespace="http://ttri.ossj/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+  <xs:complexType name="troubleTicketValueImpl">
+    <xs:complexContent>
+      <xs:extension base="ns3:attributeAccessImpl" xmlns:ns3="http://ttri.ossj/">
+        <xs:sequence>
+          <xs:element name="accountOwner" type="ns3:personReachImpl" minOccurs="0"/>
+        </xs:sequence>
+      </xs:extension>
+    </xs:complexContent>
+  </xs:complexType>
+
+  <xs:complexType name="attributeAccessImpl" abstract="true"/>
+
+  <xs:complexType name="personReachImpl">
+    <xs:sequence>
+      <xs:element name="email" type="xs:string" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6457662.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,84 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.io.OutputStreamWriter;
+import java.io.StringReader;
+
+import javax.xml.XMLConstants;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6457662
+ * @summary Test a Validator checks sequence maxOccurs correctly when it validates document repeatedly.
+ */
+public class Bug6457662 {
+
+    public static final String xml = "<ACL xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>" + "<Tokens access=\"full\">" + "<Token>CheetahTech</Token>"
+            + "<Token>CheetahView</Token>" + "</Tokens>" + "</ACL>";
+    /** Schema */
+    public static final String schema = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+            + "<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" elementFormDefault=\"qualified\" attributeFormDefault=\"unqualified\">"
+            + "<xs:element name=\"ACL\">" + "<xs:complexType mixed=\"false\">" + "<xs:sequence><xs:element ref=\"Tokens\" maxOccurs=\"3\"/></xs:sequence>"
+            + "<xs:attribute name=\"ACL\" type=\"xs:string\" use=\"optional\"/>" + "</xs:complexType>" + "</xs:element><xs:element name=\"Tokens\">"
+            + "<xs:complexType mixed=\"false\">" + "<xs:sequence><xs:element ref=\"Token\" maxOccurs=\"unbounded\"/></xs:sequence>"
+            + "<xs:attribute name=\"access\" type=\"xs:string\" use=\"required\"/>" + "</xs:complexType></xs:element><xs:element name=\"Token\"/>"
+            + "</xs:schema>";
+    /** Schema factory */
+    private static final SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+
+    @Test
+    public void test() {
+        try {
+            final Schema sc = factory.newSchema(writeSchema());
+            final Validator validator = sc.newValidator();
+            validator.validate(new StreamSource(new StringReader(xml)));
+            validator.validate(new StreamSource(new StringReader(xml)));
+            validator.validate(new StreamSource(new StringReader(xml)));
+            validator.validate(new StreamSource(new StringReader(xml)));
+        } catch (Throwable ex) {
+            Assert.fail("Exception: " + ex.getMessage());
+        }
+    }
+
+    private File writeSchema() throws IOException {
+        final File rtn = File.createTempFile("scheam", "xsd");
+        final OutputStream out = new FileOutputStream(rtn);
+        final OutputStreamWriter writer = new OutputStreamWriter(out, "UTF-8");
+        writer.write(schema);
+        writer.close();
+        out.close();
+        return rtn;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6467424.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--A OnJava Journal Catalog-->
+
+<catalog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
+   xsi:noNamespaceSchemaLocation=
+ "file://./unit-test/javax/xml/validation/catalog.xsd" title="OnJava.com" publisher="O'Reilly">
+ <journal date="April 2004">
+   <article>
+    <title></title>
+    <author>Narayanan Jayaratchagan</author>
+   </article>
+ </journal>
+ <journal date="January 2004">
+   <article>
+    <title></title>
+    <author>Daniel Steinberg</author>
+   </article>
+ </journal>
+</catalog>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6467424.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+  <xs:element name="catalog">
+   <xs:complexType>
+    <xs:sequence>
+     <xs:element ref="journal" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:attribute name="title" type="xs:string"/>
+    <xs:attribute name="publisher"  type="xs:string"/>
+   </xs:complexType>
+  </xs:element>
+  <xs:element name="journal">
+   <xs:complexType>
+    <xs:sequence>
+     <xs:element ref="article" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:attribute name="date" type="xs:string"/>
+   </xs:complexType>
+  </xs:element>
+  <xs:element name="article">
+   <xs:complexType>
+    <xs:sequence>
+     <xs:element name="title" type="xs:string" minOccurs="1" default="Schema Validation"/>
+     <xs:element ref="author" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+   </xs:complexType>
+  </xs:element>
+  <xs:element name="author" type="xs:string"/>
+</xs:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6467424Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,201 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+import java.io.IOException;
+import java.io.StringWriter;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerConfigurationException;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6467424
+ * @summary Test Validator augments the default delement value if feature element-default is on.
+ */
+public class Bug6467424Test {
+    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 test() {
+        // System.setSecurityManager(new SecurityManager());
+        try {
+            SchemaFactory factory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+            File schemaLocation = new File(getClass().getResource("Bug6467424.xsd").getFile());
+            Schema schema = factory.newSchema(schemaLocation);
+            Validator validator = schema.newValidator();
+
+            DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
+            domFactory.setNamespaceAware(true); // never forget this
+            DocumentBuilder builder = domFactory.newDocumentBuilder();
+            Document doc = builder.parse(new File(getClass().getResource("Bug6467424.xml").getFile()));
+
+            DOMSource source = new DOMSource(doc);
+            DOMResult result = new DOMResult();
+
+            validator.validate(source, result);
+            Document augmented = (Document) result.getNode();
+
+            TransformerFactory tFactory = TransformerFactory.newInstance();
+
+            Transformer transformer = tFactory.newTransformer();
+
+            DOMSource domSource = new DOMSource(augmented);
+            StringWriter sw = new StringWriter();
+            // StreamResult streamResult = new StreamResult(System.out);
+            StreamResult streamResult = new StreamResult(sw);
+            transformer.transform(domSource, streamResult);
+            String s = sw.toString();
+            if (s.indexOf("Schema Validation") == -1) {
+                Assert.fail("Failed: result is expected to be augmented");
+            }
+        }
+
+        catch (TransformerConfigurationException e) {
+            // e.printStackTrace();
+            System.out.println(e.getMessage());
+        } catch (TransformerException e) {
+            System.out.println(e.getMessage());
+        } catch (SAXException e) {
+            System.out.println(e.getMessage());
+        } catch (ParserConfigurationException e) {
+            System.out.println(e.getMessage());
+        } catch (IOException e) {
+            System.out.println(e.getMessage());
+        }
+    }
+
+    /**
+     * this test is to make sure the element-default feature works for
+     * validation using DOM parser reference: parser feature:
+     * http://xerces.apache.org/xerces2-j/feature.html#validation
+     */
+    @Test
+    public void testDOMValidation() throws Exception {
+        try {
+            DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
+            // domFactory.setFeature("http://xml.org/sax/features/validation",
+            // true);
+            domFactory.setNamespaceAware(true); // never forget this
+            domFactory.setValidating(true);
+
+            domFactory.setAttribute(SCHEMA_LANGUAGE, XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            domFactory.setAttribute(SCHEMA_SOURCE, Bug6467424Test.class.getResource("Bug6467424.xsd").toExternalForm());
+
+            domFactory.setFeature("http://apache.org/xml/features/validation/schema", true);
+            domFactory.setFeature("http://apache.org/xml/features/validation/schema/element-default", true);
+            DocumentBuilder builder = domFactory.newDocumentBuilder();
+            Document doc = builder.parse(new File(getClass().getResource("Bug6467424.xml").getFile()));
+
+            TransformerFactory tFactory = TransformerFactory.newInstance();
+
+            Transformer transformer = tFactory.newTransformer();
+            DOMSource domSource = new DOMSource(doc);
+            StringWriter sw = new StringWriter();
+            // StreamResult streamResult = new StreamResult(System.out);
+            StreamResult streamResult = new StreamResult(sw);
+            transformer.transform(domSource, streamResult);
+            String s = sw.toString();
+            if (s.indexOf("Schema Validation") == -1) {
+                Assert.fail("Failed: result is expected to be augmented");
+            }
+
+        }
+
+        catch (TransformerConfigurationException e) {
+            System.out.println(e.getMessage());
+        } catch (TransformerException e) {
+            System.out.println(e.getMessage());
+        } catch (SAXException e) {
+            System.out.println(e.getMessage());
+        } catch (ParserConfigurationException e) {
+            System.out.println(e.getMessage());
+        } catch (IOException e) {
+            System.out.println(e.getMessage());
+        }
+    }
+
+    @Test
+    public void testDOMValidation1() throws Exception {
+        try {
+            DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
+            // domFactory.setFeature("http://xml.org/sax/features/validation",
+            // true);
+            domFactory.setNamespaceAware(true); // never forget this
+            domFactory.setValidating(true);
+
+            domFactory.setAttribute(SCHEMA_LANGUAGE, XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            domFactory.setAttribute(SCHEMA_SOURCE, Bug6467424Test.class.getResource("Bug6467424.xsd").toExternalForm());
+
+            domFactory.setFeature("http://apache.org/xml/features/validation/schema", true);
+            domFactory.setFeature("http://apache.org/xml/features/validation/schema/element-default", false);
+            DocumentBuilder builder = domFactory.newDocumentBuilder();
+            Document doc = builder.parse(new File(getClass().getResource("Bug6467424.xml").getFile()));
+
+            TransformerFactory tFactory = TransformerFactory.newInstance();
+
+            Transformer transformer = tFactory.newTransformer();
+            DOMSource domSource = new DOMSource(doc);
+            StringWriter sw = new StringWriter();
+            // StreamResult streamResult = new StreamResult(System.out);
+            StreamResult streamResult = new StreamResult(sw);
+            transformer.transform(domSource, streamResult);
+            String s = sw.toString();
+            if (s.indexOf("Schema Validation") > 0) {
+                Assert.fail("Failed: result is not expected to be augmented");
+            }
+
+        }
+
+        catch (TransformerConfigurationException e) {
+            System.out.println(e.getMessage());
+        } catch (TransformerException e) {
+            System.out.println(e.getMessage());
+        } catch (SAXException e) {
+            System.out.println(e.getMessage());
+        } catch (ParserConfigurationException e) {
+            System.out.println(e.getMessage());
+        } catch (IOException e) {
+            System.out.println(e.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6483188.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,96 @@
+/*
+ * 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 validation;
+
+import java.net.URL;
+
+import javax.xml.XMLConstants;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @bug 6483188
+ * @summary Test Schema Validator can handle element with having large maxOccurs, but doesn't accept sequence with having large maxOccurs in FEATURE_SECURE_PROCESSING mode.
+ */
+public class Bug6483188 {
+    static boolean _isSecureMode = false;
+    static {
+        if (System.getSecurityManager() != null) {
+            _isSecureMode = true;
+            System.out.println("Security Manager is present");
+        } else {
+            System.out.println("Security Manager is NOT present");
+        }
+    }
+
+    SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+
+    @Test
+    public void testLargeElementNoSecurity() {
+        if (_isSecureMode)
+            return; // jaxp secure feature can not be turned off when security
+                    // manager is present
+        try {
+            sf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, Boolean.FALSE);
+            URL url = getClass().getResource("test-element.xsd");
+            Schema s = sf.newSchema(url);
+            Validator v = s.newValidator();
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    @Test
+    public void testLargeElementWithSecurity() {
+        try {
+            sf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, Boolean.TRUE);
+            URL url = getClass().getResource("test-element.xsd");
+            Schema s = sf.newSchema(url);
+            Validator v = s.newValidator();
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    @Test
+    public void testLargeSequenceWithSecurity() {
+        try {
+            sf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, Boolean.TRUE);
+            URL url = getClass().getResource("test-sequence.xsd");
+            Schema s = sf.newSchema(url);
+            Validator v = s.newValidator();
+            Assert.fail("Schema was accepted even with secure processing enabled.");
+        } catch (SAXParseException e) {
+            // falls through - exception expected
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6493687.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,44 @@
+/*
+ * 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 validation;
+
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+
+/*
+ * @bug 6493687
+ * @summary Test validator.validate(new DOMSource(node)) without any exception.
+ */
+public class Bug6493687 {
+
+    @Test
+    public void test() throws Exception {
+        System.out.println("Got here");
+        Document doc = new XMLDocBuilder("Bug6493687.xml", "UTF-8", "Bug6493687.xsd").getDocument();
+        System.out.println("Got here2");
+        System.out.println(doc);
+        System.out.println(doc.getDocumentElement().getNodeName());
+        System.out.println("Got here3");
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6493687.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ROOT Typ="Contents" Version="1.0">
+	<LINKS>
+		<LINK>
+			<TARGET template="a.xml" Version="1">
+				<INFO Description="test1" Theme="b"/>
+			</TARGET>
+		</LINK>
+		<LINK>
+			<TARGET template="b.xml" Version="2">
+				<INFO Description="test2" Theme="b"/>
+			</TARGET>
+		</LINK>
+	</LINKS>
+</ROOT>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6493687.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="INFO">
+		<xs:complexType>
+			<xs:attribute name="Description" type="xs:NMTOKEN" use="required"/>
+			<xs:attribute name="Theme" type="xs:NMTOKEN" use="required"/>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="LINK">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="TARGET"/>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="LINKS">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="LINK" maxOccurs="unbounded"/>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="ROOT">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="LINKS"/>
+			</xs:sequence>
+			<xs:attribute name="Typ" type="xs:NMTOKEN" use="required"/>
+			<xs:attribute name="Version" type="xs:decimal" use="required"/>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="TARGET">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="INFO"/>
+			</xs:sequence>
+			<xs:attribute name="Version" type="xs:integer" use="required"/>
+			<xs:attribute name="template" type="xs:NMTOKEN" use="required"/>
+		</xs:complexType>
+	</xs:element>
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6509668.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,137 @@
+/*
+ * 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 validation;
+
+import java.io.ByteArrayInputStream;
+import java.io.IOException;
+import java.io.InputStreamReader;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.TypeInfoProvider;
+import javax.xml.validation.ValidatorHandler;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.TypeInfo;
+import org.xml.sax.Attributes;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import org.xml.sax.XMLReader;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 6509668
+ * @summary Test TypeInfoProvider.getElementTypeInfo() for union type when startElement and endElement.
+ */
+public class Bug6509668 {
+
+    public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n"
+            + "  xmlns:ns='http://example.org/jaxp13_test'\n" + "    targetNamespace='http://example.org/jaxp13_test'\n" + "    elementFormDefault='qualified'>\n"
+            + "  <simpleType name='intOrString'>\n" + "    <union memberTypes='int string'/>\n" + "  </simpleType>\n"
+            + "  <element name='test' type='ns:intOrString'/>\n" + "</schema>\n";
+
+    public static final String XML = "<?xml version='1.0'?>\n" + "<ns:test xmlns:ns='http://example.org/jaxp13_test'>abc</ns:test>\n";
+
+    private ValidatorHandler createValidatorHandler(String xsd) throws SAXException {
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+        InputStreamReader reader = new InputStreamReader(new ByteArrayInputStream(xsd.getBytes()));
+        StreamSource xsdSource = new StreamSource(reader);
+
+        Schema schema = schemaFactory.newSchema(xsdSource);
+        return schema.newValidatorHandler();
+    }
+
+    private XMLReader createXMLReader() throws ParserConfigurationException, SAXException {
+        SAXParserFactory parserFactory = SAXParserFactory.newInstance();
+        if (!parserFactory.isNamespaceAware()) {
+            parserFactory.setNamespaceAware(true);
+        }
+
+        return parserFactory.newSAXParser().getXMLReader();
+    }
+
+    private void parse(XMLReader xmlReader, String xml) throws SAXException, IOException {
+        InputStreamReader reader = new InputStreamReader(new ByteArrayInputStream(xml.getBytes()));
+        InputSource inSource = new InputSource(reader);
+
+        xmlReader.parse(inSource);
+    }
+
+    @Test
+    public void testGetElementTypeInfo() throws ParserConfigurationException, SAXException, IOException {
+        XMLReader xmlReader;
+        xmlReader = createXMLReader();
+
+        final ValidatorHandler validatorHandler;
+        validatorHandler = createValidatorHandler(XSD);
+
+        xmlReader.setContentHandler(validatorHandler);
+
+        DefaultHandler handler = new DefaultHandler() {
+            public void startElement(String uri, String localName, String qName, Attributes attr) throws SAXException {
+                TypeInfoProvider infoProvider = null;
+                synchronized (validatorHandler) {
+                    infoProvider = validatorHandler.getTypeInfoProvider();
+                }
+                if (infoProvider == null) {
+                    throw new SAXException("Can't obtain TypeInfoProvider object.");
+                }
+
+                try {
+                    TypeInfo typeInfo = infoProvider.getElementTypeInfo();
+                    Assert.assertEquals(typeInfo.getTypeName(), "intOrString");
+                } catch (IllegalStateException e) {
+                    System.out.println(e);
+                    throw new SAXException("Unexpected IllegalStateException was thrown.");
+                }
+            }
+
+            public void endElement(String uri, String localName, String qName) throws SAXException {
+                TypeInfoProvider infoProvider = null;
+                synchronized (validatorHandler) {
+                    infoProvider = validatorHandler.getTypeInfoProvider();
+                }
+                if (infoProvider == null) {
+                    throw new SAXException("Can't obtain TypeInfoProvider object.");
+                }
+
+                try {
+                    TypeInfo typeInfo = infoProvider.getElementTypeInfo();
+                    Assert.assertEquals(typeInfo.getTypeName(), "string");
+                } catch (IllegalStateException e) {
+                    System.out.println(e);
+                    throw new SAXException("Unexpected IllegalStateException was thrown.");
+                }
+            }
+        };
+        validatorHandler.setContentHandler(handler);
+
+        parse(xmlReader, XML);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6526547.java	Mon Aug 17 11:18:31 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 validation;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.transform.Source;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6526547
+ * @summary Test document parsed without setting NamespaceAware can be validated with a Schema.
+ */
+public class Bug6526547 {
+
+    @Test
+    public void test() {
+        try {
+            // parse an XML document into a DOM tree
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            DocumentBuilder parser = dbf.newDocumentBuilder();
+            Assert.assertFalse(parser.isNamespaceAware());
+            Document document = parser.parse(getClass().getResourceAsStream("Bug6526547.xml"));
+
+            // create a SchemaFactory capable of understanding WXS schemas
+            SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+
+            // load a WXS schema, represented by a Schema instance
+            Source schemaFile = new StreamSource(getClass().getResourceAsStream("Bug6526547.xsd"));
+            Schema schema = factory.newSchema(schemaFile);
+
+            // create a Validator instance, which can be used to validate an
+            // instance document
+            Validator validator = schema.newValidator();
+
+            // validate the DOM tree
+            try {
+                validator.validate(new DOMSource(document));
+            } catch (SAXException e) {
+                e.printStackTrace();
+                Assert.fail("Document is reported as invalid but it is not!");
+            }
+        } catch (Exception e) {
+            Assert.fail("Unable to configure validator");
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6526547.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.0"?>
+<root />
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6526547.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+     <xsd:element name="root">
+         <xsd:complexType>
+           <xsd:attribute name="foo" type="xsd:string" default="value"/>
+         </xsd:complexType>
+     </xsd:element>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6531160.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,66 @@
+/*
+ * 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 validation;
+
+import java.io.StringReader;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @bug 6531160
+ * @summary Test document generated by newDocument() can be validated with a Schema.
+ */
+public class Bug6531160 {
+
+    private static final String XSD = "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>\n" + "  <xs:element name='root' type='xs:string'/>\n"
+            + "</xs:schema>";
+
+    @Test
+    public void testDOMLevel1Validation() throws Exception {
+        SchemaFactory fact = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        Schema schema = fact.newSchema(new StreamSource(new StringReader(XSD)));
+        DocumentBuilderFactory docfact = DocumentBuilderFactory.newInstance();
+        docfact.setNamespaceAware(true);
+
+        Document doc = docfact.newDocumentBuilder().newDocument();
+        doc.appendChild(doc.createElement("root"));
+
+        try {
+            schema.newValidator().validate(new DOMSource(doc));
+        } catch (SAXParseException e) {
+            Assert.fail("Validation failed: " + e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6695843.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="ASCII"?>
+<root>
+    <comment language="English">
+        commentZZZZZZZZZZZZZZZZZZ
+    </comment>
+</root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6695843.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,44 @@
+<xsd:schema
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    elementFormDefault="qualified">
+  <xsd:element name="root">
+   <xsd:complexType>
+    <xsd:sequence>
+     <xsd:element name="comment" type="Comment2Type" />
+    </xsd:sequence>
+   </xsd:complexType>
+  </xsd:element>
+    
+    <xsd:simpleType name="AsciiStringType">
+        <xsd:restriction base="xsd:string">
+            <xsd:pattern value="\p{IsBasicLatin}*" />
+        </xsd:restriction>
+    </xsd:simpleType>
+
+    <xsd:complexType name="CommentType">
+        <xsd:simpleContent>
+            <xsd:extension base="AsciiStringType">
+                <xsd:attribute name="language" use="optional">
+                    <xsd:simpleType>
+                        <xsd:restriction base="xsd:string">
+                            <xsd:enumeration value="English" />
+                            <xsd:enumeration value="French" />
+                            <xsd:enumeration value="Spanish" />
+                        </xsd:restriction>
+                    </xsd:simpleType>
+                </xsd:attribute>
+            </xsd:extension>
+        </xsd:simpleContent>
+    </xsd:complexType>
+
+
+    <xsd:complexType name="Comment2Type">
+        <xsd:simpleContent>
+            <xsd:restriction base="CommentType">
+                <xsd:minLength value="0" />
+                <xsd:maxLength value="20" />
+            </xsd:restriction>
+        </xsd:simpleContent>
+    </xsd:complexType>
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6695843Test.java	Mon Aug 17 11:18:31 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 validation;
+
+import java.io.IOException;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6695843
+ * @summary Test Validator should report accurate element type if there is a violation on a complexType with simpleContent that extends a base complexType.
+ */
+public class Bug6695843Test {
+    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 testValidateComplexTypeWithSimpleContent() throws IOException, ParserConfigurationException, SAXException {
+        try {
+            DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
+            dFactory.setNamespaceAware(true);
+
+            DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
+            Document document = dBuilder.parse(getClass().getResourceAsStream("Bug6695843.xsd"));
+            DOMSource domSource = new DOMSource(document);
+
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            Schema schema = schemaFactory.newSchema(domSource);
+
+            String xmlFileName = "Bug6695843.xml";
+            Document document1 = dBuilder.parse(getClass().getResourceAsStream(xmlFileName));
+            DOMSource domSource1 = new DOMSource(document1);
+
+            Validator validator = schema.newValidator();
+            validator.validate(domSource1);
+        } catch (Exception e) {
+            String msg = e.getMessage();
+            System.out.println(e.getMessage());
+            if (msg.indexOf("maxLength '20' for type 'null'") > 0) {
+                Assert.fail("vague error message");
+            }
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+    <xs:element name="eOtherPayment">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element ref="OtherPaymentSerialID"/>
+                <xs:element ref="CustomsCode"/>
+                <xs:element ref="DeclarantCode"/>
+                <xs:element ref="CompanyCode"/>
+                <xs:element ref="BankCode"/>
+                <xs:element ref="Transactions"/>
+                <xs:element ref="Payments"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+
+    <xs:element name="OtherPaymentSerialID">
+        <xs:simpleType>
+            <xs:restriction base="xs:string">
+                <xs:maxLength value="50"/>
+            </xs:restriction>
+        </xs:simpleType>
+    </xs:element>
+
+    <xs:element name="CustomsCode">
+        <xs:simpleType>
+            <xs:restriction base="xs:string">
+                <xs:pattern value="[A-Z0-9]{4}"/>
+            </xs:restriction>
+        </xs:simpleType>
+    </xs:element>
+
+    <xs:element name="DeclarantCode">
+        <xs:simpleType>
+            <xs:restriction base="U">
+                <xs:minLength value="0"/>
+                <xs:maxLength value="17"/>
+            </xs:restriction>
+        </xs:simpleType>
+    </xs:element>
+
+    <xs:element name="CompanyCode">
+        <xs:simpleType>
+            <xs:restriction base="U">
+                <xs:minLength value="0"/>
+                <xs:maxLength value="17"/>
+            </xs:restriction>
+        </xs:simpleType>
+    </xs:element>
+
+    <xs:element name="BankCode">
+        <xs:simpleType>
+            <xs:restriction base="U">
+                <xs:minLength value="1"/>
+                <xs:maxLength value="17"/>
+            </xs:restriction>
+        </xs:simpleType>
+    </xs:element>
+
+    <xs:element name="Transactions">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element maxOccurs="10" ref="TransactionRecord"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+
+    <xs:element name="TransactionRecord">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="Code">
+                    <xs:simpleType>
+                        <xs:restriction base="xs:string">
+                            <xs:pattern value="[A-Z0-9]{1,3}"/>
+                        </xs:restriction>
+                    </xs:simpleType>
+                </xs:element>
+                <xs:element ref="RefOffice"/>
+                <xs:element ref="RefYear"/>
+                <xs:element ref="RefSerial"/>
+                <xs:element ref="RefNumber"/>
+                <xs:element ref="TransactionReference"/>
+                <xs:element name="Amount" type="NMU"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+
+    <xs:element name="RefOffice">
+        <xs:simpleType>
+            <xs:restriction base="xs:string">
+                <xs:pattern value="[A-Z0-9]{0,4}"/>
+            </xs:restriction>
+        </xs:simpleType>
+    </xs:element>
+
+    <xs:element name="RefYear">
+        <xs:simpleType>
+            <xs:restriction base="xs:string">
+                <xs:pattern value="([0-9]){0}|([0-9]){4}"/>
+            </xs:restriction>
+        </xs:simpleType>
+    </xs:element>
+
+    <xs:element name="RefSerial">
+        <xs:simpleType>
+            <xs:restriction base="xs:string">
+                <xs:pattern value="[A-Z]{0,1}"/>
+            </xs:restriction>
+        </xs:simpleType>
+    </xs:element>
+
+    <xs:element name="RefNumber">
+        <xs:simpleType>
+            <xs:restriction base="xs:string">
+                <xs:pattern value="([0-9])*"/>
+            </xs:restriction>
+        </xs:simpleType>
+    </xs:element>
+
+    <xs:element name="TransactionReference">
+        <xs:simpleType>
+            <xs:restriction base="xs:string">
+                <xs:minLength value="1"/>
+                <xs:maxLength value="35"/>
+            </xs:restriction>
+        </xs:simpleType>
+    </xs:element>
+
+    <xs:element name="Payments">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element maxOccurs="10" ref="MeansOfPayment"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+
+    <xs:element name="MeansOfPayment">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element ref="Code"/>
+                <xs:element ref="Reference"/>
+                <xs:element name="Amount" type="NMU"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+
+    <xs:element name="Code">
+        <xs:simpleType>
+            <xs:restriction base="xs:string">
+                <xs:pattern value="[A-Z0-9]{2}"/>
+            </xs:restriction>
+        </xs:simpleType>
+    </xs:element>
+
+    <xs:element name="Reference">
+        <xs:simpleType>
+            <xs:restriction base="U">
+                <xs:minLength value="1"/>
+                <xs:maxLength value="17"/>
+            </xs:restriction>
+        </xs:simpleType>
+    </xs:element>
+
+    <xs:simpleType name="NMU">
+        <xs:restriction base="xs:decimal">
+            <xs:minInclusive value="0"/>
+            <xs:fractionDigits value="2"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+    <xs:simpleType name="U">
+        <xs:restriction base="xs:string">
+            <xs:pattern value="([!-`]|[{-~])*"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+</xs:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_1.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_10.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_11.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_12.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_13.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_14.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_15.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_16.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_17.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_18.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_19.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_2.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_20.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_21.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_22.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_23.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_24.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_25.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_3.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_4.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_5.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_6.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_7.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_8.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084In/Bug6773084_9.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eOtherPayment>
+  <OtherPaymentSerialID>b972115d-829e-43ff-aebb-c7157ef25c71</OtherPaymentSerialID>
+  <CustomsCode>01AP</CustomsCode>
+  <DeclarantCode>A9901017</DeclarantCode>
+  <CompanyCode>A0500823</CompanyCode>
+  <BankCode>221</BankCode>
+  <Transactions>
+    <TransactionRecord>
+      <Code>89</Code>
+      <RefOffice>01AP</RefOffice>
+      <RefYear>2008</RefYear>
+      <RefSerial>A</RefSerial>
+      <RefNumber>68</RefNumber>
+      <TransactionReference>KJ091</TransactionReference>
+      <Amount>5000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>97</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>LL091</TransactionReference>
+      <Amount>68700</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>98</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>HH098</TransactionReference>
+      <Amount>8000</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>96</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>PO091</TransactionReference>
+      <Amount>7500</Amount>
+    </TransactionRecord>
+    <TransactionRecord>
+      <Code>92</Code>
+      <RefOffice/>
+      <RefYear/>
+      <RefSerial/>
+      <RefNumber/>
+      <TransactionReference>098</TransactionReference>
+      <Amount>14000</Amount>
+    </TransactionRecord>
+  </Transactions>
+  <Payments>
+    <MeansOfPayment>
+      <Code>21</Code>
+      <Reference>EF01</Reference>
+      <Amount>26800</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>22</Code>
+      <Reference>G</Reference>
+      <Amount>15000</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>HH</Reference>
+      <Amount>9810</Amount>
+    </MeansOfPayment>
+    <MeansOfPayment>
+      <Code>20</Code>
+      <Reference>DEE</Reference>
+      <Amount>51590</Amount>
+    </MeansOfPayment>
+  </Payments>
+</eOtherPayment>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6773084Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,166 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+import java.io.FileFilter;
+import java.io.IOException;
+import java.util.concurrent.BrokenBarrierException;
+import java.util.concurrent.CyclicBarrier;
+import java.util.concurrent.ExecutorService;
+import java.util.concurrent.Executors;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.transform.Source;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.BeforeClass;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @bug 6773084
+ * @summary Test Schema object is thread safe.
+ */
+public class Bug6773084Test {
+    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 int NTHREADS = 25;
+    private static final ExecutorService EXEC = Executors.newCachedThreadPool();
+
+    private static final CyclicBarrier BARRIER = new CyclicBarrier(NTHREADS);
+
+    public static final String IN_FOLDER = Bug6773084Test.class.getResource("Bug6773084In").getPath();
+    public static final String XSD_PATH = Bug6773084Test.class.getResource("Bug6773084.xsd").getPath();
+
+    private static Schema schema;
+
+    @BeforeClass
+    public void setup(){
+        policy.PolicyUtil.changePolicy(getClass().getResource("6773084.policy").getFile());
+    }
+
+    @Test
+    public void test() throws Exception {
+        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        Source schemaFile = new StreamSource(XSD_PATH);
+        try {
+            schema = factory.newSchema(schemaFile);
+        } catch (SAXException e) {
+            e.printStackTrace();
+            System.exit(-1);
+        }
+
+        File incoming = new File(IN_FOLDER);
+        File[] files = incoming.listFiles(new FileFilter() {
+            public boolean accept(File file) {
+                return file.isFile() && file.getName().endsWith(".xml");
+            }
+        });
+
+        for (int i = 0; i < files.length; i++) {
+            EXEC.execute(new XMLValiddator(files[i], i));
+        }
+        EXEC.shutdown();
+
+    }
+
+    private static class XMLValiddator implements Runnable {
+
+        private File file;
+        private int index;
+
+        public XMLValiddator(File file, int index) {
+            this.file = file;
+            this.index = index;
+        }
+
+        public void run() {
+
+            try {
+                System.out.printf("Waiting for barrier: %s%n", index);
+                BARRIER.await();
+                System.out.println("Validating....");
+
+                DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+                factory.setNamespaceAware(true);
+
+                DocumentBuilder builder = factory.newDocumentBuilder();
+                Document document = builder.parse(file);
+
+                Validator validator = schema.newValidator();
+                validator.setErrorHandler(new ErrorHandlerImpl());
+                validator.validate(new DOMSource(document));
+
+            } catch (IOException e) {
+                e.printStackTrace();
+            } catch (SAXException e) {
+                e.printStackTrace();
+                Assert.fail("Test failed.");
+            } catch (ParserConfigurationException e) {
+                e.printStackTrace();
+            } catch (BrokenBarrierException e) {
+                e.printStackTrace();
+            } catch (InterruptedException e) {
+                e.printStackTrace();
+            }
+
+        }
+    }
+
+    private static class ErrorHandlerImpl implements ErrorHandler {
+
+        public void warning(SAXParseException exception) throws SAXException {
+            System.out
+                    .printf("**Parsing Warning. Line: %s  URI: %s  Message: %s%n", exception.getLineNumber(), exception.getSystemId(), exception.getMessage());
+        }
+
+        public void error(SAXParseException exception) throws SAXException {
+            String msg = String.format("**Parsing Error. Line: %s  URI: %s  Message: %s%n", exception.getLineNumber(), exception.getSystemId(),
+                    exception.getMessage());
+            System.out.println(msg);
+            throw new SAXException(msg);
+        }
+
+        public void fatalError(SAXParseException exception) throws SAXException {
+            String msg = String.format("**Parsing Fatal Error. Line: %s  URI: %s  Message: %s%n", exception.getLineNumber(), exception.getSystemId(),
+                    exception.getMessage());
+            System.out.println(msg);
+            throw new SAXException(msg);
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6859210.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,96 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @bug 6859210
+ * @summary Test Schema Validator can parse xml when maxOccurs is large.
+ */
+public class Bug6859210 {
+
+    boolean errorFound;
+
+    DocumentBuilder documentBuilder;
+
+    private void printMethodName() {
+        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
+        System.out.println(stack[2].getMethodName());
+    }
+
+    public Bug6859210() throws Exception {
+        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        Schema schema = factory.newSchema(new File(getClass().getResource("CREMAS01.xsd").getFile()));
+
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        dbf.setSchema(schema);
+
+        documentBuilder = dbf.newDocumentBuilder();
+        documentBuilder.setErrorHandler(new ErrorHandler() {
+            public void error(SAXParseException e) throws SAXException {
+                System.out.println("Error: " + e.getMessage());
+                errorFound = true;
+            }
+
+            public void fatalError(SAXParseException e) throws SAXException {
+                System.out.println("Fatal error: " + e.getMessage());
+            }
+
+            public void warning(SAXParseException e) throws SAXException {
+                System.out.println("Warning: " + e.getMessage());
+            }
+        });
+    }
+
+    @Test
+    public void testGeneratedSample() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("CREMAS01.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (errorFound) {
+            Assert.fail("Unexpected validation error reported");
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6925531Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,206 @@
+/*
+ * 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 validation;
+
+import java.io.ByteArrayInputStream;
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.security.AccessController;
+import java.security.AllPermission;
+import java.security.Permission;
+import java.security.Permissions;
+import java.security.PrivilegedAction;
+
+import javax.xml.XMLConstants;
+import javax.xml.transform.sax.SAXSource;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXNotRecognizedException;
+import org.xml.sax.SAXNotSupportedException;
+
+/*
+ * @bug 6925531
+ * @summary Test Validator can validate SAXSource when SecurityManager is set or FEATURE_SECURE_PROCESSING is on.
+ */
+public class Bug6925531Test {
+    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";
+    String xsd = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + "        xmlns:test='jaxp13_test'\n"
+            + "        targetNamespace='jaxp13_test'\n" + "        elementFormDefault='qualified'>\n" + "    <element name='test' type='string'/>\n"
+            + "</schema>\n";
+
+    String xml = "<?xml version='1.0'?>\n" + "<ns:test xmlns:ns='jaxp13_test'>\n" + "    abc\n" + "</ns:test>\n";
+
+    StreamSource xsdSource;
+    SAXSource xmlSource;
+
+    public void init() {
+        InputStreamReader reader = new InputStreamReader(new ByteArrayInputStream(xsd.getBytes()));
+        xsdSource = new StreamSource(reader);
+        reader = new InputStreamReader(new ByteArrayInputStream(xml.getBytes()));
+        InputSource inSource = new InputSource(reader);
+        xmlSource = new SAXSource(inSource);
+    }
+
+    /**
+     * when security manager is present, secure feature is on automatically
+     */
+    @Test
+    public void test_SM() {
+        init();
+        Permissions granted = new java.security.Permissions();
+        granted.add(new AllPermission());
+
+        System.setSecurityManager(new MySM(granted));
+
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+        Schema schema = null;
+        try {
+            schema = schemaFactory.newSchema(xsdSource);
+        } catch (SAXException e) {
+            Assert.fail(e.toString());
+        }
+
+        Validator validator = schema.newValidator();
+
+        try {
+            validator.validate(xmlSource, null);
+        } catch (SAXException e) {
+            Assert.fail(e.toString());
+        } catch (IOException e) {
+            Assert.fail(e.toString());
+        } finally {
+            System.setSecurityManager(null);
+        }
+
+        System.out.println("OK");
+    }
+
+    /**
+     * set secure feature on SchemaFactory
+     */
+    @Test
+    public void test_SF() {
+        init();
+        AccessController.doPrivileged(new PrivilegedAction() {
+            public Object run() {
+                System.setSecurityManager(null);
+                return null; // nothing to return
+            }
+        });
+
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+        try {
+            schemaFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
+        } catch (SAXNotRecognizedException ex) {
+            System.out.println(ex.getMessage());
+        } catch (SAXNotSupportedException ex) {
+            System.out.println(ex.getMessage());
+        }
+
+        Schema schema = null;
+        try {
+            schema = schemaFactory.newSchema(xsdSource);
+        } catch (SAXException e) {
+            Assert.fail(e.toString());
+        }
+
+        Validator validator = schema.newValidator();
+
+        try {
+            validator.validate(xmlSource, null);
+        } catch (SAXException e) {
+            Assert.fail(e.toString());
+        } catch (IOException e) {
+            Assert.fail(e.toString());
+        }
+        System.out.println("OK");
+    }
+
+    /**
+     * set secure feature on the Validator
+     */
+    @Test
+    public void test_Val() {
+        init();
+        System.setSecurityManager(null);
+        SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+
+        Schema schema = null;
+        try {
+            schema = schemaFactory.newSchema(xsdSource);
+        } catch (SAXException e) {
+            Assert.fail(e.toString());
+        }
+
+        Validator validator = schema.newValidator();
+        try {
+            validator.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
+        } catch (SAXNotRecognizedException ex) {
+            System.out.println(ex.getMessage());
+        } catch (SAXNotSupportedException ex) {
+            System.out.println(ex.getMessage());
+        }
+
+        try {
+            validator.validate(xmlSource, null);
+        } catch (SAXException e) {
+            Assert.fail(e.toString());
+        } catch (IOException e) {
+            Assert.fail(e.toString());
+        }
+        System.out.println("OK");
+    }
+
+    class MySM extends SecurityManager {
+        Permissions granted;
+
+        public MySM(Permissions perms) {
+            granted = perms;
+        }
+
+        /**
+         * The central point in checking permissions. Overridden from
+         * java.lang.SecurityManager
+         *
+         * @param perm The permission requested.
+         */
+        @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/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6946312.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,4 @@
+<root>
+<foo>text<bar/></foo>
+</root>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6946312Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,124 @@
+/*
+ * 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 validation;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.StringReader;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.Attributes;
+import org.xml.sax.ContentHandler;
+import org.xml.sax.InputSource;
+import org.xml.sax.Locator;
+import org.xml.sax.SAXException;
+import org.xml.sax.XMLReader;
+
+/*
+ * @bug 6946312
+ * @summary Test XML parser shall callback to ContentHandler when receiving characters data.
+ */
+public class Bug6946312Test {
+    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";
+    String xmlSchema = "<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\n" + "<xs:element name=\"root\">\n" + "<xs:complexType>\n"
+            + "<xs:sequence>\n" + "<xs:any namespace=\"##any\"  processContents=\"skip\"/>\n" + "</xs:sequence>\n" + "</xs:complexType>\n" + "</xs:element>\n"
+            + "</xs:schema>";
+
+    boolean charEvent = false;
+
+    @Test
+    public void test() throws SAXException, ParserConfigurationException, IOException {
+        Schema schema = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema").newSchema(new StreamSource(new StringReader(xmlSchema)));
+
+        SAXParserFactory saxParserFactory = SAXParserFactory.newInstance();
+        saxParserFactory.setNamespaceAware(true);
+        saxParserFactory.setSchema(schema);
+        // saxParserFactory.setFeature("http://java.sun.com/xml/schema/features/report-ignored-element-content-whitespace",
+        // true);
+
+        SAXParser saxParser = saxParserFactory.newSAXParser();
+
+        XMLReader xmlReader = saxParser.getXMLReader();
+
+        xmlReader.setContentHandler(new MyContentHandler());
+
+        // InputStream input =
+        // ClassLoader.getSystemClassLoader().getResourceAsStream("test/test.xml");
+
+        InputStream input = getClass().getResourceAsStream("Bug6946312.xml");
+        System.out.println("Parse InputStream:");
+        xmlReader.parse(new InputSource(input));
+        if (!charEvent) {
+            Assert.fail("missing character event");
+        }
+    }
+
+    public class MyContentHandler implements ContentHandler {
+        public void characters(char[] ch, int start, int length) {
+            charEvent = true;
+            System.out.println("Characters called: " + new String(ch, start, length));
+        }
+
+        public void endDocument() throws SAXException {
+        }
+
+        public void endElement(String arg0, String arg1, String arg2) throws SAXException {
+        }
+
+        public void endPrefixMapping(String arg0) throws SAXException {
+        }
+
+        public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException {
+            System.out.println("ignorableWhitespace called: " + new String(ch, start, length));
+        }
+
+        public void processingInstruction(String arg0, String arg1) throws SAXException {
+        }
+
+        public void setDocumentLocator(Locator arg0) {
+        }
+
+        public void skippedEntity(String arg0) throws SAXException {
+        }
+
+        public void startDocument() throws SAXException {
+        }
+
+        public void startElement(String arg0, String arg1, String arg2, Attributes arg3) throws SAXException {
+        }
+
+        public void startPrefixMapping(String arg0, String arg1) throws SAXException {
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6954738.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Document xmlns="bug.report" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="bug.report C:\temp\sun\bug.xsd">
+    <Bug>01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789</Bug>
+</Document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6954738.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--W3C Schema generated by XMLSpy v2007 sp2 (http://www.altova.com)-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="bug.report" targetNamespace="bug.report">
+    <xs:complexType name="T_Document">
+        <xs:sequence>
+            <xs:element ref="Bug"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:element name="Document" type="T_Document"/>
+    <xs:element name="Bug" type="Text"/>
+    <xs:simpleType name="Text">
+		<xs:restriction base="xs:string">
+			<xs:pattern value="[0-9A-Za-z ]{1,8000}"/>
+		</xs:restriction>
+	</xs:simpleType>
+</xs:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Bug6954738_Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,79 @@
+/*
+ * 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 validation;
+
+import java.io.IOException;
+
+import javax.xml.XMLConstants;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.annotations.Test;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @bug 6954738
+ * @summary Test Validator can process a XML document containing an element with 8000 characters.
+ */
+public class Bug6954738_Test {
+    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 test() {
+        //if StackOverflowError is thrown, it shall escape from both the ErrorHandler and catch block
+        try {
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+
+            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6954738_Test.class.getResourceAsStream("Bug6954738.xsd")));
+            Validator validator = schema.newValidator();
+            validator.setErrorHandler(new ErrorHandler() {
+                public void error(SAXParseException exception) throws SAXException {
+                    exception.printStackTrace();
+                }
+
+                public void fatalError(SAXParseException exception) throws SAXException {
+                    exception.printStackTrace();
+                }
+
+                public void warning(SAXParseException exception) throws SAXException {
+                    exception.printStackTrace();
+                }
+            });
+            validator.validate(new StreamSource(Bug6954738_Test.class.getResourceAsStream("Bug6954738.xml")));
+
+        } catch (SAXException e) {
+            System.out.println(e.getMessage());
+
+        } catch (IOException e) {
+            e.printStackTrace();
+            System.out.println(e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/CR6708840Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,136 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+import java.io.FileWriter;
+
+import javax.xml.XMLConstants;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.transform.Result;
+import javax.xml.transform.Source;
+import javax.xml.transform.stax.StAXSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6708840
+ * @summary Test Validator can process StAXSource.
+ */
+public class CR6708840Test {
+
+    @Test
+    public final void testStream() {
+        try {
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            Schema schemaGrammar = schemaFactory.newSchema(new File(getClass().getResource("gMonths.xsd").getFile()));
+
+            Validator schemaValidator = schemaGrammar.newValidator();
+            Source xmlSource = new javax.xml.transform.stream.StreamSource(new File(CR6708840Test.class.getResource("gMonths.xml").toURI()));
+            schemaValidator.validate(xmlSource);
+
+        } catch (NullPointerException ne) {
+            Assert.fail("NullPointerException when result is not specified.");
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+            e.printStackTrace();
+        }
+    }
+
+    /**
+     * refer to http://forums.java.net/jive/thread.jspa?threadID=41626&tstart=0
+     */
+    @Test
+    public final void testStAX() {
+        try {
+            XMLInputFactory xmlif = XMLInputFactory.newInstance();
+
+            // XMLStreamReader staxReader =
+            // xmlif.createXMLStreamReader((Source)new
+            // StreamSource(getClass().getResource("Forum31576.xml").getFile()));
+            XMLStreamReader staxReader = xmlif.createXMLStreamReader(this.getClass().getResourceAsStream("gMonths.xml"));
+
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            Schema schemaGrammar = schemaFactory.newSchema(new File(getClass().getResource("gMonths.xsd").getFile()));
+
+            Validator schemaValidator = schemaGrammar.newValidator();
+
+            Source staxSrc = new StAXSource(staxReader);
+            schemaValidator.validate(staxSrc);
+
+            while (staxReader.hasNext()) {
+                int eventType = staxReader.next();
+                System.out.println("Event of type: " + eventType);
+            }
+        } catch (NullPointerException ne) {
+            Assert.fail("NullPointerException when result is not specified.");
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+            e.printStackTrace();
+        }
+    }
+
+    /**
+     * workaround before the fix: provide a result
+     */
+    @Test
+    public final void testStAXWResult() {
+        try {
+            XMLInputFactory xmlif = XMLInputFactory.newInstance();
+
+            // XMLStreamReader staxReader =
+            // xmlif.createXMLStreamReader((Source)new
+            // StreamSource(getClass().getResource("Forum31576.xml").getFile()));
+            XMLStreamReader staxReader = xmlif.createXMLStreamReader(this.getClass().getResourceAsStream("gMonths.xml"));
+
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            Schema schemaGrammar = schemaFactory.newSchema(new File(getClass().getResource("gMonths.xsd").getFile()));
+
+            Validator schemaValidator = schemaGrammar.newValidator();
+
+            Source staxSrc = new StAXSource(staxReader);
+            File resultFile = new File("gMonths.result.xml");
+            if (resultFile.exists()) {
+                resultFile.delete();
+            }
+
+            Result xmlResult = new javax.xml.transform.stax.StAXResult(XMLOutputFactory.newInstance().createXMLStreamWriter(new FileWriter(resultFile)));
+            schemaValidator.validate(staxSrc, xmlResult);
+
+            while (staxReader.hasNext()) {
+                int eventType = staxReader.next();
+                System.out.println("Event of type: " + eventType);
+            }
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+            e.printStackTrace();
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/CR6740048.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,130 @@
+/*
+ * 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 validation;
+
+import java.io.IOException;
+import java.io.InputStream;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.testng.annotations.Test;
+import org.testng.Assert;
+import org.w3c.dom.Document;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @bug 6740048
+ * @summary Test DocumentBuilder can be reused when the DocumentBuilderFactory sets schema.
+ */
+public class CR6740048 {
+    private static final String TAG_INFO = "containerInfo";
+    private static final String SCHEMA_LANGUAGE_URL = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
+    private static final String SCHEMA_SOURCE_URL = "http://java.sun.com/xml/jaxp/properties/schemaSource";
+    private static final String XML_SCHEMA_URL = "http://www.w3.org/2001/XMLSchema";
+
+    @Test
+    public final void testReusingDocumentBuilder() {
+
+        try {
+            //ClassLoader loader = CR6740048.class.getClassLoader();
+
+            // Object xsd = loader.getResourceAsStream("CR6740048.xsd");
+            InputStream xsd = this.getClass().getResourceAsStream("CR6740048.xsd");
+            // create document builder
+            DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
+            docBuilderFactory.setNamespaceAware(true);
+
+            if (xsd != null) {
+                docBuilderFactory.setValidating(true);
+                docBuilderFactory.setAttribute(SCHEMA_LANGUAGE_URL, XML_SCHEMA_URL);
+                docBuilderFactory.setAttribute(SCHEMA_SOURCE_URL, xsd);
+            }
+
+            final DocumentBuilder documentBuilder = docBuilderFactory.newDocumentBuilder();
+            documentBuilder.setErrorHandler(new ErrorHandler() {
+
+                public void error(SAXParseException exception) throws SAXException {
+                    throw exception;
+                }
+
+                public void fatalError(SAXParseException exception) throws SAXException {
+                    throw exception;
+                }
+
+                public void warning(SAXParseException exception) throws SAXException {
+                    throw exception;
+                }
+            });
+
+            // TODO set the system properties in order to match the ones from
+            // the server environment
+            /**
+             * Properties props = new Properties();
+             * props.load(loader.getResourceAsStream("sysprops.properties"));
+             * System.setProperties(props);
+             */
+
+            // now parse the document
+            // InputStream is = loader.getResourceAsStream("CR6740048.xml");
+            InputStream is = this.getClass().getResourceAsStream("CR6740048.xml");
+            try {
+                Document doc = documentBuilder.parse(is);
+            } catch (Exception se) {
+
+                se.printStackTrace();
+                Assert.fail(se.getMessage());
+
+            } finally {
+                is.close();
+            }
+
+            // now use the parser object as second time
+            // is = loader.getResourceAsStream("CR6740048.xml");
+            is = this.getClass().getResourceAsStream("CR6740048.xml");
+            try {
+                Document doc = documentBuilder.parse(is);
+            } catch (Exception se) {
+
+                se.printStackTrace();
+                Assert.fail(se.getMessage());
+
+            } finally {
+                is.close();
+            }
+
+            System.err.println("Parse successful");
+
+            is.close();
+        } catch (ParserConfigurationException pce) {
+            pce.printStackTrace();
+        } catch (IOException ioe) {
+            ioe.printStackTrace();
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/CR6740048.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<containers><containerInfo name="Stopped Test Container"><isJ2EEContainer>false</isJ2EEContainer><moduleName>resource</moduleName><priority>80</priority><fileExtensions><name>.stopped</name></fileExtensions><softwareTypes><name>J2EE</name></softwareTypes><supportsLazyStart>true</supportsLazyStart><supportingParallelism>true</supportingParallelism><supportsSingleFileUpdate>false</supportsSingleFileUpdate></containerInfo></containers>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/CR6740048.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"><xs:element name="containers"><xs:complexType><xs:sequence><xs:element name="containerInfo"><xs:complexType><xs:all><xs:element name="isJ2EEContainer" type="xs:boolean" minOccurs="0" maxOccurs="1"/><xs:element name="moduleName" type="xs:string" minOccurs="0" maxOccurs="1"/><xs:element name="priority" type="xs:decimal" minOccurs="0" maxOccurs="1"/><xs:element name="classLoadPriority" type="xs:decimal" minOccurs="0" maxOccurs="1"/><xs:element name="fileNames" type="string-listType" minOccurs="0" maxOccurs="1"/><xs:element name="fileExtensions" type="string-listType" minOccurs="0" maxOccurs="1"/><xs:element name="resourceTypes" type="string-listType" minOccurs="0" maxOccurs="1"/><xs:element name="softwareTypes" type="string-listType" minOccurs="0" maxOccurs="1"/><xs:element name="hasGenerator" type="xs:boolean" minOccurs="0" maxOccurs="1"/><xs:element name="hasModuleDetector" type="xs:boolean" minOccurs="0" maxOccurs="1"/><xs:element name="supportsSingleFileUpdate" type="xs:boolean" minOccurs="0" maxOccurs="1"/><xs:element name="supportsLazyStart" type="xs:boolean" minOccurs="0" maxOccurs="1"/><xs:element name="supportingParallelism" type="xs:boolean" minOccurs="0" maxOccurs="1"/><xs:element name="needStartInitially" type="xs:boolean" minOccurs="0" maxOccurs="1"/><xs:element name="forceServiceStart" type="xs:boolean" minOccurs="0" maxOccurs="1"/></xs:all><xs:attribute name="name" type="xs:string" use="required"/></xs:complexType></xs:element></xs:sequence></xs:complexType></xs:element><xs:complexType name="string-listType"><xs:sequence><xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="unbounded"/></xs:sequence></xs:complexType></xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/CREMAS01.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,1138 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+    Document   : CREMAS01.xml
+    Created on : July 28, 2009, 10:49 AM
+    Author     : sp106478
+    Description:
+        Purpose of the document follows.
+-->
+
+<CREMAS01  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
+   xsi:schemaLocation='CREMAS01 CREMAS01.xsd'>
+    <IDOC BEGIN="1">
+        <EDI_DC40 SEGMENT="1">
+            <TABNAM>EDI_DC40</TABNAM>
+            <MANDT></MANDT>
+            <DOCNUM></DOCNUM>
+            <DOCREL></DOCREL>
+            <STATUS></STATUS>
+            <DIRECT>1</DIRECT>
+            <OUTMOD></OUTMOD>
+            <EXPRSS></EXPRSS>
+            <TEST></TEST>
+            <IDOCTYP>CREMAS01</IDOCTYP>
+            <CIMTYP></CIMTYP>
+            <MESTYP>CREMAS</MESTYP>
+            <MESCOD></MESCOD>
+            <MESFCT></MESFCT>
+            <STD></STD>
+            <STDVRS></STDVRS>
+            <STDMES></STDMES>
+            <SNDPOR></SNDPOR>
+            <SNDPRT></SNDPRT>
+            <SNDPFC></SNDPFC>
+            <SNDPRN></SNDPRN>
+            <SNDSAD></SNDSAD>
+            <SNDLAD></SNDLAD>
+            <RCVPOR></RCVPOR>
+            <RCVPRT></RCVPRT>
+            <RCVPFC></RCVPFC>
+            <RCVPRN></RCVPRN>
+            <RCVSAD></RCVSAD>
+            <RCVLAD></RCVLAD>
+            <CREDAT></CREDAT>
+            <CRETIM></CRETIM>
+            <REFINT></REFINT>
+            <REFGRP></REFGRP>
+            <REFMES></REFMES>
+            <ARCKEY></ARCKEY>
+            <SERIAL></SERIAL>
+        </EDI_DC40>
+        <E1LFA1M SEGMENT="1">
+            <MSGFN></MSGFN>
+            <LIFNR></LIFNR>
+            <ANRED></ANRED>
+            <BAHNS></BAHNS>
+            <BBBNR></BBBNR>
+            <BBSNR></BBSNR>
+            <BEGRU></BEGRU>
+            <BRSCH></BRSCH>
+            <BUBKZ></BUBKZ>
+            <DATLT></DATLT>
+            <DTAMS></DTAMS>
+            <DTAWS></DTAWS>
+            <ERDAT></ERDAT>
+            <ERNAM></ERNAM>
+            <ESRNR></ESRNR>
+            <KONZS></KONZS>
+            <KTOKK></KTOKK>
+            <KUNNR></KUNNR>
+            <LAND1></LAND1>
+            <LNRZA></LNRZA>
+            <LOEVM></LOEVM>
+            <NAME1></NAME1>
+            <NAME2></NAME2>
+            <NAME3></NAME3>
+            <NAME4></NAME4>
+            <ORT01></ORT01>
+            <ORT02></ORT02>
+            <PFACH></PFACH>
+            <PSTL2></PSTL2>
+            <PSTLZ></PSTLZ>
+            <REGIO></REGIO>
+            <SORTL></SORTL>
+            <SPERR></SPERR>
+            <SPERM></SPERM>
+            <SPRAS></SPRAS>
+            <STCD1></STCD1>
+            <STCD2></STCD2>
+            <STKZA></STKZA>
+            <STKZU></STKZU>
+            <STRAS></STRAS>
+            <TELBX></TELBX>
+            <TELF1></TELF1>
+            <TELF2></TELF2>
+            <TELFX></TELFX>
+            <TELTX></TELTX>
+            <TELX1></TELX1>
+            <XCPDK></XCPDK>
+            <XZEMP></XZEMP>
+            <VBUND></VBUND>
+            <FISKN></FISKN>
+            <STCEG></STCEG>
+            <STKZN></STKZN>
+            <SPERQ></SPERQ>
+            <ADRNR></ADRNR>
+            <MCOD1></MCOD1>
+            <MCOD2></MCOD2>
+            <MCOD3></MCOD3>
+            <GBORT></GBORT>
+            <GBDAT></GBDAT>
+            <SEXKZ></SEXKZ>
+            <KRAUS></KRAUS>
+            <REVDB></REVDB>
+            <QSSYS></QSSYS>
+            <KTOCK></KTOCK>
+            <PFORT></PFORT>
+            <WERKS></WERKS>
+            <LTSNA></LTSNA>
+            <WERKR></WERKR>
+            <PLKAL></PLKAL>
+            <DUEFL></DUEFL>
+            <TXJCD></TXJCD>
+            <E1LFB1M SEGMENT="1">
+                <MSGFN></MSGFN>
+                <LIFNR></LIFNR>
+                <BUKRS></BUKRS>
+                <ERDAT></ERDAT>
+                <ERNAM></ERNAM>
+                <SPERR></SPERR>
+                <LOEVM></LOEVM>
+                <ZUAWA></ZUAWA>
+                <AKONT></AKONT>
+                <BEGRU></BEGRU>
+                <VZSKZ></VZSKZ>
+                <ZWELS></ZWELS>
+                <XVERR></XVERR>
+                <ZAHLS></ZAHLS>
+                <ZTERM></ZTERM>
+                <EIKTO></EIKTO>
+                <ZSABE></ZSABE>
+                <KVERM></KVERM>
+                <FDGRV></FDGRV>
+                <BUSAB></BUSAB>
+                <LNRZE></LNRZE>
+                <LNRZB></LNRZB>
+                <ZINDT></ZINDT>
+                <ZINRT></ZINRT>
+                <DATLZ></DATLZ>
+                <XDEZV></XDEZV>
+                <WEBTR></WEBTR>
+                <KULTG></KULTG>
+                <REPRF></REPRF>
+                <TOGRU></TOGRU>
+                <HBKID></HBKID>
+                <XPORE></XPORE>
+                <QSZNR></QSZNR>
+                <QSZDT></QSZDT>
+                <QSSKZ></QSSKZ>
+                <BLNKZ></BLNKZ>
+                <MINDK></MINDK>
+                <ALTKN></ALTKN>
+                <ZGRUP></ZGRUP>
+                <MGRUP></MGRUP>
+                <UZAWE></UZAWE>
+                <QSREC></QSREC>
+                <QSBGR></QSBGR>
+                <QLAND></QLAND>
+                <XEDIP></XEDIP>
+                <FRGRP></FRGRP>
+                <TLFXS></TLFXS>
+                <E1LFB5M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <BUKRS></BUKRS>
+                    <MABER></MABER>
+                    <MAHNA></MAHNA>
+                    <MANSP></MANSP>
+                    <MADAT></MADAT>
+                    <MAHNS></MAHNS>
+                    <LFRMA></LFRMA>
+                    <GMVDT></GMVDT>
+                    <BUSAB></BUSAB>
+                </E1LFB5M>
+                <E1LFB5M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <BUKRS></BUKRS>
+                    <MABER></MABER>
+                    <MAHNA></MAHNA>
+                    <MANSP></MANSP>
+                    <MADAT></MADAT>
+                    <MAHNS></MAHNS>
+                    <LFRMA></LFRMA>
+                    <GMVDT></GMVDT>
+                    <BUSAB></BUSAB>
+                </E1LFB5M>
+                <E1LFB5M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <BUKRS></BUKRS>
+                    <MABER></MABER>
+                    <MAHNA></MAHNA>
+                    <MANSP></MANSP>
+                    <MADAT></MADAT>
+                    <MAHNS></MAHNS>
+                    <LFRMA></LFRMA>
+                    <GMVDT></GMVDT>
+                    <BUSAB></BUSAB>
+                </E1LFB5M>
+            </E1LFB1M>
+            <E1LFB1M SEGMENT="1">
+                <MSGFN></MSGFN>
+                <LIFNR></LIFNR>
+                <BUKRS></BUKRS>
+                <ERDAT></ERDAT>
+                <ERNAM></ERNAM>
+                <SPERR></SPERR>
+                <LOEVM></LOEVM>
+                <ZUAWA></ZUAWA>
+                <AKONT></AKONT>
+                <BEGRU></BEGRU>
+                <VZSKZ></VZSKZ>
+                <ZWELS></ZWELS>
+                <XVERR></XVERR>
+                <ZAHLS></ZAHLS>
+                <ZTERM></ZTERM>
+                <EIKTO></EIKTO>
+                <ZSABE></ZSABE>
+                <KVERM></KVERM>
+                <FDGRV></FDGRV>
+                <BUSAB></BUSAB>
+                <LNRZE></LNRZE>
+                <LNRZB></LNRZB>
+                <ZINDT></ZINDT>
+                <ZINRT></ZINRT>
+                <DATLZ></DATLZ>
+                <XDEZV></XDEZV>
+                <WEBTR></WEBTR>
+                <KULTG></KULTG>
+                <REPRF></REPRF>
+                <TOGRU></TOGRU>
+                <HBKID></HBKID>
+                <XPORE></XPORE>
+                <QSZNR></QSZNR>
+                <QSZDT></QSZDT>
+                <QSSKZ></QSSKZ>
+                <BLNKZ></BLNKZ>
+                <MINDK></MINDK>
+                <ALTKN></ALTKN>
+                <ZGRUP></ZGRUP>
+                <MGRUP></MGRUP>
+                <UZAWE></UZAWE>
+                <QSREC></QSREC>
+                <QSBGR></QSBGR>
+                <QLAND></QLAND>
+                <XEDIP></XEDIP>
+                <FRGRP></FRGRP>
+                <TLFXS></TLFXS>
+                <E1LFB5M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <BUKRS></BUKRS>
+                    <MABER></MABER>
+                    <MAHNA></MAHNA>
+                    <MANSP></MANSP>
+                    <MADAT></MADAT>
+                    <MAHNS></MAHNS>
+                    <LFRMA></LFRMA>
+                    <GMVDT></GMVDT>
+                    <BUSAB></BUSAB>
+                </E1LFB5M>
+                <E1LFB5M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <BUKRS></BUKRS>
+                    <MABER></MABER>
+                    <MAHNA></MAHNA>
+                    <MANSP></MANSP>
+                    <MADAT></MADAT>
+                    <MAHNS></MAHNS>
+                    <LFRMA></LFRMA>
+                    <GMVDT></GMVDT>
+                    <BUSAB></BUSAB>
+                </E1LFB5M>
+                <E1LFB5M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <BUKRS></BUKRS>
+                    <MABER></MABER>
+                    <MAHNA></MAHNA>
+                    <MANSP></MANSP>
+                    <MADAT></MADAT>
+                    <MAHNS></MAHNS>
+                    <LFRMA></LFRMA>
+                    <GMVDT></GMVDT>
+                    <BUSAB></BUSAB>
+                </E1LFB5M>
+            </E1LFB1M>
+            <E1LFB1M SEGMENT="1">
+                <MSGFN></MSGFN>
+                <LIFNR></LIFNR>
+                <BUKRS></BUKRS>
+                <ERDAT></ERDAT>
+                <ERNAM></ERNAM>
+                <SPERR></SPERR>
+                <LOEVM></LOEVM>
+                <ZUAWA></ZUAWA>
+                <AKONT></AKONT>
+                <BEGRU></BEGRU>
+                <VZSKZ></VZSKZ>
+                <ZWELS></ZWELS>
+                <XVERR></XVERR>
+                <ZAHLS></ZAHLS>
+                <ZTERM></ZTERM>
+                <EIKTO></EIKTO>
+                <ZSABE></ZSABE>
+                <KVERM></KVERM>
+                <FDGRV></FDGRV>
+                <BUSAB></BUSAB>
+                <LNRZE></LNRZE>
+                <LNRZB></LNRZB>
+                <ZINDT></ZINDT>
+                <ZINRT></ZINRT>
+                <DATLZ></DATLZ>
+                <XDEZV></XDEZV>
+                <WEBTR></WEBTR>
+                <KULTG></KULTG>
+                <REPRF></REPRF>
+                <TOGRU></TOGRU>
+                <HBKID></HBKID>
+                <XPORE></XPORE>
+                <QSZNR></QSZNR>
+                <QSZDT></QSZDT>
+                <QSSKZ></QSSKZ>
+                <BLNKZ></BLNKZ>
+                <MINDK></MINDK>
+                <ALTKN></ALTKN>
+                <ZGRUP></ZGRUP>
+                <MGRUP></MGRUP>
+                <UZAWE></UZAWE>
+                <QSREC></QSREC>
+                <QSBGR></QSBGR>
+                <QLAND></QLAND>
+                <XEDIP></XEDIP>
+                <FRGRP></FRGRP>
+                <TLFXS></TLFXS>
+                <E1LFB5M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <BUKRS></BUKRS>
+                    <MABER></MABER>
+                    <MAHNA></MAHNA>
+                    <MANSP></MANSP>
+                    <MADAT></MADAT>
+                    <MAHNS></MAHNS>
+                    <LFRMA></LFRMA>
+                    <GMVDT></GMVDT>
+                    <BUSAB></BUSAB>
+                </E1LFB5M>
+                <E1LFB5M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <BUKRS></BUKRS>
+                    <MABER></MABER>
+                    <MAHNA></MAHNA>
+                    <MANSP></MANSP>
+                    <MADAT></MADAT>
+                    <MAHNS></MAHNS>
+                    <LFRMA></LFRMA>
+                    <GMVDT></GMVDT>
+                    <BUSAB></BUSAB>
+                </E1LFB5M>
+                <E1LFB5M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <BUKRS></BUKRS>
+                    <MABER></MABER>
+                    <MAHNA></MAHNA>
+                    <MANSP></MANSP>
+                    <MADAT></MADAT>
+                    <MAHNS></MAHNS>
+                    <LFRMA></LFRMA>
+                    <GMVDT></GMVDT>
+                    <BUSAB></BUSAB>
+                </E1LFB5M>
+            </E1LFB1M>
+            <E1LFM1M SEGMENT="1">
+                <MSGFN></MSGFN>
+                <LIFNR></LIFNR>
+                <EKORG></EKORG>
+                <ERDAT></ERDAT>
+                <ERNAM></ERNAM>
+                <SPERM></SPERM>
+                <LOEVM></LOEVM>
+                <LFABC></LFABC>
+                <WAERS></WAERS>
+                <VERKF></VERKF>
+                <TELF1></TELF1>
+                <MINBW></MINBW>
+                <ZTERM></ZTERM>
+                <INCO1></INCO1>
+                <INCO2></INCO2>
+                <WEBRE></WEBRE>
+                <KZABS></KZABS>
+                <KALSK></KALSK>
+                <KZAUT></KZAUT>
+                <EXPVZ></EXPVZ>
+                <ZOLLA></ZOLLA>
+                <MEPRF></MEPRF>
+                <EKGRP></EKGRP>
+                <BOLRE></BOLRE>
+                <UMSAE></UMSAE>
+                <XERSY></XERSY>
+                <PLIFZ></PLIFZ>
+                <MRPPP></MRPPP>
+                <LFRHY></LFRHY>
+                <LIEFR></LIEFR>
+                <LIBES></LIBES>
+                <LIPRE></LIPRE>
+                <LISER></LISER>
+                <BOIND></BOIND>
+                <E1LFM2M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <ERDAT></ERDAT>
+                    <ERNAM></ERNAM>
+                    <SPERM></SPERM>
+                    <LOEVM></LOEVM>
+                    <LFABC></LFABC>
+                    <WAERS></WAERS>
+                    <VERKF></VERKF>
+                    <TELF1></TELF1>
+                    <MINBW></MINBW>
+                    <ZTERM></ZTERM>
+                    <INCO1></INCO1>
+                    <INCO2></INCO2>
+                    <WEBRE></WEBRE>
+                    <KZABS></KZABS>
+                    <KALSK></KALSK>
+                    <KZAUT></KZAUT>
+                    <EXPVZ></EXPVZ>
+                    <ZOLLA></ZOLLA>
+                    <MEPRF></MEPRF>
+                    <EKGRP></EKGRP>
+                    <BOLRE></BOLRE>
+                    <UMSAE></UMSAE>
+                    <XERSY></XERSY>
+                    <PLIFZ></PLIFZ>
+                    <MRPPP></MRPPP>
+                    <LFRHY></LFRHY>
+                    <LIEFR></LIEFR>
+                    <LIBES></LIBES>
+                    <LIPRE></LIPRE>
+                    <LISER></LISER>
+                    <DISPO></DISPO>
+                </E1LFM2M>
+                <E1LFM2M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <ERDAT></ERDAT>
+                    <ERNAM></ERNAM>
+                    <SPERM></SPERM>
+                    <LOEVM></LOEVM>
+                    <LFABC></LFABC>
+                    <WAERS></WAERS>
+                    <VERKF></VERKF>
+                    <TELF1></TELF1>
+                    <MINBW></MINBW>
+                    <ZTERM></ZTERM>
+                    <INCO1></INCO1>
+                    <INCO2></INCO2>
+                    <WEBRE></WEBRE>
+                    <KZABS></KZABS>
+                    <KALSK></KALSK>
+                    <KZAUT></KZAUT>
+                    <EXPVZ></EXPVZ>
+                    <ZOLLA></ZOLLA>
+                    <MEPRF></MEPRF>
+                    <EKGRP></EKGRP>
+                    <BOLRE></BOLRE>
+                    <UMSAE></UMSAE>
+                    <XERSY></XERSY>
+                    <PLIFZ></PLIFZ>
+                    <MRPPP></MRPPP>
+                    <LFRHY></LFRHY>
+                    <LIEFR></LIEFR>
+                    <LIBES></LIBES>
+                    <LIPRE></LIPRE>
+                    <LISER></LISER>
+                    <DISPO></DISPO>
+                </E1LFM2M>
+                <E1LFM2M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <ERDAT></ERDAT>
+                    <ERNAM></ERNAM>
+                    <SPERM></SPERM>
+                    <LOEVM></LOEVM>
+                    <LFABC></LFABC>
+                    <WAERS></WAERS>
+                    <VERKF></VERKF>
+                    <TELF1></TELF1>
+                    <MINBW></MINBW>
+                    <ZTERM></ZTERM>
+                    <INCO1></INCO1>
+                    <INCO2></INCO2>
+                    <WEBRE></WEBRE>
+                    <KZABS></KZABS>
+                    <KALSK></KALSK>
+                    <KZAUT></KZAUT>
+                    <EXPVZ></EXPVZ>
+                    <ZOLLA></ZOLLA>
+                    <MEPRF></MEPRF>
+                    <EKGRP></EKGRP>
+                    <BOLRE></BOLRE>
+                    <UMSAE></UMSAE>
+                    <XERSY></XERSY>
+                    <PLIFZ></PLIFZ>
+                    <MRPPP></MRPPP>
+                    <LFRHY></LFRHY>
+                    <LIEFR></LIEFR>
+                    <LIBES></LIBES>
+                    <LIPRE></LIPRE>
+                    <LISER></LISER>
+                    <DISPO></DISPO>
+                </E1LFM2M>
+                <E1WYT3M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <PARVW></PARVW>
+                    <PARZA></PARZA>
+                    <ERNAM></ERNAM>
+                    <ERDAT></ERDAT>
+                    <LIFN2></LIFN2>
+                    <DEFPA></DEFPA>
+                </E1WYT3M>
+                <E1WYT3M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <PARVW></PARVW>
+                    <PARZA></PARZA>
+                    <ERNAM></ERNAM>
+                    <ERDAT></ERDAT>
+                    <LIFN2></LIFN2>
+                    <DEFPA></DEFPA>
+                </E1WYT3M>
+                <E1WYT3M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <PARVW></PARVW>
+                    <PARZA></PARZA>
+                    <ERNAM></ERNAM>
+                    <ERDAT></ERDAT>
+                    <LIFN2></LIFN2>
+                    <DEFPA></DEFPA>
+                </E1WYT3M>
+            </E1LFM1M>
+            <E1LFM1M SEGMENT="1">
+                <MSGFN></MSGFN>
+                <LIFNR></LIFNR>
+                <EKORG></EKORG>
+                <ERDAT></ERDAT>
+                <ERNAM></ERNAM>
+                <SPERM></SPERM>
+                <LOEVM></LOEVM>
+                <LFABC></LFABC>
+                <WAERS></WAERS>
+                <VERKF></VERKF>
+                <TELF1></TELF1>
+                <MINBW></MINBW>
+                <ZTERM></ZTERM>
+                <INCO1></INCO1>
+                <INCO2></INCO2>
+                <WEBRE></WEBRE>
+                <KZABS></KZABS>
+                <KALSK></KALSK>
+                <KZAUT></KZAUT>
+                <EXPVZ></EXPVZ>
+                <ZOLLA></ZOLLA>
+                <MEPRF></MEPRF>
+                <EKGRP></EKGRP>
+                <BOLRE></BOLRE>
+                <UMSAE></UMSAE>
+                <XERSY></XERSY>
+                <PLIFZ></PLIFZ>
+                <MRPPP></MRPPP>
+                <LFRHY></LFRHY>
+                <LIEFR></LIEFR>
+                <LIBES></LIBES>
+                <LIPRE></LIPRE>
+                <LISER></LISER>
+                <BOIND></BOIND>
+                <E1LFM2M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <ERDAT></ERDAT>
+                    <ERNAM></ERNAM>
+                    <SPERM></SPERM>
+                    <LOEVM></LOEVM>
+                    <LFABC></LFABC>
+                    <WAERS></WAERS>
+                    <VERKF></VERKF>
+                    <TELF1></TELF1>
+                    <MINBW></MINBW>
+                    <ZTERM></ZTERM>
+                    <INCO1></INCO1>
+                    <INCO2></INCO2>
+                    <WEBRE></WEBRE>
+                    <KZABS></KZABS>
+                    <KALSK></KALSK>
+                    <KZAUT></KZAUT>
+                    <EXPVZ></EXPVZ>
+                    <ZOLLA></ZOLLA>
+                    <MEPRF></MEPRF>
+                    <EKGRP></EKGRP>
+                    <BOLRE></BOLRE>
+                    <UMSAE></UMSAE>
+                    <XERSY></XERSY>
+                    <PLIFZ></PLIFZ>
+                    <MRPPP></MRPPP>
+                    <LFRHY></LFRHY>
+                    <LIEFR></LIEFR>
+                    <LIBES></LIBES>
+                    <LIPRE></LIPRE>
+                    <LISER></LISER>
+                    <DISPO></DISPO>
+                </E1LFM2M>
+                <E1LFM2M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <ERDAT></ERDAT>
+                    <ERNAM></ERNAM>
+                    <SPERM></SPERM>
+                    <LOEVM></LOEVM>
+                    <LFABC></LFABC>
+                    <WAERS></WAERS>
+                    <VERKF></VERKF>
+                    <TELF1></TELF1>
+                    <MINBW></MINBW>
+                    <ZTERM></ZTERM>
+                    <INCO1></INCO1>
+                    <INCO2></INCO2>
+                    <WEBRE></WEBRE>
+                    <KZABS></KZABS>
+                    <KALSK></KALSK>
+                    <KZAUT></KZAUT>
+                    <EXPVZ></EXPVZ>
+                    <ZOLLA></ZOLLA>
+                    <MEPRF></MEPRF>
+                    <EKGRP></EKGRP>
+                    <BOLRE></BOLRE>
+                    <UMSAE></UMSAE>
+                    <XERSY></XERSY>
+                    <PLIFZ></PLIFZ>
+                    <MRPPP></MRPPP>
+                    <LFRHY></LFRHY>
+                    <LIEFR></LIEFR>
+                    <LIBES></LIBES>
+                    <LIPRE></LIPRE>
+                    <LISER></LISER>
+                    <DISPO></DISPO>
+                </E1LFM2M>
+                <E1LFM2M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <ERDAT></ERDAT>
+                    <ERNAM></ERNAM>
+                    <SPERM></SPERM>
+                    <LOEVM></LOEVM>
+                    <LFABC></LFABC>
+                    <WAERS></WAERS>
+                    <VERKF></VERKF>
+                    <TELF1></TELF1>
+                    <MINBW></MINBW>
+                    <ZTERM></ZTERM>
+                    <INCO1></INCO1>
+                    <INCO2></INCO2>
+                    <WEBRE></WEBRE>
+                    <KZABS></KZABS>
+                    <KALSK></KALSK>
+                    <KZAUT></KZAUT>
+                    <EXPVZ></EXPVZ>
+                    <ZOLLA></ZOLLA>
+                    <MEPRF></MEPRF>
+                    <EKGRP></EKGRP>
+                    <BOLRE></BOLRE>
+                    <UMSAE></UMSAE>
+                    <XERSY></XERSY>
+                    <PLIFZ></PLIFZ>
+                    <MRPPP></MRPPP>
+                    <LFRHY></LFRHY>
+                    <LIEFR></LIEFR>
+                    <LIBES></LIBES>
+                    <LIPRE></LIPRE>
+                    <LISER></LISER>
+                    <DISPO></DISPO>
+                </E1LFM2M>
+                <E1WYT3M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <PARVW></PARVW>
+                    <PARZA></PARZA>
+                    <ERNAM></ERNAM>
+                    <ERDAT></ERDAT>
+                    <LIFN2></LIFN2>
+                    <DEFPA></DEFPA>
+                </E1WYT3M>
+                <E1WYT3M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <PARVW></PARVW>
+                    <PARZA></PARZA>
+                    <ERNAM></ERNAM>
+                    <ERDAT></ERDAT>
+                    <LIFN2></LIFN2>
+                    <DEFPA></DEFPA>
+                </E1WYT3M>
+                <E1WYT3M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <PARVW></PARVW>
+                    <PARZA></PARZA>
+                    <ERNAM></ERNAM>
+                    <ERDAT></ERDAT>
+                    <LIFN2></LIFN2>
+                    <DEFPA></DEFPA>
+                </E1WYT3M>
+            </E1LFM1M>
+            <E1LFM1M SEGMENT="1">
+                <MSGFN></MSGFN>
+                <LIFNR></LIFNR>
+                <EKORG></EKORG>
+                <ERDAT></ERDAT>
+                <ERNAM></ERNAM>
+                <SPERM></SPERM>
+                <LOEVM></LOEVM>
+                <LFABC></LFABC>
+                <WAERS></WAERS>
+                <VERKF></VERKF>
+                <TELF1></TELF1>
+                <MINBW></MINBW>
+                <ZTERM></ZTERM>
+                <INCO1></INCO1>
+                <INCO2></INCO2>
+                <WEBRE></WEBRE>
+                <KZABS></KZABS>
+                <KALSK></KALSK>
+                <KZAUT></KZAUT>
+                <EXPVZ></EXPVZ>
+                <ZOLLA></ZOLLA>
+                <MEPRF></MEPRF>
+                <EKGRP></EKGRP>
+                <BOLRE></BOLRE>
+                <UMSAE></UMSAE>
+                <XERSY></XERSY>
+                <PLIFZ></PLIFZ>
+                <MRPPP></MRPPP>
+                <LFRHY></LFRHY>
+                <LIEFR></LIEFR>
+                <LIBES></LIBES>
+                <LIPRE></LIPRE>
+                <LISER></LISER>
+                <BOIND></BOIND>
+                <E1LFM2M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <ERDAT></ERDAT>
+                    <ERNAM></ERNAM>
+                    <SPERM></SPERM>
+                    <LOEVM></LOEVM>
+                    <LFABC></LFABC>
+                    <WAERS></WAERS>
+                    <VERKF></VERKF>
+                    <TELF1></TELF1>
+                    <MINBW></MINBW>
+                    <ZTERM></ZTERM>
+                    <INCO1></INCO1>
+                    <INCO2></INCO2>
+                    <WEBRE></WEBRE>
+                    <KZABS></KZABS>
+                    <KALSK></KALSK>
+                    <KZAUT></KZAUT>
+                    <EXPVZ></EXPVZ>
+                    <ZOLLA></ZOLLA>
+                    <MEPRF></MEPRF>
+                    <EKGRP></EKGRP>
+                    <BOLRE></BOLRE>
+                    <UMSAE></UMSAE>
+                    <XERSY></XERSY>
+                    <PLIFZ></PLIFZ>
+                    <MRPPP></MRPPP>
+                    <LFRHY></LFRHY>
+                    <LIEFR></LIEFR>
+                    <LIBES></LIBES>
+                    <LIPRE></LIPRE>
+                    <LISER></LISER>
+                    <DISPO></DISPO>
+                </E1LFM2M>
+                <E1LFM2M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <ERDAT></ERDAT>
+                    <ERNAM></ERNAM>
+                    <SPERM></SPERM>
+                    <LOEVM></LOEVM>
+                    <LFABC></LFABC>
+                    <WAERS></WAERS>
+                    <VERKF></VERKF>
+                    <TELF1></TELF1>
+                    <MINBW></MINBW>
+                    <ZTERM></ZTERM>
+                    <INCO1></INCO1>
+                    <INCO2></INCO2>
+                    <WEBRE></WEBRE>
+                    <KZABS></KZABS>
+                    <KALSK></KALSK>
+                    <KZAUT></KZAUT>
+                    <EXPVZ></EXPVZ>
+                    <ZOLLA></ZOLLA>
+                    <MEPRF></MEPRF>
+                    <EKGRP></EKGRP>
+                    <BOLRE></BOLRE>
+                    <UMSAE></UMSAE>
+                    <XERSY></XERSY>
+                    <PLIFZ></PLIFZ>
+                    <MRPPP></MRPPP>
+                    <LFRHY></LFRHY>
+                    <LIEFR></LIEFR>
+                    <LIBES></LIBES>
+                    <LIPRE></LIPRE>
+                    <LISER></LISER>
+                    <DISPO></DISPO>
+                </E1LFM2M>
+                <E1LFM2M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <ERDAT></ERDAT>
+                    <ERNAM></ERNAM>
+                    <SPERM></SPERM>
+                    <LOEVM></LOEVM>
+                    <LFABC></LFABC>
+                    <WAERS></WAERS>
+                    <VERKF></VERKF>
+                    <TELF1></TELF1>
+                    <MINBW></MINBW>
+                    <ZTERM></ZTERM>
+                    <INCO1></INCO1>
+                    <INCO2></INCO2>
+                    <WEBRE></WEBRE>
+                    <KZABS></KZABS>
+                    <KALSK></KALSK>
+                    <KZAUT></KZAUT>
+                    <EXPVZ></EXPVZ>
+                    <ZOLLA></ZOLLA>
+                    <MEPRF></MEPRF>
+                    <EKGRP></EKGRP>
+                    <BOLRE></BOLRE>
+                    <UMSAE></UMSAE>
+                    <XERSY></XERSY>
+                    <PLIFZ></PLIFZ>
+                    <MRPPP></MRPPP>
+                    <LFRHY></LFRHY>
+                    <LIEFR></LIEFR>
+                    <LIBES></LIBES>
+                    <LIPRE></LIPRE>
+                    <LISER></LISER>
+                    <DISPO></DISPO>
+                </E1LFM2M>
+                <E1WYT3M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <PARVW></PARVW>
+                    <PARZA></PARZA>
+                    <ERNAM></ERNAM>
+                    <ERDAT></ERDAT>
+                    <LIFN2></LIFN2>
+                    <DEFPA></DEFPA>
+                </E1WYT3M>
+                <E1WYT3M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <PARVW></PARVW>
+                    <PARZA></PARZA>
+                    <ERNAM></ERNAM>
+                    <ERDAT></ERDAT>
+                    <LIFN2></LIFN2>
+                    <DEFPA></DEFPA>
+                </E1WYT3M>
+                <E1WYT3M SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <LIFNR></LIFNR>
+                    <EKORG></EKORG>
+                    <LTSNR></LTSNR>
+                    <WERKS></WERKS>
+                    <PARVW></PARVW>
+                    <PARZA></PARZA>
+                    <ERNAM></ERNAM>
+                    <ERDAT></ERDAT>
+                    <LIFN2></LIFN2>
+                    <DEFPA></DEFPA>
+                </E1WYT3M>
+            </E1LFM1M>
+            <E1LFBKM SEGMENT="1">
+                <MSGFN></MSGFN>
+                <LIFNR></LIFNR>
+                <BANKS></BANKS>
+                <BANKL></BANKL>
+                <BANKN></BANKN>
+                <BKONT></BKONT>
+                <BVTYP></BVTYP>
+                <XEZER></XEZER>
+                <BANKA></BANKA>
+                <PROVZ></PROVZ>
+                <STRAS></STRAS>
+                <ORT01></ORT01>
+                <SWIFT></SWIFT>
+                <BGRUP></BGRUP>
+                <XPGRO></XPGRO>
+                <BNKLZ></BNKLZ>
+                <PSKTO></PSKTO>
+                <BKREF></BKREF>
+                <BRNCH></BRNCH>
+                <PROV2></PROV2>
+                <STRA2></STRA2>
+                <ORT02></ORT02>
+            </E1LFBKM>
+            <E1LFBKM SEGMENT="1">
+                <MSGFN></MSGFN>
+                <LIFNR></LIFNR>
+                <BANKS></BANKS>
+                <BANKL></BANKL>
+                <BANKN></BANKN>
+                <BKONT></BKONT>
+                <BVTYP></BVTYP>
+                <XEZER></XEZER>
+                <BANKA></BANKA>
+                <PROVZ></PROVZ>
+                <STRAS></STRAS>
+                <ORT01></ORT01>
+                <SWIFT></SWIFT>
+                <BGRUP></BGRUP>
+                <XPGRO></XPGRO>
+                <BNKLZ></BNKLZ>
+                <PSKTO></PSKTO>
+                <BKREF></BKREF>
+                <BRNCH></BRNCH>
+                <PROV2></PROV2>
+                <STRA2></STRA2>
+                <ORT02></ORT02>
+            </E1LFBKM>
+            <E1LFBKM SEGMENT="1">
+                <MSGFN></MSGFN>
+                <LIFNR></LIFNR>
+                <BANKS></BANKS>
+                <BANKL></BANKL>
+                <BANKN></BANKN>
+                <BKONT></BKONT>
+                <BVTYP></BVTYP>
+                <XEZER></XEZER>
+                <BANKA></BANKA>
+                <PROVZ></PROVZ>
+                <STRAS></STRAS>
+                <ORT01></ORT01>
+                <SWIFT></SWIFT>
+                <BGRUP></BGRUP>
+                <XPGRO></XPGRO>
+                <BNKLZ></BNKLZ>
+                <PSKTO></PSKTO>
+                <BKREF></BKREF>
+                <BRNCH></BRNCH>
+                <PROV2></PROV2>
+                <STRA2></STRA2>
+                <ORT02></ORT02>
+            </E1LFBKM>
+            <E1LFASM SEGMENT="1">
+                <MSGFN></MSGFN>
+                <LIFNR></LIFNR>
+                <LAND1></LAND1>
+                <STCEG></STCEG>
+            </E1LFASM>
+            <E1LFASM SEGMENT="1">
+                <MSGFN></MSGFN>
+                <LIFNR></LIFNR>
+                <LAND1></LAND1>
+                <STCEG></STCEG>
+            </E1LFASM>
+            <E1LFASM SEGMENT="1">
+                <MSGFN></MSGFN>
+                <LIFNR></LIFNR>
+                <LAND1></LAND1>
+                <STCEG></STCEG>
+            </E1LFASM>
+            <E1WYT1M SEGMENT="1">
+                <MSGFN></MSGFN>
+                <LIFNR></LIFNR>
+                <LTSNR></LTSNR>
+                <ERNAM></ERNAM>
+                <ERDAT></ERDAT>
+                <SPRAS></SPRAS>
+                <LTSBZ></LTSBZ>
+                <E1WYTTM SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <SPRAS></SPRAS>
+                    <LIFNR></LIFNR>
+                    <LTSNR></LTSNR>
+                    <LTSBZ></LTSBZ>
+                </E1WYTTM>
+                <E1WYTTM SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <SPRAS></SPRAS>
+                    <LIFNR></LIFNR>
+                    <LTSNR></LTSNR>
+                    <LTSBZ></LTSBZ>
+                </E1WYTTM>
+                <E1WYTTM SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <SPRAS></SPRAS>
+                    <LIFNR></LIFNR>
+                    <LTSNR></LTSNR>
+                    <LTSBZ></LTSBZ>
+                </E1WYTTM>
+            </E1WYT1M>
+            <E1WYT1M SEGMENT="1">
+                <MSGFN></MSGFN>
+                <LIFNR></LIFNR>
+                <LTSNR></LTSNR>
+                <ERNAM></ERNAM>
+                <ERDAT></ERDAT>
+                <SPRAS></SPRAS>
+                <LTSBZ></LTSBZ>
+                <E1WYTTM SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <SPRAS></SPRAS>
+                    <LIFNR></LIFNR>
+                    <LTSNR></LTSNR>
+                    <LTSBZ></LTSBZ>
+                </E1WYTTM>
+                <E1WYTTM SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <SPRAS></SPRAS>
+                    <LIFNR></LIFNR>
+                    <LTSNR></LTSNR>
+                    <LTSBZ></LTSBZ>
+                </E1WYTTM>
+                <E1WYTTM SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <SPRAS></SPRAS>
+                    <LIFNR></LIFNR>
+                    <LTSNR></LTSNR>
+                    <LTSBZ></LTSBZ>
+                </E1WYTTM>
+            </E1WYT1M>
+            <E1WYT1M SEGMENT="1">
+                <MSGFN></MSGFN>
+                <LIFNR></LIFNR>
+                <LTSNR></LTSNR>
+                <ERNAM></ERNAM>
+                <ERDAT></ERDAT>
+                <SPRAS></SPRAS>
+                <LTSBZ></LTSBZ>
+                <E1WYTTM SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <SPRAS></SPRAS>
+                    <LIFNR></LIFNR>
+                    <LTSNR></LTSNR>
+                    <LTSBZ></LTSBZ>
+                </E1WYTTM>
+                <E1WYTTM SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <SPRAS></SPRAS>
+                    <LIFNR></LIFNR>
+                    <LTSNR></LTSNR>
+                    <LTSBZ></LTSBZ>
+                </E1WYTTM>
+                <E1WYTTM SEGMENT="1">
+                    <MSGFN></MSGFN>
+                    <SPRAS></SPRAS>
+                    <LIFNR></LIFNR>
+                    <LTSNR></LTSNR>
+                    <LTSBZ></LTSBZ>
+                </E1WYTTM>
+            </E1WYT1M>
+        </E1LFA1M>
+    </IDOC>
+
+</CREMAS01>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/CREMAS01.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,3541 @@
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+   <xsd:element name="CREMAS01">
+      <xsd:complexType>
+         <xsd:sequence>
+            <xsd:element name="IDOC" type="CREMAS.CREMAS01" />
+         </xsd:sequence>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:complexType name="CREMAS01.E1LFA1M">
+      <xsd:annotation>
+         <xsd:documentation>
+         Segment for general vendor data
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="MSGFN" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Function
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIFNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Account number of the vendor or creditor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ANRED" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Title
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="15" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BAHNS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Train station
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="25" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BBBNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               International location number  (part 1)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="7" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BBSNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               International location number (part 2)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="5" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BEGRU" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Authorization group
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BRSCH" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Industry key
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BUBKZ" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Check digit for the international location number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="DATLT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Number of data communication line
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="14" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="DTAMS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator &apos;report to Central Bank&apos; for data medium exchange
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="DTAWS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Instruction key for data medium exchange
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ERDAT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Date on which the record was created
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="8" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ERNAM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Name of person who created object
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="12" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ESRNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               POR subscriber number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="11" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="KONZS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Group key
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="KTOKK" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Vendor account group
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="KUNNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Customer number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LAND1" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Country of company
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LNRZA" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Account number of the vendor or creditor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LOEVM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Central deletion flag for master record
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="NAME1" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Last name of employee
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="35" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="NAME2" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Last name of employee
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="35" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="NAME3" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Last name of employee
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="35" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="NAME4" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Last name of employee
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="35" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ORT01" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               City
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="35" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ORT02" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               District
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="35" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="PFACH" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Post office box
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="PSTL2" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Postal code
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="PSTLZ" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Postal code
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="REGIO" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Region (State, Province, County)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SORTL" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Character field length = 10
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SPERR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Central posting block
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SPERM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Centrally imposed purchasing block
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SPRAS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Language keys
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="STCD1" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Tax number 1
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="16" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="STCD2" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Tax number 2
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="11" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="STKZA" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: Business partner subject to equalization tax ?
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="STKZU" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: Business partner subject to tax on sales/purch. ?
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="STRAS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Street and house number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="35" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="TELBX" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Telebox number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="15" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="TELF1" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               First telephone number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="16" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="TELF2" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Second telephone number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="16" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="TELFX" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Fax number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="31" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="TELTX" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Teletex number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="30" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="TELX1" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Telex number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="30" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="XCPDK" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: Is the account a one-time account?
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="XZEMP" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: Alternative payee in document allowed ?
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="VBUND" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Company ID of trading partner
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="FISKN" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Account number of the master record with fiscal address
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="STCEG" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               VAT registration number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="20" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="STKZN" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: Business partner a sole proprietor ?
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SPERQ" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Functions that will be blocked
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ADRNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Address
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MCOD1" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Search string for matchcode usage
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="25" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MCOD2" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Search string for using matchcodes
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="25" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MCOD3" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Search string for matchcode usage
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="25" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="GBORT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Place of birth of the person subject to withholding tax
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="25" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="GBDAT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Date of birth
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="8" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SEXKZ" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Key for the sex of the person subject to withholding tax
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="KRAUS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Credit information number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="11" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="REVDB" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Last review (external)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="8" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="QSSYS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Vendor&apos;s QM system
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="KTOCK" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Reference account group for one-time account (vendor)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="PFORT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               PO box city
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="35" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="WERKS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Plant
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LTSNA" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: vendor sub-range relevant
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="WERKR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: plant level relevant
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="PLKAL" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Factory calendar key
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="DUEFL" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Status of data transfer into subsequent release
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="TXJCD" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Jurisdiction for tax calculation - tax jurisdiction code
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="15" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="E1LFB1M" type="CREMAS01.E1LFB1M" minOccurs="0" maxOccurs="999" />
+         <xsd:element name="E1LFM1M" type="CREMAS01.E1LFM1M" minOccurs="0" maxOccurs="999" />
+         <xsd:element name="E1LFBKM" type="CREMAS01.E1LFBKM" minOccurs="0" maxOccurs="999" />
+         <xsd:element name="E1LFASM" type="CREMAS01.E1LFASM" minOccurs="0" maxOccurs="999" />
+         <xsd:element name="E1WYT1M" type="CREMAS01.E1WYT1M" minOccurs="0" maxOccurs="999" />
+      </xsd:sequence>
+      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
+   </xsd:complexType>
+   <xsd:complexType name="CREMAS01.E1LFBKM">
+      <xsd:annotation>
+         <xsd:documentation>
+         Segment for bank details of vendor SMD
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="MSGFN" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Function
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIFNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Account number of the vendor or creditor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BANKS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Bank country key
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BANKL" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Bank key
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="15" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BANKN" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Bank account number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="18" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BKONT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Bank control key
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BVTYP" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Partner bank type
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="XEZER" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: Is there collection authorization ?
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BANKA" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Name of the bank
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="60" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="PROVZ" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Region (no longer used as of release 3.0D!!!)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="STRAS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Street (no longer used as of release 3.0D!!!)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="30" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ORT01" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Location
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="25" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SWIFT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               SWIFT code for international payments
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="11" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BGRUP" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Bank group (bank network)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="XPGRO" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Checkbox
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BNKLZ" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Bank number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="15" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="PSKTO" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Post office bank current account number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="16" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BKREF" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Reference specifications for bank details
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="20" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BRNCH" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Bank branch
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="40" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="PROV2" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Region (State, Province, County)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="STRA2" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Street and house number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="35" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ORT02" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               City
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="35" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+      </xsd:sequence>
+      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
+   </xsd:complexType>
+   <xsd:complexType name="CREMAS01.E1LFB5M">
+      <xsd:annotation>
+         <xsd:documentation>
+         Reminder data for vendor SMD
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="MSGFN" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Function
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIFNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Account number of the vendor or creditor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BUKRS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Company code
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MABER" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Dunning area
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MAHNA" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Dunning procedure
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MANSP" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Dunning block
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MADAT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Last dunned on
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="8" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MAHNS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Character field of length 1
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LFRMA" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Account number of the dunning recipient
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="GMVDT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Date of the legal dunning proceedings
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="8" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BUSAB" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Accounting clerk
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+      </xsd:sequence>
+      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
+   </xsd:complexType>
+   <xsd:complexType name="EDI_DC40.CREMAS.CREMAS01">
+      <xsd:sequence>
+         <xsd:element name="TABNAM" type="xsd:string" fixed="EDI_DC40">
+            <xsd:annotation>
+               <xsd:documentation>
+               TABNAM
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="MANDT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               MANDT
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="DOCNUM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               DOCNUM
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="16" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="DOCREL" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               DOCREL
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="STATUS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               STATUS
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="DIRECT">
+            <xsd:annotation>
+               <xsd:documentation>
+               DIRECT
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:enumeration value="1">
+                     <xsd:annotation>
+                        <xsd:documentation>
+                        Outbound
+                        </xsd:documentation>
+                     </xsd:annotation>
+                  </xsd:enumeration>
+                  <xsd:enumeration value="2">
+                     <xsd:annotation>
+                        <xsd:documentation>
+                        Inbound
+                        </xsd:documentation>
+                     </xsd:annotation>
+                  </xsd:enumeration>
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="OUTMOD" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               OUTMOD
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="EXPRSS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               EXPRSS
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="TEST" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               TEST
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="IDOCTYP" type="xsd:string" fixed="CREMAS01">
+            <xsd:annotation>
+               <xsd:documentation>
+               IDOCTYP
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="CIMTYP" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               CIMTYP
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="30" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MESTYP" type="xsd:string" fixed="CREMAS">
+            <xsd:annotation>
+               <xsd:documentation>
+               MESTYP
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="MESCOD" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               MESCOD
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MESFCT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               MESFCT
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="STD" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               STD
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="STDVRS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               STDVRS
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="STDMES" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               STDMES
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SNDPOR">
+            <xsd:annotation>
+               <xsd:documentation>
+               SNDPOR
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SNDPRT">
+            <xsd:annotation>
+               <xsd:documentation>
+               SNDPRT
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SNDPFC" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               SNDPFC
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SNDPRN">
+            <xsd:annotation>
+               <xsd:documentation>
+               SNDPRN
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SNDSAD" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               SNDSAD
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="21" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SNDLAD" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               SNDLAD
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="70" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="RCVPOR">
+            <xsd:annotation>
+               <xsd:documentation>
+               RCVPOR
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="RCVPRT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               RCVPRT
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="RCVPFC" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               RCVPFC
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="RCVPRN">
+            <xsd:annotation>
+               <xsd:documentation>
+               RCVPRN
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="RCVSAD" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               RCVSAD
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="21" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="RCVLAD" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               RCVLAD
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="70" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="CREDAT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               CREDAT
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="8" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="CRETIM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               CRETIM
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="REFINT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               REFINT
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="14" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="REFGRP" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               REFGRP
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="14" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="REFMES" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               REFMES
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="14" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ARCKEY" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               ARCKEY
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="70" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SERIAL" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               SERIAL
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="20" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+      </xsd:sequence>
+      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
+   </xsd:complexType>
+   <xsd:complexType name="CREMAS01.E1LFASM">
+      <xsd:annotation>
+         <xsd:documentation>
+         Segment for EU tax numbers vendors
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="MSGFN" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Function
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIFNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Account number of the vendor or creditor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LAND1" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Country key
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="STCEG" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               VAT registration number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="20" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+      </xsd:sequence>
+      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
+   </xsd:complexType>
+   <xsd:complexType name="CREMAS01.E1WYTTM">
+      <xsd:annotation>
+         <xsd:documentation>
+         Segment for vendor sub-range identification SMD
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="MSGFN" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Function
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SPRAS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Language keys
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIFNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Account number of the vendor or creditor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LTSNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Vendor sub-range
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LTSBZ" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Description
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="20" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+      </xsd:sequence>
+      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
+   </xsd:complexType>
+   <xsd:complexType name="CREMAS01.E1LFM2M">
+      <xsd:annotation>
+         <xsd:documentation>
+         Segment purchasing data for vendor MMS SMD
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="MSGFN" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Function
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIFNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Account number of the vendor or creditor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="EKORG" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Purchasing organization
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LTSNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Vendor sub-range
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="WERKS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Plant
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ERDAT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Date on which the record was created
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="8" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ERNAM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Name of person who created object
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="12" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SPERM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Purchasing block at purchasing organization level
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LOEVM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Deletion indicator
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LFABC" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               ABC indicator
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="WAERS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Purchase order currency
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="13" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="VERKF" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Responsible salesperson at vendor&apos;s office
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="30" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="TELF1" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Vendor&apos;s telephone number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="16" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MINBW" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Minimum order value
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="13" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ZTERM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Terms of payment key
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="INCO1" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Incoterms (part 1)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="INCO2" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Incoterms (part 2)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="28" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="WEBRE" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: GR-based invoice verification
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="KZABS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: acknowledgment required
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="KALSK" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Group for calculation schema (vendor)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="KZAUT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Automatic generation of purchase order allowed
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="EXPVZ" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Mode of transport (when goods cross border)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ZOLLA" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Customs office
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MEPRF" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Pricing date control
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="EKGRP" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Purchasing group
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BOLRE" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: vendor subject to subseq. settlement accounting
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="UMSAE" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Comparison/agreement of business volumes necessary
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="XERSY" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Evaluated receipt settlement (ERS)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="PLIFZ" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Planned delivery time in days
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="5" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MRPPP" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Planning calendar
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LFRHY" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Planning cycle
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIEFR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Delivery cycle
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIBES" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Purchase order entry: vendor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIPRE" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Price marking, vendor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LISER" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Rack-jobbing: vendor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="DISPO" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               MRP controller
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+      </xsd:sequence>
+      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
+   </xsd:complexType>
+   <xsd:complexType name="CREMAS01.E1LFB1M">
+      <xsd:annotation>
+         <xsd:documentation>
+         Segment for company code data for vendors SMD
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="MSGFN" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Function
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIFNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Account number of the vendor or creditor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BUKRS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Company code
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ERDAT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Date on which the record was created
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="8" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ERNAM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Name of person who created object
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="12" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SPERR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Posting block for company code
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LOEVM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Deletion flag for master record (company code level)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ZUAWA" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Key for sorting according to allocation numbers
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="AKONT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Reconciliation account in general ledger
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BEGRU" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Authorization group
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="VZSKZ" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Interest calculation indicator
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ZWELS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               List of the payment methods to be considered
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="XVERR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: Clearing between customer and vendor?
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ZAHLS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Block key for payment
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ZTERM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Terms of payment key
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="EIKTO" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Our account number at the customer or vendor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="12" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ZSABE" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               User at vendor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="15" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="KVERM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Memo
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="30" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="FDGRV" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Planning group
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BUSAB" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Accounting clerk
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LNRZE" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Head office account number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LNRZB" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Account number of the alternative payee
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ZINDT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Key date of the last interest calculation
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="8" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ZINRT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Interest calculation frequency in months
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="8" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="DATLZ" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Date of the last interest calculation run
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="8" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="XDEZV" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: local processing?
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="WEBTR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Bill of exchange limit (in local currency)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="15" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="KULTG" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Probable time until check is paid
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="REPRF" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Check flag for double invoices or credit memos
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="TOGRU" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Tolerance group for the business partner
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="HBKID" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Short key for a house bank
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="5" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="XPORE" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: Pay all items separately ?
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="QSZNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Certificate number of the withholding tax exemption
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="QSZDT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Validity date for withholding tax exemption certificate
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="8" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="QSSKZ" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Withholding tax code
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BLNKZ" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Subsidy indicator for determining the reduction rates
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MINDK" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Minority indicators
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ALTKN" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Previous master record number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ZGRUP" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Key for payment grouping
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MGRUP" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Key for dunning notice grouping
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="UZAWE" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Payment method supplement
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="QSREC" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Vendor recipient type
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="QSBGR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Authority for exemption from withholding tax
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="QLAND" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Withholding tax country key
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="XEDIP" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: send payment advices by EDI
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="FRGRP" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Release approval group
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="TLFXS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Accounting clerk&apos;s fax number at the customer/vendor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="31" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="E1LFB5M" type="CREMAS01.E1LFB5M" minOccurs="0" maxOccurs="999" />
+      </xsd:sequence>
+      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
+   </xsd:complexType>
+   <xsd:complexType name="CREMAS01.E1LFM1M">
+      <xsd:annotation>
+         <xsd:documentation>
+         Segment for purchasing organization data vendor SMD
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="MSGFN" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Function
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIFNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Vendor&apos;s account number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="EKORG" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Purchasing organization
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ERDAT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Date on which the record was created
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="8" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ERNAM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Name of person who created object
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="12" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SPERM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Purchasing block at purchasing organization level
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LOEVM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Delete flag for vendor at purchasing level
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LFABC" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               ABC indicator
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="WAERS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Purchase order currency
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="5" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="VERKF" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Responsible salesperson at vendor&apos;s office
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="30" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="TELF1" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Vendor&apos;s telephone number
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="16" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MINBW" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Minimum order value
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="13" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ZTERM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Terms of payment key
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="INCO1" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Incoterms (part 1)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="INCO2" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Incoterms (part 2)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="28" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="WEBRE" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: GR-based invoice verification
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="KZABS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: acknowledgment required
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="KALSK" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Group for calculation schema (vendor)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="KZAUT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Automatic generation of purchase order allowed
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="EXPVZ" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Mode of transport (when goods cross border)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ZOLLA" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Customs office
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MEPRF" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Pricing date control
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="EKGRP" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Purchasing group
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BOLRE" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: vendor subject to subseq. settlement accounting
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="UMSAE" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Comparison/agreement of business volumes necessary
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="XERSY" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Evaluated receipt settlement (ERS)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="PLIFZ" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Planned delivery time in days
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="5" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="MRPPP" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Planning calendar
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LFRHY" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Planning cycle
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIEFR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Delivery cycle
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="4" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIBES" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Purchase order entry: vendor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIPRE" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Price marking, vendor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LISER" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Rack-jobbing: vendor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="BOIND" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Indicator: index compilation for subseq. settlement active
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="E1LFM2M" type="CREMAS01.E1LFM2M" minOccurs="0" maxOccurs="999" />
+         <xsd:element name="E1WYT3M" type="CREMAS01.E1WYT3M" minOccurs="0" maxOccurs="999" />
+      </xsd:sequence>
+      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
+   </xsd:complexType>
+   <xsd:complexType name="CREMAS01.E1WYT1M">
+      <xsd:annotation>
+         <xsd:documentation>
+         Segment for vendor sub-range MMS SMD
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="MSGFN" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Function
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIFNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Account number of the vendor or creditor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LTSNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Vendor sub-range
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ERNAM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Name of person who created object
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="12" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ERDAT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Date on which the record was created
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="8" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="SPRAS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Language keys
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LTSBZ" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Description
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="20" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="E1WYTTM" type="CREMAS01.E1WYTTM" minOccurs="0" maxOccurs="999" />
+      </xsd:sequence>
+      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
+   </xsd:complexType>
+   <xsd:complexType name="CREMAS.CREMAS01">
+      <xsd:annotation>
+         <xsd:documentation>
+         Vendor master data distribution ALE
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="EDI_DC40" type="EDI_DC40.CREMAS.CREMAS01" />
+         <xsd:element name="E1LFA1M" type="CREMAS01.E1LFA1M" />
+      </xsd:sequence>
+      <xsd:attribute name="BEGIN" type="xsd:string" fixed="1" use="required" />
+   </xsd:complexType>
+   <xsd:complexType name="CREMAS01.E1WYT3M">
+      <xsd:annotation>
+         <xsd:documentation>
+         Segment for addresses of vendors MMS SMD
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="MSGFN" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Function
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIFNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Account number of the vendor or creditor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="EKORG" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Purchasing organization
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LTSNR" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Vendor sub-range
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="WERKS" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Plant
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="6" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="PARVW" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Partner function ID (e.g. SH for ship-to party)
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="2" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="PARZA" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Partner counter
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="3" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ERNAM" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Name of person who created object
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="12" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="ERDAT" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Date on which the record was created
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="8" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="LIFN2" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Reference to other vendor
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="10" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+         <xsd:element name="DEFPA" minOccurs="0">
+            <xsd:annotation>
+               <xsd:documentation>
+               Default partner
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:string">
+                  <xsd:maxLength value="1" />
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:element>
+      </xsd:sequence>
+      <xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" />
+   </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/ErrorHandlerImpl.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,47 @@
+/*
+ * 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 validation;
+
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+public class ErrorHandlerImpl implements ErrorHandler {
+   /** Creates a new instance of ErrorHandlerImpl */
+    public ErrorHandlerImpl() {
+    }
+
+    public void error(SAXParseException sAXParseException) throws SAXException {
+        throw new SAXException(sAXParseException);
+    }
+
+    public void fatalError(SAXParseException sAXParseException) throws SAXException {
+        throw new SAXException(sAXParseException);
+    }
+
+    public void warning(SAXParseException sAXParseException) throws SAXException {
+        throw new SAXException(sAXParseException);
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Issue682.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+
+<root xmlns="http://unique/test"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xsi:schemaLocation="http://unique/test unique.xsd">
+
+    <node>
+        <module name="test2"/>
+    </node>
+
+    <node name="router">
+        <module name="test1"/>
+    </node>
+
+</root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Issue682.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+
+<xsd:schema xmlns:ipm="http://unique/test"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+targetNamespace="http://unique/test"
+elementFormDefault="qualified">
+
+<xsd:element name="root">
+    <xsd:complexType>
+        <xsd:sequence>
+            <xsd:element ref="ipm:node" minOccurs="0" maxOccurs="unbounded"/>
+        </xsd:sequence>
+    </xsd:complexType>
+    <xsd:unique name="uniqueNode">
+        <xsd:selector xpath="ipm:node"/>
+        <xsd:field xpath="@name"/>
+        <xsd:field xpath="ipm:module/@name"/>
+    </xsd:unique>
+</xsd:element>
+
+<xsd:element name="node">
+    <xsd:complexType>
+        <xsd:sequence>
+            <xsd:element name="module" minOccurs="0" maxOccurs="1">
+                <xsd:complexType>
+                    <xsd:attribute name="name" type="xsd:string"/>
+                </xsd:complexType>
+            </xsd:element>
+        </xsd:sequence>
+        <xsd:attribute name="name" type="xsd:string"/>
+    </xsd:complexType>
+</xsd:element>
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/Issue682Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,74 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+import java.io.InputStream;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.annotations.Test;
+import org.testng.Assert;
+import org.xml.sax.InputSource;
+import org.xml.sax.XMLReader;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @summary Test comination of fields in <xsd:unique>, for https://issues.apache.org/jira/browse/XERCESJ-682.
+ */
+public class Issue682Test {
+    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";
+
+    File testFile = new File(getClass().getResource("Issue682.xsd").getFile());
+
+    @Test
+    public void test() {
+        try {
+            Schema schema = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema").newSchema(new StreamSource(testFile));
+            SAXParserFactory saxParserFactory = SAXParserFactory.newInstance();
+            saxParserFactory.setNamespaceAware(true);
+            saxParserFactory.setSchema(schema);
+            // saxParserFactory.setFeature("http://java.sun.com/xml/schema/features/report-ignored-element-content-whitespace",
+            // true);
+            SAXParser saxParser = saxParserFactory.newSAXParser();
+            XMLReader xmlReader = saxParser.getXMLReader();
+            xmlReader.setContentHandler(new DefaultHandler());
+            // InputStream input =
+            // ClassLoader.getSystemClassLoader().getResourceAsStream("test/test.xml");
+            InputStream input = getClass().getResourceAsStream("Issue682.xml");
+            System.out.println("Parse InputStream:");
+            xmlReader.parse(new InputSource(input));
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            Assert.fail(ex.toString());
+        }
+
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/IssueTracker30.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,128 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @summary Test maxOccurs validation.
+ */
+public class IssueTracker30 {
+
+    boolean errorFound;
+
+    @Test
+    public void testMaxOccursErrorNoOptimization() throws Exception {
+
+        // Parsing this document should result in an error
+        try {
+                if (!testMaxOccurs("IssueTracker30_occurs-error.xml", "IssueTracker30_occurs.xsd"))
+                        Assert.fail("Expected validation error not reported");
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage(), ex);
+        }
+    }
+
+    @Test
+    public void testMaxOccursOKNoOptimization() throws Exception {
+
+        // Parsing this document should *not* result in an error
+        try {
+                if (testMaxOccurs("IssueTracker30_occurs-ok.xml", "IssueTracker30_occurs.xsd"))
+                        Assert.fail("Unexpected validation error reported");
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage(), ex);
+        }
+    }
+
+    @Test
+    public void testMaxOccursErrorOptimization() throws Exception {
+
+        // Parsing this document should result in an error
+        try {
+                if (!testMaxOccurs("IssueTracker30_occurs-optimize-error.xml", "IssueTracker30_occurs-optimize.xsd"))
+                        Assert.fail("Expected validation error not reported");
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage(), ex);
+        }
+    }
+
+    @Test
+    public void testMaxOccursOKOptimization() throws Exception {
+
+        // Parsing this document should *not* result in an error
+        try {
+                if (testMaxOccurs("IssueTracker30_occurs-optimize-ok.xml", "IssueTracker30_occurs-optimize.xsd"))
+                        Assert.fail("Unexpected validation error reported");
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage(), ex);
+        }
+    }
+
+
+    private boolean testMaxOccurs(String xmlFileName, String xsdFileName) throws Exception {
+        File xmlFile = new File(getClass().getResource(xmlFileName).getFile());
+
+        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        Schema schema = factory.newSchema(new File(getClass().getResource(xsdFileName).getFile()));
+
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        dbf.setSchema(schema);
+
+        DocumentBuilder documentBuilder = dbf.newDocumentBuilder();
+        documentBuilder.setErrorHandler(new ErrorHandler() {
+            public void error(SAXParseException e) throws SAXException {
+                System.out.println("Error: " + e.getMessage());
+                errorFound = true;
+            }
+
+            public void fatalError(SAXParseException e) throws SAXException {
+                System.out.println("Fatal error: " + e.getMessage());
+                throw e;
+            }
+
+            public void warning(SAXParseException e) throws SAXException {
+                System.out.println("Warning: " + e.getMessage());
+            }
+        });
+
+        errorFound = false;
+        documentBuilder.parse(xmlFile);
+        return errorFound;
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-error.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<persons>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <child_name>Cecilie</child_name>
+    </person>
+    <person>
+        <full_name>Tove Refsnes</full_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Jim</child_name>
+        <child_name>Borge</child_name>
+    </person>
+    <person>
+        <full_name>Stale Refsnes</full_name>
+    </person>
+</persons>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-ok.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<persons>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <child_name>Cecilie</child_name>
+    </person>
+    <person>
+        <full_name>Tove Refsnes</full_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Jim</child_name>
+    </person>
+    <person>
+        <full_name>Stale Refsnes</full_name>
+    </person>
+</persons>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-optimize-error.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<persons>
+    <person>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Jim</child_name>
+        <child_name>Borge</child_name>
+    </person>
+</persons>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-optimize-ok.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<persons>
+    <person>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Jim</child_name>
+    </person>
+</persons>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-optimize.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           elementFormDefault="qualified">
+    
+    <xs:element name="persons">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="person" maxOccurs="unbounded">
+                    <xs:complexType>
+                        <xs:sequence>
+                            <xs:element name="child_name" type="xs:string" minOccurs="0"
+                                        maxOccurs="3"/>
+                        </xs:sequence>
+                    </xs:complexType>
+                </xs:element>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    
+</xs:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           elementFormDefault="qualified">
+    
+    <xs:element name="persons">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="person" maxOccurs="unbounded">
+                    <xs:complexType>
+                        <xs:sequence>
+                            <xs:element name="full_name" type="xs:string"/>
+                            <xs:element name="child_name" type="xs:string" minOccurs="0"
+                                        maxOccurs="3"/>
+                        </xs:sequence>
+                    </xs:complexType>
+                </xs:element>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    
+</xs:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/JaxpIssue43Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,80 @@
+/*
+ * 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 validation;
+
+import java.io.FileInputStream;
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.xml.XMLConstants;
+import javax.xml.transform.Source;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.NodeList;
+
+/*
+ * @bug 6631318
+ * @summary Test creating schema from a DOM fragment with namespace.
+ */
+public class JaxpIssue43Test {
+
+    @Test
+    public void test() throws Exception {
+        SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        Source[] sources = getSchemaSources();
+        Schema schema = sf.newSchema(sources);
+        Validator validator = schema.newValidator();
+    }
+
+    private Source[] getSchemaSources() throws Exception {
+        List<Source> list = new ArrayList<Source>();
+        String file = getClass().getResource("hello_literal.wsdl").getFile();
+        Source source = new StreamSource(new FileInputStream(file), file);
+
+        Transformer trans = TransformerFactory.newInstance().newTransformer();
+        DOMResult result = new DOMResult();
+        trans.transform(source, result);
+
+        // Look for <xsd:schema> element in wsdl
+        Element e = ((Document) result.getNode()).getDocumentElement();
+        NodeList typesList = e.getElementsByTagNameNS("http://schemas.xmlsoap.org/wsdl/", "types");
+        NodeList schemaList = ((Element) typesList.item(0)).getElementsByTagNameNS("http://www.w3.org/2001/XMLSchema", "schema");
+        Element elem = (Element) schemaList.item(0);
+        list.add(new DOMSource(elem, file + "#schema0"));
+
+        // trans.transform(new DOMSource(elem), new StreamResult(System.out));
+
+        return list.toArray(new Source[list.size()]);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/JaxpIssue49.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,90 @@
+/*
+ * 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 validation;
+
+import java.io.FileInputStream;
+
+import javax.xml.XMLConstants;
+import javax.xml.transform.Source;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.dom.DOMSource;
+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 org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Node;
+
+/*
+ * @bug 6684227
+ * @summary Test property current-element-node works.
+ */
+public class JaxpIssue49 {
+
+    private Schema schema;
+    private Validator validator;
+
+    @Test
+    public void testValidatorTest() throws Exception {
+        try {
+            SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            String file = getClass().getResource("types.xsd").getFile();
+            Source[] sources = new Source[] { new StreamSource(new FileInputStream(file), file) };
+            Schema schema = sf.newSchema(sources);
+            validator = schema.newValidator();
+            validate();
+        } catch (Exception e) {
+            Node node = (Node) validator.getProperty("http://apache.org/xml/properties/dom/current-element-node");
+            if (node != null) {
+                System.out.println("Node: " + node.getLocalName());
+            } else
+                Assert.fail("No node returned");
+        }
+    }
+
+    public void validate() throws Exception {
+        validator.reset();
+        Source source = new StreamSource(getClass().getResourceAsStream("JaxpIssue49.xml"));
+        // If you comment the following line, it works
+        source = toDOMSource(source);
+        validator.validate(source);
+    }
+
+    DOMSource toDOMSource(Source source) throws Exception {
+        if (source instanceof DOMSource) {
+            return (DOMSource) source;
+        }
+        Transformer trans = TransformerFactory.newInstance().newTransformer();
+        DOMResult result = new DOMResult();
+        trans.transform(source, result);
+        trans.transform(new DOMSource(result.getNode()), new StreamResult(System.out));
+        return new DOMSource(result.getNode());
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/JaxpIssue49.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ns1:getSedansResponse xmlns:ns1="http://server.type_substitution.fromjava/">
+    <return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:toyota">
+        <make>Toyota</make><model>Camry</model><year>1998</year><color>white</color>
+    </return>
+    <!-- specify wrong xsi type to introduce a validation error -->
+    <return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:car">
+        <make>Toyota</make><model>Corolla</model><year>1999</year><color>red</color>
+    </return>
+</ns1:getSedansResponse>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/LargeMaxOccursTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,105 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+
+import javax.xml.XMLConstants;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test Validator shall report error for maxOccurs > 5000 when FEATURE_SECURE_PROCESSING is on, except the schema can be applied for constant-space algorithm.
+ */
+public class LargeMaxOccursTest {
+
+    @Test
+    public void testParticlesR005() {
+        try {
+            SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            String xsdFile = "particlesR005.xsd";
+            Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
+            Validator validator = schema.newValidator();
+        } catch (Exception ex) {
+            return; // expected
+        }
+        Assert.fail("Parser configuration error expected since maxOccurs > 5000 " + "and constant-space optimization does not apply");
+    }
+
+    @Test
+    public void testParticlesIe003() {
+        try {
+            SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            String xsdFile = "particlesIe003.xsd";
+            Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
+            Validator validator = schema.newValidator();
+        } catch (Exception ex) {
+            return; // expected
+        }
+        Assert.fail("Parser configuration error expected since maxOccurs > 5000 " + "and constant-space optimization does not apply");
+    }
+
+    @Test
+    public void testmgG014() {
+        try {
+            SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            String xsdFile = "mgG014.xsd";
+            Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
+            Validator validator = schema.newValidator();
+        } catch (Exception ex) {
+            return; // expected
+        }
+        Assert.fail("Parser configuration error expected since maxOccurs > 5000 " + "and constant-space optimization does not apply");
+    }
+
+    @Test
+    public void testmgJ014() {
+        try {
+            SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            String xsdFile = "mgJ014.xsd";
+            Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
+            Validator validator = schema.newValidator();
+        } catch (Exception ex) {
+            return; // expected
+        }
+        Assert.fail("Parser configuration error expected since maxOccurs > 5000 " + "and constant-space optimization does not apply");
+    }
+
+    // particlesOptimize.xsd missing.
+    @Test
+    public void testParticlesOptimize() {
+        try {
+            SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            String xsdFile = "particlesOptimize.xsd";
+            Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
+            Validator validator = schema.newValidator();
+        } catch (Exception ex) {
+            Assert.fail("Parser configuration error not expected since maxOccurs " + "> 5000 but constant-space optimization applies");
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/MultiOccursTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,143 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @summary Test Schema Validator can parse multiple or unbounded occurs.
+ */
+public class MultiOccursTest {
+
+    boolean errorFound;
+
+    DocumentBuilder documentBuilder;
+
+    private void printMethodName() {
+        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
+        System.out.println(stack[2].getMethodName());
+    }
+
+    public MultiOccursTest() throws Exception {
+        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        Schema schema = factory.newSchema(new File(getClass().getResource("multi-occurs.xsd").getFile()));
+
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        dbf.setSchema(schema);
+
+        documentBuilder = dbf.newDocumentBuilder();
+        documentBuilder.setErrorHandler(new ErrorHandler() {
+            public void error(SAXParseException e) throws SAXException {
+                System.out.println("Error: " + e.getMessage());
+                errorFound = true;
+            }
+
+            public void fatalError(SAXParseException e) throws SAXException {
+                System.out.println("Fatal error: " + e.getMessage());
+            }
+
+            public void warning(SAXParseException e) throws SAXException {
+                System.out.println("Warning: " + e.getMessage());
+            }
+        });
+    }
+
+    @Test
+    public void testMultiOccursMaxMinOk() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("multi-occurs-ok.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (errorFound) {
+            Assert.fail("Unexpected validation error reported");
+        }
+    }
+
+    @Test
+    public void testMultiOccursMaxMinErrorMin() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("multi-occurs-error-min.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (!errorFound) {
+            Assert.fail("Expected validation error not reported");
+        }
+    }
+
+    @Test
+    public void testMultiOccursMaxMinErrorMax() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("multi-occurs-error-max.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (!errorFound) {
+            Assert.fail("Expected validation error not reported");
+        }
+    }
+
+    @Test
+    public void testMultiOccursMaxMinErrorMinMax() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("multi-occurs-error-min-max.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (!errorFound) {
+            Assert.fail("Expected validation error not reported");
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/MultiOccursUnboundedTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,111 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @summary Test Schema Validator can parse multiple or unbounded occurs.
+ */
+public class MultiOccursUnboundedTest {
+
+    boolean errorFound;
+
+    DocumentBuilder documentBuilder;
+
+    private void printMethodName() {
+        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
+        System.out.println(stack[2].getMethodName());
+    }
+
+    public MultiOccursUnboundedTest() throws Exception {
+        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        Schema schema = factory.newSchema(new File(getClass().getResource("multi-occurs-unbounded.xsd").getFile()));
+
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        dbf.setSchema(schema);
+
+        documentBuilder = dbf.newDocumentBuilder();
+        documentBuilder.setErrorHandler(new ErrorHandler() {
+            public void error(SAXParseException e) throws SAXException {
+                System.out.println("Error: " + e.getMessage());
+                errorFound = true;
+            }
+
+            public void fatalError(SAXParseException e) throws SAXException {
+                System.out.println("Fatal error: " + e.getMessage());
+            }
+
+            public void warning(SAXParseException e) throws SAXException {
+                System.out.println("Warning: " + e.getMessage());
+            }
+        });
+    }
+
+    @Test
+    public void testMultiOccursMaxMinOk() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("multi-occurs-unbounded-ok.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (errorFound) {
+            Assert.fail("Unexpected validation error reported");
+        }
+    }
+
+    @Test
+    public void testMultiOccursMaxMinErrorMin() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("multi-occurs-unbounded-error-min.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (!errorFound) {
+            Assert.fail("Expected validation error not reported");
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/OccursTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,143 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @summary Test Schema Validator can parse multiple or unbounded occurs.
+ */
+public class OccursTest {
+
+    boolean errorFound;
+
+    DocumentBuilder documentBuilder;
+
+    private void printMethodName() {
+        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
+        System.out.println(stack[2].getMethodName());
+    }
+
+    public OccursTest() throws Exception {
+        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        Schema schema = factory.newSchema(new File(getClass().getResource("occurs.xsd").getFile()));
+
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        dbf.setSchema(schema);
+
+        documentBuilder = dbf.newDocumentBuilder();
+        documentBuilder.setErrorHandler(new ErrorHandler() {
+            public void error(SAXParseException e) throws SAXException {
+                System.out.println("Error: " + e.getMessage());
+                errorFound = true;
+            }
+
+            public void fatalError(SAXParseException e) throws SAXException {
+                System.out.println("Fatal error: " + e.getMessage());
+            }
+
+            public void warning(SAXParseException e) throws SAXException {
+                System.out.println("Warning: " + e.getMessage());
+            }
+        });
+    }
+
+    @Test
+    public void testOccursMaxMinOk() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("occurs-ok.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (errorFound) {
+            Assert.fail("Unexpected validation error reported");
+        }
+    }
+
+    @Test
+    public void testOccursMaxMinErrorMin() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("occurs-error-min.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (!errorFound) {
+            Assert.fail("Expected validation error not reported");
+        }
+    }
+
+    @Test
+    public void testOccursMaxMinErrorMax() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("occurs-error-max.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (!errorFound) {
+            Assert.fail("Expected validation error not reported");
+        }
+    }
+
+    @Test
+    public void testOccursMaxMinErrorMinMax() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("occurs-error-min-max.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (!errorFound) {
+            Assert.fail("Expected validation error not reported");
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/OccursUnboundedTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,111 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @summary Test Schema Validator can parse multiple or unbounded occurs.
+ */
+public class OccursUnboundedTest {
+
+    boolean errorFound;
+
+    DocumentBuilder documentBuilder;
+
+    private void printMethodName() {
+        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
+        System.out.println(stack[2].getMethodName());
+    }
+
+    public OccursUnboundedTest() throws Exception {
+        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        Schema schema = factory.newSchema(new File(getClass().getResource("occurs-unbounded.xsd").getFile()));
+
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        dbf.setSchema(schema);
+
+        documentBuilder = dbf.newDocumentBuilder();
+        documentBuilder.setErrorHandler(new ErrorHandler() {
+            public void error(SAXParseException e) throws SAXException {
+                System.out.println("Error: " + e.getMessage());
+                errorFound = true;
+            }
+
+            public void fatalError(SAXParseException e) throws SAXException {
+                System.out.println("Fatal error: " + e.getMessage());
+            }
+
+            public void warning(SAXParseException e) throws SAXException {
+                System.out.println("Warning: " + e.getMessage());
+            }
+        });
+    }
+
+    @Test
+    public void testOccursUnboundedMaxMinOk() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("occurs-unbounded-ok.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (errorFound) {
+            Assert.fail("Unexpected validation error reported");
+        }
+    }
+
+    @Test
+    public void testOccursUnboundedMaxMinErrorMin() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("occurs-unbounded-error-min.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (!errorFound) {
+            Assert.fail("Expected validation error not reported");
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/OccursWildcardTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,143 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @summary Test Schema Validator can parse multiple or unbounded occurs.
+ */
+public class OccursWildcardTest {
+
+    boolean errorFound;
+
+    DocumentBuilder documentBuilder;
+
+    private void printMethodName() {
+        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
+        System.out.println(stack[2].getMethodName());
+    }
+
+    public OccursWildcardTest() throws Exception {
+        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        Schema schema = factory.newSchema(new File(getClass().getResource("occurs-wildcard.xsd").getFile()));
+
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        dbf.setSchema(schema);
+
+        documentBuilder = dbf.newDocumentBuilder();
+        documentBuilder.setErrorHandler(new ErrorHandler() {
+            public void error(SAXParseException e) throws SAXException {
+                System.out.println("Error: " + e.getMessage());
+                errorFound = true;
+            }
+
+            public void fatalError(SAXParseException e) throws SAXException {
+                System.out.println("Fatal error: " + e.getMessage());
+            }
+
+            public void warning(SAXParseException e) throws SAXException {
+                System.out.println("Warning: " + e.getMessage());
+            }
+        });
+    }
+
+    @Test
+    public void testOccursMaxMinOk() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("occurs-ok.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (errorFound) {
+            Assert.fail("Unexpected validation error reported");
+        }
+    }
+
+    @Test
+    public void testOccursMaxMinErrorMin() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("occurs-error-min.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (!errorFound) {
+            Assert.fail("Expected validation error not reported");
+        }
+    }
+
+    @Test
+    public void testOccursMaxMinErrorMax() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("occurs-error-max.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (!errorFound) {
+            Assert.fail("Expected validation error not reported");
+        }
+    }
+
+    @Test
+    public void testOccursMaxMinErrorMinMax() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("occurs-error-min-max.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (!errorFound) {
+            Assert.fail("Expected validation error not reported");
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/OccursWildcardUnbounded.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,111 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @summary Test Schema Validator can parse multiple or unbounded occurs.
+ */
+public class OccursWildcardUnbounded {
+
+    boolean errorFound;
+
+    DocumentBuilder documentBuilder;
+
+    private void printMethodName() {
+        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
+        System.out.println(stack[2].getMethodName());
+    }
+
+    public OccursWildcardUnbounded() throws Exception {
+        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        Schema schema = factory.newSchema(new File(getClass().getResource("occurs-wildcard-unbounded.xsd").getFile()));
+
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        dbf.setSchema(schema);
+
+        documentBuilder = dbf.newDocumentBuilder();
+        documentBuilder.setErrorHandler(new ErrorHandler() {
+            public void error(SAXParseException e) throws SAXException {
+                System.out.println("Error: " + e.getMessage());
+                errorFound = true;
+            }
+
+            public void fatalError(SAXParseException e) throws SAXException {
+                System.out.println("Fatal error: " + e.getMessage());
+            }
+
+            public void warning(SAXParseException e) throws SAXException {
+                System.out.println("Warning: " + e.getMessage());
+            }
+        });
+    }
+
+    @Test
+    public void testOccursUnboundedMaxMinOk() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("occurs-unbounded-ok.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (errorFound) {
+            Assert.fail("Unexpected validation error reported");
+        }
+    }
+
+    @Test
+    public void testOccursUnboundedMaxMinErrorMin() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("occurs-unbounded-error-min.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (!errorFound) {
+            Assert.fail("Expected validation error not reported");
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/ParticlesId005Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,95 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @summary Test Schema Validator can parse multiple or unbounded occurs.
+ */
+public class ParticlesId005Test {
+
+    boolean errorFound;
+
+    DocumentBuilder documentBuilder;
+
+    private void printMethodName() {
+        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
+        System.out.println(stack[2].getMethodName());
+    }
+
+    public ParticlesId005Test() throws Exception {
+        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        Schema schema = factory.newSchema(new File(getClass().getResource("particlesId005.xsd").getFile()));
+
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        dbf.setSchema(schema);
+
+        documentBuilder = dbf.newDocumentBuilder();
+        documentBuilder.setErrorHandler(new ErrorHandler() {
+            public void error(SAXParseException e) throws SAXException {
+                System.out.println("Error: " + e.getMessage());
+                errorFound = true;
+            }
+
+            public void fatalError(SAXParseException e) throws SAXException {
+                System.out.println("Fatal error: " + e.getMessage());
+            }
+
+            public void warning(SAXParseException e) throws SAXException {
+                System.out.println("Warning: " + e.getMessage());
+            }
+        });
+    }
+
+    @Test
+    public void testNoOptimizationWithChoice() throws Exception {
+        printMethodName();
+
+        File xmlFile = new File(getClass().getResource("particlesId005.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (errorFound) {
+            Assert.fail("Unexpected validation error reported");
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/ParticlesIg004Test.java	Mon Aug 17 11:18:31 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 validation;
+
+import java.io.File;
+
+import javax.xml.XMLConstants;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @summary Test particlesIg004.xsd.
+ */
+public class ParticlesIg004Test {
+
+    @Test
+    public void testParticleslg004() {
+        try {
+            SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            String xsdFile = "particlesIg004.xsd";
+            Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
+            Validator validator = schema.newValidator();
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            Assert.fail(ex.getMessage());
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/ParticlesQ013Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,94 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+/*
+ * @summary Test Schema Validator can parse multiple or unbounded occurs.
+ */
+public class ParticlesQ013Test {
+
+    boolean errorFound;
+
+    DocumentBuilder documentBuilder;
+
+    private void printMethodName() {
+        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
+        System.out.println(stack[2].getMethodName());
+    }
+
+    public ParticlesQ013Test() throws Exception {
+        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        Schema schema = factory.newSchema(new File(getClass().getResource("particlesQ013.xsd").getFile()));
+
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        dbf.setSchema(schema);
+
+        documentBuilder = dbf.newDocumentBuilder();
+        documentBuilder.setErrorHandler(new ErrorHandler() {
+            public void error(SAXParseException e) throws SAXException {
+                System.out.println("Error: " + e.getMessage());
+                errorFound = true;
+            }
+
+            public void fatalError(SAXParseException e) throws SAXException {
+                System.out.println("Fatal error: " + e.getMessage());
+            }
+
+            public void warning(SAXParseException e) throws SAXException {
+                System.out.println("Warning: " + e.getMessage());
+            }
+        });
+    }
+
+    @Test
+    public void testNoOptimizationWithChoice() throws Exception {
+        printMethodName();
+        File xmlFile = new File(getClass().getResource("particlesQ013.xml").getFile());
+        try {
+            errorFound = false;
+            documentBuilder.parse(xmlFile);
+        } catch (SAXException ex) {
+            Assert.fail(ex.getMessage());
+        }
+        if (errorFound) {
+            Assert.fail("Unexpected validation error reported");
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/ProcessContents-lax-error.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<my_lax>
+   <my_int>25.5</my_int>
+</my_lax>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/ProcessContents-ok.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<my_strict>
+   <my_int>255</my_int>
+   <my_skip>
+      <my_int>2.55</my_int>
+      <un_define/>
+      <my_lax>
+         <my_int>25.5</my_int>
+      </my_lax>
+      <my_strict>
+         <un_define>TTT</un_define>
+      </my_strict>
+   </my_skip>   
+   <my_lax>
+         <my_int>2555</my_int>
+         <un_define>TTT</un_define>
+         <my_strict>
+            <my_int>20</my_int>
+         </my_strict>
+   </my_lax>
+</my_strict>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/ProcessContents.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+<xs:element name="my_lax">
+   <xs:complexType>
+      <xs:sequence>
+         <xs:any processContents="lax" maxOccurs="unbounded"/>			  
+      </xs:sequence>
+   </xs:complexType>
+</xs:element>
+
+<xs:element name="my_skip">
+   <xs:complexType>
+      <xs:sequence>
+         <xs:any processContents="skip" maxOccurs="unbounded"/>			  
+      </xs:sequence>
+   </xs:complexType>
+</xs:element>
+
+<xs:element name="my_strict">
+   <xs:complexType>
+      <xs:sequence>
+         <xs:any maxOccurs="unbounded"/> <!-- by default, processContents="strict" -->
+      </xs:sequence>
+   </xs:complexType>
+</xs:element>
+
+<xs:element name="my_int">
+   <xs:simpleType>
+         <xs:restriction base="xs:int"/>
+   </xs:simpleType>
+</xs:element>
+
+</xs:schema>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/TCKGroupA008Test.java	Mon Aug 17 11:18:31 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 validation;
+
+import java.io.File;
+
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+/*
+ * @summary Test groupA008.xsd.
+ */
+public class TCKGroupA008Test {
+    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 test() {
+        // System.setSecurityManager(new SecurityManager());
+        try {
+            SchemaFactory factory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
+            File schemaLocation = new File(getClass().getResource("groupA008.xsd").getFile());
+            Schema schema = factory.newSchema(schemaLocation);
+            Validator validator = schema.newValidator();
+        } catch (SAXException e) {
+            System.out.println(e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/ValidatorTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,198 @@
+/*
+ * 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 validation;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileWriter;
+
+import javax.xml.XMLConstants;
+import javax.xml.stream.XMLEventReader;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.transform.Result;
+import javax.xml.transform.Source;
+import javax.xml.transform.stax.StAXResult;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.ErrorHandler;
+
+/*
+ * @summary Test Validator.validate(Source, Result).
+ */
+public class ValidatorTest {
+
+    @Test
+    public void testValidateStAX() {
+
+        File resultFile = null;
+        try {
+            resultFile = new File("stax.result");
+            if (resultFile.exists()) {
+                resultFile.delete();
+            }
+
+            Result xmlResult = new javax.xml.transform.stax.StAXResult(XMLOutputFactory.newInstance().createXMLStreamWriter(new FileWriter(resultFile)));
+            Source xmlSource = new javax.xml.transform.stax.StAXSource(getXMLEventReader("toys.xml"));
+            validate("toys.xsd", xmlSource, xmlResult);
+
+            ((StAXResult) xmlResult).getXMLStreamWriter().close();
+            Assert.assertTrue(resultFile.exists(), "result file is not created");
+
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            Assert.fail("Exception : " + ex.getMessage());
+        } finally {
+            if (resultFile != null && resultFile.exists()) {
+                resultFile.delete();
+            }
+        }
+    }
+
+    @Test
+    public void testValidateStream() {
+
+        File resultFile = null;
+        try {
+            resultFile = new File("stax.result");
+            if (resultFile.exists()) {
+                resultFile.delete();
+            }
+
+            // Validate this instance document against the
+            // Instance document supplied
+            Result xmlResult = new javax.xml.transform.stream.StreamResult(resultFile);
+            Source xmlSource = new javax.xml.transform.stream.StreamSource(new File(ValidatorTest.class.getResource("toys.xml").toURI()));
+
+            validate("toys.xsd", xmlSource, xmlResult);
+            Assert.assertTrue(resultFile.exists(), "result file is not created");
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            Assert.fail("Exception : " + ex.getMessage());
+        } finally {
+            if (resultFile != null && resultFile.exists()) {
+                resultFile.delete();
+            }
+        }
+    }
+
+    @Test
+    public void testValidateGMonth() {
+
+        // test valid gMonths
+        File resultFile = null;
+        try {
+            resultFile = new File("gMonths.result.xml");
+            if (resultFile.exists()) {
+                resultFile.delete();
+            }
+
+            // Validate this instance document against the
+            // Instance document supplied
+            Result xmlResult = new javax.xml.transform.stream.StreamResult(resultFile);
+            Source xmlSource = new javax.xml.transform.stream.StreamSource(new File(ValidatorTest.class.getResource("gMonths.xml").toURI()));
+
+            validate("gMonths.xsd", xmlSource, xmlResult);
+
+            Assert.assertTrue(resultFile.exists(), "result file is not created");
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            Assert.fail("Exception : " + ex.getMessage());
+        } finally {
+            if (resultFile != null && resultFile.exists()) {
+                resultFile.delete();
+            }
+        }
+
+        // test invalid gMonths
+        File invalidResultFile = null;
+        try {
+            invalidResultFile = new File("gMonths-invalid.result.xml");
+            if (invalidResultFile.exists()) {
+                invalidResultFile.delete();
+            }
+
+            // Validate this instance document against the
+            // Instance document supplied
+            Result xmlResult = new javax.xml.transform.stream.StreamResult(resultFile);
+            Source xmlSource = new javax.xml.transform.stream.StreamSource(new File(ValidatorTest.class.getResource("gMonths-invalid.xml").toURI()));
+
+            validate("gMonths.xsd", xmlSource, xmlResult);
+
+            // should have failed with an Exception due to invalid gMonths
+            Assert.fail("invalid gMonths were accepted as valid in " + ValidatorTest.class.getResource("gMonths-invalid.xml").toURI());
+        } catch (Exception ex) {
+            // expected failure
+            System.out.println("Expected failure: " + ex.toString());
+        } finally {
+            if (invalidResultFile != null && invalidResultFile.exists()) {
+                invalidResultFile.delete();
+            }
+        }
+    }
+
+    private void validate(final String xsdFile, final Source src, final Result result) throws Exception {
+        try {
+            SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            Schema schema = sf.newSchema(new File(ValidatorTest.class.getResource(xsdFile).toURI()));
+
+            // Get a Validator which can be used to validate instance document
+            // against this grammar.
+            Validator validator = schema.newValidator();
+            ErrorHandler eh = new ErrorHandlerImpl();
+            validator.setErrorHandler(eh);
+
+            // Validate this instance document against the
+            // Instance document supplied
+            validator.validate(src, result);
+        } catch (Exception ex) {
+            throw ex;
+        }
+    }
+
+    private XMLEventReader getXMLEventReader(final String filename) {
+
+        XMLInputFactory xmlif = null;
+        XMLEventReader xmlr = null;
+        try {
+            xmlif = XMLInputFactory.newInstance();
+            xmlif.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, Boolean.TRUE);
+            xmlif.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, Boolean.FALSE);
+            xmlif.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
+            xmlif.setProperty(XMLInputFactory.IS_COALESCING, Boolean.TRUE);
+
+            // FileInputStream fis = new FileInputStream(filename);
+            FileInputStream fis = new FileInputStream(new File(ValidatorTest.class.getResource(filename).toURI()));
+            xmlr = xmlif.createXMLEventReader(filename, fis);
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            Assert.fail("Exception : " + ex.getMessage());
+        }
+        return xmlr;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/XMLDocBuilder.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,143 @@
+/*
+ * 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 validation;
+
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.io.Reader;
+import java.io.UnsupportedEncodingException;
+import java.net.MalformedURLException;
+import java.net.URL;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.w3c.dom.Document;
+import org.xml.sax.EntityResolver;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+public class XMLDocBuilder {
+
+    private DocumentBuilderFactory factory = null;
+    private DocumentBuilder builder = null;
+    private Document doc = null;
+    private Reader reader = null;
+    private Reader schema = null;
+    private String encoding = null;
+    private String entityPath = null;
+
+    public XMLDocBuilder(String file, String encoding, String schema) {
+        this.encoding = encoding;
+        reader = getReaderFromSystemResource(file, encoding);
+        this.schema = getReaderFromSystemResource(schema, encoding);
+    }
+
+    public Document getDocument() {
+        if (reader == null)
+            return null;
+
+        try {
+            factory = DocumentBuilderFactory.newInstance();
+
+            builder = factory.newDocumentBuilder();
+            builder.setErrorHandler(new myErrorHandler());
+            builder.setEntityResolver(new myEntityResolver());
+
+            InputSource source = new InputSource(reader);
+            source.setEncoding(encoding);
+
+            try {
+                doc = builder.parse(source);
+                new XMLSchemaValidator(doc, schema).validate();
+
+            } catch (SAXException e) {
+                System.err.println(getClass() + " SAXException: " + e.getMessage());
+                return null;
+            } catch (IOException e) {
+                System.err.println(getClass() + " IOException: " + e.getMessage());
+                return null;
+            } catch (OutOfMemoryError e) {
+                e.printStackTrace();
+                System.err.println(e.getCause().getLocalizedMessage());
+                return null;
+            }
+
+        } catch (ParserConfigurationException e) {
+            System.err.println(getClass() + " ParserConfigurationException: " + e.getMessage());
+            return null;
+        }
+        return doc;
+    }
+
+    public Reader getReaderFromSystemResource(String file, String encoding) {
+
+        try {
+            return new InputStreamReader(getClass().getResourceAsStream(file), encoding);
+        } catch (UnsupportedEncodingException e) {
+            System.err.println(getClass() + " UnsupportedEncodingException: " + e.getMessage());
+        } catch (IOException e) {
+            System.err.println(getClass() + " IOException: " + e.getMessage());
+        }
+        return null;
+    }
+
+    public void setEntityPath(String entityPath) {
+        this.entityPath = entityPath;
+    }
+
+    private class myErrorHandler implements ErrorHandler {
+
+        public void warning(SAXParseException e) {
+            showErrorMessage(e);
+        }
+
+        public void error(SAXParseException e) {
+            showErrorMessage(e);
+        }
+
+        public void fatalError(SAXParseException e) {
+            showErrorMessage(e);
+        }
+
+        private void showErrorMessage(SAXParseException e) {
+            System.err.println(getClass() + " SAXParseException" + e.getMessage());
+            System.err.println("Line: " + e.getLineNumber() + " Column: " + e.getColumnNumber());
+        }
+    }
+
+    private class myEntityResolver implements EntityResolver {
+        public InputSource resolveEntity(String publicId, String systemId) {
+            if (entityPath == null)
+                return null;
+
+            systemId = entityPath + systemId.subSequence(systemId.lastIndexOf("/"), systemId.length());
+
+            return new InputSource(systemId);
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/XMLSchemaValidator.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,61 @@
+/*
+ * 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 validation;
+
+import java.io.IOException;
+import java.io.Reader;
+
+import javax.xml.XMLConstants;
+import javax.xml.transform.Source;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.w3c.dom.Node;
+import org.xml.sax.SAXException;
+
+public class XMLSchemaValidator {
+
+    private SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+    private Node node = null;
+    private Reader schema = null;
+
+    public XMLSchemaValidator(Node doc, Reader schema) {
+        this.node = doc;
+        this.schema = schema;
+    }
+
+    public synchronized void validate() throws SAXException, IOException {
+
+        if (node == null || schema == null)
+            return;
+
+        Source schemaFile = new StreamSource(schema);
+        Schema schema = factory.newSchema(schemaFile);
+        Validator validator = schema.newValidator();
+        validator.validate(new DOMSource(node));
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/gMonths-invalid.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * 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.
+ */
+-->
+<gMonths>
+    <!-- invalid gMonths -->
+    <gMonth>--01--</gMonth>
+    <gMonth>--01--Z</gMonth>
+    <gMonth>--01---08:00</gMonth>
+    <gMonth>foo</gMonth>
+</gMonths>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/gMonths.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * 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.
+ */
+-->
+<gMonths>
+    <!-- valid gMonths -->
+    <gMonth>--01</gMonth>
+    <gMonth>--01Z</gMonth>
+    <gMonth>--01-08:00</gMonth>
+</gMonths>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/gMonths.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<!--
+/*
+ * 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.
+ */
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+  <xs:element name="gMonths">
+     <xs:complexType>
+       <xs:sequence>
+        <xs:element
+            name="gMonth"
+            type="xs:gMonth"
+            maxOccurs="16" />
+       </xs:sequence>
+     </xs:complexType>
+  </xs:element>
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/groupA008.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+	<xsd:import schemaLocation="groupA008ea.red"/>
+	<xsd:include schemaLocation="groupA008eb.red"/>
+	<xsd:group name="foo">
+		<xsd:sequence>
+			<xsd:element name="a"/>
+		</xsd:sequence>
+	</xsd:group>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/groupA008ea.red	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,7 @@
+<xsd:schema targetNamespace="" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+	<xsd:group name="a" id="foo">
+		<xsd:sequence>
+			<xsd:element name="a"/>
+		</xsd:sequence>
+	</xsd:group>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/groupA008eb.red	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,7 @@
+<xsd:schema targetNamespace="" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+	<xsd:group name="b" id="foo">
+		<xsd:sequence>
+			<xsd:element name="b"/>
+		</xsd:sequence>
+	</xsd:group>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/hello_literal.wsdl	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,294 @@
+<definitions
+        name="HelloTest"
+        targetNamespace="urn:test"
+        xmlns="http://schemas.xmlsoap.org/wsdl/"
+        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+        xmlns:types="urn:test:types"
+        xmlns:tns="urn:test">
+
+    <types>
+        <xsd:schema
+                targetNamespace="urn:test:types"
+                attributeFormDefault="unqualified"
+                elementFormDefault="unqualified">
+
+            <xsd:element name="Hello">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="argument" type="xsd:string"/>
+                        <xsd:element name="extra" type="xsd:string"/>
+                    </xsd:sequence>
+                </xsd:complexType>
+            </xsd:element>
+
+            <xsd:complexType name="HelloType">
+                <xsd:sequence>
+                    <xsd:element name="argument" type="xsd:string"/>
+                    <xsd:element name="extra" type="xsd:string"/>
+                </xsd:sequence>
+            </xsd:complexType>
+
+            <xsd:element name="HelloResponse">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:sequence>
+                            <xsd:element name="name" type="xsd:string"/>
+                        </xsd:sequence>
+                        <xsd:element name="argument" type="xsd:string"/>
+                        <xsd:element name="extra" type="xsd:string"/>
+                    </xsd:sequence>
+                </xsd:complexType>
+            </xsd:element>
+
+
+            <xsd:element name="VoidTest" type="types:VoidType" nillable="true"/>
+
+            <xsd:complexType name="VoidType">
+                <xsd:sequence>
+                </xsd:sequence>
+            </xsd:complexType>
+
+            <xsd:element name="VoidTestResponse" type="types:VoidType" nillable="true"/>
+
+            <xsd:element name="echoArray" type="types:nameType"/>
+            <xsd:element name="echoArray1" type="types:nameType"/>
+            <xsd:element name="echoArray2" type="types:nameType"/>
+            <xsd:element name="echoArray3" type="types:nameType"/>
+
+            <xsd:element name="echoArray4Body" type="types:nameType1"/>
+
+
+            <xsd:element name="echoArrayResponse" type="types:nameType"/>
+            <xsd:complexType name="nameType">
+                <xsd:sequence>
+                    <xsd:element name="name" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
+                </xsd:sequence>
+            </xsd:complexType>
+
+            <xsd:complexType name="nameType1">
+                <xsd:sequence>
+                    <xsd:element name="name" type="types:HelloType" minOccurs="0" maxOccurs="unbounded"/>
+                </xsd:sequence>
+            </xsd:complexType>
+
+            <xsd:element name="testKeyword">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="_this" type="xsd:string"/>
+                    </xsd:sequence>
+                </xsd:complexType>
+            </xsd:element>
+
+            <xsd:element name="testKeywordResponse">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="_super" type="xsd:string"/>
+                    </xsd:sequence>
+                </xsd:complexType>
+            </xsd:element>
+
+        </xsd:schema>
+    </types>
+
+    <message name="HelloRequest">
+        <part name="parameters" element="types:Hello"/>
+    </message>
+
+    <message name="HelloResponse">
+        <part name="parameters" element="types:HelloResponse"/>
+    </message>
+
+    <message name="MarshallTest_voidTest">
+        <part name="parameters" element="types:VoidTest"/>
+    </message>
+
+    <message name="MarshallTest_voidTestResponse">
+        <part name="result" element="types:VoidTestResponse"/>
+    </message>
+
+    <message name="echoArrayRequest">
+        <part name="body" element="types:echoArray"/>
+    </message>
+
+    <message name="echoArrayResponse">
+        <part name="body" element="types:echoArray"/>
+    </message>
+
+    <message name="echoArrayRequest1">
+        <part name="body" element="types:echoArray1"/>
+    </message>
+
+    <message name="echoArrayResponse1">
+        <part name="body" element="types:echoArray1"/>
+    </message>
+
+    <message name="echoArrayRequest2">
+        <part name="body" element="types:echoArray2"/>
+    </message>
+
+    <message name="echoArrayResponse2">
+        <part name="body" element="types:echoArray2"/>
+    </message>
+
+    <message name="echoArrayRequest3">
+        <part name="body" element="types:echoArray3"/>
+    </message>
+
+    <message name="echoArrayResponse3">
+        <part name="body" element="types:echoArray3"/>
+    </message>
+
+    <message name="echoArrayRequest4">
+        <part name="request" element="types:echoArray4Body"/>
+    </message>
+
+    <message name="echoArrayResponse4">
+        <part name="response" element="types:echoArray4Body"/>
+    </message>
+
+    <message name="testKeywordRequest">
+        <part name="request" element="types:testKeyword"/>
+    </message>
+
+    <message name="testKeywordResponse">
+        <part name="response" element="types:testKeywordResponse"/>
+    </message>
+
+
+    <portType name="Hello">
+        <operation name="hello">
+            <input message="tns:HelloRequest"/>
+            <output message="tns:HelloResponse"/>
+        </operation>
+
+        <!-- this is a regression test for bug 4823861 -->
+        <operation name="voidTest">
+            <input message="tns:MarshallTest_voidTest"/>
+            <output message="tns:MarshallTest_voidTestResponse"/>
+        </operation>
+
+
+        <operation name="echoArray">
+            <input message="tns:echoArrayRequest"/>
+            <output message="tns:echoArrayResponse"/>
+        </operation>
+
+        <operation name="echoArray1">
+            <input message="tns:echoArrayRequest1"/>
+            <output message="tns:echoArrayResponse1"/>
+        </operation>
+
+        <operation name="echoArray2">
+            <input message="tns:echoArrayRequest2"/>
+            <output message="tns:echoArrayResponse2"/>
+        </operation>
+
+        <operation name="echoArray3">
+            <input message="tns:echoArrayRequest3"/>
+            <output message="tns:echoArrayResponse3"/>
+        </operation>
+
+        <operation name="echoArray4">
+            <input message="tns:echoArrayRequest4"/>
+            <output message="tns:echoArrayResponse4"/>
+        </operation>
+
+        <operation name="testKeyword">
+            <input message="tns:testKeywordRequest"/>
+            <output message="tns:testKeywordResponse"/>
+        </operation>
+    </portType>
+
+    <binding name="HelloBinding" type="tns:Hello">
+        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <operation name="hello">
+            <soap:operation soapAction="urn:test:hello"/>
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+        </operation>
+        <operation name="voidTest">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+            <soap:operation soapAction=""/>
+        </operation>
+
+        <operation name="echoArray">
+            <soap:operation soapAction="urn:test:hello"/>
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body parts="" use="literal"/>
+            </output>
+        </operation>
+
+        <operation name="echoArray1">
+            <soap:operation soapAction="urn:test:hello"/>
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body parts="" use="literal"/>
+                <soap:header message="tns:echoArrayResponse1" part="body" use="literal"/>
+            </output>
+        </operation>
+
+        <operation name="echoArray2">
+            <soap:operation soapAction="urn:test:hello"/>
+            <input>
+                <soap:body parts="" use="literal"/>
+                <soap:header message="tns:echoArrayRequest2" part="body" use="literal"/>
+            </input>
+            <output>
+                <soap:body parts="" use="literal"/>
+                <soap:header message="tns:echoArrayResponse2" part="body" use="literal"/>
+            </output>
+        </operation>
+
+        <operation name="echoArray3">
+            <soap:operation soapAction="urn:test:hello"/>
+            <input>
+                <soap:body/>
+            </input>
+            <output>
+                <soap:body/>
+            </output>
+        </operation>
+
+        <operation name="echoArray4">
+            <soap:operation soapAction="urn:test:hello"/>
+            <input>
+                <soap:body/>
+            </input>
+            <output>
+                <soap:body/>
+            </output>
+        </operation>
+
+        <operation name="testKeyword">
+            <soap:operation soapAction="urn:test:hello"/>
+            <input>
+                <soap:body/>
+            </input>
+            <output>
+                <soap:body/>
+            </output>
+        </operation>
+    </binding>
+
+    <service name="Hello">
+        <port name="HelloPort" binding="tns:HelloBinding">
+            <soap:address location="http://test.org/hello"/>
+        </port>
+    </service>
+
+</definitions>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/idI009.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xpns="xpns.org" xmlns:xpns1="xpns1.org" xmlns:xpns2="xpns2.org" xmlns:imp="importNS">
+	<xsd:import namespace="importNS" schemaLocation="idIimp.xsd"/>
+	<xsd:import namespace="xpns.org" schemaLocation="idIxpns.xsd"/>
+	<xsd:import namespace="xpns1.org" schemaLocation="idIxpns1.xsd"/>
+	<xsd:element name="root">
+		<xsd:complexType>
+			<xsd:sequence>
+				<xsd:element ref="tid" maxOccurs="unbounded"/>
+				<xsd:element ref="imp:iid" maxOccurs="unbounded"/>
+				<xsd:element ref="imp:iid1" maxOccurs="unbounded"/>
+				<xsd:element ref="xpns:xiid" maxOccurs="unbounded"/>
+				<xsd:element ref="xpns1:xiid" maxOccurs="unbounded"/>
+			</xsd:sequence>
+			<xsd:attribute name="val" type="xsd:string"/>
+		</xsd:complexType>
+		<xsd:unique id="foo123" name="uid">
+			<xsd:selector xpath="child::imp:iid"/>
+			<xsd:field xpath="@val"/>
+		</xsd:unique>
+	</xsd:element>
+	<xsd:element name="tid">
+		<xsd:complexType>
+			<xsd:attribute name="val" type="xsd:string"/>
+		</xsd:complexType>
+	</xsd:element>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/idIimp.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="importNS" xmlns:imp="importNS">
+	<xsd:element name="iid">
+		<xsd:complexType>
+			<xsd:attribute name="val" type="xsd:string"/>
+		</xsd:complexType>
+	</xsd:element>
+	<xsd:element name="iid1">
+		<xsd:complexType>
+			<xsd:sequence>
+				<xsd:element name="iid2" maxOccurs="unbounded" form="qualified">
+					<xsd:complexType>
+						<xsd:attribute name="val" type="xsd:string"/>
+					</xsd:complexType>
+				</xsd:element>
+			</xsd:sequence>
+			<xsd:attribute name="val" type="xsd:string"/>
+		</xsd:complexType>
+	</xsd:element>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/idIxpns.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="xpns.org" xmlns:xpns="xpns.org">
+	<xsd:element name="xsid" type="xsd:string"/>
+	<xsd:element name="xiid">
+		<xsd:complexType>
+			<xsd:sequence>
+				<xsd:element name="xiid2" type="xsd:string" maxOccurs="unbounded"/>
+			</xsd:sequence>
+			<xsd:attribute name="val" type="xsd:string"/>
+		</xsd:complexType>
+	</xsd:element>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/idIxpns1.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="xpns1.org" xmlns:xpns="xpns1.org">
+	<xsd:element name="xsid" type="xsd:string"/>
+	<xsd:element name="xiid">
+		<xsd:complexType>
+			<xsd:sequence>
+				<xsd:element name="xiid2" type="xsd:string" maxOccurs="unbounded"/>
+			</xsd:sequence>
+			<xsd:attribute name="val" type="xsd:string"/>
+		</xsd:complexType>
+	</xsd:element>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/mgG014.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+	<xsd:element name="doc" type="foo"/>
+	<xsd:complexType name="foo">
+		<xsd:sequence minOccurs="0" maxOccurs="999999999">
+			<xsd:element name="e1"/>
+		</xsd:sequence>
+	</xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/mgJ014.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+	<xsd:element name="doc" type="foo"/>
+	<xsd:complexType name="foo">
+		<xsd:choice minOccurs="0" maxOccurs="999999999">
+			<xsd:element name="e1"/>
+		</xsd:choice>
+	</xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/multi-occurs-error-max.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<persons>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <!-- Error: Only 5 child_name allowed -->
+        <child_name>Jim</child_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Sheldon</child_name>
+        <child_name>Penny</child_name>
+        <child_name>John</child_name>
+    </person>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <!-- Error: Only 2 midlle_name allowed -->
+        <middle_name>Jim</middle_name>
+        <middle_name>Hege</middle_name>
+        <middle_name>Stale</middle_name>
+    </person>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <!-- Error: Only 2 midlle_name allowed -->
+        <middle_name>Jim</middle_name>
+        <middle_name>Hege</middle_name>
+        <middle_name>Stale</middle_name>
+        <!-- Error: Only 5 child_name allowed -->
+        <child_name>Jim</child_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Sheldon</child_name>
+        <child_name>Penny</child_name>
+        <child_name>John</child_name>
+    </person>
+</persons>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/multi-occurs-error-min-max.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<persons>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <!-- Error: Only 2 midlle_name allowed -->
+        <middle_name>Jim</middle_name>
+        <middle_name>Hege</middle_name>
+        <middle_name>Stale</middle_name>
+        <!-- Error: child_name expected here -->
+    </person>
+    <person>
+        <full_name>Hege Refsnes Jr.</full_name>
+        <!-- Error: Only 2 midlle_name allowed -->
+        <middle_name>Jim</middle_name>
+        <middle_name>Hege</middle_name>
+        <middle_name>Stale</middle_name>
+        <!-- Error: Only 5 child_name allowed -->
+        <child_name>Jim</child_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Sheldon</child_name>
+        <child_name>Penny</child_name>
+        <child_name>John</child_name>
+    </person>
+</persons>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/multi-occurs-error-min.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<persons>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <!-- Error: child_name expected here -->
+    </person>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <middle_name>John</middle_name>
+        <middle_name>Doe</middle_name>
+        <!-- Error: child_name expected here -->
+    </person>
+</persons>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/multi-occurs-ok.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<persons>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <child_name>Cecilie</child_name>
+    </person>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <middle_name>Peter</middle_name>
+        <child_name>Cecilie</child_name>
+        <child_name>Hege</child_name>
+    </person>
+    <person>
+        <full_name>Tove Refsnes</full_name>
+        <middle_name>Peter</middle_name>
+        <middle_name>Pan</middle_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Jim</child_name>
+    </person>
+    <person>
+        <full_name>Tove Refsnes</full_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Jim</child_name>
+        <child_name>Sheldon</child_name>
+    </person>
+    <person>
+        <full_name>Stale Refsnes</full_name>
+        <middle_name>Peter</middle_name>
+        <middle_name>Pan</middle_name>
+        <child_name>Jim</child_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Sheldon</child_name>
+        <child_name>Penny</child_name>
+    </person>
+</persons>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/multi-occurs-unbounded-error-min.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<persons>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <!-- Error: middle_name expected here -->
+        <!-- Error: child_name expected here -->
+    </person>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <!-- Error: At least 2 middle_name expected -->
+        <middle_name>John</middle_name>
+        <!-- Error: child_name expected here -->
+    </person>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <!-- Error: At least 3 child_name expected -->
+        <child_name>John</child_name>
+        <child_name>Doe</child_name>
+    </person>
+</persons>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/multi-occurs-unbounded-ok.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<persons>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <middle_name>Peter</middle_name>
+        <middle_name>Pan</middle_name>
+        <child_name>Cecilie</child_name>
+        <child_name>Hege</child_name>
+        <child_name>Jim</child_name>
+    </person>
+    <person>
+        <full_name>Stale Refsnes</full_name>
+        <middle_name>Peter</middle_name>
+        <middle_name>Pan</middle_name>
+        <middle_name>Jim</middle_name>
+        <middle_name>Morris</middle_name>
+        <child_name>Jim</child_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Sheldon</child_name>
+        <child_name>Penny</child_name>
+        <child_name>Billy</child_name>
+    </person>
+</persons>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/multi-occurs-unbounded.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           elementFormDefault="qualified">
+    
+    <xs:element name="persons">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="person" maxOccurs="unbounded">
+                    <xs:complexType>
+                        <xs:sequence>
+                            <xs:element name="full_name" type="xs:string"/>
+                            <xs:element name="middle_name" type="xs:string" minOccurs="2" maxOccurs="unbounded"/>
+                            <xs:element name="child_name" type="xs:string" minOccurs="3" maxOccurs="unbounded"/>
+                        </xs:sequence>
+                    </xs:complexType>
+                </xs:element>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/multi-occurs.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           elementFormDefault="qualified">
+    
+    <xs:element name="persons">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="person" maxOccurs="unbounded">
+                    <xs:complexType>
+                        <xs:sequence>
+                            <xs:element name="full_name" type="xs:string"/>
+                            <xs:element name="middle_name" type="xs:string" minOccurs="0" maxOccurs="2"/>
+                            <xs:element name="child_name" type="xs:string" minOccurs="1" maxOccurs="5"/>
+                        </xs:sequence>
+                    </xs:complexType>
+                </xs:element>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/occurs-error-max.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<persons>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <!-- Error: Only 5 child_name allowed -->
+        <child_name>Jim</child_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Sheldon</child_name>
+        <child_name>Penny</child_name>
+        <child_name>John</child_name>
+    </person>
+</persons>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/occurs-error-min-max.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<persons>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <!-- Error: child_name expected here -->
+    </person>
+    <person>
+        <full_name>Hege Refsnes Jr.</full_name>
+        <!-- Error: Only 5 child_name allowed -->
+        <child_name>Jim</child_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Sheldon</child_name>
+        <child_name>Penny</child_name>
+        <child_name>John</child_name>
+    </person>
+</persons>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/occurs-error-min.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<persons>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <!-- Error: child_name expected here -->
+    </person>
+</persons>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/occurs-ok.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<persons>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <child_name>Cecilie</child_name>
+    </person>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <child_name>Cecilie</child_name>
+        <child_name>Hege</child_name>
+    </person>
+    <person>
+        <full_name>Tove Refsnes</full_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Jim</child_name>
+    </person>
+    <person>
+        <full_name>Tove Refsnes</full_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Jim</child_name>
+        <child_name>Sheldon</child_name>
+    </person>
+    <person>
+        <full_name>Stale Refsnes</full_name>
+        <child_name>Jim</child_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Sheldon</child_name>
+        <child_name>Penny</child_name>
+    </person>
+</persons>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/occurs-unbounded-error-min.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<persons>
+    <person>
+        <full_name>Hege Refsnes</full_name>
+        <!-- Error: Expected at least 3 child_name -->
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+    </person>
+</persons>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/occurs-unbounded-ok.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<persons>
+    <person>
+        <full_name>Tove Refsnes</full_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Jim</child_name>
+    </person>
+    <person>
+        <full_name>Tove Refsnes</full_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Jim</child_name>
+        <child_name>Sheldon</child_name>
+    </person>
+    <person>
+        <full_name>Stale Refsnes</full_name>
+        <child_name>Jim</child_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Sheldon</child_name>
+        <child_name>Penny</child_name>
+    </person>
+    <person>
+        <full_name>Stale Refsnes</full_name>
+        <child_name>Jim</child_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Sheldon</child_name>
+        <child_name>Penny</child_name>
+        <child_name>Jim</child_name>
+        <child_name>Hege</child_name>
+        <child_name>Stale</child_name>
+        <child_name>Sheldon</child_name>
+        <child_name>Penny</child_name>
+    </person>
+</persons>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/occurs-unbounded.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           elementFormDefault="qualified">
+    
+    <xs:element name="persons">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="person" maxOccurs="unbounded">
+                    <xs:complexType>
+                        <xs:sequence>
+                            <xs:element name="full_name" type="xs:string"/>
+                            <xs:element name="child_name" type="xs:string" minOccurs="3" maxOccurs="unbounded"/>
+                        </xs:sequence>
+                    </xs:complexType>
+                </xs:element>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/occurs-wildcard-unbounded.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           elementFormDefault="qualified">
+    
+    <xs:element name="persons">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="person" maxOccurs="unbounded">
+                    <xs:complexType>
+                        <xs:sequence>
+                            <xs:element name="full_name" type="xs:string"/>
+                            <xs:any processContents="lax" minOccurs="3" maxOccurs="unbounded"/>
+                        </xs:sequence>
+                    </xs:complexType>
+                </xs:element>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/occurs-wildcard.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           elementFormDefault="qualified">
+    
+    <xs:element name="persons">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="person" maxOccurs="unbounded">
+                    <xs:complexType>
+                        <xs:sequence>
+                            <xs:element name="full_name" type="xs:string"/>
+                            <xs:any processContents="lax" minOccurs="1" maxOccurs="5"/>
+                        </xs:sequence>
+                    </xs:complexType>
+                </xs:element>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/occurs.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           elementFormDefault="qualified">
+    
+    <xs:element name="persons">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="person" maxOccurs="unbounded">
+                    <xs:complexType>
+                        <xs:sequence>
+                            <xs:element name="full_name" type="xs:string"/>
+                            <xs:element name="child_name" type="xs:string" minOccurs="1" maxOccurs="5"/>
+                        </xs:sequence>
+                    </xs:complexType>
+                </xs:element>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/particlesId005.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,6 @@
+
+<a:doc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xsdtesting particlesId005.xsd" xmlns:a="http://xsdtesting">
+    <a:e1/>
+    <a:e1/>
+    <a:e1/>
+</a:doc>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/particlesId005.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xsdtesting" xmlns:x="http://xsdtesting" elementFormDefault="qualified">
+    <xsd:complexType name="base">
+        <xsd:choice>
+            <xsd:element name="e1" minOccurs="1" maxOccurs="3"/>
+            <xsd:element name="e2" minOccurs="1" maxOccurs="unbounded"/>
+        </xsd:choice>
+    </xsd:complexType>
+    <xsd:complexType name="testing">
+        <xsd:complexContent>
+            <xsd:restriction base="x:base">
+                <xsd:choice>
+                    <xsd:element name="e1" minOccurs="2" maxOccurs="3"/>
+                    <xsd:element name="e2" minOccurs="2" maxOccurs="unbounded"/>
+                </xsd:choice>
+            </xsd:restriction>
+        </xsd:complexContent>
+    </xsd:complexType>
+    <xsd:element name="doc" type="x:testing"/>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/particlesIe003.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xsdtesting" xmlns:x="http://xsdtesting" elementFormDefault="qualified">
+	<xsd:complexType name="base">
+		<xsd:choice>
+			<xsd:element name="e1" minOccurs="0" maxOccurs="unbounded"/>
+			<xsd:element name="e2" minOccurs="0" maxOccurs="unbounded"/>
+		</xsd:choice>
+	</xsd:complexType>
+	<xsd:complexType name="testing">
+		<xsd:complexContent>
+			<xsd:restriction base="x:base">
+				<xsd:choice>
+					<xsd:element name="e1" minOccurs="1" maxOccurs="9999999"/>
+					<xsd:element name="e2" minOccurs="1" maxOccurs="9999999"/>
+				</xsd:choice>
+			</xsd:restriction>
+		</xsd:complexContent>
+	</xsd:complexType>
+	<xsd:element name="doc" type="x:testing"/>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/particlesIg004.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xsdtesting" xmlns:x="http://xsdtesting" elementFormDefault="qualified">
+	<xsd:complexType name="base">
+		<xsd:choice>
+			<xsd:element name="e1" block="#all"/>
+			<xsd:element name="e3" block="substitution extension restriction"/>
+			<xsd:element name="e4" block="#all"/>
+		</xsd:choice>
+	</xsd:complexType>
+	<xsd:complexType name="testing">
+		<xsd:complexContent>
+			<xsd:restriction base="x:base">
+				<xsd:choice>
+					<xsd:element name="e1" block="substitution extension restriction"/>
+					<xsd:element name="e3" block="substitution extension restriction"/>
+					<xsd:element name="e4" block="#all"/>
+				</xsd:choice>
+			</xsd:restriction>
+		</xsd:complexContent>
+	</xsd:complexType>
+	<xsd:element name="doc" type="x:testing"/>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/particlesOptimize.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+
+<xsd:schema
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  xmlns="test"
+  targetNamespace="test">
+
+     <xsd:element name="a" type="A"/>
+     <xsd:complexType name="A">
+          <xsd:sequence>
+	       <xsd:element name="b" type="xsd:string" maxOccurs="30000"/>
+	  </xsd:sequence>
+     </xsd:complexType>
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/particlesQ013.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,14 @@
+
+<a:doc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xsdtesting particlesQ013.xsd" xmlns:a="http://xsdtesting">
+    <elem>
+        <foo/>
+        <e1/>
+        <e1/>
+        <e2/>
+        <e2/>
+        <e1/>
+        <e1/>
+        <e2/>
+        <e2/>
+    </elem>
+</a:doc>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/particlesQ013.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xsdtesting" xmlns:x="http://xsdtesting" xmlns:imp="http://importedXSD">
+    <xsd:complexType name="B">
+        <xsd:sequence>
+            <xsd:element name="foo" minOccurs="1" maxOccurs="1"/>
+            <xsd:any namespace="##any" minOccurs="4" maxOccurs="8"/>
+        </xsd:sequence>
+    </xsd:complexType>
+    <xsd:complexType name="R">
+        <xsd:complexContent>
+            <xsd:restriction base="x:B">
+                <xsd:sequence>
+                    <xsd:element name="foo" minOccurs="1" maxOccurs="1"/>
+                    <xsd:sequence minOccurs="1" maxOccurs="2">
+                        <xsd:element name="e1" minOccurs="2" maxOccurs="2"/>
+                        <xsd:element name="e2" minOccurs="2" maxOccurs="2"/>
+                    </xsd:sequence>
+                </xsd:sequence>
+            </xsd:restriction>
+        </xsd:complexContent>
+    </xsd:complexType>
+    <xsd:element name="doc">
+        <xsd:complexType>
+            <xsd:choice>
+                <xsd:element name="elem" type="x:R"/>
+            </xsd:choice>
+        </xsd:complexType>
+    </xsd:element>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/particlesR005.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xsdtesting" xmlns:x="http://xsdtesting" xmlns:imp="http://importedXSD">
+	<xsd:complexType name="B">
+		<xsd:sequence>
+			<xsd:element name="foo" minOccurs="1" maxOccurs="1"/>
+			<xsd:any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
+		</xsd:sequence>
+	</xsd:complexType>
+	<xsd:complexType name="R">
+		<xsd:complexContent>
+			<xsd:restriction base="x:B">
+				<xsd:sequence>
+					<xsd:element name="foo" minOccurs="1" maxOccurs="1"/>
+					<xsd:choice minOccurs="1" maxOccurs="1">
+						<xsd:element name="e1" minOccurs="1" maxOccurs="30000"/>
+					</xsd:choice>
+				</xsd:sequence>
+			</xsd:restriction>
+		</xsd:complexContent>
+	</xsd:complexType>
+	<xsd:element name="doc">
+		<xsd:complexType>
+			<xsd:choice>
+				<xsd:element name="elem" type="x:R"/>
+			</xsd:choice>
+		</xsd:complexType>
+	</xsd:element>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/targetNS00101m2.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema
+  xmlns="IdConstrDefs/targetNS"
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  targetNamespace="IdConstrDefs/targetNS">
+
+  <xsd:include schemaLocation="targetNS00101m2a.xsd"/>
+
+  <xsd:element name="root">
+      <xsd:complexType>
+          <xsd:sequence maxOccurs="unbounded">
+              <xsd:element name="person"/>
+          </xsd:sequence>
+      </xsd:complexType>
+      <xsd:key name="KEY">
+          <xsd:selector xpath="./person"/>
+          <xsd:field xpath="."/>
+      </xsd:key>
+      <xsd:keyref name="KEYREF" refer="KEY">
+          <xsd:selector xpath="./person"/>
+          <xsd:field xpath="@parent"/>
+      </xsd:keyref>
+  </xsd:element>
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/targetNS00101m2_stub.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,5 @@
+<?xml version='1.0'?>
+<sb:stub xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
+       xsi:schemaLocation='IdConstrDefs/targetNS targetNS00101m2_stub.xsd'
+       xmlns:sb='IdConstrDefs/targetNS'>
+    Stub document</sb:stub>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/targetNS00101m2_stub.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,7 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'
+       targetNamespace='IdConstrDefs/targetNS'
+       xmlns:sb='IdConstrDefs/targetNS'>
+    <xsd:include schemaLocation='targetNS00101m2.xsd'/>
+    <xsd:element name='stub' type='xsd:string'/>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/targetNS00101m2a.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema
+  xmlns="IdConstrDefs/targetNS"
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  targetNamespace="IdConstrDefs/targetNS">
+
+  <xsd:element name="roota">
+      <xsd:complexType>
+          <xsd:sequence maxOccurs="unbounded">
+              <xsd:element name="person"/>
+          </xsd:sequence>
+      </xsd:complexType>
+      <xsd:key name="KEY">
+          <xsd:selector xpath="./person"/>
+          <xsd:field xpath="."/>
+      </xsd:key>
+      <xsd:keyref name="KEYREF" refer="KEY">
+          <xsd:selector xpath="./person"/>
+          <xsd:field xpath="@parent"/>
+      </xsd:keyref>
+  </xsd:element>
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/byte_fractionDigits004.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,16 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test byte datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:byte">
+            <xsd:fractionDigits value="1"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/byte_fractionDigits007.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test byte datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:byte">
+            <xsd:fractionDigits value="5"/>
+            <xsd:totalDigits value="5"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/int_fractionDigits004.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,16 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test int datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:int">
+            <xsd:fractionDigits value="1"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/int_fractionDigits007.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test int datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:int">
+            <xsd:fractionDigits value="5"/>
+            <xsd:totalDigits value="5"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/integer_fractionDigits004.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,16 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test integer datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:integer">
+            <xsd:fractionDigits value="1"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/integer_fractionDigits007.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test integer datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:integer">
+            <xsd:fractionDigits value="5"/>
+            <xsd:totalDigits value="5"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/long_fractionDigits004.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,16 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test long datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:long">
+            <xsd:fractionDigits value="1"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/long_fractionDigits007.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test long datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:long">
+            <xsd:fractionDigits value="5"/>
+            <xsd:totalDigits value="5"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/negativeInteger_fractionDigits004.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,16 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test negativeInteger datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:negativeInteger">
+            <xsd:fractionDigits value="1"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/negativeInteger_fractionDigits007.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test negativeInteger datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:negativeInteger">
+            <xsd:fractionDigits value="5"/>
+            <xsd:totalDigits value="5"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/nonNegativeInteger_fractionDigits004.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,16 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test nonNegativeInteger datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:nonNegativeInteger">
+            <xsd:fractionDigits value="1"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/nonNegativeInteger_fractionDigits007.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test nonNegativeInteger datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:nonNegativeInteger">
+            <xsd:fractionDigits value="5"/>
+            <xsd:totalDigits value="5"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/nonPositiveInteger_fractionDigits004.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,16 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test nonPositiveInteger datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:nonPositiveInteger">
+            <xsd:fractionDigits value="1"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/nonPositiveInteger_fractionDigits007.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test nonPositiveInteger datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:nonPositiveInteger">
+            <xsd:fractionDigits value="5"/>
+            <xsd:totalDigits value="5"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/positiveInteger_fractionDigits004.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,16 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test positiveInteger datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:positiveInteger">
+            <xsd:fractionDigits value="1"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/positiveInteger_fractionDigits007.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test positiveInteger datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:positiveInteger">
+            <xsd:fractionDigits value="5"/>
+            <xsd:totalDigits value="5"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/short_fractionDigits004.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,16 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test short datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:short">
+            <xsd:fractionDigits value="1"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/short_fractionDigits007.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test short datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:short">
+            <xsd:fractionDigits value="5"/>
+            <xsd:totalDigits value="5"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/unsignedByte_fractionDigits004.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,16 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test unsignedByte datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:unsignedByte">
+            <xsd:fractionDigits value="1"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/unsignedByte_fractionDigits007.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test unsignedByte datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:unsignedByte">
+            <xsd:fractionDigits value="5"/>
+            <xsd:totalDigits value="5"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/unsignedInt_fractionDigits004.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,16 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test unsignedInt datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:unsignedInt">
+            <xsd:fractionDigits value="1"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/unsignedInt_fractionDigits007.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test unsignedInt datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:unsignedInt">
+            <xsd:fractionDigits value="5"/>
+            <xsd:totalDigits value="5"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/unsignedLong_fractionDigits004.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,16 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test unsignedLong datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:unsignedLong">
+            <xsd:fractionDigits value="1"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/unsignedLong_fractionDigits007.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test unsignedLong datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:unsignedLong">
+            <xsd:fractionDigits value="5"/>
+            <xsd:totalDigits value="5"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/unsignedShort_fractionDigits004.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,16 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test unsignedShort datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:unsignedShort">
+            <xsd:fractionDigits value="1"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252In/unsignedShort_fractionDigits007.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
+<!-- Schema to test unsignedShort datatype -->
+  <xsd:element name='test' type='fooType' />
+  <xsd:complexType name='fooType' > 
+    <xsd:sequence>
+      <xsd:element name='foo' >
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:unsignedShort">
+            <xsd:fractionDigits value="5"/>
+            <xsd:totalDigits value="5"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:complexType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,65 @@
+/*
+ * Copyright (c) 2014, 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 validation.tck;
+
+import java.io.File;
+
+import javax.xml.XMLConstants;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6943252
+ * @summary Test Schema doesn't allow to use value more than allowed by base type.
+ */
+public class Bug6943252Test {
+    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 test() {
+
+        String dir = Bug6943252Test.class.getResource("Bug6943252In").getPath();
+        File inputs = new File(dir);
+        File[] files = inputs.listFiles();
+        SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+        for (int i = 0; i < files.length; i++) {
+            try {
+                Schema schema = schemaFactory.newSchema(new StreamSource(files[i]));
+                Assert.fail(files[i].getName() + "should fail");
+            } catch (SAXException e) {
+                // expected
+                System.out.println(files[i].getName() + ":");
+                System.out.println(e.getMessage());
+            }
+        }
+
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6963124.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xsdtesting" xmlns:x="http://xsdtesting" elementFormDefault="qualified">
+	<xsd:group name="G">
+		<xsd:all>
+			<xsd:element name="a1"/>
+			<xsd:element name="a2"/>
+		</xsd:all>
+	</xsd:group>
+	<xsd:element name="doc">
+		<xsd:complexType>
+			<xsd:group ref="x:G" minOccurs="1" maxOccurs="2">
+			</xsd:group>
+		</xsd:complexType>
+	</xsd:element>
+</xsd:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6963124Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,57 @@
+/*
+ * Copyright (c) 2014, 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 validation.tck;
+
+import javax.xml.XMLConstants;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6963124
+ * @summary Test Schema doesn't allow maxOccurs > 1 for reference to all model group.
+ */
+public class Bug6963124Test {
+    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 test() {
+        try {
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+
+            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6963124Test.class.getResourceAsStream("Bug6963124.xsd")));
+            Assert.fail("JCK negative test");
+        } catch (SAXException e) {
+            // e.printStackTrace();
+            System.out
+                    .println("The XML Schema spec [1] states that if the {term} property of a particle is a model group with {compositor} all then {maxOccurs} of that particle must equal 1.");
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6963468.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,14 @@
+<x:root
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://xsdtesting Bug6963468.xsd"
+	xmlns:x="http://xsdtesting">
+
+	<x:E1>1</x:E1>
+	<x:E1>true</x:E1>
+	<x:E1>false</x:E1>
+	<x:E1>x</x:E1>
+	<x:E1>y</x:E1>
+	<x:E2>1</x:E2>
+	<x:E3 x:att1="123"/>
+</x:root>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6963468.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,51 @@
+<xsd:schema id="MyXSD" targetNamespace="http://xsdtesting" xmlns="http://xsdtesting" xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified">
+
+
+	    <xsd:element name="root">
+	      <xsd:complexType>
+		<xsd:choice maxOccurs="unbounded">
+		    <xsd:element ref="E1" minOccurs="0" maxOccurs="20"/>
+		    <xsd:element ref="E3" minOccurs="0" maxOccurs="20"/>
+		</xsd:choice>
+	      </xsd:complexType>
+	    </xsd:element>
+
+	    <xsd:simpleType name="myType9">
+		  <xsd:list itemType="myType10"/>
+	  </xsd:simpleType>
+
+	  <xsd:simpleType name="myType10">
+        	<xsd:union memberTypes="xsd:float xsd:integer">
+          		<xsd:simpleType>
+		            <xsd:restriction base='xsd:boolean'/>
+		        </xsd:simpleType>
+		        <xsd:simpleType>
+		            <xsd:restriction base='xsd:string'>
+		              <xsd:enumeration value='x'/>
+		              <xsd:enumeration value='y'/>
+		            </xsd:restriction>
+		        </xsd:simpleType>
+	        </xsd:union>
+	 </xsd:simpleType>
+
+	<xsd:simpleType name="DeriveUnion">
+	  <xsd:restriction base="myType10">
+	  </xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="CT1">
+	  <xsd:attribute name="att1" type="myType10"/>
+	</xsd:complexType>
+
+	<xsd:complexType name="CT2">
+	  <xsd:complexContent>
+	    <xsd:restriction base="CT1">
+		<xsd:attribute name="att1" type="xsd:integer"/>
+	    </xsd:restriction>
+	  </xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:element name="E1" type="myType10"/>
+	<xsd:element name="E2" substitutionGroup="E1" type="xsd:integer"/>
+	<xsd:element name="E3" type="CT2"/>
+</xsd:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6963468Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,144 @@
+/*
+ * Copyright (c) 2014, 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 validation.tck;
+
+import java.io.File;
+import java.io.IOException;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXNotRecognizedException;
+import org.xml.sax.SAXNotSupportedException;
+import org.xml.sax.SAXParseException;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 6963468
+ * @summary Test Validation allows element a is a union type and element b specifies a as its substitution group and b type is or is derived from one of the member types of the union.
+ */
+public class Bug6963468Test {
+    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 test() {
+        try {
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            schemaFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
+
+            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6963468Test.class.getResourceAsStream("Bug6963468.xsd")));
+
+            Validator validator = schema.newValidator();
+            validator.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
+            validator.setErrorHandler(new ErrorHandler() {
+                public void error(SAXParseException exception) throws SAXException {
+                    exception.printStackTrace();
+                }
+
+                public void fatalError(SAXParseException exception) throws SAXException {
+                    exception.printStackTrace();
+                }
+
+                public void warning(SAXParseException exception) throws SAXException {
+                    exception.printStackTrace();
+                }
+            });
+
+            validator.validate(new StreamSource(Bug6963468Test.class.getResourceAsStream("Bug6963468.xml")));
+
+        } catch (SAXException e) {
+            System.out.println(e.getMessage());
+            // fail(e.getMessage());
+
+        } catch (IOException e) {
+            e.printStackTrace();
+            System.out.println(e.getMessage());
+            // fail(e.getMessage());
+        }
+    }
+
+    @Test
+    public void testInstance() throws ParserConfigurationException, SAXException, IOException {
+        System.out.println(Bug6963468Test.class.getResource("Bug6963468.xsd").getPath());
+        File schemaFile = new File(Bug6963468Test.class.getResource("Bug6963468.xsd").getPath());
+        SAXParser parser = createParser(schemaFile);
+
+        try {
+            parser.parse(Bug6963468Test.class.getResource("Bug6963468.xml").getPath(), new DefaultHandler());
+        } catch (SAXException e) {
+            e.printStackTrace();
+            Assert.fail("Fatal Error: " + strException(e));
+        }
+
+    }
+
+    protected SAXParser createParser(File schema) throws ParserConfigurationException, SAXException {
+
+        // create and initialize the parser
+        SAXParserFactory spf = SAXParserFactory.newInstance();
+        spf.setNamespaceAware(true);
+        spf.setValidating(true);
+        SAXParser parser = spf.newSAXParser();
+        parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
+
+        // set schemaLocation if possible
+        try {
+            parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource", schema);
+        } catch (SAXNotRecognizedException e) {
+            System.out.println("Warning: Property 'http://java.sun.com/xml/jaxp/properties/schemaSource' is not recognized.");
+        } catch (SAXNotSupportedException e) {
+            System.out.println("Warning: Property 'http://java.sun.com/xml/jaxp/properties/schemaSource' is not supported.");
+        }
+
+        return parser;
+    }
+
+    protected static String strException(Exception ex) {
+        StringBuffer sb = new StringBuffer();
+
+        while (ex != null) {
+            if (ex instanceof SAXParseException) {
+                SAXParseException e = (SAXParseException) ex;
+                sb.append("" + e.getSystemId() + "(" + e.getLineNumber() + "," + e.getColumnNumber() + "): " + e.getMessage());
+                ex = e.getException();
+            } else {
+                sb.append(ex);
+                ex = null;
+            }
+        }
+        return sb.toString();
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6964720.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,53 @@
+<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="a" xmlns:a="a" xmlns:b="b">
+
+ <xs:element name="doc" type="a:derived"/>
+ <xs:complexType name="base">
+     <xs:sequence>
+	<xs:element name="sub" type="a:derived2"/>
+     </xs:sequence>
+     <xs:attributeGroup ref="a:attG-a1"/>
+ </xs:complexType>
+
+ <xs:complexType name="derived">
+    <xs:complexContent>
+	<xs:extension base="a:base">
+     <xs:sequence />
+     <xs:attributeGroup ref="a:attG-a2"/>
+	</xs:extension>
+    </xs:complexContent>
+ </xs:complexType>
+
+<xs:complexType name="base2">
+     <xs:sequence />
+     <xs:attributeGroup ref="a:attG1-54"/>
+ </xs:complexType>
+
+ <xs:complexType name="derived2">
+    <xs:complexContent>
+	<xs:extension base="a:base2">
+     <xs:sequence />
+     <xs:attributeGroup ref="a:attG2-54"/>
+	</xs:extension>
+    </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:attribute name="attA"/>
+ <xs:attributeGroup name="attG-a1">
+     <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="attG-a2">
+     <xs:anyAttribute namespace="##targetNamespace b c" processContents="lax"/>
+ </xs:attributeGroup>
+
+<xs:attributeGroup name="attG1-54">
+     <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="attG2-54">
+     <xs:anyAttribute namespace="##local b c" processContents="lax"/>
+ </xs:attributeGroup>
+
+</xs:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6964720Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,54 @@
+/*
+ * Copyright (c) 2014, 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 validation.tck;
+
+import javax.xml.XMLConstants;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6964720
+ * @summary Test Schema doesn't allow the inexpressible union of two attribute wildcards.
+ */
+public class Bug6964720Test {
+    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 test() {
+        try {
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6964720Test.class.getResourceAsStream("Bug6964720.xsd")));
+            Assert.fail("should produce an error message");
+        } catch (SAXException e) {
+            System.out.println(e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6967214/RegexTest_1258.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,15 @@
+<xs:schema  xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+  
+  <xs:element name='doc'>
+    <xs:complexType>
+      <xs:attribute name='value'>
+        <xs:simpleType>
+          <xs:restriction base='xs:string'>
+            <xs:pattern value='abc)'/>
+          </xs:restriction>
+        </xs:simpleType>
+      </xs:attribute>
+    </xs:complexType>
+  </xs:element>
+
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6967214/reD10.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+>
+
+<!-- 
+base='string', pattern='(a))', value='', type='error', RULE='2,3,4,5,6,7,8,9'
+-->
+
+<xsd:element name="doc">
+    <xsd:complexType>
+            <xsd:choice>
+                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
+            </xsd:choice>
+    </xsd:complexType>
+</xsd:element>
+
+<xsd:simpleType name="Regex">
+       <xsd:restriction base="xsd:string">
+           <xsd:pattern value="(a))"/>    
+       </xsd:restriction>
+</xsd:simpleType>
+
+
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6967214/reD11.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+>
+
+<!-- 
+base='string', pattern='ab|(d))', value='', type='error', RULE='2,3,4,5,6,7,8,9'
+-->
+
+<xsd:element name="doc">
+    <xsd:complexType>
+            <xsd:choice>
+                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
+            </xsd:choice>
+    </xsd:complexType>
+</xsd:element>
+
+<xsd:complexType name="Regex">
+   <xsd:attribute name="att">
+       <xsd:simpleType>
+           <xsd:restriction base="xsd:string">
+               <xsd:pattern value="ab|(d))"/>    
+           </xsd:restriction>
+       </xsd:simpleType>
+   </xsd:attribute>
+</xsd:complexType>
+
+
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6967214/reD12.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+>
+
+<!-- 
+base='string', pattern='((a*(b*)((a))*(a))))', value='', type='error', RULE='2,3,4,5,6,7,8,9'
+-->
+
+<xsd:element name="doc">
+    <xsd:complexType>
+            <xsd:choice>
+                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
+            </xsd:choice>
+    </xsd:complexType>
+</xsd:element>
+
+<xsd:simpleType name="Regex">
+       <xsd:restriction base="xsd:string">
+           <xsd:pattern value="((a*(b*)((a))*(a))))"/>    
+       </xsd:restriction>
+</xsd:simpleType>
+
+
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6967214/reE9.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+>
+
+<!-- 
+base='string', pattern=')', value='', type='error', RULE='10'
+-->
+
+<xsd:element name="doc">
+    <xsd:complexType>
+            <xsd:choice>
+                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
+            </xsd:choice>
+    </xsd:complexType>
+</xsd:element>
+
+<xsd:complexType name="Regex">
+   <xsd:attribute name="att">
+       <xsd:simpleType>
+           <xsd:restriction base="xsd:string">
+               <xsd:pattern value=")"/>    
+           </xsd:restriction>
+       </xsd:simpleType>
+   </xsd:attribute>
+</xsd:complexType>
+
+
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6967214Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,66 @@
+/*
+ * Copyright (c) 2014, 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 validation.tck;
+
+import java.io.File;
+
+import javax.xml.XMLConstants;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6967214
+ * @summary Test Schema doesn't allow unpaired parenthesises in regex.
+ */
+public class Bug6967214Test {
+    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 test() {
+        try {
+            File dir = new File(Bug6967214Test.class.getResource("Bug6967214").getPath());
+            File files[] = dir.listFiles();
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            for (int i = 0; i < files.length; i++) {
+                try {
+                    System.out.println(files[i].getName());
+                    Schema schema = schemaFactory.newSchema(new StreamSource(files[i]));
+                    Assert.fail("should report error");
+                } catch (org.xml.sax.SAXParseException spe) {
+                    continue;
+                }
+            }
+        } catch (SAXException e) {
+            e.printStackTrace();
+
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6970890.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,11 @@
+<xs:schema  xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+<xs:element name='doc'><xs:complexType><xs:attribute name='value'>
+  <xs:simpleType>
+    <xs:restriction base='xs:string'>
+      <xs:pattern value='a[-]?c'/>
+    </xs:restriction>
+  </xs:simpleType>
+</xs:attribute></xs:complexType>
+</xs:element>
+</xs:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6970890Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,68 @@
+/*
+ * Copyright (c) 2014, 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 validation.tck;
+
+import javax.xml.XMLConstants;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6970890
+ * @summary Test Schema allows [-] in regex.
+ */
+public class Bug6970890Test {
+    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 test_RegexTest_1319() {
+        try {
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6970890Test.class.getResourceAsStream("Bug6970890.xsd")));
+
+        } catch (SAXException e) {
+            e.printStackTrace();
+            Assert.fail("The - character is a valid character range at the beginning or end of a positive character group");
+        }
+    }
+
+    @Test
+    public void test_reH16() {
+        try {
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6970890Test.class.getResourceAsStream("Bug6970890_1.xsd")));
+
+        } catch (SAXException e) {
+            e.printStackTrace();
+            Assert.fail("The - character is a valid character range at the beginning or end of a positive character group");
+
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6970890_1.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+<!--
+base='string', pattern='[-]', value='-', type='valid', RULE='22'
+-->
+
+<xsd:element name="doc">
+    <xsd:complexType>
+            <xsd:choice>
+                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
+            </xsd:choice>
+    </xsd:complexType>
+</xsd:element>
+
+<xsd:simpleType name="Regex">
+       <xsd:restriction base="xsd:string">
+           <xsd:pattern value="[-]"/>
+       </xsd:restriction>
+</xsd:simpleType>
+
+
+</xsd:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6971190.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,210 @@
+<?xml version="1.0"?>
+<doc  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
+    xsi:noNamespaceSchemaLocation='Bug6971190.xsd' >
+
+<!--
+base='string', pattern='\d', value='#x1040;', type='valid', RULE='37'
+-->
+
+<value>&#x0030;</value>
+<value>&#x0031;</value>
+<value>&#x0032;</value>
+<value>&#x0033;</value>
+<value>&#x0034;</value>
+<value>&#x0035;</value>
+<value>&#x0036;</value>
+<value>&#x0037;</value>
+<value>&#x0038;</value>
+<value>&#x0039;</value>
+<value>&#x0660;</value>
+<value>&#x0661;</value>
+<value>&#x0662;</value>
+<value>&#x0663;</value>
+<value>&#x0664;</value>
+<value>&#x0665;</value>
+<value>&#x0666;</value>
+<value>&#x0667;</value>
+<value>&#x0668;</value>
+<value>&#x0669;</value>
+<value>&#x06F0;</value>
+<value>&#x06F1;</value>
+<value>&#x06F2;</value>
+<value>&#x06F3;</value>
+<value>&#x06F4;</value>
+<value>&#x06F5;</value>
+<value>&#x06F6;</value>
+<value>&#x06F7;</value>
+<value>&#x06F8;</value>
+<value>&#x06F9;</value>
+<value>&#x0966;</value>
+<value>&#x0967;</value>
+<value>&#x0968;</value>
+<value>&#x0969;</value>
+<value>&#x096A;</value>
+<value>&#x096B;</value>
+<value>&#x096C;</value>
+<value>&#x096D;</value>
+<value>&#x096E;</value>
+<value>&#x096F;</value>
+<value>&#x09E6;</value>
+<value>&#x09E7;</value>
+<value>&#x09E8;</value>
+<value>&#x09E9;</value>
+<value>&#x09EA;</value>
+<value>&#x09EB;</value>
+<value>&#x09EC;</value>
+<value>&#x09ED;</value>
+<value>&#x09EE;</value>
+<value>&#x09EF;</value>
+<value>&#x0A66;</value>
+<value>&#x0A67;</value>
+<value>&#x0A68;</value>
+<value>&#x0A69;</value>
+<value>&#x0A6A;</value>
+<value>&#x0A6B;</value>
+<value>&#x0A6C;</value>
+<value>&#x0A6D;</value>
+<value>&#x0A6E;</value>
+<value>&#x0A6F;</value>
+<value>&#x0AE6;</value>
+<value>&#x0AE7;</value>
+<value>&#x0AE8;</value>
+<value>&#x0AE9;</value>
+<value>&#x0AEA;</value>
+<value>&#x0AEB;</value>
+<value>&#x0AEC;</value>
+<value>&#x0AED;</value>
+<value>&#x0AEE;</value>
+<value>&#x0AEF;</value>
+<value>&#x0B66;</value>
+<value>&#x0B67;</value>
+<value>&#x0B68;</value>
+<value>&#x0B69;</value>
+<value>&#x0B6A;</value>
+<value>&#x0B6B;</value>
+<value>&#x0B6C;</value>
+<value>&#x0B6D;</value>
+<value>&#x0B6E;</value>
+<value>&#x0B6F;</value>
+<value>&#x0BE7;</value>
+<value>&#x0BE8;</value>
+<value>&#x0BE9;</value>
+<value>&#x0BEA;</value>
+<value>&#x0BEB;</value>
+<value>&#x0BEC;</value>
+<value>&#x0BED;</value>
+<value>&#x0BEE;</value>
+<value>&#x0BEF;</value>
+<value>&#x0C66;</value>
+<value>&#x0C67;</value>
+<value>&#x0C68;</value>
+<value>&#x0C69;</value>
+<value>&#x0C6A;</value>
+<value>&#x0C6B;</value>
+<value>&#x0C6C;</value>
+<value>&#x0C6D;</value>
+<value>&#x0C6E;</value>
+<value>&#x0C6F;</value>
+<value>&#x0CE6;</value>
+<value>&#x0CE7;</value>
+<value>&#x0CE8;</value>
+<value>&#x0CE9;</value>
+<value>&#x0CEA;</value>
+<value>&#x0CEB;</value>
+<value>&#x0CEC;</value>
+<value>&#x0CED;</value>
+<value>&#x0CEE;</value>
+<value>&#x0CEF;</value>
+<value>&#x0D66;</value>
+<value>&#x0D67;</value>
+<value>&#x0D68;</value>
+<value>&#x0D69;</value>
+<value>&#x0D6A;</value>
+<value>&#x0D6B;</value>
+<value>&#x0D6C;</value>
+<value>&#x0D6D;</value>
+<value>&#x0D6E;</value>
+<value>&#x0D6F;</value>
+<value>&#x0E50;</value>
+<value>&#x0E51;</value>
+<value>&#x0E52;</value>
+<value>&#x0E53;</value>
+<value>&#x0E54;</value>
+<value>&#x0E55;</value>
+<value>&#x0E56;</value>
+<value>&#x0E57;</value>
+<value>&#x0E58;</value>
+<value>&#x0E59;</value>
+<value>&#x0ED0;</value>
+<value>&#x0ED1;</value>
+<value>&#x0ED2;</value>
+<value>&#x0ED3;</value>
+<value>&#x0ED4;</value>
+<value>&#x0ED5;</value>
+<value>&#x0ED6;</value>
+<value>&#x0ED7;</value>
+<value>&#x0ED8;</value>
+<value>&#x0ED9;</value>
+<value>&#x0F20;</value>
+<value>&#x0F21;</value>
+<value>&#x0F22;</value>
+<value>&#x0F23;</value>
+<value>&#x0F24;</value>
+<value>&#x0F25;</value>
+<value>&#x0F26;</value>
+<value>&#x0F27;</value>
+<value>&#x0F28;</value>
+<value>&#x0F29;</value>
+<value>&#x1040;</value>
+<value>&#x1041;</value>
+<value>&#x1042;</value>
+<value>&#x1043;</value>
+<value>&#x1044;</value>
+<value>&#x1045;</value>
+<value>&#x1046;</value>
+<value>&#x1047;</value>
+<value>&#x1048;</value>
+<value>&#x1049;</value>
+<value>&#x1369;</value>
+<value>&#x136A;</value>
+<value>&#x136B;</value>
+<value>&#x136C;</value>
+<value>&#x136D;</value>
+<value>&#x136E;</value>
+<value>&#x136F;</value>
+<value>&#x1370;</value>
+<value>&#x1371;</value>
+<value>&#x17E0;</value>
+<value>&#x17E1;</value>
+<value>&#x17E2;</value>
+<value>&#x17E3;</value>
+<value>&#x17E4;</value>
+<value>&#x17E5;</value>
+<value>&#x17E6;</value>
+<value>&#x17E7;</value>
+<value>&#x17E8;</value>
+<value>&#x17E9;</value>
+<value>&#x1810;</value>
+<value>&#x1811;</value>
+<value>&#x1812;</value>
+<value>&#x1813;</value>
+<value>&#x1814;</value>
+<value>&#x1815;</value>
+<value>&#x1816;</value>
+<value>&#x1817;</value>
+<value>&#x1818;</value>
+<value>&#x1819;</value>
+<value>&#xFF10;</value>
+<value>&#xFF11;</value>
+<value>&#xFF12;</value>
+<value>&#xFF13;</value>
+<value>&#xFF14;</value>
+<value>&#xFF15;</value>
+<value>&#xFF16;</value>
+<value>&#xFF17;</value>
+<value>&#xFF18;</value>
+<value>&#xFF19;</value>
+
+<!--reS21--> <value>&#x1D7CE;</value>
+<!--reS42--> <value>&#x1D7FF;</value>
+ </doc>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6971190.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+<!--
+base='string', pattern='\d', value='#x1040;', type='valid', RULE='37'
+-->
+
+<xsd:element name="doc">
+    <xsd:complexType>
+            <xsd:choice>
+                <xsd:element name="value" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
+            </xsd:choice>
+    </xsd:complexType>
+</xsd:element>
+
+<xsd:simpleType name="Regex">
+       <xsd:restriction base="xsd:string">
+           <xsd:pattern value="\d"/>
+       </xsd:restriction>
+</xsd:simpleType>
+
+
+
+</xsd:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6971190Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,98 @@
+/*
+ * Copyright (c) 2014, 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 validation.tck;
+
+import java.io.IOException;
+
+import javax.xml.XMLConstants;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6971190
+ * @summary Test Validation accepts UTF lexical presentation.
+ */
+public class Bug6971190Test {
+    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 test() {
+        try {
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+
+            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6971190Test.class.getResourceAsStream("Bug6971190.xsd")));
+            Validator validator = schema.newValidator();
+            /**
+             * validator.setErrorHandler(new ErrorHandler() { public void
+             * error(SAXParseException exception) throws SAXException {
+             * exception.printStackTrace(); }
+             *
+             * public void fatalError(SAXParseException exception) throws
+             * SAXException { exception.printStackTrace(); }
+             *
+             * public void warning(SAXParseException exception) throws
+             * SAXException { exception.printStackTrace(); } });
+             */
+            validator.validate(new StreamSource(Bug6971190Test.class.getResourceAsStream("Bug6971190.xml")));
+
+        } catch (SAXException e) {
+            System.out.println(e.getMessage());
+            Assert.fail(e.getMessage());
+
+        } catch (IOException e) {
+            e.printStackTrace();
+            System.out.println(e.getMessage());
+            Assert.fail(e.getMessage());
+        }
+    }
+
+    // test \W negative tests with positibve \w
+    @Test
+    public void testNegative() {
+        try {
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+
+            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6971190Test.class.getResourceAsStream("Bug6971190_v.xsd")));
+            Validator validator = schema.newValidator();
+
+            validator.validate(new StreamSource(Bug6971190Test.class.getResourceAsStream("Bug6971190_v.xml")));
+
+        } catch (SAXException e) {
+            e.printStackTrace();
+            Assert.fail(e.getMessage());
+
+        } catch (IOException e) {
+            e.printStackTrace();
+            System.out.println(e.getMessage());
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6971190_v.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<doc  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
+    xsi:noNamespaceSchemaLocation='Bug6971190_v.xsd' >
+
+<!--
+negative tests
+-->
+
+<!--reV10--> <elem>&#x2B0;</elem>
+<!--reV11--> <elem>&#x2B0;</elem>
+<!--reV12--> <elem>&#xFF9F;</elem>
+<!--reV15--> <elem>&#x2FA1D;</elem>
+<!--reV16--> <!--elem>&#x64B;</elem  064b is ARABIC FATHATAN, not a letter according to Character.isLetter, the current range \u0641\u064a (Arabic letters) is correct-->
+<!--reV17--> <!-- elem>&#x1D1AD;</elem MUSICAL SYMBOL COMBINING SNAP PIZZICATO, is not a letter-->
+<!--reV18--> <!-- elem>&#x903;</elem  'DEVANAGARI SIGN VISARGA' , not a letter -->
+<!--reV19--> <!-- elem>&#x1D172;</elem 'MUSICAL SYMBOL COMBINING FLAG-5', not a letter -->
+<!--reV20--> <!-- elem>&#x903;</elem -->
+<!--reV21--> <!-- elem>&#x1D172;</elem -->
+<!--reV22 elem text--> <!-- elem>&#x20DD;</elem 'COMBINING ENCLOSING CIRCLE' , not a letter -->
+<!--reV23 attribute--> <!--elem>&#x20DD;</elem-->
+<!--reV24--> <!-- elem>&#x20E2;</elem 'COMBINING ENCLOSING SCREEN' , not a letter -->
+<!--reV26--> <elem>&#x1D7FF;</elem> <!-- 1D7FF 'MATHEMATICAL MONOSPACE DIGIT NINE', added to digit range -->
+<!--reV27--> <!-- elem>&#x1034A;</elem 'GOTHIC LETTER NINE HUNDRED', not a letter -->
+<!--reV28--> <!--elem>&#x1034A;</elem-->
+<!--reV30--> <!-- elem>&#xB2;</elem 'SUPERSCRIPT TWO', not a letter -->
+<!--reV31--> <!-- elem>&#xB2;</elem-->
+<!--reV32--> <!-- elem>&#x10323;</elem OLD ITALIC NUMERAL FIFTY, not a letter. In fact, none of the OLD ITALIC NUMERALs are considered letter -->
+<!--reV33--> <!-- elem>&#x2044;</elem 'FRACTION SLASH' , not a letter -->
+<!--reV34--> <!-- elem>&#xFFE2;</elem 'FULLWIDTH NOT SIGN', not a letter -->
+<!--reV35--> <!-- elem>&#x20A0;</elem 'EURO-CURRENCY SIGN', not a letter -->
+<!--reV36--> <!-- elem>&#x20A0;</elem -->
+<!--reV37--> <!-- elem>&#xFFE6;</elem 'FULLWIDTH WON SIGN' , not a letter -->
+<!--reV38--> <!-- elem>&#x309B;</elem 'KATAKANA-HIRAGANA VOICED SOUND MARK', not a letter -->
+<!--reV39--> <!-- elem>&#x309B;</elem -->
+<!--reV40--> <!-- elem>&#xFFE3;</elem 'FULLWIDTH MACRON', not a letter -->
+<!--reV41--> <!-- elem>&#x3190;</elem 'IDEOGRAPHIC ANNOTATION LINKING MARK', not a letter -->
+<!--reV42--> <!-- elem>&#x3190;</elem-->
+<!--reV43--> <!-- elem>&#x1D1DD;</elem 'MUSICAL SYMBOL PES SUBPUNCTIS', not a letter -->
+<!--reV3--> <elem>&#x1D7A8;</elem>
+<!--reV6--> <elem>&#x1D7C9;</elem>
+<!--reV7--> <elem>&#x1C5;</elem>
+<!--reV8--> <elem>&#x1C5;</elem>
+
+ </doc>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6971190_v.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+<!--
+base='string', pattern='\d', value='#x1040;', type='valid', RULE='37'
+-->
+
+<xsd:element name="doc">
+    <xsd:complexType>
+            <xsd:choice>
+                <xsd:element name="elem" type="RegexW" minOccurs="1" maxOccurs="unbounded"/>
+            </xsd:choice>
+    </xsd:complexType>
+</xsd:element>
+
+<xsd:simpleType name="Regex">
+       <xsd:restriction base="xsd:string">
+           <xsd:pattern value="\d"/>
+       </xsd:restriction>
+</xsd:simpleType>
+
+<xsd:simpleType name="RegexW">
+       <xsd:restriction base="xsd:string">
+           <xsd:pattern value="\w"/>
+       </xsd:restriction>
+</xsd:simpleType>
+
+
+</xsd:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6974551.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Bug6974551.xsd">
+	<fooTest>
+    test
+
+
+
+    information
+	</fooTest>
+</root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6974551.xsd	Mon Aug 17 11:18:31 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/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6974551Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,118 @@
+/*
+ * Copyright (c) 2014, 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 validation.tck;
+
+import java.io.IOException;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 6974551
+ * @summary Test Validation for SAXParser can expose whitespace facet for xs:anySimpleType.
+ */
+public class Bug6974551Test {
+    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";
+
+    static String _xml = Bug6974551Test.class.getResource("Bug6974551.xml").getPath();
+    static String _xsd = Bug6974551Test.class.getResource("Bug6974551.xsd").getPath();
+
+    @Test
+    public void testSAX() {
+        try {
+            Schema schema = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI).newSchema(new StreamSource(_xsd));
+            SAXParserFactory spf = SAXParserFactory.newInstance();
+            spf.setNamespaceAware(true);
+            spf.setValidating(true);
+            spf.setSchema(schema);
+            SAXParser parser = spf.newSAXParser();
+            MyErrorHandler errorHandler = new MyErrorHandler();
+            parser.parse(_xml, errorHandler);
+            if (!errorHandler.errorOccured) {
+                Assert.fail("should report error");
+            }
+        } catch (Exception e) {
+            System.out.println(e.getMessage());
+        }
+    }
+
+    @Test
+    public void testValidationAPI() {
+        try {
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+
+            Schema schema = schemaFactory.newSchema(new StreamSource(_xsd));
+            Validator validator = schema.newValidator();
+            validator.validate(new StreamSource(_xml));
+
+            Assert.fail("should report error");
+        } catch (SAXException e) {
+            // expected, pass
+            System.out.println(e.getMessage());
+        } catch (IOException e) {
+            Assert.fail(e.getMessage());
+            System.out.println(e.getMessage());
+        }
+    }
+
+    class MyErrorHandler extends DefaultHandler {
+
+        public boolean errorOccured = false;
+
+        public void error(SAXParseException e) throws SAXException {
+
+            System.err.println("Error: " + "[[" + e.getPublicId() + "]" + "[" + e.getSystemId() + "]]" + "[[" + e.getLineNumber() + "]" + "["
+                    + e.getColumnNumber() + "]] " + e);
+
+            errorOccured = true;
+        }
+
+        public void fatalError(SAXParseException e) throws SAXException {
+
+            System.err.println("Fatal Error: " + e);
+
+            errorOccured = true;
+        }
+
+        public void warning(SAXParseException e) throws SAXException {
+
+            System.err.println("Warning: " + e);
+
+            errorOccured = true;
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6975265/notatF025.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+	<xsd:simpleType name="foo">
+		<xsd:restriction base="xsd:string">
+			<xsd:enumeration value="1 2">
+				<xsd:notation name="jpeg" public="image/jpeg" system="viewer.exe"/>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6975265/notatF037.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+	<xsd:element name="foo">
+		<xsd:key name="bar">
+			<xsd:notation name="jpeg" public="image/jpeg" system="viewer.exe"/>
+			<xsd:selector xpath="//"/>
+			<xsd:field/>
+		</xsd:key>
+	</xsd:element>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6975265/notatF041.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+	<xsd:simpleType name="foo">
+		<xsd:restriction base="xsd:string">
+			<xsd:length value="8">
+				<xsd:notation name="jpeg" public="image/jpeg" system="viewer.exe"/>
+			</xsd:length>
+		</xsd:restriction>
+	</xsd:simpleType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6975265/notatF045.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+	<xsd:simpleType name="foo">
+		<xsd:restriction base="xsd:integer">
+			<xsd:maxInclusive value="0">
+				<xsd:notation name="jpeg" public="image/jpeg" system="viewer.exe"/>
+			</xsd:maxInclusive>
+		</xsd:restriction>
+	</xsd:simpleType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6975265/notatF049.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+	<xsd:simpleType name="foo">
+		<xsd:restriction base="xsd:integer">
+			<xsd:minInclusive value="0">
+				<xsd:notation name="jpeg" public="image/jpeg" system="viewer.exe"/>
+			</xsd:minInclusive>
+		</xsd:restriction>
+	</xsd:simpleType>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6975265Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,67 @@
+/*
+ * Copyright (c) 2014, 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 validation.tck;
+
+import java.io.File;
+
+import javax.xml.XMLConstants;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 6975265
+ * @summary Test Schema doesn't allow some Element Information Items contain other element information item.
+ */
+public class Bug6975265Test {
+    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 test() {
+        try {
+            File dir = new File(Bug6975265Test.class.getResource("Bug6975265").getPath());
+            File files[] = dir.listFiles();
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            for (int i = 0; i < files.length; i++) {
+                try {
+                    System.out.println(files[i].getName());
+                    Schema schema = schemaFactory.newSchema(new StreamSource(files[i]));
+                    Assert.fail("should report error");
+                } catch (org.xml.sax.SAXParseException spe) {
+                    System.out.println(spe.getMessage());
+                    continue;
+                }
+            }
+        } catch (SAXException e) {
+            e.printStackTrace();
+
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA2.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<doc  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
+    xsi:noNamespaceSchemaLocation='reA2.xsd' >
+
+<!-- 
+base='string', pattern='', value='a', type='invalid', RULE='1'
+-->
+
+     <elem>a</elem>
+
+ </doc>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA2.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+>
+
+<!-- 
+base='string', pattern='', value='a', type='invalid', RULE='1'
+-->
+
+<xsd:element name="doc">
+    <xsd:complexType>
+            <xsd:choice>
+                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
+            </xsd:choice>
+    </xsd:complexType>
+</xsd:element>
+
+<xsd:simpleType name="Regex">
+       <xsd:restriction base="xsd:string">
+           <xsd:pattern value=""/>
+       </xsd:restriction>
+</xsd:simpleType>
+
+
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA3.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<doc  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
+    xsi:noNamespaceSchemaLocation='reA3.xsd' >
+
+<!-- 
+base='string', pattern='', value='#x20;', type='invalid', RULE='1'
+-->
+
+      <elem att='#x20;'/>
+
+ </doc>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA3.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+>
+
+<!-- 
+base='string', pattern='', value='#x20;', type='invalid', RULE='1'
+-->
+
+<xsd:element name="doc">
+    <xsd:complexType>
+            <xsd:choice>
+                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
+            </xsd:choice>
+    </xsd:complexType>
+</xsd:element>
+
+<xsd:complexType name="Regex">
+   <xsd:attribute name="att">
+       <xsd:simpleType>
+           <xsd:restriction base="xsd:string">
+               <xsd:pattern value=""/>    
+           </xsd:restriction>
+       </xsd:simpleType>
+   </xsd:attribute>
+</xsd:complexType>
+
+
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA4.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<doc  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
+    xsi:noNamespaceSchemaLocation='reA4.xsd' >
+
+<!-- 
+base='string', pattern='', value='#xD;', type='invalid', RULE='1'
+-->
+
+     <elem>#xD;</elem>
+
+ </doc>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA4.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+>
+
+<!-- 
+base='string', pattern='', value='#xD;', type='invalid', RULE='1'
+-->
+
+<xsd:element name="doc">
+    <xsd:complexType>
+            <xsd:choice>
+                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
+            </xsd:choice>
+    </xsd:complexType>
+</xsd:element>
+
+<xsd:simpleType name="Regex">
+       <xsd:restriction base="xsd:string">
+           <xsd:pattern value=""/>    
+       </xsd:restriction>
+</xsd:simpleType>
+
+
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA5.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<doc  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
+    xsi:noNamespaceSchemaLocation='reA5.xsd' >
+
+<!-- 
+base='string', pattern='', value='#x9;', type='invalid', RULE='1'
+-->
+
+      <elem att='#x9;'/>
+
+ </doc>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA5.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+>
+
+<!-- 
+base='string', pattern='', value='#x9;', type='invalid', RULE='1'
+-->
+
+<xsd:element name="doc">
+    <xsd:complexType>
+            <xsd:choice>
+                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
+            </xsd:choice>
+    </xsd:complexType>
+</xsd:element>
+
+<xsd:complexType name="Regex">
+   <xsd:attribute name="att">
+       <xsd:simpleType>
+           <xsd:restriction base="xsd:string">
+               <xsd:pattern value=""/>    
+           </xsd:restriction>
+       </xsd:simpleType>
+   </xsd:attribute>
+</xsd:complexType>
+
+
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA6.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<doc  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
+    xsi:noNamespaceSchemaLocation='reA6.xsd' >
+
+<!-- 
+base='string', pattern='', value='#xA;', type='invalid', RULE='1'
+-->
+
+     <elem>#xA;</elem>
+
+ </doc>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6977201/reA6.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+>
+
+<!-- 
+base='string', pattern='', value='#xA;', type='invalid', RULE='1'
+-->
+
+<xsd:element name="doc">
+    <xsd:complexType>
+            <xsd:choice>
+                <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
+            </xsd:choice>
+    </xsd:complexType>
+</xsd:element>
+
+<xsd:simpleType name="Regex">
+       <xsd:restriction base="xsd:string">
+           <xsd:pattern value=""/>    
+       </xsd:restriction>
+</xsd:simpleType>
+
+
+
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6977201Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,67 @@
+/*
+ * Copyright (c) 2014, 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 validation.tck;
+
+import javax.xml.XMLConstants;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6977201
+ * @summary Test Validator interprets regex "" correctly.
+ */
+public class Bug6977201Test {
+    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";
+
+    SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+
+    @Test
+    public void test() {
+        validate(Bug6977201Test.class.getResource("Bug6977201/reA2.xsd").getPath(), Bug6977201Test.class.getResource("Bug6977201/reA2.xml").getPath());
+        validate(Bug6977201Test.class.getResource("Bug6977201/reA3.xsd").getPath(), Bug6977201Test.class.getResource("Bug6977201/reA3.xml").getPath());
+        validate(Bug6977201Test.class.getResource("Bug6977201/reA4.xsd").getPath(), Bug6977201Test.class.getResource("Bug6977201/reA4.xml").getPath());
+        validate(Bug6977201Test.class.getResource("Bug6977201/reA5.xsd").getPath(), Bug6977201Test.class.getResource("Bug6977201/reA5.xml").getPath());
+        validate(Bug6977201Test.class.getResource("Bug6977201/reA6.xsd").getPath(), Bug6977201Test.class.getResource("Bug6977201/reA6.xml").getPath());
+    }
+
+    // JCK negative test
+    public void validate(String xsd, String xml) {
+        try {
+            Schema schema = schemaFactory.newSchema(new StreamSource(xsd));
+            Validator validator = schema.newValidator();
+            validator.validate(new StreamSource(xml));
+            Assert.fail("should report error");
+        } catch (Exception e) {
+            System.out.println(e.getMessage());
+            // e.printStackTrace();
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6989956.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,5 @@
+<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Bug6989956.xsd">
+  <c>1</c>
+  <c>x</c>
+  <c>y</c>
+</root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6989956.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+  <xsd:simpleType name="u1">
+        <xsd:union>
+          <xsd:simpleType>
+            <xsd:restriction base='xsd:nonNegativeInteger'/>
+          </xsd:simpleType>
+          <xsd:simpleType>
+            <xsd:restriction base='xsd:string'>
+              <xsd:enumeration value='x'/>
+              <xsd:enumeration value='y'/>
+            </xsd:restriction>
+          </xsd:simpleType>
+        </xsd:union>
+  </xsd:simpleType>
+
+  <xsd:simpleType name="u3">
+	<xsd:restriction base="u1">
+              <xsd:enumeration value='x'/>
+              <xsd:enumeration value='y'/>
+              <xsd:enumeration value='1'/>
+	</xsd:restriction>
+  </xsd:simpleType>
+  <xsd:element name="root">
+    <xsd:complexType>
+	<xsd:choice maxOccurs="40">
+		<xsd:element name="c" type="u3" minOccurs="0" maxOccurs="100"/>
+	</xsd:choice>
+    </xsd:complexType>
+  </xsd:element>
+
+
+
+</xsd:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug6989956Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,144 @@
+/*
+ * Copyright (c) 2014, 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 validation.tck;
+
+import java.io.File;
+import java.io.IOException;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+import javax.xml.validation.Validator;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXNotRecognizedException;
+import org.xml.sax.SAXNotSupportedException;
+import org.xml.sax.SAXParseException;
+import org.xml.sax.helpers.DefaultHandler;
+
+/*
+ * @bug 6989956
+ * @summary Test Validation can process correctly that maxOccurs in Choice less than maxOccurs in Elements contained in the Choice.
+ */
+public class Bug6989956Test {
+    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 test() {
+        try {
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            schemaFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
+
+            Schema schema = schemaFactory.newSchema(new StreamSource(Bug6989956Test.class.getResourceAsStream("Bug6989956.xsd")));
+
+            Validator validator = schema.newValidator();
+            validator.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
+            validator.setErrorHandler(new ErrorHandler() {
+                public void error(SAXParseException exception) throws SAXException {
+                    exception.printStackTrace();
+                }
+
+                public void fatalError(SAXParseException exception) throws SAXException {
+                    exception.printStackTrace();
+                }
+
+                public void warning(SAXParseException exception) throws SAXException {
+                    exception.printStackTrace();
+                }
+            });
+
+            validator.validate(new StreamSource(Bug6989956Test.class.getResourceAsStream("Bug6989956.xml")));
+
+        } catch (SAXException e) {
+            System.out.println(e.getMessage());
+            // fail(e.getMessage());
+
+        } catch (IOException e) {
+            e.printStackTrace();
+            System.out.println(e.getMessage());
+            // fail(e.getMessage());
+        }
+    }
+
+    @Test
+    public void testInstance() throws ParserConfigurationException, SAXException, IOException {
+        System.out.println(Bug6989956Test.class.getResource("Bug6989956.xsd").getPath());
+        File schemaFile = new File(Bug6989956Test.class.getResource("Bug6989956.xsd").getPath());
+        SAXParser parser = createParser(schemaFile);
+
+        try {
+            parser.parse(Bug6989956Test.class.getResource("Bug6989956.xml").getPath(), new DefaultHandler());
+        } catch (SAXException e) {
+            e.printStackTrace();
+            Assert.fail("Fatal Error: " + strException(e));
+        }
+
+    }
+
+    protected SAXParser createParser(File schema) throws ParserConfigurationException, SAXException {
+
+        // create and initialize the parser
+        SAXParserFactory spf = SAXParserFactory.newInstance();
+        spf.setNamespaceAware(true);
+        spf.setValidating(true);
+        SAXParser parser = spf.newSAXParser();
+        parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
+
+        // set schemaLocation if possible
+        try {
+            parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource", schema);
+        } catch (SAXNotRecognizedException e) {
+            System.out.println("Warning: Property 'http://java.sun.com/xml/jaxp/properties/schemaSource' is not recognized.");
+        } catch (SAXNotSupportedException e) {
+            System.out.println("Warning: Property 'http://java.sun.com/xml/jaxp/properties/schemaSource' is not supported.");
+        }
+
+        return parser;
+    }
+
+    protected static String strException(Exception ex) {
+        StringBuffer sb = new StringBuffer();
+
+        while (ex != null) {
+            if (ex instanceof SAXParseException) {
+                SAXParseException e = (SAXParseException) ex;
+                sb.append("" + e.getSystemId() + "(" + e.getLineNumber() + "," + e.getColumnNumber() + "): " + e.getMessage());
+                ex = e.getException();
+            } else {
+                sb.append(ex);
+                ex = null;
+            }
+        }
+        return sb.toString();
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug7014246.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,13 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" >
+<xs:simpleType name="base">
+	<xs:restriction base="xs:time">
+		<xs:maxInclusive value="12:00:00-10:00"/>
+	</xs:restriction>
+</xs:simpleType>
+<xs:simpleType name="derived">
+	<xs:restriction base="base">
+		<xs:maxInclusive value="12:00:00-14:00"/>
+	</xs:restriction>
+</xs:simpleType>
+</xs:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug7014246Test.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,55 @@
+/*
+ * Copyright (c) 2014, 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 validation.tck;
+
+import javax.xml.XMLConstants;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.validation.Schema;
+import javax.xml.validation.SchemaFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.SAXException;
+
+/*
+ * @bug 7014246
+ * @summary Test Schema doesn't allow maxInclusive of derived time type greater than the base.
+ */
+public class Bug7014246Test {
+    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 test() {
+        try {
+            SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
+            Schema schema = schemaFactory.newSchema(new StreamSource(Bug7014246Test.class.getResourceAsStream("Bug7014246.xsd")));
+            Assert.fail("STATUS:Failed.The negative testcase unexpectedly passed.");
+        } catch (SAXException e) {
+            e.printStackTrace();
+
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/test-element.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
+    <xsd:element name="CREMAS04">
+    <xsd:complexType>
+        <xsd:sequence>
+            <xsd:element name="E1LFA1H" minOccurs="0" maxOccurs="9999">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="MSGFN" minOccurs="0">
+                            <xsd:simpleType>
+                                <xsd:restriction base="xsd:string">
+                                    <xsd:maxLength value="3"/>
+                                </xsd:restriction>
+                            </xsd:simpleType>
+                        </xsd:element>
+                        <xsd:element name="MSGFN2" minOccurs="0">
+                            <xsd:simpleType>
+                                <xsd:restriction base="xsd:string">
+                                    <xsd:maxLength value="3"/>
+                                </xsd:restriction>
+                            </xsd:simpleType>
+                        </xsd:element>
+                    </xsd:sequence>
+                </xsd:complexType>
+            </xsd:element>
+        </xsd:sequence>
+    </xsd:complexType>
+    </xsd:element>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/test-sequence.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
+    <xsd:element name="CREMAS04">
+    <xsd:complexType>
+        <xsd:sequence maxOccurs="10000">
+            <xsd:element name="E1LFA1H" minOccurs="0" maxOccurs="9999">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="MSGFN" minOccurs="0">
+                            <xsd:simpleType>
+                                <xsd:restriction base="xsd:string">
+                                    <xsd:maxLength value="3"/>
+                                </xsd:restriction>
+                            </xsd:simpleType>
+                        </xsd:element>
+                        <xsd:element name="MSGFN2" minOccurs="0">
+                            <xsd:simpleType>
+                                <xsd:restriction base="xsd:string">
+                                    <xsd:maxLength value="3"/>
+                                </xsd:restriction>
+                            </xsd:simpleType>
+                        </xsd:element>
+                    </xsd:sequence>
+                </xsd:complexType>
+            </xsd:element>
+        </xsd:sequence>
+    </xsd:complexType>
+    </xsd:element>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/test.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,6 @@
+<?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" type="xsd:string"/>
+</xsd:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/toys.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Document   : toys.xml
+    Created on : August 11, 2003, 6:42 PM
+    Author     : Prasad Subramanian
+    Description:
+-->
+
+<toys>
+    <toy>
+        <name>Lego-Model01</name>
+        <price>65.99</price>
+    </toy>
+    <toy>
+        <name>Lego-Model2</name>
+        <price>69.99</price>
+    </toy>
+    <toy>
+        <name>Lego-Model3</name>
+        <price>14.99</price>
+    </toy>
+    <toy>
+        <name>Barbie-Pink</name>
+        <price>12.99</price>
+    </toy>
+    <toy>
+        <name>Barbie-Blue</name>
+        <price>13.99</price>
+    </toy>        
+    <toy>
+        <name>Barbie-White</name>
+        <price>13.99</price>
+    </toy>   
+    <toy>
+        <name>Barbie-Plain</name>
+        <price>13.99</price>
+    </toy>           
+</toys>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/toys.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+  <xs:element name="toys">
+     <xs:complexType>
+       <xs:sequence>
+         <xs:element name="toy" maxOccurs="7">
+           <xs:complexType>
+             <xs:sequence>
+               <xs:element name="name" type="xs:string" minOccurs="0"/>
+               <xs:element name="price" type="xs:string" minOccurs="0"/>
+             </xs:sequence>
+          </xs:complexType>  
+        </xs:element>
+      </xs:sequence>
+    </xs:complexType>  
+  </xs:element>
+</xs:schema>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/types.xsd	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<xs:schema version="1.0" targetNamespace="http://server.type_substitution.fromjava/" xmlns:tns="http://server.type_substitution.fromjava/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+  <xs:element name="getSedans" type="tns:getSedans"/>
+
+  <xs:element name="getSedansResponse" type="tns:getSedansResponse"/>
+
+  <xs:complexType name="toyota">
+    <xs:complexContent>
+      <xs:extension base="tns:car">
+        <xs:sequence>
+          <xs:element name="color" type="xs:string" minOccurs="0"/>
+        </xs:sequence>
+      </xs:extension>
+    </xs:complexContent>
+  </xs:complexType>
+
+  <xs:complexType name="car" abstract="true">
+    <xs:sequence>
+      <xs:element name="make" type="xs:string" minOccurs="0"/>
+      <xs:element name="model" type="xs:string" minOccurs="0"/>
+      <xs:element name="year" type="xs:string" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="getSedans"/>
+
+  <xs:complexType name="getSedansResponse">
+    <xs:sequence>
+      <xs:element name="return" type="tns:car" maxOccurs="unbounded" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+</xs:schema>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/xpath/Bug4991857.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,88 @@
+/*
+ * 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 xpath;
+
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathConstants;
+import javax.xml.xpath.XPathExpressionException;
+import javax.xml.xpath.XPathFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+
+
+/*
+ * @bug 4991857
+ * @summary XPath.evaluate(...) throws XPathExpressionException when context is null and expression refers to the context.
+ */
+public class Bug4991857 {
+
+    Document d = null;
+
+    XPathFactory xpathFactory = XPathFactory.newInstance();
+
+    @Test
+    public void testXPath09() throws Exception {
+        try {
+            XPath xpath = xpathFactory.newXPath();
+            Assert.assertNotNull(xpath);
+
+            Double result = (Double) xpath.evaluate("1+2", d, XPathConstants.NUMBER);
+        } catch (XPathExpressionException unused) {
+            Assert.fail("Unexpected XPathExpressionException thrown");
+        }
+    }
+
+    @Test
+    public void testXPath10() throws Exception {
+        try {
+            XPath xpath = xpathFactory.newXPath();
+            Assert.assertNotNull(xpath);
+
+            xpath.evaluate(".", d, XPathConstants.STRING);
+            Assert.fail("XPathExpressionException not thrown");
+        } catch (XPathExpressionException e) {
+            // Expected exception as context node is null
+        }
+    }
+
+    @Test
+    public void testXPath11() throws Exception {
+        try {
+            Document d = null;
+
+            XPathFactory xpathFactory = XPathFactory.newInstance();
+            Assert.assertNotNull(xpathFactory);
+
+            XPath xpath = xpathFactory.newXPath();
+            Assert.assertNotNull(xpath);
+
+            String quantity = (String) xpath.evaluate("/widgets/widget[@name='a']/@quantity", d, XPathConstants.STRING);
+            Assert.fail("XPathExpressionException not thrown");
+        } catch (XPathExpressionException e) {
+            // Expected exception as context node is null
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/xpath/Bug4991939.java	Mon Aug 17 11:18:31 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 xpath;
+
+import javax.xml.XMLConstants;
+import javax.xml.namespace.QName;
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 4991939
+ * @summary XPath.evaluate(...) throws IllegalArgumentException if returnType is not one of the types defined in XPathConstants.
+ */
+public class Bug4991939 {
+
+    @Test
+    public void testXPath13() throws Exception {
+        QName qname = new QName(XMLConstants.XML_NS_URI, "");
+
+        XPathFactory xpathFactory = XPathFactory.newInstance();
+        Assert.assertNotNull(xpathFactory);
+
+        XPath xpath = xpathFactory.newXPath();
+        Assert.assertNotNull(xpath);
+
+        try {
+            xpath.evaluate("1+1", (Object) null, qname);
+            Assert.fail("failed , expected IAE not thrown");
+        } catch (IllegalArgumentException e) {
+            ; // as expected
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/xpath/Bug4992788.java	Mon Aug 17 11:18:31 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 xpath;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathConstants;
+import javax.xml.xpath.XPathFactory;
+import javax.xml.xpath.XPathFactoryConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+
+/*
+ * @bug 4992788
+ * @summary Test XPath.evaluate(expression,source,returnType) throws NPE if source is null.
+ */
+public class Bug4992788 {
+
+    private static String expression = "/widgets/widget[@name='a']/@quantity";
+
+    // test for XPath.evaluate(java.lang.String expression, InputSource source)
+    // - default returnType is String
+    // source is null , should throw NPE
+    @Test
+    public void testXPath23() throws Exception {
+        try {
+            createXPath().evaluate(expression, (InputSource) null);
+            Assert.fail();
+        } catch (NullPointerException e) {
+            ; // as expected
+        }
+    }
+
+    // test for XPath.evaluate(java.lang.String expression, InputSource source,
+    // QName returnType)
+    // source is null , should throw NPE
+    @Test
+    public void testXPath28() throws Exception {
+        try {
+            createXPath().evaluate(expression, (InputSource) null, XPathConstants.STRING);
+            Assert.fail();
+        } catch (NullPointerException e) {
+            ; // as expected
+        }
+    }
+
+    private XPath createXPath() throws XPathFactoryConfigurationException {
+        XPathFactory xpathFactory = XPathFactory.newInstance();
+        Assert.assertNotNull(xpathFactory);
+        XPath xpath = xpathFactory.newXPath();
+        Assert.assertNotNull(xpath);
+        return xpath;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/xpath/Bug4992793.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,79 @@
+/*
+ * 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 xpath;
+
+import java.io.StringReader;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathConstants;
+import javax.xml.xpath.XPathFactory;
+import javax.xml.xpath.XPathFactoryConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+
+/*
+ * @bug 4992793
+ * @summary Test XPath.evaluate(expression,source,returnType) throws NPE if expression is null.
+ */
+public class Bug4992793 {
+
+
+    // test for XPath.evaluate(java.lang.String expression, InputSource source)
+    // - default returnType is String
+    // source is null , should throw NPE
+    @Test
+    public void testXPath24() throws Exception {
+        try {
+            createXPath().evaluate(null, new InputSource(new StringReader("<root/>")));
+            Assert.fail();
+        } catch (NullPointerException e) {
+            ; // as expected
+        }
+    }
+
+    // test for XPath.evaluate(java.lang.String expression, InputSource source,
+    // QName returnType)
+    // source is null , should throw NPE
+    @Test
+    public void testXPath29() throws Exception {
+        try {
+            createXPath().evaluate(null, new InputSource(new StringReader("<root/>")), XPathConstants.STRING);
+            Assert.fail();
+        } catch (NullPointerException e) {
+            ; // as expected
+        }
+    }
+
+    private XPath createXPath() throws XPathFactoryConfigurationException {
+        XPathFactory xpathFactory = XPathFactory.newInstance();
+        Assert.assertNotNull(xpathFactory);
+        XPath xpath = xpathFactory.newXPath();
+        Assert.assertNotNull(xpath);
+        return xpath;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/xpath/Bug4992805.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,66 @@
+/*
+ * 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 xpath;
+
+import java.io.StringReader;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathFactory;
+import javax.xml.xpath.XPathFactoryConfigurationException;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.xml.sax.InputSource;
+
+/*
+ * @bug 4992805
+ * @summary Test XPath.evaluate(expression,source,returnType) throws NPE if returnType is null.
+ */
+public class Bug4992805 {
+
+    private static String expression = "/widgets/widget[@name='a']/@quantity";
+
+    // test for XPath.evaluate(java.lang.String expression, InputSource source,
+    // QName returnType)
+    // source is null , should throw NPE
+    @Test
+    public void testXPath30() throws Exception {
+        try {
+            createXPath().evaluate(expression, new InputSource(new StringReader("<root/>")), null);
+            Assert.fail();
+        } catch (NullPointerException e) {
+            ; // as expected
+        }
+    }
+
+    private XPath createXPath() throws XPathFactoryConfigurationException {
+        XPathFactory xpathFactory = XPathFactory.newInstance();
+        Assert.assertNotNull(xpathFactory);
+        XPath xpath = xpathFactory.newXPath();
+        Assert.assertNotNull(xpath);
+        return xpath;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/xpath/ClassLoaderTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,48 @@
+/*
+ * 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 xpath;
+
+import javax.xml.xpath.XPathFactory;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6354969
+ * @summary Test XPathFactory newInstance() with ContextClassLoader.
+ */
+public class ClassLoaderTest {
+
+    @Test
+    public void testClassLoader() {
+        MyClassLoader cl = new MyClassLoader();
+        Thread.currentThread().setContextClassLoader(cl);
+        XPathFactory xPathFactory = XPathFactory.newInstance();
+
+        if (!cl.isCalled()) {
+            Assert.fail("Context class loader should be used.");
+        }
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/xpath/MyClassLoader.java	Mon Aug 17 11:18:31 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 xpath;
+
+import java.io.IOException;
+import java.net.URL;
+import java.util.Enumeration;
+
+public class MyClassLoader extends ClassLoader {
+    boolean isCalled = false;
+
+    public URL getResource(String name) {
+        isCalled = true;
+        return super.getResource(name);
+    }
+
+    public Enumeration getResources(String name) throws IOException {
+        isCalled = true;
+        return super.getResources(name);
+    }
+
+    public void reset() {
+        isCalled = false;
+    }
+
+    public boolean isCalled() {
+        return isCalled;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/xpath/SecureProcessingTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,201 @@
+/*
+ * 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 xpath;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.Iterator;
+import java.util.List;
+
+import javax.xml.XMLConstants;
+import javax.xml.namespace.NamespaceContext;
+import javax.xml.namespace.QName;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathExpressionException;
+import javax.xml.xpath.XPathFactory;
+import javax.xml.xpath.XPathFactoryConfigurationException;
+import javax.xml.xpath.XPathFunction;
+import javax.xml.xpath.XPathFunctionException;
+import javax.xml.xpath.XPathFunctionResolver;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.xml.sax.SAXException;
+
+/*
+ * @summary Test when FEATURE_SECURE_PROCESSING is true, calling an external function will cause XPathFunctionException.
+ */
+public class SecureProcessingTest {
+    static boolean _isSecureMode = false;
+    static {
+        if (System.getSecurityManager() != null) {
+            _isSecureMode = true;
+            System.out.println("Security Manager is present");
+        } else {
+            System.out.println("Security Manager is NOT present");
+        }
+    }
+
+    @Test
+    public final void testSecureProcessing() {
+
+        final String XPATH_EXPRESSION = "ext:helloWorld()";
+
+        // the xml source
+        InputStream xmlStream = this.getClass().getResourceAsStream("SecureProcessingTest.xml");
+
+        DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
+        DocumentBuilder documentBuilder = null;
+        Document document = null;
+
+        try {
+            documentBuilder = documentBuilderFactory.newDocumentBuilder();
+            document = documentBuilder.parse(xmlStream);
+        } catch (ParserConfigurationException parserConfigurationException) {
+            parserConfigurationException.printStackTrace();
+            Assert.fail(parserConfigurationException.toString());
+        } catch (SAXException saxException) {
+            saxException.printStackTrace();
+            Assert.fail(saxException.toString());
+        } catch (IOException ioException) {
+            ioException.printStackTrace();
+            Assert.fail(ioException.toString());
+        }
+
+        // the XPath
+        XPathFactory xPathFactory = null;
+        XPath xPath = null;
+        String xPathResult = null;
+
+        // SECURE_PROCESSING == false
+        // evaluate an expression with a user defined function with a non-secure
+        // XPath
+        // expect success
+        if (!_isSecureMode) { // jaxp secure feature can not be turned off when
+                              // security manager is present
+            try {
+                xPathFactory = xPathFactory.newInstance();
+                xPathFactory.setXPathFunctionResolver(new MyXPathFunctionResolver());
+                xPathFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false);
+
+                xPath = xPathFactory.newXPath();
+                xPath.setNamespaceContext(new MyNamespaceContext());
+
+                xPathResult = xPath.evaluate(XPATH_EXPRESSION, document);
+            } catch (XPathFactoryConfigurationException xPathFactoryConfigurationException) {
+                xPathFactoryConfigurationException.printStackTrace();
+                Assert.fail(xPathFactoryConfigurationException.toString());
+            } catch (XPathExpressionException xPathExpressionException) {
+                xPathExpressionException.printStackTrace();
+                Assert.fail(xPathExpressionException.toString());
+            }
+
+            // expected success
+            System.out.println("XPath result (SECURE_PROCESSING == false) = \"" + xPathResult + "\"");
+        }
+        // now try with SECURE_PROCESSING == true
+        // evaluate an expression with a user defined function with a secure
+        // XPath
+        // expect Exception
+        boolean securityException = false;
+        try {
+            xPathFactory = xPathFactory.newInstance();
+            xPathFactory.setXPathFunctionResolver(new MyXPathFunctionResolver());
+            xPathFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
+
+            xPath = xPathFactory.newXPath();
+            xPath.setNamespaceContext(new MyNamespaceContext());
+
+            xPathResult = xPath.evaluate(XPATH_EXPRESSION, document);
+        } catch (XPathFactoryConfigurationException xPathFactoryConfigurationException) {
+            xPathFactoryConfigurationException.printStackTrace();
+            Assert.fail(xPathFactoryConfigurationException.toString());
+        } catch (XPathFunctionException xPathFunctionException) {
+            // expected security exception
+            securityException = true;
+            xPathFunctionException.printStackTrace(System.out);
+        } catch (XPathExpressionException xPathExpressionException) {
+            xPathExpressionException.printStackTrace();
+            Assert.fail(xPathExpressionException.toString());
+        }
+
+        // expected Exception
+        if (!securityException) {
+            Assert.fail("XPath result (SECURE_PROCESSING == true) = \"" + xPathResult + "\"");
+        }
+    }
+
+    public class MyXPathFunctionResolver implements XPathFunctionResolver {
+
+        public XPathFunction resolveFunction(QName functionName, int arity) {
+
+            // not a real ewsolver, always return a default XPathFunction
+            return new MyXPathFunction();
+        }
+    }
+
+    public class MyXPathFunction implements XPathFunction {
+
+        public Object evaluate(List list) throws XPathFunctionException {
+
+            return "Hello World";
+        }
+    }
+
+    public class MyNamespaceContext implements NamespaceContext {
+
+        public String getNamespaceURI(String prefix) {
+            if (prefix == null) {
+                throw new IllegalArgumentException("The prefix cannot be null.");
+            }
+
+            if (prefix.equals("ext")) {
+                return "http://ext.com";
+            } else {
+                return null;
+            }
+        }
+
+        public String getPrefix(String namespace) {
+
+            if (namespace == null) {
+                throw new IllegalArgumentException("The namespace uri cannot be null.");
+            }
+
+            if (namespace.equals("http://ext.com")) {
+                return "ext";
+            } else {
+                return null;
+            }
+        }
+
+        public Iterator getPrefixes(String namespace) {
+            return null;
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/xpath/SecureProcessingTest.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,2 @@
+<?xml version="1.0"?>
+<helloWorld/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/xpath/XPathAnyTypeTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,196 @@
+/*
+ * Copyright (c) 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 xpath;
+
+import java.io.File;
+
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathNodes;
+import javax.xml.xpath.XPathEvaluationResult;
+import javax.xml.xpath.XPathExpressionException;
+
+import static org.testng.Assert.assertEquals;
+import static org.testng.Assert.assertTrue;
+
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.Node;
+
+/*
+ * @bug 8054196
+ * @summary Test for the project XPath: support any type. This test covers the new
+ * evaluateExpression methods of XPath, as well as XPathNodes and XPathEvaluationResult.
+ */
+public class XPathAnyTypeTest extends XPathTestBase {
+    /*
+     Test for resolveFunction(QName functionName,int arity); evaluate throws
+     NPE if functionName  is null.
+     */
+
+    @Test(dataProvider = "xpath", expectedExceptions = NullPointerException.class)
+    public void testCheckXPathFunctionResolver02(XPath xpath) throws XPathExpressionException {
+        xpath.setXPathFunctionResolver((functionName, arity) -> null);
+        assertEquals(xpath.evaluate(null, "5"), "2");
+    }
+    /*
+     Check that NPE is thrown when expression is null.
+     */
+
+    @Test(dataProvider = "xpath", expectedExceptions = NullPointerException.class)
+    public void test01(XPath xpath) throws XPathExpressionException {
+        double result = xpath.evaluateExpression(null, (Object) null, Double.class);
+    }
+
+    /*
+     Check that NPE is thrown when the class type is null.
+     */
+    @Test(dataProvider = "xpath", expectedExceptions = NullPointerException.class)
+    public void test02(XPath xpath) throws XPathExpressionException {
+        double result = xpath.evaluateExpression("1+1", (Object) null, null);
+    }
+
+    /*
+     Parameter item can be null when the expression does not depends on the
+     context.
+     */
+    @Test(dataProvider = "xpath")
+    public void test03(XPath xpath) throws XPathExpressionException {
+        int result = xpath.evaluateExpression("1+1", (Object) null, Integer.class);
+        assertTrue(result == 2);
+    }
+
+    /*
+     * Test return type: boolean.
+     */
+    @Test(dataProvider = "document")
+    public void test04(XPath xpath, Document doc) throws XPathExpressionException {
+        boolean result1 = xpath.evaluateExpression("boolean(/Customers/Customer[@id=3])", doc, Boolean.class);
+        assertTrue(result1);
+    }
+
+    /*
+     * Test return type: numeric. Subtypes supported: Double, Integer and Long
+     */
+    @Test(dataProvider = "document")
+    public void test05(XPath xpath, Document doc) throws XPathExpressionException {
+        double result1 = xpath.evaluateExpression("count(/Customers/Customer)", doc, Double.class);
+        assertTrue(result1 == 3.0);
+        int result2 = xpath.evaluateExpression("count(/Customers/Customer)", doc, Integer.class);
+        assertTrue(result2 == 3);
+        long result3 = xpath.evaluateExpression("count(/Customers/Customer)", doc, Long.class);
+        assertTrue(result3 == 3);
+    }
+
+    /*
+     * Test return type: numeric.  Of the subtypes of Number, only Double,
+     * Integer and Long are required.
+     */
+    @Test(dataProvider = "invalidNumericTypes", expectedExceptions = IllegalArgumentException.class)
+    public void test06(XPath xpath, Class<Number> type) throws XPathExpressionException {
+        xpath.evaluateExpression("1+1", (Object) null, type);
+    }
+
+    /*
+     * Test return type: String.
+     */
+    @Test(dataProvider = "document")
+    public void test07(XPath xpath, Document doc) throws XPathExpressionException {
+        String result1 = xpath.evaluateExpression("string(/Customers/Customer[@id=3]/Phone/text())", doc, String.class);
+        assertTrue(result1.equals("3333333333"));
+    }
+
+    /*
+     * Test return type: NodeSet.
+     */
+    @Test(dataProvider = "document")
+    public void test08(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathNodes nodes = xpath.evaluateExpression("/Customers/Customer", doc, XPathNodes.class);
+        assertTrue(nodes.size() == 3);
+        for (Node n : nodes) {
+            assertEquals(n.getLocalName(), "Customer");
+        }
+    }
+
+    /*
+     * Test return type: Node.
+     */
+    @Test(dataProvider = "document")
+    public void test09(XPath xpath, Document doc) throws XPathExpressionException {
+        Node n = xpath.evaluateExpression("/Customers/Customer[@id=3]", doc, Node.class);
+        assertEquals(n.getLocalName(), "Customer");
+    }
+
+    /*
+     * Test return type: Unsupported type.
+     */
+    @Test(dataProvider = "document", expectedExceptions = IllegalArgumentException.class)
+    public void test10(XPath xpath, Document doc) throws XPathExpressionException {
+        File n = xpath.evaluateExpression("/Customers/Customer[@id=3]", doc, File.class);
+    }
+
+    /*
+     * Test return type: Any::Boolean.
+     */
+    @Test(dataProvider = "document")
+    public void test11(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathEvaluationResult<?> result = xpath.evaluateExpression("boolean(/Customers/Customer[@id=3])", doc);
+        verifyResult(result, true);
+    }
+
+    /*
+     * Test return type: Any::Number.
+     */
+    @Test(dataProvider = "document")
+    public void test12(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathEvaluationResult<?> result = xpath.evaluateExpression("count(/Customers/Customer)", doc);
+        verifyResult(result, 3.0);
+    }
+
+    /*
+     * Test return type: Any::String.
+     */
+    @Test(dataProvider = "document")
+    public void test13(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathEvaluationResult<?> result = xpath.evaluateExpression(
+                "string(/Customers/Customer[@id=3]/Phone/text())", doc, XPathEvaluationResult.class);
+        verifyResult(result, "3333333333");
+    }
+
+    /*
+     * Test return type: Any::Nodeset.
+     */
+    @Test(dataProvider = "document")
+    public void test14(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathEvaluationResult<?> result = xpath.evaluateExpression("/Customers/Customer", doc);
+        verifyResult(result, "Customer");
+    }
+
+    /*
+     * Test return type: Any::Node.
+     */
+    @Test(dataProvider = "document")
+    public void test15(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathEvaluationResult<?> result = xpath.evaluateExpression("/Customers/Customer[@id=3]", doc);
+        verifyResult(result, "Customer");
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/xpath/XPathExpAnyTypeTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,183 @@
+/*
+ * Copyright (c) 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 xpath;
+
+import java.io.File;
+
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathExpression;
+import javax.xml.xpath.XPathExpressionException;
+import javax.xml.xpath.XPathNodes;
+import javax.xml.xpath.XPathEvaluationResult;
+
+import static org.testng.Assert.assertEquals;
+import static org.testng.Assert.assertTrue;
+
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.Node;
+
+/*
+ * @bug 8054196
+ * @summary Test for the project XPath: support any type. This test covers the new
+ * evaluateExpression methods of XPathExpression.
+ */
+public class XPathExpAnyTypeTest extends XPathTestBase {
+
+    /*
+     * Check that NPE is thrown when the class type is null.
+     */
+    @Test(dataProvider = "xpath", expectedExceptions = NullPointerException.class)
+    public void test02(XPath xpath) throws XPathExpressionException {
+        XPathExpression exp = xpath.compile("1+1");
+        double result = exp.evaluateExpression((Object)null, null);
+    }
+
+    /*
+     * Parameter item can be null when the expression does not depends on the
+     * context.
+     */
+    @Test(dataProvider = "xpath")
+    public void test03(XPath xpath) throws XPathExpressionException {
+        XPathExpression exp = xpath.compile("1+1");
+        int result = exp.evaluateExpression((Object)null, Integer.class);
+        assertTrue(result == 2);
+    }
+
+    /*
+     * Test return type: boolean.
+     */
+    @Test(dataProvider = "document")
+    public void test04(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathExpression exp = xpath.compile("boolean(/Customers/Customer[@id=3])");
+        boolean result1 = exp.evaluateExpression(doc, Boolean.class);
+        assertTrue(result1);
+    }
+
+    /*
+     * Test return type: numeric.
+     */
+    @Test(dataProvider = "document")
+    public void test05(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathExpression exp = xpath.compile("count(/Customers/Customer)");
+        double result1 = exp.evaluateExpression(doc, Double.class);
+        assertTrue(result1 == 3.0);
+
+        int result2 = exp.evaluateExpression(doc, Integer.class);
+        assertTrue(result2 == 3);
+    }
+
+    /*
+     * Test return type: String.
+     */
+    @Test(dataProvider = "document")
+    public void test06(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathExpression exp = xpath.compile("string(/Customers/Customer[@id=3]/Phone/text())");
+        String result1 = exp.evaluateExpression(doc, String.class);
+        assertTrue(result1.equals("3333333333"));
+    }
+
+    /*
+     * Test return type: NodeSet.
+     */
+    @Test(dataProvider = "document")
+    public void test07(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathExpression exp = xpath.compile("/Customers/Customer");
+        XPathNodes nodes = exp.evaluateExpression(doc, XPathNodes.class);
+        assertTrue(nodes.size() == 3);
+        for (Node n : nodes) {
+            assertEquals(n.getLocalName(), "Customer");
+        }
+    }
+
+    /*
+     * Test return type: Node.
+     */
+    @Test(dataProvider = "document")
+    public void test08(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathExpression exp = xpath.compile("/Customers/Customer[@id=3]");
+        Node n = exp.evaluateExpression(doc, Node.class);
+        assertEquals(n.getLocalName(), "Customer");
+    }
+
+    /*
+     * Test return type: Unsupported type.
+     */
+    @Test(dataProvider = "document", expectedExceptions = IllegalArgumentException.class)
+    public void test09(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathExpression exp = xpath.compile("/Customers/Customer[@id=3]");
+        File n = exp.evaluateExpression(doc, File.class);
+    }
+
+    /*
+     * Test return type: Any::Boolean.
+     */
+    @Test(dataProvider = "document")
+    public void test10(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathExpression exp = xpath.compile("boolean(/Customers/Customer[@id=3])");
+        XPathEvaluationResult<?> result = exp.evaluateExpression(doc);
+        verifyResult(result, true);
+    }
+
+    /*
+     * Test return type: Any::Number.
+     */
+    @Test(dataProvider = "document")
+    public void test11(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathExpression exp = xpath.compile("count(/Customers/Customer)");
+        XPathEvaluationResult<?> result = exp.evaluateExpression(doc);
+        verifyResult(result, 3.0);
+    }
+
+    /*
+     * Test return type: Any::String.
+     */
+    @Test(dataProvider = "document")
+    public void test12(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathExpression exp = xpath.compile("string(/Customers/Customer[@id=3]/Phone/text())");
+        XPathEvaluationResult<?> result = exp.evaluateExpression(doc, XPathEvaluationResult.class);
+        verifyResult(result, "3333333333");
+    }
+
+    /*
+     * Test return type: Any::Nodeset.
+     */
+    @Test(dataProvider = "document")
+    public void test13(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathExpression exp = xpath.compile("/Customers/Customer");
+        XPathEvaluationResult<?> result = exp.evaluateExpression(doc);
+        verifyResult(result, "Customer");
+    }
+
+    /*
+     * Test return type: Any::Node.
+     */
+    @Test(dataProvider = "document")
+    public void test14(XPath xpath, Document doc) throws XPathExpressionException {
+        XPathExpression exp = xpath.compile("/Customers/Customer[@id=3]");
+        XPathEvaluationResult<?> result = exp.evaluateExpression(doc);
+        verifyResult(result, "Customer");
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/xpath/XPathTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,47 @@
+/*
+ * 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 xpath;
+
+import javax.xml.namespace.NamespaceContext;
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathFactory;
+
+import org.testng.annotations.Test;
+
+/*
+ * @bug 6376058
+ * @summary Test XPath.getNamespaceContext() is supported.
+ */
+public class XPathTest {
+
+    @Test
+    public void testNamespaceContext() {
+
+        XPathFactory xPathFactory = XPathFactory.newInstance();
+        XPath xPath = xPathFactory.newXPath();
+
+        NamespaceContext namespaceContext = xPath.getNamespaceContext();
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jaxp/test/javax/xml/jaxp/unittest/xpath/XPathTestBase.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,152 @@
+/*
+ * Copyright (c) 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 xpath;
+
+import java.io.ByteArrayInputStream;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.concurrent.atomic.AtomicInteger;
+import java.util.concurrent.atomic.AtomicLong;
+
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathFactory;
+import static javax.xml.xpath.XPathConstants.BOOLEAN;
+import static javax.xml.xpath.XPathConstants.NUMBER;
+import static javax.xml.xpath.XPathConstants.STRING;
+import static javax.xml.xpath.XPathConstants.NODE;
+import static javax.xml.xpath.XPathConstants.NODESET;
+import javax.xml.xpath.XPathNodes;
+import javax.xml.xpath.XPathEvaluationResult;
+
+import static org.testng.Assert.assertEquals;
+import static org.testng.Assert.assertFalse;
+import static org.testng.Assert.assertTrue;
+
+import org.testng.annotations.DataProvider;
+import org.w3c.dom.Document;
+import org.w3c.dom.Node;
+
+/*
+ * Base class for XPath test
+ */
+class XPathTestBase {
+
+    static final String rawXML
+            = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>"
+            + "<Customers>"
+            + "    <Customer id=\"1\">"
+            + "        <Name>name1</Name>"
+            + "        <Phone>1111111111</Phone>"
+            + "        <Email>123@xyz.com</Email>"
+            + "        <Address>"
+            + "            <Street>1111 111st ave</Street>"
+            + "            <City>The City</City>"
+            + "            <State>The State</State>"
+            + "        </Address>"
+            + "    </Customer>"
+            + "    <Customer id=\"2\">"
+            + "        <Name>name1</Name>"
+            + "        <Phone>2222222222</Phone>"
+            + "        <Email>123@xyz.com</Email>"
+            + "        <Address>"
+            + "            <Street>2222 222nd ave</Street>"
+            + "            <City>The City</City>"
+            + "            <State>The State</State>"
+            + "        </Address>"
+            + "    </Customer>"
+            + "    <Customer id=\"3\">"
+            + "        <Name>name1</Name>"
+            + "        <Phone>3333333333</Phone>"
+            + "        <Email>123@xyz.com</Email>"
+            + "        <Address>"
+            + "            <Street>3333 333rd ave</Street>"
+            + "            <City>The City</City>"
+            + "            <State>The State</State>"
+            + "        </Address>"
+            + "    </Customer>"
+            + "</Customers>";
+
+    void verifyResult(XPathEvaluationResult<?> result, Object expected) {
+        switch (result.type()) {
+            case BOOLEAN:
+                assertTrue(((Boolean) result.value()).equals(expected));
+                return;
+            case NUMBER:
+                assertTrue(((Double) result.value()).equals(expected));
+                return;
+            case STRING:
+                assertTrue(((String) result.value()).equals(expected));
+                return;
+            case NODESET:
+                XPathNodes nodes = (XPathNodes) result.value();
+                for (Node n : nodes) {
+                    assertEquals(n.getLocalName(), expected);
+                }
+                return;
+            case NODE:
+                assertTrue(((Node) result.value()).getLocalName().equals(expected));
+                return;
+        }
+        assertFalse(true, "Unsupported type");
+    }
+
+    /*
+     * DataProvider: XPath object
+     */
+    @DataProvider(name = "xpath")
+    Object[][] getXPath() {
+        return new Object[][]{{XPathFactory.newInstance().newXPath()}};
+    }
+
+    /*
+     * DataProvider: Numeric types not supported
+     */
+    @DataProvider(name = "invalidNumericTypes")
+    Object[][] getInvalidNumericTypes() {
+        XPath xpath = XPathFactory.newInstance().newXPath();
+        return new Object[][]{{xpath, AtomicInteger.class},
+            {xpath, AtomicInteger.class},
+            {xpath, AtomicLong.class},
+            {xpath, BigDecimal.class},
+            {xpath, BigInteger.class},
+            {xpath, Byte.class},
+            {xpath, Float.class},
+            {xpath, Short.class}
+        };
+    }
+
+    /*
+     * DataProvider: XPath and Document objects
+     */
+    @DataProvider(name = "document")
+    Object[][] getDocument() throws Exception {
+        DocumentBuilderFactory dBF = DocumentBuilderFactory.newInstance();
+        dBF.setValidating(false);
+        dBF.setNamespaceAware(true);
+        Document doc = dBF.newDocumentBuilder().parse(
+                new ByteArrayInputStream(rawXML.getBytes("UTF-8")));
+
+        return new Object[][]{{XPathFactory.newInstance().newXPath(), doc}};
+    }
+}
--- a/jaxws/.hgtags	Thu Aug 13 15:50:52 2015 -0700
+++ b/jaxws/.hgtags	Mon Aug 17 11:18:31 2015 -0700
@@ -322,3 +322,4 @@
 6232472e51418757f7b2bf05332678ea78096e6b jdk9-b74
 086bcd5e4a531a350c84668c8dc019461588ee3d jdk9-b75
 55bb88306dc57d07f2c854803465f6d9a7eb4aba jdk9-b76
+bd6ece68cf8aca34c8d992569892060c82cfd3f1 jdk9-b77
--- a/jdk/make/data/tzdata/VERSION	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/make/data/tzdata/VERSION	Mon Aug 17 11:18:31 2015 -0700
@@ -21,4 +21,4 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-tzdata2015e
+tzdata2015f
--- a/jdk/make/data/tzdata/africa	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/make/data/tzdata/africa	Mon Aug 17 11:18:31 2015 -0700
@@ -561,7 +561,7 @@
 
 # From Alex Krivenyshev (2008-07-11):
 # Seems that English language article "The revival of daylight saving
-# time: Energy conservation?"-# No. 16578 (07/11/2008) was originally
+# time: Energy conservation?"- No. 16578 (07/11/2008) was originally
 # published on Monday, June 30, 2008...
 #
 # I guess that article in French "Le gouvernement avance l'introduction
@@ -693,7 +693,7 @@
 # Here is a link to official document from Royaume du Maroc Premier Ministre,
 # Ministère de la Modernisation des Secteurs Publics
 #
-# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 june 1967)
+# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 June 1967)
 # concerning the amendment of the legal time, the Ministry of Modernization of
 # Public Sectors announced that the official time in the Kingdom will be
 # advanced 60 minutes from Sunday 31 May 2009 at midnight.
--- a/jdk/make/data/tzdata/asia	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/make/data/tzdata/asia	Mon Aug 17 11:18:31 2015 -0700
@@ -29,7 +29,7 @@
 # tz@iana.org for general use in the future).  For more, please see
 # the file CONTRIBUTING in the tz distribution.
 
-# From Paul Eggert (2014-10-31):
+# From Paul Eggert (2015-08-08):
 #
 # Unless otherwise specified, the source for data through 1990 is:
 # Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
@@ -66,7 +66,7 @@
 #	2:00 EET  EEST	Eastern European Time
 #	2:00 IST  IDT	Israel
 #	3:00 AST  ADT	Arabia*
-#	3:30 IRST IRDT	Iran
+#	3:30 IRST IRDT	Iran*
 #	4:00 GST	Gulf*
 #	5:30 IST	India
 #	7:00 ICT	Indochina, most times and locations*
@@ -75,10 +75,11 @@
 #	8:00 CST	China
 #	8:00 IDT	Indochina, 1943-45, 1947-55, 1960-75 (some locations)*
 #	8:00 JWST	Western Standard Time (Japan, 1896/1937)*
+#	8:30 KST  KDT	Korea when at +0830*
 #	9:00 JCST	Central Standard Time (Japan, 1896/1937)
 #	9:00 WIT	east Indonesia (Waktu Indonesia Timur)
 #	9:00 JST  JDT	Japan
-#	9:00 KST  KDT	Korea
+#	9:00 KST  KDT	Korea when at +09
 #	9:30 ACST	Australian Central Standard Time
 #
 # See the 'europe' file for Russia and Turkey in Asia.
@@ -1050,7 +1051,7 @@
 #
 # From Roozbeh Pournader (2007-11-05):
 # This is quoted from Official Gazette of the Islamic Republic of
-# Iran, Volume 63, Number 18242, dated Tuesday 1386/6/24
+# Iran, Volume 63, No. 18242, dated Tuesday 1386/6/24
 # [2007-10-16]. I am doing the best translation I can:...
 # The official time of the country will be moved forward for one hour
 # on the 24 hours of the first day of the month of Farvardin and will
@@ -1580,7 +1581,7 @@
 # - Qyzylorda switched from +5:00 to +6:00 on 1992-01-19 02:00.
 # - Oral switched from +5:00 to +4:00 in spring 1989.
 
-# From Kazakhstan Embassy's News Bulletin #11
+# From Kazakhstan Embassy's News Bulletin No. 11
 # <http://www.kazsociety.org.uk/news/2005/03/30.htm> (2005-03-21):
 # The Government of Kazakhstan passed a resolution March 15 abolishing
 # daylight saving time citing lack of economic benefits and health
@@ -1734,6 +1735,17 @@
 #
 # For Pyongyang we have no information; guess no changes since World War II.
 
+# From Steffen Thorsen (2015-08-07):
+# According to many news sources, North Korea is going to change to
+# the 8:30 time zone on August 15, one example:
+# http://www.bbc.com/news/world-asia-33815049
+#
+# From Paul Eggert (2015-08-07):
+# No transition time is specified; assume 00:00.
+# There is no common English-language abbreviation for this time zone.
+# Use %z rather than invent one.  We can't assume %z works everywhere yet,
+# so for now substitute its output manually.
+
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	Asia/Seoul	8:27:52	-	LMT	1908 Apr  1
 			8:30	-	KST	1912 Jan  1
@@ -1746,7 +1758,8 @@
 			8:30	-	KST	1912 Jan  1
 			9:00	-	JCST	1937 Oct  1
 			9:00	-	JST	1945 Aug 24
-			9:00	-	KST
+			9:00	-	KST	2015 Aug 15
+			8:30	-	KST
 
 ###############################################################################
 
--- a/jdk/make/data/tzdata/europe	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/make/data/tzdata/europe	Mon Aug 17 11:18:31 2015 -0700
@@ -216,11 +216,14 @@
 #	republished in Finest Hour (Spring 2002) 1(114):26
 #	http://www.winstonchurchill.org/images/finesthour/Vol.01%20No.114.pdf
 
-# From Paul Eggert (1996-09-03):
+# From Paul Eggert (2015-08-08):
 # The OED Supplement says that the English originally said "Daylight Saving"
 # when they were debating the adoption of DST in 1908; but by 1916 this
 # term appears only in quotes taken from DST's opponents, whereas the
 # proponents (who eventually won the argument) are quoted as using "Summer".
+# The term "Summer Time" was introduced by Herbert Samuel, Home Secretary; see:
+# Viscount Samuel. Leisure in a Democracy. Cambridge University Press
+# ISBN 978-1-107-49471-8 (1949, reissued 2015), p 8.
 
 # From Arthur David Olson (1989-01-19):
 # A source at the British Information Office in New York avers that it's
@@ -366,7 +369,7 @@
 
 # From an anonymous contributor (1996-06-02):
 # The law governing time in Ireland is under Statutory Instrument SI 395/94,
-# which gives force to European Union 7th Council Directive # 94/21/EC.
+# which gives force to European Union 7th Council Directive No. 94/21/EC.
 # Under this directive, the Minister for Justice in Ireland makes appropriate
 # regulations. I spoke this morning with the Secretary of the Department of
 # Justice (tel +353 1 678 9711) who confirmed to me that the correct name is
@@ -615,11 +618,11 @@
 Rule	Russia	1921	only	-	Mar	20	23:00	2:00	MSM  # Midsummer
 Rule	Russia	1921	only	-	Sep	 1	 0:00	1:00	MSD
 Rule	Russia	1921	only	-	Oct	 1	 0:00	0	-
-# Act No.925 of the Council of Ministers of the USSR (1980-10-24):
+# Act No. 925 of the Council of Ministers of the USSR (1980-10-24):
 Rule	Russia	1981	1984	-	Apr	 1	 0:00	1:00	S
 Rule	Russia	1981	1983	-	Oct	 1	 0:00	0	-
-# Act No.967 of the Council of Ministers of the USSR (1984-09-13), repeated in
-# Act No.227 of the Council of Ministers of the USSR (1989-03-14):
+# Act No. 967 of the Council of Ministers of the USSR (1984-09-13), repeated in
+# Act No. 227 of the Council of Ministers of the USSR (1989-03-14):
 Rule	Russia	1984	1991	-	Sep	lastSun	 2:00s	0	-
 Rule	Russia	1985	1991	-	Mar	lastSun	 2:00s	1:00	S
 #
@@ -851,7 +854,7 @@
 # Bulgaria
 #
 # From Plamen Simenov via Steffen Thorsen (1999-09-09):
-# A document of Government of Bulgaria (No.94/1997) says:
+# A document of Government of Bulgaria (No. 94/1997) says:
 # EET -> EETDST is in 03:00 Local time in last Sunday of March ...
 # EETDST -> EET is in 04:00 Local time in last Sunday of October
 #
@@ -868,7 +871,7 @@
 			1:00	C-Eur	CE%sT	1945
 			1:00	-	CET	1945 Apr  2  3:00
 			2:00	-	EET	1979 Mar 31 23:00
-			2:00	Bulg	EE%sT	1982 Sep 26  2:00
+			2:00	Bulg	EE%sT	1982 Sep 26  3:00
 			2:00	C-Eur	EE%sT	1991
 			2:00	E-Eur	EE%sT	1997
 			2:00	EU	EE%sT
@@ -1085,8 +1088,8 @@
 # after that.
 
 # From Mart Oruaas (2000-01-29):
-# Regulation no. 301 (1999-10-12) obsoletes previous regulation
-# no. 206 (1998-09-22) and thus sticks Estonia to +02:00 GMT for all
+# Regulation No. 301 (1999-10-12) obsoletes previous regulation
+# No. 206 (1998-09-22) and thus sticks Estonia to +02:00 GMT for all
 # the year round.  The regulation is effective 1999-11-01.
 
 # From Toomas Soome (2002-02-21):
@@ -1107,7 +1110,7 @@
 			3:00	Russia	MSK/MSD	1989 Mar 26  2:00s
 			2:00	1:00	EEST	1989 Sep 24  2:00s
 			2:00	C-Eur	EE%sT	1998 Sep 22
-			2:00	EU	EE%sT	1999 Nov  1
+			2:00	EU	EE%sT	1999 Oct 31  4:00
 			2:00	-	EET	2002 Feb 21
 			2:00	EU	EE%sT
 
@@ -1550,21 +1553,21 @@
 # correct data in juridical acts and I found some juridical documents about
 # changes in the counting of time in Latvia from 1981....
 #
-# Act No.35 of the Council of Ministers of Latvian SSR of 1981-01-22 ...
-# according to the Act No.925 of the Council of Ministers of USSR of 1980-10-24
+# Act No. 35 of the Council of Ministers of Latvian SSR of 1981-01-22 ...
+# according to the Act No. 925 of the Council of Ministers of USSR of 1980-10-24
 # ...: all year round the time of 2nd time zone + 1 hour, in addition turning
 # the hands of the clock 1 hour forward on 1 April at 00:00 (GMT 31 March 21:00)
 # and 1 hour backward on the 1 October at 00:00 (GMT 30 September 20:00).
 #
-# Act No.592 of the Council of Ministers of Latvian SSR of 1984-09-24 ...
-# according to the Act No.967 of the Council of Ministers of USSR of 1984-09-13
+# Act No. 592 of the Council of Ministers of Latvian SSR of 1984-09-24 ...
+# according to the Act No. 967 of the Council of Ministers of USSR of 1984-09-13
 # ...: all year round the time of 2nd time zone + 1 hour, in addition turning
 # the hands of the clock 1 hour forward on the last Sunday of March at 02:00
 # (GMT 23:00 on the previous day) and 1 hour backward on the last Sunday of
 # September at 03:00 (GMT 23:00 on the previous day).
 #
-# Act No.81 of the Council of Ministers of Latvian SSR of 1989-03-22 ...
-# according to the Act No.227 of the Council of Ministers of USSR of 1989-03-14
+# Act No. 81 of the Council of Ministers of Latvian SSR of 1989-03-22 ...
+# according to the Act No. 227 of the Council of Ministers of USSR of 1989-03-14
 # ...: since the last Sunday of March 1989 in Lithuanian SSR, Latvian SSR,
 # Estonian SSR and Kaliningrad region of Russian Federation all year round the
 # time of 2nd time zone (Moscow time minus one hour). On the territory of Latvia
@@ -1581,7 +1584,7 @@
 # From Andrei Ivanov (2000-03-06):
 # This year Latvia will not switch to Daylight Savings Time (as specified in
 # The Regulations of the Cabinet of Ministers of the Rep. of Latvia of
-# 29-Feb-2000 (#79) <http://www.lv-laiks.lv/wwwraksti/2000/071072/vd4.htm>,
+# 29-Feb-2000 (No. 79) <http://www.lv-laiks.lv/wwwraksti/2000/071072/vd4.htm>,
 # in Latvian for subscribers only).
 
 # From RFE/RL Newsline
@@ -1786,6 +1789,18 @@
 # News from Moldova (in russian):
 # http://ru.publika.md/link_317061.html
 
+# From Roman Tudos (2015-07-02):
+# http://lex.justice.md/index.php?action=view&view=doc&lang=1&id=355077
+# From Paul Eggert (2015-07-01):
+# The abovementioned official link to IGO1445-868/2014 states that
+# 2014-10-26's fallback transition occurred at 03:00 local time.  Also,
+# http://www.trm.md/en/social/la-30-martie-vom-trece-la-ora-de-vara
+# says the 2014-03-30 spring-forward transition was at 02:00 local time.
+# Guess that since 1997 Moldova has switched one hour before the EU.
+
+# Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
+Rule	Moldova	1997	max	-	Mar	lastSun	 2:00	1:00	S
+Rule	Moldova	1997	max	-	Oct	lastSun	 3:00	0	-
 
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	Europe/Chisinau	1:55:20 -	LMT	1880
@@ -1800,7 +1815,7 @@
 			2:00	Russia	EE%sT	1992
 			2:00	E-Eur	EE%sT	1997
 # See Romania commentary for the guessed 1997 transition to EU rules.
-			2:00	EU	EE%sT
+			2:00	Moldova	EE%sT
 
 # Monaco
 # Shanks & Pottenger give 0:09:20 for Paris Mean Time; go with Howse's
@@ -2146,7 +2161,7 @@
 # Russia
 
 # From Alexander Krivenyshev (2011-09-15):
-# Based on last Russian Government Decree # 725 on August 31, 2011
+# Based on last Russian Government Decree No. 725 on August 31, 2011
 # (Government document
 # http://www.government.ru/gov/results/16355/print/
 # in Russian)
@@ -2156,7 +2171,7 @@
 # http://www.worldtimezone.com/dst_news/dst_news_russia36.htm
 
 # From Sanjeev Gupta (2011-09-27):
-# Scans of [Decree #23 of January 8, 1992] are available at:
+# Scans of [Decree No. 23 of January 8, 1992] are available at:
 # http://government.consultant.ru/page.aspx?1223966
 # They are in Cyrillic letters (presumably Russian).
 
@@ -2167,19 +2182,19 @@
 # One source is
 # http://government.ru/gov/results/16355/
 # which, according to translate.google.com, begins "Decree of August 31,
-# 2011 No 725" and contains no other dates or "effective date" information.
+# 2011 No. 725" and contains no other dates or "effective date" information.
 #
 # Another source is
 # http://www.rg.ru/2011/09/06/chas-zona-dok.html
 # which, according to translate.google.com, begins "Resolution of the
 # Government of the Russian Federation on August 31, 2011 N 725" and also
 # contains "Date first official publication: September 6, 2011 Posted on:
-# in the 'RG' - Federal Issue number 5573 September 6, 2011" but which
+# in the 'RG' - Federal Issue No. 5573 September 6, 2011" but which
 # does not contain any "effective date" information.
 #
 # Another source is
 # http://en.wikipedia.org/wiki/Oymyakonsky_District#cite_note-RuTime-7
-# which, in note 8, contains "Resolution #725 of August 31, 2011...
+# which, in note 8, contains "Resolution No. 725 of August 31, 2011...
 # Effective as of after 7 days following the day of the official publication"
 # but which does not contain any reference to September 6, 2011.
 #
@@ -2387,7 +2402,7 @@
 # changed in May.
 			 2:00	E-Eur	EE%sT	1994 May
 # From IATA SSIM (1994/1997), which also says that Kerch is still like Kiev.
-			 3:00	E-Eur	MSK/MSD	1996 Mar 31  3:00s
+			 3:00	E-Eur	MSK/MSD	1996 Mar 31  0:00s
 			 3:00	1:00	MSD	1996 Oct 27  3:00s
 # IATA SSIM (1997-09) says Crimea switched to EET/EEST.
 # Assume it happened in March by not changing the clocks.
@@ -2522,7 +2537,7 @@
 # from current Russia Zone 6 - Krasnoyarsk Time Zone (KRA) UTC +0700
 # to Russia Zone 5 - Novosibirsk Time Zone (NOV) UTC +0600
 #
-# This is according to Government of Russia decree # 740, on September
+# This is according to Government of Russia decree No. 740, on September
 # 14, 2009 "Application in the territory of the Kemerovo region the Fifth
 # time zone." ("Russia Zone 5" or old "USSR Zone 5" is GMT +0600)
 #
@@ -2945,7 +2960,7 @@
 Zone	Atlantic/Canary	-1:01:36 -	LMT	1922 Mar # Las Palmas de Gran C.
 			-1:00	-	CANT	1946 Sep 30  1:00 # Canaries T
 			 0:00	-	WET	1980 Apr  6  0:00s
-			 0:00	1:00	WEST	1980 Sep 28  0:00s
+			 0:00	1:00	WEST	1980 Sep 28  1:00u
 			 0:00	EU	WE%sT
 # IATA SSIM (1996-09) says the Canaries switch at 2:00u, not 1:00u.
 # Ignore this for now, as the Canaries are part of the EU.
@@ -3235,7 +3250,7 @@
 # From Igor Karpov, who works for the Ukrainian Ministry of Justice,
 # via Garrett Wollman (2003-01-27):
 # BTW, I've found the official document on this matter. It's government
-# regulations number 509, May 13, 1996. In my poor translation it says:
+# regulations No. 509, May 13, 1996. In my poor translation it says:
 # "Time in Ukraine is set to second timezone (Kiev time). Each last Sunday
 # of March at 3am the time is changing to 4am and each last Sunday of
 # October the time at 4am is changing to 3am"
@@ -3244,7 +3259,7 @@
 # On September 20, 2011 the deputies of the Verkhovna Rada agreed to
 # abolish the transfer clock to winter time.
 #
-# Bill number 8330 of MP from the Party of Regions Oleg Nadoshi got
+# Bill No. 8330 of MP from the Party of Regions Oleg Nadoshi got
 # approval from 266 deputies.
 #
 # Ukraine abolishes transfer back to the winter time (in Russian)
--- a/jdk/make/data/tzdata/leapseconds	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/make/data/tzdata/leapseconds	Mon Aug 17 11:18:31 2015 -0700
@@ -79,5 +79,5 @@
 Leap	2012	Jun	30	23:59:60	+	S
 Leap	2015	Jun	30	23:59:60	+	S
 
-#	Updated through IERS Bulletin C49
-#	File expires on:  28 December 2015
+#	Updated through IERS Bulletin C50
+#	File expires on:  28 June 2016
--- a/jdk/make/data/tzdata/northamerica	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/make/data/tzdata/northamerica	Mon Aug 17 11:18:31 2015 -0700
@@ -1258,10 +1258,19 @@
 
 # west Labrador, Nova Scotia, Prince Edward I
 
-# From Paul Eggert (2006-03-22):
+# From Brian Inglis (2015-07-20):
+# From the historical weather station records available at:
+# https://weatherspark.com/history/28351/1971/Sydney-Nova-Scotia-Canada
+# Sydney shares the same time history as Glace Bay, so was
+# likely to be the same across the island....
+# Sydney, as the capital and most populous location, or Cape Breton, would
+# have been better names for the zone had we known this in 1996.
+
+# From Paul Eggert (2015-07-20):
 # Shanks & Pottenger write that since 1970 most of this region has been like
 # Halifax.  Many locales did not observe peacetime DST until 1972;
-# Glace Bay, NS is the largest that we know of.
+# the Cape Breton area, represented by Glace Bay, is the largest we know of
+# (Glace Bay was perhaps not the best name choice but no point changing now).
 # Shanks & Pottenger also write that Liverpool, NS was the only town
 # in Canada to observe DST in 1971 but not 1970; for now we'll assume
 # this is a typo.
@@ -1819,13 +1828,13 @@
 # Exact date in October unknown; Sunday October 1 is a reasonable guess.
 # 3. June 1918: switch to Pacific Daylight Time (GMT-7)
 # Exact date in June unknown; Sunday June 2 is a reasonable guess.
-# note#1:
+# note 1:
 # On Oct 27/1918 when daylight saving ended in the rest of Canada,
 # Creston did not change its clocks.
-# note#2:
+# note 2:
 # During WWII when the Federal Government legislated a mandatory clock change,
 # Creston did not oblige.
-# note#3:
+# note 3:
 # There is no guarantee that Creston will remain on Mountain Standard Time
 # (UTC-7) forever.
 # The subject was debated at least once this year by the town Council.
--- a/jdk/make/data/tzdata/southamerica	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/make/data/tzdata/southamerica	Mon Aug 17 11:18:31 2015 -0700
@@ -154,7 +154,7 @@
 # Timezone Law (which never was effectively applied) will (would?) be
 # in effect.... The article is at
 # http://ar.clarin.com/diario/2001-06-06/e-01701.htm
-# ... The Law itself is "Ley No 25155", sanctioned on 1999-08-25, enacted
+# ... The Law itself is "Ley No. 25155", sanctioned on 1999-08-25, enacted
 # 1999-09-17, and published 1999-09-21.  The official publication is at:
 # http://www.boletin.jus.gov.ar/BON/Primera/1999/09-Septiembre/21/PDF/BO21-09-99LEG.PDF
 # Regretfully, you have to subscribe (and pay) for the on-line version....
@@ -198,15 +198,11 @@
 # http://www.worldtimezone.com/dst_news/dst_news_argentina03.html
 # http://www.impulsobaires.com.ar/nota.php?id=57832 (in spanish)
 
-# From Rodrigo Severo (2008-10-06):
-# Here is some info available at a Gentoo bug related to TZ on Argentina's DST:
-# ...
-# ------- Comment #1 from [jmdocile]  2008-10-06 16:28 0000 -------
-# Hi, there is a problem with timezone-data-2008e and maybe with
-# timezone-data-2008f
-# Argentinian law [Number] 25.155 is no longer valid.
+# From Juan Manuel Docile in https://bugs.gentoo.org/240339 (2008-10-07)
+# via Rodrigo Severo:
+# Argentinian law No. 25.155 is no longer valid.
 # http://www.infoleg.gov.ar/infolegInternet/anexos/60000-64999/60036/norma.htm
-# The new one is law [Number] 26.350
+# The new one is law No. 26.350
 # http://www.infoleg.gov.ar/infolegInternet/anexos/135000-139999/136191/norma.htm
 # So there is no summer time in Argentina for now.
 
@@ -794,7 +790,7 @@
 #	 [ and in a second message (same day): ]
 # I found the decree.
 #
-# DECRETO No- 7.584, DE 13 DE OUTUBRO DE 2011
+# DECRETO No. 7.584, DE 13 DE OUTUBRO DE 2011
 # Link :
 # http://www.in.gov.br/visualiza/index.jsp?data=13/10/2011&jornal=1000&pagina=6&totalArquivos=6
 
@@ -1148,7 +1144,7 @@
 # Conflicts between [1] and [2] were resolved as follows:
 #
 #  - [1] says the 1910 transition was Jan 1, [2] says Jan 10 and cites
-#    Boletín Nº 1, Aviso Nº 1 (1910).  Go with [2].
+#    Boletín No. 1, Aviso No. 1 (1910).  Go with [2].
 #
 #  - [1] says SMT was -4:42:45, [2] says Chile's official time from
 #    1916 to 1919 was -4:42:46.3, the meridian of Chile's National
@@ -1156,7 +1152,7 @@
 #    Quinta Normal in Santiago.  Go with [2], rounding it to -4:42:46.
 #
 #  - [1] says the 1918 transition was Sep 1, [2] says Sep 10 and cites
-#    Boletín Nº 22, Aviso Nº 129/1918 (1918-08-23).  Go with [2].
+#    Boletín No. 22, Aviso No. 129/1918 (1918-08-23).  Go with [2].
 #
 #  - [1] does not give times for transitions; assume they occur
 #    at midnight mainland time, the current common practice.  However,
@@ -1556,7 +1552,7 @@
 # (1999-09) reports no date; go with above sources and Gerd Knops (2001-02-27).
 Rule	Para	1998	2001	-	Mar	Sun>=1	0:00	0	-
 # From Rives McDow (2002-02-28):
-# A decree was issued in Paraguay (no. 16350) on 2002-02-26 that changed the
+# A decree was issued in Paraguay (No. 16350) on 2002-02-26 that changed the
 # dst method to be from the first Sunday in September to the first Sunday in
 # April.
 Rule	Para	2002	2004	-	Apr	Sun>=1	0:00	0	-
@@ -1736,8 +1732,19 @@
 Rule	Uruguay	2006	only	-	Mar	12	 2:00	0	-
 # From Jesper Nørgaard Welen (2006-09-06):
 # http://www.presidencia.gub.uy/_web/decretos/2006/09/CM%20210_08%2006%202006_00001.PDF
-Rule	Uruguay	2006	max	-	Oct	Sun>=1	 2:00	1:00	S
-Rule	Uruguay	2007	max	-	Mar	Sun>=8	 2:00	0	-
+#
+# From Steffen Thorsen (2015-06-30):
+# ... it looks like they will not be using DST the coming summer:
+# http://www.elobservador.com.uy/gobierno-resolvio-que-no-habra-cambio-horario-verano-n656787
+# http://www.republica.com.uy/este-ano-no-se-modificara-el-huso-horario-en-uruguay/523760/
+# From Paul Eggert (2015-06-30):
+# Apparently restaurateurs complained that DST caused people to go to the beach
+# instead of out to dinner.
+# From Pablo Camargo (2015-07-13):
+# http://archivo.presidencia.gub.uy/sci/decretos/2015/06/cons_min_201.pdf
+# [dated 2015-06-29; repeals Decree 311/006 dated 2006-09-04]
+Rule	Uruguay	2006	2014	-	Oct	Sun>=1	 2:00	1:00	S
+Rule	Uruguay	2007	2015	-	Mar	Sun>=8	 2:00	0	-
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone America/Montevideo	-3:44:44 -	LMT	1898 Jun 28
 			-3:44:44 -	MMT	1920 May  1 # Montevideo MT
@@ -1746,6 +1753,10 @@
 
 # Venezuela
 #
+# From Paul Eggert (2015-07-28):
+# For the 1965 transition see Gaceta Oficial No. 27.619 (1964-12-15), p 205.533
+# http://www.pgr.gob.ve/dmdocuments/1964/27619.pdf
+#
 # From John Stainforth (2007-11-28):
 # ... the change for Venezuela originally expected for 2007-12-31 has
 # been brought forward to 2007-12-09.  The official announcement was
@@ -1757,6 +1768,6 @@
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	America/Caracas	-4:27:44 -	LMT	1890
 			-4:27:40 -	CMT	1912 Feb 12 # Caracas Mean Time?
-			-4:30	-	VET	1965        # Venezuela Time
+			-4:30	-	VET	1965 Jan  1  0:00 # Venezuela T.
 			-4:00	-	VET	2007 Dec  9  3:00
 			-4:30	-	VET
--- a/jdk/make/data/tzdata/zone.tab	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/make/data/tzdata/zone.tab	Mon Aug 17 11:18:31 2015 -0700
@@ -129,8 +129,8 @@
 BY	+5354+02734	Europe/Minsk
 BZ	+1730-08812	America/Belize
 CA	+4734-05243	America/St_Johns	Newfoundland Time, including SE Labrador
-CA	+4439-06336	America/Halifax	Atlantic Time - Nova Scotia (most places), PEI
-CA	+4612-05957	America/Glace_Bay	Atlantic Time - Nova Scotia - places that did not observe DST 1966-1971
+CA	+4439-06336	America/Halifax	Atlantic Time - Nova Scotia (peninsula), PEI
+CA	+4612-05957	America/Glace_Bay	Atlantic Time - Nova Scotia (Cape Breton)
 CA	+4606-06447	America/Moncton	Atlantic Time - New Brunswick
 CA	+5320-06025	America/Goose_Bay	Atlantic Time - Labrador - most locations
 CA	+5125-05707	America/Blanc-Sablon	Atlantic Standard Time - Quebec - Lower North Shore
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jdk/src/java.base/aix/native/libjava/ProcessHandleImpl_aix.c	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,50 @@
+/*
+ * Copyright (c) 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.  Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * 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.
+ */
+
+#include "jni.h"
+
+#include "ProcessHandleImpl_unix.h"
+
+#include <sys/procfs.h>
+
+/*
+ * Implementation of native ProcessHandleImpl functions for AIX.
+ * See ProcessHandleImpl_unix.c for more details.
+ */
+
+void os_initNative(JNIEnv *env, jclass clazz) {}
+
+jint os_getChildren(JNIEnv *env, jlong jpid, jlongArray jarray,
+                    jlongArray jparentArray, jlongArray jstimesArray) {
+    return unix_getChildren(env, jpid, jarray, jparentArray, jstimesArray);
+}
+
+pid_t os_getParentPidAndTimings(JNIEnv *env, pid_t pid, jlong *total, jlong *start) {
+    return unix_getParentPidAndTimings(env, pid, total, start);
+}
+
+void os_getCmdlineAndUserInfo(JNIEnv *env, jobject jinfo, pid_t pid) {
+    unix_getCmdlineAndUserInfo(env, jinfo, pid);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jdk/src/java.base/linux/native/libjava/ProcessHandleImpl_linux.c	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,266 @@
+/*
+ * Copyright (c) 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.  Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * 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.
+ */
+
+#include "jni.h"
+#include "jni_util.h"
+#include "java_lang_ProcessHandleImpl.h"
+#include "java_lang_ProcessHandleImpl_Info.h"
+
+#include "ProcessHandleImpl_unix.h"
+
+
+#include <fcntl.h>
+#include <limits.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+
+#include <string.h>
+#include <ctype.h>
+
+/*
+ * Implementation of native ProcessHandleImpl functions for Linux.
+ * See ProcessHandleImpl_unix.c for more details.
+ */
+
+/* Signatures for internal OS specific functions. */
+static long long getBoottime(JNIEnv *env);
+
+/* A static offset in milliseconds since boot. */
+static long long bootTime_ms;
+static long clock_ticks_per_second;
+static int pageSize;
+
+void os_initNative(JNIEnv *env, jclass clazz) {
+    bootTime_ms = getBoottime(env);
+    clock_ticks_per_second = sysconf(_SC_CLK_TCK);
+    pageSize = sysconf(_SC_PAGESIZE);
+}
+
+jint os_getChildren(JNIEnv *env, jlong jpid, jlongArray jarray,
+                    jlongArray jparentArray, jlongArray jstimesArray) {
+    return unix_getChildren(env, jpid, jarray, jparentArray, jstimesArray);
+}
+
+/**
+ * Read /proc/<pid>/stat and return the ppid, total cputime and start time.
+ * -1 is fail;  >=  0 is parent pid
+ * 'total' will contain the running time of 'pid' in nanoseconds.
+ * 'start' will contain the start time of 'pid' in milliseconds since epoch.
+ */
+pid_t os_getParentPidAndTimings(JNIEnv *env, pid_t pid,
+                                jlong *totalTime, jlong* startTime) {
+    FILE* fp;
+    char buffer[2048];
+    int statlen;
+    char fn[32];
+    char* s;
+    int parentPid;
+    long unsigned int utime = 0;      // clock tics
+    long unsigned int stime = 0;      // clock tics
+    long long unsigned int start = 0; // microseconds
+
+    /*
+     * Try to stat and then open /proc/%d/stat
+     */
+    snprintf(fn, sizeof fn, "/proc/%d/stat", pid);
+
+    fp = fopen(fn, "r");
+    if (fp == NULL) {
+        return -1;              // fail, no such /proc/pid/stat
+    }
+
+    /*
+     * The format is: pid (command) state ppid ...
+     * As the command could be anything we must find the right most
+     * ")" and then skip the white spaces that follow it.
+     */
+    statlen = fread(buffer, 1, (sizeof buffer - 1), fp);
+    fclose(fp);
+    if (statlen < 0) {
+        return -1;               // parent pid is not available
+    }
+
+    buffer[statlen] = '\0';
+    s = strchr(buffer, '(');
+    if (s == NULL) {
+        return -1;               // parent pid is not available
+    }
+    // Found start of command, skip to end
+    s++;
+    s = strrchr(s, ')');
+    if (s == NULL) {
+        return -1;               // parent pid is not available
+    }
+    s++;
+
+    // Scan the needed fields from status, retaining only ppid(4),
+    // utime (14), stime(15), starttime(22)
+    if (4 != sscanf(s, " %*c %d %*d %*d %*d %*d %*d %*u %*u %*u %*u %lu %lu %*d %*d %*d %*d %*d %*d %llu",
+            &parentPid, &utime, &stime, &start)) {
+        return 0;              // not all values parsed; return error
+    }
+
+    *totalTime = (utime + stime) * (jlong)(1000000000 / clock_ticks_per_second);
+
+    *startTime = bootTime_ms + ((start * 1000) / clock_ticks_per_second);
+
+    return parentPid;
+}
+
+void os_getCmdlineAndUserInfo(JNIEnv *env, jobject jinfo, pid_t pid) {
+    int fd;
+    int cmdlen = 0;
+    char *cmdline = NULL, *cmdEnd = NULL; // used for command line args and exe
+    char *args = NULL;
+    jstring cmdexe = NULL;
+    char fn[32];
+    struct stat stat_buf;
+
+    /*
+     * Try to open /proc/<pid>/cmdline
+     */
+    snprintf(fn, sizeof fn, "/proc/%d/cmdline", pid);
+    if ((fd = open(fn, O_RDONLY)) < 0) {
+        return;
+    }
+
+    if (fstat(fd, &stat_buf) == 0) {
+        unix_getUserInfo(env, jinfo, stat_buf.st_uid);
+    }
+
+    do {                // Block to break out of on errors
+        int i, truncated = 0;
+        int count;
+        char *s;
+
+        /*
+         * The path name read by readlink() is limited to PATH_MAX characters.
+         * The content of /proc/<pid>/cmdline is limited to PAGE_SIZE characters.
+         */
+        cmdline = (char*)malloc((PATH_MAX > pageSize ? PATH_MAX : pageSize) + 1);
+        if (cmdline == NULL) {
+            break;
+        }
+
+        /*
+         * On Linux, the full path to the executable command is the link in
+         * /proc/<pid>/exe. But it is only readable for processes we own.
+         */
+        snprintf(fn, sizeof fn, "/proc/%d/exe", pid);
+        if ((cmdlen = readlink(fn, cmdline, PATH_MAX)) > 0) {
+            // null terminate and create String to store for command
+            cmdline[cmdlen] = '\0';
+            cmdexe = JNU_NewStringPlatform(env, cmdline);
+            (*env)->ExceptionClear(env);        // unconditionally clear any exception
+        }
+
+        /*
+         * The command-line arguments appear as a set of strings separated by
+         * null bytes ('\0'), with a further null byte after the last
+         * string. The last string is only null terminated if the whole command
+         * line is not exceeding (PAGE_SIZE - 1) characters.
+         */
+        cmdlen = 0;
+        s = cmdline;
+        while ((count = read(fd, s, pageSize - cmdlen)) > 0) {
+            cmdlen += count;
+            s += count;
+        }
+        if (count < 0) {
+            break;
+        }
+        // We have to null-terminate because the process may have changed argv[]
+        // or because the content in /proc/<pid>/cmdline is truncated.
+        cmdline[cmdlen] = '\0';
+        if (cmdlen == pageSize && cmdline[pageSize - 1] != '\0') {
+            truncated = 1;
+        } else if (cmdlen == 0) {
+            // /proc/<pid>/cmdline was empty. This usually happens for kernel processes
+            // like '[kthreadd]'. We could try to read /proc/<pid>/comm in the future.
+        }
+        if (cmdlen > 0 && (cmdexe == NULL || truncated)) {
+            // We have no exact command or the arguments are truncated.
+            // In this case we save the command line from /proc/<pid>/cmdline.
+            args = (char*)malloc(pageSize + 1);
+            if (args != NULL) {
+                memcpy(args, cmdline, cmdlen + 1);
+                for (i = 0; i < cmdlen; i++) {
+                    if (args[i] == '\0') {
+                        args[i] = ' ';
+                    }
+                }
+            }
+        }
+        i = 0;
+        if (!truncated) {
+            // Count the arguments
+            cmdEnd = &cmdline[cmdlen];
+            for (s = cmdline; *s != '\0' && (s < cmdEnd); i++) {
+                s += strnlen(s, (cmdEnd - s)) + 1;
+            }
+        }
+        unix_fillArgArray(env, jinfo, i, cmdline, cmdEnd, cmdexe, args);
+    } while (0);
+
+    if (cmdline != NULL) {
+        free(cmdline);
+    }
+    if (args != NULL) {
+        free(args);
+    }
+    if (fd >= 0) {
+        close(fd);
+    }
+}
+
+/**
+ * Read the boottime from /proc/stat.
+ */
+static long long getBoottime(JNIEnv *env) {
+    FILE *fp;
+    char *line = NULL;
+    size_t len = 0;
+    long long bootTime = 0;
+
+    fp = fopen("/proc/stat", "r");
+    if (fp == NULL) {
+        return -1;
+    }
+
+    while (getline(&line, &len, fp) != -1) {
+        if (sscanf(line, "btime %llu", &bootTime) == 1) {
+            break;
+        }
+    }
+    free(line);
+
+    if (fp != 0) {
+        fclose(fp);
+    }
+
+    return bootTime * 1000;
+}
--- a/jdk/src/java.base/macosx/native/libjava/ProcessHandleImpl_macosx.c	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/macosx/native/libjava/ProcessHandleImpl_macosx.c	Mon Aug 17 11:18:31 2015 -0700
@@ -28,6 +28,8 @@
 #include "java_lang_ProcessHandleImpl.h"
 #include "java_lang_ProcessHandleImpl_Info.h"
 
+#include "ProcessHandleImpl_unix.h"
+
 #include <stdio.h>
 #include <errno.h>
 #include <signal.h>
@@ -38,144 +40,15 @@
 #include <sys/sysctl.h>
 
 /**
- * Implementations of ProcessHandleImpl functions for MAC OS X;
- * are NOT common to all Unix variants.
+ * Implementation of native ProcessHandleImpl functions for MAC OS X.
+ * See ProcessHandleImpl_unix.c for more details.
  */
 
-static void getStatInfo(JNIEnv *env, jobject jinfo, pid_t pid);
-static void getCmdlineInfo(JNIEnv *env, jobject jinfo, pid_t pid);
-
-/*
- * Common Unix function to lookup the uid and return the user name.
- */
-extern jstring uidToUser(JNIEnv* env, uid_t uid);
-
-/* Field id for jString 'command' in java.lang.ProcessHandle.Info */
-static jfieldID ProcessHandleImpl_Info_commandID;
-
-/* Field id for jString[] 'arguments' in java.lang.ProcessHandle.Info */
-static jfieldID ProcessHandleImpl_Info_argumentsID;
-
-/* Field id for jlong 'totalTime' in java.lang.ProcessHandle.Info */
-static jfieldID ProcessHandleImpl_Info_totalTimeID;
-
-/* Field id for jlong 'startTime' in java.lang.ProcessHandle.Info */
-static jfieldID ProcessHandleImpl_Info_startTimeID;
-
-/* Field id for jString 'user' in java.lang.ProcessHandleImpl.Info */
-static jfieldID ProcessHandleImpl_Info_userID;
-
-/* static value for clock ticks per second. */
-static long clock_ticks_per_second;
-
-/**************************************************************
- * Static method to initialize field IDs and the ticks per second rate.
- *
- * Class:     java_lang_ProcessHandleImpl_Info
- * Method:    initIDs
- * Signature: ()V
- */
-JNIEXPORT void JNICALL
-Java_java_lang_ProcessHandleImpl_00024Info_initIDs(JNIEnv *env, jclass clazz) {
-    CHECK_NULL(ProcessHandleImpl_Info_commandID =
-            (*env)->GetFieldID(env, clazz, "command", "Ljava/lang/String;"));
-    CHECK_NULL(ProcessHandleImpl_Info_argumentsID =
-            (*env)->GetFieldID(env, clazz, "arguments", "[Ljava/lang/String;"));
-    CHECK_NULL(ProcessHandleImpl_Info_totalTimeID =
-            (*env)->GetFieldID(env, clazz, "totalTime", "J"));
-    CHECK_NULL(ProcessHandleImpl_Info_startTimeID =
-            (*env)->GetFieldID(env, clazz, "startTime", "J"));
-    CHECK_NULL(ProcessHandleImpl_Info_userID =
-            (*env)->GetFieldID(env, clazz, "user", "Ljava/lang/String;"));
-}
-/**************************************************************
- * Static method to initialize the ticks per second rate.
- *
- * Class:     java_lang_ProcessHandleImpl
- * Method:    initNative
- * Signature: ()V
- */
-JNIEXPORT void JNICALL
-Java_java_lang_ProcessHandleImpl_initNative(JNIEnv *env, jclass clazz) {
-      clock_ticks_per_second = sysconf(_SC_CLK_TCK);
-}
-
-/*
- * Check if a process is alive.
- * Return the start time (ms since 1970) if it is available.
- * If the start time is not available return 0.
- * If the pid is invalid, return -1.
- *
- * Class:     java_lang_ProcessHandleImpl
- * Method:    isAlive0
- * Signature: (J)J
- */
-JNIEXPORT jlong JNICALL
-Java_java_lang_ProcessHandleImpl_isAlive0(JNIEnv *env, jobject obj, jlong jpid) {
-    pid_t pid = (pid_t) jpid;
-    struct kinfo_proc kp;
-    size_t bufSize = sizeof kp;
-
-    // Read the process info for the specific pid
-    int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, pid};
-
-    if (sysctl(mib, 4, &kp, &bufSize, NULL, 0) < 0) {
-        return  (errno == EINVAL) ? -1 : 0;
-    } else {
-        return (bufSize == 0) ?  -1 :
-                                 (jlong) (kp.kp_proc.p_starttime.tv_sec * 1000
-                                        + kp.kp_proc.p_starttime.tv_usec / 1000);
-    }
-}
-
-/*
- * Returns the parent pid of the requested pid.
- *
- * Class:     java_lang_ProcessHandleImpl
- * Method:    parent0
- * Signature: (J)J
- */
-JNIEXPORT jlong JNICALL
-Java_java_lang_ProcessHandleImpl_parent0(JNIEnv *env,
-                                         jobject obj,
-                                         jlong jpid,
-                                         jlong startTime) {
-    pid_t pid = (pid_t) jpid;
-    pid_t ppid = -1;
-
-    if (pid == getpid()) {
-        ppid = getppid();
-    } else {
-        const pid_t pid = (pid_t) jpid;
-        struct kinfo_proc kp;
-        size_t bufSize = sizeof kp;
-
-        // Read the process info for the specific pid
-        int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, pid};
-        if (sysctl(mib, 4, &kp, &bufSize, NULL, 0) < 0) {
-            JNU_ThrowByNameWithLastError(env,
-                "java/lang/RuntimeException", "sysctl failed");
-            return -1;
-        }
-        // If the buffer is full and for the pid requested then check the start
-        if (bufSize > 0 && kp.kp_proc.p_pid == pid) {
-            jlong start = (jlong) (kp.kp_proc.p_starttime.tv_sec * 1000
-                                   + kp.kp_proc.p_starttime.tv_usec / 1000);
-            if (start == startTime || start == 0 || startTime == 0) {
-                ppid = kp.kp_eproc.e_ppid;
-            }
-        }
-    }
-    return (jlong) ppid;
-}
+void os_initNative(JNIEnv *env, jclass clazz) {}
 
 /*
  * Returns the children of the requested pid and optionally each parent.
  *
- * Class:     java_lang_ProcessHandleImpl
- * Method:    getProcessPids0
- * Signature: (J[J[J)I
- *
  * Use sysctl to accumulate any process whose parent pid is zero or matches.
  * The resulting pids are stored into the array of longs.
  * The number of pids is returned if they all fit.
@@ -183,13 +56,8 @@
  * If the array is too short, excess pids are not stored and
  * the desired length is returned.
  */
-JNIEXPORT jint JNICALL
-Java_java_lang_ProcessHandleImpl_getProcessPids0(JNIEnv *env,
-                                                 jclass clazz,
-                                                 jlong jpid,
-                                                 jlongArray jarray,
-                                                 jlongArray jparentArray,
-                                                 jlongArray jstimesArray) {
+jint os_getChildren(JNIEnv *env, jlong jpid, jlongArray jarray,
+                    jlongArray jparentArray, jlongArray jstimesArray) {
     jlong* pids = NULL;
     jlong* ppids = NULL;
     jlong* stimes = NULL;
@@ -303,35 +171,17 @@
     return count;
 }
 
-/**************************************************************
- * Implementation of ProcessHandleImpl_Info native methods.
- */
-
-/*
- * Fill in the Info object from the OS information about the process.
- *
- * Class:     java_lang_ProcessHandleImpl
- * Method:    info0
- * Signature: (J)I
+/**
+ * Use sysctl and return the ppid, total cputime and start time.
+ * Return: -1 is fail;  >=  0 is parent pid
+ * 'total' will contain the running time of 'pid' in nanoseconds.
+ * 'start' will contain the start time of 'pid' in milliseconds since epoch.
  */
-JNIEXPORT void JNICALL
-Java_java_lang_ProcessHandleImpl_00024Info_info0(JNIEnv *env,
-                                                 jobject jinfo,
-                                                 jlong jpid) {
-    pid_t pid = (pid_t) jpid;
-    getStatInfo(env, jinfo, pid);
-    getCmdlineInfo(env, jinfo, pid);
-}
-
-/**
- * Read /proc/<pid>/stat and fill in the fields of the Info object.
- * The executable name, plus the user, system, and start times are gathered.
- */
-static void getStatInfo(JNIEnv *env, jobject jinfo, pid_t jpid) {
-    jlong totalTime;                    // nanoseconds
-    unsigned long long startTime;       // milliseconds
+pid_t os_getParentPidAndTimings(JNIEnv *env, pid_t jpid,
+                                jlong *totalTime, jlong *startTime) {
 
     const pid_t pid = (pid_t) jpid;
+    pid_t ppid = -1;
     struct kinfo_proc kp;
     size_t bufSize = sizeof kp;
 
@@ -339,92 +189,70 @@
     int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, pid};
 
     if (sysctl(mib, 4, &kp, &bufSize, NULL, 0) < 0) {
-        if (errno == EINVAL) {
-            return;
-        } else {
-            JNU_ThrowByNameWithLastError(env,
-                "java/lang/RuntimeException", "sysctl failed");
-        }
-        return;
+        JNU_ThrowByNameWithLastError(env,
+            "java/lang/RuntimeException", "sysctl failed");
+        return -1;
     }
-
-    // Convert the UID to the username
-    jstring name = NULL;
-    CHECK_NULL((name = uidToUser(env, kp.kp_eproc.e_ucred.cr_uid)));
-    (*env)->SetObjectField(env, jinfo, ProcessHandleImpl_Info_userID, name);
-    JNU_CHECK_EXCEPTION(env);
-
-    startTime = kp.kp_proc.p_starttime.tv_sec * 1000 +
-                kp.kp_proc.p_starttime.tv_usec / 1000;
-
-    (*env)->SetLongField(env, jinfo, ProcessHandleImpl_Info_startTimeID, startTime);
-    JNU_CHECK_EXCEPTION(env);
+    if (bufSize > 0 && kp.kp_proc.p_pid == pid) {
+        *startTime = (jlong) (kp.kp_proc.p_starttime.tv_sec * 1000 +
+                              kp.kp_proc.p_starttime.tv_usec / 1000);
+        ppid = kp.kp_eproc.e_ppid;
+    }
 
     // Get cputime if for current process
     if (pid == getpid()) {
         struct rusage usage;
-        if (getrusage(RUSAGE_SELF, &usage) != 0) {
-            return;
+        if (getrusage(RUSAGE_SELF, &usage) == 0) {
+          jlong microsecs =
+              usage.ru_utime.tv_sec * 1000 * 1000 + usage.ru_utime.tv_usec +
+              usage.ru_stime.tv_sec * 1000 * 1000 + usage.ru_stime.tv_usec;
+          *totalTime = microsecs * 1000;
         }
-        jlong microsecs =
-            usage.ru_utime.tv_sec * 1000 * 1000 + usage.ru_utime.tv_usec +
-            usage.ru_stime.tv_sec * 1000 * 1000 + usage.ru_stime.tv_usec;
-        totalTime = microsecs * 1000;
-        (*env)->SetLongField(env, jinfo, ProcessHandleImpl_Info_totalTimeID, totalTime);
-        JNU_CHECK_EXCEPTION(env);
     }
+
+    return ppid;
+
 }
 
 /**
- * Construct the argument array by parsing the arguments from the sequence of arguments.
+ * Return the uid of a process or -1 on error
  */
-static int fillArgArray(JNIEnv *env, jobject jinfo, int nargs,
-                        const char *cp, const char *argsEnd) {
-    jstring str = NULL;
-    jobject argsArray;
-    int i;
-
-    if (nargs < 1) {
-        return 0;
-    }
-    // Create a String array for nargs-1 elements
-    CHECK_NULL_RETURN((argsArray = (*env)->NewObjectArray(env,
-            nargs - 1, JNU_ClassString(env), NULL)), -1);
+static uid_t getUID(pid_t pid) {
+    struct kinfo_proc kp;
+    size_t bufSize = sizeof kp;
 
-    for (i = 0; i < nargs - 1; i++) {
-        // skip to the next argument; omits arg[0]
-        cp += strnlen(cp, (argsEnd - cp)) + 1;
-
-        if (cp > argsEnd || *cp == '\0') {
-            return -2;  // Off the end pointer or an empty argument is an error
-        }
+    // Read the process info for the specific pid
+    int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, pid};
 
-        CHECK_NULL_RETURN((str = JNU_NewStringPlatform(env, cp)), -1);
-
-        (*env)->SetObjectArrayElement(env, argsArray, i, str);
-        JNU_CHECK_EXCEPTION_RETURN(env, -3);
+    if (sysctl(mib, 4, &kp, &bufSize, NULL, 0) == 0) {
+        if (bufSize > 0 && kp.kp_proc.p_pid == pid) {
+            return kp.kp_eproc.e_ucred.cr_uid;
+        }
     }
-    (*env)->SetObjectField(env, jinfo, ProcessHandleImpl_Info_argumentsID, argsArray);
-    JNU_CHECK_EXCEPTION_RETURN(env, -4);
-    return 0;
+    return (uid_t)-1;
 }
 
 /**
  * Retrieve the command and arguments for the process and store them
  * into the Info object.
  */
-static void getCmdlineInfo(JNIEnv *env, jobject jinfo, pid_t pid) {
+void os_getCmdlineAndUserInfo(JNIEnv *env, jobject jinfo, pid_t pid) {
     int mib[3], maxargs, nargs, i;
     size_t size;
     char *args, *cp, *sp, *np;
 
+    // Get the UID first. This is done here because it is cheap to do it here
+    // on other platforms like Linux/Solaris/AIX where the uid comes from the
+    // same source like the command line info.
+    unix_getUserInfo(env, jinfo, getUID(pid));
+
     // Get the maximum size of the arguments
     mib[0] = CTL_KERN;
     mib[1] = KERN_ARGMAX;
     size = sizeof(maxargs);
     if (sysctl(mib, 2, &maxargs, &size, NULL, 0) == -1) {
             JNU_ThrowByNameWithLastError(env,
-                    "java/lang/RuntimeException", "sysctl failed");
+                "java/lang/RuntimeException", "sysctl failed");
         return;
     }
 
@@ -437,7 +265,7 @@
 
     do {            // a block to break out of on error
         char *argsEnd;
-        jstring str = NULL;
+        jstring cmdexe = NULL;
 
         mib[0] = CTL_KERN;
         mib[1] = KERN_PROCARGS2;
@@ -445,7 +273,7 @@
         size = (size_t) maxargs;
         if (sysctl(mib, 3, args, &size, NULL, 0) == -1) {
             if (errno != EINVAL) {
-            JNU_ThrowByNameWithLastError(env,
+                JNU_ThrowByNameWithLastError(env,
                     "java/lang/RuntimeException", "sysctl failed");
             }
             break;
@@ -456,11 +284,7 @@
         argsEnd = &args[size];
 
         // Store the command executable path
-        if ((str = JNU_NewStringPlatform(env, cp)) == NULL) {
-            break;
-        }
-        (*env)->SetObjectField(env, jinfo, ProcessHandleImpl_Info_commandID, str);
-        if ((*env)->ExceptionCheck(env)) {
+        if ((cmdexe = JNU_NewStringPlatform(env, cp)) == NULL) {
             break;
         }
 
@@ -471,7 +295,7 @@
             }
         }
 
-        fillArgArray(env, jinfo, nargs, cp, argsEnd);
+        unix_fillArgArray(env, jinfo, nargs, cp, argsEnd, cmdexe, NULL);
     } while (0);
     // Free the arg buffer
     free(args);
--- a/jdk/src/java.base/share/classes/java/lang/ProcessHandle.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/share/classes/java/lang/ProcessHandle.java	Mon Aug 17 11:18:31 2015 -0700
@@ -225,8 +225,34 @@
         public Optional<String> command();
 
         /**
+         * Returns the command line of the process.
+         * <p>
+         * If {@link #command command()} and  {@link #arguments arguments()} return
+         * non-empty optionals, this is simply a convenience method which concatenates
+         * the values of the two functions separated by spaces. Otherwise it will return a
+         * best-effort, platform dependent representation of the command line.
+         *
+         * @apiNote Note that the returned executable pathname and the
+         *          arguments may be truncated on some platforms due to system
+         *          limitations.
+         *          <p>
+         *          The executable pathname may contain only the
+         *          name of the executable without the full path information.
+         *          It is undecideable whether white space separates different
+         *          arguments or is part of a single argument.
+         *
+         * @return an {@code Optional<String>} of the command line
+         *         of the process
+         */
+        public Optional<String> commandLine();
+
+        /**
          * Returns an array of Strings of the arguments of the process.
          *
+         * @apiNote On some platforms, native applications are free to change
+         *          the arguments array after startup and this method may only
+         *          show the changed values.
+         *
          * @return an {@code Optional<String[]>} of the arguments of the process
          */
         public Optional<String[]> arguments();
--- a/jdk/src/java.base/share/classes/java/lang/ProcessHandleImpl.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/share/classes/java/lang/ProcessHandleImpl.java	Mon Aug 17 11:18:31 2015 -0700
@@ -472,7 +472,7 @@
     /**
      * Implementation of ProcessHandle.Info.
      * Information snapshot about a process.
-     * The attributes of a process vary by operating system and not available
+     * The attributes of a process vary by operating system and are not available
      * in all implementations.  Additionally, information about other processes
      * is limited by the operating system privileges of the process making the request.
      * If a value is not available, either a {@code null} or {@code -1} is stored.
@@ -496,6 +496,7 @@
         private native void info0(long pid);
 
         String command;
+        String commandLine;
         String[] arguments;
         long startTime;
         long totalTime;
@@ -503,6 +504,7 @@
 
         Info() {
             command = null;
+            commandLine = null;
             arguments = null;
             startTime = -1L;
             totalTime = -1L;
@@ -539,6 +541,15 @@
         }
 
         @Override
+        public Optional<String> commandLine() {
+            if (command != null && arguments != null) {
+                return Optional.of(command + " " + String.join(" ", arguments));
+            } else {
+                return Optional.ofNullable(commandLine);
+            }
+        }
+
+        @Override
         public Optional<String[]> arguments() {
             return Optional.ofNullable(arguments);
         }
@@ -580,6 +591,11 @@
                 sb.append("args: ");
                 sb.append(Arrays.toString(arguments));
             }
+            if (commandLine != null) {
+                if (sb.length() != 0) sb.append(", ");
+                sb.append("cmdLine: ");
+                sb.append(commandLine);
+            }
             if (startTime > 0) {
                 if (sb.length() != 0) sb.append(", ");
                 sb.append("startTime: ");
--- a/jdk/src/java.base/share/classes/java/net/InetSocketAddress.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/share/classes/java/net/InetSocketAddress.java	Mon Aug 17 11:18:31 2015 -0700
@@ -206,7 +206,7 @@
      * @param   hostname the Host name
      * @param   port    The port number
      * @throws IllegalArgumentException if the port parameter is outside the range
-     * of valid port values, or if the hostname parameter is <TT>null</TT>.
+     * of valid port values, or if the hostname parameter is {@code null}.
      * @throws SecurityException if a security manager is present and
      *                           permission to resolve the host name is
      *                           denied.
@@ -244,7 +244,7 @@
      * @param   port    The port number
      * @throws IllegalArgumentException if the port parameter is outside
      *                  the range of valid port values, or if the hostname
-     *                  parameter is <TT>null</TT>.
+     *                  parameter is {@code null}.
      * @see     #isUnresolved()
      * @return  a {@code InetSocketAddress} representing the unresolved
      *          socket address
--- a/jdk/src/java.base/share/classes/java/net/spi/package-info.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/share/classes/java/net/spi/package-info.java	Mon Aug 17 11:18:31 2015 -0700
@@ -24,7 +24,7 @@
  */
 
 /**
- * Service-provider classes for the <tt>{@link java.net}</tt> package.
+ * Service-provider classes for the {@link java.net} package.
  *
  * <p> Only developers who are defining new URL stream handler providers
  * should need to make direct use of this package.
--- a/jdk/src/java.base/share/classes/java/util/Formatter.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/share/classes/java/util/Formatter.java	Mon Aug 17 11:18:31 2015 -0700
@@ -273,6 +273,10 @@
  *
  * </ol>
  *
+ * <p> For category <i>General</i>, <i>Character</i>, <i>Numberic</i>,
+ * <i>Integral</i> and <i>Date/Time</i> conversion, unless otherwise specified,
+ * if the argument <i>arg</i> is {@code null}, then the result is "{@code null}".
+ *
  * <p> The following table summarizes the supported conversions.  Conversions
  * denoted by an upper-case character (i.e. {@code 'B'}, {@code 'H'},
  * {@code 'S'}, {@code 'C'}, {@code 'X'}, {@code 'E'}, {@code 'G'},
@@ -301,14 +305,12 @@
  *
  * <tr><td valign="top"> {@code 'h'}, {@code 'H'}
  *     <td valign="top"> general
- *     <td> If the argument <i>arg</i> is {@code null}, then the result is
- *     "{@code null}".  Otherwise, the result is obtained by invoking
+ *     <td> The result is obtained by invoking
  *     {@code Integer.toHexString(arg.hashCode())}.
  *
  * <tr><td valign="top"> {@code 's'}, {@code 'S'}
  *     <td valign="top"> general
- *     <td> If the argument <i>arg</i> is {@code null}, then the result is
- *     "{@code null}".  If <i>arg</i> implements {@link Formattable}, then
+ *     <td> If <i>arg</i> implements {@link Formattable}, then
  *     {@link Formattable#formatTo arg.formatTo} is invoked. Otherwise, the
  *     result is obtained by invoking {@code arg.toString()}.
  *
@@ -683,6 +685,10 @@
  * methods such as {@link String#format(String,Object...) String.format} and
  * {@link java.io.PrintStream#printf(String,Object...) PrintStream.printf}.
  *
+ * <p> For category <i>General</i>, <i>Character</i>, <i>Numberic</i>,
+ * <i>Integral</i> and <i>Date/Time</i> conversion, unless otherwise specified,
+ * if the argument <i>arg</i> is {@code null}, then the result is "{@code null}".
+ *
  * <p> Conversions denoted by an upper-case character (i.e. {@code 'B'},
  * {@code 'H'}, {@code 'S'}, {@code 'C'}, {@code 'X'}, {@code 'E'},
  * {@code 'G'}, {@code 'A'}, and {@code 'T'}) are the same as those for the
@@ -722,9 +728,8 @@
  *     <td valign="top"> <code>'&#92;u0068'</code>
  *     <td> Produces a string representing the hash code value of the object.
  *
- *     <p> If the argument, <i>arg</i> is {@code null}, then the
- *     result is "{@code null}".  Otherwise, the result is obtained
- *     by invoking {@code Integer.toHexString(arg.hashCode())}.
+ *     <p> The result is obtained by invoking
+ *     {@code Integer.toHexString(arg.hashCode())}.
  *
  *     <p> If the {@code '#'} flag is given, then a {@link
  *     FormatFlagsConversionMismatchException} will be thrown.
@@ -737,8 +742,7 @@
  *     <td valign="top"> <code>'&#92;u0073'</code>
  *     <td> Produces a string.
  *
- *     <p> If the argument is {@code null}, then the result is
- *     "{@code null}".  If the argument implements {@link Formattable}, then
+ *     <p> If the argument implements {@link Formattable}, then
  *     its {@link Formattable#formatTo formatTo} method is invoked.
  *     Otherwise, the result is obtained by invoking the argument's
  *     {@code toString()} method.
--- a/jdk/src/java.base/share/classes/javax/net/ssl/SSLContext.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/share/classes/javax/net/ssl/SSLContext.java	Mon Aug 17 11:18:31 2015 -0700
@@ -39,7 +39,7 @@
  * <p> Every implementation of the Java platform is required to support the
  * following standard {@code SSLContext} protocol:
  * <ul>
- * <li><tt>TLSv1</tt></li>
+ * <li>{@code TLSv1}</li>
  * </ul>
  * This protocol is described in the <a href=
  * "{@docRoot}/../technotes/guides/security/StandardNames.html#SSLContext">
--- a/jdk/src/java.base/share/classes/javax/net/ssl/SSLException.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/share/classes/javax/net/ssl/SSLException.java	Mon Aug 17 11:18:31 2015 -0700
@@ -53,13 +53,13 @@
     }
 
     /**
-     * Creates a <code>SSLException</code> with the specified
+     * Creates a {@code SSLException} with the specified
      * detail message and cause.
      *
      * @param message the detail message (which is saved for later retrieval
      *          by the {@link #getMessage()} method).
      * @param cause the cause (which is saved for later retrieval by the
-     *          {@link #getCause()} method).  (A <tt>null</tt> value is
+     *          {@link #getCause()} method).  (A {@code null} value is
      *          permitted, and indicates that the cause is nonexistent or
      *          unknown.)
      * @since 1.5
@@ -70,13 +70,13 @@
     }
 
     /**
-     * Creates a <code>SSLException</code> with the specified cause
-     * and a detail message of <tt>(cause==null ? null : cause.toString())</tt>
+     * Creates a {@code SSLException} with the specified cause
+     * and a detail message of {@code (cause==null ? null : cause.toString())}
      * (which typically contains the class and detail message of
-     * <tt>cause</tt>).
+     * {@code cause}).
      *
      * @param cause the cause (which is saved for later retrieval by the
-     *          {@link #getCause()} method).  (A <tt>null</tt> value is
+     *          {@link #getCause()} method).  (A {@code null} value is
      *          permitted, and indicates that the cause is nonexistent or
      *          unknown.)
      * @since 1.5
--- a/jdk/src/java.base/share/classes/sun/net/ftp/FtpClientProvider.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/share/classes/sun/net/ftp/FtpClientProvider.java	Mon Aug 17 11:18:31 2015 -0700
@@ -52,7 +52,7 @@
      * Initializes a new instance of this class.
      *
      * @throws SecurityException if a security manager is installed and it denies
-     *         {@link RuntimePermission}<tt>("ftpClientProvider")</tt>
+     *         {@link RuntimePermission}{@code ("ftpClientProvider")}
      */
     protected FtpClientProvider() {
         SecurityManager sm = System.getSecurityManager();
@@ -108,7 +108,7 @@
      * <ol>
      *
      *   <li><p> If the system property
-     *   <tt>java.net.FtpClientProvider</tt> is defined then it is
+     *   {@code java.net.FtpClientProvider} is defined then it is
      *   taken to be the fully-qualified name of a concrete provider class.
      *   The class is loaded and instantiated; if this process fails then an
      *   unspecified unchecked error or exception is thrown.  </p></li>
@@ -116,8 +116,8 @@
      *   <li><p> If a provider class has been installed in a jar file that is
      *   visible to the system class loader, and that jar file contains a
      *   provider-configuration file named
-     *   <tt>java.net.FtpClientProvider</tt> in the resource
-     *   directory <tt>META-INF/services</tt>, then the first class name
+     *   {@code java.net.FtpClientProvider} in the resource
+     *   directory {@code META-INF/services}, then the first class name
      *   specified in that file is taken.  The class is loaded and
      *   instantiated; if this process fails then an unspecified unchecked error or exception is
      *   thrown.  </p></li>
--- a/jdk/src/java.base/share/classes/sun/security/rsa/RSAPadding.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/share/classes/sun/security/rsa/RSAPadding.java	Mon Aug 17 11:18:31 2015 -0700
@@ -319,18 +319,17 @@
             }
             // generate non-zero padding bytes
             // use a buffer to reduce calls to SecureRandom
-            byte[] r = new byte[64];
-            int i = -1;
-            while (psSize-- > 0) {
-                int b;
-                do {
-                    if (i < 0) {
-                        random.nextBytes(r);
-                        i = r.length - 1;
+            while (psSize > 0) {
+                // extra bytes to avoid zero bytes,
+                // number of zero bytes <= 4 in 98% cases
+                byte[] r = new byte[psSize + 4];
+                random.nextBytes(r);
+                for (int i = 0; i < r.length && psSize > 0; i++) {
+                    if (r[i] != 0) {
+                        padded[k++] = r[i];
+                        psSize--;
                     }
-                    b = r[i--] & 0xff;
-                } while (b == 0);
-                padded[k++] = (byte)b;
+                }
             }
         }
         return padded;
--- a/jdk/src/java.base/share/classes/sun/util/PreHashedMap.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/share/classes/sun/util/PreHashedMap.java	Mon Aug 17 11:18:31 2015 -0700
@@ -56,7 +56,7 @@
  *
  * }</pre></blockquote>
  *
- * <p> The <tt>init</tt> method is invoked by the <tt>PreHashedMap</tt>
+ * <p> The {@code init} method is invoked by the {@code PreHashedMap}
  * constructor with an object array long enough for the map's rows.  The method
  * must construct the hash chain for each row and store it in the appropriate
  * element of the array.
@@ -73,7 +73,7 @@
  * methods in the {@link java.util.Collections} utility class.
  *
  * <p> In the JDK build, subclasses of this class are typically created via the
- * <tt>Hasher</tt> program in the <tt>make/tools/Hasher</tt> directory.
+ * {@code Hasher} program in the {@code make/tools/Hasher} directory.
  *
  * @author Mark Reinhold
  * @since 1.5
@@ -95,7 +95,7 @@
      * Creates a new map.
      *
      * <p> This constructor invokes the {@link #init init} method, passing it a
-     * newly-constructed row array that is <tt>rows</tt> elements long.
+     * newly-constructed row array that is {@code rows} elements long.
      *
      * @param rows
      *        The number of rows in the map
--- a/jdk/src/java.base/solaris/native/libjava/ProcessHandleImpl_solaris.c	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/solaris/native/libjava/ProcessHandleImpl_solaris.c	Mon Aug 17 11:18:31 2015 -0700
@@ -24,368 +24,28 @@
  */
 
 #include "jni.h"
-#include "jni_util.h"
-#include "java_lang_ProcessHandleImpl.h"
-#include "java_lang_ProcessHandleImpl_Info.h"
-
-
-#include <stdio.h>
-#include <ctype.h>
-#include <dirent.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <procfs.h>
-#include <signal.h>
-#include <stdlib.h>
-#include <sys/stat.h>
-#include <sys/types.h>
-#include <unistd.h>
-#include <limits.h>
-
-/**
- * Implementations of ProcessHandleImpl functions that are
- * NOT common to all Unix variants:
- * - getProcessPids0(pid, pidArray)
- *
- * Implementations of ProcessHandleImpl_Info
- * - totalTime, startTime
- * - Command
- * - Arguments
- */
-
-/*
- * Signatures for internal OS specific functions.
- */
-static pid_t getStatInfo(JNIEnv *env, pid_t pid,
-                                     jlong *totalTime, jlong* startTime,
-                                     uid_t *uid);
-static void getCmdlineInfo(JNIEnv *env, jobject jinfo, pid_t pid);
-
-extern jstring uidToUser(JNIEnv* env, uid_t uid);
-
-/* Field id for jString 'command' in java.lang.ProcessHandle.Info */
-static jfieldID ProcessHandleImpl_Info_commandID;
-
-/* Field id for jString[] 'arguments' in java.lang.ProcessHandle.Info */
-static jfieldID ProcessHandleImpl_Info_argumentsID;
-
-/* Field id for jlong 'totalTime' in java.lang.ProcessHandle.Info */
-static jfieldID ProcessHandleImpl_Info_totalTimeID;
-
-/* Field id for jlong 'startTime' in java.lang.ProcessHandle.Info */
-static jfieldID ProcessHandleImpl_Info_startTimeID;
-
-/* Field id for jString 'user' in java.lang.ProcessHandleImpl.Info */
-static jfieldID ProcessHandleImpl_Info_userID;
-
-/* static value for clock ticks per second. */
-static long clock_ticks_per_second;
 
-/**************************************************************
- * Static method to initialize field IDs and the ticks per second rate.
- *
- * Class:     java_lang_ProcessHandleImpl_Info
- * Method:    initIDs
- * Signature: ()V
- */
-JNIEXPORT void JNICALL
-Java_java_lang_ProcessHandleImpl_00024Info_initIDs(JNIEnv *env, jclass clazz) {
-    CHECK_NULL(ProcessHandleImpl_Info_commandID = (*env)->GetFieldID(env,
-        clazz, "command", "Ljava/lang/String;"));
-    CHECK_NULL(ProcessHandleImpl_Info_argumentsID = (*env)->GetFieldID(env,
-        clazz, "arguments", "[Ljava/lang/String;"));
-    CHECK_NULL(ProcessHandleImpl_Info_totalTimeID = (*env)->GetFieldID(env,
-        clazz, "totalTime", "J"));
-    CHECK_NULL(ProcessHandleImpl_Info_startTimeID = (*env)->GetFieldID(env,
-        clazz, "startTime", "J"));
-    CHECK_NULL(ProcessHandleImpl_Info_userID = (*env)->GetFieldID(env,
-        clazz, "user", "Ljava/lang/String;"));
-}
-
-/**************************************************************
- * Static method to initialize the ticks per second rate.
- *
- * Class:     java_lang_ProcessHandleImpl
- * Method:    initNative
- * Signature: ()V
- */
-JNIEXPORT void JNICALL
-Java_java_lang_ProcessHandleImpl_initNative(JNIEnv *env, jclass clazz) {
-    clock_ticks_per_second = sysconf(_SC_CLK_TCK);
-}
+#include "ProcessHandleImpl_unix.h"
 
-/*
- * Check if a process is alive.
- * Return the start time (ms since 1970) if it is available.
- * If the start time is not available return 0.
- * If the pid is invalid, return -1.
- *
- * Class:     java_lang_ProcessHandleImpl
- * Method:    isAlive0
- * Signature: (J)J
- */
-JNIEXPORT jlong JNICALL
-Java_java_lang_ProcessHandleImpl_isAlive0(JNIEnv *env, jobject obj, jlong jpid) {
-    pid_t pid = (pid_t) jpid;
-    jlong startTime = 0L;
-    jlong totalTime = 0L;
-    uid_t uid = -1;
-    pid_t ppid = getStatInfo(env, pid, &totalTime, &startTime, &uid);
-    return (ppid < 0) ? -1 : startTime;
-}
-
-/*
- * Returns the parent pid of the requested pid.
- *
- * Class:     java_lang_ProcessHandleImpl
- * Method:    parent0
- * Signature: (J)J
- */
-JNIEXPORT jlong JNICALL
-Java_java_lang_ProcessHandleImpl_parent0(JNIEnv *env,
-                                         jobject obj,
-                                         jlong jpid,
-                                         jlong startTime) {
-    pid_t pid = (pid_t) jpid;
-    pid_t ppid = -1;
-
-    if (pid == getpid()) {
-        ppid = getppid();
-    } else {
-        jlong start = 0L;
-        jlong total = 0L;
-        uid_t uid = -1;
-
-        pid_t ppid = getStatInfo(env, pid, &total, &start, &uid);
-        if (start != startTime
-            && start != 0
-            && startTime != 0) {
-            ppid = -1;
-        }
-    }
-    return (jlong) ppid;
-}
+#include <procfs.h>
 
 /*
- * Returns the children of the requested pid and optionally each parent.
- *
- * Class:     java_lang_ProcessHandleImpl
- * Method:    getChildPids
- * Signature: (J[J)I
- *
- * Reads /proc and accumulates any process who parent pid matches.
- * The resulting pids are stored into the array of longs.
- * The number of pids is returned if they all fit.
- * If the array is too short, the desired length is returned.
+ * Implementation of native ProcessHandleImpl functions for Solaris.
+ * See ProcessHandleImpl_unix.c for more details.
  */
-JNIEXPORT jint JNICALL
-Java_java_lang_ProcessHandleImpl_getProcessPids0(JNIEnv *env,
-                                                 jclass clazz,
-                                                 jlong jpid,
-                                                 jlongArray jarray,
-                                                 jlongArray jparentArray,
-                                                 jlongArray jstimesArray) {
-    DIR* dir;
-    struct dirent* ptr;
-    pid_t pid = (pid_t) jpid;
-    jlong* pids = NULL;
-    jlong* ppids = NULL;
-    jlong* stimes = NULL;
-    jsize parentArraySize = 0;
-    jsize arraySize = 0;
-    jsize stimesSize = 0;
-    jsize count = 0;
-    char procname[32];
-
-    arraySize = (*env)->GetArrayLength(env, jarray);
-    JNU_CHECK_EXCEPTION_RETURN(env, 0);
-    if (jparentArray != NULL) {
-        parentArraySize = (*env)->GetArrayLength(env, jparentArray);
-        JNU_CHECK_EXCEPTION_RETURN(env, 0);
-
-        if (arraySize != parentArraySize) {
-            JNU_ThrowIllegalArgumentException(env, "array sizes not equal");
-            return 0;
-        }
-    }
-    if (jstimesArray != NULL) {
-        stimesSize = (*env)->GetArrayLength(env, jstimesArray);
-        JNU_CHECK_EXCEPTION_RETURN(env, -1);
-
-        if (arraySize != stimesSize) {
-            JNU_ThrowIllegalArgumentException(env, "array sizes not equal");
-            return 0;
-        }
-    }
-
-    /*
-     * To locate the children we scan /proc looking for files that have a
-     * positive integer as a filename.
-     */
-    if ((dir = opendir("/proc")) == NULL) {
-        JNU_ThrowByNameWithLastError(env,
-            "java/lang/Runtime", "Unable to open /proc");
-        return 0;
-    }
 
-    do { // Block to break out of on Exception
-        pids = (*env)->GetLongArrayElements(env, jarray, NULL);
-        if (pids == NULL) {
-            break;
-        }
-        if (jparentArray != NULL) {
-            ppids  = (*env)->GetLongArrayElements(env, jparentArray, NULL);
-            if (ppids == NULL) {
-                break;
-            }
-        }
-        if (jstimesArray != NULL) {
-            stimes  = (*env)->GetLongArrayElements(env, jstimesArray, NULL);
-            if (stimes == NULL) {
-                break;
-            }
-        }
-
-        while ((ptr = readdir(dir)) != NULL) {
-            pid_t ppid = 0;
-            jlong totalTime = 0L;
-            jlong startTime = 0L;
-            uid_t uid; // value unused
-
-            /* skip files that aren't numbers */
-            pid_t childpid = (pid_t) atoi(ptr->d_name);
-            if ((int) childpid <= 0) {
-                continue;
-            }
+void os_initNative(JNIEnv *env, jclass clazz) {}
 
-            // Read /proc/pid/stat and get the parent pid, and start time
-            ppid = getStatInfo(env, childpid, &totalTime, &startTime, &uid);
-            if (ppid >= 0 && (pid == 0 || ppid == pid)) {
-                if (count < arraySize) {
-                    // Only store if it fits
-                    pids[count] = (jlong) childpid;
-
-                    if (ppids != NULL) {
-                        // Store the parent Pid
-                        ppids[count] = (jlong) ppid;
-                    }
-                    if (stimes != NULL) {
-                        // Store the process start time
-                        stimes[count] = startTime;
-                    }
-                }
-                count++; // Count to tabulate size needed
-            }
-        }
-    } while (0);
-
-    if (pids != NULL) {
-        (*env)->ReleaseLongArrayElements(env, jarray, pids, 0);
-    }
-    if (ppids != NULL) {
-        (*env)->ReleaseLongArrayElements(env, jparentArray, ppids, 0);
-    }
-    if (stimes != NULL) {
-        (*env)->ReleaseLongArrayElements(env, jstimesArray, stimes, 0);
-    }
-
-    closedir(dir);
-    // If more pids than array had size for; count will be greater than array size
-    return count;
+jint os_getChildren(JNIEnv *env, jlong jpid, jlongArray jarray,
+                    jlongArray jparentArray, jlongArray jstimesArray) {
+    return unix_getChildren(env, jpid, jarray, jparentArray, jstimesArray);
 }
 
-/**************************************************************
- * Implementation of ProcessHandleImpl_Info native methods.
- */
-
-/*
- * Fill in the Info object from the OS information about the process.
- *
- * Class:     java_lang_ProcessHandleImpl_Info
- * Method:    info0
- * Signature: (J)V
- */
-JNIEXPORT void JNICALL
-Java_java_lang_ProcessHandleImpl_00024Info_info0(JNIEnv *env,
-                                                 jobject jinfo,
-                                                  jlong jpid) {
-    pid_t pid = (pid_t) jpid;
-    jlong startTime = 0L;
-    jlong totalTime = 0L;
-    uid_t uid = -1;
-    pid_t ppid = getStatInfo(env, pid, &totalTime, &startTime, &uid);
-
-    getCmdlineInfo(env, jinfo, pid);
-
-    if (ppid > 0) {
-        jstring str;
-        (*env)->SetLongField(env, jinfo, ProcessHandleImpl_Info_startTimeID, startTime);
-        JNU_CHECK_EXCEPTION(env);
-
-        (*env)->SetLongField(env, jinfo, ProcessHandleImpl_Info_totalTimeID, totalTime);
-        JNU_CHECK_EXCEPTION(env);
-
-        CHECK_NULL((str = uidToUser(env, uid)));
-        (*env)->SetObjectField(env, jinfo, ProcessHandleImpl_Info_userID, str);
-        JNU_CHECK_EXCEPTION(env);
-    }
+pid_t os_getParentPidAndTimings(JNIEnv *env, pid_t pid, jlong *total, jlong *start) {
+    return unix_getParentPidAndTimings(env, pid, total, start);
 }
 
-/**
- * Read /proc/<pid>/status and return the ppid, total cputime and start time.
- * Return: -1 is fail;  zero is unknown; >  0 is parent pid
- */
-static pid_t getStatInfo(JNIEnv *env, pid_t pid,
-                                      jlong *totalTime, jlong* startTime,
-                                      uid_t* uid) {
-    FILE* fp;
-    psinfo_t psinfo;
-    char fn[32];
-    int ret;
-
-    /*
-     * Try to open /proc/%d/status
-     */
-    snprintf(fn, sizeof fn, "/proc/%d/psinfo", pid);
-    fp = fopen(fn, "r");
-    if (fp == NULL) {
-        return -1;
-    }
-
-    ret = fread(&psinfo, 1, (sizeof psinfo), fp);
-    fclose(fp);
-    if (ret < (sizeof psinfo)) {
-        return -1;
-    }
-
-    *totalTime = psinfo.pr_time.tv_sec * 1000000000L + psinfo.pr_time.tv_nsec;
-
-    *startTime = psinfo.pr_start.tv_sec * (jlong)1000 +
-                 psinfo.pr_start.tv_nsec / 1000000;
-
-    *uid = psinfo.pr_uid;
-
-    return (pid_t) psinfo.pr_ppid;
+void os_getCmdlineAndUserInfo(JNIEnv *env, jobject jinfo, pid_t pid) {
+    unix_getCmdlineAndUserInfo(env, jinfo, pid);
 }
 
-static void getCmdlineInfo(JNIEnv *env, jobject jinfo, pid_t pid) {
-    char fn[32];
-    char exePath[PATH_MAX];
-    jstring str = NULL;
-    int ret;
-
-    /*
-     * The path to the executable command is the link in /proc/<pid>/paths/a.out.
-     */
-    snprintf(fn, sizeof fn, "/proc/%d/path/a.out", pid);
-    if ((ret = readlink(fn, exePath, PATH_MAX - 1)) < 0) {
-        return;
-    }
-
-    // null terminate and create String to store for command
-    exePath[ret] = '\0';
-    CHECK_NULL(str = JNU_NewStringPlatform(env, exePath));
-    (*env)->SetObjectField(env, jinfo, ProcessHandleImpl_Info_commandID, str);
-    JNU_CHECK_EXCEPTION(env);
-}
-
--- a/jdk/src/java.base/unix/classes/sun/net/www/protocol/file/Handler.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/unix/classes/sun/net/www/protocol/file/Handler.java	Mon Aug 17 11:18:31 2015 -0700
@@ -116,8 +116,8 @@
      * Compares the host components of two URLs.
      * @param u1 the URL of the first host to compare
      * @param u2 the URL of the second host to compare
-     * @return  <tt>true</tt> if and only if they
-     * are equal, <tt>false</tt> otherwise.
+     * @return  {@code true} if and only if they
+     * are equal, {@code false} otherwise.
      */
     protected boolean hostsEqual(URL u1, URL u2) {
         /*
--- a/jdk/src/java.base/unix/native/libjava/ProcessHandleImpl_unix.c	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/unix/native/libjava/ProcessHandleImpl_unix.c	Mon Aug 17 11:18:31 2015 -0700
@@ -28,31 +28,87 @@
 #include "java_lang_ProcessHandleImpl.h"
 #include "java_lang_ProcessHandleImpl_Info.h"
 
+#include "ProcessHandleImpl_unix.h"
+
 
 #include <stdio.h>
-
 #include <errno.h>
 #include <fcntl.h>
 #include <pwd.h>
 #include <signal.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <string.h>
+#include <dirent.h>
+#include <ctype.h>
+#include <limits.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/wait.h>
 
-#include <string.h>
-#include <dirent.h>
-#include <ctype.h>
+#ifdef _AIX
+#include <sys/procfs.h>
+#endif
+#ifdef __solaris__
+#include <procfs.h>
+#endif
 
 /**
- * Implementations of ProcessHandleImpl functions that are common to all
- * Unix variants:
- * - waitForProcessExit0(pid, reap)
- * - getCurrentPid0()
- * - destroy0(pid, force)
+ * This file contains the implementation of the native ProcessHandleImpl
+ * functions which are common to all Unix variants.
+ *
+ * The currently supported Unix variants are Solaris, Linux, MaxOS X and AIX.
+ * The various similarities and differences between these systems make it hard
+ * to find a clear boundary between platform specific and shared code.
+ *
+ * In order to ease code sharing between the platforms while still keeping the
+ * code as clean as possible (i.e. free of preprocessor macros) we use the
+ * following source code layout (remember that ProcessHandleImpl_unix.c will
+ * be compiled on EVERY Unix platform while ProcessHandleImpl_<os>.c will be
+ * only compiled on the specific OS):
+ *
+ * - all the JNI wrappers for the ProcessHandleImpl functions go into this file
+ * - if their implementation is common on ALL the supported Unix platforms it
+ *   goes right into the JNI wrappers
+ * - if the whole function or substantial parts of it are platform dependent,
+ *   the implementation goes into os_<function_name> functions in
+ *   ProcessHandleImpl_<os>.c
+ * - if at least two platforms implement an os_<function_name> function in the
+ *   same way, this implementation is factored out into unix_<function_name>,
+ *   placed into this file and called from the corresponding os_<function_name>
+ *   function.
+ * - For convenience, all the os_ and unix_ functions are declared in
+ *   ProcessHandleImpl_unix.h which is included into every
+ *   ProcessHandleImpl_<os>.c file.
+ *
+ * Example 1:
+ * ----------
+ * The implementation of Java_java_lang_ProcessHandleImpl_initNative()
+ * is the same on all platforms except on Linux where it initilizes one
+ * additional field. So we place the implementation right into
+ * Java_java_lang_ProcessHandleImpl_initNative() but add call to
+ * os_init() at the end of the function which is empty on all platforms
+ * except Linux where it performs the additionally initializations.
+ *
+ * Example 2:
+ * ----------
+ * The implementation of Java_java_lang_ProcessHandleImpl_00024Info_info0 is the
+ * same on Solaris and AIX but different on Linux and MacOSX. We therefore simply
+ * call the helpers os_getParentPidAndTimings() and os_getCmdlineAndUserInfo().
+ * The Linux and MaxOS X versions of these functions (in the corresponding files
+ * ProcessHandleImpl_linux.c and ProcessHandleImpl_macosx.c) directly contain
+ * the platform specific implementations while the Solaris and AIX
+ * implementations simply call back to unix_getParentPidAndTimings() and
+ * unix_getCmdlineAndUserInfo() which are implemented right in this file.
+ *
+ * The term "same implementation" is still a question of interpretation. It my
+ * be acceptable to have a few ifdef'ed lines if that allows the sharing of a
+ * huge function. On the other hand, if the platform specific code in a shared
+ * function grows over a certain limit, it may be better to refactor that
+ * functionality into corresponding, platform-specific os_ functions.
  */
 
+
 #ifndef WIFEXITED
 #define WIFEXITED(status) (((status)&0xFF) == 0)
 #endif
@@ -69,6 +125,19 @@
 #define WTERMSIG(status) ((status)&0x7F)
 #endif
 
+#ifdef __solaris__
+/* The child exited because of a signal.
+ * The best value to return is 0x80 + signal number,
+ * because that is what all Unix shells do, and because
+ * it allows callers to distinguish between process exit and
+ * process death by signal.
+ * Unfortunately, the historical behavior on Solaris is to return
+ * the signal number, and we preserve this for compatibility. */
+#define WTERMSIG_RETURN(status) WTERMSIG(status)
+#else
+#define WTERMSIG_RETURN(status) (WTERMSIG(status) + 0x80)
+#endif
+
 #define RESTARTABLE(_cmd, _result) do { \
   do { \
     _result = _cmd; \
@@ -81,21 +150,83 @@
   } while((_result == NULL) && (errno == EINTR)); \
 } while(0)
 
-#ifdef __solaris__
-    #define STAT_FILE "/proc/%d/status"
-#else
-    #define STAT_FILE "/proc/%d/stat"
-#endif
+
+/* Field id for jString 'command' in java.lang.ProcessHandleImpl.Info */
+jfieldID ProcessHandleImpl_Info_commandID;
+
+/* Field id for jString 'commandLine' in java.lang.ProcessHandleImpl.Info */
+jfieldID ProcessHandleImpl_Info_commandLineID;
+
+/* Field id for jString[] 'arguments' in java.lang.ProcessHandleImpl.Info */
+jfieldID ProcessHandleImpl_Info_argumentsID;
+
+/* Field id for jlong 'totalTime' in java.lang.ProcessHandleImpl.Info */
+jfieldID ProcessHandleImpl_Info_totalTimeID;
+
+/* Field id for jlong 'startTime' in java.lang.ProcessHandleImpl.Info */
+jfieldID ProcessHandleImpl_Info_startTimeID;
+
+/* Field id for jString 'user' in java.lang.ProcessHandleImpl.Info */
+jfieldID ProcessHandleImpl_Info_userID;
+
+/* Size of password or group entry when not available via sysconf */
+#define ENT_BUF_SIZE   1024
+/* The value for the size of the buffer used by getpwuid_r(). The result of */
+/* sysconf(_SC_GETPW_R_SIZE_MAX) if available or ENT_BUF_SIZE otherwise. */
+static long getpw_buf_size;
+
+/**************************************************************
+ * Static method to initialize field IDs and the ticks per second rate.
+ *
+ * Class:     java_lang_ProcessHandleImpl_Info
+ * Method:    initIDs
+ * Signature: ()V
+ */
+JNIEXPORT void JNICALL
+Java_java_lang_ProcessHandleImpl_00024Info_initIDs(JNIEnv *env, jclass clazz) {
+
+    CHECK_NULL(ProcessHandleImpl_Info_commandID =
+            (*env)->GetFieldID(env, clazz, "command", "Ljava/lang/String;"));
+    CHECK_NULL(ProcessHandleImpl_Info_commandLineID =
+            (*env)->GetFieldID(env, clazz, "commandLine", "Ljava/lang/String;"));
+    CHECK_NULL(ProcessHandleImpl_Info_argumentsID =
+            (*env)->GetFieldID(env, clazz, "arguments", "[Ljava/lang/String;"));
+    CHECK_NULL(ProcessHandleImpl_Info_totalTimeID =
+            (*env)->GetFieldID(env, clazz, "totalTime", "J"));
+    CHECK_NULL(ProcessHandleImpl_Info_startTimeID =
+            (*env)->GetFieldID(env, clazz, "startTime", "J"));
+    CHECK_NULL(ProcessHandleImpl_Info_userID =
+            (*env)->GetFieldID(env, clazz, "user", "Ljava/lang/String;"));
+}
+
+/***********************************************************
+ * Static method to initialize platform dependent constants.
+ *
+ * Class:     java_lang_ProcessHandleImpl
+ * Method:    initNative
+ * Signature: ()V
+ */
+JNIEXPORT void JNICALL
+Java_java_lang_ProcessHandleImpl_initNative(JNIEnv *env, jclass clazz) {
+    getpw_buf_size = sysconf(_SC_GETPW_R_SIZE_MAX);
+    if (getpw_buf_size == -1) {
+        getpw_buf_size = ENT_BUF_SIZE;
+    }
+    os_initNative(env, clazz);
+}
 
 /* Block until a child process exits and return its exit code.
  * Note, can only be called once for any given pid if reapStatus = true.
+ *
+ * Class:     java_lang_ProcessHandleImpl
+ * Method:    waitForProcessExit0
+ * Signature: (JZ)I
  */
 JNIEXPORT jint JNICALL
 Java_java_lang_ProcessHandleImpl_waitForProcessExit0(JNIEnv* env,
                                                      jclass junk,
                                                      jlong jpid,
-                                                     jboolean reapStatus)
-{
+                                                     jboolean reapStatus) {
     pid_t pid = (pid_t)jpid;
     errno = 0;
 
@@ -117,18 +248,7 @@
         if (WIFEXITED(status)) {
             return WEXITSTATUS(status);
         } else if (WIFSIGNALED(status)) {
-            /* The child exited because of a signal.
-             * The best value to return is 0x80 + signal number,
-             * because that is what all Unix shells do, and because
-             * it allows callers to distinguish between process exit and
-             * process death by signal.
-             * Unfortunately, the historical behavior on Solaris is to return
-             * the signal number, and we preserve this for compatibility. */
-#ifdef __solaris__
-            return WTERMSIG(status);
-#else
-            return 0x80 + WTERMSIG(status);
-#endif
+            return WTERMSIG_RETURN(status);
         } else {
             return status;
         }
@@ -156,18 +276,7 @@
               */
              return siginfo.si_status;
         } else if (siginfo.si_code == CLD_KILLED || siginfo.si_code == CLD_DUMPED) {
-             /* The child exited because of a signal.
-              * The best value to return is 0x80 + signal number,
-              * because that is what all Unix shells do, and because
-              * it allows callers to distinguish between process exit and
-              * process death by signal.
-              * Unfortunately, the historical behavior on Solaris is to return
-              * the signal number, and we preserve this for compatibility. */
- #ifdef __solaris__
-             return WTERMSIG(siginfo.si_status);
- #else
-             return 0x80 + WTERMSIG(siginfo.si_status);
- #endif
+             return WTERMSIG_RETURN(siginfo.si_status);
         } else {
              /*
               * Unknown exit code; pass it through.
@@ -191,7 +300,7 @@
 /*
  * Class:     java_lang_ProcessHandleImpl
  * Method:    destroy0
- * Signature: (Z)Z
+ * Signature: (JJZ)Z
  */
 JNIEXPORT jboolean JNICALL
 Java_java_lang_ProcessHandleImpl_destroy0(JNIEnv *env,
@@ -210,119 +319,52 @@
     }
 }
 
-/**
- * Size of password or group entry when not available via sysconf
- */
-#define ENT_BUF_SIZE   1024
-
-/**
- * Return a strong username for the uid_t or null.
+/*
+ * Returns the children of the requested pid and optionally each parent and
+ * start time.
+ * Accumulates any process who parent pid matches.
+ * The resulting pids are stored into the array of longs.
+ * The number of pids is returned if they all fit.
+ * If the array is too short, the negative of the desired length is returned.
+ * Class:     java_lang_ProcessHandleImpl
+ * Method:    getProcessPids0
+ * Signature: (J[J[J[J)I
  */
-jstring uidToUser(JNIEnv* env, uid_t uid) {
-    int result = 0;
-    int buflen;
-    char* pwbuf;
-    jstring name = NULL;
-
-    /* allocate buffer for password record */
-    buflen = (int)sysconf(_SC_GETPW_R_SIZE_MAX);
-    if (buflen == -1)
-        buflen = ENT_BUF_SIZE;
-    pwbuf = (char*)malloc(buflen);
-    if (pwbuf == NULL) {
-        JNU_ThrowOutOfMemoryError(env, "Unable to open getpwent");
-    } else {
-        struct passwd pwent;
-        struct passwd* p = NULL;
-
-#ifdef __solaris__
-        RESTARTABLE_RETURN_PTR(getpwuid_r(uid, &pwent, pwbuf, (size_t)buflen), p);
-#else
-        RESTARTABLE(getpwuid_r(uid, &pwent, pwbuf, (size_t)buflen, &p), result);
-#endif
-
-        // Return the Java String if a name was found
-        if (result == 0 && p != NULL &&
-            p->pw_name != NULL && *(p->pw_name) != '\0') {
-            name = JNU_NewStringPlatform(env, p->pw_name);
-        }
-        free(pwbuf);
-    }
-    return name;
+JNIEXPORT jint JNICALL
+Java_java_lang_ProcessHandleImpl_getProcessPids0(JNIEnv *env,
+                                                 jclass clazz,
+                                                 jlong jpid,
+                                                 jlongArray jarray,
+                                                 jlongArray jparentArray,
+                                                 jlongArray jstimesArray) {
+    return os_getChildren(env, jpid, jarray, jparentArray, jstimesArray);
 }
 
-/**
- * Implementations of ProcessHandleImpl functions that are common to
- * (some) Unix variants:
- * - getProcessPids0(pid, pidArray, parentArray)
- */
-
-#if defined(__linux__) || defined(__AIX__)
-
 /*
- * Signatures for internal OS specific functions.
- */
-static pid_t getStatInfo(JNIEnv *env, pid_t pid,
-                                     jlong *totalTime, jlong* startTime);
-static void getCmdlineInfo(JNIEnv *env, pid_t pid, jobject jinfo);
-static long long getBoottime(JNIEnv *env);
-
-jstring uidToUser(JNIEnv* env, uid_t uid);
-
-/* Field id for jString 'command' in java.lang.ProcessHandleImpl.Info */
-static jfieldID ProcessHandleImpl_Info_commandID;
-
-/* Field id for jString[] 'arguments' in java.lang.ProcessHandleImpl.Info */
-static jfieldID ProcessHandleImpl_Info_argumentsID;
-
-/* Field id for jlong 'totalTime' in java.lang.ProcessHandleImpl.Info */
-static jfieldID ProcessHandleImpl_Info_totalTimeID;
-
-/* Field id for jlong 'startTime' in java.lang.ProcessHandleImpl.Info */
-static jfieldID ProcessHandleImpl_Info_startTimeID;
-
-/* Field id for jString 'user' in java.lang.ProcessHandleImpl.Info */
-static jfieldID ProcessHandleImpl_Info_userID;
-
-/* static value for clock ticks per second. */
-static long clock_ticks_per_second;
-
-/* A static offset in milliseconds since boot. */
-static long long bootTime_ms;
-
-/**************************************************************
- * Static method to initialize field IDs and the ticks per second rate.
+ * Fill in the Info object from the OS information about the process.
  *
  * Class:     java_lang_ProcessHandleImpl_Info
- * Method:    initIDs
- * Signature: ()V
+ * Method:    info0
+ * Signature: (Ljava/lang/ProcessHandle/Info;J)I
  */
 JNIEXPORT void JNICALL
-Java_java_lang_ProcessHandleImpl_00024Info_initIDs(JNIEnv *env, jclass clazz) {
+Java_java_lang_ProcessHandleImpl_00024Info_info0(JNIEnv *env,
+                                                 jobject jinfo,
+                                                 jlong jpid) {
+    pid_t pid = (pid_t) jpid;
+    pid_t ppid;
+    jlong totalTime = -1L;
+    jlong startTime = -1L;
 
-    CHECK_NULL(ProcessHandleImpl_Info_commandID = (*env)->GetFieldID(env,
-        clazz, "command", "Ljava/lang/String;"));
-    CHECK_NULL(ProcessHandleImpl_Info_argumentsID = (*env)->GetFieldID(env,
-        clazz, "arguments", "[Ljava/lang/String;"));
-    CHECK_NULL(ProcessHandleImpl_Info_totalTimeID = (*env)->GetFieldID(env,
-        clazz, "totalTime", "J"));
-    CHECK_NULL(ProcessHandleImpl_Info_startTimeID = (*env)->GetFieldID(env,
-        clazz, "startTime", "J"));
-    CHECK_NULL(ProcessHandleImpl_Info_userID = (*env)->GetFieldID(env,
-        clazz, "user", "Ljava/lang/String;"));
-}
+    ppid = os_getParentPidAndTimings(env, pid,  &totalTime, &startTime);
+    if (ppid >= 0) {
+        (*env)->SetLongField(env, jinfo, ProcessHandleImpl_Info_totalTimeID, totalTime);
+        JNU_CHECK_EXCEPTION(env);
 
-/**************************************************************
- * Static method to initialize the ticks per second rate.
- *
- * Class:     java_lang_ProcessHandleImpl
- * Method:    initNative
- * Signature: ()V
- */
-JNIEXPORT void JNICALL
-Java_java_lang_ProcessHandleImpl_initNative(JNIEnv *env, jclass clazz) {
-    clock_ticks_per_second = sysconf(_SC_CLK_TCK);
-    bootTime_ms = getBoottime(env);
+        (*env)->SetLongField(env, jinfo, ProcessHandleImpl_Info_startTimeID, startTime);
+        JNU_CHECK_EXCEPTION(env);
+    }
+    os_getCmdlineAndUserInfo(env, jinfo, pid);
 }
 
 /*
@@ -340,8 +382,8 @@
     pid_t pid = (pid_t) jpid;
     jlong startTime = 0L;
     jlong totalTime = 0L;
-    pid_t ppid = getStatInfo(env, pid, &totalTime, &startTime);
-    return (ppid <= 0) ? -1 : startTime;
+    pid_t ppid = os_getParentPidAndTimings(env, pid, &totalTime, &startTime);
+    return (ppid < 0) ? -1 : startTime;
 }
 
 /*
@@ -350,7 +392,7 @@
  *
  * Class:     java_lang_ProcessHandleImpl
  * Method:    parent0
- * Signature: (J)J
+ * Signature: (JJ)J
  */
 JNIEXPORT jlong JNICALL
 Java_java_lang_ProcessHandleImpl_parent0(JNIEnv *env,
@@ -360,13 +402,12 @@
     pid_t pid = (pid_t) jpid;
     pid_t ppid;
 
-    pid_t mypid = getpid();
-    if (pid == mypid) {
+    if (pid == getpid()) {
         ppid = getppid();
     } else {
-        jlong start = 0L;;
+        jlong start = 0L;
         jlong total = 0L;        // unused
-        ppid = getStatInfo(env, pid, &total, &start);
+        ppid = os_getParentPidAndTimings(env, pid, &total, &start);
         if (start != startTime && start != 0 && startTime != 0) {
             ppid = -1;
         }
@@ -374,24 +415,94 @@
     return (jlong) ppid;
 }
 
+/**
+ * Construct the argument array by parsing the arguments from the sequence
+ * of arguments.
+ */
+void unix_fillArgArray(JNIEnv *env, jobject jinfo, int nargs, char *cp,
+                       char *argsEnd, jstring cmdexe, char *cmdline) {
+    jobject argsArray;
+    int i;
+
+    (*env)->SetObjectField(env, jinfo, ProcessHandleImpl_Info_commandID, cmdexe);
+    JNU_CHECK_EXCEPTION(env);
+
+    if (nargs >= 1) {
+        // Create a String array for nargs-1 elements
+        argsArray = (*env)->NewObjectArray(env, nargs - 1, JNU_ClassString(env), NULL);
+        CHECK_NULL(argsArray);
+
+        for (i = 0; i < nargs - 1; i++) {
+            jstring str = NULL;
+
+            cp += strlen(cp) + 1;
+            if (cp > argsEnd || *cp == '\0') {
+                return;  // Off the end pointer or an empty argument is an error
+            }
+
+            CHECK_NULL((str = JNU_NewStringPlatform(env, cp)));
+
+            (*env)->SetObjectArrayElement(env, argsArray, i, str);
+            JNU_CHECK_EXCEPTION(env);
+        }
+        (*env)->SetObjectField(env, jinfo, ProcessHandleImpl_Info_argumentsID, argsArray);
+        JNU_CHECK_EXCEPTION(env);
+    }
+    if (cmdline != NULL) {
+        jstring commandLine = NULL;
+        CHECK_NULL((commandLine = JNU_NewStringPlatform(env, cmdline)));
+        (*env)->SetObjectField(env, jinfo, ProcessHandleImpl_Info_commandLineID, commandLine);
+        JNU_CHECK_EXCEPTION(env);
+    }
+}
+
+void unix_getUserInfo(JNIEnv* env, jobject jinfo, uid_t uid) {
+    int result = 0;
+    char* pwbuf;
+    jstring name = NULL;
+
+    /* allocate buffer for password record */
+    pwbuf = (char*)malloc(getpw_buf_size);
+    if (pwbuf == NULL) {
+        JNU_ThrowOutOfMemoryError(env, "Unable to open getpwent");
+    } else {
+        struct passwd pwent;
+        struct passwd* p = NULL;
+
+#ifdef __solaris__
+        RESTARTABLE_RETURN_PTR(getpwuid_r(uid, &pwent, pwbuf, (size_t)getpw_buf_size), p);
+#else
+        RESTARTABLE(getpwuid_r(uid, &pwent, pwbuf, (size_t)getpw_buf_size, &p), result);
+#endif
+
+        // Create the Java String if a name was found
+        if (result == 0 && p != NULL &&
+            p->pw_name != NULL && *(p->pw_name) != '\0') {
+            name = JNU_NewStringPlatform(env, p->pw_name);
+        }
+        free(pwbuf);
+    }
+    if (name != NULL) {
+        (*env)->SetObjectField(env, jinfo, ProcessHandleImpl_Info_userID, name);
+    }
+}
+
 /*
- * Returns the children of the requested pid and optionally each parent.
+ * The following functions are common on Solaris, Linux and AIX.
+ */
+
+#if defined(__solaris__) || defined (__linux__) || defined(_AIX)
+
+/*
+ * Returns the children of the requested pid and optionally each parent and
+ * start time.
  * Reads /proc and accumulates any process who parent pid matches.
  * The resulting pids are stored into the array of longs.
  * The number of pids is returned if they all fit.
- * If the array is too short, the negative of the desired length is returned. *
- * Class:     java_lang_ProcessHandleImpl
- * Method:    getChildPids
- * Signature: (J[J[J)I
+ * If the array is too short, the negative of the desired length is returned.
  */
-JNIEXPORT jint JNICALL
-Java_java_lang_ProcessHandleImpl_getProcessPids0(JNIEnv *env,
-                                                 jclass clazz,
-                                                 jlong jpid,
-                                                 jlongArray jarray,
-                                                 jlongArray jparentArray,
-                                                 jlongArray jstimesArray) {
-
+jint unix_getChildren(JNIEnv *env, jlong jpid, jlongArray jarray,
+                      jlongArray jparentArray, jlongArray jstimesArray) {
     DIR* dir;
     struct dirent* ptr;
     pid_t pid = (pid_t) jpid;
@@ -462,9 +573,10 @@
             if ((int) childpid <= 0) {
                 continue;
             }
-            // Read /proc/pid/stat and get the parent pid, and start time
-            ppid = getStatInfo(env, childpid, &totalTime, &startTime);
-            if (ppid > 0 && (pid == 0 || ppid == pid)) {
+
+            // Get the parent pid, and start time
+            ppid = os_getParentPidAndTimings(env, childpid, &totalTime, &startTime);
+            if (ppid >= 0 && (pid == 0 || ppid == pid)) {
                 if (count < arraySize) {
                     // Only store if it fits
                     pids[count] = (jlong) childpid;
@@ -498,293 +610,110 @@
     return count;
 }
 
-
-/**************************************************************
- * Implementation of ProcessHandleImpl_Info native methods.
- */
+#endif // defined(__solaris__) || defined (__linux__) || defined(_AIX)
 
 /*
- * Fill in the Info object from the OS information about the process.
- *
- * Class:     java_lang_ProcessHandleImpl_Info
- * Method:    info0
- * Signature: (JLjava/lang/ProcessHandle/Info;)I
+ * The following functions are common on Solaris and AIX.
  */
-JNIEXPORT void JNICALL
-Java_java_lang_ProcessHandleImpl_00024Info_info0(JNIEnv *env,
-                                                 jobject jinfo,
-                                                 jlong jpid) {
-    pid_t pid = (pid_t) jpid;
-    pid_t ppid;
-    jlong totalTime = 0L;
-    jlong startTime = -1L;
-
-    ppid = getStatInfo(env, pid,  &totalTime, &startTime);
-    if (ppid > 0) {
-        (*env)->SetLongField(env, jinfo, ProcessHandleImpl_Info_totalTimeID, totalTime);
-        JNU_CHECK_EXCEPTION(env);
-
-        (*env)->SetLongField(env, jinfo, ProcessHandleImpl_Info_startTimeID, startTime);
-        JNU_CHECK_EXCEPTION(env);
-
-        getCmdlineInfo(env, pid, jinfo);
-    }
-}
-
-/**
- * Read /proc/<pid>/stat and return the ppid, total cputime and start time.
- * -1 is fail;  zero is unknown; >  0 is parent pid
- */
-static pid_t getStatInfo(JNIEnv *env, pid_t pid,
-                                     jlong *totalTime, jlong* startTime) {
-    FILE* fp;
-    char buffer[2048];
-    int statlen;
-    char fn[32];
-    char* s;
-    int parentPid;
-    long unsigned int utime = 0;      // clock tics
-    long unsigned int stime = 0;      // clock tics
-    long long unsigned int start = 0; // microseconds
 
-    /*
-     * Try to stat and then open /proc/%d/stat
-     */
-    snprintf(fn, sizeof fn, STAT_FILE, pid);
-
-    fp = fopen(fn, "r");
-    if (fp == NULL) {
-        return -1;              // fail, no such /proc/pid/stat
-    }
-
-    /*
-     * The format is: pid (command) state ppid ...
-     * As the command could be anything we must find the right most
-     * ")" and then skip the white spaces that follow it.
-     */
-    statlen = fread(buffer, 1, (sizeof buffer - 1), fp);
-    fclose(fp);
-    if (statlen < 0) {
-        return 0;               // parent pid is not available
-    }
-
-    buffer[statlen] = '\0';
-    s = strchr(buffer, '(');
-    if (s == NULL) {
-        return 0;               // parent pid is not available
-    }
-    // Found start of command, skip to end
-    s++;
-    s = strrchr(s, ')');
-    if (s == NULL) {
-        return 0;               // parent pid is not available
-    }
-    s++;
-
-    // Scan the needed fields from status, retaining only ppid(4),
-    // utime (14), stime(15), starttime(22)
-    if (4 != sscanf(s, " %*c %d %*d %*d %*d %*d %*d %*u %*u %*u %*u %lu %lu %*d %*d %*d %*d %*d %*d %llu",
-            &parentPid, &utime, &stime, &start)) {
-        return 0;              // not all values parsed; return error
-    }
-
-    *totalTime = (utime + stime) * (jlong)(1000000000 / clock_ticks_per_second);
-
-    *startTime = bootTime_ms + ((start * 1000) / clock_ticks_per_second);
-
-    return parentPid;
-}
+#if defined(__solaris__) || defined(_AIX)
 
 /**
- * Construct the argument array by parsing the arguments from the sequence
- * of arguments. The zero'th arg is the command executable
+ * Helper function to get the 'psinfo_t' data from "/proc/%d/psinfo".
+ * Returns 0 on success and -1 on error.
  */
-static int fillArgArray(JNIEnv *env, jobject jinfo,
-                        int nargs, char *cp, char *argsEnd, jstring cmdexe) {
-    jobject argsArray;
-    int i;
-
-    if (nargs < 1) {
-        return 0;
-    }
-
-    if (cmdexe == NULL) {
-        // Create a string from arg[0]
-        CHECK_NULL_RETURN((cmdexe = JNU_NewStringPlatform(env, cp)), -1);
-    }
-    (*env)->SetObjectField(env, jinfo, ProcessHandleImpl_Info_commandID, cmdexe);
-    JNU_CHECK_EXCEPTION_RETURN(env, -3);
-
-    // Create a String array for nargs-1 elements
-    argsArray = (*env)->NewObjectArray(env, nargs - 1, JNU_ClassString(env), NULL);
-    CHECK_NULL_RETURN(argsArray, -1);
-
-    for (i = 0; i < nargs - 1; i++) {
-        jstring str = NULL;
-
-        cp += strnlen(cp, (argsEnd - cp)) + 1;
-        if (cp > argsEnd || *cp == '\0') {
-            return -2;  // Off the end pointer or an empty argument is an error
-        }
-
-        CHECK_NULL_RETURN((str = JNU_NewStringPlatform(env, cp)), -1);
-
-        (*env)->SetObjectArrayElement(env, argsArray, i, str);
-        JNU_CHECK_EXCEPTION_RETURN(env, -3);
-    }
-    (*env)->SetObjectField(env, jinfo, ProcessHandleImpl_Info_argumentsID, argsArray);
-    JNU_CHECK_EXCEPTION_RETURN(env, -4);
-    return 0;
-}
-
-
-static void getCmdlineInfo(JNIEnv *env, pid_t pid, jobject jinfo) {
-    int fd;
-    int cmdlen = 0;
-    char *cmdline = NULL, *cmdEnd;  // used for command line args and exe
-    jstring cmdexe = NULL;
+static int getPsinfo(pid_t pid, psinfo_t *psinfo) {
+    FILE* fp;
     char fn[32];
-    struct stat stat_buf;
+    int ret;
 
     /*
-     * Try to open /proc/%d/cmdline
+     * Try to open /proc/%d/psinfo
      */
-    snprintf(fn, sizeof fn, "/proc/%d/cmdline", pid);
-    if ((fd = open(fn, O_RDONLY)) < 0) {
-        return;
-    }
-
-    do {                // Block to break out of on errors
-        int i;
-        char *s;
-
-        cmdline = (char*)malloc(PATH_MAX);
-        if (cmdline == NULL) {
-            break;
-        }
-
-        /*
-         * The path to the executable command is the link in /proc/<pid>/exe.
-         */
-        snprintf(fn, sizeof fn, "/proc/%d/exe", pid);
-        if ((cmdlen = readlink(fn, cmdline, PATH_MAX - 1)) > 0) {
-            // null terminate and create String to store for command
-            cmdline[cmdlen] = '\0';
-            cmdexe = JNU_NewStringPlatform(env, cmdline);
-            (*env)->ExceptionClear(env);        // unconditionally clear any exception
-        }
-
-        /*
-         * The buffer format is the arguments nul terminated with an extra nul.
-         */
-        cmdlen = read(fd, cmdline, PATH_MAX-1);
-        if (cmdlen < 0) {
-            break;
-        }
-
-        // Terminate the buffer and count the arguments
-        cmdline[cmdlen] = '\0';
-        cmdEnd = &cmdline[cmdlen + 1];
-        for (s = cmdline,i = 0; *s != '\0' && (s < cmdEnd); i++) {
-            s += strnlen(s, (cmdEnd - s)) + 1;
-        }
-
-        if (fillArgArray(env, jinfo, i, cmdline, cmdEnd, cmdexe) < 0) {
-            break;
-        }
-
-        // Get and store the user name
-        if (fstat(fd, &stat_buf) == 0) {
-            jstring name = uidToUser(env, stat_buf.st_uid);
-            if (name != NULL) {
-                (*env)->SetObjectField(env, jinfo, ProcessHandleImpl_Info_userID, name);
-            }
-        }
-    } while (0);
-
-    if (cmdline != NULL) {
-        free(cmdline);
-    }
-    if (fd >= 0) {
-        close(fd);
-    }
-}
-
-/**
- * Read the boottime from /proc/stat.
- */
-static long long getBoottime(JNIEnv *env) {
-    FILE *fp;
-    char *line = NULL;
-    size_t len = 0;
-    long long bootTime = 0;
-
-    fp = fopen("/proc/stat", "r");
+    snprintf(fn, sizeof fn, "/proc/%d/psinfo", pid);
+    fp = fopen(fn, "r");
     if (fp == NULL) {
         return -1;
     }
 
-    while (getline(&line, &len, fp) != -1) {
-        if (sscanf(line, "btime %llu", &bootTime) == 1) {
-            break;
-        }
+    ret = fread(psinfo, 1, sizeof(psinfo_t), fp);
+    fclose(fp);
+    if (ret < sizeof(psinfo_t)) {
+        return -1;
     }
-    free(line);
+    return 0;
+}
 
-    if (fp != 0) {
-        fclose(fp);
+/**
+ * Read /proc/<pid>/psinfo and return the ppid, total cputime and start time.
+ * Return: -1 is fail;  >=  0 is parent pid
+ * 'total' will contain the running time of 'pid' in nanoseconds.
+ * 'start' will contain the start time of 'pid' in milliseconds since epoch.
+ */
+pid_t unix_getParentPidAndTimings(JNIEnv *env, pid_t pid,
+                                  jlong *totalTime, jlong* startTime) {
+    psinfo_t psinfo;
+
+    if (getPsinfo(pid, &psinfo) < 0) {
+        return -1;
     }
 
-    return bootTime * 1000;
+    *totalTime = psinfo.pr_time.tv_sec * 1000000000L + psinfo.pr_time.tv_nsec;
+
+    *startTime = psinfo.pr_start.tv_sec * (jlong)1000 +
+                 psinfo.pr_start.tv_nsec / 1000000;
+
+    return (pid_t) psinfo.pr_ppid;
 }
 
-#endif  //  defined(__linux__) || defined(__AIX__)
-
+void unix_getCmdlineAndUserInfo(JNIEnv *env, jobject jinfo, pid_t pid) {
+    psinfo_t psinfo;
+    char fn[32];
+    char exePath[PATH_MAX];
+    char prargs[PRARGSZ + 1];
+    jstring cmdexe = NULL;
+    int ret;
 
-/* Block until a child process exits and return its exit code.
-   Note, can only be called once for any given pid. */
-JNIEXPORT jint JNICALL
-Java_java_lang_ProcessImpl_waitForProcessExit(JNIEnv* env,
-                                              jobject junk,
-                                              jint pid)
-{
-    /* We used to use waitid() on Solaris, waitpid() on Linux, but
-     * waitpid() is more standard, so use it on all POSIX platforms. */
-    int status;
-    /* Wait for the child process to exit.  This returns immediately if
-       the child has already exited. */
-    while (waitpid(pid, &status, 0) < 0) {
-        switch (errno) {
-        case ECHILD: return 0;
-        case EINTR: break;
-        default: return -1;
-        }
+    /*
+     * On Solaris, the full path to the executable command is the link in
+     * /proc/<pid>/paths/a.out. But it is only readable for processes we own.
+     */
+#if defined(__solaris__)
+    snprintf(fn, sizeof fn, "/proc/%d/path/a.out", pid);
+    if ((ret = readlink(fn, exePath, PATH_MAX - 1)) > 0) {
+        // null terminate and create String to store for command
+        exePath[ret] = '\0';
+        CHECK_NULL(cmdexe = JNU_NewStringPlatform(env, exePath));
+    }
+#endif
+
+    /*
+     * Now try to open /proc/%d/psinfo
+     */
+    if (getPsinfo(pid, &psinfo) < 0) {
+        unix_fillArgArray(env, jinfo, 0, NULL, NULL, cmdexe, NULL);
+        return;
     }
 
-    if (WIFEXITED(status)) {
-        /*
-         * The child exited normally; get its exit code.
+    unix_getUserInfo(env, jinfo, psinfo.pr_uid);
+
+    /*
+     * Now read psinfo.pr_psargs which contains the first PRARGSZ characters of the
+     * argument list (i.e. arg[0] arg[1] ...). Unfortunately, PRARGSZ is usually set
+     * to 80 characters only. Nevertheless it's better than nothing :)
+     */
+    strncpy(prargs, psinfo.pr_psargs, PRARGSZ);
+    prargs[PRARGSZ] = '\0';
+    if (prargs[0] == '\0') {
+        /* If psinfo.pr_psargs didn't contain any strings, use psinfo.pr_fname
+         * (which only contains the last component of exec()ed pathname) as a
+         * last resort. This is true for AIX kernel processes for example.
          */
-        return WEXITSTATUS(status);
-    } else if (WIFSIGNALED(status)) {
-        /* The child exited because of a signal.
-         * The best value to return is 0x80 + signal number,
-         * because that is what all Unix shells do, and because
-         * it allows callers to distinguish between process exit and
-         * process death by signal.
-         * Unfortunately, the historical behavior on Solaris is to return
-         * the signal number, and we preserve this for compatibility. */
-#ifdef __solaris__
-        return WTERMSIG(status);
-#else
-        return 0x80 + WTERMSIG(status);
-#endif
-    } else {
-        /*
-         * Unknown exit code; pass it through.
-         */
-        return status;
+        strncpy(prargs, psinfo.pr_fname, PRARGSZ);
+        prargs[PRARGSZ] = '\0';
     }
+    unix_fillArgArray(env, jinfo, 0, NULL, NULL, cmdexe,
+                      prargs[0] == '\0' ? NULL : prargs);
 }
 
-
+#endif // defined(__solaris__) || defined(_AIX)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jdk/src/java.base/unix/native/libjava/ProcessHandleImpl_unix.h	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,76 @@
+/*
+ * Copyright (c) 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.  Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * 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.
+ */
+
+#include <sys/types.h>
+
+/*
+ * Declaration of ProcessHandleImpl functions common on all Unix platforms.
+ * 'unix_' functions have a single implementation in ProcessHandleImpl_unix.c
+ * 'os_' prefixed functions have different, os-specific implementations in the
+ * various ProcessHandleImpl_{linux,macosx,solaris,aix}.c files.
+ * See ProcessHandleImpl_unix.c for more details.
+ */
+
+/* Field id for jString 'command' in java.lang.ProcessHandleImpl.Info */
+extern jfieldID ProcessHandleImpl_Info_commandID;
+
+/* Field id for jString 'commandLine' in java.lang.ProcessHandleImpl.Info */
+extern jfieldID ProcessHandleImpl_Info_commandLineID;
+
+/* Field id for jString[] 'arguments' in java.lang.ProcessHandleImpl.Info */
+extern jfieldID ProcessHandleImpl_Info_argumentsID;
+
+/* Field id for jlong 'totalTime' in java.lang.ProcessHandleImpl.Info */
+extern jfieldID ProcessHandleImpl_Info_totalTimeID;
+
+/* Field id for jlong 'startTime' in java.lang.ProcessHandleImpl.Info */
+extern jfieldID ProcessHandleImpl_Info_startTimeID;
+
+/* Field id for jString 'user' in java.lang.ProcessHandleImpl.Info */
+extern jfieldID ProcessHandleImpl_Info_userID;
+
+/**
+ * Return: -1 is fail;  >=  0 is parent pid
+ * 'total' will contain the running time of 'pid' in nanoseconds.
+ * 'start' will contain the start time of 'pid' in milliseconds since epoch.
+ */
+extern pid_t unix_getParentPidAndTimings(JNIEnv *env, pid_t pid,
+                                         jlong *total, jlong *start);
+extern pid_t os_getParentPidAndTimings(JNIEnv *env, pid_t pid,
+                                       jlong *total, jlong *start);
+
+extern void unix_getCmdlineAndUserInfo(JNIEnv *env, jobject jinfo, pid_t pid);
+extern void os_getCmdlineAndUserInfo(JNIEnv *env, jobject jinfo, pid_t pid);
+
+extern jint unix_getChildren(JNIEnv *env, jlong jpid, jlongArray array,
+                             jlongArray jparentArray, jlongArray jstimesArray);
+extern jint os_getChildren(JNIEnv *env, jlong jpid, jlongArray array,
+                           jlongArray jparentArray, jlongArray jstimesArray);
+
+extern void unix_getUserInfo(JNIEnv* env, jobject jinfo, uid_t uid);
+extern void unix_fillArgArray(JNIEnv *env, jobject jinfo, int nargs, char *cp,
+                              char *argsEnd, jstring cmdexe, char *cmdline);
+
+extern void os_initNative(JNIEnv *env, jclass clazz);
--- a/jdk/src/java.base/windows/classes/sun/io/Win32ErrorMode.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/windows/classes/sun/io/Win32ErrorMode.java	Mon Aug 17 11:18:31 2015 -0700
@@ -59,8 +59,8 @@
      * Invoke at VM initialization time to disable the critical error message box.
      * <p>
      * The critial error message box is disabled unless the system property
-     * <tt>sun.io.allowCriticalErrorMessageBox</tt> is set to something other than
-     * <code>false</code>. This includes the empty string.
+     * {@code sun.io.allowCriticalErrorMessageBox} is set to something other than
+     * {@code false}. This includes the empty string.
      * <p>
      * This method does nothing if invoked after VM and class library initialization
      * has completed.
--- a/jdk/src/java.base/windows/classes/sun/net/www/protocol/file/Handler.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/windows/classes/sun/net/www/protocol/file/Handler.java	Mon Aug 17 11:18:31 2015 -0700
@@ -134,8 +134,8 @@
      * Compares the host components of two URLs.
      * @param u1 the URL of the first host to compare
      * @param u2 the URL of the second host to compare
-     * @return  <tt>true</tt> if and only if they
-     * are equal, <tt>false</tt> otherwise.
+     * @return  {@code true} if and only if they
+     * are equal, {@code false} otherwise.
      */
     protected boolean hostsEqual(URL u1, URL u2) {
         /*
--- a/jdk/src/java.base/windows/native/libjava/ProcessHandleImpl_win.c	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.base/windows/native/libjava/ProcessHandleImpl_win.c	Mon Aug 17 11:18:31 2015 -0700
@@ -45,6 +45,9 @@
 /* Field id for jString 'command' in java.lang.ProcessHandle.Info */
 static jfieldID ProcessHandleImpl_Info_commandID;
 
+/* Field id for jString 'commandLine' in java.lang.ProcessHandleImpl.Info */
+static jfieldID ProcessHandleImpl_Info_commandLineID;
+
 /* Field id for jString[] 'arguments' in java.lang.ProcessHandle.Info */
 static jfieldID ProcessHandleImpl_Info_argumentsID;
 
@@ -69,6 +72,8 @@
 
     CHECK_NULL(ProcessHandleImpl_Info_commandID = (*env)->GetFieldID(env,
         clazz, "command", "Ljava/lang/String;"));
+    CHECK_NULL(ProcessHandleImpl_Info_commandLineID = (*env)->GetFieldID(env,
+        clazz, "commandLine", "Ljava/lang/String;"));
     CHECK_NULL(ProcessHandleImpl_Info_argumentsID = (*env)->GetFieldID(env,
         clazz, "arguments", "[Ljava/lang/String;"));
     CHECK_NULL(ProcessHandleImpl_Info_totalTimeID = (*env)->GetFieldID(env,
--- a/jdk/src/java.corba/share/classes/com/sun/jndi/cosnaming/RemoteToCorba.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.corba/share/classes/com/sun/jndi/cosnaming/RemoteToCorba.java	Mon Aug 17 11:18:31 2015 -0700
@@ -56,7 +56,7 @@
      * @param name Ignored
      * @param ctx The non-null CNCtx whose ORB to use.
      * @param env Ignored
-     * @return The CORBA object for <tt>orig</tt> or null.
+     * @return The CORBA object for {@code orig} or null.
      * @exception ConfigurationException If the CORBA object cannot be obtained
      *    due to configuration problems, for instance, if RMI-IIOP not available.
      * @exception NamingException If some other problem prevented a CORBA
--- a/jdk/src/java.corba/share/classes/com/sun/jndi/toolkit/corba/CorbaUtils.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.corba/share/classes/com/sun/jndi/toolkit/corba/CorbaUtils.java	Mon Aug 17 11:18:31 2015 -0700
@@ -76,7 +76,7 @@
       *
       * @param remoteObj The non-null remote object for
       * @param orb       The non-null ORB to connect the remote object to
-      * @return The CORBA Object for remoteObj; null if <tt>remoteObj</tt>
+      * @return The CORBA Object for remoteObj; null if {@code remoteObj}
       *                 is a JRMP implementation or JRMP stub.
       * @exception ConfigurationException The CORBA Object cannot be obtained
       *         because of configuration problems.
--- a/jdk/src/java.rmi/share/classes/java/rmi/RemoteException.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.rmi/share/classes/java/rmi/RemoteException.java	Mon Aug 17 11:18:31 2015 -0700
@@ -26,11 +26,11 @@
 package java.rmi;
 
 /**
- * A <code>RemoteException</code> is the common superclass for a number of
+ * A {@code RemoteException} is the common superclass for a number of
  * communication-related exceptions that may occur during the execution of a
  * remote method call.  Each method of a remote interface, an interface that
- * extends <code>java.rmi.Remote</code>, must list
- * <code>RemoteException</code> in its throws clause.
+ * extends {@code java.rmi.Remote}, must list
+ * {@code RemoteException} in its throws clause.
  *
  * <p>As of release 1.4, this exception has been retrofitted to conform to
  * the general purpose exception-chaining mechanism.  The "wrapped remote
@@ -40,7 +40,7 @@
  * the aforementioned "legacy field."
  *
  * <p>Invoking the method {@link Throwable#initCause(Throwable)} on an
- * instance of <code>RemoteException</code> always throws {@link
+ * instance of {@code RemoteException} always throws {@link
  * IllegalStateException}.
  *
  * @author  Ann Wollrath
@@ -63,14 +63,14 @@
     public Throwable detail;
 
     /**
-     * Constructs a <code>RemoteException</code>.
+     * Constructs a {@code RemoteException}.
      */
     public RemoteException() {
         initCause(null);  // Disallow subsequent initCause
     }
 
     /**
-     * Constructs a <code>RemoteException</code> with the specified
+     * Constructs a {@code RemoteException} with the specified
      * detail message.
      *
      * @param s the detail message
@@ -81,9 +81,9 @@
     }
 
     /**
-     * Constructs a <code>RemoteException</code> with the specified detail
+     * Constructs a {@code RemoteException} with the specified detail
      * message and cause.  This constructor sets the {@link #detail}
-     * field to the specified <code>Throwable</code>.
+     * field to the specified {@code Throwable}.
      *
      * @param s the detail message
      * @param cause the cause
@@ -113,7 +113,7 @@
      * Returns the cause of this exception.  This method returns the value
      * of the {@link #detail} field.
      *
-     * @return  the cause, which may be <tt>null</tt>.
+     * @return  the cause, which may be {@code null}.
      * @since   1.4
      */
     public Throwable getCause() {
--- a/jdk/src/java.rmi/share/classes/java/rmi/activation/ActivationException.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.rmi/share/classes/java/rmi/activation/ActivationException.java	Mon Aug 17 11:18:31 2015 -0700
@@ -36,7 +36,7 @@
  * the aforementioned "legacy field."
  *
  * <p>Invoking the method {@link Throwable#initCause(Throwable)} on an
- * instance of <code>ActivationException</code> always throws {@link
+ * instance of {@code ActivationException} always throws {@link
  * IllegalStateException}.
  *
  * @author      Ann Wollrath
@@ -59,14 +59,14 @@
     private static final long serialVersionUID = -4320118837291406071L;
 
     /**
-     * Constructs an <code>ActivationException</code>.
+     * Constructs an {@code ActivationException}.
      */
     public ActivationException() {
         initCause(null);  // Disallow subsequent initCause
     }
 
     /**
-     * Constructs an <code>ActivationException</code> with the specified
+     * Constructs an {@code ActivationException} with the specified
      * detail message.
      *
      * @param s the detail message
@@ -77,9 +77,9 @@
     }
 
     /**
-     * Constructs an <code>ActivationException</code> with the specified
+     * Constructs an {@code ActivationException} with the specified
      * detail message and cause.  This constructor sets the {@link #detail}
-     * field to the specified <code>Throwable</code>.
+     * field to the specified {@code Throwable}.
      *
      * @param s the detail message
      * @param cause the cause
@@ -109,7 +109,7 @@
      * Returns the cause of this exception.  This method returns the value
      * of the {@link #detail} field.
      *
-     * @return  the cause, which may be <tt>null</tt>.
+     * @return  the cause, which may be {@code null}.
      * @since   1.4
      */
     public Throwable getCause() {
--- a/jdk/src/java.rmi/share/classes/java/rmi/server/ServerCloneException.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.rmi/share/classes/java/rmi/server/ServerCloneException.java	Mon Aug 17 11:18:31 2015 -0700
@@ -26,8 +26,8 @@
 package java.rmi.server;
 
 /**
- * A <code>ServerCloneException</code> is thrown if a remote exception occurs
- * during the cloning of a <code>UnicastRemoteObject</code>.
+ * A {@code ServerCloneException} is thrown if a remote exception occurs
+ * during the cloning of a {@code UnicastRemoteObject}.
  *
  * <p>As of release 1.4, this exception has been retrofitted to conform to
  * the general purpose exception-chaining mechanism.  The "nested exception"
@@ -37,7 +37,7 @@
  * the aforementioned "legacy field."
  *
  * <p>Invoking the method {@link Throwable#initCause(Throwable)} on an
- * instance of <code>ServerCloneException</code> always throws {@link
+ * instance of {@code ServerCloneException} always throws {@link
  * IllegalStateException}.
  *
  * @author  Ann Wollrath
@@ -61,7 +61,7 @@
     private static final long serialVersionUID = 6617456357664815945L;
 
     /**
-     * Constructs a <code>ServerCloneException</code> with the specified
+     * Constructs a {@code ServerCloneException} with the specified
      * detail message.
      *
      * @param s the detail message.
@@ -72,7 +72,7 @@
     }
 
     /**
-     * Constructs a <code>ServerCloneException</code> with the specified
+     * Constructs a {@code ServerCloneException} with the specified
      * detail message and cause.
      *
      * @param s the detail message.
@@ -103,7 +103,7 @@
      * Returns the cause of this exception.  This method returns the value
      * of the {@link #detail} field.
      *
-     * @return  the cause, which may be <tt>null</tt>.
+     * @return  the cause, which may be {@code null}.
      * @since   1.4
      */
     public Throwable getCause() {
--- a/jdk/src/java.sql.rowset/share/classes/com/sun/rowset/package.html	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.sql.rowset/share/classes/com/sun/rowset/package.html	Mon Aug 17 11:18:31 2015 -0700
@@ -26,51 +26,51 @@
 <!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
 <html>
 <head>
-                                    
+
   <meta http-equiv="Content-Type"
  content="text/html; charset=iso-8859-1">
   <title>com.sun.rowset Package</title>
 </head>
   <body bgcolor="#ffffff">
-Provides five standard implementations of the standard JDBC <tt>RowSet</tt> implementation 
-interface definitions. These reference implementations are included with the J2SE version 
-1.5 platform and represent the benchmark standard <tt>RowSet</tt> implementations as verified 
+Provides five standard implementations of the standard JDBC <code>RowSet</code> implementation
+interface definitions. These reference implementations are included with the J2SE version
+1.5 platform and represent the benchmark standard <code>RowSet</code> implementations as verified
 by the Test Compatibility Kit (TCK) as mandated by the Java Community Process.
- <br>
-   
+<br>
+
 <h3>1.0 Available JDBC RowSet Reference Implementations </h3>
-  The following implementations are provided:<br>
-           
-<blockquote><tt><b>JdbcRowSetImpl</b></tt> - The <tt>javax.sql.rowset.JdbcRowSet</tt>
+The following implementations are provided:<br>
+
+<blockquote><code><b>JdbcRowSetImpl</b></code> - The <code>javax.sql.rowset.JdbcRowSet</code>
 interface reference implementation. <br>
 <br>
-<tt><b>CachedRowSetImpl </b></tt>- The <tt>javax.sql.rowset.CachedRowSet</tt> interface
+<code><b>CachedRowSetImpl</b></code> - The <code>javax.sql.rowset.CachedRowSet</code> interface
 reference implementation.<br>
 <br>
-<tt><b>WebRowSetImpl</b></tt> - The <tt>javax.sql.rowset.WebRowSet</tt> interface
+<code><b>WebRowSetImpl</b></code> - The <code>javax.sql.rowset.WebRowSet</code> interface
 reference implementation.<br>
 <br>
-<tt><b>FilteredRowSetImpl</b></tt> - The <tt>javax.sql.rowset.FilteredRowSet</tt>
+<code><b>FilteredRowSetImpl</b></code> - The <code>javax.sql.rowset.FilteredRowSet</code>
 interface reference implementation.<br>
 <br>
-<tt><b>JoinRowSetImpl</b></tt> - The <tt>javax.sql.rowset.JoinRowSet</tt> interface
+<code><b>JoinRowSetImpl</b></code> - The <code>javax.sql.rowset.JoinRowSet</code> interface
 reference implementation.<br>
 </blockquote>
 
-All details on their expected behavior, including their interactions with the <tt>SyncProvider</tt>
-SPI and helper classes are provided in the interface definitions in the <tt>javax.sql.rowset</tt>
+All details on their expected behavior, including their interactions with the <code>SyncProvider</code>
+SPI and helper classes are provided in the interface definitions in the <code>javax.sql.rowset</code>
 package specification.<br>
-   
+
 <h3>2.0 Usage</h3>
 The reference implementations represent robust implementations of the standard
-<code>RowSet</code> interfaces defined in the <code>javax.sql.rowset</code> package. 
-All disconnected <code>RowSet</code> implementations, such as the <tt>CachedRowSetImpl</tt>
-and <tt>WebRowSetImpl</tt>, are flexible enough to use the <tt>SyncFactory</tt> SPIs to 
-leverage non-reference implementation <tt>SyncProvider</tt> implementations to obtain
-differing synchronization semantics. Furthermore, developers and vendors alike are free 
+<code>RowSet</code> interfaces defined in the <code>javax.sql.rowset</code> package.
+All disconnected <code>RowSet</code> implementations, such as the <code>CachedRowSetImpl</code>
+and <code>WebRowSetImpl</code>, are flexible enough to use the <code>SyncFactory</code> SPIs to
+leverage non-reference implementation <code>SyncProvider</code> implementations to obtain
+differing synchronization semantics. Furthermore, developers and vendors alike are free
 to use these implementations and integrate them into their products just as they
 can with to other components of the Java platform.<br>
-   
+
 <h3>3.0 Extending the JDBC RowSet Implementations</h3>
 
 The JDBC <code>RowSet</code> reference implementations are provided as non-final
@@ -81,6 +81,6 @@
 provider a portal where implementations can be listed, similar to the way it
 provides a site for JDBC drivers.
 <br>
- <br>
+<br>
 </body>
 </html>
--- a/jdk/src/java.sql.rowset/share/classes/com/sun/rowset/providers/package.html	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.sql.rowset/share/classes/com/sun/rowset/providers/package.html	Mon Aug 17 11:18:31 2015 -0700
@@ -1,10 +1,10 @@
 <!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
 <html>
 <head>
-                    
+
   <meta http-equiv="Content-Type"
  content="text/html; charset=iso-8859-1">
-                    
+
   <meta name="GENERATOR"
  content="Mozilla/4.79 [en] (Windows NT 5.0; U) [Netscape]">
      <!--
@@ -35,21 +35,21 @@
   <title>javax.sql.rowset.providers Package</title>
 </head>
   <body bgcolor="#ffffff">
-  Repository for the <tt>RowSet</tt> reference implementations of the 
- <tt>SyncProvider</tt> abstract class. These implementations provide a 
- disconnected <code>RowSet</code>
- object with the ability to synchronize the data in the underlying data 
- source with its data.  These implementations are provided as
-the default <tt>SyncProvider</tt> implementations and are accessible via the
-<tt>SyncProvider</tt> SPI managed by the <tt>SyncFactory</tt>.  
+Repository for the <code>RowSet</code> reference implementations of the
+<code>SyncProvider</code> abstract class. These implementations provide a
+disconnected <code>RowSet</code>
+object with the ability to synchronize the data in the underlying data
+source with its data.  These implementations are provided as
+the default <code>SyncProvider</code> implementations and are accessible via the
+<code>SyncProvider</code> SPI managed by the <code>SyncFactory</code>.
 
 <h3>1.0 <code>SyncProvider</code> Reference Implementations</h3>
-  The main job of a <tt>SyncProvider</tt> implementation is to manage
+  The main job of a <code>SyncProvider</code> implementation is to manage
 the reader and writer mechanisms.
- The <tt>SyncProvider</tt> SPI, as specified in the <tt>javax.sql.rowset.spi</tt>
-package, provides a pluggable mechanism by which <tt>javax.sql.RowSetReader</tt>
-and <tt>javax.sql.RowSetWriter</tt> implementations can be supplied to a disconnected
-<tt>RowSet</tt> object.
+ The <code>SyncProvider</code> SPI, as specified in the <code>javax.sql.rowset.spi</code>
+package, provides a pluggable mechanism by which <code>javax.sql.RowSetReader</code>
+and <code>javax.sql.RowSetWriter</code> implementations can be supplied to a disconnected
+<code>RowSet</code> object.
 <P>
  A reader, a <code>javax.sql.RowSetReader</code>
 object, does the work necessary to populate a <code>RowSet</code> object with data.
@@ -100,24 +100,24 @@
    
 <UL>
 <LI>
-<b><tt>RIOptimisticProvider </tt></b>- provides the <tt>javax.sql.RowSetReader</tt>
- and <tt>javax.sql.RowSetWriter</tt> interface implementations and provides
+<b><code>RIOptimisticProvider</code></b> - provides the <code>javax.sql.RowSetReader</code>
+and <code>javax.sql.RowSetWriter</code> interface implementations and provides
 an optimistic concurrency model for synchronization. This model assumes that there
 will be few conflicts and therefore uses a relatively low grade of synchronization.
 If no other provider is available, this is the default provider that the 
 <code>SyncFactory</code> will supply to a <code>RowSet</code> object.
     <br>
 <LI>
-    <b><tt>RIXMLProvider </tt></b>- provides the <tt>XmlReader</tt> (an extension
-of  the <tt>javax.sql.RowSetReader</tt> interface) and the <tt>XmlWriter</tt>
-(an extension of the <tt>javax.sql.RowSetWriter</tt> interface) to enable
-  <tt>WebRowSet</tt> objects to write their state to a
-well formed XML document according to the <tt>WebRowSet</tt> XML schema
+<b><code>RIXMLProvider</code></b> - provides the <code>XmlReader</code> (an extension
+of the <code>javax.sql.RowSetReader</code> interface) and the <code>XmlWriter</code>
+(an extension of the <code>javax.sql.RowSetWriter</code> interface) to enable
+<code>WebRowSet</code> objects to write their state to a
+well formed XML document according to the <code>WebRowSet</code> XML schema
 definition.<br>
 </UL>
    
 <h3>2.0 Basics in RowSet Population &amp; Synchronization</h3>
-  A rowset's first task is to populate itself with rows of column values.
+A rowset's first task is to populate itself with rows of column values.
 Generally,   these rows will come from a relational database, so a rowset
 has properties   that supply what is necessary for making a connection to
 a database and executing  a query. A rowset that does not need to establish
@@ -127,28 +127,28 @@
 properties. The general  rule is that a RowSet is required to set only the
 properties that it uses.<br>
     <br>
-    The <tt>command</tt> property contains the query that determines what 
+The <code>command</code> property contains the query that determines what 
 data  a <code>RowSet</code> will contain. Rowsets have methods for setting a query's 
 parameter(s),  which means that a query can be executed multiple times with 
 different parameters  to produce different result sets. Or the query can be
 changed to something  completely new to get a new result set.           
-<p>Once a rowset contains the rows from a <tt>ResultSet</tt> object or some
-  other data source, its column values can be updated, and its rows can be
- inserted or deleted. Any method that causes a change in the rowset's values
- or cursor position also notifies any object that has been registered as
-a  listener with the rowset. So, for example, a table that displays the rowset's
- data in an applet can be notified of changes and make updates as they
- occur.<br>
+<p>Once a rowset contains the rows from a <code>ResultSet</code> object or some
+other data source, its column values can be updated, and its rows can be
+inserted or deleted. Any method that causes a change in the rowset's values
+or cursor position also notifies any object that has been registered as
+a listener with the rowset. So, for example, a table that displays the rowset's
+data in an applet can be notified of changes and make updates as they
+occur.<br>
     <br>
-  The changes made to a rowset can be propagated back to the original data
-  source to keep the rowset and its data source synchronized. Although this
-  involves many operations behind the scenes, it is completely transparent 
- to the application programmer and remains the concern of the RowSet provider 
-  developer. All an application has to do is invoke the method <tt>acceptChanges</tt>, 
-  and the data source backing the rowset will be updated to match the current 
-  values in the rowset. </p>
-       
-<p>A disconnected rowset, such as a <tt>CachedRowSet</tt> or <tt>WebRowSet</tt>
+The changes made to a rowset can be propagated back to the original data
+source to keep the rowset and its data source synchronized. Although this
+involves many operations behind the scenes, it is completely transparent 
+to the application programmer and remains the concern of the RowSet provider 
+developer. All an application has to do is invoke the method <code>acceptChanges</code>, 
+and the data source backing the rowset will be updated to match the current 
+values in the rowset. </p>
+
+<p>A disconnected rowset, such as a <code>CachedRowSet</code> or <code>WebRowSet</code>
  object, establishes a connection to populate itself with data from a database 
  and then closes the connection. The <code>RowSet</code> object will remain 
  disconnected until it wants to propagate changes back to its database table, 
@@ -156,9 +156,9 @@
  the database), the rowset establishes a connection, write the changes, and then 
  once again disconnects itself.<br>
   </p>
-      
+
 <h3> 3.0 Other Possible Implementations</h3>
- There are many other possible implementations of the <tt>SyncProvider</tt> abstract
+ There are many other possible implementations of the <code>SyncProvider</code> abstract
  class. One possibility is to employ a more robust synchronization model, which
  would give a <code>RowSet</code> object increased trust in the provider's
  ability to get any updates back to the original data source. Another possibility 
--- a/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/package.html	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/package.html	Mon Aug 17 11:18:31 2015 -0700
@@ -1,7 +1,7 @@
 <!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
 <html>
 <head>
-                                    
+
   <meta http-equiv="Content-Type"
  content="text/html; charset=iso-8859-1">
 <!--
@@ -53,40 +53,40 @@
  All five extend the 
 <a href="../RowSet.html">RowSet</a> interface described in the JDBC 3.0
 specification.  It is anticipated that additional definitions
-of more specialized JDBC <code>RowSet</code> types will emerge as this technology 
-matures. Future definitions <i>should</i> be specified as subinterfaces using 
+of more specialized JDBC <code>RowSet</code> types will emerge as this technology
+matures. Future definitions <i>should</i> be specified as subinterfaces using
 inheritance similar to the way it is used in this specification.
 <p>
 <i>Note:</i> The interface definitions provided in this package form the basis for
 all compliant JDBC <code>RowSet</code> implementations. Vendors and more advanced
-developers who intend to provide their own compliant <code>RowSet</code> implementations 
+developers who intend to provide their own compliant <code>RowSet</code> implementations
 should pay particular attention to the assertions detailed in specification
 interfaces. 
 
 <h3><a name="stdrowset">2.0 Standard RowSet Definitions</a></h3>
 <ul>
-<li><a href="JdbcRowSet.html"><b><code>JdbcRowSet</code></b></a> - A wrapper around 
-a <tt>ResultSet</tt> object that makes it possible to use the result set as a 
+<li><a href="JdbcRowSet.html"><b><code>JdbcRowSet</code></b></a> - A wrapper around
+a <code>ResultSet</code> object that makes it possible to use the result set as a
 JavaBeans&trade; component. Thus,
-a <tt>JdbcRowSet</tt> object can be a Bean that any tool
+a <code>JdbcRowSet</code> object can be a Bean that any tool
 makes available for assembling an application as part of a component based
-architecture . A <tt>JdbcRowSet</tt> object is a connected <code>RowSet</code>
+architecture. A <code>JdbcRowSet</code> object is a connected <code>RowSet</code>
 object, that is, it 
 <b>must</b> continually maintain its connection to its data source using a JDBC
 technology-enabled driver ("JDBC driver"). In addition, a <code>JdbcRowSet</code>
-object provides a fully updatable and scrollable tabular 
+object provides a fully updatable and scrollable tabular
 data structure as defined in the JDBC 3.0 specification.
 
 <li><a href="CachedRowSet.html">
 <b><code>CachedRowSet</code>&trade;</b></a>
- - A <tt>CachedRowSet</tt> object is a JavaBeans&trade;
+ - A <code>CachedRowSet</code> object is a JavaBeans&trade;
  component that is scrollable, updatable, serializable, and generally disconnected from
- the source of its data. A <tt>CachedRowSet</tt> object
+ the source of its data. A <code>CachedRowSet</code> object
 typically contains rows from a result set, but it can also contain rows from any
-file with a tabular format, such as a spreadsheet. <tt>CachedRowSet</tt> implementations 
-<b>must</b> use the <tt>SyncFactory</tt> to manage and obtain pluggable
+file with a tabular format, such as a spreadsheet. <code>CachedRowSet</code> implementations
+<b>must</b> use the <code>SyncFactory</code> to manage and obtain pluggable
 <code>SyncProvider</code> objects to provide synchronization between the
-disconnected <code>RowSet</code> object and the originating data source. 
+disconnected <code>RowSet</code> object and the originating data source.
 Typically a <code>SyncProvider</code> implementation relies upon a JDBC
 driver to obtain connectivity to a particular data source.
 Further details on this mechanism are discussed in the <a
@@ -94,13 +94,13 @@
 specification.
 
 <li><a href="WebRowSet.html"><b><code>WebRowSet</code></b></a> - A 
-<code>WebRowSet</code> object is an extension of <tt>CachedRowSet</tt>
+<code>WebRowSet</code> object is an extension of <code>CachedRowSet</code>
 that can read and write a <code>RowSet</code> object in a well formed XML format.
-This class calls an <a href="spi/XmlReader.html"><code>XmlReader</code></a> object 
+This class calls an <a href="spi/XmlReader.html"><code>XmlReader</code></a> object
 (an extension of the <a href="../RowSetReader.html"><code>RowSetReader</code></a>
 interface) to read a rowset in XML format. It calls an 
-<a href="spi/XmlWriter.html"><code>XmlWriter</code></a> object (an extension of the 
-<a href="../RowSetWriter.html"><code>RowSetWriter</code></a> interface) 
+<a href="spi/XmlWriter.html"><code>XmlWriter</code></a> object (an extension of the
+<a href="../RowSetWriter.html"><code>RowSetWriter</code></a> interface)
 to write a rowset in XML format. The reader and writer required by
 <code>WebRowSet</code> objects are provided by the
 <code>SyncFactory</code> in the form of <code>SyncProvider</code>
@@ -110,14 +110,14 @@
 <code>http://java.sun.com/xml/ns/jdbc/webrowset.xsd</code></a>.
 
 <li><a href="FilteredRowSet.html"><b><code>FilteredRowSet</code></b></a> - A
-<tt>FilteredRowSet</tt> object provides filtering functionality in a programmatic
-and extensible way. There are many instances when a <tt>RowSet</tt> <code>object</code>
+<code>FilteredRowSet</code> object provides filtering functionality in a programmatic
+and extensible way. There are many instances when a <code>RowSet</code> <code>object</code>
 has a need to provide filtering in its contents without sacrificing the disconnected
 environment, thus saving the expense of having to create a connection to the data source.
 Solutions to this need vary from providing heavyweight full scale 
 SQL query abilities, to portable components, to more lightweight 
 approaches. A <code>FilteredRowSet</code> object consumes
-an implementation of the <a href="Predicate.html"><code>Predicate</code></a> 
+an implementation of the <a href="Predicate.html"><code>Predicate</code></a>
 interface, which <b>may</b> define a filter at run time. In turn, a
 <code>FilteredRowSet</code> object is tasked with enforcing the set filter for both
 inbound and outbound read and write operations. That is, all filters can be
@@ -125,19 +125,19 @@
 however, sufficient mechanics are specified to permit any required filter to be
 implemented.
 
-<li><a href="JoinRowSet.html"><b><code>JoinRowSet</code></b></a> - The <tt>JoinRowSet</tt>
-interface  describes a mechanism by which relationships can be established between 
-two or more standard <code>RowSet</code> implementations. Any number of <tt>RowSet</tt>
- objects can be added to a <tt>JoinRowSet</tt> object provided  the <tt>RowSet</tt>objects 
-can be related  in a SQL <tt>JOIN</tt> like fashion. By definition, the SQL <tt>JOIN</tt> 
+<li><a href="JoinRowSet.html"><b><code>JoinRowSet</code></b></a> - The <code>JoinRowSet</code>
+interface  describes a mechanism by which relationships can be established between
+two or more standard <code>RowSet</code> implementations. Any number of <code>RowSet</code>
+ objects can be added to a <code>JoinRowSet</code> object provided  the <code>RowSet</code>objects
+can be related  in a SQL <code>JOIN</code> like fashion. By definition, the SQL <code>JOIN</code>
 statement  is used to combine the data contained in two (<i>or more</i>) relational
 database tables based upon a common attribute. By establishing and then enforcing
-column matches, a <tt>JoinRowSet</tt> object establishes relationships between
-<tt>RowSet</tt> instances without the need to touch the originating data source.     
+column matches, a <code>JoinRowSet</code> object establishes relationships between
+<code>RowSet</code> instances without the need to touch the originating data source.
 </ul>
 
 <h3><a name="impl">3.0 Implementer's Guide</a></h3>
-Compliant implementations of JDBC <code>RowSet</code> Implementations 
+Compliant implementations of JDBC <code>RowSet</code> Implementations
 <b>must</b> follow the assertions described in this specification. In accordance
 with the terms of the <a href="http://www.jcp.org">Java Community Process</a>, a
 Test Compatibility Kit (TCK) can be licensed to ensure compatibility with the
@@ -155,24 +155,24 @@
 </li>
 <li><b>3.2 Role of the <code>BaseRowSet</code> Class</b>
 <p>
-A compliant JDBC <code>RowSet</code> implementation <b>must</b> implement one or more 
-standard interfaces specified in this package and <b>may</b> extend the 
-<a href="BaseRowSet.html"><code>BaseRowSet</code></a> abstract class. For example, a 
+A compliant JDBC <code>RowSet</code> implementation <b>must</b> implement one or more
+standard interfaces specified in this package and <b>may</b> extend the
+<a href="BaseRowSet.html"><code>BaseRowSet</code></a> abstract class. For example, a
 <code>CachedRowSet</code> implementation must implement the <code>CachedRowSet</code>
 interface and extend the <code>BaseRowSet</code> abstract class. The
 <code>BaseRowSet</code> class provides the standard architecture on which all
 <code>RowSet</code> implementations should be built, regardless of whether the
 <code>RowSet</code> objects exist in a connected or disconnected environment.
-The <tt>BaseRowSet</tt> abstract class provides any <tt>RowSet</tt> implementation
+The <code>BaseRowSet</code> abstract class provides any <code>RowSet</code> implementation
 with its base functionality, including property manipulation and event notification
-that is fully compliant with <a href="http://java.sun.com/products/javabeans">JavaBeans</a> 
+that is fully compliant with <a href="http://java.sun.com/products/javabeans">JavaBeans</a>
 component requirements. As an example, all implementations provided in the
-reference implementations (contained in the <tt>com.sun.rowset</tt> package) use
-the <tt>BaseRowSet</tt> class as a basis for their implementations.            
+reference implementations (contained in the <code>com.sun.rowset</code> package) use
+the <code>BaseRowSet</code> class as a basis for their implementations.
 <P>
 The following table illustrates the features that the <code>BaseRowSet</code>
 abstract class provides.
-  <blockquote>                    
+  <blockquote>
     <table cellpadding="2" cellspacing="2" border="1" width="75%">
           <tbody>
             <tr>
@@ -185,8 +185,8 @@
               <td valign="top">Properties<br>
               </td>
               <td valign="top">Provides standard JavaBeans property manipulation
-  mechanisms to allow applications to get and set <code>RowSet</code> command and
-property  values. Refer to the   documentation of the <tt>javax.sql.RowSet</tt>
+mechanisms to allow applications to get and set <code>RowSet</code> command and
+property  values. Refer to the   documentation of the <code>javax.sql.RowSet</code>
 interface  (available in the JDBC 3.0 specification) for more details on
 the standard  <code>RowSet</code> properties.<br>
               </td>
@@ -195,9 +195,9 @@
               <td valign="top">Event notification<br>
               </td>
               <td valign="top">Provides standard JavaBeans event notifications
-  to registered event listeners. Refer to the documentation of <tt>javax.sql.RowSetEvent
-           </tt> interface (available in the JDBC 3.0 specification) for
-more  details on how  to register and handle standard RowSet events generated
+to registered event listeners. Refer to the documentation of <code>javax.sql.RowSetEvent</code>
+interface (available in the JDBC 3.0 specification) for
+more details on how  to register and handle standard RowSet events generated
 by  compliant implementations.<br>
               </td>
             </tr>
@@ -223,8 +223,8 @@
 <p>
 The <code>JdbcRowSet</code> describes a <code>RowSet</code> object that <b>must</b> always
 be connected to the originating data source. Implementations of the <code>JdbcRowSet</code>
-should ensure that this connection is provided solely by a JDBC driver. 
-Furthermore, <code>RowSet</code> objects that are implementations of the 
+should ensure that this connection is provided solely by a JDBC driver.
+Furthermore, <code>RowSet</code> objects that are implementations of the
 <code>JdbcRowSet</code> interface and are therefore operating in a connected environment
 do not use the <code>SyncFactory</code> to obtain a <code>RowSetReader</code> object
 or a <code>RowSetWriter</code> object. They can safely rely on the JDBC driver to
@@ -234,24 +234,24 @@
 <li>
 <b>3.4 Disconnected RowSet Requirements</b>
 <p> 
-A disconnected <code>RowSet</code> object, such as a <code>CachedRowSet</code> object, 
+A disconnected <code>RowSet</code> object, such as a <code>CachedRowSet</code> object,
 <b>should</b> delegate  
-connection management to a <code>SyncProvider</code> object provided by the 
-<code>SyncFactory</code>. To ensure fully disconnected semantics, all 
+connection management to a <code>SyncProvider</code> object provided by the
+<code>SyncFactory</code>. To ensure fully disconnected semantics, all
 disconnected <code>RowSet</code> objects <b>must</b> ensure
-that the original connection made to the data source to populate the <code>RowSet</code> 
+that the original connection made to the data source to populate the <code>RowSet</code>
 object is closed to permit the garbage collector to recover and release resources. The
-<code>SyncProvider</code> object ensures that the critical JDBC properties are 
-maintained in order to re-establish a connection to the data source when a 
-synchronization is required. A disconnected <code>RowSet</code> object should 
-therefore ensure that no 
+<code>SyncProvider</code> object ensures that the critical JDBC properties are
+maintained in order to re-establish a connection to the data source when a
+synchronization is required. A disconnected <code>RowSet</code> object should
+therefore ensure that no
 extraneous references remain on the <code>Connection</code> object.
 
 <li><b>3.5 Role of RowSetMetaDataImpl</b>
 <p>
 The <code>RowsetMetaDataImpl</code> class is a utility class that provides an implementation of the
 <a href="../RowSetMetaData.html">RowSetMetaData</a> interface, supplying standard setter
-method implementations for metadata for both connected and disconnected 
+method implementations for metadata for both connected and disconnected
 <code>RowSet</code> objects. All implementations are free to use this standard
 implementation but are not required to do so.
 
@@ -261,10 +261,10 @@
 on <code>RowSet</code> implementations.
 Similar to <a href="../../../java/sql/SQLWarning.html">SQLWarning</a> objects,
 <code>RowSetWarning</code>  objects are silently chained to the object whose method
-caused the warning to be thrown. All <code>RowSet</code> implementations <b>should</b>  
+caused the warning to be thrown. All <code>RowSet</code> implementations <b>should</b>
 ensure that this chaining occurs if a warning is generated and also ensure that the
 warnings are available via the <code>getRowSetWarnings</code> method defined in either
-the <code>JdbcRowSet</code> interface or the <code>CachedRowSet</code> interface. 
+the <code>JdbcRowSet</code> interface or the <code>CachedRowSet</code> interface.
 After a warning has been retrieved with one of the
 <code>getRowSetWarnings</code> methods, the <code>RowSetWarning</code> method
 <code>getNextWarning</code> can be called on it to retrieve any warnings that might
@@ -273,10 +273,10 @@
 
 <li><b>3.7 The Joinable Interface</b>
 <P>
-The <code>Joinable</code> interface provides both connected and disconnected 
-<code>RowSet</code> objects with the capability to be added to a 
+The <code>Joinable</code> interface provides both connected and disconnected
+<code>RowSet</code> objects with the capability to be added to a
 <code>JoinRowSet</code> object in an SQL <code>JOIN</code> operation.
-A <code>RowSet</code> object that has  implemented the <code>Joinable</code> 
+A <code>RowSet</code> object that has  implemented the <code>Joinable</code>
 interface can set a match column, retrieve a match column, or unset a match column.
 A <code>JoinRowSet</code> object can then use the <code>RowSet</code> object's
 match column as a basis for adding the <code>RowSet</code> object.
@@ -298,7 +298,7 @@
 <h3><a name="reldocs">5.0 Related Documentation</a></h3>
 <ul>
 <li><a href="http://docs.oracle.com/javase/tutorial/jdbc/basics/rowset.html">
-JDBC RowSet Tutorial</a>      
+JDBC RowSet Tutorial</a>
 </ul>
 </body>
 </html>
--- a/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/serial/package.html	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/serial/package.html	Mon Aug 17 11:18:31 2015 -0700
@@ -1,10 +1,10 @@
 <!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
 <html>
 <head>
-                
+
   <meta http-equiv="Content-Type"
  content="text/html; charset=iso-8859-1">
-                
+
   <meta name="GENERATOR"
  content="Mozilla/4.79 [en] (Windows NT 5.0; U) [Netscape]">
 <!--
@@ -36,52 +36,52 @@
 <body bgcolor="#ffffff">
 Provides utility classes to allow serializable mappings between SQL types
 and data types in the Java programming language.
-<p> Standard JDBC <code>RowSet</code> implementations may use these utility 
+<p> Standard JDBC <code>RowSet</code> implementations may use these utility
 classes to
-assist in the serialization of disconnected <code>RowSet</code> objects. 
+assist in the serialization of disconnected <code>RowSet</code> objects.
 This is useful
-when  transmitting a disconnected <tt>RowSet</tt> object over the wire to
+when  transmitting a disconnected <code>RowSet</code> object over the wire to
 a different VM or across layers within an application.<br>
 </p>
 
 <h3>1.0 SerialArray</h3>
-A serializable mapping in the Java programming language of an SQL ARRAY 
+A serializable mapping in the Java programming language of an SQL ARRAY
 value. <br>
 <br>
-The <tt>SerialArray </tt>class provides a constructor for creating a <tt>SerialArray
-</tt>instance from an Array object, methods for getting the base type and
+The <code>SerialArray</code> class provides a constructor for creating a <code>SerialArray</code>
+instance from an Array object, methods for getting the base type and
 the SQL name for the base type, and methods for copying all or part of a
-<tt>SerialArray </tt>object. <br>
+<code>SerialArray</code> object. <br>
 
 <h3>2.0 SerialBlob</h3>
 A serializable mapping in the Java programming language of an SQL BLOB
 value.  <br>
 <br>
-The <tt>SerialBlob </tt>class provides a constructor for creating an instance
+The <code>SerialBlob</code>class provides a constructor for creating an instance
 from a Blob object. Note that the Blob object should have brought the SQL
-BLOB value's data over to the client before a <tt>SerialBlob </tt>object
+BLOB value's data over to the client before a <code>SerialBlob</code>object
 is constructed from it. The data of an SQL BLOB value can be materialized
-on the client as an array of bytes (using the method <tt>Blob.getBytes</tt>)
-or as a stream of uninterpreted bytes (using the method <tt>Blob.getBinaryStream</tt>).
+on the client as an array of bytes (using the method <code>Blob.getBytes</code>)
+or as a stream of uninterpreted bytes (using the method <code>Blob.getBinaryStream</code>).
 <br>
 <br>
-<tt>SerialBlob </tt>methods make it possible to make a copy of a <tt>SerialBlob
-</tt>object as an array of bytes or as a stream. They also make it possible
-to locate a given pattern of bytes or a <tt>Blob </tt>object within a <tt>SerialBlob
-</tt>object. <br>
+<code>SerialBlob</code> methods make it possible to make a copy of a <code>SerialBlob</code>
+object as an array of bytes or as a stream. They also make it possible
+to locate a given pattern of bytes or a <code>Blob</code> object within a <code>SerialBlob</code>
+object. <br>
 
 <h3>3.0 SerialClob</h3>
 A serializable mapping in the Java programming language of an SQL CLOB
 value.  <br>
 <br>
-The <tt>SerialClob </tt>class provides a constructor for creating an instance
-from a <tt>Clob </tt>object. Note that the <tt>Clob </tt>object should have
-brought the SQL CLOB value's data over to the client before a <tt>SerialClob
-</tt>object is constructed from it. The data of an SQL CLOB value can be
+The <code>SerialClob</code> class provides a constructor for creating an instance
+from a <code>Clob</code> object. Note that the <code>Clob</code> object should have
+brought the SQL CLOB value's data over to the client before a <code>SerialClob</code>
+object is constructed from it. The data of an SQL CLOB value can be
 materialized on the client as a stream of Unicode characters. <br>
 <br>
-<tt>SerialClob </tt>methods make it possible to get a substring from a 
-<tt>SerialClob </tt>object or to locate the start of a pattern of characters. 
+<code>SerialClob</code> methods make it possible to get a substring from a
+<code>SerialClob</code> object or to locate the start of a pattern of characters.
 <br>
 
 <h3>5.0 SerialDatalink</h3>
@@ -89,11 +89,11 @@
 value. A DATALINK value references a file outside of the underlying data source
 that the originating data source manages. <br>
 <br>
-<code>RowSet</code> implementations can use the method <tt>RowSet.getURL() </tt>to retrieve
+<code>RowSet</code> implementations can use the method <code>RowSet.getURL()</code> to retrieve
 a <code>java.net.URL</code> object, which can be used to manipulate the external data.
 <br>
 <br>
-&nbsp;&nbsp;<tt>&nbsp;&nbsp;&nbsp; java.net.URL url = rowset.getURL(1);</tt><br>
+&nbsp;&nbsp;<code>&nbsp;&nbsp;&nbsp; java.net.URL url = rowset.getURL(1);</code><br>
 
 <h3>6.0 SerialJavaObject</h3>
 A serializable mapping in the Java programming language of an SQL JAVA_OBJECT
@@ -103,16 +103,16 @@
 If however, the serialization is not possible in the case where the Java
 object is not immediately serializable, this class will attempt to serialize
 all non static members to permit the object instance state to be serialized.
-Static or transient fields cannot be serialized and attempting to do so 
-will result in a <tt>SerialException </tt>being thrown. <br>
+Static or transient fields cannot be serialized and attempting to do so
+will result in a <code>SerialException</code> being thrown. <br>
 
 <h3>7.0 SerialRef</h3>
 A serializable mapping between the SQL REF type and the Java programming
 language. <br>
 <br>
-The <tt>SerialRef </tt>class provides a constructor for creating a <tt>SerialRef
-</tt>instance from a <tt>Ref</tt> type and provides methods for getting
-and setting the <tt>Ref</tt> object type. <br>
+The <code>SerialRef</code> class provides a constructor for creating a <code>SerialRef</code>
+instance from a <code>Ref</code> type and provides methods for getting
+and setting the <code>Ref</code> object type. <br>
 
 <h3>8.0 SerialStruct</h3>
 A serializable mapping in the Java programming language of an SQL structured
@@ -121,58 +121,58 @@
 that is not already serializable is mapped to a serializable form. <br>
 <br>
 In addition, if a <code>Map</code> object is passed to one of the constructors or
-to the method <code>getAttributes</code>, the structured type is custom mapped 
+to the method <code>getAttributes</code>, the structured type is custom mapped
 according to the mapping specified in the <code>Map</code> object.
-  <br>
-  The <tt>SerialStruct </tt>class provides a constructor for creating an
-instance  from a <tt>Struct</tt> object, a method for retrieving the SQL
+<br>
+The <code>SerialStruct</code> class provides a constructor for creating an
+instance  from a <code>Struct</code> object, a method for retrieving the SQL
 type name of the SQL structured type in the database, and methods for retrieving
 its attribute values. <br>
-   
+
 <h3>9.0 SQLInputImpl</h3>
-  An input stream used for custom mapping user-defined types (UDTs). An 
-  <tt>SQLInputImpl</tt> object is an input stream that contains a stream of 
+  An input stream used for custom mapping user-defined types (UDTs). An
+  <code>SQLInputImpl</code> object is an input stream that contains a stream of
   values that are
 the attributes of a UDT. This class is used by the driver behind the scenes
-when the method <tt>getObject</tt> is called on an SQL structured or distinct
-type that has a custom mapping; a programmer never invokes <tt>SQLInputImpl
-</tt> methods directly. <br>
+when the method <code>getObject</code> is called on an SQL structured or distinct
+type that has a custom mapping; a programmer never invokes <code>SQLInputImpl</code>
+methods directly. <br>
   <br>
-  The <tt>SQLInputImpl</tt> class provides a set of reader methods
- analogous to the <tt>ResultSet</tt> getter methods. These methods make it
- possible to read the values in an <tt>SQLInputImpl</tt> object. The method
+The <code>SQLInputImpl</code> class provides a set of reader methods
+analogous to the <code>ResultSet</code> getter methods. These methods make it
+possible to read the values in an <code>SQLInputImpl</code> object. The method
 <code>wasNull</code> is used to determine whether the last value read was SQL NULL.
+<br>
  <br>
-  <br>
-  When a constructor or getter method that takes a <code>Map</code> object is called, 
+When a constructor or getter method that takes a <code>Map</code> object is called,
 the JDBC driver calls the method
-<tt>SQLData.getSQLType</tt> to determine the SQL type of the UDT being custom
+<code>SQLData.getSQLType</code> to determine the SQL type of the UDT being custom
 mapped. The driver  creates an instance of <code>SQLInputImpl</code>, populating it with
 the attributes of  the UDT. The driver then passes the input stream to the
-method <tt>SQLData.readSQL</tt>,  which in turn calls the <tt>SQLInputImpl</tt>
+method <code>SQLData.readSQL</code>,  which in turn calls the <code>SQLInputImpl</code>
 methods to read the  attributes from the input stream. <br>
-   
+
 <h3>10.0 SQLOutputImpl</h3>
   The output stream for writing the attributes of a custom mapped user-defined
  type (UDT) back to the database. The driver uses this interface internally,
  and its methods are never directly invoked by an application programmer.
 <br>
   <br>
-  When an application calls the method <tt>PreparedStatement.setObject, </tt>the
- driver checks to see whether the value to be written is a UDT with a custom
- mapping. If it is, there will be an entry in a type map containing the Class
- object for the class that implements <tt>SQLData </tt>for this UDT. If the
- value to be written is an instance of <tt>SQLData</tt>, the driver will
-create  an instance of <code>SQLOutputImpl</code> and pass it to the method 
-<tt>SQLData.writeSQL</tt>.
- The method <code>writeSQL</code> in turn calls the appropriate <tt>SQLOutputImpl</tt>
-writer methods to write data from the <code>SQLData</code> object to the 
+When an application calls the method <code>PreparedStatement.setObject</code>, the
+driver checks to see whether the value to be written is a UDT with a custom
+mapping. If it is, there will be an entry in a type map containing the Class
+object for the class that implements <code>SQLData</code> for this UDT. If the
+value to be written is an instance of <code>SQLData</code>, the driver will
+create  an instance of <code>SQLOutputImpl</code> and pass it to the method
+<code>SQLData.writeSQL</code>.
+The method <code>writeSQL</code> in turn calls the appropriate <code>SQLOutputImpl</code>
+writer methods to write data from the <code>SQLData</code> object to the
 <code>SQLOutputImpl</code>
-output  stream as the representation of an SQL user-defined type.       
-   
+output  stream as the representation of an SQL user-defined type.
+
 <h3>Custom Mapping</h3>
-The JDBC API provides mechanisms for mapping an SQL structured type or DISTINCT 
-type to the Java programming language.  Typically, a structured type is mapped 
+The JDBC API provides mechanisms for mapping an SQL structured type or DISTINCT
+type to the Java programming language.  Typically, a structured type is mapped
 to a class, and its attributes are mapped to fields in the class.
 (A DISTINCT type can thought of as having one attribute.)  However, there are
 many other possibilities, and there may be any number of different mappings.
@@ -181,7 +181,7 @@
 For example, if an SQL structured type named AUTHORS has the attributes NAME,
 TITLE, and PUBLISHER, it could be mapped to a Java class named Authors.  The
 Authors class could have the fields name, title, and publisher, to which the
-attributes of AUTHORS are mapped.  In such a case, the implementation of 
+attributes of AUTHORS are mapped.  In such a case, the implementation of
 <code>SQLData</code> could look like the following:
 <PRE>
    public class Authors implements SQLData {
@@ -213,27 +213,27 @@
 A <code>java.util.Map</code> object is used to associate the SQL structured
 type with its mapping to the class <code>Authors</code>. The following code fragment shows
 how a <code>Map</code> object might be created and given an entry associating
-<code>AUTHORS</code> and <code>Authors</code>.  
+<code>AUTHORS</code> and <code>Authors</code>.
 <PRE>
     java.util.Map map = new java.util.HashMap();
     map.put("SCHEMA_NAME.AUTHORS", Class.forName("Authors");
 </PRE>
- 
-The <code>Map</code> object <i>map</i> now contains an entry with the 
+
+The <code>Map</code> object <i>map</i> now contains an entry with the
 fully qualified name of the SQL structured type and the <code>Class</code>
  object for the class <code>Authors</code>.  It can be passed to a method
-to tell the driver how to map <code>AUTHORS</code> to <code>Authors</code>.  
+to tell the driver how to map <code>AUTHORS</code> to <code>Authors</code>.
 <P>
 For a disconnected <code>RowSet</code> object, custom mapping can be done
 only when a <code>Map</code> object is passed to the method or constructor
 that will be doing the custom mapping.  The situation is different for
 connected <code>RowSet</code> objects because they maintain a connection
-with the data source.  A method that does custom mapping and is called by 
+with the data source.  A method that does custom mapping and is called by
 a disconnected <code>RowSet</code> object may use the <code>Map</code>
 object that is associated with the <code>Connection</code> object being
-used. So, in other words, if no map is specified, the connection's type 
+used. So, in other words, if no map is specified, the connection's type
 map can be used by default.
-     
+
 <br>
 </body>
 </html>
--- a/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/spi/package.html	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/spi/package.html	Mon Aug 17 11:18:31 2015 -0700
@@ -37,14 +37,14 @@
   <body bgcolor="#ffffff">
 
 The standard classes and interfaces that a third party vendor has to
-use in its implementation of a synchronization provider. These classes and 
-interfaces are referred to as the Service Provider Interface (SPI). A vendor may 
+use in its implementation of a synchronization provider. These classes and
+interfaces are referred to as the Service Provider Interface (SPI). A vendor may
 have its implementation included on the JDBC web page that lists available
 <code>SyncProvider</code> implementations by sending email to <code>jdbc@sun.com</code>.
 Doing this helps make developers aware of the implementation. To make it possible
 for a <code>RowSet</code> object to use an implementation, the vendor must register
 it with the <code>SyncFactory</code> singleton. (See the class comment for
-<code>SyncProvider</code> for a full explanation of the registration process and 
+<code>SyncProvider</code> for a full explanation of the registration process and
 the naming convention to be used.)
 
 <h2>Table of Contents</h2>
@@ -81,10 +81,10 @@
 object with the mechanisms for reading data into it and for writing data that has been
 modified in it
 back to the underlying data source.  A <i>reader</i>, a <code>RowSetReader</code> or
-<code>XMLReader</code> object, reads data into a <code>RowSet</code> object when the 
-<code>CachedRowSet</code> methods <code>execute</code> or <code>populate</code> 
+<code>XMLReader</code> object, reads data into a <code>RowSet</code> object when the
+<code>CachedRowSet</code> methods <code>execute</code> or <code>populate</code>
 are called.  A <i>writer</i>, a <code>RowSetWriter</code> or <code>XMLWriter</code>
-object, writes changes back to the underlying data source when the 
+object, writes changes back to the underlying data source when the
 <code>CachedRowSet</code> method <code>acceptChanges</code> is called.
 <P>
 The process of writing changes in a <code>RowSet</code> object to its data source
@@ -96,9 +96,9 @@
 The lower grades of synchronization are
 known as <i>optimistic</i> concurrency levels because they optimistically
 assume that there will be no conflicts or very few conflicts.  A conflict exists when
-the same data modified in the <code>RowSet</code> object has also been modified 
+the same data modified in the <code>RowSet</code> object has also been modified
 in the data source. Using the optimistic concurrency model means that if there
-is a conflict, modifications to either the data source or the <code>RowSet</code> 
+is a conflict, modifications to either the data source or the <code>RowSet</code>
 object will be lost.
 <P>
 Higher grades of synchronization are called <i>pessimistic</i> because they assume
@@ -106,7 +106,7 @@
 grades set varying levels of locks to increase the chances that no conflicts
 occur.
 <P>
-The lowest level of synchronization is simply writing any changes made to the 
+The lowest level of synchronization is simply writing any changes made to the
 <code>RowSet</code> object to its underlying data source.  The writer does
 nothing to check for conflicts. 
 If there is a conflict and the data
@@ -116,69 +116,69 @@
 The <code>RIXMLProvider</code> implementation uses the lowest level 
 of synchronization and just writes <code>RowSet</code> changes to the data source.
 This is true because  typically XML data sources do not enable transaction
-techniques for maintaining the integrity of data. However, specific standards 
+techniques for maintaining the integrity of data. However, specific standards
 groups have considered offering XML-based synchronization.  For details, see
 <PRE>
      <a href="http://www.syncml.org">http://www.syncml.org</a>
 </PRE>
 <P>
 For the next level up, the
-writer checks to see if there are any conflicts, and if there are, 
+writer checks to see if there are any conflicts, and if there are,
 it does not write anything to the data source.  The problem with this concurrency
-level is that if another party has modified the corresponding data in the data source 
+level is that if another party has modified the corresponding data in the data source
 since the <code>RowSet</code> object got its data,
 the changes made to the <code>RowSet</code> object are lost. The
 <code>RIOptimisticProvider</code> implementation uses this level of synchronization.
 <P>
 At higher levels of synchronization, referred to as pessimistic concurrency,
 the writer take steps to avoid conflicts by setting locks. Setting locks
-can vary from setting a lock on a single row to setting a lock on a table 
-or the entire data source. The level of synchronization is therefore a tradeoff 
+can vary from setting a lock on a single row to setting a lock on a table
+or the entire data source. The level of synchronization is therefore a tradeoff
 between the ability of users to access the data source concurrently and the  ability
 of the writer to keep the data in the <code>RowSet</code> object and its data source
 synchronized.
 <P>
-It is a requirement that all disconnected <code>RowSet</code> objects 
-(<code>CachedRowSet</code>, <code>FilteredRowSet</code>, <code>JoinRowSet</code>, 
+It is a requirement that all disconnected <code>RowSet</code> objects
+(<code>CachedRowSet</code>, <code>FilteredRowSet</code>, <code>JoinRowSet</code>,
 and <code>WebRowSet</code> objects) obtain their <code>SyncProvider</code> objects
 from the <code>SyncFactory</code> mechanism.  
 <P>
 The reference implementation (RI) provides two synchronization providers.
-	<UL>
-       <LI><b><tt>RIOptimisticProvider</tt></b> <br>
+    <UL>
+       <LI><b><code>RIOptimisticProvider</code></b> <br>
            The default provider that the <code>SyncFactory</code> instance will
            supply to a disconnected <code>RowSet</code> object when no provider
            implementation is specified.<BR>
            This synchronization provider uses an optimistic concurrency model,
-           assuming that there will be few conflicts among users 
+           assuming that there will be few conflicts among users
            who are accessing the same data in a database.  It avoids
            using locks; rather, it checks to see if there is a conflict
            before trying to synchronize the <code>RowSet</code> object and the
            data source. If there is a conflict, it does nothing, meaning that
            changes to the <code>RowSet</code> object are not persisted to the data
            source.
-       <LI><B><tt>RIXMLProvider</tt></B> <BR>
+       <LI><B><code>RIXMLProvider</code></B> <BR>
             A synchronization provider that can be used with a
-            <code>WebRowSet</code> object, which is a rowset that can be written 
-            in XML format or read from XML format. The 
+            <code>WebRowSet</code> object, which is a rowset that can be written
+            in XML format or read from XML format. The
             <code>RIXMLProvider</code> implementation does no checking at all for
             conflicts and simply writes any updated data in the
             <code>WebRowSet</code> object to the underlying data source.
             <code>WebRowSet</code> objects use this provider when they are 
             dealing with XML data.
-	</UL>
+    </UL>
 
 These <code>SyncProvider</code> implementations
 are bundled with the reference implementation, which makes them always available to
-<code>RowSet</code> implementations. 
+<code>RowSet</code> implementations.
 <code>SyncProvider</code> implementations make themselves available by being
-registered with the <code>SyncFactory</code> singleton.  When a <code>RowSet</code> 
+registered with the <code>SyncFactory</code> singleton.  When a <code>RowSet</code>
 object requests a provider, by specifying it in the constructor or as an argument to the
-<code>CachedRowSet</code> method <code>setSyncProvider</code>, 
+<code>CachedRowSet</code> method <code>setSyncProvider</code>,
 the <code>SyncFactory</code> singleton
 checks to see if the requested provider has been registered with it.
 If it has, the <code>SyncFactory</code> creates an instance of it and passes it to the
-requesting <code>RowSet</code> object.  
+requesting <code>RowSet</code> object.
 If the <code>SyncProvider</code> implementation that is specified has not been registered,
 the <code>SyncFactory</code> singleton causes a <code>SyncFactoryException</code> object
 to be thrown.  If no provider is specified,
@@ -189,18 +189,18 @@
 <P>
 If a <code>WebRowSet</code> object does not specify a provider in its constructor, the
 <code>SyncFactory</code> will give it an instance of <code>RIOptimisticProvider</code>.
-However, the constructor for <code>WebRowSet</code> is implemented to set the provider 
+However, the constructor for <code>WebRowSet</code> is implemented to set the provider
 to the <code>RIXMLProvider</code>, which reads and writes a <code>RowSet</code> object
 in XML format.
 <P>
 See the <a href="SyncProvider.html">SyncProvider</a> class
 specification for further details.
 <p>
-Vendors may develop a <tt>SyncProvider</tt> implementation with any one of the possible
+Vendors may develop a <code>SyncProvider</code> implementation with any one of the possible
 levels of synchronization, thus giving <code>RowSet</code> objects a choice of
-synchronization mechanisms.  A vendor can make its implementation available by 
+synchronization mechanisms.  A vendor can make its implementation available by
 registering the fully qualified class name with Oracle Corporation at
-<code>jdbc@sun.com</code>. This process is discussed in further detail below. 
+<code>jdbc@sun.com</code>. This process is discussed in further detail below.
 
 <h3><a name="arch">2.0 Service Provider Interface Architecture</a></h3>
 <b>2.1 Overview</b>
@@ -208,7 +208,7 @@
 The Service Provider Interface provides a pluggable mechanism by which
 <code>SyncProvider</code> implementations can be registered and then generated when
 required. The lazy reference mechanism employed by the <code>SyncFactory</code> limits
-unnecessary resource consumption by not creating an instance until it is 
+unnecessary resource consumption by not creating an instance until it is
 required by a disconnected
 <code>RowSet</code> object. The <code>SyncFactory</code> class also provides
 a standard API to configure logging options and streams that <b>may</b> be provided
@@ -216,11 +216,11 @@
 <p>
 <b>2.2 Registering with the <code>SyncFactory</code></b>
 <p>
-A third party <code>SyncProvider</code> implementation must be registered with the 
-<code>SyncFactory</code> in order for a disconnected <code>RowSet</code> object 
-to obtain it and thereby use its <code>javax.sql.RowSetReader</code> and 
+A third party <code>SyncProvider</code> implementation must be registered with the
+<code>SyncFactory</code> in order for a disconnected <code>RowSet</code> object
+to obtain it and thereby use its <code>javax.sql.RowSetReader</code> and
 <code>javax.sql.RowSetWriter</code>
-implementations. The following registration mechanisms are available to all 
+implementations. The following registration mechanisms are available to all
 <code>SyncProvider</code> implementations:
 <ul>
 <li><b>System properties</b> - Properties set at the command line. These
@@ -235,9 +235,9 @@
 file than can be edited to add additional <code>SyncProvider</code> objects.
 
 <li><b>JNDI Context</b> - Available providers can be registered on a JNDI
-context. The <tt>SyncFactory</tt> will attempt to load <tt>SyncProvider</tt>
+context. The <code>SyncFactory</code> will attempt to load <code>SyncProvider</code>
 objects bound to the context and register them with the factory. This
-context must be supplied to the <code>SyncFactory</code> for the mechanism to 
+context must be supplied to the <code>SyncFactory</code> for the mechanism to
 function correctly.
 </ul>
 <p>
@@ -250,11 +250,11 @@
 The <code>SyncFactory</code> generates a requested <code>SyncProvider</code>
 object if the provider has been correctly registered.  The
 following policies are adhered to when either a disconnected <code>RowSet</code> object
-is instantiated with a specified <code>SyncProvider</code> implementation or is 
+is instantiated with a specified <code>SyncProvider</code> implementation or is
 reconfigured at runtime with an alternative <code>SyncProvider</code> object.
 <ul>
 <li> If a <code>SyncProvider</code> object is specified and the <code>SyncFactory</code>
-contains <i>no</i> reference to the provider, a <code>SyncFactoryException</code> is 
+contains <i>no</i> reference to the provider, a <code>SyncFactoryException</code> is
 thrown.
 
 <li> If a <code>SyncProvider</code> object is specified and the <code>SyncFactory</code>
@@ -294,13 +294,13 @@
 <li><b>GRADE_NONE</b> - No synchronization with the originating data source is
 provided. A <code>SyncProvider</code> implementation returning this grade will simply
 attempt to write any data that has changed in the <code>RowSet</code> object to the
-underlying data source, overwriting whatever is there. No attempt is made to compare 
-original values with current values to see if there is a conflict. The 
+underlying data source, overwriting whatever is there. No attempt is made to compare
+original values with current values to see if there is a conflict. The
 <code>RIXMLProvider</code> is implemented with this grade.
 
 <li><b>GRADE_CHECK_MODIFIED_AT_COMMIT</b> - A low grade of optimistic synchronization.
 A <code>SyncProvider</code> implementation returning this grade
-will check for conflicts in rows that have changed between the last synchronization 
+will check for conflicts in rows that have changed between the last synchronization
 and the current synchronization under way. Any changes in the originating data source
 that have been modified will not be reflected in the disconnected <code>RowSet</code>
 object. If there are no conflicts, changes in the <code>RowSet</code> object will be
@@ -333,16 +333,16 @@
 on which constructs the locks are placed.  These locks will remain on the data
 source while the <code>RowSet</code> object is disconnected from the data source.
 <P>
-These constants <b>should</b> be considered complementary to the 
+These constants <b>should</b> be considered complementary to the
 grade constants. The default setting for the majority of grade settings requires
-that no data source locks remain when a <code>RowSet</code> object is disconnected 
+that no data source locks remain when a <code>RowSet</code> object is disconnected
 from its data source.
 The grades <code>GRADE_LOCK_WHEN_MODIFIED</code> and
 <code>GRADE_LOCK_WHEN_LOADED</code> allow a disconnected <code>RowSet</code> object
 to have a fine-grained control over the degree of locking.
 <ul>
-<li><b>DATASOURCE_NO_LOCK</b> - No locks remain on the originating data source. 
-This is the default lock setting for all <code>SyncProvider</code> implementations 
+<li><b>DATASOURCE_NO_LOCK</b> - No locks remain on the originating data source.
+This is the default lock setting for all <code>SyncProvider</code> implementations
 unless otherwise directed by a <code>RowSet</code> object.
 
 <li><b>DATASOURCE_ROW_LOCK</b> - A lock is placed on the rows that are touched by
@@ -364,26 +364,26 @@
 <ul>
 <li><b>UPDATABLE_VIEW_SYNC</b>
 Indicates that a <code>SyncProvider</code> implementation  supports synchronization
-to the table or tables from which the SQL <code>VIEW</code> used to populate  a
+to the table or tables from which the SQL <code>VIEW</code> used to populate
 a <code>RowSet</code> object is derived.
 
 <li><b>NONUPDATABLE_VIEW_SYNC</b>
 Indicates that a <code>SyncProvider</code> implementation  does <b>not</b> support
-synchronization to the table or tables from which the SQL <code>VIEW</code> 
+synchronization to the table or tables from which the SQL <code>VIEW</code>
 used to populate  a <code>RowSet</code> object is derived.
 </ul>
 <p>
 <b>3.5 Usage of <code>SyncProvider</code> Grading and Locking</b>
 <p>
-In the example below, the reference <tt>CachedRowSetImpl</tt> implementation
-reconfigures its current <tt>SyncProvider</tt> object by calling the 
-<tt>setSyncProvider</tt> method.<br>
+In the example below, the reference <code>CachedRowSetImpl</code> implementation
+reconfigures its current <code>SyncProvider</code> object by calling the
+<code>setSyncProvider</code> method.<br>
 
 <PRE>
     CachedRowSetImpl crs = new CachedRowSetImpl();
     crs.setSyncProvider("com.foo.bar.HASyncProvider");
 </PRE>
-    An application can retrieve the <tt>SyncProvider</tt> object currently in use
+    An application can retrieve the <code>SyncProvider</code> object currently in use
 by a disconnected <code>RowSet</code> object. It can also retrieve the
 grade of synchronization with which the provider was implemented and the degree of
 locking currently in use.  In addition, an application has the flexibility to set
@@ -396,14 +396,14 @@
     case: SyncProvider.GRADE_CHECK_ALL_AT_COMMIT
          //A high grade of optimistic synchronization
     break;
-    case: SyncProvider.GRADE_CHECK_MODIFIED_AT_COMMIT 
-         //A low grade of optimistic synchronization 
+    case: SyncProvider.GRADE_CHECK_MODIFIED_AT_COMMIT
+         //A low grade of optimistic synchronization
     break;
-    case: SyncProvider.GRADE_LOCK_WHEN_LOADED 
-         // A pessimistic synchronization grade 
+    case: SyncProvider.GRADE_LOCK_WHEN_LOADED
+         // A pessimistic synchronization grade
     break;
-    case: SyncProvider.GRADE_LOCK_WHEN_MODIFIED 
-         // A pessimistic synchronization grade 
+    case: SyncProvider.GRADE_LOCK_WHEN_MODIFIED
+         // A pessimistic synchronization grade
     break;
     case: SyncProvider.GRADE_NONE 
       // No synchronization with the originating data source provided
@@ -421,13 +421,13 @@
       break;
 
       case: SyncProvider.DATASOURCE_ROW_LOCK
-       // A lock is placed on the rows that are  touched by the original 
+       // A lock is placed on the rows that are  touched by the original
        // SQL statement used to populate
        // the RowSet object that is using the SyncProvider
        break;
 
       case: DATASOURCE_TABLE_LOCK
-       // A lock is placed on  all tables that are touched by the original 
+       // A lock is placed on  all tables that are touched by the original
        // SQL statement used to populated
        // the RowSet object that is using the SyncProvider
        break;
@@ -450,12 +450,12 @@
 it throws a <code>SyncProviderException</code> object.  An application can
 catch the exception and
 have it retrieve a <code>SyncResolver</code> object by calling the method
-<code>SyncProviderException.getSyncResolver()</code>. 
+<code>SyncProviderException.getSyncResolver()</code>.
 <P>
-A <code>SyncResolver</code> object, which is a special kind of 
+A <code>SyncResolver</code> object, which is a special kind of
 <code>CachedRowSet</code> object or
-a <code>JdbcRowSet</code> object that has implemented the <code>SyncResolver</code> 
-interface,  examines the conflicts row by row. It is a duplicate of the 
+a <code>JdbcRowSet</code> object that has implemented the <code>SyncResolver</code>
+interface,  examines the conflicts row by row. It is a duplicate of the
 <code>RowSet</code> object being synchronized except that it contains only the data
 from the data source this is causing a conflict. All of the other column values are
 set to <code>null</code>. To navigate from one conflict value to another, a
@@ -472,18 +472,18 @@
      to be changed
 </UL>
 <P>
-When the <code>CachedRowSet</code> method <code>acceptChanges</code> is called, it 
+When the <code>CachedRowSet</code> method <code>acceptChanges</code> is called, it
 delegates to the <code>RowSet</code> object's  <code>SyncProvider</code> object.
 How the writer provided by that <code>SyncProvider</code> object is implemented
-determines what level (grade) of checking for conflicts will be done.  After all 
+determines what level (grade) of checking for conflicts will be done.  After all
 checking for conflicts is completed and one or more conflicts has been found, the method
 <code>acceptChanges</code> throws a <code>SyncProviderException</code> object. The
-application can catch the exception and use it to obtain a <code>SyncResolver</code> object.  
+application can catch the exception and use it to obtain a <code>SyncResolver</code> object.
 <P>
 The application can then use <code>SyncResolver</code> methods to get information
 about each conflict and decide what to do.  If the application logic or the user
 decides that a value in the <code>RowSet</code> object should be the one to
-persist, the application or user can overwrite the data source value with it.  
+persist, the application or user can overwrite the data source value with it.
 <P>
 The comment for the <code>SyncResolver</code> interface has more detail.
 
--- a/jdk/src/java.sql/share/classes/java/sql/Timestamp.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/java.sql/share/classes/java/sql/Timestamp.java	Mon Aug 17 11:18:31 2015 -0700
@@ -31,43 +31,43 @@
 import sun.misc.JavaLangAccess;
 
 /**
- * <P>A thin wrapper around <code>java.util.Date</code> that allows
- * the JDBC API to identify this as an SQL <code>TIMESTAMP</code> value.
+ * <P>A thin wrapper around {@code java.util.Date} that allows
+ * the JDBC API to identify this as an SQL {@code TIMESTAMP} value.
  * It adds the ability
- * to hold the SQL <code>TIMESTAMP</code> fractional seconds value, by allowing
+ * to hold the SQL {@code TIMESTAMP} fractional seconds value, by allowing
  * the specification of fractional seconds to a precision of nanoseconds.
  * A Timestamp also provides formatting and
  * parsing operations to support the JDBC escape syntax for timestamp values.
  *
  * <p>The precision of a Timestamp object is calculated to be either:
  * <ul>
- * <li><code>19 </code>, which is the number of characters in yyyy-mm-dd hh:mm:ss
- * <li> <code> 20 + s </code>, which is the number
- * of characters in the yyyy-mm-dd hh:mm:ss.[fff...] and <code>s</code> represents  the scale of the given Timestamp,
+ * <li>{@code 19 }, which is the number of characters in yyyy-mm-dd hh:mm:ss
+ * <li> {@code  20 + s }, which is the number
+ * of characters in the yyyy-mm-dd hh:mm:ss.[fff...] and {@code s} represents  the scale of the given Timestamp,
  * its fractional seconds precision.
  *</ul>
  *
- * <P><B>Note:</B> This type is a composite of a <code>java.util.Date</code> and a
+ * <P><B>Note:</B> This type is a composite of a {@code java.util.Date} and a
  * separate nanoseconds value. Only integral seconds are stored in the
- * <code>java.util.Date</code> component. The fractional seconds - the nanos - are
- * separate.  The <code>Timestamp.equals(Object)</code> method never returns
- * <code>true</code> when passed an object
- * that isn't an instance of <code>java.sql.Timestamp</code>,
+ * {@code java.util.Date} component. The fractional seconds - the nanos - are
+ * separate.  The {@code Timestamp.equals(Object)} method never returns
+ * {@code true} when passed an object
+ * that isn't an instance of {@code java.sql.Timestamp},
  * because the nanos component of a date is unknown.
- * As a result, the <code>Timestamp.equals(Object)</code>
+ * As a result, the {@code Timestamp.equals(Object)}
  * method is not symmetric with respect to the
- * <code>java.util.Date.equals(Object)</code>
- * method.  Also, the <code>hashCode</code> method uses the underlying
- * <code>java.util.Date</code>
+ * {@code java.util.Date.equals(Object)}
+ * method.  Also, the {@code hashCode} method uses the underlying
+ * {@code java.util.Date}
  * implementation and therefore does not include nanos in its computation.
  * <P>
- * Due to the differences between the <code>Timestamp</code> class
- * and the <code>java.util.Date</code>
+ * Due to the differences between the {@code Timestamp} class
+ * and the {@code java.util.Date}
  * class mentioned above, it is recommended that code not view
- * <code>Timestamp</code> values generically as an instance of
- * <code>java.util.Date</code>.  The
- * inheritance relationship between <code>Timestamp</code>
- * and <code>java.util.Date</code> really
+ * {@code Timestamp} values generically as an instance of
+ * {@code java.util.Date}.  The
+ * inheritance relationship between {@code Timestamp}
+ * and {@code java.util.Date} really
  * denotes implementation inheritance, and not type inheritance.
  */
 public class Timestamp extends java.util.Date {
@@ -75,7 +75,7 @@
     private static final JavaLangAccess jla = SharedSecrets.getJavaLangAccess();
 
     /**
-     * Constructs a <code>Timestamp</code> object initialized
+     * Constructs a {@code Timestamp} object initialized
      * with the given values.
      *
      * @param year the year minus 1900
@@ -85,7 +85,7 @@
      * @param minute 0 to 59
      * @param second 0 to 59
      * @param nano 0 to 999,999,999
-     * @deprecated instead use the constructor <code>Timestamp(long millis)</code>
+     * @deprecated instead use the constructor {@code Timestamp(long millis)}
      * @exception IllegalArgumentException if the nano argument is out of bounds
      */
     @Deprecated
@@ -99,11 +99,11 @@
     }
 
     /**
-     * Constructs a <code>Timestamp</code> object
+     * Constructs a {@code Timestamp} object
      * using a milliseconds time value. The
      * integral seconds are stored in the underlying date value; the
-     * fractional seconds are stored in the <code>nanos</code> field of
-     * the <code>Timestamp</code> object.
+     * fractional seconds are stored in the {@code nanos} field of
+     * the {@code Timestamp} object.
      *
      * @param time milliseconds since January 1, 1970, 00:00:00 GMT.
      *        A negative number is the number of milliseconds before
@@ -120,8 +120,8 @@
     }
 
     /**
-     * Sets this <code>Timestamp</code> object to represent a point in time that is
-     * <tt>time</tt> milliseconds after January 1, 1970 00:00:00 GMT.
+     * Sets this {@code Timestamp} object to represent a point in time that is
+     * {@code time} milliseconds after January 1, 1970 00:00:00 GMT.
      *
      * @param time   the number of milliseconds.
      * @see #getTime
@@ -139,7 +139,7 @@
 
     /**
      * Returns the number of milliseconds since January 1, 1970, 00:00:00 GMT
-     * represented by this <code>Timestamp</code> object.
+     * represented by this {@code Timestamp} object.
      *
      * @return  the number of milliseconds since January 1, 1970, 00:00:00 GMT
      *          represented by this date.
@@ -157,16 +157,16 @@
     private int nanos;
 
     /**
-     * Converts a <code>String</code> object in JDBC timestamp escape format to a
-     * <code>Timestamp</code> value.
+     * Converts a {@code String} object in JDBC timestamp escape format to a
+     * {@code Timestamp} value.
      *
-     * @param s timestamp in format <code>yyyy-[m]m-[d]d hh:mm:ss[.f...]</code>.  The
-     * fractional seconds may be omitted. The leading zero for <code>mm</code>
-     * and <code>dd</code> may also be omitted.
+     * @param s timestamp in format {@code yyyy-[m]m-[d]d hh:mm:ss[.f...]}.  The
+     * fractional seconds may be omitted. The leading zero for {@code mm}
+     * and {@code dd} may also be omitted.
      *
-     * @return corresponding <code>Timestamp</code> value
+     * @return corresponding {@code Timestamp} value
      * @exception java.lang.IllegalArgumentException if the given argument
-     * does not have the format <code>yyyy-[m]m-[d]d hh:mm:ss[.f...]</code>
+     * does not have the format {@code yyyy-[m]m-[d]d hh:mm:ss[.f...]}
      */
     public static Timestamp valueOf(String s) {
         final int YEAR_LENGTH = 4;
@@ -258,11 +258,11 @@
 
     /**
      * Formats a timestamp in JDBC timestamp escape format.
-     *         <code>yyyy-mm-dd hh:mm:ss.fffffffff</code>,
-     * where <code>ffffffffff</code> indicates nanoseconds.
+     *         {@code yyyy-mm-dd hh:mm:ss.fffffffff},
+     * where {@code ffffffffff} indicates nanoseconds.
      *
-     * @return a <code>String</code> object in
-     *           <code>yyyy-mm-dd hh:mm:ss.fffffffff</code> format
+     * @return a {@code String} object in
+     *           {@code yyyy-mm-dd hh:mm:ss.fffffffff} format
      */
     @SuppressWarnings("deprecation")
     public String toString() {
@@ -315,9 +315,9 @@
     }
 
     /**
-     * Gets this <code>Timestamp</code> object's <code>nanos</code> value.
+     * Gets this {@code Timestamp} object's {@code nanos} value.
      *
-     * @return this <code>Timestamp</code> object's fractional seconds component
+     * @return this {@code Timestamp} object's fractional seconds component
      * @see #setNanos
      */
     public int getNanos() {
@@ -325,7 +325,7 @@
     }
 
     /**
-     * Sets this <code>Timestamp</code> object's <code>nanos</code> field
+     * Sets this {@code Timestamp} object's {@code nanos} field
      * to the given value.
      *
      * @param n the new fractional seconds component
@@ -341,13 +341,13 @@
     }
 
     /**
-     * Tests to see if this <code>Timestamp</code> object is
-     * equal to the given <code>Timestamp</code> object.
+     * Tests to see if this {@code Timestamp} object is
+     * equal to the given {@code Timestamp} object.
      *
-     * @param ts the <code>Timestamp</code> value to compare with
-     * @return <code>true</code> if the given <code>Timestamp</code>
-     *         object is equal to this <code>Timestamp</code> object;
-     *         <code>false</code> otherwise
+     * @param ts the {@code Timestamp} value to compare with
+     * @return {@code true} if the given {@code Timestamp}
+     *         object is equal to this {@code Timestamp} object;
+     *         {@code false} otherwise
      */
     public boolean equals(Timestamp ts) {
         if (super.equals(ts)) {
@@ -362,22 +362,22 @@
     }
 
     /**
-     * Tests to see if this <code>Timestamp</code> object is
+     * Tests to see if this {@code Timestamp} object is
      * equal to the given object.
      *
-     * This version of the method <code>equals</code> has been added
+     * This version of the method {@code equals} has been added
      * to fix the incorrect
-     * signature of <code>Timestamp.equals(Timestamp)</code> and to preserve backward
+     * signature of {@code Timestamp.equals(Timestamp)} and to preserve backward
      * compatibility with existing class files.
      *
      * Note: This method is not symmetric with respect to the
-     * <code>equals(Object)</code> method in the base class.
+     * {@code equals(Object)} method in the base class.
      *
-     * @param ts the <code>Object</code> value to compare with
-     * @return <code>true</code> if the given <code>Object</code> is an instance
-     *         of a <code>Timestamp</code> that
-     *         is equal to this <code>Timestamp</code> object;
-     *         <code>false</code> otherwise
+     * @param ts the {@code Object} value to compare with
+     * @return {@code true} if the given {@code Object} is an instance
+     *         of a {@code Timestamp} that
+     *         is equal to this {@code Timestamp} object;
+     *         {@code false} otherwise
      */
     public boolean equals(java.lang.Object ts) {
       if (ts instanceof Timestamp) {
@@ -388,40 +388,40 @@
     }
 
     /**
-     * Indicates whether this <code>Timestamp</code> object is
-     * earlier than the given <code>Timestamp</code> object.
+     * Indicates whether this {@code Timestamp} object is
+     * earlier than the given {@code Timestamp} object.
      *
-     * @param ts the <code>Timestamp</code> value to compare with
-     * @return <code>true</code> if this <code>Timestamp</code> object is earlier;
-     *        <code>false</code> otherwise
+     * @param ts the {@code Timestamp} value to compare with
+     * @return {@code true} if this {@code Timestamp} object is earlier;
+     *        {@code false} otherwise
      */
     public boolean before(Timestamp ts) {
         return compareTo(ts) < 0;
     }
 
     /**
-     * Indicates whether this <code>Timestamp</code> object is
-     * later than the given <code>Timestamp</code> object.
+     * Indicates whether this {@code Timestamp} object is
+     * later than the given {@code Timestamp} object.
      *
-     * @param ts the <code>Timestamp</code> value to compare with
-     * @return <code>true</code> if this <code>Timestamp</code> object is later;
-     *        <code>false</code> otherwise
+     * @param ts the {@code Timestamp} value to compare with
+     * @return {@code true} if this {@code Timestamp} object is later;
+     *        {@code false} otherwise
      */
     public boolean after(Timestamp ts) {
         return compareTo(ts) > 0;
     }
 
     /**
-     * Compares this <code>Timestamp</code> object to the given
-     * <code>Timestamp</code> object.
+     * Compares this {@code Timestamp} object to the given
+     * {@code Timestamp} object.
      *
-     * @param   ts   the <code>Timestamp</code> object to be compared to
-     *                this <code>Timestamp</code> object
-     * @return  the value <code>0</code> if the two <code>Timestamp</code>
-     *          objects are equal; a value less than <code>0</code> if this
-     *          <code>Timestamp</code> object is before the given argument;
-     *          and a value greater than <code>0</code> if this
-     *          <code>Timestamp</code> object is after the given argument.
+     * @param   ts   the {@code Timestamp} object to be compared to
+     *                this {@code Timestamp} object
+     * @return  the value {@code 0} if the two {@code Timestamp}
+     *          objects are equal; a value less than {@code 0} if this
+     *          {@code Timestamp} object is before the given argument;
+     *          and a value greater than {@code 0} if this
+     *          {@code Timestamp} object is after the given argument.
      * @since   1.4
      */
     public int compareTo(Timestamp ts) {
@@ -439,16 +439,16 @@
     }
 
     /**
-     * Compares this <code>Timestamp</code> object to the given
-     * <code>Date</code> object.
+     * Compares this {@code Timestamp} object to the given
+     * {@code Date} object.
      *
-     * @param o the <code>Date</code> to be compared to
-     *          this <code>Timestamp</code> object
-     * @return  the value <code>0</code> if this <code>Timestamp</code> object
-     *          and the given object are equal; a value less than <code>0</code>
-     *          if this  <code>Timestamp</code> object is before the given argument;
-     *          and a value greater than <code>0</code> if this
-     *          <code>Timestamp</code> object is after the given argument.
+     * @param o the {@code Date} to be compared to
+     *          this {@code Timestamp} object
+     * @return  the value {@code 0} if this {@code Timestamp} object
+     *          and the given object are equal; a value less than {@code 0}
+     *          if this  {@code Timestamp} object is before the given argument;
+     *          and a value greater than {@code 0} if this
+     *          {@code Timestamp} object is after the given argument.
      *
      * @since   1.5
      */
--- a/jdk/src/jdk.attach/share/classes/com/sun/tools/attach/VirtualMachine.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.attach/share/classes/com/sun/tools/attach/VirtualMachine.java	Mon Aug 17 11:18:31 2015 -0700
@@ -35,7 +35,7 @@
 /**
  * A Java virtual machine.
  *
- * <p> A <code>VirtualMachine</code> represents a Java virtual machine to which this
+ * <p> A {@code VirtualMachine} represents a Java virtual machine to which this
  * Java virtual machine has attached. The Java virtual machine to which it is
  * attached is sometimes called the <i>target virtual machine</i>, or <i>target VM</i>.
  * An application (typically a tool such as a managemet console or profiler) uses a
@@ -47,7 +47,7 @@
  * with an identifier that identifies the target virtual machine. The identifier is
  * implementation-dependent but is typically the process identifier (or pid) in
  * environments where each Java virtual machine runs in its own operating system process.
- * Alternatively, a <code>VirtualMachine</code> instance is obtained by invoking the
+ * Alternatively, a {@code VirtualMachine} instance is obtained by invoking the
  * {@link #attach(VirtualMachineDescriptor) attach} method with a {@link
  * com.sun.tools.attach.VirtualMachineDescriptor VirtualMachineDescriptor} obtained
  * from the list of virtual machine descriptors returned by the {@link #list list} method.
@@ -66,7 +66,7 @@
  * <p> In addition to loading agents a VirtualMachine provides read access to the
  * {@link java.lang.System#getProperties() system properties} in the target VM.
  * This can be useful in some environments where properties such as
- * <code>java.home</code>, <code>os.name</code>, or <code>os.arch</code> are
+ * {@code java.home}, {@code os.name}, or {@code os.arch} are
  * used to construct the path to agent that will be loaded into the target VM.
  *
  * <p> The following example demonstrates how VirtualMachine may be used:</p>
@@ -87,7 +87,7 @@
  * </pre>
  *
  * <p> In this example we attach to a Java virtual machine that is identified by
- * the process identifier <code>2177</code>. Then the JMX management agent is
+ * the process identifier {@code 2177}. Then the JMX management agent is
  * started in the target process using the supplied arguments. Finally, the
  * client detaches from the target VM. </p>
  *
@@ -111,7 +111,7 @@
      *          The abstract identifier that identifies the Java virtual machine.
      *
      * @throws  NullPointerException
-     *          If <code>provider</code> or <code>id</code> is <code>null</code>.
+     *          If {@code provider} or {@code id} is {@code null}.
      */
     protected VirtualMachine(AttachProvider provider, String id) {
         if (provider == null) {
@@ -160,10 +160,10 @@
      * attachVirtualMachine} method in turn. If a provider successfully
      * attaches then the iteration terminates, and the VirtualMachine created
      * by the provider that successfully attached is returned by this method.
-     * If the <code>attachVirtualMachine</code> method of all providers throws
+     * If the {@code attachVirtualMachine} method of all providers throws
      * {@link com.sun.tools.attach.AttachNotSupportedException AttachNotSupportedException}
-     * then this method also throws <code>AttachNotSupportedException</code>.
-     * This means that <code>AttachNotSupportedException</code> is thrown when
+     * then this method also throws {@code AttachNotSupportedException}.
+     * This means that {@code AttachNotSupportedException} is thrown when
      * the identifier provided to this method is invalid, or the identifier
      * corresponds to a Java virtual machine that does not exist, or none
      * of the providers can attach to it. This exception is also thrown if
@@ -178,19 +178,19 @@
      * @throws  SecurityException
      *          If a security manager has been installed and it denies
      *          {@link com.sun.tools.attach.AttachPermission AttachPermission}
-     *          <tt>("attachVirtualMachine")</tt>, or another permission
+     *          {@code ("attachVirtualMachine")}, or another permission
      *          required by the implementation.
      *
      * @throws  AttachNotSupportedException
-     *          If the <code>attachVirtualmachine</code> method of all installed
-     *          providers throws <code>AttachNotSupportedException</code>, or
+     *          If the {@code attachVirtualmachine} method of all installed
+     *          providers throws {@code AttachNotSupportedException}, or
      *          there aren't any providers installed.
      *
      * @throws  IOException
      *          If an I/O error occurs
      *
      * @throws  NullPointerException
-     *          If <code>id</code> is <code>null</code>.
+     *          If {@code id} is {@code null}.
      */
     public static VirtualMachine attach(String id)
         throws AttachNotSupportedException, IOException
@@ -231,18 +231,18 @@
      * @throws  SecurityException
      *          If a security manager has been installed and it denies
      *          {@link com.sun.tools.attach.AttachPermission AttachPermission}
-     *          <tt>("attachVirtualMachine")</tt>, or another permission
+     *          {@code ("attachVirtualMachine")}, or another permission
      *          required by the implementation.
      *
      * @throws  AttachNotSupportedException
-     *          If the attach provider's <code>attachVirtualmachine</code>
-     *          throws <code>AttachNotSupportedException</code>.
+     *          If the attach provider's {@code attachVirtualmachine}
+     *          throws {@code AttachNotSupportedException}.
      *
      * @throws  IOException
      *          If an I/O error occurs
      *
      * @throws  NullPointerException
-     *          If <code>vmd</code> is <code>null</code>.
+     *          If {@code vmd} is {@code null}.
      */
     public static VirtualMachine attach(VirtualMachineDescriptor vmd)
         throws AttachNotSupportedException, IOException
@@ -259,7 +259,7 @@
      * loadAgent} for example) is in progress when this method is invoked then
      * the behaviour is implementation dependent. In other words, it is
      * implementation specific if the operation completes or throws
-     * <tt>IOException</tt>.
+     * {@code IOException}.
      *
      * <p> If already detached from the virtual machine then invoking this
      * method has no effect. </p>
@@ -296,26 +296,26 @@
      * platform equivalent of a dynamic library. Alternatively, it may be statically linked into the VM.
      * This method causes the given agent library to be loaded into the target
      * VM (if not already loaded or if not statically linked into the VM).
-     * It then causes the target VM to invoke the <code>Agent_OnAttach</code> function
-     * or, for a statically linked agent named 'L', the <code>Agent_OnAttach_L</code> function
+     * It then causes the target VM to invoke the {@code Agent_OnAttach} function
+     * or, for a statically linked agent named 'L', the {@code Agent_OnAttach_L} function
      * as specified in the
      * <a href="../../../../../../../../technotes/guides/jvmti/index.html"> JVM Tools
-     * Interface</a> specification. Note that the <code>Agent_OnAttach[_L]</code>
+     * Interface</a> specification. Note that the {@code Agent_OnAttach[_L]}
      * function is invoked even if the agent library was loaded prior to invoking
      * this method.
      *
      * <p> The agent library provided is the name of the agent library. It is interpreted
      * in the target virtual machine in an implementation-dependent manner. Typically an
      * implementation will expand the library name into an operating system specific file
-     * name. For example, on UNIX systems, the name <tt>L</tt> might be expanded to
-     * <tt>libL.so</tt>, and located using the search path specified by the
-     * <tt>LD_LIBRARY_PATH</tt> environment variable. If the agent named 'L' is
+     * name. For example, on UNIX systems, the name {@code L} might be expanded to
+     * {@code libL.so}, and located using the search path specified by the
+     * {@code LD_LIBRARY_PATH} environment variable. If the agent named 'L' is
      * statically linked into the VM then the VM must export a function named
-     * <code>Agent_OnAttach_L</code>.</p>
+     * {@code Agent_OnAttach_L}.</p>
      *
-     * <p> If the <code>Agent_OnAttach[_L]</code> function in the agent library returns
+     * <p> If the {@code Agent_OnAttach[_L]} function in the agent library returns
      * an error then an {@link com.sun.tools.attach.AgentInitializationException} is
-     * thrown. The return value from the <code>Agent_OnAttach[_L]</code> can then be
+     * thrown. The return value from the {@code Agent_OnAttach[_L]} can then be
      * obtained by invoking the {@link
      * com.sun.tools.attach.AgentInitializationException#returnValue() returnValue}
      * method on the exception. </p>
@@ -324,8 +324,8 @@
      *          The name of the agent library.
      *
      * @param   options
-     *          The options to provide to the <code>Agent_OnAttach[_L]</code>
-     *          function (can be <code>null</code>).
+     *          The options to provide to the {@code Agent_OnAttach[_L]}
+     *          function (can be {@code null}).
      *
      * @throws  AgentLoadException
      *          If the agent library does not exist, the agent library is not
@@ -333,13 +333,13 @@
      *          loaded for another reason.
      *
      * @throws  AgentInitializationException
-     *          If the <code>Agent_OnAttach[_L]</code> function returns an error.
+     *          If the {@code Agent_OnAttach[_L]} function returns an error.
      *
      * @throws  IOException
      *          If an I/O error occurs
      *
      * @throws  NullPointerException
-     *          If <code>agentLibrary</code> is <code>null</code>.
+     *          If {@code agentLibrary} is {@code null}.
      *
      * @see     com.sun.tools.attach.AgentInitializationException#returnValue()
      */
@@ -351,9 +351,9 @@
      *
      * <p> This convenience method works as if by invoking:
      *
-     * <blockquote><tt>
+     * <blockquote><code>
      * {@link #loadAgentLibrary(String, String) loadAgentLibrary}(agentLibrary,&nbsp;null);
-     * </tt></blockquote>
+     * </code></blockquote>
      *
      * @param   agentLibrary
      *          The name of the agent library.
@@ -364,13 +364,13 @@
      *          loaded for another reason.
      *
      * @throws  AgentInitializationException
-     *          If the <code>Agent_OnAttach[_L]</code> function returns an error.
+     *          If the {@code Agent_OnAttach[_L]} function returns an error.
      *
      * @throws  IOException
      *          If an I/O error occurs
      *
      * @throws  NullPointerException
-     *          If <code>agentLibrary</code> is <code>null</code>.
+     *          If {@code agentLibrary} is {@code null}.
      */
     public void loadAgentLibrary(String agentLibrary)
         throws AgentLoadException, AgentInitializationException, IOException
@@ -389,18 +389,18 @@
      * linked with the VM. The parsing of the agentPath parameter into
      * a statically linked library name is done in a platform
      * specific manner in the VM. For example, in UNIX, an agentPath parameter
-     * of <code>/a/b/libL.so</code> would name a library 'L'.
+     * of {@code /a/b/libL.so} would name a library 'L'.
      *
      * See the JVM TI Specification for more details.
      *
      * This method causes the given agent library to be loaded into the target
      * VM (if not already loaded or if not statically linked into the VM).
-     * It then causes the target VM to invoke the <code>Agent_OnAttach</code>
+     * It then causes the target VM to invoke the {@code Agent_OnAttach}
      * function or, for a statically linked agent named 'L', the
-     * <code>Agent_OnAttach_L</code> function as specified in the
+     * {@code Agent_OnAttach_L} function as specified in the
      * <a href="../../../../../../../../technotes/guides/jvmti/index.html"> JVM Tools
      * Interface</a> specification.
-     * Note that the <code>Agent_OnAttach[_L]</code>
+     * Note that the {@code Agent_OnAttach[_L]}
      * function is invoked even if the agent library was loaded prior to invoking
      * this method.
      *
@@ -408,9 +408,9 @@
      * agent library. Unlike {@link #loadAgentLibrary loadAgentLibrary}, the library name
      * is not expanded in the target virtual machine. </p>
      *
-     * <p> If the <code>Agent_OnAttach[_L]</code> function in the agent library returns
+     * <p> If the {@code Agent_OnAttach[_L]} function in the agent library returns
      * an error then an {@link com.sun.tools.attach.AgentInitializationException} is
-     * thrown. The return value from the <code>Agent_OnAttach[_L]</code> can then be
+     * thrown. The return value from the {@code Agent_OnAttach[_L]} can then be
      * obtained by invoking the {@link
      * com.sun.tools.attach.AgentInitializationException#returnValue() returnValue}
      * method on the exception. </p>
@@ -419,8 +419,8 @@
      *          The full path of the agent library.
      *
      * @param   options
-     *          The options to provide to the <code>Agent_OnAttach[_L]</code>
-     *          function (can be <code>null</code>).
+     *          The options to provide to the {@code Agent_OnAttach[_L]}
+     *          function (can be {@code null}).
      *
      * @throws  AgentLoadException
      *          If the agent library does not exist, the agent library is not
@@ -428,13 +428,13 @@
      *          loaded for another reason.
      *
      * @throws  AgentInitializationException
-     *          If the <code>Agent_OnAttach[_L]</code> function returns an error.
+     *          If the {@code Agent_OnAttach[_L]} function returns an error.
      *
      * @throws  IOException
      *          If an I/O error occurs
      *
      * @throws  NullPointerException
-     *          If <code>agentPath</code> is <code>null</code>.
+     *          If {@code agentPath} is {@code null}.
      *
      * @see     com.sun.tools.attach.AgentInitializationException#returnValue()
      */
@@ -446,9 +446,9 @@
      *
      * <p> This convenience method works as if by invoking:
      *
-     * <blockquote><tt>
+     * <blockquote><code>
      * {@link #loadAgentPath(String, String) loadAgentPath}(agentLibrary,&nbsp;null);
-     * </tt></blockquote>
+     * </code></blockquote>
      *
      * @param   agentPath
      *          The full path to the agent library.
@@ -459,13 +459,13 @@
      *          loaded for another reason.
      *
      * @throws  AgentInitializationException
-     *          If the <code>Agent_OnAttach[_L]</code> function returns an error.
+     *          If the {@code Agent_OnAttach[_L]} function returns an error.
      *
      * @throws  IOException
      *          If an I/O error occurs
      *
      * @throws  NullPointerException
-     *          If <code>agentPath</code> is <code>null</code>.
+     *          If {@code agentPath} is {@code null}.
      */
     public void loadAgentPath(String agentPath)
        throws AgentLoadException, AgentInitializationException, IOException
@@ -482,29 +482,29 @@
      * machine where it is interpreted. The target virtual machine attempts to start
      * the agent as specified by the {@link java.lang.instrument} specification.
      * That is, the specified JAR file is added to the system class path (of the target
-     * virtual machine), and the <code>agentmain</code> method of the agent class, specified
-     * by the <code>Agent-Class</code> attribute in the JAR manifest, is invoked. This
-     * method completes when the <code>agentmain</code> method completes.
+     * virtual machine), and the {@code agentmain} method of the agent class, specified
+     * by the {@code Agent-Class} attribute in the JAR manifest, is invoked. This
+     * method completes when the {@code agentmain} method completes.
      *
      * @param   agent
      *          Path to the JAR file containing the agent.
      *
      * @param   options
-     *          The options to provide to the agent's <code>agentmain</code>
-     *          method (can be <code>null</code>).
+     *          The options to provide to the agent's {@code agentmain}
+     *          method (can be {@code null}).
      *
      * @throws  AgentLoadException
      *          If the agent does not exist, or cannot be started in the manner
      *          specified in the {@link java.lang.instrument} specification.
      *
      * @throws  AgentInitializationException
-     *          If the <code>agentmain</code> throws an exception
+     *          If the {@code agentmain} throws an exception
      *
      * @throws  IOException
      *          If an I/O error occurs
      *
      * @throws  NullPointerException
-     *          If <code>agent</code> is <code>null</code>.
+     *          If {@code agent} is {@code null}.
      */
     public abstract void loadAgent(String agent, String options)
         throws AgentLoadException, AgentInitializationException, IOException;
@@ -514,9 +514,9 @@
      *
      * <p> This convenience method works as if by invoking:
      *
-     * <blockquote><tt>
+     * <blockquote><code>
      * {@link #loadAgent(String, String) loadAgent}(agent,&nbsp;null);
-     * </tt></blockquote>
+     * </code></blockquote>
      *
      * @param   agent
      *          Path to the JAR file containing the agent.
@@ -526,13 +526,13 @@
      *          specified in the {@link java.lang.instrument} specification.
      *
      * @throws  AgentInitializationException
-     *          If the <code>agentmain</code> throws an exception
+     *          If the {@code agentmain} throws an exception
      *
      * @throws  IOException
      *          If an I/O error occurs
      *
      * @throws  NullPointerException
-     *          If <code>agent</code> is <code>null</code>.
+     *          If {@code agent} is {@code null}.
      */
     public void loadAgent(String agent)
         throws AgentLoadException, AgentInitializationException, IOException
@@ -544,16 +544,16 @@
      * Returns the current system properties in the target virtual machine.
      *
      * <p> This method returns the system properties in the target virtual
-     * machine. Properties whose key or value is not a <tt>String</tt> are
+     * machine. Properties whose key or value is not a {@code String} are
      * omitted. The method is approximately equivalent to the invocation of the
      * method {@link java.lang.System#getProperties System.getProperties}
      * in the target virtual machine except that properties with a key or
-     * value that is not a <tt>String</tt> are not included.
+     * value that is not a {@code String} are not included.
      *
      * <p> This method is typically used to decide which agent to load into
      * the target virtual machine with {@link #loadAgent loadAgent}, or
      * {@link #loadAgentLibrary loadAgentLibrary}. For example, the
-     * <code>java.home</code> or <code>user.dir</code> properties might be
+     * {@code java.home} or {@code user.dir} properties might be
      * use to create the path to the agent library or JAR file.
      *
      * @return  The system properties
@@ -586,7 +586,7 @@
      * agent might create an agent property for its transport address.
      *
      * <p> This method returns the agent properties whose key and value is a
-     * <tt>String</tt>. Properties whose key or value is not a <tt>String</tt>
+     * {@code String}. Properties whose key or value is not a {@code String}
      * are omitted. If there are no agent properties maintained in the target
      * virtual machine then an empty property list is returned.
      *
@@ -686,7 +686,7 @@
      * Tests this VirtualMachine for equality with another object.
      *
      * <p> If the given object is not a VirtualMachine then this
-     * method returns <tt>false</tt>. For two VirtualMachines to
+     * method returns {@code false}. For two VirtualMachines to
      * be considered equal requires that they both reference the same
      * provider, and their {@link VirtualMachineDescriptor#id() identifiers} are equal. </p>
      *
@@ -695,7 +695,7 @@
      *
      * @param   ob   The object to which this object is to be compared
      *
-     * @return  <tt>true</tt> if, and only if, the given object is
+     * @return  {@code true} if, and only if, the given object is
      *                a VirtualMachine that is equal to this
      *                VirtualMachine.
      */
@@ -715,7 +715,7 @@
     }
 
     /**
-     * Returns the string representation of the <code>VirtualMachine</code>.
+     * Returns the string representation of the {@code VirtualMachine}.
      */
     public String toString() {
         return provider.toString() + ": " + id;
--- a/jdk/src/jdk.attach/share/classes/com/sun/tools/attach/VirtualMachineDescriptor.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.attach/share/classes/com/sun/tools/attach/VirtualMachineDescriptor.java	Mon Aug 17 11:18:31 2015 -0700
@@ -30,7 +30,7 @@
 /**
  * Describes a Java virtual machine.
  *
- * <p> A <code>VirtualMachineDescriptor</code> is a container class used to
+ * <p> A {@code VirtualMachineDescriptor} is a container class used to
  * describe a Java virtual machine. It encapsulates an identifier that identifies
  * a target virtual machine, and a reference to the {@link
  * com.sun.tools.attach.spi.AttachProvider AttachProvider} that should be used
@@ -39,15 +39,15 @@
  * environments where each Java virtual machine runs in its own operating system
  * process. </p>
  *
- * <p> A <code>VirtualMachineDescriptor</code> also has a {@link #displayName() displayName}.
+ * <p> A {@code VirtualMachineDescriptor} also has a {@link #displayName() displayName}.
  * The display name is typically a human readable string that a tool might
  * display to a user. For example, a tool that shows a list of Java
  * virtual machines running on a system might use the display name rather
- * than the identifier. A <code>VirtualMachineDescriptor</code> may be
+ * than the identifier. A {@code VirtualMachineDescriptor} may be
  * created without a <i>display name</i>. In that case the identifier is
  * used as the <i>display name</i>.
  *
- * <p> <code>VirtualMachineDescriptor</code> instances are typically created by
+ * <p> {@code VirtualMachineDescriptor} instances are typically created by
  * invoking the {@link com.sun.tools.attach.VirtualMachine#list VirtualMachine.list()}
  * method. This returns the complete list of descriptors to describe the
  * Java virtual machines known to all installed {@link
@@ -72,7 +72,7 @@
      * @param   displayName   The display name.
      *
      * @throws  NullPointerException
-     *          If any of the arguments are <code>null</code>
+     *          If any of the arguments are {@code null}
      */
     public VirtualMachineDescriptor(AttachProvider provider, String id, String displayName) {
         if (provider == null) {
@@ -95,10 +95,10 @@
      * <p> This convenience constructor works as if by invoking the
      * three-argument constructor as follows:
      *
-     * <blockquote><tt>
+     * <blockquote><code>
      * new&nbsp;{@link #VirtualMachineDescriptor(AttachProvider, String, String)
      * VirtualMachineDescriptor}(provider, &nbsp;id, &nbsp;id);
-     * </tt></blockquote>
+     * </code></blockquote>
      *
      * <p> That is, it creates a virtual machine descriptor such that
      * the <i>display name</i> is the same as the virtual machine
@@ -108,16 +108,16 @@
      * @param   id            The virtual machine identifier.
      *
      * @throws  NullPointerException
-     *          If <tt>provider</tt> or <tt>id</tt> is <tt>null</tt>.
+     *          If {@code provider} or {@code id} is {@code null}.
      */
     public VirtualMachineDescriptor(AttachProvider provider, String id) {
         this(provider, id, id);
     }
 
     /**
-     * Return the <code>AttachProvider</code> that this descriptor references.
+     * Return the {@code AttachProvider} that this descriptor references.
      *
-     * @return The <code>AttachProvider</code> that this descriptor references.
+     * @return The {@code AttachProvider} that this descriptor references.
      */
     public AttachProvider provider() {
         return provider;
@@ -161,7 +161,7 @@
      * Tests this VirtualMachineDescriptor for equality with another object.
      *
      * <p> If the given object is not a VirtualMachineDescriptor then this
-     * method returns <tt>false</tt>. For two VirtualMachineDescriptors to
+     * method returns {@code false}. For two VirtualMachineDescriptors to
      * be considered equal requires that they both reference the same
      * provider, and their {@link #id() identifiers} are equal. </p>
      *
@@ -170,7 +170,7 @@
      *
      * @param   ob   The object to which this object is to be compared
      *
-     * @return  <tt>true</tt> if, and only if, the given object is
+     * @return  {@code true} if, and only if, the given object is
      *                a VirtualMachineDescriptor that is equal to this
      *                VirtualMachineDescriptor.
      */
@@ -190,7 +190,7 @@
     }
 
     /**
-     * Returns the string representation of the <code>VirtualMachineDescriptor</code>.
+     * Returns the string representation of the {@code VirtualMachineDescriptor}.
      */
     public String toString() {
         String s = provider.toString() + ": " + id;
--- a/jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver/spi/HttpServerProvider.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver/spi/HttpServerProvider.java	Mon Aug 17 11:18:31 2015 -0700
@@ -142,7 +142,7 @@
      *   visible to the system class loader, and that jar file contains a
      *   provider-configuration file named
      *   {@code com.sun.net.httpserver.HttpServerProvider} in the resource
-     *   directory <tt>META-INF/services</tt>, then the first class name
+     *   directory {@code META-INF/services}, then the first class name
      *   specified in that file is taken.  The class is loaded and
      *   instantiated; if this process fails then an unspecified unchecked error
      *   or exception is thrown.  </p></li>
--- a/jdk/src/jdk.jdi/share/classes/com/sun/jdi/VirtualMachineManager.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.jdi/share/classes/com/sun/jdi/VirtualMachineManager.java	Mon Aug 17 11:18:31 2015 -0700
@@ -197,8 +197,8 @@
  * in a jar file that is visible to the defining class loader of
  * the {@link com.sun.jdi.connect.Connector} type,
  * and that jar file contains a provider configuration file named
- * <tt>com.sun.jdi.connect.Connector</tt> in the resource directory
- * <tt>META-INF/services</tt>, and the provider configuration file
+ * {@code com.sun.jdi.connect.Connector} in the resource directory
+ * {@code META-INF/services}, and the provider configuration file
  * lists the full-qualified class name of the Connector
  * implementation. A Connector is a class that implements the
  * {@link com.sun.jdi.connect.Connector Connector} interface. More
@@ -209,7 +209,7 @@
  * LaunchingConnector}. The format of the provider configuration file
  * is one fully-qualified class name per line. Space and tab characters
  * surrounding each class, as well as blank lines are ignored. The
- * comment character is <tt>'#'</tt> (<tt>0x23</tt>), and on each
+ * comment character is {@code '#'} ({@code 0x23}), and on each
  * line all characters following the first comment character are
  * ignored. The file must be encoded in UTF-8.
  *
@@ -227,8 +227,8 @@
  * visible to the defining class loader for the
  * {@link com.sun.jdi.connect.spi.TransportService} type, and that jar
  * file contains a provider configuration file named
- * <tt>com.sun.jdi.connect.spi.TransportService</tt> in the resource
- * directory <tt>META-INF/services</tt>, and the provider
+ * {@code com.sun.jdi.connect.spi.TransportService} in the resource
+ * directory {@code META-INF/services}, and the provider
  * configuration file lists the full-qualified class name of the
  * TransportService implementation. A TransportService is a concrete
  * sub-class of {@link com.sun.jdi.connect.spi.TransportService
@@ -245,12 +245,12 @@
  * com.sun.jdi.connect.Transport Transport} that in turn
  * encapsulates the TransportService.
  * The AttachingConnector will be named based on the name of the
- * transport service concatenated with the string <tt>Attach</tt>.
+ * transport service concatenated with the string {@code Attach}.
  * For example, if the transport service {@link
  * com.sun.jdi.connect.spi.TransportService#name() name()} method
- * returns <tt>telepathic</tt> then the AttachingConnector will
- * be named <tt>telepathicAttach</tt>. Similiarly the ListeningConnector
- * will be named with the string <tt>Listen</tt> tagged onto the
+ * returns {@code telepathic} then the AttachingConnector will
+ * be named {@code telepathicAttach}. Similiarly the ListeningConnector
+ * will be named with the string {@code Listen} tagged onto the
  * name of the transport service. The {@link
  * com.sun.jdi.connect.Connector#description() description()} method
  * of both the AttachingConnector, and the ListeningConnector, will
@@ -259,10 +259,10 @@
  * the AttachingConnector and the ListeningConnector will have two
  * Connector {@link com.sun.jdi.connect.Connector$Argument Arguments}.
  * A {@link com.sun.jdi.connect.Connector$StringArgument StringArgument}
- * named <tt>address</tt> is the connector argument to specify the
+ * named {@code address} is the connector argument to specify the
  * address to attach too, or to listen on. A
  * {@link com.sun.jdi.connect.Connector$IntegerArgument IntegerArgument}
- * named <tt>timeout</tt> is the connector argument to specify the
+ * named {@code timeout} is the connector argument to specify the
  * timeout when attaching, or accepting. The timeout connector may be
  * ignored depending on if the transport service supports an attach
  * timeout or accept timeout.
@@ -372,13 +372,13 @@
       * A Connector can then use this method to create a virtual machine
       * mirror to represent the composite state of the target VM.
       *
-      * <p> The <tt>process</tt> argument specifies the
+      * <p> The {@code process} argument specifies the
       * {@link java.lang.Process} object for the taget VM. It may be
-      * specified as <tt>null</tt>. If the target VM is launched
+      * specified as {@code null}. If the target VM is launched
       * by a {@link com.sun.jdi.connect.LaunchingConnector
-      * LaunchingConnector} the <tt>process</tt> argument should be
+      * LaunchingConnector} the {@code process} argument should be
       * specified, otherwise calling {@link com.sun.jdi.VirtualMachine#process()}
-      * on the created virtual machine will return <tt>null</tt>.
+      * on the created virtual machine will return {@code null}.
       *
       * <p> This method exists so that Connectors may create
       * a virtual machine mirror when a connection is established
@@ -391,7 +391,7 @@
       *
       * @param  process
       *         If launched, the {@link java.lang.Process} object for
-      *         the target VM. <tt>null</tt> if not launched.
+      *         the target VM. {@code null} if not launched.
       *
       * @return new virtual machine representing the target VM.
       *
@@ -413,7 +413,7 @@
       *
       * <p> This convenience method works as if by invoking {@link
       * #createVirtualMachine(Connection, Process)} method and
-      * specifying <tt>null</tt> as the <tt>process</tt> argument.
+      * specifying {@code null} as the {@code process} argument.
       *
       * <p> This method exists so that Connectors may create
       * a virtual machine mirror when a connection is established
--- a/jdk/src/jdk.jdi/share/classes/com/sun/jdi/connect/TransportTimeoutException.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.jdi/share/classes/com/sun/jdi/connect/TransportTimeoutException.java	Mon Aug 17 11:18:31 2015 -0700
@@ -58,7 +58,7 @@
 public class TransportTimeoutException extends java.io.IOException {
     private static final long serialVersionUID = 4107035242623365074L;
     /**
-     * Constructs a <tt>TransportTimeoutException</tt> with no detail
+     * Constructs a {@code TransportTimeoutException} with no detail
      * message.
      */
     public TransportTimeoutException() {
@@ -66,7 +66,7 @@
 
 
     /**
-     * Constructs a <tt>TransportTimeoutException</tt> with the
+     * Constructs a {@code TransportTimeoutException} with the
      * specified detail message.
      *
      * @param message the detail message pertaining to this exception.
--- a/jdk/src/jdk.jdi/share/classes/com/sun/jdi/connect/spi/ClosedConnectionException.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.jdi/share/classes/com/sun/jdi/connect/spi/ClosedConnectionException.java	Mon Aug 17 11:18:31 2015 -0700
@@ -49,14 +49,14 @@
 public class ClosedConnectionException extends java.io.IOException {
     private static final long serialVersionUID = 3877032124297204774L;
     /**
-     * Constructs a <tt>ClosedConnectionException</tt> with no detail
+     * Constructs a {@code ClosedConnectionException} with no detail
      * message.
      */
     public ClosedConnectionException() {
     }
 
     /**
-     * Constructs a <tt>ClosedConnectionException</tt> with the
+     * Constructs a {@code ClosedConnectionException} with the
      * specified detail message.
      *
      * @param message the detail message pertaining to this exception.
--- a/jdk/src/jdk.jdi/share/classes/com/sun/jdi/connect/spi/TransportService.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.jdi/share/classes/com/sun/jdi/connect/spi/TransportService.java	Mon Aug 17 11:18:31 2015 -0700
@@ -105,7 +105,7 @@
          * multiple concurrent connections to a single address that
          * it is listening on.
          *
-         * @return  <tt>true</tt> if, and only if, this transport
+         * @return  {@code true} if, and only if, this transport
          *          service supports multiple connections.
          */
         public abstract boolean supportsMultipleConnections();
@@ -115,7 +115,7 @@
          * Tell whether or not this transport service supports a timeout
          * when attaching to a target VM.
          *
-         * @return      <tt>true</tt> if, and only if, this transport
+         * @return      {@code true} if, and only if, this transport
          *              service supports attaching with a timeout.
          *
          * @see #attach(String,long,long)
@@ -126,7 +126,7 @@
          * Tell whether or not this transport service supports a
          * timeout while waiting for a target VM to connect.
          *
-         * @return  <tt>true</tt> if, and only if, this transport
+         * @return  {@code true} if, and only if, this transport
          *          service supports timeout while waiting for
          *          a target VM to connect.
          *
@@ -138,7 +138,7 @@
          * Tells whether or not this transport service supports a
          * timeout when handshaking with the target VM.
          *
-         * @return  <tt>true</tt> if, and only if, this transport
+         * @return  {@code true} if, and only if, this transport
          *          service supports a timeout while handshaking
          *          with the target VM.
          *
@@ -176,15 +176,15 @@
      *
      * @param   attachTimeout
      *          If this transport service supports an attach timeout,
-     *          and if <tt>attachTimeout</tt> is positive, then it specifies
+     *          and if {@code attachTimeout} is positive, then it specifies
      *          the timeout, in milliseconds (more or less), to use
      *          when attaching to the target VM.  If the transport service
-     *          does not support an attach timeout, or if <tt>attachTimeout</tt>
+     *          does not support an attach timeout, or if {@code attachTimeout}
      *          is specified as zero then attach without any timeout.
      *
      * @param   handshakeTimeout
      *          If this transport service supports a handshake timeout,
-     *          and if <tt>handshakeTimeout</tt> is positive, then it
+     *          and if {@code handshakeTimeout} is positive, then it
      *          specifies the timeout, in milliseconds (more or less), to
      *          use when handshaking with the target VM. The exact
      *          usage of the timeout are specific to the transport service.
@@ -195,7 +195,7 @@
      *          use the handshakeTimeout as a timeout for the duration of the
      *          handshake exchange.
      *          If the transport service does not support a handshake
-     *          timeout, or if <tt>handshakeTimeout</tt> is specified
+     *          timeout, or if {@code handshakeTimeout} is specified
      *          as zero then the handshake does not timeout if there
      *          isn't a response from the target VM.
      *
@@ -221,9 +221,9 @@
     /**
      * A <i>listen key</i>.
      *
-     * <p> A <tt>TransportService</tt> may listen on multiple, yet
+     * <p> A {@code TransportService} may listen on multiple, yet
      * different, addresses at the same time. To uniquely identify
-     * each <tt>listener</tt> a listen key is created each time that
+     * each {@code listener} a listen key is created each time that
      * {@link #startListening startListening} is called. The listen
      * key is used in calls to the {@link #accept accept} method
      * to accept inbound connections to that listener. A listen
@@ -250,7 +250,7 @@
      *
      * @param   address
      *          The address to start listening for connections,
-     *          or <tt>null</tt> to listen on an address chosen
+     *          or {@code null} to listen on an address chosen
      *          by the transport service.
      *
      * @return  a listen key to be used in subsequent calls to be
@@ -268,8 +268,8 @@
     /**
      * Listens on an address chosen by the transport service.
      *
-     * <p> This convenience method works as if by invoking {@link
-     * #startListening(String) startListening(<tt>null</tt>)}. </p>
+     * <p> This convenience method works as if by invoking
+     * {@link #startListening(String) startListening(null)}.
      *
      * @return  a listen key to be used in subsequent calls to be
      *          {@link #accept accept} or {@link #stopListening
@@ -327,16 +327,16 @@
      *
      * @param   acceptTimeout
      *          if this transport service supports an accept timeout, and
-     *          if <tt>acceptTimeout</tt> is positive then block for up to
-     *          <tt>acceptTimeout</tt> milliseconds, more or less, while waiting
+     *          if {@code acceptTimeout} is positive then block for up to
+     *          {@code acceptTimeout} milliseconds, more or less, while waiting
      *          for the target VM to connect.
      *          If the transport service does not support an accept timeout
-     *          or if <tt>acceptTimeout</tt> is zero then block indefinitely
+     *          or if {@code acceptTimeout} is zero then block indefinitely
      *          for a target VM to connect.
      *
      * @param   handshakeTimeout
      *          If this transport service supports a handshake timeout,
-     *          and if <tt>handshakeTimeout</tt> is positive, then it
+     *          and if {@code handshakeTimeout} is positive, then it
      *          specifies the timeout, in milliseconds (more or less), to
      *          use when handshaking with the target VM. The exact
      *          usage of the timeout is specific to the transport service.
@@ -347,7 +347,7 @@
      *          use the timeout as a timeout for the duration of the
      *          handshake exchange.
      *          If the transport service does not support a handshake
-     *          timeout, of if <tt>handshakeTimeout</tt> is specified
+     *          timeout, of if {@code handshakeTimeout} is specified
      *          as zero then the handshake does not timeout if there
      *          isn't a response from the target VM.
      *
--- a/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/monitor/HostIdentifier.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/monitor/HostIdentifier.java	Mon Aug 17 11:18:31 2015 -0700
@@ -42,26 +42,26 @@
  * to the string <em>local://localhost</em>. The components of the
  * HostIdentifier are:
  * <ul>
- *   <li><p><tt>protocol</tt> - The communications protocol. If omitted,
+ *   <li><p>{@code protocol} - The communications protocol. If omitted,
  *          and a hostname is not specified, then default local protocol,
  *          <em>local:</em>, is assumed. If the protocol is omitted and a
  *          hostname is specified then the default remote protocol,
  *          <em>rmi:</em> is assumed.
  *       </p></li>
- *   <li><p><tt>hostname</tt> - The hostname. If omitted, then
+ *   <li><p>{@code hostname} - The hostname. If omitted, then
  *          <em>localhost</em> is assumed. If the protocol is also omitted,
  *          then default local protocol <em>local:</em> is also assumed.
  *          If the hostname is not omitted but the protocol is omitted,
  *          then the default remote protocol, <em>rmi:</em> is assumed.
  *       </p></li>
- *   <li><p><tt>port</tt> - The port for the communications protocol.
- *          Treatment of the <tt>port</tt> parameter is implementation
+ *   <li><p>{@code port} - The port for the communications protocol.
+ *          Treatment of the {@code port} parameter is implementation
  *          (protocol) specific. It is unused by the default local protocol,
  *          <em>local:</em>. For the default remote protocol, <em>rmi:</em>,
- *          <tt>port</tt> indicates the port number of the <em>rmiregistry</em>
+ *          {@code port} indicates the port number of the <em>rmiregistry</em>
  *          on the target host and defaults to port 1099.
  *       </p></li>
- *   <li><p><tt>servername</tt> - The treatment of the Path, Query, and
+ *   <li><p>{@code servername} - The treatment of the Path, Query, and
  *          Fragment components of the HostIdentifier are implementation
  *          (protocol) dependent. These components are ignored by the
  *          default local protocol, <em>local:</em>. For the default remote
--- a/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/monitor/MonitoredHost.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/monitor/MonitoredHost.java	Mon Aug 17 11:18:31 2015 -0700
@@ -94,7 +94,7 @@
 
     /**
      * Factory method to construct MonitoredHost instances to manage
-     * connections to the host indicated by <tt>hostIdString</tt>
+     * connections to the host indicated by {@code hostIdString}
      *
      * @param hostIdString a String representation of a {@link HostIdentifier}
      * @return MonitoredHost - the MonitoredHost instance for communicating
@@ -113,7 +113,7 @@
 
     /**
      * Factory method to construct a MonitoredHost instance to manage the
-     * connection to the Java Virtual Machine indicated by <tt>vmid</tt>.
+     * connection to the Java Virtual Machine indicated by {@code vmid}.
      *
      * This method provide a convenient short cut for attaching to a specific
      * instrumented Java Virtual Machine. The information in the VmIdentifier
@@ -142,7 +142,7 @@
 
     /**
      * Factory method to construct a MonitoredHost instance to manage the
-     * connection to the host indicated by <tt>hostId</tt>.
+     * connection to the host indicated by {@code hostId}.
      *
      * @param hostId the identifier for the target host.
      * @return MonitoredHost - The MonitoredHost object needed to attach to
@@ -269,7 +269,7 @@
      * Get the last exception encountered while polling this MonitoredHost.
      *
      * @return Exception - the last exception occurred while polling this
-     *                     MonitoredHost, or <tt>null</tt> if no exception
+     *                     MonitoredHost, or {@code null} if no exception
      *                     has occurred or the exception has been cleared,
      */
     public Exception getLastException() {
--- a/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/monitor/MonitoredHostService.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/monitor/MonitoredHostService.java	Mon Aug 17 11:18:31 2015 -0700
@@ -29,7 +29,7 @@
 
     /**
      * Construct a MonitoredHost instance to manage the
-     * connection to the host indicated by <tt>hostId</tt>.
+     * connection to the host indicated by {@code hostId}.
      *
      * @param hostId the identifier for the target host.
      * @return MonitoredHost - The MonitoredHost object needed to attach to
--- a/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/monitor/MonitoredVm.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/monitor/MonitoredVm.java	Mon Aug 17 11:18:31 2015 -0700
@@ -55,12 +55,12 @@
      * instrumentation exported by this Java Virtual Machine. If an
      * instrumentation object with the given name exists, a Monitor interface
      * to that object will be return. Otherwise, the method returns
-     * <tt>null</tt>.
+     * {@code null}.
      *
      * @param name the name of the Instrumentation object to find.
      * @return Monitor - the {@link Monitor} object that can be used to
      *                   monitor the named instrumentation object, or
-     *                   <tt>null</tt> if the named object doesn't exist.
+     *                   {@code null} if the named object doesn't exist.
      * @throws MonitorException Thrown if an error occurs while communicating
      *                          with the target Java Virtual Machine.
      */
@@ -99,7 +99,7 @@
     /* ---- Methods to support polled MonitoredVm Implementations ---- */
 
     /**
-     * Set the polling interval to <code>interval</code> milliseconds.
+     * Set the polling interval to {@code interval} milliseconds.
      *
      * Polling based monitoring implementations need to refresh the
      * instrumentation data on a periodic basis. This interface allows
@@ -136,10 +136,10 @@
      * Get the last exception encountered while polling this MonitoredVm.
      *
      * Returns the last exception observed by the implementation dependent
-     * polling task or <tt>null</tt> if no such error has occurred.
+     * polling task or {@code null} if no such error has occurred.
      *
      * @return Exception - the last exception that occurred during polling
-     *                     or <tt>null</tt> if no error condition exists.
+     *                     or {@code null} if no error condition exists.
      * @see #isErrored
      * @see #setLastException
      */
--- a/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/AbstractPerfDataBuffer.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/AbstractPerfDataBuffer.java	Mon Aug 17 11:18:31 2015 -0700
@@ -87,12 +87,12 @@
      * instrumentation exported by this Java Virtual Machine. If an
      * instrumentation object with the given name exists, a Monitor interface
      * to that object will be return. Otherwise, the method returns
-     * <tt>null</tt>.
+     * {@code null}.
      *
      * @param name the name of the Instrumentation object to find.
      * @return Monitor - the {@link Monitor} object that can be used to
      *                   monitor the named instrumentation object, or
-     *                   <tt>null</tt> if the named object doesn't exist.
+     *                   {@code null} if the named object doesn't exist.
      * @throws MonitorException Thrown if an error occurs while communicating
      *                          with the target Java Virtual Machine.
      */
--- a/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/PerfByteArrayMonitor.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/PerfByteArrayMonitor.java	Mon Aug 17 11:18:31 2015 -0700
@@ -98,7 +98,7 @@
      * Get the current value of an element of the byte array instrument.
      *
      * @return byte - a copy of the current value of the element at index
-     *                <tt>index</tt> of the byte array instrument.
+     *                {@code index} of the byte array instrument.
      */
     public byte byteAt(int index) {
         bb.position(index);
--- a/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/PerfDataBufferImpl.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/PerfDataBufferImpl.java	Mon Aug 17 11:18:31 2015 -0700
@@ -222,7 +222,7 @@
      * instrumentation exported by this Java Virtual Machine. If an
      * instrumentation object with the given name exists, a Monitor interface
      * to that object will be return. Otherwise, the method returns
-     * <tt>null</tt>. The method will map requests for instrumention objects
+     * {@code null}. The method will map requests for instrumention objects
      * using old names to their current names, if applicable.
      *
      *
@@ -230,7 +230,7 @@
      * @param name the name of the Instrumentation object to find.
      * @return Monitor - the {@link Monitor} object that can be used to
      *                   monitor the named instrumentation object, or
-     *                   <tt>null</tt> if the named object doesn't exist.
+     *                   {@code null} if the named object doesn't exist.
      * @throws MonitorException Thrown if an error occurs while communicating
      *                          with the target Java Virtual Machine.
      */
--- a/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/protocol/file/MonitoredHostProvider.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/protocol/file/MonitoredHostProvider.java	Mon Aug 17 11:18:31 2015 -0700
@@ -66,7 +66,7 @@
      * {@inheritDoc}.
      * <p>
      * Note - the <em>file:</em> protocol silently ignores the
-     * <tt>interval</tt> parameter.
+     * {@code interval} parameter.
      */
     public MonitoredVm getMonitoredVm(VmIdentifier vmid, int interval)
                        throws MonitorException {
--- a/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/PerfDataFile.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/PerfDataFile.java	Mon Aug 17 11:18:31 2015 -0700
@@ -84,7 +84,7 @@
      * for the JVM identified by the given local Vm Identifier.
      * <p>
      * This method looks for the most up to date backing store file for
-     * the given <tt>lvmid</tt>. It will search all the user specific
+     * the given {@code lvmid}. It will search all the user specific
      * directories in the temporary directory for the host operating
      * system, which may be influenced by platform specific environment
      * variables.
--- a/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/package.html	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/package.html	Mon Aug 17 11:18:31 2015 -0700
@@ -40,7 +40,7 @@
 implementation. It utilizes a name shared memory mechanism, identified
 by a backing store file in the file system name space. The location of
 the backing store file is platform specific and is dictated primarily by
-the JVM implementation. However, the <tt>java.io.tmpdir</em> system
+the JVM implementation. However, the <code>java.io.tmpdir</code> system
 property generally contains the location of the files, with the exception
 of the Solaris implementation, as the SDK and HotSpot JVM use different
 locations for their temporary file storage. The HotSpot JVM uses the
--- a/jdk/src/jdk.management/share/classes/com/sun/management/GarbageCollectorMXBean.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.management/share/classes/com/sun/management/GarbageCollectorMXBean.java	Mon Aug 17 11:18:31 2015 -0700
@@ -44,16 +44,16 @@
     /**
      * Returns the GC information about the most recent GC.
      * This method returns a {@link GcInfo}.
-     * If no GC information is available, <tt>null</tt> is returned.
+     * If no GC information is available, {@code null} is returned.
      * The collector-specific attributes, if any, can be obtained
      * via the {@link CompositeData CompositeData} interface.
      * <p>
      * <b>MBeanServer access:</b>
-     * The mapped type of <tt>GcInfo</tt> is <tt>CompositeData</tt>
+     * The mapped type of {@code GcInfo} is {@code CompositeData}
      * with attributes specified in {@link GcInfo#from GcInfo}.
      *
-     * @return a <tt>GcInfo</tt> object representing
-     * the most GC information; or <tt>null</tt> if no GC
+     * @return a {@code GcInfo} object representing
+     * the most GC information; or {@code null} if no GC
      * information available.
      */
     public GcInfo getLastGcInfo();
--- a/jdk/src/jdk.management/share/classes/com/sun/management/HotSpotDiagnosticMXBean.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.management/share/classes/com/sun/management/HotSpotDiagnosticMXBean.java	Mon Aug 17 11:18:31 2015 -0700
@@ -33,10 +33,10 @@
  * <p>The diagnostic MBean is registered to the platform MBeanServer
  * as are other platform MBeans.
  *
- * <p>The <tt>ObjectName</tt> for uniquely identifying the diagnostic
+ * <p>The {@code ObjectName} for uniquely identifying the diagnostic
  * MXBean within an MBeanServer is:
  * <blockquote>
- *    <tt>com.sun.management:type=HotSpotDiagnostic</tt>
+ *    {@code com.sun.management:type=HotSpotDiagnostic}
  * </blockquote>
 .*
  * It can be obtained by calling the
@@ -50,22 +50,22 @@
 @jdk.Exported
 public interface HotSpotDiagnosticMXBean extends PlatformManagedObject {
     /**
-     * Dumps the heap to the <tt>outputFile</tt> file in the same
+     * Dumps the heap to the {@code outputFile} file in the same
      * format as the hprof heap dump.
      * <p>
      * If this method is called remotely from another process,
-     * the heap dump output is written to a file named <tt>outputFile</tt>
+     * the heap dump output is written to a file named {@code outputFile}
      * on the machine where the target VM is running.  If outputFile is
      * a relative path, it is relative to the working directory where
      * the target VM was started.
      *
      * @param  outputFile the system-dependent filename
-     * @param  live if <tt>true</tt> dump only <i>live</i> objects
+     * @param  live if {@code true} dump only <i>live</i> objects
      *         i.e. objects that are reachable from others
-     * @throws IOException if the <tt>outputFile</tt>
+     * @throws IOException if the {@code outputFile}
      *                     cannot be created, opened, or written to.
      * @throws UnsupportedOperationException if this operation is not supported.
-     * @throws NullPointerException if <tt>outputFile</tt> is <tt>null</tt>.
+     * @throws NullPointerException if {@code outputFile} is {@code null}.
      * @throws SecurityException
      *         If a security manager exists and its {@link
      *         java.lang.SecurityManager#checkWrite(java.lang.String)}
@@ -75,21 +75,21 @@
     public void dumpHeap(String outputFile, boolean live) throws java.io.IOException;
 
     /**
-     * Returns a list of <tt>VMOption</tt> objects for all diagnostic options.
+     * Returns a list of {@code VMOption} objects for all diagnostic options.
      * A diagnostic option is a {@link VMOption#isWriteable writeable}
      * VM option that can be set dynamically mainly for troubleshooting
      * and diagnosis.
      *
-     * @return a list of <tt>VMOption</tt> objects for all diagnostic options.
+     * @return a list of {@code VMOption} objects for all diagnostic options.
      */
     public java.util.List<VMOption> getDiagnosticOptions();
 
     /**
-     * Returns a <tt>VMOption</tt> object for a VM option of the given
+     * Returns a {@code VMOption} object for a VM option of the given
      * name.
      *
-     * @return a <tt>VMOption</tt> object for a VM option of the given name.
-     * @throws NullPointerException if name is <tt>null</tt>.
+     * @return a {@code VMOption} object for a VM option of the given name.
+     * @throws NullPointerException if name is {@code null}.
      * @throws IllegalArgumentException if a VM option of the given name
      *                                     does not exist.
      */
@@ -97,10 +97,10 @@
 
     /**
      * Sets a VM option of the given name to the specified value.
-     * The new value will be reflected in a new <tt>VMOption</tt>
+     * The new value will be reflected in a new {@code VMOption}
      * object returned by the {@link #getVMOption} method or
      * the {@link #getDiagnosticOptions} method.  This method does
-     * not change the value of this <tt>VMOption</tt> object.
+     * not change the value of this {@code VMOption} object.
      *
      * @param name Name of a VM option
      * @param value New value of the VM option to be set
@@ -109,7 +109,7 @@
      *                                     does not exist.
      * @throws IllegalArgumentException if the new value is invalid.
      * @throws IllegalArgumentException if the VM option is not writable.
-     * @throws NullPointerException if name or value is <tt>null</tt>.
+     * @throws NullPointerException if name or value is {@code null}.
      *
      * @throws  java.lang.SecurityException
      *     if a security manager exists and the caller does not have
--- a/jdk/src/jdk.management/share/classes/com/sun/management/OperatingSystemMXBean.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.management/share/classes/com/sun/management/OperatingSystemMXBean.java	Mon Aug 17 11:18:31 2015 -0700
@@ -30,7 +30,7 @@
  * on which the Java virtual machine is running.
  *
  * <p>
- * The <tt>OperatingSystemMXBean</tt> object returned by
+ * The {@code OperatingSystemMXBean} object returned by
  * {@link java.lang.management.ManagementFactory#getOperatingSystemMXBean()}
  * is an instance of the implementation class of this interface
  * or {@link UnixOperatingSystemMXBean} interface depending on
@@ -46,11 +46,11 @@
     /**
      * Returns the amount of virtual memory that is guaranteed to
      * be available to the running process in bytes,
-     * or <tt>-1</tt> if this operation is not supported.
+     * or {@code -1} if this operation is not supported.
      *
      * @return the amount of virtual memory that is guaranteed to
      * be available to the running process in bytes,
-     * or <tt>-1</tt> if this operation is not supported.
+     * or {@code -1} if this operation is not supported.
      */
     public long getCommittedVirtualMemorySize();
 
@@ -72,11 +72,11 @@
      * Returns the CPU time used by the process on which the Java
      * virtual machine is running in nanoseconds.  The returned value
      * is of nanoseconds precision but not necessarily nanoseconds
-     * accuracy.  This method returns <tt>-1</tt> if the
+     * accuracy.  This method returns {@code -1} if the
      * the platform does not support this operation.
      *
      * @return the CPU time used by the process in nanoseconds,
-     * or <tt>-1</tt> if this operation is not supported.
+     * or {@code -1} if this operation is not supported.
      */
     public long getProcessCpuTime();
 
--- a/jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/DnsContext.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/DnsContext.java	Mon Aug 17 11:18:31 2015 -0700
@@ -125,7 +125,7 @@
      * Returns a clone of a DNS context.  The context's modifiable
      * private state is independent of the original's (so closing one
      * context, for example, won't close the other).  The two contexts
-     * share <tt>environment</tt>, but it's copy-on-write so there's
+     * share {@code environment}, but it's copy-on-write so there's
      * no conflict.
      */
     private DnsContext(DnsContext ctx) {
--- a/jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/DnsName.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/DnsName.java	Mon Aug 17 11:18:31 2015 -0700
@@ -34,7 +34,7 @@
 
 
 /**
- * <tt>DnsName</tt> implements compound names for DNS as specified by
+ * {@code DnsName} implements compound names for DNS as specified by
  * RFCs 1034 and 1035, and as updated and clarified by RFCs 1123 and 2181.
  *
  * <p> The labels in a domain name correspond to JNDI atomic names.
@@ -57,45 +57,45 @@
  * <p> DNS does not specify an encoding (such as UTF-8) to use for
  * octets with non-ASCII values.  As of this writing there is some
  * work going on in this area, but it is not yet finalized.
- * <tt>DnsName</tt> currently converts any non-ASCII octets into
+ * {@code DnsName} currently converts any non-ASCII octets into
  * characters using ISO-LATIN-1 encoding, in effect taking the
  * value of each octet and storing it directly into the low-order byte
  * of a Java character and <i>vice versa</i>.  As a consequence, no
  * character in a DNS name will ever have a non-zero high-order byte.
  * When the work on internationalizing domain names has stabilized
- * (see for example <i>draft-ietf-idn-idna-10.txt</i>), <tt>DnsName</tt>
+ * (see for example <i>draft-ietf-idn-idna-10.txt</i>), {@code DnsName}
  * may be updated to conform to that work.
  *
- * <p> Backslash (<tt>\</tt>) is used as the escape character in the
+ * <p> Backslash ({@code \}) is used as the escape character in the
  * textual representation of a domain name.  The character sequence
- * `<tt>\DDD</tt>', where <tt>DDD</tt> is a 3-digit decimal number
+ * `{@code \DDD}', where {@code DDD} is a 3-digit decimal number
  * (with leading zeros if needed), represents the octet whose value
- * is <tt>DDD</tt>.  The character sequence `<tt>\C</tt>', where
- * <tt>C</tt> is a character other than <tt>'0'</tt> through
- * <tt>'9'</tt>, represents the octet whose value is that of
- * <tt>C</tt> (again using ISO-LATIN-1 encoding); this is particularly
- * useful for escaping <tt>'.'</tt> or backslash itself.  Backslash is
+ * is {@code DDD}.  The character sequence `{@code \C}', where
+ * {@code C} is a character other than {@code '0'} through
+ * {@code '9'}, represents the octet whose value is that of
+ * {@code C} (again using ISO-LATIN-1 encoding); this is particularly
+ * useful for escaping {@code '.'} or backslash itself.  Backslash is
  * otherwise not allowed in a domain name.  Note that escape characters
  * are interpreted when a name is parsed.  So, for example, the character
- * sequences `<tt>S</tt>', `<tt>\S</tt>', and `<tt>\083</tt>' each
- * represent the same one-octet name.  The <tt>toString()</tt> method
+ * sequences `{@code S}', `{@code \S}', and `{@code \083}' each
+ * represent the same one-octet name.  The {@code toString()} method
  * does not generally insert escape sequences except where necessary.
- * If, however, the <tt>DnsName</tt> was constructed using unneeded
- * escapes, those escapes may appear in the <tt>toString</tt> result.
+ * If, however, the {@code DnsName} was constructed using unneeded
+ * escapes, those escapes may appear in the {@code toString} result.
  *
  * <p> Atomic names passed as parameters to methods of
- * <tt>DnsName</tt>, and those returned by them, are unescaped.  So,
- * for example, <tt>(new&nbsp;DnsName()).add("a.b")</tt> creates an
- * object representing the one-label domain name <tt>a\.b</tt>, and
- * calling <tt>get(0)</tt> on this object returns <tt>"a.b"</tt>.
+ * {@code DnsName}, and those returned by them, are unescaped.  So,
+ * for example, <code>(new&nbsp;DnsName()).add("a.b")</code> creates an
+ * object representing the one-label domain name {@code a\.b}, and
+ * calling {@code get(0)} on this object returns {@code "a.b"}.
  *
  * <p> While DNS names are case-preserving, comparisons between them
  * are case-insensitive.  When comparing names containing non-ASCII
- * octets, <tt>DnsName</tt> uses case-insensitive comparison
+ * octets, {@code DnsName} uses case-insensitive comparison
  * between pairs of ASCII values, and exact binary comparison
  * otherwise.
 
- * <p> A <tt>DnsName</tt> instance is not synchronized against
+ * <p> A {@code DnsName} instance is not synchronized against
  * concurrent access by multiple threads.
  *
  * @author Scott Seligman
@@ -119,16 +119,16 @@
 
 
     /**
-     * Constructs a <tt>DnsName</tt> representing the empty domain name.
+     * Constructs a {@code DnsName} representing the empty domain name.
      */
     public DnsName() {
     }
 
     /**
-     * Constructs a <tt>DnsName</tt> representing a given domain name.
+     * Constructs a {@code DnsName} representing a given domain name.
      *
      * @param   name    the domain name to parse
-     * @throws InvalidNameException if <tt>name</tt> does not conform
+     * @throws InvalidNameException if {@code name} does not conform
      *          to DNS syntax.
      */
     public DnsName(String name) throws InvalidNameException {
--- a/jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/NameNode.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/NameNode.java	Mon Aug 17 11:18:31 2015 -0700
@@ -38,7 +38,7 @@
  * <p> A node may be addressed from another by giving a DnsName
  * consisting of the sequence of labels from one node to the other.
  *
- * <p> Each node also has an <tt>isZoneCut</tt> flag, used to indicate
+ * <p> Each node also has an {@code isZoneCut} flag, used to indicate
  * if the node is a zone cut.  A zone cut is a node with an NS record
  * that is contained in one zone, but that actually belongs to a child zone.
  *
@@ -115,7 +115,7 @@
     /*
      * Returns the node at the end of a path, or null if the
      * node does not exist.
-     * The path is specified by the labels of <tt>name</tt>, beginning
+     * The path is specified by the labels of {@code name}, beginning
      * at index idx.
      */
     NameNode get(DnsName name, int idx) {
@@ -129,7 +129,7 @@
     /*
      * Returns the node at the end of a path, creating it and any
      * intermediate nodes as needed.
-     * The path is specified by the labels of <tt>name</tt>, beginning
+     * The path is specified by the labels of {@code name}, beginning
      * at index idx.
      */
     NameNode add(DnsName name, int idx) {
--- a/jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/Resolver.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/Resolver.java	Mon Aug 17 11:18:31 2015 -0700
@@ -160,7 +160,7 @@
     }
 
     /*
-     * Finds the name servers of a zone.  <tt>zone</tt> is a fully-qualified
+     * Finds the name servers of a zone.  {@code zone} is a fully-qualified
      * domain name at the top of a zone.
      * If recursion is true, recursion is requested on the query.
      */
--- a/jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/ZoneNode.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/ZoneNode.java	Mon Aug 17 11:18:31 2015 -0700
@@ -154,7 +154,7 @@
     }
 
     /*
-     * Set this zone's data to expire in <tt>secsToExpiration</tt> seconds.
+     * Set this zone's data to expire in {@code secsToExpiration} seconds.
      */
     private void setExpiration(long secsToExpiration) {
         expiration = new Date(System.currentTimeMillis() +
--- a/jdk/test/ProblemList.txt	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/test/ProblemList.txt	Mon Aug 17 11:18:31 2015 -0700
@@ -353,6 +353,10 @@
 # 8062512
 java/util/spi/ResourceBundleControlProvider/UserDefaultControlTest.java generic-all
 
+# 8029453
+java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java linux-all
+
+
 ############################################################################
 
 # jdk_instrument
--- a/jdk/test/java/lang/ProcessHandle/InfoTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/test/java/lang/ProcessHandle/InfoTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -136,7 +136,17 @@
                         }
                     }
 
-
+                    if (Platform.isAix()) {
+                        // Unfortunately, on AIX the usr/sys times reported through
+                        // /proc/<pid>/psinfo which are used by ProcessHandle.Info
+                        // are running slow compared to the corresponding times reported
+                        // by the times()/getrusage() system calls which are used by
+                        // OperatingSystemMXBean.getProcessCpuTime() and returned by
+                        // the JavaChild for the "cputime" command.
+                        // This is because /proc/<pid>/status is only updated once a second.
+                        // So we better wait a little bit to get plausible values here.
+                        Thread.sleep(1000);
+                    }
                     ProcessHandle.Info info = p1.info();
                     System.out.printf(" info: %s%n", info);
 
@@ -160,19 +170,10 @@
                     if (info.arguments().isPresent()) {
                         String[] args = info.arguments().get();
 
-                        if (Platform.isLinux() || Platform.isOSX()) {
-                            int offset = args.length - extraArgs.length;
-                            for (int i = 0; i < extraArgs.length; i++) {
-                                Assert.assertEquals(args[offset + i], extraArgs[i],
-                                        "Actual argument mismatch, index: " + i);
-                            }
-                        } else if (Platform.isSolaris()) {
-                            Assert.assertEquals(args.length, 1,
-                                    "Expected argument list length: 1");
-                            Assert.assertNotNull(args[0],
-                                    "Expected an argument");
-                        } else {
-                            System.out.printf("No argument test for OS: %s%n", Platform.getOsName());
+                        int offset = args.length - extraArgs.length;
+                        for (int i = 0; i < extraArgs.length; i++) {
+                            Assert.assertEquals(args[offset + i], extraArgs[i],
+                                                "Actual argument mismatch, index: " + i);
                         }
 
                         // Now check that the first argument is not the same as the executed command
@@ -183,6 +184,46 @@
                         }
                     }
 
+                    if (command.isPresent() && info.arguments().isPresent()) {
+                        // If both, 'command' and 'arguments' are present,
+                        // 'commandLine' is just the concatenation of the two.
+                        Assert.assertTrue(info.commandLine().isPresent(),
+                                          "commandLine() must be available");
+
+                        String javaExe = System.getProperty("test.jdk") +
+                                File.separator + "bin" + File.separator + "java";
+                        String expected = Platform.isWindows() ? javaExe + ".exe" : javaExe;
+                        Path expectedPath = Paths.get(expected);
+                        String commandLine = info.commandLine().get();
+                        String commandLineCmd = commandLine.split(" ")[0];
+                        Path commandLineCmdPath = Paths.get(commandLineCmd);
+                        Assert.assertTrue(Files.isSameFile(commandLineCmdPath, expectedPath),
+                                          "commandLine() should start with: " + expectedPath +
+                                          " but starts with " + commandLineCmdPath);
+
+                        List<String> allArgs = p1.getArgs();
+                        for (int i = 0; i < allArgs.size(); i++) {
+                            Assert.assertTrue(commandLine.contains(allArgs.get(i)),
+                                              "commandLine() must contain argument: " + allArgs.get(i));
+                        }
+                    } else if (info.commandLine().isPresent()) {
+                        // If we only have the commandLine() we can only do some basic checks...
+                        String commandLine = info.commandLine().get();
+                        String javaExe = "java" + (Platform.isWindows() ? ".exe": "");
+                        int pos = commandLine.indexOf(javaExe);
+                        Assert.assertTrue(pos > 0, "commandLine() should at least contain 'java'");
+
+                        pos += javaExe.length() + 1; // +1 for the space after the command
+                        List<String> allArgs = p1.getArgs();
+                        // First argument is the command - skip it here as we've already checked that.
+                        for (int i = 1; (i < allArgs.size()) &&
+                                        (pos + allArgs.get(i).length() < commandLine.length()); i++) {
+                            Assert.assertTrue(commandLine.contains(allArgs.get(i)),
+                                              "commandLine() must contain argument: " + allArgs.get(i));
+                            pos += allArgs.get(i).length() + 1;
+                        }
+                    }
+
                     if (info.totalCpuDuration().isPresent()) {
                         Duration totalCPU = info.totalCpuDuration().get();
                         Duration epsilon = Duration.ofMillis(200L);
@@ -269,10 +310,27 @@
     public static void test4() {
         Duration myCputime1 = ProcessUtil.MXBeanCpuTime();
 
+        if (Platform.isAix()) {
+            // Unfortunately, on AIX the usr/sys times reported through
+            // /proc/<pid>/psinfo which are used by ProcessHandle.Info
+            // are running slow compared to the corresponding times reported
+            // by the times()/getrusage() system calls which are used by
+            // OperatingSystemMXBean.getProcessCpuTime() and returned by
+            // the JavaChild for the "cputime" command.
+            // So we better wait a little bit to get plausible values here.
+            try {
+                Thread.sleep(1000);
+            } catch (InterruptedException ex) {}
+        }
         Optional<Duration> dur1 = ProcessHandle.current().info().totalCpuDuration();
 
         Duration myCputime2 = ProcessUtil.MXBeanCpuTime();
 
+        if (Platform.isAix()) {
+            try {
+                Thread.sleep(1000);
+            } catch (InterruptedException ex) {}
+        }
         Optional<Duration> dur2 = ProcessHandle.current().info().totalCpuDuration();
 
         if (dur1.isPresent() && dur2.isPresent()) {
--- a/jdk/test/java/lang/ProcessHandle/JavaChild.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/test/java/lang/ProcessHandle/JavaChild.java	Mon Aug 17 11:18:31 2015 -0700
@@ -68,8 +68,9 @@
      * {@link #forEachOutputLine} can be used to process output from the child
      * @param delegate the process to delegate and send commands to and get responses from
      */
-    private JavaChild(Process delegate) {
-        this.delegate = delegate;
+    private JavaChild(ProcessBuilder pb) throws IOException {
+        allArgs = pb.command();
+        delegate = pb.start();
         // Initialize PrintWriter with autoflush (on println)
         inputWriter = new PrintWriter(delegate.getOutputStream(), true);
         outputReader = new BufferedReader(new InputStreamReader(delegate.getInputStream()));
@@ -119,6 +120,10 @@
         return "delegate: " + delegate.toString();
     }
 
+    public List<String> getArgs() {
+        return allArgs;
+    }
+
     public CompletableFuture<JavaChild> onJavaChildExit() {
         return onExit().thenApply(ph -> this);
     }
@@ -187,7 +192,7 @@
         }
         ProcessBuilder pb = build(stringArgs);
         pb.redirectError(ProcessBuilder.Redirect.INHERIT);
-        return new JavaChild(pb.start());
+        return new JavaChild(pb);
     }
 
     /**
@@ -236,6 +241,9 @@
                     "-classpath", absolutifyPath(classpath),
                     "JavaChild");
 
+    // Will hold the complete list of arguments which was given to Processbuilder.command()
+    private List<String> allArgs;
+
     private static String absolutifyPath(String path) {
         StringBuilder sb = new StringBuilder();
         for (String file : path.split(File.pathSeparator)) {
--- a/jdk/test/java/lang/ProcessHandle/OnExitTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/test/java/lang/ProcessHandle/OnExitTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -126,6 +126,11 @@
             } while (processes.size() < expected &&
                     Instant.now().isBefore(endTimeout));
 
+            if (processes.size() < expected) {
+                printf("WARNING: not all children have been started. Can't complete test.%n");
+                printf("         You can try to increase the timeout or%n");
+                printf("         you can try to use a faster VM (i.e. not a debug version).%n");
+            }
             children = getAllChildren(procHandle);
 
             ConcurrentHashMap<ProcessHandle, CompletableFuture<ProcessHandle>> completions =
--- a/jdk/test/java/lang/invoke/ExplicitCastArgumentsTest.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/test/java/lang/invoke/ExplicitCastArgumentsTest.java	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * 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
@@ -21,79 +21,583 @@
  * questions.
  */
 
-package java.lang.invoke;
-
+import com.oracle.testlibrary.jsr292.Helper;
+import java.io.File;
+import java.io.Serializable;
+import java.lang.invoke.MethodHandle;
+import java.lang.invoke.MethodHandles;
+import java.lang.invoke.MethodType;
+import java.lang.invoke.WrongMethodTypeException;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Random;
 import sun.invoke.util.Wrapper;
 
-/* @test
+/*
+ * @test
+ * @bug 8060483 8066746
+ * @key randomness
+ * @library /lib/testlibrary /lib/testlibrary/jsr292
  * @summary unit tests for MethodHandles.explicitCastArguments()
- *
- * @run main/bootclasspath java.lang.invoke.ExplicitCastArgumentsTest
+ * @run main ExplicitCastArgumentsTest
+ */
+
+/**
+ * Tests for MethodHandles.explicitCastArguments().
  */
 public class ExplicitCastArgumentsTest {
-    private static final boolean VERBOSE = Boolean.getBoolean("verbose");
+
+    private static final boolean VERBOSE = Helper.IS_VERBOSE;
     private static final Class<?> THIS_CLASS = ExplicitCastArgumentsTest.class;
+    private static final Random RNG = Helper.RNG;
+    private static final Map<Wrapper, Object> RANDOM_VALUES = new HashMap<>(9);
+
+    static {
+        RANDOM_VALUES.put(Wrapper.BOOLEAN, RNG.nextBoolean());
+        RANDOM_VALUES.put(Wrapper.BYTE, (byte) RNG.nextInt());
+        RANDOM_VALUES.put(Wrapper.SHORT, (short) RNG.nextInt());
+        RANDOM_VALUES.put(Wrapper.CHAR, (char) RNG.nextInt());
+        RANDOM_VALUES.put(Wrapper.INT, RNG.nextInt());
+        RANDOM_VALUES.put(Wrapper.LONG, RNG.nextLong());
+        RANDOM_VALUES.put(Wrapper.FLOAT, RNG.nextFloat());
+        RANDOM_VALUES.put(Wrapper.DOUBLE, RNG.nextDouble());
+        RANDOM_VALUES.put(Wrapper.OBJECT, new Object());
+    }
 
     public static void main(String[] args) throws Throwable {
         testVarargsCollector();
+        testNullRef2Prim();
         testRef2Prim();
+        testPrim2Ref();
+        testPrim2Prim();
+        testNonBCPRef2NonBCPRef();
+        testBCPRef2BCPRef();
+        testNonBCPRef2BCPRef();
+        testReturnAny2Void();
+        testReturnVoid2Any();
+        testMultipleArgs();
         System.out.println("TEST PASSED");
     }
 
-    public static String[] f(String... args) { return args; }
+    /**
+     * Dummy method used in {@link #testVarargsCollector} test to form a method
+     * handle.
+     *
+     * @param args - any args
+     * @return - returns args
+     */
+    public static String[] f(String... args) {
+        return args;
+    }
 
+    /**
+     * Tests that MHs.explicitCastArguments does incorrect type checks for
+     * VarargsCollector. Bug 8066746.
+     *
+     * @throws java.lang.Throwable
+     */
     public static void testVarargsCollector() throws Throwable {
         MethodType mt = MethodType.methodType(String[].class, String[].class);
-        MethodHandle mh = MethodHandles.publicLookup().findStatic(THIS_CLASS, "f", mt);
-        mh = MethodHandles.explicitCastArguments(mh, MethodType.methodType(Object.class, Object.class));
-        mh.invokeWithArguments((Object)(new String[] {"str1", "str2"}));
+        MethodHandle mh = MethodHandles.publicLookup()
+                .findStatic(THIS_CLASS, "f", mt);
+        mh = MethodHandles.explicitCastArguments(mh,
+                MethodType.methodType(Object.class, Object.class));
+        mh.invokeWithArguments((Object) (new String[]{"str1", "str2"}));
+    }
+
+    /**
+     * Tests that null wrapper reference is successfully converted to primitive
+     * types. Converted result should be zero for a primitive. Bug 8060483.
+     */
+    public static void testNullRef2Prim() {
+        for (Wrapper from : Wrapper.values()) {
+            for (Wrapper to : Wrapper.values()) {
+                if (from == Wrapper.VOID || to == Wrapper.VOID) {
+                    continue;
+                }
+                // MHs.eCA javadoc:
+                //    If T0 is a reference and T1 a primitive, and if the reference
+                //    is null at runtime, a zero value is introduced.
+                for (TestConversionMode mode : TestConversionMode.values()) {
+                    testConversion(mode, from.wrapperType(),
+                            to.primitiveType(), null, to.zero(), false, null);
+                }
+            }
+        }
     }
 
-    public static void testRef2Prim() throws Throwable {
+    /**
+     * Tests that non-null wrapper reference is successfully converted to
+     * primitive types.
+     */
+    public static void testRef2Prim() {
+        for (Wrapper from : Wrapper.values()) {
+            for (Wrapper to : Wrapper.values()) {
+                if (from == Wrapper.VOID || to == Wrapper.VOID
+                        || to == Wrapper.OBJECT) {
+                    continue;
+                }
+                Object value = RANDOM_VALUES.get(from);
+                for (TestConversionMode mode : TestConversionMode.values()) {
+                    if (from != Wrapper.OBJECT) {
+                        Object convValue = to.wrap(value);
+                        testConversion(mode, from.wrapperType(),
+                                to.primitiveType(), value, convValue, false, null);
+                    } else {
+                        testConversion(mode, from.wrapperType(),
+                                to.primitiveType(), value, null,
+                                true, ClassCastException.class);
+                    }
+                }
+            }
+        }
+    }
+
+    /**
+     * Tests that primitive is successfully converted to wrapper reference
+     * types, to the Number type (if possible) and to the Object type.
+     */
+    public static void testPrim2Ref() {
         for (Wrapper from : Wrapper.values()) {
             for (Wrapper to : Wrapper.values()) {
-                if (from == Wrapper.VOID || to == Wrapper.VOID) continue;
-                testRef2Prim(from, to);
+                if (from == Wrapper.VOID || from == Wrapper.OBJECT
+                        || to == Wrapper.VOID || to == Wrapper.OBJECT) {
+                    continue;
+                }
+                Object value = RANDOM_VALUES.get(from);
+                for (TestConversionMode mode : TestConversionMode.values()) {
+                    if (from == to) {
+                        testConversion(mode, from.primitiveType(),
+                                to.wrapperType(), value, value, false, null);
+                    } else {
+                        testConversion(mode, from.primitiveType(),
+                                to.wrapperType(), value, null, true, ClassCastException.class);
+                    }
+                    if (from != Wrapper.BOOLEAN && from != Wrapper.CHAR) {
+                        testConversion(mode, from.primitiveType(),
+                                Number.class, value, value, false, null);
+                    } else {
+                        testConversion(mode, from.primitiveType(),
+                                Number.class, value, null,
+                                true, ClassCastException.class);
+                    }
+                    testConversion(mode, from.primitiveType(),
+                            Object.class, value, value, false, null);
+                }
+            }
+        }
+    }
+
+    /**
+     * Tests that primitive is successfully converted to other primitive type.
+     */
+    public static void testPrim2Prim() {
+        for (Wrapper from : Wrapper.values()) {
+            for (Wrapper to : Wrapper.values()) {
+                if (from == Wrapper.VOID || to == Wrapper.VOID
+                        || from == Wrapper.OBJECT || to == Wrapper.OBJECT) {
+                    continue;
+                }
+                Object value = RANDOM_VALUES.get(from);
+                Object convValue = to.wrap(value);
+                for (TestConversionMode mode : TestConversionMode.values()) {
+                    testConversion(mode, from.primitiveType(),
+                            to.primitiveType(), value, convValue, false, null);
+                }
             }
         }
     }
 
-    public static void testRef2Prim(Wrapper from, Wrapper to) throws Throwable {
-        // MHs.eCA javadoc:
-        //    If T0 is a reference and T1 a primitive, and if the reference is null at runtime, a zero value is introduced.
-        test(from.wrapperType(), to.primitiveType(), null, false);
+    /**
+     * Dummy interface for {@link #testNonBCPRef2Ref} test.
+     */
+    public static interface TestInterface {}
+
+    /**
+     * Dummy class for {@link #testNonBCPRef2Ref} test.
+     */
+    public static class TestSuperClass implements TestInterface {}
+
+    /**
+     * Dummy class for {@link #testNonBCPRef2Ref} test.
+     */
+    public static class TestSubClass1 extends TestSuperClass {}
+
+    /**
+     * Dummy class for {@link #testNonBCPRef2Ref} test.
+     */
+    public static class TestSubClass2 extends TestSuperClass {}
+
+    /**
+     * Tests non-bootclasspath reference to reference conversions.
+     *
+     * @throws java.lang.Throwable
+     */
+    public static void testNonBCPRef2NonBCPRef() throws Throwable {
+        Class testInterface = TestInterface.class;
+        Class testSuperClass = TestSuperClass.class;
+        Class testSubClass1 = TestSubClass1.class;
+        Class testSubClass2 = TestSubClass2.class;
+        Object testSuperObj = new TestSuperClass();
+        Object testObj01 = new TestSubClass1();
+        Object testObj02 = new TestSubClass2();
+        Class[] parents = {testInterface, testSuperClass};
+        Class[] children = {testSubClass1, testSubClass2};
+        Object[] childInst = {testObj01, testObj02};
+        for (TestConversionMode mode : TestConversionMode.values()) {
+            for (Class parent : parents) {
+                for (int j = 0; j < children.length; j++) {
+                    // Child type to parent type non-null conversion, shoud succeed
+                    testConversion(mode, children[j], parent, childInst[j], childInst[j], false, null);
+                    // Child type to parent type null conversion, shoud succeed
+                    testConversion(mode, children[j], parent, null, null, false, null);
+                    // Parent type to child type non-null conversion with parent
+                    // type instance, should fail
+                    testConversion(mode, parent, children[j], testSuperObj, null, true, ClassCastException.class);
+                    // Parent type to child type non-null conversion with child
+                    // type instance, should succeed
+                    testConversion(mode, parent, children[j], childInst[j], childInst[j], false, null);
+                    // Parent type to child type null conversion, should succeed
+                    testConversion(mode, parent, children[j], null, null, false, null);
+                }
+                // Parent type to child type non-null conversion with sibling
+                // type instance, should fail
+                testConversion(mode, parent, testSubClass1, testObj02, null, true, ClassCastException.class);
+            }
+            // Sibling type non-null conversion, should fail
+            testConversion(mode, testSubClass1,
+                    testSubClass2, testObj01, null, true,
+                    ClassCastException.class);
+            // Sibling type null conversion, should succeed
+            testConversion(mode, testSubClass1,
+                    testSubClass2, null, null, false, null);
+        }
+    }
+
+    /**
+     * Dummy interface for {@link #testNonBCPRef2BCPRef} test.
+     */
+    public static interface TestSerializableInterface extends Serializable {}
+
+    /**
+     * Dummy class for {@link #testNonBCPRef2BCPRef} test.
+     */
+    public static class TestSerializableClass
+            implements TestSerializableInterface {}
+
+    /**
+     * Dummy class for {@link #testNonBCPRef2BCPRef} test.
+     */
+    public static class TestFileChildClass extends File
+            implements TestSerializableInterface {
+        public TestFileChildClass(String pathname) {
+            super(pathname);
+        }
+    }
+
+    /**
+     * Tests non-bootclasspath reference to bootclasspath reference conversions
+     * and vice-versa.
+     *
+     * @throws java.lang.Throwable
+     */
+    public static void testNonBCPRef2BCPRef() throws Throwable {
+        Class bcpInterface = Serializable.class;
+        Class bcpSuperClass = File.class;
+        Class nonBcpInterface = TestSerializableInterface.class;
+        Class nonBcpSuperSiblingClass = TestSerializableClass.class;
+        Class nonBcpSubClass = TestFileChildClass.class;
+        Object bcpSuperObj = new File(".");
+        Object testSuperSiblingObj = new TestSerializableClass();
+        Object testSubObj = new TestFileChildClass(".");
+        Class[] parents = {bcpInterface, bcpSuperClass};
+        for (TestConversionMode mode : TestConversionMode.values()) {
+            for (Class parent : parents) {
+                // Child type to parent type non-null conversion, shoud succeed
+                testConversion(mode, nonBcpSubClass, parent, testSubObj,
+                        testSubObj, false, null);
+                // Child type to parent type null conversion, shoud succeed
+                testConversion(mode, nonBcpSubClass, parent, null, null,
+                        false, null);
+                // Parent type to child type non-null conversion with parent
+                // type instance, should fail
+                testConversion(mode, parent, nonBcpSubClass, bcpSuperObj, null,
+                        true, ClassCastException.class);
+                // Parent type to child type non-null conversion with child
+                // type instance, should succeed
+                testConversion(mode, parent, nonBcpSubClass, testSubObj,
+                        testSubObj, false, null);
+                // Parent type to child type null conversion, should succeed
+                testConversion(mode, parent, nonBcpSubClass, null, null,
+                        false, null);
+            }
+            // Parent type to child type non-null conversion with
+            // super sibling type instance, should fail
+            testConversion(mode, bcpInterface, nonBcpSubClass,
+                    testSuperSiblingObj, null, true, ClassCastException.class);
+            Class[] siblings = {nonBcpSubClass, bcpSuperClass};
+            for (Class sibling : siblings) {
+                // Non-bcp class to bcp/non-bcp sibling class non-null
+                // conversion with nonBcpSuperSiblingClass instance, should fail
+                testConversion(mode, nonBcpSuperSiblingClass, sibling,
+                        testSuperSiblingObj, null, true, ClassCastException.class);
+                // Non-bcp class to bcp/non-bcp sibling class null conversion,
+                // should succeed
+                testConversion(mode, nonBcpSuperSiblingClass, sibling,
+                        null, null, false, null);
+                // Non-bcp interface to bcp/non-bcp sibling class non-null
+                // conversion with nonBcpSubClass instance, should succeed
+                testConversion(mode, nonBcpInterface, sibling, testSubObj,
+                        testSubObj, false, null);
+                // Non-bcp interface to bcp/non-bcp sibling class
+                // null conversion, should succeed
+                testConversion(mode, nonBcpInterface, sibling, null, null,
+                        false, null);
+                // Non-bcp interface to bcp/non-bcp sibling class non-null
+                // conversion with nonBcpSuperSiblingClass instance, should fail
+                testConversion(mode, nonBcpInterface, sibling,
+                        testSuperSiblingObj, testSubObj,
+                        true, ClassCastException.class);
+            }
+        }
     }
 
-    public static void test(Class<?> from, Class<?> to, Object param, boolean failureExpected) throws Throwable {
-        if (VERBOSE) System.out.printf("%-10s => %-10s: %5s: ", from.getSimpleName(), to.getSimpleName(), param);
+    /**
+     * Tests bootclasspath reference to reference conversions.
+     */
+    public static void testBCPRef2BCPRef() {
+        Class bcpInterface = CharSequence.class;
+        Class bcpSubClass1 = String.class;
+        Class bcpSubClass2 = StringBuffer.class;
+        Object testObj01 = new String("test");
+        Object testObj02 = new StringBuffer("test");
+        Class[] children = {bcpSubClass1, bcpSubClass2};
+        Object[] childInst = {testObj01, testObj02};
+        for (TestConversionMode mode : TestConversionMode.values()) {
+            for (int i = 0; i < children.length; i++) {
+                // Child type to parent type non-null conversion, shoud succeed
+                testConversion(mode, children[i], bcpInterface, childInst[i],
+                        childInst[i], false, null);
+                // Child type to parent type null conversion, shoud succeed
+                testConversion(mode, children[i], bcpInterface, null,
+                        null, false, null);
+                // Parent type to child type non-null conversion with child
+                // type instance, should succeed
+                testConversion(mode, bcpInterface,
+                        children[i], childInst[i], childInst[i], false, null);
+                // Parent type to child type null conversion, should succeed
+                testConversion(mode, bcpInterface,
+                        children[i], null, null, false, null);
+            }
+            // Sibling type non-null conversion, should fail
+            testConversion(mode, bcpSubClass1,
+                    bcpSubClass2, testObj01, null, true,
+                    ClassCastException.class);
+            // Sibling type null conversion, should succeed
+            testConversion(mode, bcpSubClass1,
+                    bcpSubClass2, null, null, false, null);
+            // Parent type to child type non-null conversion with sibling
+            // type instance, should fail
+            testConversion(mode, bcpInterface, bcpSubClass1, testObj02,
+                    null, true, ClassCastException.class);
+        }
+    }
+
+    /**
+     * Dummy method used in {@link #testReturnAny2Void} and
+     * {@link #testReturnVoid2Any} tests to form a method handle.
+     */
+    public static void retVoid() {}
+
+    /**
+     * Tests that non-null any return is successfully converted to non-type
+     * void.
+     */
+    public static void testReturnAny2Void() {
+        for (Wrapper from : Wrapper.values()) {
+            testConversion(TestConversionMode.RETURN_VALUE, from.wrapperType(),
+                    void.class, RANDOM_VALUES.get(from),
+                    null, false, null);
+            testConversion(TestConversionMode.RETURN_VALUE, from.primitiveType(),
+                    void.class, RANDOM_VALUES.get(from),
+                    null, false, null);
+        }
+    }
+
+    /**
+     * Tests that void return is successfully converted to primitive and
+     * reference. Result should be zero for primitives and null for references.
+     */
+    public static void testReturnVoid2Any() {
+        for (Wrapper to : Wrapper.values()) {
+            testConversion(TestConversionMode.RETURN_VALUE, void.class,
+                    to.primitiveType(), null,
+                    to.zero(), false, null);
+            testConversion(TestConversionMode.RETURN_VALUE, void.class,
+                    to.wrapperType(), null,
+                    null, false, null);
+        }
+    }
+
+    private static void checkForWrongMethodTypeException(MethodHandle mh, MethodType mt) {
+        try {
+            MethodHandles.explicitCastArguments(mh, mt);
+            throw new AssertionError("Expected WrongMethodTypeException is not thrown");
+        } catch (WrongMethodTypeException wmte) {
+            if (VERBOSE) {
+                System.out.printf("Expected exception %s: %s\n",
+                        wmte.getClass(), wmte.getMessage());
+            }
+        }
+    }
 
-        MethodHandle original = MethodHandles.identity(from);
-        MethodType newType = original.type().changeReturnType(to);
+    /**
+     * Tests that MHs.eCA method works correctly with MHs with multiple arguments.
+     * @throws Throwable
+     */
+    public static void testMultipleArgs() throws Throwable {
+        int arity = 1 + RNG.nextInt(Helper.MAX_ARITY / 2 - 2);
+        int arityMinus = RNG.nextInt(arity);
+        int arityPlus = arity + RNG.nextInt(Helper.MAX_ARITY / 2 - arity) + 1;
+        MethodType mType = Helper.randomMethodTypeGenerator(arity);
+        MethodType mTypeNew = Helper.randomMethodTypeGenerator(arity);
+        MethodType mTypeNewMinus = Helper.randomMethodTypeGenerator(arityMinus);
+        MethodType mTypeNewPlus = Helper.randomMethodTypeGenerator(arityPlus);
+        Class<?> rType = mType.returnType();
+        MethodHandle original;
+        if (rType.equals(void.class)) {
+            MethodType mt = MethodType.methodType(void.class);
+            original = MethodHandles.publicLookup()
+                    .findStatic(THIS_CLASS, "retVoid", mt);
+        } else {
+            Object rValue = Helper.castToWrapper(1, rType);
+            original = MethodHandles.constant(rType, rValue);
+        }
+        original = Helper.addTrailingArgs(original, arity, mType.parameterList());
+        MethodHandle target = MethodHandles
+                    .explicitCastArguments(original, mTypeNew);
+        Object[] parList = Helper.randomArgs(mTypeNew.parameterList());
+        for (int i = 0; i < parList.length; i++) {
+            if (parList[i] instanceof String) {
+                parList[i] = null; //getting rid of Stings produced by randomArgs
+            }
+        }
+        target.invokeWithArguments(parList);
+        checkForWrongMethodTypeException(original, mTypeNewMinus);
+        checkForWrongMethodTypeException(original, mTypeNewPlus);
+    }
+
+    /**
+     * Enumeration of test conversion modes.
+     */
+    public enum TestConversionMode {
+        RETURN_VALUE,
+        ARGUMENT;
+    }
 
+    /**
+     * Tests type and value conversion. Comparing with the given expected result.
+     *
+     * @param mode - test conversion mode. See {@link #TestConversionMode}.
+     * @param from - source type.
+     * @param to - destination type.
+     * @param param - value to be converted.
+     * @param expectedResult - expected value after conversion.
+     * @param failureExpected - true if conversion failure expected.
+     * @param expectedException - expected exception class if
+     * {@code failureExpected} is true.
+     */
+    public static void testConversion(TestConversionMode mode,
+            Class<?> from, Class<?> to, Object param,
+            Object expectedResult, boolean failureExpected,
+            Class<? extends Throwable> expectedException) {
+        if (VERBOSE) {
+            System.out.printf("Testing return value conversion: "
+                    + "%-10s => %-10s: %5s: ", from.getSimpleName(),
+                    to.getSimpleName(), param);
+        }
+        MethodHandle original = null;
+        MethodType newType = null;
+        switch (mode) {
+            case RETURN_VALUE:
+                if (from.equals(void.class)) {
+                    MethodType mt = MethodType.methodType(void.class);
+                    try {
+                        original = MethodHandles.publicLookup()
+                                .findStatic(THIS_CLASS, "retVoid", mt);
+                    } catch (NoSuchMethodException | IllegalAccessException ex) {
+                        throw new Error("Unexpected issue", ex);
+                    }
+                } else {
+                    original = MethodHandles.constant(from, param);
+                }
+                newType = original.type().changeReturnType(to);
+                break;
+            case ARGUMENT:
+                if (from.equals(void.class) || to.equals(void.class)) {
+                    throw new Error("Test issue: argument conversion does not"
+                            + " work with non-type void");
+                }
+                original = MethodHandles.identity(to);
+                newType = original.type().changeParameterType(0, from);
+                break;
+            default:
+                String msg = String.format("Test issue: unknown test"
+                        + " convertion mode %s.", mode.name());
+                throw new Error(msg);
+        }
         try {
-            MethodHandle target = MethodHandles.explicitCastArguments(original, newType);
-            Object result = target.invokeWithArguments(param);
-
+            MethodHandle target = MethodHandles
+                    .explicitCastArguments(original, newType);
+            Object result;
+            switch (mode) {
+                case RETURN_VALUE:
+                    result = target.invokeWithArguments();
+                    break;
+                case ARGUMENT:
+                    result = target.invokeWithArguments(param);
+                    break;
+                default:
+                    String msg = String.format("Test issue: unknown test"
+                            + " convertion mode %s.", mode.name());
+                    throw new Error(msg);
+            }
+            if (!failureExpected
+                    && (expectedResult != null && !expectedResult.equals(result)
+                    || expectedResult == null && result != null)) {
+                String msg = String.format("Conversion result %s is not equal"
+                        + " to the expected result %10s",
+                        result, expectedResult);
+                throw new AssertionError(msg);
+            }
             if (VERBOSE) {
                 String resultStr;
                 if (result != null) {
-                    resultStr = String.format("%10s (%10s)", "'"+result+"'", result.getClass().getSimpleName());
+                    resultStr = String.format("Converted value and type are"
+                            + " %10s (%10s)", "'" + result + "'",
+                            result.getClass().getSimpleName());
                 } else {
-                    resultStr = String.format("%10s", result);
+                    resultStr = String.format("Converted value is %10s", result);
                 }
                 System.out.println(resultStr);
             }
-
             if (failureExpected) {
-                String msg = String.format("No exception thrown: %s => %s; parameter: %s", from, to, param);
+                String msg = String.format("No exception thrown while testing"
+                        + " return value conversion: %10s => %10s;"
+                        + " parameter: %10s",
+                        from, to, param);
                 throw new AssertionError(msg);
             }
         } catch (AssertionError e) {
             throw e; // report test failure
         } catch (Throwable e) {
-            if (VERBOSE) System.out.printf("%s: %s\n", e.getClass(), e.getMessage());
-            if (!failureExpected) {
-                String msg = String.format("Unexpected exception was thrown: %s => %s; parameter: %s", from, to, param);
+            if (VERBOSE) {
+                System.out.printf("%s: %s\n", e.getClass(), e.getMessage());
+            }
+            if (!failureExpected || !e.getClass().equals(expectedException)) {
+                String msg = String.format("Unexpected exception was thrown"
+                        + " while testing return value conversion:"
+                        + " %s => %s; parameter: %s", from, to, param);
                 throw new AssertionError(msg, e);
             }
         }
--- a/jdk/test/java/lang/invoke/LFCaching/TestMethods.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/test/java/lang/invoke/LFCaching/TestMethods.java	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * 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
@@ -207,7 +207,7 @@
                     return MethodHandles.filterReturnValue(target, filter);
                 }
             },
-    INSERT_ARGUMENTS("insertArguments") {
+    INSERT_ARGUMENTS("insertArguments", Helper.MAX_ARITY - 3) {
                 @Override
                 public Map<String, Object> getTestCaseData() {
                     Map<String, Object> data = new HashMap<>();
@@ -610,26 +610,7 @@
      * @return MethodType generated randomly.
      */
     private static MethodType randomMethodTypeGenerator(int arity) {
-        final Class<?>[] CLASSES = {
-            Object.class,
-            int.class,
-            boolean.class,
-            byte.class,
-            short.class,
-            char.class,
-            long.class,
-            float.class,
-            double.class
-        };
-        if (arity > Helper.MAX_ARITY) {
-            throw new IllegalArgumentException(
-                    String.format("Arity should not exceed %d!", Helper.MAX_ARITY));
-        }
-        List<Class<?>> list = Helper.randomClasses(CLASSES, arity);
-        list = Helper.getParams(list, false, arity);
-        int i = Helper.RNG.nextInt(CLASSES.length + 1);
-        Class<?> rtype = i == CLASSES.length ? void.class : CLASSES[i];
-        return MethodType.methodType(rtype, list);
+        return Helper.randomMethodTypeGenerator(arity);
     }
 
     /**
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jdk/test/java/util/Formatter/NullArg.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,63 @@
+/*
+ * Copyright (c) 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.
+ */
+
+/**
+ * @test
+ * @bug 8039390
+ * @summary Basic test for null argument
+ */
+
+import java.util.Formatter;
+import java.util.Locale;
+
+public class NullArg {
+
+    public static void main(String [] args) {
+        char[] cs = new char[] {
+            'b', 'B', 'h', 'H', 's', 'S', 'c', 'C', 'd', 'o', 'x', 'X',
+            'e', 'E', 'f', 'g', 'G', 'a', 'A', 't', 'T',
+        };
+        char[] tcs = new char[] {
+            'H', 'I', 'k', 'l', 'l', 'M', 'S', 'L', 'N', 'p', 'z', 'Z', 's',
+            'Q', 'B', 'b', 'h', 'A', 'a', 'C', 'Y', 'y', 'j', 'm', 'd', 'e',
+            'R', 'T', 'r', 'D', 'F', 'c'
+        };
+        for (char c : cs) {
+            String expected = (c == 'b' || c == 'B') ? "false" : "null";
+            if (Character.isUpperCase(c)) {
+                expected = expected.toUpperCase(Locale.ROOT);
+            }
+            if (c == 't' || c == 'T') {
+                for (char ct : tcs) {
+                    if (!String.format("%" + c + ct, null).equals(expected)) {
+                        throw new RuntimeException("%t" + ct + "null check failed.");
+                    }
+                }
+            } else {
+                if (!String.format("%" + c , null).equals(expected)) {
+                    throw new RuntimeException("%" + c + "null check failed.");
+                }
+            }
+        }
+    }
+}
--- a/jdk/test/lib/testlibrary/jsr292/com/oracle/testlibrary/jsr292/Helper.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/test/lib/testlibrary/jsr292/com/oracle/testlibrary/jsr292/Helper.java	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * 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
@@ -315,4 +315,33 @@
         }
         return null;
     }
+
+    /**
+     * Routine used to obtain a randomly generated method type.
+     *
+     * @param arity Arity of returned method type.
+     * @return MethodType generated randomly.
+     */
+    public static MethodType randomMethodTypeGenerator(int arity) {
+        final Class<?>[] CLASSES = {
+            Object.class,
+            int.class,
+            boolean.class,
+            byte.class,
+            short.class,
+            char.class,
+            long.class,
+            float.class,
+            double.class
+        };
+        if (arity > MAX_ARITY) {
+            throw new IllegalArgumentException(
+                    String.format("Arity should not exceed %d!", MAX_ARITY));
+        }
+        List<Class<?>> list = randomClasses(CLASSES, arity);
+        list = getParams(list, false, arity);
+        int i = RNG.nextInt(CLASSES.length + 1);
+        Class<?> rtype = i == CLASSES.length ? void.class : CLASSES[i];
+        return MethodType.methodType(rtype, list);
+    }
 }
--- a/jdk/test/sun/util/calendar/zi/tzdata/VERSION	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/test/sun/util/calendar/zi/tzdata/VERSION	Mon Aug 17 11:18:31 2015 -0700
@@ -21,4 +21,4 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-tzdata2015e
+tzdata2015f
--- a/jdk/test/sun/util/calendar/zi/tzdata/africa	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/test/sun/util/calendar/zi/tzdata/africa	Mon Aug 17 11:18:31 2015 -0700
@@ -561,7 +561,7 @@
 
 # From Alex Krivenyshev (2008-07-11):
 # Seems that English language article "The revival of daylight saving
-# time: Energy conservation?"-# No. 16578 (07/11/2008) was originally
+# time: Energy conservation?"- No. 16578 (07/11/2008) was originally
 # published on Monday, June 30, 2008...
 #
 # I guess that article in French "Le gouvernement avance l'introduction
@@ -693,7 +693,7 @@
 # Here is a link to official document from Royaume du Maroc Premier Ministre,
 # Ministère de la Modernisation des Secteurs Publics
 #
-# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 june 1967)
+# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 June 1967)
 # concerning the amendment of the legal time, the Ministry of Modernization of
 # Public Sectors announced that the official time in the Kingdom will be
 # advanced 60 minutes from Sunday 31 May 2009 at midnight.
--- a/jdk/test/sun/util/calendar/zi/tzdata/asia	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/test/sun/util/calendar/zi/tzdata/asia	Mon Aug 17 11:18:31 2015 -0700
@@ -29,7 +29,7 @@
 # tz@iana.org for general use in the future).  For more, please see
 # the file CONTRIBUTING in the tz distribution.
 
-# From Paul Eggert (2014-10-31):
+# From Paul Eggert (2015-08-08):
 #
 # Unless otherwise specified, the source for data through 1990 is:
 # Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
@@ -66,7 +66,7 @@
 #	2:00 EET  EEST	Eastern European Time
 #	2:00 IST  IDT	Israel
 #	3:00 AST  ADT	Arabia*
-#	3:30 IRST IRDT	Iran
+#	3:30 IRST IRDT	Iran*
 #	4:00 GST	Gulf*
 #	5:30 IST	India
 #	7:00 ICT	Indochina, most times and locations*
@@ -75,10 +75,11 @@
 #	8:00 CST	China
 #	8:00 IDT	Indochina, 1943-45, 1947-55, 1960-75 (some locations)*
 #	8:00 JWST	Western Standard Time (Japan, 1896/1937)*
+#	8:30 KST  KDT	Korea when at +0830*
 #	9:00 JCST	Central Standard Time (Japan, 1896/1937)
 #	9:00 WIT	east Indonesia (Waktu Indonesia Timur)
 #	9:00 JST  JDT	Japan
-#	9:00 KST  KDT	Korea
+#	9:00 KST  KDT	Korea when at +09
 #	9:30 ACST	Australian Central Standard Time
 #
 # See the 'europe' file for Russia and Turkey in Asia.
@@ -1050,7 +1051,7 @@
 #
 # From Roozbeh Pournader (2007-11-05):
 # This is quoted from Official Gazette of the Islamic Republic of
-# Iran, Volume 63, Number 18242, dated Tuesday 1386/6/24
+# Iran, Volume 63, No. 18242, dated Tuesday 1386/6/24
 # [2007-10-16]. I am doing the best translation I can:...
 # The official time of the country will be moved forward for one hour
 # on the 24 hours of the first day of the month of Farvardin and will
@@ -1580,7 +1581,7 @@
 # - Qyzylorda switched from +5:00 to +6:00 on 1992-01-19 02:00.
 # - Oral switched from +5:00 to +4:00 in spring 1989.
 
-# From Kazakhstan Embassy's News Bulletin #11
+# From Kazakhstan Embassy's News Bulletin No. 11
 # <http://www.kazsociety.org.uk/news/2005/03/30.htm> (2005-03-21):
 # The Government of Kazakhstan passed a resolution March 15 abolishing
 # daylight saving time citing lack of economic benefits and health
@@ -1734,6 +1735,17 @@
 #
 # For Pyongyang we have no information; guess no changes since World War II.
 
+# From Steffen Thorsen (2015-08-07):
+# According to many news sources, North Korea is going to change to
+# the 8:30 time zone on August 15, one example:
+# http://www.bbc.com/news/world-asia-33815049
+#
+# From Paul Eggert (2015-08-07):
+# No transition time is specified; assume 00:00.
+# There is no common English-language abbreviation for this time zone.
+# Use %z rather than invent one.  We can't assume %z works everywhere yet,
+# so for now substitute its output manually.
+
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	Asia/Seoul	8:27:52	-	LMT	1908 Apr  1
 			8:30	-	KST	1912 Jan  1
@@ -1746,7 +1758,8 @@
 			8:30	-	KST	1912 Jan  1
 			9:00	-	JCST	1937 Oct  1
 			9:00	-	JST	1945 Aug 24
-			9:00	-	KST
+			9:00	-	KST	2015 Aug 15
+			8:30	-	KST
 
 ###############################################################################
 
--- a/jdk/test/sun/util/calendar/zi/tzdata/europe	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/test/sun/util/calendar/zi/tzdata/europe	Mon Aug 17 11:18:31 2015 -0700
@@ -216,11 +216,14 @@
 #	republished in Finest Hour (Spring 2002) 1(114):26
 #	http://www.winstonchurchill.org/images/finesthour/Vol.01%20No.114.pdf
 
-# From Paul Eggert (1996-09-03):
+# From Paul Eggert (2015-08-08):
 # The OED Supplement says that the English originally said "Daylight Saving"
 # when they were debating the adoption of DST in 1908; but by 1916 this
 # term appears only in quotes taken from DST's opponents, whereas the
 # proponents (who eventually won the argument) are quoted as using "Summer".
+# The term "Summer Time" was introduced by Herbert Samuel, Home Secretary; see:
+# Viscount Samuel. Leisure in a Democracy. Cambridge University Press
+# ISBN 978-1-107-49471-8 (1949, reissued 2015), p 8.
 
 # From Arthur David Olson (1989-01-19):
 # A source at the British Information Office in New York avers that it's
@@ -366,7 +369,7 @@
 
 # From an anonymous contributor (1996-06-02):
 # The law governing time in Ireland is under Statutory Instrument SI 395/94,
-# which gives force to European Union 7th Council Directive # 94/21/EC.
+# which gives force to European Union 7th Council Directive No. 94/21/EC.
 # Under this directive, the Minister for Justice in Ireland makes appropriate
 # regulations. I spoke this morning with the Secretary of the Department of
 # Justice (tel +353 1 678 9711) who confirmed to me that the correct name is
@@ -615,11 +618,11 @@
 Rule	Russia	1921	only	-	Mar	20	23:00	2:00	MSM  # Midsummer
 Rule	Russia	1921	only	-	Sep	 1	 0:00	1:00	MSD
 Rule	Russia	1921	only	-	Oct	 1	 0:00	0	-
-# Act No.925 of the Council of Ministers of the USSR (1980-10-24):
+# Act No. 925 of the Council of Ministers of the USSR (1980-10-24):
 Rule	Russia	1981	1984	-	Apr	 1	 0:00	1:00	S
 Rule	Russia	1981	1983	-	Oct	 1	 0:00	0	-
-# Act No.967 of the Council of Ministers of the USSR (1984-09-13), repeated in
-# Act No.227 of the Council of Ministers of the USSR (1989-03-14):
+# Act No. 967 of the Council of Ministers of the USSR (1984-09-13), repeated in
+# Act No. 227 of the Council of Ministers of the USSR (1989-03-14):
 Rule	Russia	1984	1991	-	Sep	lastSun	 2:00s	0	-
 Rule	Russia	1985	1991	-	Mar	lastSun	 2:00s	1:00	S
 #
@@ -851,7 +854,7 @@
 # Bulgaria
 #
 # From Plamen Simenov via Steffen Thorsen (1999-09-09):
-# A document of Government of Bulgaria (No.94/1997) says:
+# A document of Government of Bulgaria (No. 94/1997) says:
 # EET -> EETDST is in 03:00 Local time in last Sunday of March ...
 # EETDST -> EET is in 04:00 Local time in last Sunday of October
 #
@@ -868,7 +871,7 @@
 			1:00	C-Eur	CE%sT	1945
 			1:00	-	CET	1945 Apr  2  3:00
 			2:00	-	EET	1979 Mar 31 23:00
-			2:00	Bulg	EE%sT	1982 Sep 26  2:00
+			2:00	Bulg	EE%sT	1982 Sep 26  3:00
 			2:00	C-Eur	EE%sT	1991
 			2:00	E-Eur	EE%sT	1997
 			2:00	EU	EE%sT
@@ -1085,8 +1088,8 @@
 # after that.
 
 # From Mart Oruaas (2000-01-29):
-# Regulation no. 301 (1999-10-12) obsoletes previous regulation
-# no. 206 (1998-09-22) and thus sticks Estonia to +02:00 GMT for all
+# Regulation No. 301 (1999-10-12) obsoletes previous regulation
+# No. 206 (1998-09-22) and thus sticks Estonia to +02:00 GMT for all
 # the year round.  The regulation is effective 1999-11-01.
 
 # From Toomas Soome (2002-02-21):
@@ -1107,7 +1110,7 @@
 			3:00	Russia	MSK/MSD	1989 Mar 26  2:00s
 			2:00	1:00	EEST	1989 Sep 24  2:00s
 			2:00	C-Eur	EE%sT	1998 Sep 22
-			2:00	EU	EE%sT	1999 Nov  1
+			2:00	EU	EE%sT	1999 Oct 31  4:00
 			2:00	-	EET	2002 Feb 21
 			2:00	EU	EE%sT
 
@@ -1550,21 +1553,21 @@
 # correct data in juridical acts and I found some juridical documents about
 # changes in the counting of time in Latvia from 1981....
 #
-# Act No.35 of the Council of Ministers of Latvian SSR of 1981-01-22 ...
-# according to the Act No.925 of the Council of Ministers of USSR of 1980-10-24
+# Act No. 35 of the Council of Ministers of Latvian SSR of 1981-01-22 ...
+# according to the Act No. 925 of the Council of Ministers of USSR of 1980-10-24
 # ...: all year round the time of 2nd time zone + 1 hour, in addition turning
 # the hands of the clock 1 hour forward on 1 April at 00:00 (GMT 31 March 21:00)
 # and 1 hour backward on the 1 October at 00:00 (GMT 30 September 20:00).
 #
-# Act No.592 of the Council of Ministers of Latvian SSR of 1984-09-24 ...
-# according to the Act No.967 of the Council of Ministers of USSR of 1984-09-13
+# Act No. 592 of the Council of Ministers of Latvian SSR of 1984-09-24 ...
+# according to the Act No. 967 of the Council of Ministers of USSR of 1984-09-13
 # ...: all year round the time of 2nd time zone + 1 hour, in addition turning
 # the hands of the clock 1 hour forward on the last Sunday of March at 02:00
 # (GMT 23:00 on the previous day) and 1 hour backward on the last Sunday of
 # September at 03:00 (GMT 23:00 on the previous day).
 #
-# Act No.81 of the Council of Ministers of Latvian SSR of 1989-03-22 ...
-# according to the Act No.227 of the Council of Ministers of USSR of 1989-03-14
+# Act No. 81 of the Council of Ministers of Latvian SSR of 1989-03-22 ...
+# according to the Act No. 227 of the Council of Ministers of USSR of 1989-03-14
 # ...: since the last Sunday of March 1989 in Lithuanian SSR, Latvian SSR,
 # Estonian SSR and Kaliningrad region of Russian Federation all year round the
 # time of 2nd time zone (Moscow time minus one hour). On the territory of Latvia
@@ -1581,7 +1584,7 @@
 # From Andrei Ivanov (2000-03-06):
 # This year Latvia will not switch to Daylight Savings Time (as specified in
 # The Regulations of the Cabinet of Ministers of the Rep. of Latvia of
-# 29-Feb-2000 (#79) <http://www.lv-laiks.lv/wwwraksti/2000/071072/vd4.htm>,
+# 29-Feb-2000 (No. 79) <http://www.lv-laiks.lv/wwwraksti/2000/071072/vd4.htm>,
 # in Latvian for subscribers only).
 
 # From RFE/RL Newsline
@@ -1786,6 +1789,18 @@
 # News from Moldova (in russian):
 # http://ru.publika.md/link_317061.html
 
+# From Roman Tudos (2015-07-02):
+# http://lex.justice.md/index.php?action=view&view=doc&lang=1&id=355077
+# From Paul Eggert (2015-07-01):
+# The abovementioned official link to IGO1445-868/2014 states that
+# 2014-10-26's fallback transition occurred at 03:00 local time.  Also,
+# http://www.trm.md/en/social/la-30-martie-vom-trece-la-ora-de-vara
+# says the 2014-03-30 spring-forward transition was at 02:00 local time.
+# Guess that since 1997 Moldova has switched one hour before the EU.
+
+# Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
+Rule	Moldova	1997	max	-	Mar	lastSun	 2:00	1:00	S
+Rule	Moldova	1997	max	-	Oct	lastSun	 3:00	0	-
 
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	Europe/Chisinau	1:55:20 -	LMT	1880
@@ -1800,7 +1815,7 @@
 			2:00	Russia	EE%sT	1992
 			2:00	E-Eur	EE%sT	1997
 # See Romania commentary for the guessed 1997 transition to EU rules.
-			2:00	EU	EE%sT
+			2:00	Moldova	EE%sT
 
 # Monaco
 # Shanks & Pottenger give 0:09:20 for Paris Mean Time; go with Howse's
@@ -2146,7 +2161,7 @@
 # Russia
 
 # From Alexander Krivenyshev (2011-09-15):
-# Based on last Russian Government Decree # 725 on August 31, 2011
+# Based on last Russian Government Decree No. 725 on August 31, 2011
 # (Government document
 # http://www.government.ru/gov/results/16355/print/
 # in Russian)
@@ -2156,7 +2171,7 @@
 # http://www.worldtimezone.com/dst_news/dst_news_russia36.htm
 
 # From Sanjeev Gupta (2011-09-27):
-# Scans of [Decree #23 of January 8, 1992] are available at:
+# Scans of [Decree No. 23 of January 8, 1992] are available at:
 # http://government.consultant.ru/page.aspx?1223966
 # They are in Cyrillic letters (presumably Russian).
 
@@ -2167,19 +2182,19 @@
 # One source is
 # http://government.ru/gov/results/16355/
 # which, according to translate.google.com, begins "Decree of August 31,
-# 2011 No 725" and contains no other dates or "effective date" information.
+# 2011 No. 725" and contains no other dates or "effective date" information.
 #
 # Another source is
 # http://www.rg.ru/2011/09/06/chas-zona-dok.html
 # which, according to translate.google.com, begins "Resolution of the
 # Government of the Russian Federation on August 31, 2011 N 725" and also
 # contains "Date first official publication: September 6, 2011 Posted on:
-# in the 'RG' - Federal Issue number 5573 September 6, 2011" but which
+# in the 'RG' - Federal Issue No. 5573 September 6, 2011" but which
 # does not contain any "effective date" information.
 #
 # Another source is
 # http://en.wikipedia.org/wiki/Oymyakonsky_District#cite_note-RuTime-7
-# which, in note 8, contains "Resolution #725 of August 31, 2011...
+# which, in note 8, contains "Resolution No. 725 of August 31, 2011...
 # Effective as of after 7 days following the day of the official publication"
 # but which does not contain any reference to September 6, 2011.
 #
@@ -2387,7 +2402,7 @@
 # changed in May.
 			 2:00	E-Eur	EE%sT	1994 May
 # From IATA SSIM (1994/1997), which also says that Kerch is still like Kiev.
-			 3:00	E-Eur	MSK/MSD	1996 Mar 31  3:00s
+			 3:00	E-Eur	MSK/MSD	1996 Mar 31  0:00s
 			 3:00	1:00	MSD	1996 Oct 27  3:00s
 # IATA SSIM (1997-09) says Crimea switched to EET/EEST.
 # Assume it happened in March by not changing the clocks.
@@ -2522,7 +2537,7 @@
 # from current Russia Zone 6 - Krasnoyarsk Time Zone (KRA) UTC +0700
 # to Russia Zone 5 - Novosibirsk Time Zone (NOV) UTC +0600
 #
-# This is according to Government of Russia decree # 740, on September
+# This is according to Government of Russia decree No. 740, on September
 # 14, 2009 "Application in the territory of the Kemerovo region the Fifth
 # time zone." ("Russia Zone 5" or old "USSR Zone 5" is GMT +0600)
 #
@@ -2945,7 +2960,7 @@
 Zone	Atlantic/Canary	-1:01:36 -	LMT	1922 Mar # Las Palmas de Gran C.
 			-1:00	-	CANT	1946 Sep 30  1:00 # Canaries T
 			 0:00	-	WET	1980 Apr  6  0:00s
-			 0:00	1:00	WEST	1980 Sep 28  0:00s
+			 0:00	1:00	WEST	1980 Sep 28  1:00u
 			 0:00	EU	WE%sT
 # IATA SSIM (1996-09) says the Canaries switch at 2:00u, not 1:00u.
 # Ignore this for now, as the Canaries are part of the EU.
@@ -3235,7 +3250,7 @@
 # From Igor Karpov, who works for the Ukrainian Ministry of Justice,
 # via Garrett Wollman (2003-01-27):
 # BTW, I've found the official document on this matter. It's government
-# regulations number 509, May 13, 1996. In my poor translation it says:
+# regulations No. 509, May 13, 1996. In my poor translation it says:
 # "Time in Ukraine is set to second timezone (Kiev time). Each last Sunday
 # of March at 3am the time is changing to 4am and each last Sunday of
 # October the time at 4am is changing to 3am"
@@ -3244,7 +3259,7 @@
 # On September 20, 2011 the deputies of the Verkhovna Rada agreed to
 # abolish the transfer clock to winter time.
 #
-# Bill number 8330 of MP from the Party of Regions Oleg Nadoshi got
+# Bill No. 8330 of MP from the Party of Regions Oleg Nadoshi got
 # approval from 266 deputies.
 #
 # Ukraine abolishes transfer back to the winter time (in Russian)
--- a/jdk/test/sun/util/calendar/zi/tzdata/leapseconds	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/test/sun/util/calendar/zi/tzdata/leapseconds	Mon Aug 17 11:18:31 2015 -0700
@@ -79,5 +79,5 @@
 Leap	2012	Jun	30	23:59:60	+	S
 Leap	2015	Jun	30	23:59:60	+	S
 
-#	Updated through IERS Bulletin C49
-#	File expires on:  28 December 2015
+#	Updated through IERS Bulletin C50
+#	File expires on:  28 June 2016
--- a/jdk/test/sun/util/calendar/zi/tzdata/northamerica	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/test/sun/util/calendar/zi/tzdata/northamerica	Mon Aug 17 11:18:31 2015 -0700
@@ -1258,10 +1258,19 @@
 
 # west Labrador, Nova Scotia, Prince Edward I
 
-# From Paul Eggert (2006-03-22):
+# From Brian Inglis (2015-07-20):
+# From the historical weather station records available at:
+# https://weatherspark.com/history/28351/1971/Sydney-Nova-Scotia-Canada
+# Sydney shares the same time history as Glace Bay, so was
+# likely to be the same across the island....
+# Sydney, as the capital and most populous location, or Cape Breton, would
+# have been better names for the zone had we known this in 1996.
+
+# From Paul Eggert (2015-07-20):
 # Shanks & Pottenger write that since 1970 most of this region has been like
 # Halifax.  Many locales did not observe peacetime DST until 1972;
-# Glace Bay, NS is the largest that we know of.
+# the Cape Breton area, represented by Glace Bay, is the largest we know of
+# (Glace Bay was perhaps not the best name choice but no point changing now).
 # Shanks & Pottenger also write that Liverpool, NS was the only town
 # in Canada to observe DST in 1971 but not 1970; for now we'll assume
 # this is a typo.
@@ -1819,13 +1828,13 @@
 # Exact date in October unknown; Sunday October 1 is a reasonable guess.
 # 3. June 1918: switch to Pacific Daylight Time (GMT-7)
 # Exact date in June unknown; Sunday June 2 is a reasonable guess.
-# note#1:
+# note 1:
 # On Oct 27/1918 when daylight saving ended in the rest of Canada,
 # Creston did not change its clocks.
-# note#2:
+# note 2:
 # During WWII when the Federal Government legislated a mandatory clock change,
 # Creston did not oblige.
-# note#3:
+# note 3:
 # There is no guarantee that Creston will remain on Mountain Standard Time
 # (UTC-7) forever.
 # The subject was debated at least once this year by the town Council.
--- a/jdk/test/sun/util/calendar/zi/tzdata/southamerica	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/test/sun/util/calendar/zi/tzdata/southamerica	Mon Aug 17 11:18:31 2015 -0700
@@ -154,7 +154,7 @@
 # Timezone Law (which never was effectively applied) will (would?) be
 # in effect.... The article is at
 # http://ar.clarin.com/diario/2001-06-06/e-01701.htm
-# ... The Law itself is "Ley No 25155", sanctioned on 1999-08-25, enacted
+# ... The Law itself is "Ley No. 25155", sanctioned on 1999-08-25, enacted
 # 1999-09-17, and published 1999-09-21.  The official publication is at:
 # http://www.boletin.jus.gov.ar/BON/Primera/1999/09-Septiembre/21/PDF/BO21-09-99LEG.PDF
 # Regretfully, you have to subscribe (and pay) for the on-line version....
@@ -198,15 +198,11 @@
 # http://www.worldtimezone.com/dst_news/dst_news_argentina03.html
 # http://www.impulsobaires.com.ar/nota.php?id=57832 (in spanish)
 
-# From Rodrigo Severo (2008-10-06):
-# Here is some info available at a Gentoo bug related to TZ on Argentina's DST:
-# ...
-# ------- Comment #1 from [jmdocile]  2008-10-06 16:28 0000 -------
-# Hi, there is a problem with timezone-data-2008e and maybe with
-# timezone-data-2008f
-# Argentinian law [Number] 25.155 is no longer valid.
+# From Juan Manuel Docile in https://bugs.gentoo.org/240339 (2008-10-07)
+# via Rodrigo Severo:
+# Argentinian law No. 25.155 is no longer valid.
 # http://www.infoleg.gov.ar/infolegInternet/anexos/60000-64999/60036/norma.htm
-# The new one is law [Number] 26.350
+# The new one is law No. 26.350
 # http://www.infoleg.gov.ar/infolegInternet/anexos/135000-139999/136191/norma.htm
 # So there is no summer time in Argentina for now.
 
@@ -794,7 +790,7 @@
 #	 [ and in a second message (same day): ]
 # I found the decree.
 #
-# DECRETO No- 7.584, DE 13 DE OUTUBRO DE 2011
+# DECRETO No. 7.584, DE 13 DE OUTUBRO DE 2011
 # Link :
 # http://www.in.gov.br/visualiza/index.jsp?data=13/10/2011&jornal=1000&pagina=6&totalArquivos=6
 
@@ -1148,7 +1144,7 @@
 # Conflicts between [1] and [2] were resolved as follows:
 #
 #  - [1] says the 1910 transition was Jan 1, [2] says Jan 10 and cites
-#    Boletín Nº 1, Aviso Nº 1 (1910).  Go with [2].
+#    Boletín No. 1, Aviso No. 1 (1910).  Go with [2].
 #
 #  - [1] says SMT was -4:42:45, [2] says Chile's official time from
 #    1916 to 1919 was -4:42:46.3, the meridian of Chile's National
@@ -1156,7 +1152,7 @@
 #    Quinta Normal in Santiago.  Go with [2], rounding it to -4:42:46.
 #
 #  - [1] says the 1918 transition was Sep 1, [2] says Sep 10 and cites
-#    Boletín Nº 22, Aviso Nº 129/1918 (1918-08-23).  Go with [2].
+#    Boletín No. 22, Aviso No. 129/1918 (1918-08-23).  Go with [2].
 #
 #  - [1] does not give times for transitions; assume they occur
 #    at midnight mainland time, the current common practice.  However,
@@ -1556,7 +1552,7 @@
 # (1999-09) reports no date; go with above sources and Gerd Knops (2001-02-27).
 Rule	Para	1998	2001	-	Mar	Sun>=1	0:00	0	-
 # From Rives McDow (2002-02-28):
-# A decree was issued in Paraguay (no. 16350) on 2002-02-26 that changed the
+# A decree was issued in Paraguay (No. 16350) on 2002-02-26 that changed the
 # dst method to be from the first Sunday in September to the first Sunday in
 # April.
 Rule	Para	2002	2004	-	Apr	Sun>=1	0:00	0	-
@@ -1736,8 +1732,19 @@
 Rule	Uruguay	2006	only	-	Mar	12	 2:00	0	-
 # From Jesper Nørgaard Welen (2006-09-06):
 # http://www.presidencia.gub.uy/_web/decretos/2006/09/CM%20210_08%2006%202006_00001.PDF
-Rule	Uruguay	2006	max	-	Oct	Sun>=1	 2:00	1:00	S
-Rule	Uruguay	2007	max	-	Mar	Sun>=8	 2:00	0	-
+#
+# From Steffen Thorsen (2015-06-30):
+# ... it looks like they will not be using DST the coming summer:
+# http://www.elobservador.com.uy/gobierno-resolvio-que-no-habra-cambio-horario-verano-n656787
+# http://www.republica.com.uy/este-ano-no-se-modificara-el-huso-horario-en-uruguay/523760/
+# From Paul Eggert (2015-06-30):
+# Apparently restaurateurs complained that DST caused people to go to the beach
+# instead of out to dinner.
+# From Pablo Camargo (2015-07-13):
+# http://archivo.presidencia.gub.uy/sci/decretos/2015/06/cons_min_201.pdf
+# [dated 2015-06-29; repeals Decree 311/006 dated 2006-09-04]
+Rule	Uruguay	2006	2014	-	Oct	Sun>=1	 2:00	1:00	S
+Rule	Uruguay	2007	2015	-	Mar	Sun>=8	 2:00	0	-
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone America/Montevideo	-3:44:44 -	LMT	1898 Jun 28
 			-3:44:44 -	MMT	1920 May  1 # Montevideo MT
@@ -1746,6 +1753,10 @@
 
 # Venezuela
 #
+# From Paul Eggert (2015-07-28):
+# For the 1965 transition see Gaceta Oficial No. 27.619 (1964-12-15), p 205.533
+# http://www.pgr.gob.ve/dmdocuments/1964/27619.pdf
+#
 # From John Stainforth (2007-11-28):
 # ... the change for Venezuela originally expected for 2007-12-31 has
 # been brought forward to 2007-12-09.  The official announcement was
@@ -1757,6 +1768,6 @@
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	America/Caracas	-4:27:44 -	LMT	1890
 			-4:27:40 -	CMT	1912 Feb 12 # Caracas Mean Time?
-			-4:30	-	VET	1965        # Venezuela Time
+			-4:30	-	VET	1965 Jan  1  0:00 # Venezuela T.
 			-4:00	-	VET	2007 Dec  9  3:00
 			-4:30	-	VET
--- a/jdk/test/sun/util/calendar/zi/tzdata/zone.tab	Thu Aug 13 15:50:52 2015 -0700
+++ b/jdk/test/sun/util/calendar/zi/tzdata/zone.tab	Mon Aug 17 11:18:31 2015 -0700
@@ -129,8 +129,8 @@
 BY	+5354+02734	Europe/Minsk
 BZ	+1730-08812	America/Belize
 CA	+4734-05243	America/St_Johns	Newfoundland Time, including SE Labrador
-CA	+4439-06336	America/Halifax	Atlantic Time - Nova Scotia (most places), PEI
-CA	+4612-05957	America/Glace_Bay	Atlantic Time - Nova Scotia - places that did not observe DST 1966-1971
+CA	+4439-06336	America/Halifax	Atlantic Time - Nova Scotia (peninsula), PEI
+CA	+4612-05957	America/Glace_Bay	Atlantic Time - Nova Scotia (Cape Breton)
 CA	+4606-06447	America/Moncton	Atlantic Time - New Brunswick
 CA	+5320-06025	America/Goose_Bay	Atlantic Time - Labrador - most locations
 CA	+5125-05707	America/Blanc-Sablon	Atlantic Standard Time - Quebec - Lower North Shore
--- a/langtools/.hgtags	Thu Aug 13 15:50:52 2015 -0700
+++ b/langtools/.hgtags	Mon Aug 17 11:18:31 2015 -0700
@@ -319,3 +319,4 @@
 02681b7c4232ba5d43ccba794492db9502211ff0 jdk9-b74
 827915d1e55eac4f2e138f9b8c79d154862c2284 jdk9-b75
 80ab772222fb6b85f8174bf97261178ee4026620 jdk9-b76
+6ec3d5cb1bfcfba135c8d18866e567f1b1ada861 jdk9-b77
--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java	Mon Aug 17 11:18:31 2015 -0700
@@ -3686,10 +3686,6 @@
                                Env<AttrContext> env,
                                VarSymbol v,
                                boolean onlyWarning) {
-//          System.err.println(v + " " + ((v.flags() & STATIC) != 0) + " " +
-//                             tree.pos + " " + v.pos + " " +
-//                             Resolve.isStatic(env));//DEBUG
-
             // A forward reference is diagnosed if the declaration position
             // of the variable is greater than the current tree position
             // and the tree and variable definition occur in the same class
@@ -3697,14 +3693,15 @@
             // This check applies only to class and instance
             // variables.  Local variables follow different scope rules,
             // and are subject to definite assignment checking.
-            if ((env.info.enclVar == v || v.pos > tree.pos) &&
+            Env<AttrContext> initEnv = enclosingInitEnv(env);
+            if (initEnv != null &&
+                (initEnv.info.enclVar == v || v.pos > tree.pos) &&
                 v.owner.kind == TYP &&
-                enclosingInitEnv(env) != null &&
                 v.owner == env.info.scope.owner.enclClass() &&
                 ((v.flags() & STATIC) != 0) == Resolve.isStatic(env) &&
                 (!env.tree.hasTag(ASSIGN) ||
                  TreeInfo.skipParens(((JCAssign) env.tree).lhs) != tree)) {
-                String suffix = (env.info.enclVar == v) ?
+                String suffix = (initEnv.info.enclVar == v) ?
                                 "self.ref" : "forward.ref";
                 if (!onlyWarning || isStaticEnumField(v)) {
                     log.error(tree.pos(), "illegal." + suffix);
--- a/langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc/JavadocTool.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc/JavadocTool.java	Mon Aug 17 11:18:31 2015 -0700
@@ -31,9 +31,12 @@
 import java.util.EnumSet;
 import java.util.HashMap;
 import java.util.HashSet;
+import java.util.LinkedHashMap;
+import java.util.LinkedHashSet;
 import java.util.Map;
 import java.util.Set;
 
+import javax.tools.JavaFileManager;
 import javax.tools.JavaFileManager.Location;
 import javax.tools.JavaFileObject;
 import javax.tools.StandardJavaFileManager;
@@ -124,7 +127,7 @@
     public RootDocImpl getRootDocImpl(String doclocale,
                                       String encoding,
                                       ModifierFilter filter,
-                                      List<String> javaNames,
+                                      List<String> args,
                                       List<String[]> options,
                                       Iterable<? extends JavaFileObject> fileObjects,
                                       boolean breakiterator,
@@ -144,61 +147,79 @@
 
         javadocFinder.sourceCompleter = docClasses ? Completer.NULL_COMPLETER : sourceCompleter;
 
-        ListBuffer<String> names = new ListBuffer<>();
+        if (docClasses) {
+            // If -Xclasses is set, the args should be a series of class names
+            for (String arg: args) {
+                if (!isValidPackageName(arg)) // checks
+                    docenv.error(null, "main.illegal_class_name", arg);
+            }
+            if (messager.nerrors() != 0) {
+                return null;
+            }
+            return new RootDocImpl(docenv, args, options);
+        }
+
         ListBuffer<JCCompilationUnit> classTrees = new ListBuffer<>();
-        ListBuffer<JCCompilationUnit> packTrees = new ListBuffer<>();
+        Set<String> includedPackages = new LinkedHashSet<>();
 
         try {
             StandardJavaFileManager fm = docenv.fileManager instanceof StandardJavaFileManager
                     ? (StandardJavaFileManager) docenv.fileManager : null;
-            for (List<String> it = javaNames; it.nonEmpty(); it = it.tail) {
-                String name = it.head;
-                if (!docClasses && fm != null && name.endsWith(".java") && new File(name).exists()) {
-                    JavaFileObject fo = fm.getJavaFileObjects(name).iterator().next();
-                    parse(fo, classTrees, true);
-                } else if (isValidPackageName(name)) {
-                    names = names.append(name);
-                } else if (name.endsWith(".java")) {
+            Set<String> packageNames = new LinkedHashSet<>();
+            // Normally, the args should be a series of package names or file names.
+            // Parse the files and collect the package names.
+            for (String arg: args) {
+                if (fm != null && arg.endsWith(".java") && new File(arg).exists()) {
+                    parse(fm.getJavaFileObjects(arg), classTrees, true);
+                } else if (isValidPackageName(arg)) {
+                    packageNames.add(arg);
+                } else if (arg.endsWith(".java")) {
                     if (fm == null)
                         throw new IllegalArgumentException();
                     else
-                        docenv.error(null, "main.file_not_found", name);
+                        docenv.error(null, "main.file_not_found", arg);
                 } else {
-                    docenv.error(null, "main.illegal_package_name", name);
+                    docenv.error(null, "main.illegal_package_name", arg);
                 }
             }
-            for (JavaFileObject fo: fileObjects) {
-                parse(fo, classTrees, true);
-            }
 
-            if (!docClasses) {
-                // Recursively search given subpackages.  If any packages
-                //are found, add them to the list.
-                Map<String,List<JavaFileObject>> packageFiles =
-                        searchSubPackages(subPackages, names, excludedPackages);
+            // Parse file objects provide via the DocumentationTool API
+            parse(fileObjects, classTrees, true);
+
+            // Build up the complete list of any packages to be documented
+            Location location = docenv.fileManager.hasLocation(StandardLocation.SOURCE_PATH)
+                ? StandardLocation.SOURCE_PATH : StandardLocation.CLASS_PATH;
+
+            PackageTable t = new PackageTable(docenv.fileManager, location)
+                    .packages(packageNames)
+                    .subpackages(subPackages, excludedPackages);
+
+            includedPackages = t.getIncludedPackages();
 
-                // Parse the packages
-                for (List<String> packs = names.toList(); packs.nonEmpty(); packs = packs.tail) {
-                    // Parse sources ostensibly belonging to package.
-                    String packageName = packs.head;
-                    parsePackageClasses(packageName, packageFiles.get(packageName), packTrees, excludedPackages);
-                }
+            // Parse the files in the packages to be documented
+            ListBuffer<JCCompilationUnit> packageTrees = new ListBuffer<>();
+            for (String packageName: includedPackages) {
+                List<JavaFileObject> files = t.getFiles(packageName);
+                docenv.notice("main.Loading_source_files_for_package", packageName);
 
-                if (messager.nerrors() != 0) return null;
+                if (files.isEmpty())
+                    messager.warning(Messager.NOPOS, "main.no_source_files_for_package", packageName);
+                parse(files, packageTrees, false);
+            }
 
-                // Enter symbols for all files
-                docenv.notice("main.Building_tree");
-                javadocEnter.main(classTrees.toList().appendList(packTrees.toList()));
+            if (messager.nerrors() != 0) {
+                return null;
             }
+
+            // Enter symbols for all files
+            docenv.notice("main.Building_tree");
+            javadocEnter.main(classTrees.toList().appendList(packageTrees.toList()));
         } catch (Abort ex) {}
 
         if (messager.nerrors() != 0)
             return null;
 
-        if (docClasses)
-            return new RootDocImpl(docenv, javaNames, options);
-        else
-            return new RootDocImpl(docenv, listClasses(classTrees.toList()), names.toList(), options);
+        return new RootDocImpl(docenv, listClasses(classTrees.toList()), List.from(includedPackages), options);
     }
 
     /** Is the given string a valid package name? */
@@ -211,185 +232,17 @@
         return isValidClassName(s);
     }
 
-    /**
-     * search all directories in path for subdirectory name. Add all
-     * .java files found in such a directory to args.
-     */
-    private void parsePackageClasses(String name,
-            List<JavaFileObject> files,
-            ListBuffer<JCCompilationUnit> trees,
-            List<String> excludedPackages)
-            throws IOException {
-        if (excludedPackages.contains(name)) {
-            return;
-        }
-
-        docenv.notice("main.Loading_source_files_for_package", name);
-
-        if (files == null) {
-            Location location = docenv.fileManager.hasLocation(StandardLocation.SOURCE_PATH)
-                    ? StandardLocation.SOURCE_PATH : StandardLocation.CLASS_PATH;
-            ListBuffer<JavaFileObject> lb = new ListBuffer<>();
-            for (JavaFileObject fo: docenv.fileManager.list(
-                    location, name, EnumSet.of(JavaFileObject.Kind.SOURCE), false)) {
-                String binaryName = docenv.fileManager.inferBinaryName(location, fo);
-                String simpleName = getSimpleName(binaryName);
-                if (isValidClassName(simpleName)) {
-                    lb.append(fo);
-                }
-            }
-            files = lb.toList();
-        }
-        if (files.nonEmpty()) {
-            for (JavaFileObject fo : files) {
-                parse(fo, trees, false);
-            }
-        } else {
-            messager.warning(Messager.NOPOS, "main.no_source_files_for_package",
-                             name.replace(File.separatorChar, '.'));
-        }
-    }
-
-    private void parse(JavaFileObject fo, ListBuffer<JCCompilationUnit> trees,
+    private void parse(Iterable<? extends JavaFileObject> files, ListBuffer<JCCompilationUnit> trees,
                        boolean trace) {
-        if (uniquefiles.add(fo)) { // ignore duplicates
-            if (trace)
-                docenv.notice("main.Loading_source_file", fo.getName());
-            trees.append(parse(fo));
-        }
-    }
-
-    /**
-     * Recursively search all directories in path for subdirectory name.
-     * Add all packages found in such a directory to packages list.
-     */
-    private Map<String,List<JavaFileObject>> searchSubPackages(
-            List<String> subPackages,
-            ListBuffer<String> packages,
-            List<String> excludedPackages)
-            throws IOException {
-        Map<String,List<JavaFileObject>> packageFiles = new HashMap<>();
-
-        Map<String,Boolean> includedPackages = new HashMap<>();
-        includedPackages.put("", true);
-        for (String p: excludedPackages)
-            includedPackages.put(p, false);
-
-        StandardLocation path = docenv.fileManager.hasLocation(StandardLocation.SOURCE_PATH)
-                ? StandardLocation.SOURCE_PATH : StandardLocation.CLASS_PATH;
-
-        searchSubPackages(subPackages,
-                includedPackages,
-                packages, packageFiles,
-                path,
-                EnumSet.of(JavaFileObject.Kind.SOURCE));
-
-        return packageFiles;
-    }
-
-    private void searchSubPackages(List<String> subPackages,
-            Map<String,Boolean> includedPackages,
-            ListBuffer<String> packages,
-            Map<String, List<JavaFileObject>> packageFiles,
-            StandardLocation location, Set<JavaFileObject.Kind> kinds)
-            throws IOException {
-        for (String subPackage: subPackages) {
-            if (!isIncluded(subPackage, includedPackages))
-                continue;
-
-            for (JavaFileObject fo: docenv.fileManager.list(location, subPackage, kinds, true)) {
-                String binaryName = docenv.fileManager.inferBinaryName(location, fo);
-                String packageName = getPackageName(binaryName);
-                String simpleName = getSimpleName(binaryName);
-                if (isIncluded(packageName, includedPackages) && isValidClassName(simpleName)) {
-                    List<JavaFileObject> list = packageFiles.get(packageName);
-                    list = (list == null ? List.of(fo) : list.prepend(fo));
-                    packageFiles.put(packageName, list);
-                    if (!packages.contains(packageName))
-                        packages.add(packageName);
-                }
+        for (JavaFileObject fo: files) {
+            if (uniquefiles.add(fo)) { // ignore duplicates
+                if (trace)
+                    docenv.notice("main.Loading_source_file", fo.getName());
+                trees.append(parse(fo));
             }
         }
     }
 
-    private String getPackageName(String name) {
-        int lastDot = name.lastIndexOf(".");
-        return (lastDot == -1 ? "" : name.substring(0, lastDot));
-    }
-
-    private String getSimpleName(String name) {
-        int lastDot = name.lastIndexOf(".");
-        return (lastDot == -1 ? name : name.substring(lastDot + 1));
-    }
-
-    private boolean isIncluded(String packageName, Map<String,Boolean> includedPackages) {
-        Boolean b = includedPackages.get(packageName);
-        if (b == null) {
-            b = isIncluded(getPackageName(packageName), includedPackages);
-            includedPackages.put(packageName, b);
-        }
-        return b;
-    }
-
-    /**
-     * Recursively search all directories in path for subdirectory name.
-     * Add all packages found in such a directory to packages list.
-     */
-    private void searchSubPackage(String packageName,
-                                  ListBuffer<String> packages,
-                                  List<String> excludedPackages,
-                                  Collection<File> pathnames) {
-        if (excludedPackages.contains(packageName))
-            return;
-
-        String packageFilename = packageName.replace('.', File.separatorChar);
-        boolean addedPackage = false;
-        for (File pathname : pathnames) {
-            File f = new File(pathname, packageFilename);
-            String filenames[] = f.list();
-            // if filenames not null, then found directory
-            if (filenames != null) {
-                for (String filename : filenames) {
-                    if (!addedPackage
-                            && (isValidJavaSourceFile(filename) ||
-                                isValidJavaClassFile(filename))
-                            && !packages.contains(packageName)) {
-                        packages.append(packageName);
-                        addedPackage = true;
-                    } else if (isValidClassName(filename) &&
-                               (new File(f, filename)).isDirectory()) {
-                        searchSubPackage(packageName + "." + filename,
-                                         packages, excludedPackages, pathnames);
-                    }
-                }
-            }
-        }
-    }
-
-    /**
-     * Return true if given file name is a valid class file name.
-     * @param file the name of the file to check.
-     * @return true if given file name is a valid class file name
-     * and false otherwise.
-     */
-    private static boolean isValidJavaClassFile(String file) {
-        if (!file.endsWith(".class")) return false;
-        String clazzName = file.substring(0, file.length() - ".class".length());
-        return isValidClassName(clazzName);
-    }
-
-    /**
-     * Return true if given file name is a valid Java source file name.
-     * @param file the name of the file to check.
-     * @return true if given file name is a valid Java source file name
-     * and false otherwise.
-     */
-    private static boolean isValidJavaSourceFile(String file) {
-        if (!file.endsWith(".java")) return false;
-        String clazzName = file.substring(0, file.length() - ".java".length());
-        return isValidClassName(clazzName);
-    }
-
     /** Are surrogates supported?
      */
     final static boolean surrogatesSupported = surrogatesSupported();
@@ -445,4 +298,118 @@
         return result.toList();
     }
 
+    /**
+     * A table to manage included and excluded packages.
+     */
+    static class PackageTable {
+        private final Map<String, Entry> entries = new LinkedHashMap<>();
+        private final Set<String> includedPackages = new LinkedHashSet<>();
+        private final JavaFileManager fm;
+        private final Location location;
+        private final Set<JavaFileObject.Kind> sourceKinds = EnumSet.of(JavaFileObject.Kind.SOURCE);
+
+        /**
+         * Creates a table to manage included and excluded packages.
+         * @param fm The file manager used to locate source files
+         * @param locn the location used to locate source files
+         */
+        PackageTable(JavaFileManager fm, Location locn) {
+            this.fm = fm;
+            this.location = locn;
+            getEntry("").excluded = false;
+        }
+
+        PackageTable packages(Collection<String> packageNames) {
+            includedPackages.addAll(packageNames);
+            return this;
+        }
+
+        PackageTable subpackages(Collection<String> packageNames, Collection<String> excludePackageNames)
+                throws IOException {
+            for (String p: excludePackageNames) {
+                getEntry(p).excluded = true;
+            }
+
+            for (String packageName: packageNames) {
+                for (JavaFileObject fo: fm.list(location, packageName, sourceKinds, true)) {
+                    String binaryName = fm.inferBinaryName(location, fo);
+                    String pn = getPackageName(binaryName);
+                    String simpleName = getSimpleName(binaryName);
+                    Entry e = getEntry(pn);
+                    if (!e.isExcluded() && isValidClassName(simpleName)) {
+                        includedPackages.add(pn);
+                        e.files = (e.files == null ? List.of(fo) : e.files.prepend(fo));
+                    }
+                }
+            }
+            return this;
+        }
+
+        /**
+         * Returns the aggregate set of included packages.
+         * @return the aggregate set of included packages
+         */
+        Set<String> getIncludedPackages() {
+            return includedPackages;
+        }
+
+        /**
+         * Returns the set of source files for a package.
+         * @param packageName the specified package
+         * @return the set of file objects for the specified package
+         * @throws IOException if an error occurs while accessing the files
+         */
+        List<JavaFileObject> getFiles(String packageName) throws IOException {
+            Entry e = getEntry(packageName);
+            // The files may have been found as a side effect of searching for subpackages
+            if (e.files != null)
+                return e.files;
+
+            ListBuffer<JavaFileObject> lb = new ListBuffer<>();
+            for (JavaFileObject fo: fm.list(location, packageName, sourceKinds, false)) {
+                String binaryName = fm.inferBinaryName(location, fo);
+                String simpleName = getSimpleName(binaryName);
+                if (isValidClassName(simpleName)) {
+                    lb.append(fo);
+                }
+            }
+
+            return lb.toList();
+        }
+
+
+        private Entry getEntry(String name) {
+            Entry e = entries.get(name);
+            if (e == null)
+                entries.put(name, e = new Entry(name));
+            return e;
+        }
+
+        private String getPackageName(String name) {
+            int lastDot = name.lastIndexOf(".");
+            return (lastDot == -1 ? "" : name.substring(0, lastDot));
+        }
+
+        private String getSimpleName(String name) {
+            int lastDot = name.lastIndexOf(".");
+            return (lastDot == -1 ? name : name.substring(lastDot + 1));
+        }
+
+        class Entry {
+            final String name;
+            Boolean excluded;
+            List<JavaFileObject> files;
+
+            Entry(String name) {
+                this.name = name;
+            }
+
+            boolean isExcluded() {
+                if (excluded == null)
+                    excluded = getEntry(getPackageName(name)).isExcluded();
+                return excluded;
+            }
+        }
+    }
+
 }
--- a/langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc/resources/javadoc.properties	Thu Aug 13 15:50:52 2015 -0700
+++ b/langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc/resources/javadoc.properties	Mon Aug 17 11:18:31 2015 -0700
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 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
@@ -91,6 +91,7 @@
 main.illegal_locale_name=Locale not available: {0}
 main.malformed_locale_name=Malformed locale name: {0}
 main.file_not_found=File not found: "{0}"
+main.illegal_class_name=Illegal class name: "{0}"
 main.illegal_package_name=Illegal package name: "{0}"
 main.release.bootclasspath.conflict=option {0} cannot be used together with -release
 main.unsupported.release.version=release version {0} not supported
--- a/langtools/test/tools/javac/lambda/T8024809/SelfInitializerInLambdaTesta.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-/*
- * Copyright (c) 2013, 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.
- */
-
-/*
- * @test
- * @bug 8024809
- * @summary javac, some lambda programs are rejected by flow analysis
- * @compile/fail/ref=SelfInitializerInLambdaTesta.out -XDrawDiagnostics SelfInitializerInLambdaTesta.java
- */
-
-public class SelfInitializerInLambdaTesta {
-
-    final Runnable r1 = ()->System.out.println(r1);
-
-    final Object lock = new Object();
-
-    final Runnable r2 = ()->{
-        System.out.println(r2);
-        synchronized (lock){}
-    };
-
-    final Runnable r3 = ()->{
-        synchronized (lock){
-            System.out.println(r3);
-        }
-    };
-
-    final Runnable r4 = ()->{
-        System.out.println(r4);
-    };
-
-    interface SAM {
-        int m(String s);
-    }
-
-    final SAM s1 = (String s)->{
-        System.out.println(s + s1.toString());
-        return 0;
-    };
-
-    final SAM s2 = (s)->{
-        System.out.println(s + s2.toString());
-        return 0;
-    };
-}
--- a/langtools/test/tools/javac/lambda/T8024809/SelfInitializerInLambdaTesta.out	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-SelfInitializerInLambdaTesta.java:33:48: compiler.err.illegal.self.ref
-SelfInitializerInLambdaTesta.java:38:28: compiler.err.illegal.self.ref
-SelfInitializerInLambdaTesta.java:44:32: compiler.err.illegal.self.ref
-SelfInitializerInLambdaTesta.java:49:28: compiler.err.illegal.self.ref
-SelfInitializerInLambdaTesta.java:57:32: compiler.err.illegal.self.ref
-SelfInitializerInLambdaTesta.java:62:32: compiler.err.illegal.self.ref
-6 errors
--- a/langtools/test/tools/javac/lambda/T8024809/SelfInitializerInLambdaTestb.java	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2013, 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.
- */
-
-/*
- * @test
- * @bug 8024809
- * @summary javac, some lambda programs are rejected by flow analysis
- * @compile/fail/ref=SelfInitializerInLambdaTestb.out -XDrawDiagnostics SelfInitializerInLambdaTestb.java
- */
-
-public class SelfInitializerInLambdaTestb {
-
-    final Runnable r1;
-
-    final Runnable r2 = ()-> System.out.println(r1);
-
-    SelfInitializerInLambdaTestb() {
-        r1 = ()->System.out.println(r1);
-    }
-}
--- a/langtools/test/tools/javac/lambda/T8024809/SelfInitializerInLambdaTestb.out	Thu Aug 13 15:50:52 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-SelfInitializerInLambdaTestb.java:35:49: compiler.err.var.might.not.have.been.initialized: r1
-SelfInitializerInLambdaTestb.java:38:37: compiler.err.var.might.not.have.been.initialized: r1
-2 errors
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/langtools/test/tools/javac/lambda/self_initializer/T8024809/SelfInitializerInLambdaTesta.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,42 @@
+/*
+ * @test /nodynamiccopyright/
+ * @bug 8024809
+ * @summary javac, some lambda programs are rejected by flow analysis
+ * @compile/fail/ref=SelfInitializerInLambdaTesta.out -XDrawDiagnostics SelfInitializerInLambdaTesta.java
+ */
+
+public class SelfInitializerInLambdaTesta {
+
+    final Runnable r1 = ()->System.out.println(r1);
+
+    final Object lock = new Object();
+
+    final Runnable r2 = ()->{
+        System.out.println(r2);
+        synchronized (lock){}
+    };
+
+    final Runnable r3 = ()->{
+        synchronized (lock){
+            System.out.println(r3);
+        }
+    };
+
+    final Runnable r4 = ()->{
+        System.out.println(r4);
+    };
+
+    interface SAM {
+        int m(String s);
+    }
+
+    final SAM s1 = (String s)->{
+        System.out.println(s + s1.toString());
+        return 0;
+    };
+
+    final SAM s2 = (s)->{
+        System.out.println(s + s2.toString());
+        return 0;
+    };
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/langtools/test/tools/javac/lambda/self_initializer/T8024809/SelfInitializerInLambdaTesta.out	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,7 @@
+SelfInitializerInLambdaTesta.java:10:48: compiler.err.illegal.self.ref
+SelfInitializerInLambdaTesta.java:15:28: compiler.err.illegal.self.ref
+SelfInitializerInLambdaTesta.java:21:32: compiler.err.illegal.self.ref
+SelfInitializerInLambdaTesta.java:26:28: compiler.err.illegal.self.ref
+SelfInitializerInLambdaTesta.java:34:32: compiler.err.illegal.self.ref
+SelfInitializerInLambdaTesta.java:39:32: compiler.err.illegal.self.ref
+6 errors
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/langtools/test/tools/javac/lambda/self_initializer/T8024809/SelfInitializerInLambdaTestb.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,17 @@
+/*
+ * @test /nodynamiccopyright/
+ * @bug 8024809
+ * @summary javac, some lambda programs are rejected by flow analysis
+ * @compile/fail/ref=SelfInitializerInLambdaTestb.out -XDrawDiagnostics SelfInitializerInLambdaTestb.java
+ */
+
+public class SelfInitializerInLambdaTestb {
+
+    final Runnable r1;
+
+    final Runnable r2 = ()-> System.out.println(r1);
+
+    SelfInitializerInLambdaTestb() {
+        r1 = ()->System.out.println(r1);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/langtools/test/tools/javac/lambda/self_initializer/T8024809/SelfInitializerInLambdaTestb.out	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,3 @@
+SelfInitializerInLambdaTestb.java:12:49: compiler.err.var.might.not.have.been.initialized: r1
+SelfInitializerInLambdaTestb.java:15:37: compiler.err.var.might.not.have.been.initialized: r1
+2 errors
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/langtools/test/tools/javac/lambda/self_initializer/T8053906/SelfInitializerInLambdaTestc.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,26 @@
+/*
+ * @test /nodynamiccopyright/
+ * @bug 8053906
+ * @summary javac, some lambda programs are rejected by flow analysis
+ * @compile/fail/ref=SelfInitializerInLambdaTestc.out -XDrawDiagnostics SelfInitializerInLambdaTestc.java
+ */
+
+public class SelfInitializerInLambdaTestc {
+    interface SAM {
+        void foo();
+    }
+
+    final SAM notInitialized = ()-> {
+        SAM simpleVariable = () -> notInitialized.foo();
+    };
+
+    final SAM notInitialized2 = ()-> {
+        SAM simpleVariable1 = () -> {
+            SAM simpleVariable2 = () -> {
+                SAM simpleVariable3 = () -> {
+                    SAM simpleVariable4 = () -> notInitialized2.foo();
+                };
+            };
+        };
+    };
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/langtools/test/tools/javac/lambda/self_initializer/T8053906/SelfInitializerInLambdaTestc.out	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,3 @@
+SelfInitializerInLambdaTestc.java:14:36: compiler.err.illegal.self.ref
+SelfInitializerInLambdaTestc.java:21:49: compiler.err.illegal.self.ref
+2 errors
--- a/make/CompileJavaModules.gmk	Thu Aug 13 15:50:52 2015 -0700
+++ b/make/CompileJavaModules.gmk	Mon Aug 17 11:18:31 2015 -0700
@@ -491,6 +491,7 @@
     $(CORBA_TOPDIR)/src/$1/share/classes \
     $(JAXP_TOPDIR)/src/$1/share/classes \
     $(JAXWS_TOPDIR)/src/$1/share/classes \
+    $(NASHORN_TOPDIR)/src/$1/share/classes \
     #
 
 ALL_SRC_DIRS = \
@@ -512,8 +513,8 @@
 JDK_USER_DEFINED_FILTER := $(strip $(subst $(COMMA),$(SPACE), $(JDK_FILTER)))
 
 # Create an empty directory to set the bootclasspath to.
-EMPTY_BOOTCLASSPATH := $(SUPPORT_OUTPUTDIR)/empty-dir
-$(call MakeDir, $(EMPTY_BOOTCLASSPATH))
+EMPTY_DIR := $(SUPPORT_OUTPUTDIR)/empty-dir
+$(call MakeDir, $(EMPTY_DIR))
 
 # This macro sets up compilation of a module and declares dependencies for it.
 # Param 1 - module name
@@ -534,7 +535,7 @@
     $1_CLASSPATH := $$($1_CLASSPATH) $$(addprefix $(JDK_OUTPUTDIR)/modules/,jdk.hotspot.agent)
   endif
   $1_CLASSPATH := $$(subst $$(SPACE),$$(PATH_SEP),$$($1_CLASSPATH))
-  $1_JAVAC_FLAGS := -bootclasspath $(EMPTY_BOOTCLASSPATH) -classpath "$$($1_CLASSPATH)" $$($1_ADD_JAVAC_FLAGS)
+  $1_JAVAC_FLAGS := -bootclasspath $(EMPTY_DIR) -extdirs $(EMPTY_DIR) -endorseddirs $(EMPTY_DIR) -classpath "$$($1_CLASSPATH)" $$($1_ADD_JAVAC_FLAGS)
 
   $$(eval $$(call SetupJavaCompilation,$1, \
       SETUP := $$(if $$($1_SETUP), $$($1_SETUP), GENERATE_JDKBYTECODE), \
--- a/make/Images.gmk	Thu Aug 13 15:50:52 2015 -0700
+++ b/make/Images.gmk	Mon Aug 17 11:18:31 2015 -0700
@@ -46,9 +46,9 @@
                jdk.naming.dns jdk.naming.rmi jdk.scripting.nashorn jdk.zipfs
 
 # tools
-TOOLS_MODULES += jdk.attach jdk.compiler jdk.dev jdk.internal.le jdk.javadoc jdk.jcmd jdk.jconsole \
-               jdk.hotspot.agent jdk.hprof.agent jdk.jartool jdk.jdeps jdk.jdi jdk.jdwp.agent \
-               jdk.policytool jdk.rmic jdk.xml.bind jdk.xml.ws
+TOOLS_MODULES += jdk.attach jdk.compiler jdk.dev jdk.internal.le jdk.scripting.nashorn.shell \
+               jdk.javadoc jdk.jcmd jdk.jconsole jdk.hotspot.agent jdk.hprof.agent jdk.jartool \
+               jdk.jdeps jdk.jdi jdk.jdwp.agent jdk.policytool jdk.rmic jdk.xml.bind jdk.xml.ws
 
 ifeq ($(OPENJDK_TARGET_OS), windows)
   PROVIDER_MODULES += jdk.crypto.mscapi
--- a/modules.xml	Thu Aug 13 15:50:52 2015 -0700
+++ b/modules.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -1799,6 +1799,25 @@
     <depend>java.base</depend>
     <depend>java.logging</depend>
     <depend>java.scripting</depend>
+    <export>
+      <name>jdk.nashorn.internal.runtime</name>
+      <to>jdk.scripting.nashorn.shell</to>
+    </export>
+    <export>
+      <name>jdk.nashorn.internal.objects</name>
+      <to>jdk.scripting.nashorn.shell</to>
+    </export>
+    <export>
+      <name>jdk.nashorn.tools</name>
+      <to>jdk.scripting.nashorn.shell</to>
+    </export>
+  </module>
+  <module>
+    <name>jdk.scripting.nashorn.shell</name>
+    <depend>java.base</depend>
+    <depend>java.prefs</depend>
+    <depend>jdk.scripting.nashorn</depend>
+    <depend>jdk.internal.le</depend>
   </module>
   <module>
     <name>jdk.sctp</name>
--- a/nashorn/.hgtags	Thu Aug 13 15:50:52 2015 -0700
+++ b/nashorn/.hgtags	Mon Aug 17 11:18:31 2015 -0700
@@ -310,3 +310,4 @@
 2e8bb16872d7b15dc0a4f8e45c6ad65f762c1b04 jdk9-b74
 f884dff432a7ac349153f3d1ea1eb222f3764c6c jdk9-b75
 ab231613d7206431ba31917a02e7cedd70e88e70 jdk9-b76
+33cecbc59f2ad78ac0934cbc3e014d346077e848 jdk9-b77
--- a/nashorn/make/BuildNashorn.gmk	Thu Aug 13 15:50:52 2015 -0700
+++ b/nashorn/make/BuildNashorn.gmk	Mon Aug 17 11:18:31 2015 -0700
@@ -53,7 +53,10 @@
     SERVER_JVM := $(SJAVAC_SERVER_JAVA)))
 
 # Build nashorn into intermediate directory
-$(eval $(call SetupJavaCompilation,BUILD_NASHORN, \
+# Name the compilation setup the same as the module, as is done in the global
+# CompileJavaModules.gmk, to make dependency checking with other modules work
+# seamlessly.
+$(eval $(call SetupJavaCompilation,jdk.scripting.nashorn, \
     SETUP := GENERATE_NEWBYTECODE_DEBUG, \
     SRC := $(NASHORN_TOPDIR)/src/jdk.scripting.nashorn/share/classes, \
     EXCLUDE_FILES := META-INF/MANIFEST.MF, \
@@ -71,7 +74,7 @@
     ADD_JAVAC_FLAGS := -Xbootclasspath/p:"$(SUPPORT_OUTPUTDIR)/special_classes/jdk.scripting.nashorn/classes"))
 
 # Nasgen needs nashorn classes
-$(BUILD_NASGEN): $(BUILD_NASHORN)
+$(BUILD_NASGEN): $(jdk.scripting.nashorn)
 
 NASHORN_CLASSES_DIR := $(JDK_OUTPUTDIR)/modules/jdk.scripting.nashorn
 NASGEN_RUN_FILE := $(NASHORN_CLASSES_DIR)/_the.nasgen.run
--- a/nashorn/make/build.xml	Thu Aug 13 15:50:52 2015 -0700
+++ b/nashorn/make/build.xml	Mon Aug 17 11:18:31 2015 -0700
@@ -147,16 +147,16 @@
        <fileset dir="${meta.inf.dir}/services/"/>
     </copy>
      <copy todir="${build.classes.dir}/jdk/nashorn/api/scripting/resources">
-       <fileset dir="${src.dir}/jdk/nashorn/api/scripting/resources/"/>
+       <fileset dir="${nashorn.module.src.dir}/jdk/nashorn/api/scripting/resources/"/>
     </copy>
     <copy todir="${build.classes.dir}/jdk/nashorn/internal/runtime/resources">
-       <fileset dir="${src.dir}/jdk/nashorn/internal/runtime/resources/"/>
+       <fileset dir="${nashorn.module.src.dir}/jdk/nashorn/internal/runtime/resources/"/>
     </copy>
     <copy todir="${build.classes.dir}/jdk/nashorn/tools/resources">
-       <fileset dir="${src.dir}/jdk/nashorn/tools/resources/"/>
+       <fileset dir="${nashorn.module.src.dir}/jdk/nashorn/tools/resources/"/>
     </copy>
-    <copy file="${src.dir}/jdk/internal/dynalink/support/messages.properties" todir="${build.classes.dir}/jdk/internal/dynalink/support"/>
-    <copy file="${src.dir}/jdk/nashorn/internal/codegen/anchor.properties" todir="${build.classes.dir}/jdk/nashorn/internal/codegen"/>
+    <copy file="${nashorn.module.src.dir}/jdk/internal/dynalink/support/messages.properties" todir="${build.classes.dir}/jdk/internal/dynalink/support"/>
+    <copy file="${nashorn.module.src.dir}/jdk/nashorn/internal/codegen/anchor.properties" todir="${build.classes.dir}/jdk/nashorn/internal/codegen"/>
 
     <echo message="full=${nashorn.fullversion}" file="${build.classes.dir}/jdk/nashorn/internal/runtime/resources/version.properties"/>
     <echo file="${build.classes.dir}/jdk/nashorn/internal/runtime/resources/version.properties" append="true">${line.separator}</echo>
@@ -165,7 +165,14 @@
 
   <target name="jar" depends="compile, run-nasgen, generate-cc-template" description="Creates nashorn.jar" unless="compile.suppress.jar">
     <jar jarfile="${dist.jar}" manifest="${meta.inf.dir}/MANIFEST.MF" index="true" filesetmanifest="merge">
-      <fileset dir="${build.classes.dir}"/>
+      <!-- 
+        Exclude jjs classes from nashorn.jar to avoid desktop dependency.
+        We have a test to make sure basic nashorn code has only "compact1"
+        dependency - except for jjs shell code which has desktop dependency.
+      -->
+      <fileset dir="${build.classes.dir}">
+          <exclude name="**/jdk/nashorn/tools/jjs/*"/>
+      </fileset>
       <manifest>
         <attribute name="Archiver-Version" value="n/a"/>
         <attribute name="Build-Jdk" value="${java.runtime.version}"/>
@@ -230,13 +237,14 @@
 
   <!-- generate javadoc for Nashorn classes -->
   <target name="javadocnh" depends="jar">
-    <javadoc destdir="${dist.javadoc.dir}" use="yes" overview="${src.dir}/overview.html"
+    <javadoc destdir="${dist.javadoc.dir}" use="yes" overview="${nashorn.module.src.dir}/overview.html"
         extdirs="${nashorn.ext.path}" windowtitle="${nashorn.product.name} ${nashorn.version}"
         additionalparam="-quiet" failonerror="true" useexternalfile="true">
       <classpath>
         <pathelement location="${build.classes.dir}"/>
       </classpath>
-      <fileset dir="${src.dir}" includes="**/*.java"/>
+      <fileset dir="${nashorn.module.src.dir}" includes="**/*.java"/>
+      <fileset dir="${nashorn.shell.module.src.dir}" includes="**/*.java"/>
       <link href="http://docs.oracle.com/javase/8/docs/api/"/>
     </javadoc>
   </target>
--- a/nashorn/make/project.properties	Thu Aug 13 15:50:52 2015 -0700
+++ b/nashorn/make/project.properties	Mon Aug 17 11:18:31 2015 -0700
@@ -26,6 +26,9 @@
 # location of JDK embedded ASM sources
 jdk.asm.src.dir=../jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm
 
+# location of JDK embedded jline sources
+jdk.jline.src.dir=../jdk/src/jdk.internal.le/share/classes
+
 # source and target levels
 build.compiler=modern
 javac.source=1.8
@@ -112,7 +115,7 @@
     ${build.test.classes.dir}${path.separator}\
     ${file.reference.testng.jar}
 
-meta.inf.dir=${src.dir}/META-INF
+meta.inf.dir=${nashorn.module.src.dir}/META-INF
 
 run.classpath=\
     ${build.classes.dir}
@@ -266,7 +269,13 @@
     ${nashorn.internal.tests.jar}${path.separator}\
     ${nashorn.api.tests.jar}
 
-src.dir=src/jdk.scripting.nashorn/share/classes
+nashorn.module.src.dir=src/jdk.scripting.nashorn/share/classes
+nashorn.shell.module.src.dir=src/jdk.scripting.nashorn.shell/share/classes
+
+src.dir=${nashorn.module.src.dir}${path.separator}\
+        ${nashorn.shell.module.src.dir}${path.separator}\
+        ${jdk.jline.src.dir}
+
 test.src.dir=test/src
 
 # -Xmx is used for all tests, -Xms only for octane benchmark
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nashorn/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Console.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,103 @@
+/*
+ * Copyright (c) 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.  Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * 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 jdk.nashorn.tools.jjs;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.PrintStream;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.Iterator;
+import java.util.List;
+import java.util.prefs.BackingStoreException;
+import java.util.prefs.Preferences;
+import jdk.internal.jline.console.ConsoleReader;
+import jdk.internal.jline.console.history.History.Entry;
+import jdk.internal.jline.console.history.MemoryHistory;
+
+class Console implements AutoCloseable {
+    private final ConsoleReader in;
+    private final PersistentHistory history;
+
+    Console(InputStream cmdin, PrintStream cmdout, Preferences prefs) throws IOException {
+        in = new ConsoleReader(cmdin, cmdout);
+        in.setExpandEvents(false);
+        in.setHandleUserInterrupt(true);
+        in.setHistory(history = new PersistentHistory(prefs));
+        Runtime.getRuntime().addShutdownHook(new Thread(()->close()));
+    }
+
+    String readLine(String prompt) throws IOException {
+        return in.readLine(prompt);
+    }
+
+
+    @Override
+    public void close() {
+        history.save();
+    }
+
+    public static class PersistentHistory extends MemoryHistory {
+
+        private final Preferences prefs;
+
+        protected PersistentHistory(Preferences prefs) {
+            this.prefs = prefs;
+            load();
+        }
+
+        private static final String HISTORY_LINE_PREFIX = "HISTORY_LINE_";
+
+        public final void load() {
+            try {
+                List<String> keys = new ArrayList<>(Arrays.asList(prefs.keys()));
+                Collections.sort(keys);
+                for (String key : keys) {
+                    if (!key.startsWith(HISTORY_LINE_PREFIX))
+                        continue;
+                    CharSequence line = prefs.get(key, "");
+                    add(line);
+                }
+            } catch (BackingStoreException ex) {
+                throw new IllegalStateException(ex);
+            }
+        }
+
+        public void save() {
+            Iterator<Entry> entries = iterator();
+            if (entries.hasNext()) {
+                int len = (int) Math.ceil(Math.log10(size()+1));
+                String format = HISTORY_LINE_PREFIX + "%0" + len + "d";
+                while (entries.hasNext()) {
+                    Entry entry = entries.next();
+                    prefs.put(String.format(format, entry.index()), entry.value().toString());
+                }
+            }
+        }
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nashorn/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Main.java	Mon Aug 17 11:18:31 2015 -0700
@@ -0,0 +1,150 @@
+/*
+ * Copyright (c) 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.  Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * 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 jdk.nashorn.tools.jjs;
+
+import java.io.BufferedReader;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.io.PrintWriter;
+import java.util.prefs.Preferences;
+import jdk.nashorn.internal.objects.Global;
+import jdk.nashorn.internal.runtime.Context;
+import jdk.nashorn.internal.runtime.ErrorManager;
+import jdk.nashorn.internal.runtime.JSType;
+import jdk.nashorn.internal.runtime.ScriptEnvironment;
+import jdk.nashorn.internal.runtime.ScriptRuntime;
+import jdk.nashorn.tools.Shell;
+import jdk.internal.jline.console.UserInterruptException;
+
+/**
+ * Interactive command line Shell for Nashorn.
+ */
+public final class Main extends Shell {
+    private Main() {}
+
+    static final Preferences PREFS = Preferences.userRoot().node("tool/jjs");
+
+    /**
+     * Main entry point with the default input, output and error streams.
+     *
+     * @param args The command line arguments
+     */
+    public static void main(final String[] args) {
+        try {
+            final int exitCode = main(System.in, System.out, System.err, args);
+            if (exitCode != SUCCESS) {
+                System.exit(exitCode);
+            }
+        } catch (final IOException e) {
+            System.err.println(e); //bootstrapping, Context.err may not exist
+            System.exit(IO_ERROR);
+        }
+    }
+
+    /**
+     * Starting point for executing a {@code Shell}. Starts a shell with the
+     * given arguments and streams and lets it run until exit.
+     *
+     * @param in input stream for Shell
+     * @param out output stream for Shell
+     * @param err error stream for Shell
+     * @param args arguments to Shell
+     *
+     * @return exit code
+     *
+     * @throws IOException if there's a problem setting up the streams
+     */
+    public static int main(final InputStream in, final OutputStream out, final OutputStream err, final String[] args) throws IOException {
+        return new Main().run(in, out, err, args);
+    }
+
+    /**
+     * read-eval-print loop for Nashorn shell.
+     *
+     * @param context the nashorn context
+     * @param global  global scope object to use
+     * @return return code
+     */
+    protected int readEvalPrint(final Context context, final Global global) {
+        final ScriptEnvironment env = context.getEnv();
+        final String prompt = bundle.getString("shell.prompt");
+        final PrintWriter err = context.getErr();
+        final Global oldGlobal = Context.getGlobal();
+        final boolean globalChanged = (oldGlobal != global);
+
+        try (final Console in = new Console(System.in, System.out, PREFS)) {
+            if (globalChanged) {
+                Context.setGlobal(global);
+            }
+
+            global.addShellBuiltins();
+
+            while (true) {
+                String source = "";
+                try {
+                    source = in.readLine(prompt);
+                } catch (final IOException ioe) {
+                    err.println(ioe.toString());
+                    if (env._dump_on_error) {
+                        ioe.printStackTrace(err);
+                    }
+                    return IO_ERROR;
+                } catch (final UserInterruptException ex) {
+                    break;
+                }
+
+                if (source.isEmpty()) {
+                    continue;
+                }
+
+                try {
+                    final Object res = context.eval(global, source, global, "<shell>");
+                    if (res != ScriptRuntime.UNDEFINED) {
+                        err.println(JSType.toString(res));
+                    }
+                } catch (final Exception e) {
+                    err.println(e);
+                    if (env._dump_on_error) {
+                        e.printStackTrace(err);
+                    }
+                }
+            }
+        } catch (final Exception e) {
+            err.println(e);
+            if (env._dump_on_error) {
+                e.printStackTrace(err);
+            }
+        } finally {
+            if (globalChanged) {
+                Context.setGlobal(oldGlobal);
+            }
+        }
+
+        return SUCCESS;
+    }
+}
--- a/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java	Thu Aug 13 15:50:52 2015 -0700
+++ b/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java	Mon Aug 17 11:18:31 2015 -0700
@@ -68,7 +68,7 @@
     /**
      * Shell message bundle.
      */
-    private static final ResourceBundle bundle = ResourceBundle.getBundle(MESSAGE_RESOURCE, Locale.getDefault());
+    protected static final ResourceBundle bundle = ResourceBundle.getBundle(MESSAGE_RESOURCE, Locale.getDefault());
 
     /**
      * Exit code for command line tool - successful
@@ -403,7 +403,7 @@
      * @param global  global scope object to use
      * @return return code
      */
-    private static int readEvalPrint(final Context context, final Global global) {
+    protected int readEvalPrint(final Context context, final Global global) {
         final String prompt = bundle.getString("shell.prompt");
         final BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
         final PrintWriter err = context.getErr();