[jump to content][No Software Patents]FAQ [ Home | Scylla+Charybdis old home | Tools (old) | Tools (new) | FAQ | Downloads ]

Scylla and Charybdis FAQ

If you think you found a bug or your question is not answered, you can leave me a message I will fix it or add the answer here if it is important.
If you need to send me a file, then please additionally leave me a message (the upload does not notify me yet).

Q: hi how r u
A: Well, fine, thanks. ;)

 

Q: could i have some more info? how it came to be, who the parents were (how's related to creation of world and titans and all that). could you describe it for me plz?
A: Well .. I only used the names to represent data transport. Charybdis sucks in the data and drives it away to Scylla, who eats it with her many heads. For more info about the myth background, perhaps see Wikipedia about Scylla and Charybdis.

 

Q: xml2sql-v does not compile/link under CygWin
A: There is a bug in the Makefile. Replace LDFLAGS with LDLIBS. It then links.

 

Q: ./xml2sql-v.exe test < xmlfile.xml gives
#0 # '<?xml version=\"1.0\" encoding=\"ISO-8859-2\"?>'
parse error line=1 column=30: unknown encoding
Likewise under Linux ..
A: Obviously expat does not know XML encoding for ISO-8859-2, sigh ;( This means, my tool must be extended to support the unknown encoding. I currently don't have the time to fix this.
But luckily there is a bad trick to still convert it without hacking my C code:
ISO-8859-2 is very similar to ISO-8859-1. So the file parses OK if the encoding is changed to ISO-8859-1. This can be accomplished with following line (under CygWin):

sed '1s/ISO-8859-2/ISO-8859-1/' xmlfile.xml | ./xml2sql-v.exe " 'test' " >xmlfile.sql

Expat then does not complain for wrong characters and still shall output ISO-8859-2 code (as it does not convert the characters).
OK, yes, it's quite ugly, but - hopefully - it shall work this way (no guarantees!) ;)

 

Q: make spits out errors like Makefile.awk:256: fatal: match() cannot have 3 arguments
A: Your AWK is too old to recreate the Makefile. The build is done based on the distributed Makefile. Everything shall compile successfully though.

So if the compile succeeds just ignore such errors, please.

 

Perhaps sometimes in future there will be a Wiki.

[end of page - jump back to content][hacker culture]
Last modified: 2008-06-07 by Valentin Hilbig [ Imprint / Impressum ]