We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xml.Ident
Given an XML document like the following:
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?> <!DOCTYPE xsl:stylesheet [ <!-- EXSLT-Math --> <!ENTITY foons "https://www.foo.org/bar"> ]> <xsl:stylesheet version="1.0"/>
the parser parses the comment into an Xml.Ident element rather than creating an Xml.Comment:
Xml.Comment
rewrite/rewrite-xml/src/main/java/org/openrewrite/xml/internal/XmlParserVisitor.java
Lines 334 to 338 in b6f178b
The name of the created Xml.Ident is <!-- EXSLT-Math --> which then can cause recipes to fail processing this.
<!-- EXSLT-Math -->
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given an XML document like the following:
the parser parses the comment into an
Xml.Ident
element rather than creating anXml.Comment
:rewrite/rewrite-xml/src/main/java/org/openrewrite/xml/internal/XmlParserVisitor.java
Lines 334 to 338 in b6f178b
The name of the created
Xml.Ident
is<!-- EXSLT-Math -->
which then can cause recipes to fail processing this.The text was updated successfully, but these errors were encountered: