| Byte #: 1 Byte value: 102
| Byte #: 2 Byte value: 111
| Byte #: 3 Byte value: 111
| Byte #: 4 Byte value: 10
OK. I debugged into this.
The 
 in your <xsl:text>
</xsl:text>
gets normalized to 
 by our XMLParser on the
way *in* so the XSLT transformer sees a character
with ascii value 10 and never sees the character
with ascii value 13.
See section 2.11 of the XML 1.0 spec for the reason
I believe we do this.
To simplify the tasks of applications, wherever an
external parsed entity or the literal entity
value of an internal parsed entity contains either
the literal two-character sequence "#xD#xA" or a
standalone literal #xD, an XML processor must pass
to the application the single character #xA. (This
behavior can conveniently be produced by normalizing
all line breaks to #xA on input, before parsing.)
Our SAXParser appears not to do this, since when
I used the "-x oracle.xml.parser.v2.SAXParser" option
to SAXON, it sees the 13 value and outputs it.
__________________________________________________________
Steve Muench - Developer, Product Mgr, Evangelist, Author
Simplify J2EE and EJB Development with BC4J
http://otn.oracle.com/products/jdev/htdocs/j2ee_bc4j.html
Building Oracle XML Apps, www.oreilly.com/catalog/orxmlapp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Oracle / Text
- mjyoungblut - Thu, 4 Apr 2002 10:20:20 -0500 (EST)
- <Possible follow-ups>
- mjyoungblut - Thu, 4 Apr 2002 16:02:08 -0500 (EST)
- Steve Muench - Fri, 5 Apr 2002 05:27:42 -0500 (EST) <=
|
|