You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ed...@apache.org on 2006/06/27 12:31:00 UTC
svn commit: r417402 -
/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/SDOSchemaSAX2Parser.cpp
Author: edslattery
Date: Tue Jun 27 03:31:00 2006
New Revision: 417402
URL: http://svn.apache.org/viewvc?rev=417402&view=rev
Log:
group namespace fix
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?rev=417402&r1=417401&r2=417402&view=diff
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/SDOSchemaSAX2Parser.cpp (original)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/SDOSchemaSAX2Parser.cpp Tue Jun 27 03:31:00 2006
@@ -251,18 +251,8 @@
{
if (attributes[i].getName().equalsIgnoreCase("name"))
{
- XMLQName qname(attributes[i].getValue(),
- schemaInfo.getSchemaNamespaces(),
- namespaces);
- if (qname.getURI().isNull())
- {
- currentGroup->uri = schemaInfo.getTargetNamespaceURI();
- }
- else
- {
- currentGroup->uri = qname.getURI();
- }
- currentGroup->name = qname.getLocalName();
+ currentGroup->uri = schemaInfo.getTargetNamespaceURI();
+ currentGroup->name = attributes[i].getValue();
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org