You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by bu...@apache.org on 2003/07/17 14:31:30 UTC

DO NOT REPLY [Bug 21683] New: - misinterpreted component-type specification-path in application specification

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21683>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21683

misinterpreted component-type specification-path in application specification

           Summary: misinterpreted component-type specification-path in
                    application specification
           Product: Tapestry
           Version: 3.0
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Framework
        AssignedTo: tapestry-dev@jakarta.apache.org
        ReportedBy: daniel.frei@gmx.net


Specifying a component-type specification-path="/com/mycompany/mycomponent.jwc" in the application specification for a component located in a java package  leads to the exception listed below. On the other hand, the same specification within a library-specification works as expected, using the path as the classpath NOT as the context.

Error message:

Could not parse specification context:/com/mycompany/mycomponent.jwc.
Resource at context:/com/mycompany/mycomponent.jwc does not exist.

org.apache.tapestry.ApplicationRuntimeException 
Could not parse specification context:/com/mycompany/mycomponent.jwc. 
   
org.apache.tapestry.util.xml.DocumentParseException 
Resource at context:/com/mycompany/mycomponent.jwc does not exist. 
documentLocation: context:/com/mycompany/mycomponent.jwc
 
Partial Stack Trace: 
org.apache.tapestry.parse.SpecificationParser.parse(SpecificationParser.java:676) 
org.apache.tapestry.parse.SpecificationParser.parseComponentSpecification(SpecificationParser.java:643) 
org.apache.tapestry.engine.DefaultSpecificationSource.parseSpecification(DefaultSpecificationSource.java:204) 
org.apache.tapestry.engine.DefaultSpecificationSource.getComponentSpecification(DefaultSpecificationSource.java:316) 
org.apache.tapestry.engine.Namespace.locateComponentSpecification(Namespace.java:327) 
org.apache.tapestry.engine.Namespace.getComponentSpecification(Namespace.java:243) 
org.apache.tapestry.resolver.ComponentSpecificationResolver.resolve(ComponentSpecificationResolver.java:201) 
org.apache.tapestry.engine.DefaultTemplateSource$ParserDelegate.getAllowBody(DefaultTemplateSource.java:180) 
org.apache.tapestry.parse.TemplateParser.processComponentStart(TemplateParser.java:1108) 
org.apache.tapestry.parse.TemplateParser.startTag(TemplateParser.java:986) 
org.apache.tapestry.parse.TemplateParser.parse(TemplateParser.java:629) 
org.apache.tapestry.parse.TemplateParser.parse(TemplateParser.java:460) 
org.apache.tapestry.engine.DefaultTemplateSource.constructTemplateInstance(DefaultTemplateSource.java:483) 
org.apache.tapestry.engine.DefaultTemplateSource.parseTemplate(DefaultTemplateSource.java:457) 
org.apache.tapestry.engine.DefaultTemplateSource.getOrParseTemplate(DefaultTemplateSource.java:430) 
...