Browse Source

----------------------------------------------------------------------

Modified Files:
 	WSDLTools.py
        XMLSchema.py
        --removed some print statements I left behind.
 ----------------------------------------------------------------------
main
Joshua Boverhof 20 years ago
parent
commit
fdcfdf8539
2 changed files with 0 additions and 4 deletions
  1. +0
    -1
      WSDLTools.py
  2. +0
    -3
      XMLSchema.py

+ 0
- 1
WSDLTools.py View File

@@ -454,7 +454,6 @@ class PortType(Element):
self.name = DOM.getAttr(element, 'name') self.name = DOM.getAttr(element, 'name')
self.documentation = GetDocumentation(element) self.documentation = GetDocumentation(element)
self.targetNamespace = DOM.getAttr(element, 'targetNamespace') self.targetNamespace = DOM.getAttr(element, 'targetNamespace')
print "PORTYPE TNS: ", self.targetNamespace


if DOM.hasAttr(element, 'ResourceProperties', WSR.PROPERTIES): if DOM.hasAttr(element, 'ResourceProperties', WSR.PROPERTIES):
rpref = DOM.getAttr(element, 'ResourceProperties', WSR.PROPERTIES) rpref = DOM.getAttr(element, 'ResourceProperties', WSR.PROPERTIES)


+ 0
- 3
XMLSchema.py View File

@@ -1167,9 +1167,6 @@ class XMLSchema(XMLSchemaComponent):
self.setAttributes(node) self.setAttributes(node)
contents = self.getContents(node) contents = self.getContents(node)


print "PARENT: ", self._parent()
print "\ttns: ", self.getTargetNamespace()
#if self.attributes['namespace'] == self._parent().attributes['targetNamespace']:
if self.attributes['namespace'] == self.getTargetNamespace(): if self.attributes['namespace'] == self.getTargetNamespace():
raise SchemaError, 'namespace of schema and import match' raise SchemaError, 'namespace of schema and import match'




Loading…
Cancel
Save