Skip to content
Snippets Groups Projects
  1. Nov 18, 2019
  2. Mar 23, 2019
  3. Oct 27, 2015
  4. Jul 15, 2015
    • Yorhel's avatar
      s/ELEMCLOSE/ELEMEND/ · 822e94e0
      Yorhel authored
      There is no such thing as YXML_ELEMCLOSE. It's START and END. (Or OPEN
      and CLOSE, but thats not the terminology I chose to use, apparently).
      822e94e0
  5. Feb 26, 2014
  6. Jan 10, 2014
  7. Dec 05, 2013
  8. Nov 14, 2013
  9. Nov 13, 2013
  10. Nov 12, 2013
  11. Oct 14, 2013
  12. Sep 26, 2013
    • Yorhel's avatar
      API: Split YXML_DATA for content/pi/attr + remove start-of-content token · 29be339b
      Yorhel authored
      The start-of-content token (previous use of YXML_CONTENT) had to be
      returned together with YXML_ELEMSTART in some cases, which resulted in
      the ugly bitmask hack. The token is not strictly necessary for parsing,
      and I don't think that it was even that valuable, so its been removed.
      
      The YXML_DATA token has been split up into
      YXML_(CONTENT|PICONTENT|ATTRVAL) to give the application more context as
      to what kind of data it is receiving. This has the added benefit that
      the application doesn't need to keep track of whether it is in a context
      that it doesn't care about (e.g. in a PI) in order to handle data. If
      the application is interested in element content and not in PIs, then it
      can now simply ignore the YXML_PI* tokens.
      29be339b
    • Yorhel's avatar
      Add test for internationalized element names · c38aab2a
      Yorhel authored
      c38aab2a
  13. Sep 25, 2013
    • Yorhel's avatar
      Allow non-ASCII characters in attribute and element names · fe8a047a
      Yorhel authored
      Similar reasoning as for allowing non-ASCII characters in data: We can't
      validate them anyway because yxml operates on bytes and is unaware of
      the encoding. This does allow a wide range of characters as
      element/attribute names that aren't formally allowed, but the most
      common use of those names in applications is simply to check whether a
      particular element/attribute name matches one that it knows, and unknown
      names are generally ignored.
      
      Without this change, it is impossible to parse "international" XML
      documents with yxml. It is possible now, but applications do need to do
      further validation on their own if they want to be conforming.
      fe8a047a
  14. Sep 24, 2013
  15. Sep 23, 2013
  16. Sep 22, 2013
  17. Sep 21, 2013
Loading