Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
<root>
<aRecord>
<someAttribute>someValueHere</someAttribute>
<someOtherAttribute>someOtheralueHere</someOtherAttribute>
<yetAnotherAttribute>yetAnotherValueHere</yetAnotherAttribute>
</aRecord>
</root>
<UserDetails>
<AppUserID>10001</AppUserID>
<FirstName>Test10001</FirstName>
<LastName>Lname10001</LastName>
<EmailID>ttest10001@me.com</EmailID>
</UserDetails>
<root>
<aRecord>
<AppUserID>10001</AppUserID>
<FirstName>Test10001</FirstName>
<LastName>Lname10001</LastName>
<EmailID>ttest10001@me.com</EmailID>
</aRecord>
</root>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/UserDetails">
<root>
<aRecord>
<xsl:for-each select="/UserDetails/*">
<xsl:copy-of select="."/>
</xsl:for-each>
</aRecord>
</root>
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"><xsl:output method="xml" indent="yes"/> <xsl:template match="/UserDetails"> <root> <aRecord> <xsl:for-each select="/UserDetails/*"> <xsl:copy-of select="."/> </xsl:for-each> </aRecord> </root> </xsl:template></xsl:stylesheet>
DirXML: [03/31/14 12:50:39.44]: TRACE: xml-app\PT: MetaData read:recordNumber,isLastRecord
DirXML: [03/31/14 12:50:39.44]: TRACE: xml-app\PT: MetaData result:MetaDataManager [requiresFileSize=false, requiresFileName=false, requiresFilePath=false, requiresLastRecordFlag=true, requiresRecordNumber=true]
DirXML: [03/31/14 12:50:39.44]: TRACE: xml-app\PT: init - Creating fileLocator object
DirXML: [03/31/14 12:50:39.44]: TRACE: xml-app\PT: init:/var/opt/novell/dirxml/rdxml/xml-app/input - java.util.regex.Matcher[pattern=(?i).*\.xml region=0,0 lastmatch=]
DirXML: [03/31/14 12:50:39.44]: TRACE: xml-app\PT: init - Creating fileSorter object
DirXML: [03/31/14 12:50:39.45]: TRACE: xml-app\PT: init - Creating fileReader object
DirXML: [03/31/14 12:50:39.45]: TRACE: xml-app\PT: java.lang.ClassNotFoundException: info.vancauwenberge.filedriver.filereader.csv.XMLFileReader
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at info.vancauwenberge.filedriver.shim.FileDriverPublicationShim.initStrategy(FileDriverPublicationShim.java:321)
at info.vancauwenberge.filedriver.shim.FileDriverPublicationShim.init(FileDriverPublicationShim.java:475)
at com.novell.nds.dirxml.remote.loader.Driver.run(Driver.java:809)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: info.vancauwenberge.filedriver.filereader.csv.XMLFileReader
<definition display-name="File Reader Strategy:" name="pub_fileReader" type="enum">
<enum-choice display-name="CSVFileReader">info.vancauwenberge.filedriver.filereader.csv.CSVFileReader</enum-choice>
<enum-choice display-name="XMLFileReader">info.vancauwenberge.filedriver.filereader.xml.XMLFileReader</enum-choice>
<enum-choice display-name="XLSFileReader">info.vancauwenberge.filedriver.filereader.xls.XLSFileReader</enum-choice>
<description>Publisher: File Reader Strategy (object class implementing IFileReadStrategy). This class will actually read the file, and thus knows about the file format (scv, tcv, xml,...).
Current implementations:
info.vancauwenberge.filedriver.filereader.csv.CSVFileReader
info.vancauwenberge.filedriver.filereader.xml.XMLFileReader
info.vancauwenberge.filedriver.filereader.xls.XLSFileReader</description>
<value>info.vancauwenberge.filedriver.filereader.xml.XMLFileReader</value>
</definition>
> unzip -t /path/to/the/GenericFileDriver.jar
*snip for brevity*
testing: info/vancauwenberge/filedriver/filereader/DummyFileReader.class OK
testing: info/vancauwenberge/filedriver/filereader/DummyFileReader.java OK
testing: info/vancauwenberge/filedriver/filereader/csv/CSVFileReader$1.class OK
testing: info/vancauwenberge/filedriver/filereader/csv/CSVFileReader.class OK
testing: info/vancauwenberge/filedriver/filereader/csv/CSVFileReader.java OK
testing: info/vancauwenberge/filedriver/filereader/xls/XlsFileReader.class OK
testing: info/vancauwenberge/filedriver/filereader/xls/XlsFileReader.java OK
testing: info/vancauwenberge/filedriver/filereader/xml/XMLFileReader$1.class OK
testing: info/vancauwenberge/filedriver/filereader/xml/XMLFileReader.class OK
testing: info/vancauwenberge/filedriver/filereader/xml/XMLFileReader.java OK
*snip for brevity*
DirXML: [03/31/14 20:03:12.72]: TRACE: xml-app\PT: Sleeping for 5 seconds
DirXML: [03/31/14 20:03:17.72]: TRACE: xml-app\PT: poll start
DirXML: [03/31/14 20:03:17.72]: TRACE: xml-app\PT: getFileList start
DirXML: [03/31/14 20:03:17.72]: TRACE: xml-app\PT: File matches regexp:test10001.xml
DirXML: [03/31/14 20:03:17.72]: TRACE: xml-app\PT: getFileList done
DirXML: [03/31/14 20:03:17.72]: TRACE: xml-app\PT: getNextFile: found file(s)
DirXML: [03/31/14 20:03:17.72]: TRACE: xml-app\PT: Move via java native.
DirXML: [03/31/14 20:03:17.72]: TRACE: xml-app\PT: processFile: start
DirXML: [03/31/14 20:03:17.72]: TRACE: xml-app\PT: processFile: staticMetaData added:{isLastRecord=false}
DirXML: [03/31/14 20:03:17.72]: TRACE: xml-app\PT: Exception while handeling XML document:java.io.FileNotFoundException: file:/var/opt/novell/dirxml/rdxml/xml-app/work/2014.03.31_20.03.17/test10001.xml.transformed (No such file or directory)
DirXML: [03/31/14 20:03:17.72]: TRACE: xml-app\PT: An error occured reading the input file.(/var/opt/novell/dirxml/rdxml/xml-app/work/2014.03.31_20.03.17/test10001.xml)java.io.FileNotFoundException: file:/var/opt/novell/dirxml/rdxml/xml-app/work/201
4.03.31_20.03.17/test10001.xml.transformed (No such file or directory)
DirXML: [03/31/14 20:03:17.72]: TRACE: Remote Loader: Received document from publicationShim
DirXML: [03/31/14 20:03:17.72]: TRACE: <nds dtdversion="3.0">
<source>
<product build="2014-02-28 21:19" instance="xml-app" version="0.6">Generic File Driver</product>
<contact>VanCauwenberge.info</contact>
</source>
<input>
<status level="error" type="driver-general">
<description>An error occured reading the input file.(/var/opt/novell/dirxml/rdxml/xml-app/work/2014.03.31_20.03.17/test10001.xml)</description>
<exception class-name="javax.xml.transform.TransformerException">
<message>java.io.FileNotFoundException: file:/var/opt/novell/dirxml/rdxml/xml-app/work/2014.03.31_20.03.17/test10001.xml.transformed (No such file or directory)</message>
</exception>
<exception class-name="java.io.FileNotFoundException">
<message>file:/var/opt/novell/dirxml/rdxml/xml-app/work/2014.03.31_20.03.17/test10001.xml.transformed (No such file or directory)</message>
</exception>
</status>
</input>
</nds>