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 19593] New: - [PATCH] LinkStatusGenerator: PREFIX and URI have been switched
Date Fri, 02 May 2003 13:51:53 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=19593>.
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=19593

[PATCH] LinkStatusGenerator: PREFIX and URI have been switched

           Summary: [PATCH] LinkStatusGenerator: PREFIX and URI have been
                    switched
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: sitemap components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: arje@hippo.nl


PREFIX and URI in the LinkStatusGenerator have been switched.
It adds the namespace-URI in front of each tag (instead of the prefix). Sample 
output:

<?xml version="1.0" encoding="UTF-8"?>
<http://apache.org/cocoon/linkstatus/2.0:linkstatus 
	xmlns:linkstatus="http://apache.org/cocoon/linkstatus/2.0" 
xmlns:http="http://apache.org/cocoon/linkstatus/2.0">
	<http://apache.org/cocoon/linkstatus/2.0:link 
href="http://localhost:8080/linkstest.html" referrer="" 
			content="text/html; charset=UTF-8" message="OK" 
status="200"/>
	<http://apache.org/cocoon/linkstatus/2.0:link 
href="http://localhost:8080/test1.html" 
referrer="http://localhost:8080/linkstest.html" 
			content="text/html; charset=UTF-8" message="OK" 
status="200"/>
	<http://apache.org/cocoon/linkstatus/2.0:link 
href="http://localhost:8080/test2.html" 
referrer="http://localhost:8080/linkstest.html" 
			content="text/html; charset=UTF-8" message="OK" 
status="200"/>
</http://apache.org/cocoon/linkstatus/2.0:linkstatus>

But it should be:

<?xml version="1.0" encoding="UTF-8"?>
<linkstatus:linkstatus 
xmlns:linkstatus="http://apache.org/cocoon/linkstatus/2.0">
	<linkstatus:link href="http://localhost:8080/linkstest.html" 
referrer="" content="text/html; charset=UTF-8" message="OK" status="200"/>
	<linkstatus:link href="http://localhost:8080/test1.html" 
referrer="http://localhost:8080/linkstest.html" 
			content="text/html; charset=UTF-8" message="OK" 
status="200"/>
	<linkstatus:link href="http://localhost:8080/test2.html" 
referrer="http://localhost:8080/linkstest.html" 
			content="text/html; charset=UTF-8" message="OK" 
status="200"/>
</linkstatus:linkstatus>

Mime
View raw message