You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2005/06/14 06:39:51 UTC

cvs commit: xml-xerces/java/docs faq-xs.xml

mrglavas    2005/06/13 21:39:51

  Modified:    java/docs faq-xs.xml
  Log:
  Adding an FAQ on accessing PSVI with the JAXP 1.3 Validation API.
  
  Revision  Changes    Path
  1.16      +12 -0     xml-xerces/java/docs/faq-xs.xml
  
  Index: faq-xs.xml
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/docs/faq-xs.xml,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- faq-xs.xml	15 Mar 2005 21:13:37 -0000	1.15
  +++ faq-xs.xml	14 Jun 2005 04:39:51 -0000	1.16
  @@ -201,6 +201,18 @@
   PSVIProvider psviProvider = (PSVIProvider)reader;</source>
       </a>
     </faq>
  +
  + <faq title="Accessing PSVI via the JAXP 1.3 Validation API">
  +   <q>How do I access PSVI via the JAXP 1.3 Validation API?</q>
  +   <a> <p>Like the Xerces SAX parser the implementations of <code>javax.xml.validation.Validator</code>
  +       and <code>javax.xml.validation.ValidatorHandler</code> also implement the
  +       <code>org.apache.xerces.xs.PSVIProvider</code> interface. Within the scope of the methods 
  +       handling the start (<code>org.xml.sax.ContentHandler.startElement</code>) and end 
  +       (<code>org.xml.sax.ContentHandler.endElement</code>) of an element, applications may use 
  +       the <code>PSVIProvider</code> to retrieve the PSVI related to the element and its attributes.</p>
  +   </a>
  + </faq>
  +  
     <faq title="Parsing and analyzing an XML schema">
       <q>How do I parse and analyze an XML schema?</q>
       <a> <p>Please, refer to the <link idref='faq-grammars'>Examining Grammars</link> FAQ.</p>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org