EnsemblGenomes / dbcon

Automatically exported from code.google.com/p/dbcon
0 stars 0 forks source link

Library detection #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write a library in XML
2. Do not put the <?xml version="1.0" encoding="UTF8"?> declaration at the
top of the file
3. Watch DbCon attempt to read it as a .sqllib
4. Be amazed when your library is empty and has no errors (ooohhhh)

What is the expected output? What do you see instead?
It should populate the library correctly. It ends up with an empty one

Original issue reported on code.google.com by andyy...@gmail.com on 19 Apr 2007 at 2:27

GoogleCodeExporter commented 9 years ago
We need to do the following when trying to find out what type of library we are
dealing with:

1. Extension tests - if it ends with .xml or .sqllib then pass it off to the 
readers
2. Unknown/no extesion - do document typing i.e. searching for the <?xml

This needs to be fixed since it's a right pain remembering the declaration in 
each file

Original comment by andyy...@gmail.com on 19 Apr 2007 at 2:34