summaryrefslogtreecommitdiff
path: root/src/core/parser/stack/DocumentHandler.cpp
AgeCommit message (Collapse)Author
2016-04-25added test for empty explicit fields, which currently fails.Benjamin Paassen
2016-04-25First implementation of user defined syntax, many features still missing and ↵Andreas Stöckel
probably many bugs * Implement startToken and endToken in DocumentChildHandler * Implement pushScopeToken, which pushes tokens for the element that is currently on top of the Scope stack onto the token stack * Implement rollbackPath() method (was really needed once in the development process, but only used in one place for now) * Push and pop tokens from stack whenever a new explicit field or command is created/ended. Take advantage of the fact, that the tokens for transparent structures are always included in the token list * Remember pending close tokens in the HandlerInfo structure in StackImpl * Implement handleToken() in StackImpl * Implement readToken() method used by readData() and data() in StackImpl * Check whether there still is data available in handleData() * Plus many more changes in the affected files...
2016-04-25Use getFieldDescriptor method with numeric indexAndreas Stöckel
2016-04-25Remove "inherit" flag in TokenStack, add tiny unit test for TokenStack, ↵Andreas Stöckel
temporarily remove pushTokens and popTokens calls from DocumentChildHandler
2016-04-25Add getDescriptor method to DocumentField classAndreas Stöckel
2016-04-25Reenable pushing user defined tokens onto the stack (however, user defined ↵Andreas Stöckel
tokens do not work yet) -- but if no tokens are defined, everything should work as before.
2015-03-04Prepared implementation of user defined tokensAndreas Stöckel
2015-03-03added more complex tests and prevented endless loops in ↵Andreas Stöckel
DocumentChildHandler::startAnnotation
2015-03-03Implemented annotation handlingAndreas Stöckel
2015-03-03Storing type and name in the HandlerData once again, using a TokenAndreas Stöckel
Conflicts: application/src/core/parser/stack/Callbacks.hpp
2015-03-02Storing type and name in the HandlerData once again, using a TokenAndreas Stöckel
2015-03-02Implemented new "start" methods in the Handler instancesAndreas Stöckel
2015-03-02Got all handlers compling againAndreas Stöckel
2015-03-01improved error messages for empty field names.Benjamin Paassen
2015-03-01Renamed domain to ontology.Benjamin Paassen
2015-02-25start of branch, commit log will be rewrittenAndreas Stöckel
2015-02-18fixed a bug with empty fields.Benjamin Paassen
2015-02-18fixed a bug with doubled root nodes.Benjamin Paassen
2015-02-18Fix for issue #85 -- only allowing explicit fields if no structure elements ↵Andreas Stöckel
or data have been given beforehand. Added unit tests.
2015-02-18Implemented automatic validation of RootNode instances in ParserScopeAndreas Stöckel
2015-02-17Remove debug informationAndreas Stöckel
2015-02-17Merge branch 'master' of somweyr.de:ousiaBenjamin Paassen
2015-02-17added some debug information to document handler.Benjamin Paassen
2015-02-17Improved error messages in case no primitive field is present, but data is givenAndreas Stöckel
2015-02-16completely reworked document handler to be consistent with OSML and provide ↵Benjamin Paassen
more coherent behaviour in general.
2015-02-16added return value in addFieldDescriptor related methods to indicate whether ↵Benjamin Paassen
the order of fields had to be changed.
2015-02-15Merge branch 'astoecke_parser_stack_new'Andreas Stöckel
Conflicts: application/src/core/parser/stack/DocumentHandler.cpp application/src/core/parser/stack/DocumentHandler.hpp
2015-02-15Declaring States in the Handler classesAndreas Stöckel
2015-02-15added support for transparency between explicit fields and child structure ↵Benjamin Paassen
element.
2015-02-15added support for transparent elements between explicit fields and primitive ↵Benjamin Paassen
content.
2015-02-15Slightly adapted Handler instances to new Handler, once again passing ↵Andreas Stöckel
non-const references to data and start, using "parseGenericString" in DocumentHandler for resolving non-string values, added unit test for testing whether "end()" is not called if "start()" fails.
2015-02-15Included handler classes from masterAndreas Stöckel
2015-02-13improved error messages of DocumentChildHandler::dataBenjamin Paassen
2015-02-13refactored handler classes of XMLParser into own files in core/parser/stack.Benjamin Paassen