ASF Bugzilla – Attachment 26818 Details for
Bug 50985
Block elements inside inline elements that cause a page break where the next page has a different IPD causes NullPointerException
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
This test checks two pages are created without a NullPointerException
inline_block_nested_7.xml (text/plain), 3.09 KB, created by
coolkidd3
on 2011-03-30 13:37:49 UTC
(
hide
)
Description:
This test checks two pages are created without a NullPointerException
Filename:
MIME Type:
Creator:
coolkidd3
Created:
2011-03-30 13:37:49 UTC
Size:
3.09 KB
patch
obsolete
><?xml version="1.0" encoding="UTF-8"?> ><!-- > Licensed to the Apache Software Foundation (ASF) under one or more > contributor license agreements. See the NOTICE file distributed with > this work for additional information regarding copyright ownership. > The ASF licenses this file to You under the Apache License, Version 2.0 > (the "License"); you may not use this file except in compliance with > the License. You may obtain a copy of the License at > > http://www.apache.org/licenses/LICENSE-2.0 > > Unless required by applicable law or agreed to in writing, software > distributed under the License is distributed on an "AS IS" BASIS, > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. > See the License for the specific language governing permissions and > limitations under the License. >--> ><!-- $Id: inline_block_nested_6.xml 807014 2009-08-23 20:27:48Z adelmelle $ --> ><testcase> > <info> > <p> > This test checks two pages are created without a NullPointerException > </p> > </info> > <fo> > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> > <fo:layout-master-set> > > <fo:page-sequence-master master-name="chapter-master"> > <fo:repeatable-page-master-alternatives> > <fo:conditional-page-master-reference > master-reference="chapter-first-odd" > master-name="chapter-first-odd" > odd-or-even="odd" page-position="first"/> > <fo:conditional-page-master-reference > master-reference="chapter-rest-even" > master-name="chapter-rest-even" > odd-or-even="even" page-position="rest"/> > </fo:repeatable-page-master-alternatives> > </fo:page-sequence-master> > > <fo:simple-page-master > page-height="6mm" page-width="100mm" > master-name="chapter-first-odd"> > <fo:region-body/> > </fo:simple-page-master> > <fo:simple-page-master > page-height="6mm" page-width="100mm" > margin-left="1mm" > master-name="chapter-rest-even"> > <fo:region-body/> > </fo:simple-page-master> > </fo:layout-master-set> > > <fo:page-sequence > master-reference="chapter-master" master-name="chapter-master"> > <fo:flow flow-name="xsl-region-body" id="Flow"> > <fo:block id="First_Block">Page 1</fo:block> > <fo:block id="Second_Block"> > <fo:inline id="First_Inline"> > <fo:block id="Third_Block"/>Page 2<!-- Null pointer exception Here --> > </fo:inline> > </fo:block> > </fo:flow> > </fo:page-sequence> > </fo:root> > </fo> > <checks> > <!-- The unpatched code provokes a NullPointerException. Just check that the file was produced. --> > <eval expected="2" xpath="count(//pageViewport)"/> > </checks> ></testcase>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 50985
:
26804
|
26818
|
26847