Author: mukulg Date: Mon Oct 14 05:40:46 2019 New Revision: 1868422 URL: http://svn.apache.org/viewvc?rev=1868422&view=rev Log: minor whitespace and grammar improvements in comments
Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDComplexTypeTraverser.java xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDHandler.java Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDComplexTypeTraverser.java URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDComplexTypeTraverser.java?rev=1868422&r1=1868421&r2=1868422&view=diff ============================================================================== --- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDComplexTypeTraverser.java (original) +++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDComplexTypeTraverser.java Mon Oct 14 05:40:46 2019 @@ -1732,7 +1732,7 @@ class XSDComplexTypeTraverser extends XS Test testExpr = new Test(testStr, schemaDoc.fNamespaceSupport, assertImpl); String xpathDefaultNamespace = getXPathDefaultNamespaceForAssert(assertElement, schemaDoc, attrValues); assertImpl.setTest(testExpr, assertElement); - assertImpl.setXPathDefaultNamespace(xpathDefaultNamespace); + assertImpl.setXPathDefaultNamespace(xpathDefaultNamespace); assertImpl.setXPath2NamespaceContext(new SchemaNamespaceSupport(schemaDoc.fNamespaceSupport)); String assertMessage = XMLChar.trim(assertElement.getAttributeNS(SchemaSymbols.URI_XERCES_EXTENSIONS, SchemaSymbols.ATT_ASSERT_MESSAGE)); if (!"".equals(assertMessage)) { Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDHandler.java URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDHandler.java?rev=1868422&r1=1868421&r2=1868422&view=diff ============================================================================== --- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDHandler.java (original) +++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDHandler.java Mon Oct 14 05:40:46 2019 @@ -1848,22 +1848,21 @@ public class XSDHandler { } // since it is forbidden for traversers to talk to each other - // directly (except wen a traverser encounters a local declaration), + // directly (except when a traverser encounters a local declaration), // this provides a generic means for a traverser to call // for the traversal of some declaration. An XSDocumentInfo is // required because the XSDocumentInfo that the traverser is traversing // may bear no relation to the one the handler is operating on. // This method will: - // 1. See if a global definition matching declToTraverse exists; + // 1. see if a global definition matching declToTraverse exists. // 2. if so, determine if there is a path from currSchema to the // schema document where declToTraverse lives (i.e., do a lookup - // in DependencyMap); + // in DependencyMap). // 3. depending on declType (which will be relevant to step 1 as // well), call the appropriate traverser with the appropriate // XSDocumentInfo object. - // This method returns whatever the traverser it called returned; - // this will be an Object of some kind - // that lives in the Grammar. + // This method returns whatever the traverser it called returned. + // This will be an Object of some kind that lives in the Grammar. protected Object getGlobalDecl(XSDocumentInfo currSchema, int declType, QName declToTraverse, --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@xerces.apache.org For additional commands, e-mail: commits-h...@xerces.apache.org