You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[xmldom fatalError] Opening and ending tag mismatch: "function" != "jsii-root"
@#[line:1,col:22]
repeats itself three times.
This doesn't seem to be a fatal error, but the message is declaring something is wrong with parsing a document
Expected Behavior
No fatal error or warning messages, or location of the error.
Current Behavior
On building the dotnet target, there are messages, even sending --verbose --verbose --verbose has no more information on the messages.
Reproduction Steps
I've tried to make an SSCCE, but cannot reproduce, however this repository reproduces the issue. I've run npx jsii-pacmak --verbose --verbose --verbose --no-clean --target dotnet and searched for missing XML tags and jsii-root without results.
Describe the bug
During a dotnet target build, the message:
repeats itself three times.
This doesn't seem to be a fatal error, but the message is declaring something is wrong with parsing a document
Expected Behavior
No fatal error or warning messages, or location of the error.
Current Behavior
On building the dotnet target, there are messages, even sending
--verbose --verbose --verbose
has no more information on the messages.Reproduction Steps
I've tried to make an SSCCE, but cannot reproduce, however this repository reproduces the issue. I've run
npx jsii-pacmak --verbose --verbose --verbose --no-clean --target dotnet
and searched for missing XML tags andjsii-root
without results.prerequisites:
git
,node
, andyarn
git clone https://github.com/awslabs/generative-ai-cdk-constructs.git
cd generative-ai-cdk-constructs.git
npx projen install
npx projen
npx projen compile
npx projen package:dotnet
Possible Solution
Searching for
jsii-root
orfunction
revealed nothing...Found the https://github.com/aws/jsii-rosetta/ project through https://github.com/search?q=jsii-root&type=code, which pointed to the sax parser within the @xmldom/xmldom matching the fatal message.
Additional Information/Context
I believe some HTML document causing this, but cannot find where that might be:
jsii-rosettta:
https://github.com/aws/jsii-rosetta/blob/22f6add087c99fc9626cc953ab7335c196979460/src/markdown/xml-comment-renderer.ts#L79
@xmldom/xmldom:
https://github.com/xmldom/xmldom/blob/8d576bee7d2121d62f78db1d3b064adfe42a0a0e/lib/sax.js#L168
SDK version used
jsii-pacmak --version 1.103.1 (build bef2dea) dotnet --version 9.0.100-rc.1.24452.12
Environment details (OS name and version, etc.)
macOS
The text was updated successfully, but these errors were encountered: