rpbouman / mysqldump-x-restore

Automatically exported from code.google.com/p/mysqldump-x-restore
6 stars 1 forks source link

Fails with `unable to parse db_backup.xml` #4

Open dschiller opened 3 years ago

dschiller commented 3 years ago
C:\Users\dschiller\Downloads\libxslt-1.1.26.win32\bin>xsltproc.exe mysqldump-xml-to-sql.xslt db_backup.xml
db_backup.xml:24: parser error : Char 0x0 out of allowed range
                <field Field="ar_timestamp" Type="binary(14)" Null="NO" Key="" Default="
                                                                                        ^
db_backup.xml:24: parser error : AttValue: ' expected
                <field Field="ar_timestamp" Type="binary(14)" Null="NO" Key="" Default="
                                                                                        ^
db_backup.xml:24: parser error : attributes construct error
                <field Field="ar_timestamp" Type="binary(14)" Null="NO" Key="" Default="
                                                                                        ^
db_backup.xml:24: parser error : Couldn't find end of Start Tag field line 24
                <field Field="ar_timestamp" Type="binary(14)" Null="NO" Key="" Default="
                                                                                        ^
db_backup.xml:24: parser error : Premature end of data in tag table_structure line 15
                <field Field="ar_timestamp" Type="binary(14)" Null="NO" Key="" Default="
                                                                                        ^
db_backup.xml:24: parser error : Premature end of data in tag database line 3
                <field Field="ar_timestamp" Type="binary(14)" Null="NO" Key="" Default="
                                                                                        ^
db_backup.xml:24: parser error : Premature end of data in tag mysqldump line 2
                <field Field="ar_timestamp" Type="binary(14)" Null="NO" Key="" Default="
                                                                                        ^
unable to parse db_backup.xml

image

Alo running in thousands of lines like this:

db_backup.xml:195342: parser error : PCDATA invalid Char value 5
???*2???↨?9j?Z?{,w?+?‼¦┐↨M??6hH'??&amp;??%M▄àt????▬&lt;??|???i?5?W{s?w▲=Y???p???
                                                                               ^

And those:

db_backup.xml:195347: parser error : PCDATA invalid Char value 6
                <field name="value">+?2?R241U?♠</field>
                                              ^
db_backup.xml:195352: parser error : PCDATA invalid Char value 6
                <field name="value">+?2?R2461U?♠</field>
                                               ^
db_backup.xml:195357: parser error : PCDATA invalid Char value 6
                <field name="value">+?2?R?P?♠</field>
                                            ^
db_backup.xml:195362: parser error : PCDATA invalid Char value 6
                <field name="value">+?2?R242T?♠</field>
                                              ^
db_backup.xml:195365: parser error : Opening and ending tag mismatch: row line 194332 and table_data
        </table_data>
                     ^
db_backup.xml:1594525: error: xmlSAX2Characters: huge text node: out of memory
# Uncheck &quot;Use SSL&quot; and &quot;Use TLS&quot;
                                                     ^
db_backup.xml:1594526: parser error : Extra content at the end of the document
# Publish &lt;nowiki&gt;email.ou&lt;/nowiki&gt;tboundmessenger
^
unable to parse db_backup.xml