You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2003/01/28 19:33:24 UTC

cvs commit: xml-xerces/c/src/xercesc/util XMLUni.hpp XMLUni.cpp

peiyongz    2003/01/28 10:33:24

  Modified:    c/src/xercesc/util XMLUni.hpp XMLUni.cpp
  Log:
  Bug#13694: Allow Xerces to write the BOM to XML files
  
  Revision  Changes    Path
  1.26      +2 -1      xml-xerces/c/src/xercesc/util/XMLUni.hpp
  
  Index: XMLUni.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/XMLUni.hpp,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- XMLUni.hpp	24 Jan 2003 22:05:35 -0000	1.25
  +++ XMLUni.hpp	28 Jan 2003 18:33:23 -0000	1.26
  @@ -283,6 +283,7 @@
       static const XMLCh fgDOMWRTSplitCdataSections[];
       static const XMLCh fgDOMWRTValidation[];
       static const XMLCh fgDOMWRTWhitespaceInElementContent[];
  +    static const XMLCh fgDOMWRTBOM[];
   
       // Locale
       static const char  fgXercescDefaultLocale[];
  
  
  
  1.29      +15 -1     xml-xerces/c/src/xercesc/util/XMLUni.cpp
  
  Index: XMLUni.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/XMLUni.cpp,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- XMLUni.cpp	24 Jan 2003 22:05:35 -0000	1.28
  +++ XMLUni.cpp	28 Jan 2003 18:33:23 -0000	1.29
  @@ -1323,6 +1323,20 @@
   	chLatin_n, chLatin_t, chLatin_e, chLatin_n, chLatin_t, chNull
   };
   
  +//Xerces: http://apache.org/xml/features/dom/byte-order-mark
  +const XMLCh XMLUni::fgDOMWRTBOM[] =
  +{
  +    chLatin_h, chLatin_t, chLatin_t, chLatin_p, chColon, chForwardSlash,
  +    chForwardSlash, chLatin_a, chLatin_p, chLatin_a, chLatin_c, chLatin_h,
  +    chLatin_e, chPeriod, chLatin_o, chLatin_r, chLatin_g, chForwardSlash,
  +    chLatin_x, chLatin_m, chLatin_l, chForwardSlash, chLatin_f, chLatin_e,
  +    chLatin_a, chLatin_t, chLatin_u, chLatin_r, chLatin_e, chLatin_s,
  +    chForwardSlash, chLatin_d, chLatin_o, chLatin_m, chForwardSlash,
  +    chLatin_b, chLatin_y, chLatin_t, chLatin_e, chDash,
  +    chLatin_o, chLatin_r, chLatin_d, chLatin_e, chLatin_r, chDash,
  +    chLatin_m, chLatin_a, chLatin_r, chLatin_k, chNull
  +};
  +
   // en_US
   const char XMLUni::fgXercescDefaultLocale[] = "en_US";
   
  
  
  

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