Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

foliavalidator somehow looses formatting #22

Open
kosloot opened this issue Feb 26, 2020 · 1 comment
Open

foliavalidator somehow looses formatting #22

kosloot opened this issue Feb 26, 2020 · 1 comment
Assignees

Comments

@kosloot
Copy link
Collaborator

kosloot commented Feb 26, 2020

when running foliavalidator on examples/full-legacy.1.5.folia.xml something strange happens:

foliavalidator ../FoLiApy/folia-repo/examples/full-legacy.1.5.folia.xml --keepversion -o

The <metadata> block is outputted normally, but then:

    <submetadata xml:id="sandbox.3.metadata" type="native">
      <meta id="author">proycon</meta>
    </submetadata>
  </metadata>
  <text xml:id="WR-P-E-J-0000000001.text"><lang class="nl"/><div xml:id="WR-P-E-J-0000000001.div0.1" class="chapter" metadata="wikipedia.stemma"><head xml:id="WR-P-E-J-0000000001.head.1"><s xml:id="WR-P-E-J-0000000001.head.1.s.1"><w xml:id="WR-P-E-J-0000000001.head.1.s.1.w.1"><t>Stemma</t><pos set="https://raw.githubusercontent.com/proycon/folia/master/setdefinitions/frog-mbpos-cgn" class="N(soort,ev,basis,onz,stan)"/><lemma class="stemma"/></w><ref id="footnote.1" type="note" xml:id="WR-P-E-J-0000000001.ref.1"/></s></head><p xml:id="WR-P-E-J-0000000001.p.1" class="firstparagraph"><alignment format="image/pdf" class="book" xlink:href="http://archief.nl/artikel.pdf" xlink:type="simple" xlink:role="verwijzing"/><metric class="sentenceCount" value="8"/><s xml:id="WR-P-E-J-0000000001.p.1.s.1">

So, no formatting anymore?

@proycon proycon transferred this issue from proycon/folia Mar 8, 2020
@proycon
Copy link
Owner

proycon commented Mar 8, 2020

Strange indeed, I'll have to look into it. At least as long as the resulting XML is the same and valid there is no big rush.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants