My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 7 days

  • Dec 23, 2009
    issue 7 (XmlDirectoryListing is final) Status changed by monsieur.haynes   -   Good spot, there is no reason for the classes to be final! I have updated the source. Thanks!
    Status: Fixed
    Good spot, there is no reason for the classes to be final! I have updated the source. Thanks!
    Status: Fixed
  • Dec 23, 2009
    r133 (Remove final statements from classes, issue #7) committed by monsieur.haynes   -   Remove final statements from classes, issue #7
    Remove final statements from classes, issue #7
  • Dec 21, 2009
    issue 7 (XmlDirectoryListing is final) reported by szabolcs.kurdi   -   XmlDirectoryListing is final which does not allow subclassing, so in order to reuse the library, I have to modify it first. I do admit, it's not a bug, but probably a design decision - I'm sorry if I'm missing something here. Thank you!
    XmlDirectoryListing is final which does not allow subclassing, so in order to reuse the library, I have to modify it first. I do admit, it's not a bug, but probably a design decision - I'm sorry if I'm missing something here. Thank you!

Earlier this year

  • Oct 08, 2009
    r132 (Possible fix to spaces in file name bug) committed by monsieur.haynes   -   Possible fix to spaces in file name bug
    Possible fix to spaces in file name bug
  • Oct 08, 2009
    r131 (Possible fix to spaces in file name bug) committed by monsieur.haynes   -   Possible fix to spaces in file name bug
    Possible fix to spaces in file name bug
  • Oct 08, 2009
    issue 4 (Adding custom Text to XML-Output) Status changed by monsieur.haynes   -  
    Status: WontFix
    Status: WontFix
  • Jul 17, 2009
    issue 6 (FATAL error when generating XML file) reported by philcolbourn   -   What steps will reproduce the problem? 1. sh ./xml-dir-listing -o qq.xml "./" What is the expected output? What do you see instead? Generating listing for /Users/phil/xml-dir-listing.0.2/bin/. INFO - Generating listing for /Users/phil/xml-dir-listing.0.2/bin/. Fatal error in generating document: java.lang.IllegalStateException: Attempt to end document in serializer when elements are unclosed FATAL - Fatal error in generating document: java.lang.IllegalStateException: Attempt to end document in serializer when elements are unclosed What version of the product are you using? On what operating system? 0.2 Mac OSX 10.5.7 Please provide any additional information below.
    What steps will reproduce the problem? 1. sh ./xml-dir-listing -o qq.xml "./" What is the expected output? What do you see instead? Generating listing for /Users/phil/xml-dir-listing.0.2/bin/. INFO - Generating listing for /Users/phil/xml-dir-listing.0.2/bin/. Fatal error in generating document: java.lang.IllegalStateException: Attempt to end document in serializer when elements are unclosed FATAL - Fatal error in generating document: java.lang.IllegalStateException: Attempt to end document in serializer when elements are unclosed What version of the product are you using? On what operating system? 0.2 Mac OSX 10.5.7 Please provide any additional information below.
  • Jul 04, 2009
    issue 5 (End tags for directory elements not well formed) reported by g.ken.holman   -   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
    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
  • Mar 19, 2009
    issue 4 (Adding custom Text to XML-Output) commented on by kaimainzer   -   Hi, thanks a lot for the advice. I will definitely look into this as soon as I've finished writing my exams. I'm using your tool to keep informed of what I've saved on my external HDD: XML is automatically saved to my webspace and as of now it's being transformed to a relational DB and presented as HTML by PHP. I just figured it would be easier to transform XML directly via XSLT.
    Hi, thanks a lot for the advice. I will definitely look into this as soon as I've finished writing my exams. I'm using your tool to keep informed of what I've saved on my external HDD: XML is automatically saved to my webspace and as of now it's being transformed to a relational DB and presented as HTML by PHP. I just figured it would be easier to transform XML directly via XSLT.
  • Mar 19, 2009
    issue 4 (Adding custom Text to XML-Output) Labels changed by monsieur.haynes   -   Hi, This is the right place for feature requests! Not sure about adding this as a feature yet as I don't have a massive amount of time to work on this project at the moment. There are other (and possibly better) ways of achieving this though. * Search and replace on XML file, this is easy to do if you are using the program via Apache Ant or as part of a shell script. * Don't use the xml-stylesheet processing instruction and instead pass the XML file through an XSLT processor to get a proper HTML document. This would offer better cross browser support for the resulting HTML. If you have a little time to learn it I'd definitely recommend looking into using this program as part of Apache Ant. This would make it very easy to automate generation of the directory listing xml, then pass through an XSLT processor and save out a HTML document at the other end. http://ant.apache.org/ Thanks, Matt
    Labels: Type-Enhancement Type-Defect
    Hi, This is the right place for feature requests! Not sure about adding this as a feature yet as I don't have a massive amount of time to work on this project at the moment. There are other (and possibly better) ways of achieving this though. * Search and replace on XML file, this is easy to do if you are using the program via Apache Ant or as part of a shell script. * Don't use the xml-stylesheet processing instruction and instead pass the XML file through an XSLT processor to get a proper HTML document. This would offer better cross browser support for the resulting HTML. If you have a little time to learn it I'd definitely recommend looking into using this program as part of Apache Ant. This would make it very easy to automate generation of the directory listing xml, then pass through an XSLT processor and save out a HTML document at the other end. http://ant.apache.org/ Thanks, Matt
    Labels: Type-Enhancement Type-Defect
  • Mar 07, 2009
    issue 4 (Adding custom Text to XML-Output) reported by kaimainzer   -   I'm afraid that this is not the right way to ask this, but I didn't find a possiblity to contact the developers. I want to ask if you could include a possiblity to add a custom line to the xml-output, like <?xml-stylesheet type="text/xsl" href="xml-tree.xslt"?> for xslt-transformations. Best way to do this would be a simple option for the Command Line, like -insert "[Custom Line]" -position 2 or something like this. Thanks a lot!
    I'm afraid that this is not the right way to ask this, but I didn't find a possiblity to contact the developers. I want to ask if you could include a possiblity to add a custom line to the xml-output, like <?xml-stylesheet type="text/xsl" href="xml-tree.xslt"?> for xslt-transformations. Best way to do this would be a simple option for the Command Line, like -insert "[Custom Line]" -position 2 or something like this. Thanks a lot!
  • Jan 29, 2009
    AntTask (Page describing the use of xml-dir-listing in Apache Ant) Wiki page edited by monsieur.haynes
  • Jan 29, 2009
    CommandLine (A guide to using the XML Directory Listing app from the comm...) Wiki page edited by monsieur.haynes
  • Jan 29, 2009
    CommandLine (A guide to using the XML Directory Listing app from the comm...) Wiki page edited by monsieur.haynes
  • Jan 29, 2009
    issue 3 (Element creation does not output Qname) Status changed by monsieur.haynes   -   Not too sure about this one, the way it was should have worked fine i think - according to waht I can make from the java docs at least. Have implement both local name and Qname in startElement constructor, seems to work here. Have tested on Ubuntu 8.10 Intrepid. Can you test on Hardy and let us know if it works ? http://xml-dir-listing.googlecode.com/files/xml-dir-listing.0.2.zip Cheers, Matt
    Status: Started
    Not too sure about this one, the way it was should have worked fine i think - according to waht I can make from the java docs at least. Have implement both local name and Qname in startElement constructor, seems to work here. Have tested on Ubuntu 8.10 Intrepid. Can you test on Hardy and let us know if it works ? http://xml-dir-listing.googlecode.com/files/xml-dir-listing.0.2.zip Cheers, Matt
    Status: Started
  • Jan 29, 2009
    issue 2 (Character encouding should be configurable, default to UTF-8) Status changed by monsieur.haynes   -   Good call, added this functionality in. UTF-8 is default, seems a sensible choice.
    Status: Fixed
    Good call, added this functionality in. UTF-8 is default, seems a sensible choice.
    Status: Fixed
  • Jan 29, 2009
    issue 1 (DTD optional?) Status changed by monsieur.haynes   -   Taken DTD out of XML output, still available online if needed
    Status: Fixed
    Taken DTD out of XML output, still available online if needed
    Status: Fixed
  • Jan 29, 2009
    xml-dir-listing.0.2.zip (Version 0.2, FIx bug 1,2 &amp; 3) file uploaded by monsieur.haynes   -  
    Labels: Featured OpSys-All Type-Executable
    Labels: Featured OpSys-All Type-Executable
  • Jan 29, 2009
    r127 (Bump rev #) committed by monsieur.haynes   -   Bump rev #
    Bump rev #
  • Jan 29, 2009
    r126 (Fix bug 1: remove doctype Bug 2: Include encoding Bug 3: add...) committed by monsieur.haynes   -   Fix bug 1 : remove doctype Bug 2 : Include encoding Bug 3: added extra localName declaration, hope it works :)
    Fix bug 1 : remove doctype Bug 2 : Include encoding Bug 3: added extra localName declaration, hope it works :)
  • Jan 29, 2009
    TODO (Project to-do list) Wiki page edited by monsieur.haynes
  • Jan 13, 2009
    r124 (Added new File handlers in the set methods (Ant task). Need ...) committed by monsieur.haynes   -   Added new File handlers in the set methods (Ant task). Need to mention this in next release
    Added new File handlers in the set methods (Ant task). Need to mention this in next release
  • Jan 08, 2009
    issue 3 (Element creation does not output Qname) reported by pal.nes   -   What steps will reproduce the problem? 1. Run with my default Ubuntu Hardy setup What is the expected output? What do you see instead? Expected output should be <directory name="etc" /> Output is < name="etc" /> Notice the space where Qname should be. Works if I move variable fileType from Qname to localName parameter in startElement(). Adding an XML prefix to "directory" or "file", like "xdl:directory" and "xdl:file" will produce <xdl: name="etc" /> Never written a line of Java in my life, so bear with me :-)
    What steps will reproduce the problem? 1. Run with my default Ubuntu Hardy setup What is the expected output? What do you see instead? Expected output should be <directory name="etc" /> Output is < name="etc" /> Notice the space where Qname should be. Works if I move variable fileType from Qname to localName parameter in startElement(). Adding an XML prefix to "directory" or "file", like "xdl:directory" and "xdl:file" will produce <xdl: name="etc" /> Never written a line of Java in my life, so bear with me :-)
  • Jan 08, 2009
    issue 2 (Character encouding should be configurable, default to UTF-8) reported by pal.nes   -   The character set will by default cause problems for anyone who does not use the ISO-8859 character sets. I suggest you make this configurable, defaulting to UTF-8, which should cover most every need.
    The character set will by default cause problems for anyone who does not use the ISO-8859 character sets. I suggest you make this configurable, defaulting to UTF-8, which should cover most every need.

Older

  • Nov 06, 2008
    issue 1 (DTD optional?) commented on by mike.porter   -   Same issue :-( otherwise great :-)
    Same issue :-( otherwise great :-)
  • Oct 02, 2008
    issue 1 (DTD optional?) commented on by ewan.chalmers   -   +1 on this issue. I'm using the xml-dir-listing ant task and then transforming the output with the xslt task. Because the DOCTYPE declaration does not have a PUBLIC id, I can't include it in an ant xmlcatalog (which only supports PUBLIC id). Result is, I must be connected to internet to do the transformation. (Otherwise, the task is great. I use it to generate sitemaps).
    +1 on this issue. I'm using the xml-dir-listing ant task and then transforming the output with the xslt task. Because the DOCTYPE declaration does not have a PUBLIC id, I can't include it in an ant xmlcatalog (which only supports PUBLIC id). Result is, I must be connected to internet to do the transformation. (Otherwise, the task is great. I use it to generate sitemaps).
 
Hosted by Google Code