Coder Social home page Coder Social logo

dfdl-praat-textgrid-schema's People

Contributors

kristiank avatar smhdfdl avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dfdl-praat-textgrid-schema's Issues

Daffodil doesn't unparse the example xml infoset

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)

remove external dependencies

The used DFDL datatypes from the external lib/built-in-formats.xsd schema should be copied into the TextGrid schema.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.