[genxdm] r522 committed - (Issue 157) Oops. Removed some diagnostic statements.

1 view
Skip to first unread message

gen...@googlecode.com

unread,
Dec 8, 2014, 11:46:39 AM12/8/14
to gen...@googlegroups.com
Revision: 522
Author: joe.b...@gmail.com
Date: Mon Dec 8 16:46:26 2014 UTC
Log: (Issue 157) Oops. Removed some diagnostic statements.
https://code.google.com/p/genxdm/source/detail?r=522

Modified:

/trunk/project/processor.w3c.xs/src/main/java/org/genxdm/processor/w3c/xs/impl/XMLSchemaConverter.java

=======================================
---
/trunk/project/processor.w3c.xs/src/main/java/org/genxdm/processor/w3c/xs/impl/XMLSchemaConverter.java
Fri Dec 5 21:42:07 2014 UTC
+++
/trunk/project/processor.w3c.xs/src/main/java/org/genxdm/processor/w3c/xs/impl/XMLSchemaConverter.java
Mon Dec 8 16:46:26 2014 UTC
@@ -16,7 +16,6 @@
package org.genxdm.processor.w3c.xs.impl;

import java.math.BigInteger;
-import java.util.ArrayList;
import java.util.Collections;
import java.util.EnumSet;
import java.util.HashMap;
@@ -311,8 +310,6 @@
*/
private Map<QName, AttributeUse> computeAttributeUses(final XMLType
complexType, final Map<QName, AttributeUse> attributeUses) throws
AbortException, SchemaException
{
-// final HashMap<QName, AttributeUse> attributeUses = new
HashMap<QName, AttributeUse>();
-
for (final XMLAttributeUse attributeUse :
complexType.getAttributeUses())
{
final QName attributeName =
attributeUse.getDeclaration().getName();
@@ -877,16 +874,11 @@
copyForeignAttributes(xmlComplexType.foreignAttributes,
complexType);
return complexType;
}
- catch (Exception ex){
- System.out.println("ex: " + ex.getMessage());
- throw new RuntimeException(ex);
- }
finally
{
if (scope == ScopeExtent.Global)
{
-
System.out.println("XMLSchemaConverter.convertComplexType[2]: popping
type: " + m_cycles.types.pop());
-// m_cycles.types.pop();
+ m_cycles.types.pop();
}
}
}
Reply all
Reply to author
Forward
0 new messages