Menu

#5 nested CDATA and <value-of>

open
nobody
None
5
2004-04-17
2004-04-17
Anonymous
No

I modified x-frame (attached) as below,
XVCL processor did not complain but
I could not open SGE to show this x-frame
(both SPC and dir view)

<![CDATA[
public CharSequence subSequence(int start, int end) {
int len = length();
int pos = position();
assert (pos <![CDATA[<]]>= len);
pos = (pos <![CDATA[<]]>= len ? pos : len);

if \(\(start &lt;\!\[CDATA\[&lt;\]\]&gt; 0\) || \(end &lt;\!\[CDATA

[>]]> len) || (start <![CDATA[>]]> end))
throw new IndexOutOfBoundsException();
int sublen = end - start;
int off = offset + ((pos + start) <![CDATA[<]]
><![CDATA[<]]> <value-of expr="?@elmtSize?"/>);
return new ByteBufferAsCharBufferR<value-of
expr="?@ByteOrder?"/>(bb, -1, 0, sublen, sublen, off);
}

]]>

Discussion

  • Nobody/Anonymous

     
  • Cao Yang

    Cao Yang - 2004-04-21

    Logged In: YES
    user_id=752246

    Nested CDATA are not allowed in XML. so it reports the error.

     

Log in to post a comment.

MongoDB Logo MongoDB