[ xframe-Bugs-1609037 ] param doctitle should be optional

"SourceForge.net" <[email protected]> Tue, 05 Dec 2006 03:00:49 -0800
Newsgroups gmane.text.xml.xframe.xsddoc
Message-ID <[email protected]>
Bugs item #1609037, was opened at 2006-12-05 09:50
Message generated for change (Comment added) made by kriede
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1609037&group_id=48863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: console
Group: xsddoc-1.0
Status: Open
Resolution: None
>Priority: 2
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Kurt Riede (kriede)
>Summary: param doctitle should be optional

Initial Comment:
Hi
Excellent tool, unfortunately it didn't work with the schema I needed to document. I dont understand the error message to judge if it is a bug or if my schema is bad.

> ./bin/xsddoc -o ../temp/ubsim/doc/ ../temp/ubsim/etc/uetype.xsd
xsddoc starting.
The value of param doctitle must be a valid Java Object
xsddoc finished.


Attaching the schema and a xsddoc debug printout.

----------------------------------------------------------------------

>Comment By: Kurt Riede (kriede)
Date: 2006-12-05 12:00

Message:
Logged In: YES 
user_id=484961
Originator: NO

(was 'The value of param doctitle must be a valid Java Object')

Hello Henrik,

it seems that the -t argument is required, but it is intended to be
optional.
So I'll keep this as a bug-report for the next release, with low
priority.
I've also changed the summary to 'param doctitle should be optional'.

Best regards

Kurt Riede

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-12-05 10:22

Message:
Logged In: NO 

Found the workaround. I just had to add the -t option and it worked.
That's good enough for me.

/Henrik

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-12-05 09:55

Message:
Logged In: NO 

BTW, nobody=Henrik.
henrik dot xa dot leion at ericsson dot com

Best regards, and thanks for a very promising tool.

/Henrik

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-12-05 09:52

Message:
Logged In: NO 

Here is the xsddoc -d for the same scenario:

=====

xsddoc starting.
xsddoc.home: .
out.folder: ../temp/ubsim/doc/
schema.location: ../temp/ubsim/etc/uetype.xsd
create document builder
create transformer for overview-all.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/overview-all.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/xmldoc.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/util.xsl
create transformer for overview-namespaces.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/overview-namespaces.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/util.xsl
create transformer for overview-namespace.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/overview-namespace.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/util.xsl
create transformer for schema-summary.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/schema-summary.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/xmldoc.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/util.xsl
create transformer for schema-index.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/schema-index.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/xmldoc.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/util.xsl
create transformer for component.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/component.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/xmldoc.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/model.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/util.xsl
create transformer for index-all.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/index-all.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/xmldoc.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/util.xsl
create transformer for index.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/index.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/util.xsl
create transformer for xml2html.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/xml2html.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/xmldoc.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/util.xsl
create transformer for help-doc.xsl
Loading resource /net/sf/xframe/xsddoc/xslt/help-doc.xsl
start processing...
Loading resource /net/sf/xframe/xsddoc/css/stylesheet.css
create ../temp/ubsim/doc//index.html
The value of param doctitle must be a valid Java Object
net.sf.xframe.xsddoc.ProcessorException: The value of param doctitle must
be a valid Java Object
	at net.sf.xframe.xsddoc.Processor.execute(Unknown Source)
	at net.sf.xframe.xsddoc.Main.main(Unknown Source)
Caused by: java.lang.IllegalArgumentException: The value of param doctitle
must be a valid Java Object
	at
org.apache.xalan.transformer.TransformerImpl.setParameter(TransformerImpl.java:1587)
	at net.sf.xframe.xsddoc.Processor.setParameters(Unknown Source)
	at net.sf.xframe.xsddoc.Processor.transform(Unknown Source)
	at net.sf.xframe.xsddoc.Processor.process(Unknown Source)
	at net.sf.xframe.xsddoc.Processor.execute(Unknown Source)
	... 1 more
rethrown from
java.lang.IllegalArgumentException: The value of param doctitle must be a
valid Java Object
	at
org.apache.xalan.transformer.TransformerImpl.setParameter(TransformerImpl.java:1587)
	at net.sf.xframe.xsddoc.Processor.setParameters(Unknown Source)
	at net.sf.xframe.xsddoc.Processor.transform(Unknown Source)
	at net.sf.xframe.xsddoc.Processor.process(Unknown Source)
	at net.sf.xframe.xsddoc.Processor.execute(Unknown Source)
	at net.sf.xframe.xsddoc.Main.main(Unknown Source)

xsddoc finished.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1609037&group_id=48863

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV