keeleleek / dfdl-praat-textgrid-schema Goto Github PK
View Code? Open in Web Editor NEWDFDL schemas Praat TextGrid
License: GNU General Public License v3.0
DFDL schemas Praat TextGrid
License: GNU General Public License v3.0
Even though Daffodil itself says this is a bug, I think it could be a problem in the XML Schema definition. Perhaps using xs:decimal
is not correct.
Daffodil throws the following error message:
Filetype="ooTextFile"
Objectclass="TextGrid"
xmin=0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! An unexpected exception occurred. This is a bug! !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Please report this bug and help us fix it:
https://opensource.ncsa.illinois.edu/confluence/display/DFDL/How+to+Report+a+Bug
Please include the following exception, the command you
ran, and any input, schema, or tdml files used that led
to this bug.
Runtime Schema Definition Error: Unparser (ConvertTextDecimalPrim) is not yet implemented.
Schema context: element.xMin. Location line 34 column 8 in file:/home/kristian/Projektid/DFDL/Praat TextGrid/PraatTextGrid.dfdl.xsd. Data Context: byte 52.
at edu.illinois.ncsa.daffodil.processors.ParseOrUnparseState.SDE(PState.scala:145)
at edu.illinois.ncsa.daffodil.processors.unparsers.DummyUnparser.unparse(Unparser.scala:119)
at edu.illinois.ncsa.daffodil.processors.unparsers.Unparser.unparse1(Unparser.scala:63)
at edu.illinois.ncsa.daffodil.processors.unparsers.SeqCompUnparser$$anonfun$unparse$2.apply(Unparser.scala:106)
at edu.illinois.ncsa.daffodil.processors.unparsers.SeqCompUnparser$$anonfun$unparse$2.apply(Unparser.scala:104)
at scala.collection.immutable.List.foreach(List.scala:318)
at edu.illinois.ncsa.daffodil.processors.unparsers.SeqCompUnparser.unparse(Unparser.scala:104)
at edu.illinois.ncsa.daffodil.processors.unparsers.Unparser.unparse1(Unparser.scala:63)
at edu.illinois.ncsa.daffodil.processors.unparsers.SeqCompUnparser$$anonfun$unparse$2.apply(Unparser.scala:106)
at edu.illinois.ncsa.daffodil.processors.unparsers.SeqCompUnparser$$anonfun$unparse$2.apply(Unparser.scala:104)
at scala.collection.immutable.List.foreach(List.scala:318)
at edu.illinois.ncsa.daffodil.processors.unparsers.SeqCompUnparser.unparse(Unparser.scala:104)
at edu.illinois.ncsa.daffodil.processors.unparsers.Unparser.unparse1(Unparser.scala:63)
at edu.illinois.ncsa.daffodil.processors.unparsers.DelimiterStackUnparser.unparse(ElementKindUnparsers.scala:223)
at edu.illinois.ncsa.daffodil.processors.unparsers.Unparser.unparse1(Unparser.scala:63)
at edu.illinois.ncsa.daffodil.processors.unparsers.StatementElementUnparserBase$$anonfun$unparse$1.apply(StatementElementUnparser.scala:99)
at edu.illinois.ncsa.daffodil.processors.unparsers.StatementElementUnparserBase$$anonfun$unparse$1.apply(StatementElementUnparser.scala:98)
at scala.Option.map(Option.scala:145)
at edu.illinois.ncsa.daffodil.processors.unparsers.StatementElementUnparserBase.unparse(StatementElementUnparser.scala:98)
at edu.illinois.ncsa.daffodil.processors.unparsers.Unparser.unparse1(Unparser.scala:63)
at edu.illinois.ncsa.daffodil.processors.unparsers.SequenceCombinatorUnparser.unparse(ElementKindUnparsers.scala:137)
at edu.illinois.ncsa.daffodil.processors.unparsers.Unparser.unparse1(Unparser.scala:63)
at edu.illinois.ncsa.daffodil.processors.unparsers.ComplexTypeUnparser.unparse(ElementKindUnparsers.scala:62)
at edu.illinois.ncsa.daffodil.processors.unparsers.Unparser.unparse1(Unparser.scala:63)
at edu.illinois.ncsa.daffodil.processors.unparsers.StatementElementUnparserBase$$anonfun$unparse$1.apply(StatementElementUnparser.scala:99)
at edu.illinois.ncsa.daffodil.processors.unparsers.StatementElementUnparserBase$$anonfun$unparse$1.apply(StatementElementUnparser.scala:98)
at scala.Option.map(Option.scala:145)
at edu.illinois.ncsa.daffodil.processors.unparsers.StatementElementUnparserBase.unparse(StatementElementUnparser.scala:98)
at edu.illinois.ncsa.daffodil.processors.DataProcessor.unparse(Runtime.scala:310)
at edu.illinois.ncsa.daffodil.processors.DataProcessor.unparse(Runtime.scala:296)
at edu.illinois.ncsa.daffodil.processors.DataProcessor.unparse(Runtime.scala:274)
at edu.illinois.ncsa.daffodil.Main$$anonfun$90.apply(Main.scala:910)
at edu.illinois.ncsa.daffodil.Main$$anonfun$90.apply(Main.scala:910)
at edu.illinois.ncsa.daffodil.util.Timer$.getTimeResult(Timer.scala:91)
at edu.illinois.ncsa.daffodil.util.Timer$.getResult(Timer.scala:50)
at edu.illinois.ncsa.daffodil.Main$.run(Main.scala:910)
at edu.illinois.ncsa.daffodil.Main$.main(Main.scala:1104)
at edu.illinois.ncsa.daffodil.Main.main(Main.scala)
The indentation depth could be counted or be handled just statically
The used DFDL datatypes from the external lib/built-in-formats.xsd
schema should be copied into the TextGrid schema.
See PR #4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.