gitgabrio commented on issue #1411:
URL: 
https://github.com/apache/incubator-kie-issues/issues/1411#issuecomment-2270889458

   @yesamer 
   When the engine find that syntax
   `http://www.montera.com.au/spec/DMN/0091-local-hrefs#_decision_001` 
   it tries to resolve the node looking in the imports with the 
`http://www.montera.com.au/spec/DMN/0091-local-hrefs` namespace.
   But since there are not such imports, it fails.
   
   `Yes, that particular case refers to the same document. BUT, according to 
the specs ^^ (12.3.2 References within the DMN XSD) it should work with 
external nodes too. Is it correct or did I misunderstand the specs?` 
   yup, and it actually works with real external nodes (e.g. 
[this](https://github.com/apache/incubator-kie-drools/blob/5456bc313516fa7cfa8f1042a332480a3aaae5d5/kie-dmn/kie-dmn-core/src/test/java/org/kie/dmn/core/imports/ImportsTest.java#L163))
   
   ` So that means it's not working in the case the namespace points to itself, 
is that right?` 
   Yup. IIUC the specs, the test is wrong, because the specs refer to external 
nodes, and this is not the case.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to