This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/tracker/do/viewArtifact/projects.cddlm-wg/tracker.cdl_spec_revisions/artf5014?nav=1 at Sun, 06 Nov 2022 16:28:34 GMT SourceForge : artf5014: (1545) Handling of namespaces in extends="" declarations

Project Home

Tracker

Documents

Tasks

Source Code

Discussions

File Releases

Wiki

Project Admin
Search Tracker
Project: CDDLM-WG     Trackers > CDL Spec Revisions > View Artifact
Artifact artf5014 : (1545) Handling of namespaces in extends="" declarations
Tracker: CDL Spec Revisions
Title: (1545) Handling of namespaces in extends="" declarations
Description:
Should this file resolve or not?

<?xml version="1.0"?>
<cdl:cdl xmlns:cdl="http://www.gridforum.org/namespaces/2005/02/cddlm/CDL-1.0"
  xmlns="http://example.org/webapps" >
  <cdl:configuration>
    <server>
      <port>8080</port>
      <security>true</security>
      <webapps/>
    </server>

  </cdl:configuration>
  <cdl:system>

    <tomcat cdl:extends="server">
      <basedir>
      </basedir>
    </tomcat>
  </cdl:system>
</cdl:cdl>

This file fails to resolve extends="server" because the  xmlns="http://example.org/webapps" declaration puts the     
server declaration into that ns. 

My extends lookup logic assumes that any localname without a namespace is in the empty namepace. 

Question is, is that the right assumption?

The other, perfectly valid one, would be to say that any localname in an extends declaration is in the same namespace as
 the element that is being extended. To get something in the empty namespace, I'd have to say extends=":something". 
.
Submitted By: Steve Loughran
Submitted On: 06/15/2005 10:11 AM EST
Last Modified: 03/23/2006 3:08 PM EST

Status / Comments Change Log Associations Attachments  
Field Old Value New Value Date Performed By
No results found.

 
 
 
< Previous
 


The Open Grid Forum Contact Webmaster | Report a problem | GridForge Help
This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/tracker/do/viewArtifact/projects.cddlm-wg/tracker.cdl_spec_revisions/artf5014?nav=1 at Sun, 06 Nov 2022 16:28:38 GMT