Actions
Bug #6635
closedChange DocumentBuilder::DocumentBuilder to set lineNumbering and dtdVal to false, not -1
Start date:
2025-01-07
Due date:
% Done:
100%
Estimated time:
Applies to branch:
12, trunk
Fix Committed on Branch:
12, trunk
Fixed in Maintenance Release:
Found in version:
Fixed in version:
SaxonC Languages:
C++
SaxonC Platforms:
All
SaxonC Architecture:
Description
Since dtdVal and lineNumbering are boolean, the Visual Studio compiler here complains about assigning -1 as value. So I changed it here to assign false:
DocumentBuilder::DocumentBuilder() {
exception = nullptr;
schemaValidator = nullptr;
proc = new SaxonProcessor(false);
docBuilderObject = createDocumentBuilder(SaxonProcessor::sxn_environ->thread,
(void *)proc->procRef);
lineNumbering = false;
dtdVal = false;
}
Updated by O'Neil Delpratt 22 days ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Applies to branch 12, trunk added
- Fix Committed on Branch 12, trunk added
- SaxonC Languages C++ added
Bug fixed and committed.
Please register to edit this issue
Actions