Repository navigation
Conversation
The EN and CN XML guides showed f/t for xmlisvalid(XMLTYPE(...)), making the result look like a PostgreSQL Boolean. IvorySQL 5.6 registers sys.XMLISVALID with an INTEGER return type; the regression expectations are 0 for '<a>' and 1 for '<a/>'. Update both examples to integers and state the return type, since readers use the result in numeric comparisons. closes IvorySQL#527 Assisted-by: LLM Signed-off-by: lkhhfd1 <1356915765@qq.com>
|
🚀 IvorySQL-Docs Preview Ready
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Correct the
xmlisvalidexamples in the EN and CN XML guides (closes #527).The guides showed
f/t, making the result look like a PostgreSQL Boolean. IvorySQL 5.6 registerssys.XMLISVALID(sys.xmltype)with anINTEGERreturn type; the regression expectations are0for<a>and1for<a/>. Both examples now show the integer results and state the return type, which matters when readers use the value in a numeric comparison.Values verified against kernel sources:
xml_functions--1.0.sql(RETURNS INTEGER) andora_xml_functions.out(0 / 1). Docs-only, LF-only, diff limited to the two XML guide pages. CLA signed.Closes #527