cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20723] New: - incorrect resolving of xmldb: (others?) pseudo-protocol URI
Date Thu, 12 Jun 2003 19:21:42 GMT
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=20723>.
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=20723

incorrect resolving of xmldb: (others?) pseudo-protocol URI

           Summary: incorrect resolving of xmldb: (others?) pseudo-protocol
                    URI
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: dmitry@htec.kiev.ua


reguest: http://localhost:8888/test/xmldb/realty/users/

---sitemap---
  <map:match pattern="xmldb/**">
    <map:match type="request-parameter" pattern="xpath">
      <map:generate
        src="xmldb:xindice://localhost:4080/db/{../1}#{1}"/>
      <map:serialize type="xml"/>
    </map:match>
    <map:generate src="xmldb:xindice://localhost:4080/db/{1}"/>
    <map:serialize type="xml"/>
  </map:match>


---cocoon.xconf---
    <!-- xmldb pseudo protocol -->
    <component-instance 
class="org.apache.cocoon.components.source.impl.XMLDBSourceFactory" 
name="xmldb">
        <!-- Xindice driver -->
        <driver class="org.apache.xindice.client.xmldb.DatabaseImpl" 
type="xindice"/>
        <!-- Add here other XML:DB compliant databases drivers -->
    </component-instance>

----exception---
Original Exception: org.apache.excalibur.source.SourceNotFoundException: 
xmldb:/C:/Development/cocoon-2.1-cvs-120603/cocoon-
2.1/xindice:/localhost:4080/db/realty/users doesn't exist.
	at org.apache.excalibur.source.impl.FileSource.getInputStream
(FileSource.java:188)
	at org.apache.cocoon.components.source.SourceUtil.getInputSource
(SourceUtil.java:317)
	at org.apache.cocoon.components.source.SourceUtil.parse
(SourceUtil.java:198)
	at org.apache.cocoon.generation.FileGenerator.generate
(FileGenerator.java:140)
	at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipe
line(AbstractProcessingPipeline.java:545)

....
Cocoon v2.1 CVS 06/12/2003 WinXP, Jetty, SUN JSDK 1.4.1

Mime
View raw message