Hi Constantine,

"ssphys" info -eiso-8859-7 "VssAbc/data/names.dat"

As Toby wrote, please try to run the above command standalone and redirect to a file.

The encoding patch is not 100% correct, and I still have no ideas, how to make it 100% correct. We have to deal with two problems:

1.) different encodings: This one should be solved with the encoding attribute, but while playing with this, I had still problems to output characters that are allowed in one codepage, but discouraged by the XML standard. See http://www.w3.org/TR/REC-xml/#charsets where some characters, that are still allowed in the the windows-1252 codepage, are discouraged in XML. esp. most of the characters in the band [x80-x9f].

2.) real garbaged content: real garbage is hard to detect and therefore ssphys does only filter so called control characters determined by the "iscntrl" function. This decision is based upon the current locale. A few other characters are filtered by vss2svn after streaming in the XML output

>    $gSysOut =~ s/\x00//g; # remove null bytes
> $gSysOut =~ s/.\x08//g; # yes, I've seen VSS store backspaces in names! > # allow all characters in the windows-1252 codepage: see http://de.wikipedia.org/wiki/Windows-1252 > $gSysOut =~ s/[\x00-\x09\x11\x12\x14-\x1F\x81\x8D\x8F\x90\x9D]/_/g; # just to be sure

Please have a look at your generated xml file from the names.dat and check which character is the problematic one.

Second: your output shows, that you have a missing ParserDetails.Ini file. Please check a previous mail thread "Idiots' guide to setting up a perl environment for vss2svn?". There is a sample ParserDetails file:

3. Then create or edit /Perl/site/lib/XML/SAX/ParserDetails.ini so that it includes:

[XML::SAX::Expat]
http://xml.org/sax/features/namespaces = 1
http://xml.org/sax/features/validation = 1
http://xml.org/sax/features/external-general-entities = 1
http://xml.org/sax/features/external-parameter-entities = 1


Best regards
Dirk

_______________________________________________
vss2svn-users mailing list
Project homepage:
http://www.pumacode.org/projects/vss2svn/
Subscribe/Unsubscribe/Admin:
http://lists.pumacode.org/mailman/listinfo/vss2svn-users-lists.pumacode.org
Mailing list web interface (with searchable archives):
http://dir.gmane.org/gmane.comp.version-control.subversion.vss2svn.user

Reply via email to