mrglavas    2004/02/16 15:31:54

  Modified:    java/docs faq-sax.xml
  Log:
  Add FAQ on why the parser reports no namespace for xmlns attributes.
  
  Revision  Changes    Path
  1.3       +12 -0     xml-xerces/java/docs/faq-sax.xml
  
  Index: faq-sax.xml
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/docs/faq-sax.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- faq-sax.xml       13 Feb 2004 23:15:01 -0000      1.2
  +++ faq-sax.xml       16 Feb 2004 23:31:54 -0000      1.3
  @@ -59,6 +59,18 @@
    </p>
     </a>
     </faq>
  +  
  +  <faq title="Namespace of xmlns attributes">
  +    <q>Why does the SAX parser report that xmlns attributes have no namespace?</q>
  +    <a>
  +       <p>An erratum for the Namespaces in XML recommendation put namespace 
declaration 
  +          attributes in the namespace "http://www.w3.org/2000/xmlns/";. SAX2 does 
not 
  +          accept this change so conforming parsers must report that these 
  +          attributes have no namespace. Xerces behaves according to SAX2. Your code
  +          must handle this discrepancy when interacting with APIs such as DOM and
  +          applications which expect a namespace for xmlns attributes.</p>
  +    </a>
  +  </faq>
   
     <faq title="Encodings and XML Version Via SAX">
       <q>Is there any way I can determine what encoding an entity was
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to