You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This ant task invocation:
<xml-dir-listing srcDir="../mod" destFile="../work/odslist.xml"
includesRegEx=".*\.ods"/>
returns a document that is not XML-well-formed (note the end tags for the
directory elements):
<?xml version="1.0" encoding="UTF-8"?>
<directory name="mod" size="0" lastModified="1246716495914"
date="20090704T100815" absolutePath="t:\CraneMakeUBL2genericode\mod"
sort="name" reverse="false">
<directory name="common" size="0" lastModified="1246716496044"
date="20090704T100816"
absolutePath="t:\CraneMakeUBL2genericode\mod\common">
<file name="UBL-CommonLibrary-2.0.ods" size="173160"
lastModified="1246716495974" date="20090704T100815"
absolutePath="t:\CraneMakeUBL2genericode\mod\common\UBL-CommonLibrary-
2.0.ods"/>
</>
<directory name="maindoc" size="0" lastModified="1246716496064"
date="20090704T100816"
absolutePath="t:\CraneMakeUBL2genericode\mod\maindoc">
<file name="UBL-ApplicationResponse-2.0.ods" size="22271"
lastModified="1246716496004" date="20090704T100816"
absolutePath="t:\CraneMakeUBL2genericode\mod\maindoc\UBL-
ApplicationResponse-2.0.ods"/>
<file name="UBL-AttachedDocument-2.0.ods" size="22778"
lastModified="1246716495914" date="20090704T100815"
absolutePath="t:\CraneMakeUBL2genericode\mod\maindoc\UBL-AttachedDocument-
2.0.ods"/>
<file name="UBL-Waybill-2.0.ods" size="22676"
lastModified="1246716496014" date="20090704T100816"
absolutePath="t:\CraneMakeUBL2genericode\mod\maindoc\UBL-Waybill-2.0.ods"/>
</>
</>
The output cannot be input to any XML process, for example, XSLT.
The "</>" sequences should be "</directory>"
This is the version I'm running on XP SP3 2002:
2009-01-29 18:02 15,612 xml-dir-listing.0.2.jar
Original issue reported on code.google.com by [email protected] on 4 Jul 2009 at 2:16
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 4 Jul 2009 at 2:16The text was updated successfully, but these errors were encountered: