bugzilla | 1 Feb 2005 02:22
Picon
Favicon

DO NOT REPLY [Bug 33320] New: - Malformed regexps in src/foschema/fop.xsd

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33320>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33320

           Summary: Malformed regexps in src/foschema/fop.xsd
           Product: Fop
           Version: 0.20.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: general
        AssignedTo: fop-dev <at> xml.apache.org
        ReportedBy: hertzsprrrung <at> btopenworld.com

[PATCH] Some regexps are malformed in fop schema (as reported by Xerces).

Patch follows:

--- fop.xsd	2005-02-01 01:14:30.000000000 +0000
+++ fop.xsd.new	2005-02-01 01:14:19.000000000 +0000
 <at>  <at>  -775,11 +775,11  <at>  <at> 
         <enumeration value = "+3"/>
         <enumeration value = "5"/>
       </documentation>
(Continue reading)

bugzilla | 1 Feb 2005 02:23
Picon
Favicon

DO NOT REPLY [Bug 33321] New: - Malformed regexps in src/foschema/fop.xsd

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33321>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33321

           Summary: Malformed regexps in src/foschema/fop.xsd
           Product: Fop
           Version: 0.20.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: general
        AssignedTo: fop-dev <at> xml.apache.org
        ReportedBy: hertzsprrrung <at> btopenworld.com

[PATCH] Some regexps are malformed in fop schema (as reported by Xerces).

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

bugzilla | 1 Feb 2005 02:24
Picon
Favicon

DO NOT REPLY [Bug 33321] - Malformed regexps in src/foschema/fop.xsd

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33321>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33321

------- Additional Comments From hertzsprrrung <at> btopenworld.com  2005-02-01 02:24 -------
Created an attachment (id=14145)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14145&action=view)
Patch for fop.xsd

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

bugzilla | 1 Feb 2005 02:26
Picon
Favicon

DO NOT REPLY [Bug 33320] - Malformed regexps in src/foschema/fop.xsd

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33320>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33320

hertzsprrrung <at> btopenworld.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

------- Additional Comments From hertzsprrrung <at> btopenworld.com  2005-02-01 02:26 -------

*** This bug has been marked as a duplicate of 33321 ***

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

bugzilla | 1 Feb 2005 02:26
Picon
Favicon

DO NOT REPLY [Bug 33321] - Malformed regexps in src/foschema/fop.xsd

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33321>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33321

------- Additional Comments From hertzsprrrung <at> btopenworld.com  2005-02-01 02:26 -------
*** Bug 33320 has been marked as a duplicate of this bug. ***

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Jeremias Maerki | 1 Feb 2005 22:44
Picon
Favicon

Problem with newlines in TextLayoutManager

Luca (and maybe Finn),

I think I found a problem with TextLayoutManager where NEWLINEs are not
properly handled. Consider the following block (extracted from list.fo):

          <fo:block line-height="10pt" space-before.optimum="5cm" 
            white-space-collapse="false" white-space-treatment="preserve" linefeed-treatment="preserve" wrap-option="no-wrap">
<![CDATA[<!-- list level 1 -->
<fo:list-block provisional-distance-between-starts="0.4cm"
               provisional-label-separation="0.15cm">

  <!-- list item -->
]]>
</fo:block>

If the FO file is parsed directly the SAX events happen to always start
with a NEWLINE and then adding exactly one line of text. In this case
the current algorithm finds the NEWLINE characters and adds the
necessary KnuthPenalty.

However, if you do an XSLT transform (as happens with my layout engine
test cases) the SAX characters() call can contain more than one line at
once. In this case the algorithm ignores the NEWLINEs (see comment). I
wonder why this was done like this. I think the whole linefeed handling
is done beforehand and all NEWLINEs still coming through this algorithm
are preserved linefeeds.

Is there some reason why my patch below would make anything worse? It
seems to fix my problem here and all my test cases still pass (at least
the ones that passed before).
(Continue reading)

Jeremias Maerki | 1 Feb 2005 22:55
Picon
Favicon

Re: cvs commit: xml-fop/test/layoutengine/testcases normal-breaking2.xml

Just to be clear. This ArrayOutOfBoundsException is not the same problem
I've described in my earlier post. I just happened to run into both
problems at the same time. Running normal-breaking2.xml with the current
code (without my patch) will result in a document with 1 page and the
linefeeds displayed as "#". So, this test will fail because of the
single check in the test case.

If someone has an idea about the ArrayOutOfBoundsException, all the
better. I'm currently trying to debug that thing.

On 01.02.2005 22:51:38 jeremias wrote:
> jeremias    2005/02/01 13:51:37
> 
>   Modified:    test/layoutengine disabled-testcases.txt
>   Added:       test/layoutengine/testcases normal-breaking2.xml
>   Log:
>   Regression test for ArrayOutOfBoundsException in LineLayoutManager.addAreas() (to be fixed).

Jeremias Maerki

bugzilla | 1 Feb 2005 23:06
Picon
Favicon

DO NOT REPLY [Bug 33321] - Malformed regexps in src/foschema/fop.xsd

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33321>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33321

------- Additional Comments From jeremias <at> apache.org  2005-02-01 23:06 -------
I'm not an expert on XML Schema and regular expressions, but shouldn't the "+" 
also be escaped, i.e. [\+\-]? If yes, don't bother to write a new patch. I'll 
do that for you, James.

http://www.w3.org/TR/xmlschema-2/#cces

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Amin Ahmad | 2 Feb 2005 07:00
Picon
Favicon

FOP Bridge plug-in for FOP and Eclipse Integration

Hello Team FOP,

I wanted to let you know about a plugin for FOP integrates into Eclipse 3.x 
and allows users to render fo documents into any one of the many output 
formats supported by FOP, as well as TIFF, via the TIFF renderer component. 
I don't know if you would consider adding a link to the tool from the FOP 
website, as, to my knowledge, this is the first such tool that offers such 
integration.

http://www.ahmadsoft.org/fopbridge.html

thank you,
Amin Ahmad

bugzilla | 2 Feb 2005 08:33
Picon
Favicon

DO NOT REPLY [Bug 33321] - Malformed regexps in src/foschema/fop.xsd

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33321>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33321

jeremias <at> apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

------- Additional Comments From jeremias <at> apache.org  2005-02-02 08:33 -------
Patch applied with modifications. Thanks, James.

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Gmane