Skip to content

Commit

Permalink
regenerated foliaspec and adapted to renamed test document (proycon/f…
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Aug 19, 2021
1 parent 8e94e97 commit 102fab5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion folia-repo
10 changes: 8 additions & 2 deletions folia/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

#foliaspec:version:FOLIAVERSION
#The FoLiA version
FOLIAVERSION = "2.5.0"
FOLIAVERSION = "2.5.1"

#foliaspec:namespace:NSFOLIA
#The FoLiA XML namespace
Expand Down Expand Up @@ -9353,7 +9353,7 @@ def validate(filename,schema=None,deep=False):
#================================= FOLIA SPECIFICATION ==========================================================

#foliaspec:header
#This file was last updated according to the FoLiA specification for version 2.5.0 on 2021-04-02 13:45:09, using foliaspec.py
#This file was last updated according to the FoLiA specification for version 2.5.1 on 2021-08-19 11:16:16, using foliaspec.py
#Code blocks after a foliaspec comment (until the next newline) are automatically generated. **DO NOT EDIT THOSE** and **DO NOT REMOVE ANY FOLIASPEC COMMENTS** !!!

#foliaspec:structurescope:STRUCTURESCOPE
Expand Down Expand Up @@ -9585,6 +9585,7 @@ def validate(filename,schema=None,deep=False):
AbstractElement.AUTH = True
AbstractElement.AUTO_GENERATE_ID = False
AbstractElement.HIDDEN = False
AbstractElement.IMPLICITSPACE = False
AbstractElement.OCCURRENCES = 0
AbstractElement.OCCURRENCES_PER_SET = 0
AbstractElement.OPTIONAL_ATTRIBS = None
Expand Down Expand Up @@ -9888,6 +9889,7 @@ def validate(filename,schema=None,deep=False):
Hiddenword.XMLTAG = "hiddenw"
#------ Hyphbreak -------
Hyphbreak.ANNOTATIONTYPE = AnnotationType.HYPHENATION
Hyphbreak.IMPLICITSPACE = True
Hyphbreak.LABEL = "Hyphbreak"
Hyphbreak.TEXTDELIMITER = ""
Hyphbreak.XMLTAG = "t-hbr"
Expand All @@ -9908,6 +9910,7 @@ def validate(filename,schema=None,deep=False):
LevelFeature.XMLTAG = None
#------ Linebreak -------
Linebreak.ANNOTATIONTYPE = AnnotationType.LINEBREAK
Linebreak.IMPLICITSPACE = True
Linebreak.LABEL = "Linebreak"
Linebreak.TEXTDELIMITER = ""
Linebreak.XLINK = True
Expand Down Expand Up @@ -10227,6 +10230,7 @@ def validate(filename,schema=None,deep=False):
TextMarkupGap.XMLTAG = "t-gap"
#------ TextMarkupHSpace -------
TextMarkupHSpace.ANNOTATIONTYPE = AnnotationType.HSPACE
TextMarkupHSpace.IMPLICITSPACE = True
TextMarkupHSpace.TEXTDELIMITER = ""
TextMarkupHSpace.XMLTAG = "t-hspace"
#------ TextMarkupLanguage -------
Expand All @@ -10248,6 +10252,7 @@ def validate(filename,schema=None,deep=False):
TextMarkupStyle.XMLTAG = "t-style"
#------ TextMarkupWhitespace -------
TextMarkupWhitespace.ANNOTATIONTYPE = AnnotationType.WHITESPACE
TextMarkupWhitespace.IMPLICITSPACE = True
TextMarkupWhitespace.PRIMARYELEMENT = False
TextMarkupWhitespace.TEXTDELIMITER = ""
TextMarkupWhitespace.XMLTAG = "t-whitespace"
Expand Down Expand Up @@ -10275,6 +10280,7 @@ def validate(filename,schema=None,deep=False):
ValueFeature.XMLTAG = None
#------ Whitespace -------
Whitespace.ANNOTATIONTYPE = AnnotationType.WHITESPACE
Whitespace.IMPLICITSPACE = True
Whitespace.LABEL = "Whitespace"
Whitespace.TEXTDELIMITER = ""
Whitespace.XMLTAG = "whitespace"
Expand Down
2 changes: 1 addition & 1 deletion folia/tests/maintest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4460,7 +4460,7 @@ def test015_textwhitespace(self):

class Test88b_Whitespace(unittest.TestCase):
def setUp(self):
self.doc = folia.Document(file=os.path.join(FOLIAPATH,"examples/tests/issue88b.2.5.0.folia.xml"))
self.doc = folia.Document(file=os.path.join(FOLIAPATH,"examples/tests/issue88b.2.5.1.folia.xml"))

def test001_doublenested(self):
"""Whitespace - Heavy markedup, double nested and multiline"""
Expand Down

0 comments on commit 102fab5

Please sign in to comment.