[ http://issues.apache.org/jira/browse/XALANJ-1339?page=all ]

Brian Minchau updated XALANJ-1339:
----------------------------------

    Version: Latest Development Code
                 (was: 2.0.1)

> TransformerException when XML File is Exactly 16K
> -------------------------------------------------
>
>          Key: XALANJ-1339
>          URL: http://issues.apache.org/jira/browse/XALANJ-1339
>      Project: XalanJ2
>         Type: Bug
>   Components: Xalan
>     Versions: Latest Development Code
>  Environment: Operating System: AIX
> Platform: Other
>     Reporter: Henry Michals
>     Assignee: Xalan Developers Mailing List
>  Attachments: AccInqMain.xsl, serverXml.xml
>
> On an AIX platform, if org.apache.xalan.transformer.TransformerImpl.transform 
> is applied to an xml file of 16KB size, then the following exception is 
> thrown:
> javax.xml.transform.TransformerException: The root element is required in a 
> well-formed document.
>       at org.apache.xalan.transformer.TransformerImpl.transform
> (TransformerImpl.java:667)
>       at org.apache.xalan.transformer.TransformerImpl.transform
> (TransformerImpl.java:1147)
> The failure occurs on AIX4.3.3.6 and AIX4.3.3.10 but likely happens on any OS 
> level.  The failure doesn't manifest under Windows 2000.
> The size of the xml stream under Windows 2000 reports as 16386, while, 
> presumably, on AIX it reports as 16384.
> We have a sample XSL and an XML file that will reproduce the problem.  Please 
> send an e-mail to [EMAIL PROTECTED]
> The failure occurs using xalan 2.0.1 but also on xalan 1.2.2.  It likely 
> occurs 
> with xalan 2.4.6 as well, but we haven't tried it out yet.
> The problem is likely a reflection of the system buffer size

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to