|
|
|
Grand Master
      
Group: Customers
Last Login: Today @ 5:40:00 AM
GenoPro Version: 2.0.1.6
Posts: 1,347,
Visits: 6,687
|
|
Custom Tags are generated automatically when importing Gedcom files. On importing a second or subsequent Gedcom file, a further set of identical Custom Tags is generated. A similar effect is seen when entries on a GenoMap are copied from one GenoPro document and pasted into another. This results in the Properties window for an object, say an Individual, having multiple 'Custom Tags' tabs,and since the tags are the same, the same data appears under each one. In the Tag Editor, multiple entrie appear in the 'Dialog Layouts' table, all with the name 'Custom Tags'. Should such identical Custom Tags be merged into one?
In some circumstances, if you view the tags under the Tools, Tag Definitions menu option, some the duplicate tag names are corrupted. E.g. the Custom Tag for the Gedcom CHAN tags (date & time entry changed) will appear as CH.N.DATE & CH.N.DATE.TIME instead of CHAN.DATE & CHAN.DATE.TIME and sometimes even CH...DATE. This has led to corrupted XML files with tags <CH> & <N> and also invalid blank tags <>, but at present I cannot reproduce this.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
|
|
Forum Master
      
Group: Customers
Last Login: Today @ 3:49:44 AM
GenoPro Version: 2.0.1.6
Posts: 758,
Visits: 6,292
|
|
Please have a look at following topic, which talks about custom tags:
Topic5271-58-1.aspx
although it does not tell us when we will have a solution.
|
|
|
|
|
Grand Master
      
Group: Customers
Last Login: Today @ 5:40:00 AM
GenoPro Version: 2.0.1.6
Posts: 1,347,
Visits: 6,687
|
|
I did have a look at that topic before posting but although still on the subject of Custom Tags, I thought mine was a different issue/bug, hence the new topic. I would still like to see if Dan has any comments on it. There is a definite corruption of the xml file. I have another example with corruption of the gedcom CAUS(e of death) tag, which arose when pasting GenoMap contents from one file to another. When I try to open the xml file, rather than the .gno file, in GenoPro Beta I get the following error in the message log:
Opening file 'G:\Shared Documents\ Family\Genealogy\Geno\Master.xml'... Reading file 'G:\Shared Documents\Family\Genealogy\Geno\Master.xml'... Detected 'XML' document with Charset='UTF-8' (Code Page=65001) Importing 'XML' document using Code Page 65001 known as ' Unicode (UTF-8)' Validating data... Error at line 8447: Invalid use of 'Forward Slash' or tag ''
N.B. the 8) above was generated when I pasted the text, it should be '8 )'
The XML data around line 8447 is
<death> <date>8 JAN 2004</date> <place>place00594</place> <disposition> <date>21 JAN 2004</date> <place>place00595</place> </disposition> <CA> <> <S>Carcinoma of the scalp</S> </> </CA> </death> |
and some of the offending Tags in the XML are <TagData name="death.CA..S"> <displayname>death.CA..S</displayname> </TagData> <TagData name="CH..N.DATE"> <displayname>CH..N.DATE</displayname> </TagData> <TagData name="CH..N.DATE.TIME"> <displayname>CH..N.DATE.TIME</displayname> </TagData> <TagData name="death.DISPOSITION.OB.E.FORM"> <displayname>death.DISPOSITION.OB.E.FORM</displayname> </TagData> <TagData name="death.DISPOSITION.OB.E.TITL"> <displayname>death.DISPOSITION.OB.E.TITL</displayname> </TagData> <TagData name="death.DISPOSITION.OB.E.FILE"> <displayname>death.DISPOSITION.OB.E.FILE</displayname> </TagData> |
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 1:16:25 AM
GenoPro Version: 2.5.0.2
Posts: 3,639,
Visits: 15,178
|
|
This is a coincidence, I am re-writing a new generic XML parser to support more features, including the tag <![CDATA[...]]>. The report generator uses multiple XML files for its skin description, configuration, dictionary, file generation, and downloaded/available skins. Some of these XML files may have VBScript and JScript in them, hence the need for CDATA tag.
I was not planning to use this XML parser to import GenoPro documents, but I guess I will have to use it sooner.
Is the problem really bad, or can it be fixed using a text editor?
|
|
|
|
|
Grand Master
      
Group: Customers
Last Login: Today @ 5:40:00 AM
GenoPro Version: 2.0.1.6
Posts: 1,347,
Visits: 6,687
|
|
For me yes it is quite serious, with 70,000 lines in the XML file with 1900 individuals and 500 families it has just taken me over 2 hours to clean it up. Notepad crawls doing search & replace in a file this size, and you also need to include newlines in the search and replace strings so I used MS Word for most of it and sed, an old Unix utility, when Word couldn't handle wild cards well enough. It gets tricky when both <CHR> & <CHAN> tags get corrupted to <CH> as happened to me. So quite a complex recovery. I assume the corruption extends to the .gno file but is only visible in the xml, so maybe others have the problem but just don't know it yet. The biggest problem is I don't know exactly what caused it so it could happen again. :(
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 1:16:25 AM
GenoPro Version: 2.5.0.2
Posts: 3,639,
Visits: 15,178
|
|
I am curious what is causing the corruption. If you ever get a sample Gedcom or XML file causing such corruption please let me know.
As for your XML file with 70000 lines, you can send it to me. I can convert your XML file into a .gno until the problem is fixed.
|
|
|
|
|
Grand Master
      
Group: Customers
Last Login: Today @ 5:40:00 AM
GenoPro Version: 2.0.1.6
Posts: 1,347,
Visits: 6,687
|
|
Thanks for the offer but as I said I have managed to clean up the XML file now and corrected the faulty tags and successfully opened it in GenoPro and saved it as .gno. Maybe there was problem in earlier beta releases that caused the corruption which would explain why I can't reproduce it now. Anyway I be keeping a eye on my XML files from now on and will let you know if the problem reappears.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 1:16:25 AM
GenoPro Version: 2.5.0.2
Posts: 3,639,
Visits: 15,178
|
|
Just for the record, can you tell me what GenoPro version created the XML file with corrupted tags? The version can be found at top of the XML file in the "path" GenoPro.Software.Version.
|
|
|
|
|
Grand Master
      
Group: Customers
Last Login: Today @ 5:40:00 AM
GenoPro Version: 2.0.1.6
Posts: 1,347,
Visits: 6,687
|
|
The version shows in the corrupt XML file as 2.b12g, i.e. current beta version.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
|