diff options
author | Keiron Liddle <keiron@apache.org> | 2001-10-08 09:55:22 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2001-10-08 09:55:22 +0000 |
commit | e052f0e8b0f185e371412ceaa357310053efa2f5 (patch) | |
tree | b433bf378ad644806963d61f3b00281a5936b5e3 /test/errors/unknown.fo | |
parent | 00589aec361fc04bf6dcb47b1fab513541744be4 (diff) | |
download | xmlgraphics-fop-e052f0e8b0f185e371412ceaa357310053efa2f5.tar.gz xmlgraphics-fop-e052f0e8b0f185e371412ceaa357310053efa2f5.zip |
added some tests with invalid xml or unknown namespaces
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194495 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/errors/unknown.fo')
-rw-r--r-- | test/errors/unknown.fo | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/test/errors/unknown.fo b/test/errors/unknown.fo new file mode 100644 index 000000000..490a6375b --- /dev/null +++ b/test/errors/unknown.fo @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<fo:root source-document="a" xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <fo:layout-master-set> + <fo:simple-page-master + margin-right="1.5cm" + margin-left="1.5cm" + margin-bottom="2cm" + margin-top="1cm" + page-width="21cm" + page-height="29.7cm" + master-name="first"> + <fo:region-before extent="1cm"/> + <fo:region-body margin-top="1cm"/> + <fo:region-after extent="1.5cm"/> + </fo:simple-page-master> + </fo:layout-master-set> + + <fo:page-sequence master-name="first"> + <fo:flow source-document="a" flow-name="xsl-region-body"> + + <fo:block source-document="inherit" space-before.optimum="3pt" space-after.optimum="15pt"> + The Counter Extension + </fo:block> + + <fo:block space-before.optimum="3pt" space-after.optimum="20pt"> + +<fo:instream-foreign-object> +<fake xmlns="http://www.foo.com/fake"> +<a> +</a> +</fake> +</fo:instream-foreign-object> + </fo:block> + </fo:flow> + </fo:page-sequence> +</fo:root> + |