You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by "George T. Joseph" <gt...@peakin.com> on 2000/02/16 20:25:16 UTC

Xerces-J build problems

I know this is still in progress...

src/org/apache/xerces/validators/datatype/Makefile
references TimeDurationValidator.java and TimeInstantValidator.java as targets
instead of their respective class files.  They'll only get made if
XSchemaValidator is touched since that's the only place they're needed.

src\Makefile.incl
The result of a "uname" is being tested for "CYGWIN" to determine if a ';' or a
':' should be used for a path separator.  I get "WIN95" or "WINNT" as the result
of a "uname" and I'm pretty sure I have the latest CYGWIN release.  How about
just testing for "WIN"?  How about removing the 'v' from the jar options as
well?

"make docs" is getting closer but still throws a NullPointerException.  The
output is appended below.

Environment:
NT4.0SP3
Sun JDK 1.2.2/Win32(classic)
CLASSPATH= (empty)
MAKE_MODE=UNIX
JDK12BIN=d:/java12/bin
CVS tree as of 1230EST today.

george

---------------------------------------------------------
P:\xml-xerces\java>make docs
Building Stylebook docs in docs directory
[StyleBook] Overriding targetDirectory="docs/html" (Old=".")
[StyleBook] Project URL: "sbk:/sources/docs-book.xml"
[BasicEngine] Initializing
[Loader] Parsing Project file
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/book2project.xsl"
[XalanProcessor] Applying XSL sheet
"sbk:/style/stylesheets/directory2project.xsl"
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl"
[CachingParser] Serving cached document "sbk:/style/stylesheets/any2project.xsl"
(1)
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl"
[CachingParser] Serving cached document "sbk:/style/stylesheets/any2project.xsl"
(2)
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl"
[CachingParser] Serving cached document "sbk:/style/stylesheets/any2project.xsl"
(3)
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl"
[CachingParser] Serving cached document "sbk:/style/stylesheets/any2project.xsl"
(4)
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl"
[CachingParser] Serving cached document "sbk:/style/stylesheets/any2project.xsl"
(5)
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl"
[CachingParser] Serving cached document "sbk:/style/stylesheets/any2project.xsl"
(6)
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl"
[CachingParser] Serving cached document "sbk:/style/stylesheets/any2project.xsl"
(7)
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl"
[CachingParser] Serving cached document "sbk:/style/stylesheets/any2project.xsl"
(8)
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl"
[CachingParser] Serving cached document "sbk:/style/stylesheets/any2project.xsl"
(9)
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl"
[CachingParser] Serving cached document "sbk:/style/stylesheets/any2project.xsl"
(10)
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl"
[CachingParser] Serving cached document "sbk:/style/stylesheets/any2project.xsl"
(11)
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl"
[CachingParser] Serving cached document "sbk:/style/stylesheets/any2project.xsl"
(12)
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl"
[CachingParser] Serving cached document "sbk:/style/stylesheets/any2project.xsl"
(13)
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl"
[CachingParser] Serving cached document "sbk:/style/stylesheets/any2project.xsl"
(14)
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl"
[CachingParser] Serving cached document "sbk:/style/stylesheets/any2project.xsl"
(15)
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl"
java.lang.NullPointerException
        at
org.apache.xerces.dom.DeferredAttrImpl.synchronizeChildren(DeferredAttrImpl.java
:194)
        at org.apache.xerces.dom.NodeContainer.cloneNode(NodeContainer.java:215)
        at
org.apache.xerces.dom.NamedNodeMapImpl.reconcileDefaults(NamedNodeMapImpl.java:7
30)
        at
org.apache.xerces.dom.NamedNodeMapImpl.findNamePoint(NamedNodeMapImpl.java:760)
        at
org.apache.xerces.dom.NamedNodeMapImpl.setNamedItem(NamedNodeMapImpl.java:281)
        at
org.apache.xerces.dom.DeferredElementImpl.synchronizeData(DeferredElementImpl.ja
va:160)
        at org.apache.xerces.dom.NodeImpl.getNodeName(NodeImpl.java:229)
        at org.apache.xalan.xpath.xml.XMLParserLiaisonDefault.getLocalNameOfNode
(XMLParserLiaisonDefault.java:1208)
        at
org.apache.xalan.xslt.TemplateList.findTemplate(TemplateList.java:237)
        at org.apache.xalan.xslt.Stylesheet.findTemplate(Stylesheet.java:1082)
        at
org.apache.xalan.xslt.ElemTemplateElement.transformChild(ElemTemplateElement.jav
a:931)
        at
org.apache.xalan.xslt.ElemTemplateElement.transformSelectedChildren(ElemTemplate
Element.java:736)
        at
org.apache.xalan.xslt.ElemApplyTemplates.execute(ElemApplyTemplates.java:147)
        at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElement.ja
va:507)
        at
org.apache.xalan.xslt.ElemTemplateElement.transformChild(ElemTemplateElement.jav
a:1013)
        at
org.apache.xalan.xslt.ElemTemplateElement.transformSelectedChildren(ElemTemplate
Element.java:736)
        at
org.apache.xalan.xslt.ElemApplyTemplates.execute(ElemApplyTemplates.java:147)
        at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElement.ja
va:507)
        at
org.apache.xalan.xslt.ElemTemplateElement.transformChild(ElemTemplateElement.jav
a:1013)
        at
org.apache.xalan.xslt.ElemTemplateElement.transformSelectedChildren(ElemTemplate
Element.java:736)
        at
org.apache.xalan.xslt.ElemApplyTemplates.execute(ElemApplyTemplates.java:147)
        at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElement.ja
va:507)
        at
org.apache.xalan.xslt.ElemTemplateElement.transformChild(ElemTemplateElement.jav
a:1013)
        at
org.apache.xalan.xslt.ElemTemplateElement.transformSelectedChildren(ElemTemplate
Element.java:736)
        at
org.apache.xalan.xslt.ElemApplyTemplates.execute(ElemApplyTemplates.java:147)
        at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElement.ja
va:507)
        at
org.apache.xalan.xslt.ElemTemplateElement.transformChild(ElemTemplateElement.jav
a:1013)
        at
org.apache.xalan.xslt.ElemTemplateElement.transformSelectedChildren(ElemTemplate
Element.java:736)
        at
org.apache.xalan.xslt.ElemApplyTemplates.execute(ElemApplyTemplates.java:147)
        at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElement.ja
va:507)
        at
org.apache.xalan.xslt.ElemTemplateElement.transformChild(ElemTemplateElement.jav
a:1013)
        at
org.apache.xalan.xslt.ElemTemplateElement.transformSelectedChildren(ElemTemplate
Element.java:736)
        at
org.apache.xalan.xslt.ElemApplyTemplates.execute(ElemApplyTemplates.java:147)
        at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElement.ja
va:507)
        at
org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java:264)
        at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElement.ja
va:507)
        at org.apache.xalan.xslt.ElemTemplate.execute(ElemTemplate.java:141)
        at org.apache.xalan.xslt.StylesheetRoot.process(StylesheetRoot.java:398)
        at org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:582)
        at
org.apache.stylebook.processors.XalanProcessor.process(XalanProcessor.java:68)
        at org.apache.stylebook.Project.processEntry(Project.java:122)
        at org.apache.stylebook.Project.processNodeList(Project.java:54)
        at org.apache.stylebook.Project.<init>(Project.java:42)
        at org.apache.stylebook.Loader.load(Loader.java:57)
        at org.apache.stylebook.StyleBook.getProject(StyleBook.java:121)
        at org.apache.stylebook.StyleBook.main(StyleBook.java:85)
org.apache.stylebook.CreationException
        at
org.apache.stylebook.processors.XalanProcessor.process(XalanProcessor.java:72)
        at org.apache.stylebook.Project.processEntry(Project.java:122)
        at org.apache.stylebook.Project.processNodeList(Project.java:54)
        at org.apache.stylebook.Project.<init>(Project.java:42)
        at org.apache.stylebook.Loader.load(Loader.java:57)
        at org.apache.stylebook.StyleBook.getProject(StyleBook.java:121)
        at org.apache.stylebook.StyleBook.main(StyleBook.java:85)
[StyleBook] Caught org.apache.stylebook.LoadingException
org.apache.stylebook.LoadingException: Processing Entry (null)
        at org.apache.stylebook.Project.processEntry(Project.java:126)
        at org.apache.stylebook.Project.processNodeList(Project.java:54)
        at org.apache.stylebook.Project.<init>(Project.java:42)
        at org.apache.stylebook.Loader.load(Loader.java:57)
        at org.apache.stylebook.StyleBook.getProject(StyleBook.java:121)
        at org.apache.stylebook.StyleBook.main(StyleBook.java:85)
[StyleBook] Error creating project
make: *** [docs] Error 3


Re: Xerces-J build problems

Posted by Arnaud Le Hors <le...@us.ibm.com>.
"George T. Joseph" wrote:
> 
> src\Makefile.incl
> The result of a "uname" is being tested for "CYGWIN" to determine if a ';' or a
> ':' should be used for a path separator.  I get "WIN95" or "WINNT" as the result
> of a "uname" and I'm pretty sure I have the latest CYGWIN release.  How about
> just testing for "WIN"? 

Done.

> How about removing the 'v' from the jar options as
> well?

I personally don't care about that one, but I'll leave to whoever put it
in to decide what to do with it. 

> "make docs" is getting closer but still throws a NullPointerException.  
Hmm, I don't know what to do about that one. "It works on my machine..."
Yeah, I know, it doesn't do you any good. But, seriously, I don't know
what to do about that one.

> Environment:
> NT4.0SP3
> Sun JDK 1.2.2/Win32(classic)
> CLASSPATH= (empty)
> MAKE_MODE=UNIX
> JDK12BIN=d:/java12/bin
> CVS tree as of 1230EST today.

You no longer need to set JDK12BIN if you're using JDK 1.2.
-- 
Arnaud  Le Hors - IBM Cupertino, XML Technology Group