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

« back to all changes in this revision

Viewing changes to include/xsec/canon/XSECC14n20010315.hpp

  • 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:
22
22
 *
23
23
 * Author(s): Berin Lautenbach
24
24
 *
25
 
 * $Id: XSECC14n20010315.hpp 394035 2006-04-14 06:53:07Z blautenb $
 
25
 * $Id: XSECC14n20010315.hpp 783064 2009-06-09 16:58:25Z scantor $
26
26
 *
27
27
 */
28
28
 
98
98
        // Constructors
99
99
        XSECC14n20010315();
100
100
        XSECC14n20010315(XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *newDoc);
101
 
        XSECC14n20010315(XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *newDoc, 
 
101
        XSECC14n20010315(XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *newDoc,
102
102
                                         XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *newStartNode);
103
103
        virtual ~XSECC14n20010315();
104
104
 
115
115
        void setExclusive(void);
116
116
        void setExclusive(char * xmlnsList);
117
117
 
 
118
        // Inclusive 1.1 processing
 
119
    void setInclusive11(void);
 
120
 
118
121
        // Namespace processing
119
122
        void setUseNamespaceStack(bool flag) {m_useNamespaceStack = flag;}
120
123
 
121
124
protected:
122
125
 
123
126
        // Implementation of virtual function
124
 
        int processNextNode();
 
127
        xsecsize_t processNextNode();
125
128
 
126
129
        // Test whether a name space is in the non-exclusive list
127
130
        bool inNonExclNSList(safeBuffer &ns);
129
132
private:
130
133
 
131
134
        void init();
132
 
        bool checkRenderNameSpaceNode(XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *e, 
 
135
        bool checkRenderNameSpaceNode(XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *e,
133
136
                                                                  XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *a);
134
137
        void stackInit(XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * n);
135
138
 
159
162
        bool                                    m_exclusive;
160
163
        bool                                    m_exclusiveDefault;
161
164
 
 
165
        // For Inclusive 1.1 support
 
166
        bool                    m_incl11;
 
167
 
162
168
        // How do we handle namespaces?
163
169
        // Use the namespace stack if name space expansion has not been run on the document.
164
170
        // NOTE : Using the name space stack *will* cause problems if a full XPath expression