[ xframe-Bugs-990990 ] Duplicate global variable declaration in component.xsl

"SourceForge.net" <[email protected]> Wed, 14 Jul 2004 09:27:19 -0700
Newsgroups gmane.text.xml.xframe.xsddoc
Message-ID <[email protected]>
Bugs item #990990, was opened at 2004-07-14 18:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=990990&group_id=48863

Category: all platforms
Group: xsddoc-0.5-beta
Status: Open
Resolution: None
Priority: 5
Submitted By: Kurt Riede (kriede)
Assigned to: Kurt Riede (kriede)
Summary: Duplicate global variable declaration in component.xsl

Initial Comment:
With the schema of RuleML (http://www.ruleml.org) the 
following error occurs:

My build.xml looks as follows:

<project name="RuleML" default="xsddoc" basedir=".">
<taskdef name="xsddoc" 
classname="net.sf.xframe.xsddoc.Task" />
<target name="xsddoc">
<mkdir dir="rulemldoc"/>
<xsddoc out="rulemldoc" doctitle="RuleML documentation 
generated by xsddoc" 

verbose="true">
<fileset dir="C:\RuleML\0.86\xsd" defaultexcludes="yes">
<include name="**/*.xsd"/>
</fileset>
</xsddoc>
</target>
</project>


All of the files are located fine, but unfortunately I get 
errors:

***

Buildfile: build.xml

xsddoc:
[mkdir] Created dir: C:\RuleML\tools\apache-ant-1.6.1
\rulemldoc
[xsddoc] found schema bindatalog.xsd
[xsddoc] found schema datalog.xsd
[xsddoc] found schema equalog.xsd
[xsddoc] found schema hornlog.xsd
[xsddoc] found schema nafdatalog.xsd
[xsddoc] found schema nafnegdatalog.xsd
[xsddoc] found schema negdatalog.xsd
[xsddoc] found schema urcbindatagroundfact.xsd
[xsddoc] found schema urcbindatagroundlog.xsd
[xsddoc] found schema urcbindatalog.xsd
[xsddoc] found schema urcdatalog.xsd
[xsddoc] found schema urdatalog.xsd
[xsddoc] found schema urequalog.xsd
[xsddoc] found schema urhornlog.xsd
[xsddoc] error: 
resource:/net/sf/xframe/xsddoc/xslt/model.xsl:43:-1 
Duplicate
global variable declaration (see line 86 of 
resource:/net/sf/xframe/xsddoc/xslt
/component.xsl)

BUILD FAILED
C:\RuleML\tools\apache-ant-1.6.1\build.xml:5: 
net.sf.xframe.xsddoc.ProcessorExce
ption: Failed to compile stylesheet. 1 error detected.

Total time: 6 seconds

***

I tried commenting out the duplicate global variables in 
the XSL files (first one, then the other), and that 
resulted in a successful build, but the documentation 
that is then output is empty, only having "noNamespace".

Any ideas?

Dave

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

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


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com