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/07/25 22:43:02 UTC

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

mrglavas    2005/07/25 13:43:02

  Modified:    java/docs faq-xinclude.xml
  Log:
  Adding three new FAQs for questions recently raised on the j-users/j-dev lists.
  
  Revision  Changes    Path
  1.16      +47 -1     xml-xerces/java/docs/faq-xinclude.xml
  
  Index: faq-xinclude.xml
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/docs/faq-xinclude.xml,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- faq-xinclude.xml	20 Jun 2005 22:41:36 -0000	1.15
  +++ faq-xinclude.xml	25 Jul 2005 20:43:02 -0000	1.16
  @@ -38,6 +38,25 @@
        </p>
       </a>
     </faq>
  +  
  +  <faq title="XInclude and validation">
  +   <q>How do the validation features interact with XInclude processing?</q>
  +   <a>
  +    <p>
  +     If the <link idref='features' anchor="validation">validation feature</link>
  +     is turned on then DTD validation will be performed on each source document
  +     (to the XInclude processor) against their respective DTDs.
  +    </p>
  +    <p>
  +     If both the <link idref='features' anchor="validation">validation feature</link>
  +     and the <link idref='features' anchor="validation.schema">schema validation
  +     feature</link> are turned on then schema validation will be performed on the
  +     result infoset generated by the XInclude processor. DTD validation will be
  +     performed on each source document which contains a DTD. No DTD validation errors
  +     will be reported for source documents which have no DTD.
  +    </p>
  +   </a>
  +  </faq>
   
     <faq title="xml:base attributes and XML Schema validation">
       <q>Why are xml:base attributes added, which make Schema validation fail?</q>
  @@ -80,7 +99,22 @@
        <p>
         Yes. The XInclude processor will preserve language information on a top-level included element
         by adding an <code>xml:lang</code> attribute if its include parent has a different [language]
  -      property. Support for language fixup was added to the XInclude implementation in Xerces-J 2.7.0
  +      property. Support for language fixup was added to the XInclude implementation in Xerces-J 2.7.0.
  +     </p>
  +    </a>
  +  </faq>
  +  
  +  <faq title="References Property Fixup">
  +    <q>Does the XInclude processor perform references property fixup?</q>
  +    <a>
  +     <p>
  +      Section <jump href="http://www.w3.org/TR/xinclude/#references-property">4.5.3</jump>
  +      of the XInclude 1.0 W3C Recommendation describes fixup of the [references] property 
  +      of an attribute information item. For IDREF/IDREFS the property contains an ordered
  +      list of element information items. Xerces provides no mechanism for accessing this 
  +      property nor does it keep an internal representation. It should be noted that neither 
  +      the SAX or DOM APIs have native support for the [references] property. For Xerces, 
  +      references property fixup is a no-op.
        </p>
       </a>
     </faq>
  @@ -98,6 +132,18 @@
       </a>
     </faq>
     
  +  <faq title="XPointer and IDs">
  +    <q>What types of IDs are currently supported for XPointers?</q>
  +    <a>
  +     <p>
  +      For shorthand pointers and element() XPointers, currently only 
  +      <jump href="http://www.w3.org/TR/xptr-framework/#term-ddi">DTD-determined ID</jump>s
  +      are supported. <jump href="http://www.w3.org/TR/xptr-framework/#term-sdi">schema-determined ID</jump>s
  +      may be supported in a future release.
  +     </p>
  +    </a>
  +  </faq>
  +  
     <faq title="Content Negotiation">
       <q>Are the values of the content negotiation attributes used in an HTTP request?</q>
       <a>
  
  
  

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