To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=88162





------- Additional comments from [EMAIL PROTECTED] Sun Jun  8 16:16:15 +0000 
2008 -------
Thank you for consideration.

Here is another patch patch_88162_2008-06-09.diff. 
Let's see how it works.

Reproduce the phenomenon by referring to the outputs from dmake.
========================================================================
cd $SRC_ROOT/officecfg/registry/data/org/openoffice/Office

xsltproc --verbose \
  --nonet \
  --stringparam xcs
../../../../../registry/schema/org/openoffice/Office/Common.xcs \
  --stringparam schemaRoot ../../../../../registry/schema \
  --stringparam locale en-US \
  ../../../../../util/alllang.xsl \
  Common.xcu 2>&1 | less
========================================================================

Outputs produced with a current XSLT template alllang.xsl includes 
many blank lines.
========================================================================
<?xml version="1.0"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry";
xmlns:install="http://openoffice.org/2004/installation";
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; oor:name="Common"
oor:package="org.openoffice.Office">
  
  
  
  
  <node oor:name="Menus">
    
    <node oor:name="Wizard">
      
      
      
      
      
      
      
      
      
      
      
      
      
      <node oor:name="m16">
        
        <prop oor:name="Title">
          
          <value xml:lang="en-US">Install fonts from the web...</value>
        </prop>
        
        
      </node>
    </node>
  </node>
  
  
  
  
  
</oor:component-data>
========================================================================

Look at a diagnose message additionally attached with a --verbose option.
The message implys that templates for text are missing.
========================================================================
xsltProcessOneNode: no template found for text
xsltDefaultProcessOneNode: copy text 
  
xsltCopyText: copy text 
========================================================================

A template that will take care of texts has been experimentally added 
in the XSLT template file alllang.xsl.
========================================================================
        <!-- catch any unprocessed texts and dispose them -->
        <xsl:template match = "text()" mode="locale"/>
========================================================================

Now outputs produced with a revised alllang.xsl does not have any 
unwanted blank lines.
========================================================================
<?xml version="1.0"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry";
xmlns:install="http://openoffice.org/2004/installation";
xmlns:xs="http://www.w3.org/20
01/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
oor:name="Common" oor:package="org.openoffice.Office">
  <node oor:name="Menus">
    <node oor:name="Wizard">
      <node oor:name="m16">
        <prop oor:name="Title">
          <value xml:lang="en-US">Install fonts from the web...</value>
        </prop>
      </node>
    </node>
  </node>
</oor:component-data>
========================================================================


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to