The daffodilBin() function is used to access a published saved parser as a dependency, for example:
libraryDependencies ++= Seq(
("org.example" % "dfdl-fmt" % "1.0.0").daffodilBin(daffodilVersion.value)
)
But if saved parser was created and publish with a name, e.g.
packageDaffodilBinInfos := Seq(
DaffodilBinInfo("/schema.dfdl.xsd", name = Some("messages"))
)
Then it is not possible to reference that saved parser using daffodilBin().
To fix this, the daffodilBin() function should be changed to take a name: Option[String] parameter that defaults to None, and if provided is used to get the saved parser that matches the name field in DaffodilBinInfo.
The daffodilBin() function is used to access a published saved parser as a dependency, for example:
But if saved parser was created and publish with a
name, e.g.Then it is not possible to reference that saved parser using
daffodilBin().To fix this, the
daffodilBin()function should be changed to take aname: Option[String]parameter that defaults to None, and if provided is used to get the saved parser that matches the name field in DaffodilBinInfo.