felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r419045 - /incubator/felix/trunk/org.apache.felix.ipojo/src/main/java/org/apache/felix/ipojo/parser/ManifestMetadataParser.java
Date Tue, 04 Jul 2006 16:10:58 GMT
Author: rickhall
Date: Tue Jul  4 09:10:58 2006
New Revision: 419045

URL: http://svn.apache.org/viewvc?rev=419045&view=rev
Log:
Applied patch (FELIX-90) for support for spaces in inside attribute values.

Modified:
    incubator/felix/trunk/org.apache.felix.ipojo/src/main/java/org/apache/felix/ipojo/parser/ManifestMetadataParser.java

Modified: incubator/felix/trunk/org.apache.felix.ipojo/src/main/java/org/apache/felix/ipojo/parser/ManifestMetadataParser.java
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/org.apache.felix.ipojo/src/main/java/org/apache/felix/ipojo/parser/ManifestMetadataParser.java?rev=419045&r1=419044&r2=419045&view=diff
==============================================================================
--- incubator/felix/trunk/org.apache.felix.ipojo/src/main/java/org/apache/felix/ipojo/parser/ManifestMetadataParser.java
(original)
+++ incubator/felix/trunk/org.apache.felix.ipojo/src/main/java/org/apache/felix/ipojo/parser/ManifestMetadataParser.java
Tue Jul  4 09:10:58 2006
@@ -129,12 +129,16 @@
 					c = string[i];
 				}
 				i++; // skip =
+				i++; // skip "
 				c = string[i];
-				while (c != ' ') {
+				while (c != '"') {
 					attValue = attValue + c;
 					i++;
 					c = string[i];
 				}
+				i++; // skip "
+				c=string[i];
+
 				Attribute att = new Attribute(attName, attNs , attValue);
 				m_elements[m_elements.length - 1].addAttribute(att);
 				break;



Mime
View raw message