Skip to content
New issue

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

Invalid attribute field-readonly in axf:form-field #45

Closed
raducoravu opened this issue May 11, 2022 · 1 comment
Closed

Invalid attribute field-readonly in axf:form-field #45

raducoravu opened this issue May 11, 2022 · 1 comment

Comments

@raducoravu
Copy link
Contributor

We received this feedback:
https://www.oxygenxml.com/forum/viewtopic.php?f=7&t=24267
about an XSL-FO file like this being considered invalid as it uses the "field-readonly" attribute in an axf:form-field :

    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
        xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"
        xml:lang="en">
        <fo:layout-master-set>
            <fo:simple-page-master master-name="spm">
                <fo:region-body/>
            </fo:simple-page-master>
        </fo:layout-master-set>
        <fo:page-sequence master-reference="spm">
            <fo:flow flow-name="xsl-region-body">
                <fo:block>Hello, wo<axf:form-field
    field-type="text"
    field-name="dontwritehere"
    field-readonly="true"
    field-flags="Hidden"
    field-default-text="You can't write here!"/>rld.</fo:block>
            </fo:flow>
        </fo:page-sequence>
    </fo:root>
@raducoravu
Copy link
Contributor Author

Thanks @tgraham-antenna

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant