Skip to content

cvc-complex-type.3.2.2: Attribute 'textAdjust' is not allowed to appear in element 'textField'. #300

Open
@AdeSupriyadi

Description

@AdeSupriyadi

I want make textField when its content overflow its wraped
image

If I preview in JasperStudio it's running OK

But when it's execute via PhpJasper its fail.

Describe the bug
lineNumber: 169; columnNumber: 42; cvc-complex-type.3.2.2: Attribute 'textAdjust' is not allowed to appear in element 'textField'.

jrxml at line 169

<textField textAdjust="StretchHeight">
				<reportElement positionType="Float" x="10" y="105" width="546" height="22" uuid="8b465be7-9f55-423a-b71f-d3986bdff5a6"/>
				<box topPadding="2" leftPadding="4" bottomPadding="2" rightPadding="4">
					<pen lineWidth="0.5"/>
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Arial" isBold="true" isItalic="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{terbilang}]]></textFieldExpression>
			</textField>

Env

  • OS: Ubuntu 20.04
  • Browser chrome
  • PhpJasper 3.3.1
  • JasperStudio 6.13.0, 6.17.0
  • PHP 7.4.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions