Looking for XML schema for filelist XML documents

Asked by Jay Hollingsworth

There is a user I want to connect to that apparently has a flawed filelist. When I load their filelist DC++ 0.881 says "Duplicate item in the file list", which I assume means there is a mistake in their filelist XML file. They've had this error for a couple of years. Their tag is <++ V:0.699,M:A,H:0/1/0,S:15>, which I take to be meaningless unless they're really running v 0.699.

Also, when I choose Match downloaded lists there is no error message in the system log about a flawed filelist for this user, just no mention of them.

Rather than gripe to them I would like to just fix their XML file on my end, but it's to big to inspect manually (~250,000 lines).

To make this easier, I was going to use some XML tools and went to look in the DC++ source code and there's no filelist XSD or DTD file in the schema folder. I can try to infer a schema but I'd rather have the real one.

Do you have any ideas on where an XSD file might be or on how to get past the Duplicate Item error in DC++?

Question information

Language:
English Edit question
Status:
Answered
For:
DC++ Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
eMTee (realprogger) said (last edit ):
#1

You find the XML schema in the ADC protocol documentation https://adc.sourceforge.io/ADC.html#_file_list or downloadable from the ADC project repostitory at https://sourceforge.net/p/adc/code/HEAD/tree/trunk/Schemas/files.xml.xsd

Regarding the error you can get past it when you provide a valid filelist input :) However, if you say the error message is not too helpful I agree that it should probably be more informative and include the offending TTH value.
(File lists cannot contain multiple file items with the same name, TTH value, etc... if they do then it is considered broken and unwanted).

Revision history for this message
eMTee (realprogger) said :
#2

The above schema is for filelist without hash support. You find the extension of the schema with hash value support here : https://adc.sourceforge.io/ADC-EXT.html#_tigr_tiger_tree_hash_support

Can you help with this problem?

Provide an answer of your own, or ask Jay Hollingsworth for more information if necessary.

To post a message you must log in.