do not check if namespace equals prefix for attributes
This commit is contained in:
		
							parent
							
								
									6ccdd1227e
								
							
						
					
					
						commit
						50f61a4d91
					
				@ -69,7 +69,7 @@ public class XmlReader {
 | 
				
			|||||||
					for (int i = 0; i < parser.getAttributeCount(); ++i) {
 | 
										for (int i = 0; i < parser.getAttributeCount(); ++i) {
 | 
				
			||||||
						final String prefix = parser.getAttributePrefix(i);
 | 
											final String prefix = parser.getAttributePrefix(i);
 | 
				
			||||||
						String name;
 | 
											String name;
 | 
				
			||||||
						if (prefix != null && !prefix.isEmpty() && !prefix.equals(xmlns)) {
 | 
											if (prefix != null && !prefix.isEmpty()) {
 | 
				
			||||||
							name = prefix+":"+parser.getAttributeName(i);
 | 
												name = prefix+":"+parser.getAttributeName(i);
 | 
				
			||||||
						} else {
 | 
											} else {
 | 
				
			||||||
							name = parser.getAttributeName(i);
 | 
												name = parser.getAttributeName(i);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user