PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3371

*** shadow/3371 Sun Sep  2 01:26:35 2001
--- shadow/3371.tmp.12152       Sun Sep  2 01:26:36 2001
***************
*** 0 ****
--- 1,36 ----
+ +============================================================================+
+ | Process instructions do not behave according to w3c rec.                   |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3371                        Product: XalanC                  |
+ |       Status: NEW                         Version: 1.2.x                   |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: Other                     Component: XalanC                  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                     |
+ |  Reported By: [EMAIL PROTECTED]                                          |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ According to the w3c recommendation, process instructions can appear anywhere
+ in an XML/XSL document and they should have no effect on all other XML 
+ statements.
+ Xalan has a bug that if you wrap statements within PI's, It will not pass 
+ through, unless it ends with an XML element.
+ 
+ The following xsl code will output nothing:
+ <TD><?ima-pi?>This text will not pass Xalan parsing<?ima-pi?></TD>
+ 
+ However, the following code does produce output:
+ <TD><?ima-pi?>This text will pass Xalan parsing because it ends with
+ an XML element <i/><?ima-pi?></TD>
+ 
+ I wanted to make use of process instructions to support a localization 
+ architecture I have. I meant to wrap all text in an XSL stylesheet with my
+ special process instructions and run an executable of mine to parse out the 
+ localized strings and replace them.
+ However, this bug in Xalan inhibits the use of this architecture.
+ 
+ Idan Avisar

Reply via email to