Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element creation does not output Qname #3

Open
GoogleCodeExporter opened this issue Apr 7, 2016 · 1 comment
Open

Element creation does not output Qname #3

GoogleCodeExporter opened this issue Apr 7, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 8 Jan 2009 at 10:51

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 29 Jan 2009 at 11:12

  • Changed state: Started

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant