anudinaorg / xml-dir-listing

Automatically exported from code.google.com/p/xml-dir-listing
Apache License 2.0
0 stars 0 forks source link

Element creation does not output Qname #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 :-)

Original issue reported on code.google.com by pal....@gmail.com on 8 Jan 2009 at 10:51

GoogleCodeExporter commented 8 years ago
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

Original comment by monsieur...@gmail.com on 29 Jan 2009 at 11:12