The following issue has been updated:

    Updater: elharo (mailto:[EMAIL PROTECTED])
       Date: Sun, 19 Sep 2004 2:50 PM
    Comment:
XML input document
    Changes:
             Attachment changed to xslt_test_id_function.xml
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XALANJ-1947?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XALANJ-1947

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XALANJ-1947
    Summary: XSLTFunctions_TestIdFuncInComplexStruct
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XalanJ2
 Components: 
             Xalan-interpretive transformation
   Versions:
             2.6

   Assignee: 
   Reporter: elharo

    Created: Sun, 19 Sep 2004 2:47 PM
    Updated: Sun, 19 Sep 2004 2:50 PM

Description:
Xalan is failign OASIS XSLT test case XSLTFunctions_TestIdFuncInComplexStruct. 
libxslt2 passes this test case, and I think the test output is correct. Xalan seems to 
be adding extra line breaks here for unclear reasons. This test case should produce 
this output:

<?xml version="1.0"?>
<out>
  Test for id selection and pattern matching...
  Next line should read: -*id17*-    
  -*id17*-

  Next line should read: (*id14*)    
  (*id14*)

  Next line should read: -*id4*-     
  -*id4*-

  Next line should read: +*id9*+     
  +*id9*+

  Next line should read: (*id13*)    
  (*id13*)

  Next line should read: -*id6*-     
  -*id6*-

  Next line should read: @*id19*@    
  @*id19*@

  Next line should read: %*id12*%    
  %*id12*%

  Next line should read: !*id11*!    
  !*id11*!

  Next line should read: [*id3*] \*id5*\ =*id16*=  
  [*id3*]

  \*id5*\

  =*id16*=
</out>

However, it produces this output instead. Note the exxtra line breaks:


<?xml version="1.0"?>
<out>
  Test for id selection and pattern matching...
  Next line should read: -*id17*-    
  
  -*id17*-

  Next line should read: (*id14*)    
  
  (*id14*)

  Next line should read: -*id4*-     
  
  -*id4*-

  Next line should read: +*id9*+     
  
  +*id9*+

  Next line should read: (*id13*)    
  
  (*id13*)

  Next line should read: -*id6*-     
  
  -*id6*-

  Next line should read: @*id19*@    
  
  @*id19*@

  Next line should read: %*id12*%    
  
  %*id12*%

  Next line should read: !*id11*!    
  
  !*id11*!

  Next line should read: [*id3*] \*id5*\ =*id16*=  
  
  [*id3*]

  \*id5*\

  =*id16*=
</out>


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to