CVS Update: xmlpull-api-v1/doc

Aleksander Andrzej Slominski <[email protected]>
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
aslom       02/08/26 22:05:58

  Modified:    doc      features.html
  Log:
  added optional feature EXPAND ENTITY REF
  
  Revision  Changes    Path
  1.16      +29 -0     xmlpull-api-v1/doc/features.html
  
  Index: features.html
  ===================================================================
  RCS file: /l/extreme/cvspub/xmlpull-api-v1/doc/features.html,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -b -t -w -r1.15 -r1.16
  --- features.html	2002/08/14 19:06:15	1.15
  +++ features.html	2002/08/27 03:05:58	1.16
  @@ -123,6 +123,35 @@
   <h3>
   &nbsp;</h3>
   <h3>
  +<a name="expand-entity-ref"></a>Optional feature: EXPAND ENTITY REF</h3>
  +<p>This feature is identified by
  +<a href="http://xmlpull.org/v1/doc/features.html#expand-entity-ref">
  +http://xmlpull.org/v1/doc/features.html#expand-entity-ref</a> </p>
  +
  +<p>
  +This optional feature changes behavior of nextToken() and when enabled parser <b>
  +MUST</b> report expanded entity reference content as tokens and <b>MUST</b> 
  +report end of expanded entity ref as ENTITY_REF with name that is null 
  +(getText() returns null).</p>
  +
  +<p>
  +For example if entity foo was defined to have replacement text bar then parser 
  +will report following tokens: ENTITY_REF with 'foo' as entity name, TEXT with 
  +value 'bar' and ENTITY_REF with no name to signal end of expansion) . If 
  +PROCESS_DOCDECL is true then reported tokens may include START_TAG/END_TAG if 
  +entity has embedded markup and ENTITY_REF for recursively expanded entity 
  +references (following calls to nextToken() will report entity content&nbsp; as 
  +possibly multiple TEXT, START_TAG, END_TAG, ENTITY_REF etc.). </p>
  +
  +<p>
  +NOTE: it can only be supported when PROCESS_DOCDECL is true as 
  +defineEntityReplacementText() will always escape markup or entity references.</p>
  +
  +<p>
  +NOTE: next() will always expand entity ref and report combined TEXT event and 
  +this feature does not affect next() behavior.<br>
  +&nbsp;</p>
  +<h3>
   <a name="xml-roundtrip"></a>Optional feature: XML ROUNDTRIP</h3>
   <p>This feature is identified by
   <a href="http://xmlpull.org/v1/doc/features.html#xml-roundtrip">
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.