Skip to content
This repository was archived by the owner on Sep 3, 2020. It is now read-only.
This repository was archived by the owner on Sep 3, 2020. It is now read-only.

Failing on Windows #38

@dmcassel

Description

@dmcassel

Tried running using PowerShell and normal Command Prompt. I get the same error:

xquerydoc 0.1, generates xquery api documentation
Copyright (c) 2011, 2012 Jim Fuller, John Snelson
see https://github.com/xquery/xquerydoc
ECHO is off.
xquery dir: C:\Users\dcassel\git\smart-mastering-core\src\main\ml-modules\ext\com.marklogic.smart-mastering\test
output dir: C:\Users\dcassel\git\smart-mastering-core\src\main\ml-modules\ext\com.marklogic.smart-mastering\test\xqdoc
format: html
ECHO is off.
generating documentation ...
Jun 22, 2018 11:48:23 AM com.xmlcalabash.util.DefaultXProcMessageListener error
SEVERE: java.net.MalformedURLException: unknown protocol: c
Jun 22, 2018 11:48:24 AM com.xmlcalabash.util.DefaultXProcMessageListener error
SEVERE: java.net.MalformedURLException: unknown protocol: c
Jun 22, 2018 11:48:24 AM com.xmlcalabash.drivers.Main error
SEVERE: com.xmlcalabash.core.XProcException: java.net.MalformedURLException: unknown protocol: c
Jun 22, 2018 11:48:24 AM com.xmlcalabash.drivers.Main error
SEVERE: Underlying exception: java.net.MalformedURLException: unknown protocol: c
com.xmlcalabash.core.XProcException: java.net.MalformedURLException: unknown protocol: c
at com.xmlcalabash.util.URIUtils.getFile(Unknown Source)
at com.xmlcalabash.library.DirectoryList.run(Unknown Source)
at com.xmlcalabash.runtime.XAtomicStep.run(Unknown Source)
at com.xmlcalabash.runtime.XCompoundStep.run(Unknown Source)
at com.xmlcalabash.runtime.XChoose.run(Unknown Source)
at com.xmlcalabash.runtime.XPipeline.doRun(Unknown Source)
at com.xmlcalabash.runtime.XPipeline.run(Unknown Source)
at com.xmlcalabash.runtime.XPipelineCall.run(Unknown Source)
at com.xmlcalabash.runtime.XPipeline.doRun(Unknown Source)
at com.xmlcalabash.runtime.XPipeline.run(Unknown Source)
at com.xmlcalabash.drivers.Main.run(Unknown Source)
at com.xmlcalabash.drivers.Main.main(Unknown Source)
Caused by: java.net.MalformedURLException: unknown protocol: c
at java.net.URL.(Unknown Source)
at java.net.URL.(Unknown Source)
at java.net.URL.(Unknown Source)
... 12 more
Creating directory at "C:\Users\dcassel\git\smart-mastering-core\src\main\ml-modules\ext\com.marklogic.smart-mastering\test\xqdoc" ...

Thought there might be a problem with my XQuery, so I created a really simple example. Got the same error. Example follows:

xquery version "1.0-ml";
(:
: Module Name: Sample
: Module Version: 1.0
: Date: June 22, 2018
: Copyright: None
: Proprietary
: Extensions: None
:
: XQuery
: Specification : XQuery v1.0
: Module Overview: Example for xqdoc processing
:)

module namespace test = "test";

(:~
: This function doesn't do squat.
: @returns not a thing
:)
declare function test:do-nothing()
{
  ()
};

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