mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-06 02:47:48 +01:00
* excludes #$FFFE and #$FFFF from allowed XML 1.1 name chars, so IsXmlName result is correct when its argument comes not from the parser. xmlread.pp: + Two new parsing options, Namespaces and ResolveExternals (not functional yet but needed to proceed). * Fixed checking of WFC [28a], forces fatal error as soon as possible and prevents parsing of further (potentially malicious) data. Hopefully now it is truly compliant to the specs and not just satisfies the tests. * In entity value literals, nesting is checked by entity, not by the input source (consistent to other places). - Saving FCursor around attribute default value isn't necessary because FCursor is always nil while parsing the DTD. * TList's changed to more lightweight TFPList's. * Changed once more (probably the last time) recognizing the standalone percent sign in parameter entity declarations. Rationale is that FCurChar is no more out of sync with FSource.FBuf^, and therefore may be removed. tests/xmlts.pp and tests/README: + Added support for the latest XML test suite (by skipping tests targeted for the upcoming fifth edition of XML specs). + 'Namespaces' option is passed to the parser. * README updated with the latest testsuite URL. git-svn-id: trunk@11303 - |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| fpmake.pp | ||
| Makefile | ||
| Makefile.fpc | ||