Actions
Bug #6635
closed![Author: Christian Schmitz](https://www.gravatar.com/avatar/8308a8ee793a9ed66602cbfe22c2711d?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: O'Neil Delpratt](https://www.gravatar.com/avatar/a0bc1766b412d8fecb16f7d304916359?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
Change 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;
}
Please register to edit this issue
Actions