sergei
|
884ec3abb3
* Cleanup ParseContent()
|
14 years ago |
sergei
|
e46c51e1bf
* xmlread.pp: split handling of node and validation stacks. Validation stack is now maintained only in validation mode.
|
14 years ago |
sergei
|
9ca12c0377
* xmlread.pp, remove FCursorStack and resort back to a single cursor node. But this time it is simply a local variable.
|
14 years ago |
sergei
|
8ed16bb3ab
* xmlread.pp, continue separating validation checks from the rest of code.
|
14 years ago |
sergei
|
6a26b9cff3
* xmlread.pp, started separating validation checks from the rest of code.
|
14 years ago |
sergei
|
6ccb769768
* xmlread.pp, the end of root element is now detected without involving DOM nodes.
|
14 years ago |
sergei
|
58725cdedd
* xmlread.pp, handle entity references in streaming style.
|
14 years ago |
sergei
|
3ea7f81f7e
+ fcl-xml, initial implementation of 'shared' DTD: it now consists of the model (classes TDTDModel, TEntityDecl, TNotationDecl), which is referenced by one or more TDOMDocumentType nodes.
|
14 years ago |
sergei
|
f74c81aaeb
* Don't mess with DOM stuff in TXMLReader.ParseXmlOrTextDecl. Instead, put declaration attributes into fields of FSource, and copy them to DOM objects later.
|
14 years ago |
sergei
|
caa786af56
* xmlread.pp, fixed condition that was causing an infinite loop in case when a malformed xml contained a null character within whitespace (to be exact, within parts processed by SkipS procedure). Great thanks to alexs75 for finding and supplying such xml file :)
|
14 years ago |
sergei
|
b066395a2b
* xmlread.pp: separated DOM-specific code into DoStartElement(); introduced FNameTable.
|
15 years ago |
sergei
|
6cb9cdcc0d
* xmlread.pp: maintain ID map at reader side, so it can do ID/IDREF validation without DOM.
|
15 years ago |
sergei
|
22f0692745
* xmlread.pp: since FIdRefs and FNotationRefs are never used at the same time (the former is used only while parsing root, the latter only while parsing DTD), simplify things a bit by replacing them with a single FForwardRefs.
|
15 years ago |
sergei
|
b4aa087aad
* xmlread.pp, implemented some c14n features: when parsing with Options.CanonicalForm=True, report all attributes as specified and drop superfluous namespace declaration attributes. Fixes level3/ls/canonicalform10 and level3/ls/canonicalform11.
|
15 years ago |
sergei
|
d96e17da77
* xmlread.pp, fixed an issue introduced by combination of r16046 and r16172: assigning doc.DocumentType only after DTD has been completely parsed prevented inner reader from parsing 2nd+ level entity references in default attribute values. This went unnoticed because of no positive tests, and was detected only by examining negative test diagnostic, namely for not-wf-sa-079 and not-wf-sa-080.
|
15 years ago |
sergei
|
4468f72f6c
* xmlread.pp, added location information to TNodeData and got namespace-related errors reported at correct locations.
|
15 years ago |
sergei
|
068d2fba37
* xmlread.pp, modified attribute parsing code to use DOM-independent data structures (third part)
|
15 years ago |
sergei
|
4579226771
+ New unit dtdmodel.pp containing DTD-related classes.
|
15 years ago |
sergei
|
b585a6a1d0
* xmlread.pp, continued reducing DOM dependencies:
|
15 years ago |
sergei
|
7e5ff8ca89
* xmlread.pp, modified attribute parsing code to use DOM-independent data structures (second part)
|
15 years ago |
sergei
|
e0d8556cae
* xmlread.pp, modified attribute parsing code to use DOM-independent data structures (first part)
|
15 years ago |
sergei
|
dfe1c0f228
xmlread.pp, r16175 caused a regression in level1/core/commentgetcomment; we should ignore comments in DTD, but not between DTD and root element. Fixed.
|
15 years ago |
sergei
|
d248315ae4
* xmlread.pp, do some cleanup and get rid of FCursor field.
|
15 years ago |
sergei
|
6cb12d0efc
* xmlread.pp, doing progress with streaming API:
|
15 years ago |
sergei
|
d3bdf2577c
* xmlread.pp, doing progress with streaming API:
|
15 years ago |
sergei
|
6cc206ac77
* xmlread.pp: started implementing the streaming API, aka XmlTextReader from .net world.
|
15 years ago |
sergei
|
1dc083438e
* xmlread.pp, renamed all parameters and local vars named 'Name', 'Prefix', 'BaseUri' and 'Value', so it becomes possible to add properties with these names to TXMLReader without duplicate identifier errors.
|
15 years ago |
sergei
|
fd892533c3
* xmlread.pp, a bit better separation of DOM-specific and DOM-independent code in ParseComment() and ParsePI().
|
15 years ago |
sergei
|
3648247faf
XML reader, forgot to pass current settings to the nested reader (although it doesn't seem to change test suite behavior).
|
15 years ago |
sergei
|
347267dfe6
XML reader:
|
15 years ago |