[fca058]: README.DEVELOPERS.html  Maximize  Restore  History

Download this file

71 lines (59 with data), 3.8 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<html>
<title>Readme For Developers or Others wishing to compile Password Safe</title>
<body>
<h1>Developer Notes</h1>
<h3>Additional Software Requirements</h3>
<p>In order to build the Windows version of Password Safe, you need to install
the following freely available components:</p>
<ul>
<li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=00535334-c8a6-452f-9aa0-d597d16580cc&DisplayLang=en">Microsoft's HTML Help Workshop</a> (for online help support)</li>
<li><a href="http://tortoisesvn.net/downloads">Tortoise SVN Client</a> (for updating the revision number within Password Safe's version details)</li>
<li>For XML Support, one or more of the following is needed:
<ul>
<li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=993C0BCF-3BCF-4009-BE21-27E85E1857B1&displaylang=en">Microsoft's XML V6.0 SDK [File: "msxml6_SDK.msi" on this page]</a></li>
<li><a href="http://expat.sourceforge.net/">Expat's V2.0.1 XML Library</a></li>
<li><a href="http://xerces.apache.org/xerces-c/">Xerces V3.0.0 XML Library</a></li>
</ul>
</ul>
<p>If you're using Microsoft's Visual Studio, the file "UserVariables.vsprops"
<b><u><i>must</i></u></b> exist and point to the directories where the above
components have been installed. <b><u><i>The solution will not open correctly without
this file being present.</i></u></b></p>
<p>For your convenience, we've included a simple Visual Basic script,
"configure.vbs", that you can run to generate the "UserVariables.vsprops" file
with the correct values.</p>
<h3>XML Processing</h3>
<p>Originally, PasswordSafe used Microsoft's XML library
for XML parsing and validation. For portability, we're now working on support
for the Expat and Xerces XML libraries, which are available for non-Windows
platforms. See their web sites for more information. Note: Xerces V3.0.0
at revision 707374 or greater is needed to correct a memory leak processing
password history entries.</p>
<p>To determine which XML library to use while building PasswordSafe,
we've defined a new preprocessor variable (USE_XML_LIBRARY). If <u>NOT</u>
defined, the compiled Password Safe <u>will not process XML files</u>
(databases or filter definitions in XML format). Filters within a
database will be treated as 'Unknown Fields' and will remain unchanged
so that other versions of Password Safe that do support XML parsing
can still use them. Note, however, that the application will be able
to write XML files.</p>
<p>The three valid values of the USE_XML_LIBRARY variable are "EXPAT", "MSXML"
and "XERCES" corresponding to the three different implementations.</p>
<p>Password Safe uses SAX2 processing for both Microsoft's and the Xerces'
XML Parsers, which are full validating parsers and require the presence of
the appropriate XSD Schema file (included in the distribution and in the "xml"
sub-directorty, to process either file or filter imports. This ensures
that the data eventually hitting the SAX2 content handlers is correct and just
needs placing in the appropriate fields.</p>
<p>Expat is a non-validating XML Parser and uses its own API rather than SAX2.
Note: SAX2 is only an official standard for Java XML processing, although many C
supporting parsers also support this interface. Because Expat is
non-validating, code is being added directly into Password Safe to
perform this validation, so that the program and its databases are
not corrupted by poorly formed XML or incorrect data within the XML file.</p>
<p>Note: As of 1 December 2008, the additional validation code for Expat and
non-Unicode versions of all three implementations are in progress. Work
is also needed to ensure that error processing is correct and that associated
messages are produced correctly.</p>
</body>
</html>

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks