marco
|
734d1d4949
--- Merging r29761 into '.':
|
10 years ago |
sergei
|
c628942e15
* Fixed compilation with -CR
|
13 years ago |
sergei
|
18079355f5
* fcl-xml, going public with TXMLTextReader: moved most of the code from xmlread.pp to new unit xmltextreader.pp, auxiliary classes moved to xmlreader.pp.
|
13 years ago |
sergei
|
ed9146f918
* Simplified CheckName() a bit.
|
13 years ago |
sergei
|
91f770d774
+ TXmlReader.NameTable public property
|
13 years ago |
sergei
|
bed154d366
* Modified helper TLoader class to access reader node data via an interface, instead of using fields directly.
|
13 years ago |
sergei
|
69ca1accde
* Added NameTable property to TXMLReaderSettings
|
13 years ago |
sergei
|
67d6e8d6af
* When parsing end-tags, compare input with element name from start-tag directly, without calling CheckName (performance).
|
13 years ago |
sergei
|
da5740142e
* Small improvement to parameter entity nesting checks.
|
13 years ago |
sergei
|
cc3023d55d
* Renamed TDOMParseOptions to TXMLReaderSettings (TDOMParseOptions left as alias).
|
13 years ago |
sergei
|
69802878c6
* xmlread.pp, changed constructor using TXMLCharSource into two constructors using TStream and Text, in order to simplify the upcoming public usage of this class.
|
13 years ago |
sergei
|
dfec10d430
* Renamed TXMLCharSource.SystemID to SourceURI to better reflect its purpose (System ID should typically be combined with Base URI to get the full URI for the given resource).
|
13 years ago |
sergei
|
9525abb330
* Simplified TXMLTextReader.ReadTopLevel() a bit.
|
13 years ago |
sergei
|
c815a8d040
* Changed entity handling to use a callback, makes TXmlTextReader class completely independent from the DOM stuff.
|
13 years ago |
sergei
|
bab72f0025
* xmlread.pp, fixed skipping DTD in canonical mode: ReadTopLevel was not recurring, but exiting with undefined result (happened to be 'true' most of the time). This went unnoticed due to redundant check in TLoader.ParseContent.
|
13 years ago |
sergei
|
804e9cd09d
xmlread.pp:
|
13 years ago |
sergei
|
c7259969ce
+ fcl-xml, implemented TDOMNode.BaseURI property.
|
13 years ago |
sergei
|
60fe15b01a
* fcl-xml, improved TNSSupport class to work directly with hashed strings, reduces amount of hash lookups.
|
13 years ago |
sergei
|
c2a2f88bd4
* fcl-xml, making progress with streaming API, implemented IXmlLineInfo interface and fixed reported locations for attributes and their child nodes.
|
13 years ago |
sergei
|
c1531f5c12
* fcl-xml, moved syntax validation procedure from TXMLTextReader to TAttributeDef
|
13 years ago |
sergei
|
eabc0cb53a
* fcl-xml, making progress with streaming API, implemented a few more methods.
|
13 years ago |
sergei
|
a417e9d0b6
* fcl-xml, making progress with streaming API, moved DOM-dependent stuff from TXMLTextReader to the TLoader helper object. Now TXMLTextReader class is almost free from direct DOM dependencies (indirect ones like TDOMParser are still present, also entity handling is still intertwined too closely).
|
13 years ago |
sergei
|
5c2faa4a61
+ fcl-xml, making progress with streaming API, added most method implementations.
|
14 years ago |
sergei
|
f44734d1bc
* fcl-xml, moved check for required attribute presence to ValidateCurrentNode
|
14 years ago |
sergei
|
ede4da62cb
* fcl-xml, track attribute definition tags in reader instead of DTD. Removes need for multiple parsers processing documents based on the same DTD to keep their attribute tag counters in sync.
|
14 years ago |
sergei
|
6adf381867
* fcl-xml, upgrade to comply with XML 1.0 Fifth Edition. This makes naming rules for xml 1.0 identical to ones for xml 1.1.
|
14 years ago |
sergei
|
2d981def2c
* improved handling of attribute value chunks
|
14 years ago |
sergei
|
042f5264bb
* fcl-xml, replacing more occurrences of WideString with XMLString.
|
14 years ago |
sergei
|
57ba5f956e
+ After reaching EOF condition, clear FNodeData[0] slot
|
14 years ago |
sergei
|
45771d0a70
* Changed behavior of FNesting to conform closer to semantics of .net XmlReader: increment it after the start tag has been parsed and decrement before processing the end tag, except for the root element (which is placed at index zero).
|
14 years ago |