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

Schematron test for internal-destination is wrong #22

Closed
michael-aka-mmh opened this issue Sep 2, 2015 · 1 comment
Closed

Schematron test for internal-destination is wrong #22

michael-aka-mmh opened this issue Sep 2, 2015 · 1 comment

Comments

@michael-aka-mmh
Copy link

Current error is:

internal-destination="d13e15" token should be 'empty' or 'string'. Enumeration token is 'd13e15'.

It is not "empty or string" but "empty string or idref"

Can we check if referenced id is specified somewhere in the current document?

Spec says:

7.23.8 "internal-destination"
XSL Definition:
Value: empty string |
Initial: empty string
Inherited: no
Percentages: N/A
Media: interactive

Specifies the destination flow object within the formatting object tree. This property allows the destination flow object node to be explicitly specified.

@tgraham-antenna
Copy link
Member

In fo.rnc:

internal-destination =
    ## empty string | <idref>
    attribute internal-destination { xsd:IDREF }?

The "empty or string" problem is already in #20.

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

2 participants