~ubuntu-branches/ubuntu/natty/xml-security-c/natty-security

« back to all changes in this revision

Viewing changes to src/tools/siginf/siginf.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Russ Allbery
  • Date: 2009-08-05 14:11:52 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090805141152-a7xyrgur2sq3exkr
Tags: 1.5.1-1
* New upstream release.
  - Rename library package for upstream SONAME bump.
* Upstream now ships an older version of libtool, so run libtoolize and
  aclocal before the build.  Add build dependencies on automake and
  libtool.
* Build against Xerces-C 3.0.
* Stop building against Xalan.  The Xalan packages for Debian have been
  orphaned, the current Xalan release does not support Xerces-C 3.0, and
  porting it is not trivial.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 *
22
22
 * Author(s): Berin Lautenbach
23
23
 *
24
 
 * $Id: siginf.cpp 389736 2006-03-29 10:00:42Z blautenb $
 
24
 * $Id: siginf.cpp 724055 2008-12-06 23:34:24Z scantor $
25
25
 *
26
26
 */
27
27
 
204
204
 
205
205
                        if (atts != 0) {
206
206
 
207
 
                                unsigned int s = atts->getLength();
208
 
                                for (unsigned int i = 0 ; i < s; ++i) {
 
207
                                XMLSize_t s = atts->getLength();
 
208
                                for (XMLSize_t i = 0 ; i < s; ++i) {
209
209
                                        levelSet(level);
210
210
                                        cout << "Namespace : " << X2C(atts->item(i)->getNodeName()).str() <<
211
211
                                                "=\"" << X2C(atts->item(i)->getNodeValue()).str() << "\"\n";
452
452
        // Now parse out file
453
453
 
454
454
        bool errorsOccured = false;
455
 
        int errorCount = 0;
 
455
        xsecsize_t errorCount = 0;
456
456
    try
457
457
    {
458
458
        parser->parse(filename);