![]() Registered Member ![]()
|
Greetings,
I just exported a Tellico book collection as XML and opened the file in the XML editor Oxygen. According to the validation (Xerces) the exported Tellico-file is not valid XML according to the DTD given: http://periapsis.org/tellico/dtd/v11/tellico.dtd Among the errors is that the element 'cdate' has no declared attribute 'calendar'. Is the Tellico XML supposed to be valid XML? Espen S. Ore Norway |
![]() KDE Developer ![]()
|
It was once upon a time! I've been lax about keeping the DTD up to date when I add new default fields. It didn't seem important. It's important to note that if the user adds any custom fields, there's no way to have the DTD cover it, as written. So it's always just been a validation of the default settings. Based on your message, I'm guessing the cdate and mdate fields probably got flagged. I can do a quick edit to the DTD for that, I think. |
![]() Registered Member ![]()
|
Thank you very much! So basically I can take a copy of the DTD and edit it according to my adjustments to Tellico and use that DTD rather than the default one, I guess. I plan to use this when I am editing Tellico data on a windows computer at work in Oxygen (or another XML editor) - this way I can export and import the collection data from/to Tellico running on my home computer under Kubuntu. Espen |
![]() KDE Developer ![]()
|
I just updated the online DTD and added a unit test to the source code to check for validation so it won't get out of date again. I think that should fix the errors, thanks for motivating me! |
![]() Registered Member ![]()
|
Thank you very much! |
Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell