Skip to content

Error when try to generateHtmlAsString or generateZip #12

@wpoosanguansit

Description

@wpoosanguansit

Hi,

I am trying to generate a html file following your code in the test folder. However, I do get

[NoSuchElementException: None.get]

from the code below. Does the error come from this line

val ns = schemaXb.targetNamespace.get.toString

in generator.scala? Thank you for your help.

val fi    = new FileInputStream("test/test.xsd")
val oi    = new FileOutputStream("test/test.html")
//val html  = Generator.generateHtmlAsString(fi, "a-", Some("test"))
val html  = Generator.generateZip(fi,oi,"a-", Some("test"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions