[xep-support] Error reporting in 2 and 3

From: Gustaf Liljegren (gustaf.liljegren@xml.se)
Date: Wed Oct 30 2002 - 08:06:27 PST


I'm evaluating XEP 3 now. Found some differences in error reporting between
XEP 2.7 and 3. In general XEP 3 appears to be more strict, which is good,
but there are also errors found by 2 which is not found by 3, like these:

{!line 1, column 3613: The content of element type
"fo:simple-page-master" must match "(fo:region-body,
fo:region-before?,fo:region-after?,fo:region-start?,
fo:region-end?)".}

This typically occurs if you put the regions in wrong order. The spec say
page masters should contain: (region-body, region-before?, region-after?,
region-start?, region-end?)

{!line 2, column 515: The content of element type
"fo:table-cell" is incomplete, it must match
"(fo:block|fo:block-container|fo:table-and-caption|
fo:table|fo:list-block|fo:footnote|fo:float|
fo:multi-switch|fo:multi-properties|fo:wrapper|
fo:marker|fo:retrieve-marker|rx:fall-through)+".}

This typically occurs if you have a fo:table-cell with no fo:block in. The
spec says table cells should contain: (%block;)+

Aren't XEP 3 too relaxed here?

Gustaf

-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



This archive was generated by hypermail 2.1.5 : Wed Dec 18 2002 - 08:41:28 PST