MathML Version 3 Not Supported By Aspose Words Java 24.11

Hi Support Team, We are facing issues with Representation of MathML in Aspose Words
For Reference We are Sharing 2 MathML Code Snippets Older Ones are supported Properly but The latest format of MathML Representation not working
Older Math ML Snippet

<math xmlns="http://www.w3.org/1998/Math/MathML">
    <mi>f</mi>
    <mfenced separators="|">
        <mrow>
            <mi>x</mi>
        </mrow>
    </mfenced>
    <mo>=</mo>
    <mi> </mi>
    <mfenced open="{" close="" separators="|">
        <mrow>
            <mtable>
                <mtr>
                    <mtd>
                        <mo>[</mo>
                        <mrow>
                            <mrow>
                                <mi mathvariant="normal">cos</mi>
                            </mrow>
                            <mo>⁡</mo>
                            <mrow>
                                <mi>π</mi>
                                <mi> </mi>
                                <mi>x</mi>
                                <mo>]</mo>
                                <mo>,</mo>
                            </mrow>
                        </mrow>
                    </mtd>
                    <mtd>
                        <mi>x</mi>
                        <mo>&lt;</mo>
                        <mn>1</mn>
                    </mtd>
                </mtr>
                <mtr>
                    <mtd>
                        <mfenced open="|" close="|" separators="|">
                            <mrow>
                                <mi>x</mi>
                                <mo>-</mo>
                                <mn>1</mn>
                            </mrow>
                        </mfenced>
                        <mo>,</mo>
                    </mtd>
                    <mtd>
                        <mn>2</mn>
                        <mo>&gt;</mo>
                        <mi>x</mi>
                        <mi> </mi>
                        <mo>≥</mo>
                        <mn>1</mn>
                    </mtd>
                </mtr>
            </mtable>
        </mrow>
    </mfenced>
    <mi> </mi>
</math>

Latest Math ML Code

<math xmlns="http://www.w3.org/1998/Math/MathML">
    <semantics>
        <mrow>
            <mi>f</mi>
            <mo stretchy="false">(</mo>
            <mi>x</mi>
            <mo stretchy="false">)</mo>
            <mo>=</mo>
            <mrow>
                <mo fence="true">{</mo>
                <mtable rowspacing="0.16em" columnalign="center" columnspacing="1em">
                    <mtr>
                        <mtd>
                            <mstyle scriptlevel="0" displaystyle="false">
                                <mrow>
                                    <mo stretchy="false">[</mo>
                                    <mi>cos</mi>
                                    <mo>⁡</mo>
                                    <mi>π</mi>
                                    <mi>x</mi>
                                    <mo stretchy="false">]</mo>
                                    <mo separator="true">,</mo>
                                    <mi>x</mi>
                                    <mo>&lt;</mo>
                                    <mn>1</mn>
                                </mrow>
                            </mstyle>
                        </mtd>
                    </mtr>
                    <mtr>
                        <mtd>
                            <mstyle scriptlevel="0" displaystyle="false">
                                <mrow>
                                    <mi mathvariant="normal">∣</mi>
                                    <mi>x</mi>
                                    <mo>−</mo>
                                    <mn>2</mn>
                                    <mi mathvariant="normal">∣</mi>
                                    <mo separator="true">,</mo>
                                    <mn>2</mn>
                                    <mo>&gt;</mo>
                                    <mi>x</mi>
                                    <mo>≥</mo>
                                    <mn>1</mn>
                                </mrow>
                            </mstyle>
                        </mtd>
                    </mtr>
                </mtable>
                <mo fence="true">}</mo>
            </mrow>
        </mrow>
        <annotation encoding="application/x-tex">f(x)=\left\{\begin{array}{c}{[\cos
            \pi
            x], x&lt;1} \\ |x-2|, 2&gt;x \geq 1\end{array}\right.</annotation>
    </semantics>
</math>

Please Guide Us if there are Special settings to Get Latest one Working

@supportmeritstudents

Can you please provide more details about the specific issues you are encountering with the latest MathML representation in Aspose.Words? Are there any error messages or unexpected behaviors?

Please Find The PDF’s Attached with
latest_mathml_version.pdf (213.7 KB)

old_mathml_version.pdf (186.5 KB)

Please look at the Fencing and Font Representation

@supportmeritstudents Do you mean incorrect curved brackets size?
out.docx (7.7 KB)

Yes, regarding Brackets

@supportmeritstudents
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-27669

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Please Find out the zip
mathml_comparision.zip (1.4 KB)

file for MathML Representation

@supportmeritstudents Thank you for additional information. I have already logged the problem into our defect tracking system.

The issues you have found earlier (filed as WORDSNET-27669) have been fixed in this Aspose.Words for Java 25.2 update.

Hi Team, As directed currently I am Using Aspose.Words for Java 25.2 version for converting Html to PDF and Word Document, Bu i have Observed that lastly reported issue is not Fixed, I am attaching Zip File Which Includes HTML, Converted Output and Browser Output Please check both and let me know how we can Get Desired Output, Formula is getting Rendered Properly but There is issue With Fences Like {,},[], || in Browser it shows Complete covering but with aspose its showing small as Shown in Attached resource
aspose_issue_sample.zip (17.7 KB)

@supportmeritstudents
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-28183

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

please update any status on raised issue.

@supportmeritstudents We have completed an initial analysis of the issue, but it is not yet scheduled for development. We will keep you updated regarding the issue.