You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ro...@apache.org on 2006/12/06 15:59:30 UTC
svn commit: r483102 -
/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/SDOSchemaSAX2Parser.cpp
Author: robbinspg
Date: Wed Dec 6 06:59:29 2006
New Revision: 483102
URL: http://svn.apache.org/viewvc?view=rev&rev=483102
Log:
Revert change commit in error!
Modified:
incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/SDOSchemaSAX2Parser.cpp
Modified: incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/SDOSchemaSAX2Parser.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/SDOSchemaSAX2Parser.cpp?view=diff&rev=483102&r1=483101&r2=483102
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/SDOSchemaSAX2Parser.cpp (original)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/SDOSchemaSAX2Parser.cpp Wed Dec 6 06:59:29 2006
@@ -540,27 +540,8 @@
SDOSchemaSAX2Parser& schemaParser,
SDOXMLString& schemaLocation)
{
- xmlChar* absoluteUri;
+ int i,j,k;
SDOXMLString sl = getCurrentFile();
- /*
- * Build an absolute URL using the current file as the base and
- * the schemaLocation as the relative part, using the rules in
- * RFC 2396 5.2. Resolving Relative References to Absolute Form
- */
- try {
- absoluteUri = xmlBuildURI(schemaLocation, sl);
- if (-1 != schemaParser.parse((const char*)absoluteUri)) {
- if (absoluteUri) xmlFree(absoluteUri);
- return 1;
- }
- }
- catch (SDORuntimeException e)
- {
- }
-
- if (absoluteUri) xmlFree(absoluteUri);
-
- int i,j,k;
i = sl.lastIndexOf('/');
j = sl.lastIndexOf('\\');
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org