Francois Nadeau wrote:Hi Mike,
I am not sure what t2 refers to, but if you are still stuck on this you can use session's createSQLQuery function to query the database within a SQL function.
Originally posted by Sanjay Kannan:
Were you able to solve it.. I can give a try if you still have problem.. mail me your requirement and what you tried till now..
What does "the code works ok" mean? What failure occurs when the URI scheme name is omitted? The scheme name can also be interpreted as a transport protocol for resource access. So when "http://" is added the "code may start to work" because:
* The addition of the scheme name makes the XML document valid so that it can be processed properly.
* Something is interpreting that URI as an URL and tries to access it (when it shouldn't).
the canicalization works.
The difficulties arise due to the loss of the following information not available in the data model :
1. base URI, especially in content derived from the replacement text of external general parsed entity references
The processing SHOULD create a new document in which relative URIs have been converted to absolute URIs, thereby mitigating any security risk for the new
URI REFERENCES USED AS XML NAMESPACE NAMES ARE JUST IDENTIFIERS. THEY ARE NOT GUARANTEED TO POINT TO ANYTHING.