This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 179349 - Validator doesn't support baseURI in rule bindings
Summary: Validator doesn't support baseURI in rule bindings
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Cosmos (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: amehrega CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-26 14:02 EDT by David Whiteman CLA
Modified: 2012-01-03 13:47 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Whiteman CLA 2007-03-26 14:02:38 EDT
If a rule binding is specified using an absolute URI (including the baseURI), then the validator is unable to detect the matching document.  For example, if the base URI is http://interop.serviceml.org, and there is a document with an alias defined as "Student3" and a rule with an alias defined as "StudentIDRule", then a rule binding that binds those two together can be constructed either of the following ways:

     <ruleBinding>
    	<documentAlias>http://interop.serviceml.org/Student3</documentAlias>
    	<ruleAlias>http://interop.serviceml.org/StudentIDRule</ruleAlias>
    </ruleBinding>

     <ruleBinding>
    	<documentAlias>Student3</documentAlias>
    	<ruleAlias>StudentIDRule</ruleAlias>
    </ruleBinding>

Currently, only the abbereviated URI (i.e. the one without the baseURI prepended) results in a correct match.
Comment 1 Valentina Popescu CLA 2007-03-26 14:52:35 EDT
This is a valid bug. Additionally, the ruleBinding match should cover all situations as decsribed in section 2.3, SMLIF document
Comment 2 Valentina Popescu CLA 2007-11-29 13:52:15 EST
moving target to i8
Comment 3 David Whiteman CLA 2008-06-25 15:02:43 EDT
since this should be done in i12, moving to p1
Comment 4 amehrega CLA 2008-08-27 16:34:19 EDT
Taking over the defect
Comment 5 amehrega CLA 2008-08-27 17:24:13 EDT
Fixed defect.
Test case: Rules/InValidRuleBindingWithBaseURI.xml
Comment 6 David Whiteman CLA 2008-11-05 15:00:11 EST
closing to cleanup bugzilla