Project

Profile

Help

Revision 6304fb8b

Added by O'Neil Delpratt 5 months ago

Saxon/C bug fixes and development work

View differences:

latest10/hec/Saxon.C.API/SchemaValidator.h
43 43
     //! Set the Current working Directory
44 44
    /**
45 45
     * Set the current working directory for the Schema Validator
46
     * @param cwd Supplied working directory which replaces any set cwd. Ignore if cwd is NULL. 
46
     * @param cwd Supplied working directory which replaces any set cwd. Ignore if cwd is nullptr.
47 47
    */
48 48
   void setcwd(const char* cwd);
49 49

  
......
71 71

  
72 72
    /**
73 73
     * Validate an instance document by a registered schema.
74
     * @param sourceFile Name of the file to be validated. Allow null when source document is supplied
74
     * @param sourceFile Name of the file to be validated. Allow nullptr when source document is supplied
75 75
     * with other method
76 76
     */
77
  void validate(const char * sourceFile = NULL);
77
  void validate(const char * sourceFile = nullptr);
78 78
   
79 79
  //!Validate an instance document supplied as a Source object
80 80
   /**
81
  * @param sourceFile The name of the file to be validated. Default is NULL
81
  * @param sourceFile The name of the file to be validated. Default is nullptr
82 82
  * @return XdmNode - the validated document returned to the calling program
83 83
  */
84
  XdmNode * validateToNode(const char * sourceFile = NULL);
84
  XdmNode * validateToNode(const char * sourceFile = nullptr);
85 85

  
86 86

  
87 87
     //!Set the source node for validation
......
93 93
     //! Get the Validation report
94 94
   /**
95 95
    * The valdiation-report option must have been set to true in the properties to use this feature.
96
    * @return XdmNode - Pointer to XdmNode. Return NULL if validation reporting feature has not been enabled
96
    * @return XdmNode - Pointer to XdmNode. Return nullptr if validation reporting feature has not been enabled
97 97
   */
98 98
    XdmNode* getValidationReport();
99 99

  
......
102 102
     * Set a parameter value used in the validator
103 103
     *s
104 104
     * @param name  of the parameter, as a string. For namespaced parameter use the JAXP solution i.e. "{uri}name"
105
     * @param value of the query parameter, or null to clear a previously set value
105
     * @param value of the query parameter, or nullptr to clear a previously set value
106 106
     */
107 107
    void setParameter(const char * name, XdmValue*value);
108 108

  
......
155 155

  
156 156
     //! Check for exception thrown.
157 157
   /**
158
    * @return char*. Returns the main exception message if thrown otherwise return NULL
158
    * @return char*. Returns the main exception message if thrown otherwise return nullptr
159 159
    */
160 160
    const char* checkException();
161 161

  

Also available in: Unified diff