You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2005/05/16 01:55:29 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/impl/xs XMLSchemaLoader.java
mrglavas 2005/05/15 16:55:29
Modified: java/src/org/apache/xerces/impl/xs XMLSchemaLoader.java
Log:
Some cleanup.
Revision Changes Path
1.41 +6 -5 xml-xerces/java/src/org/apache/xerces/impl/xs/XMLSchemaLoader.java
Index: XMLSchemaLoader.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/XMLSchemaLoader.java,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- XMLSchemaLoader.java 2 May 2005 22:01:30 -0000 1.40
+++ XMLSchemaLoader.java 15 May 2005 23:55:28 -0000 1.41
@@ -469,18 +469,19 @@
} // getEntityResolver(): XMLEntityResolver
/**
+ * Returns a Grammar object by parsing the contents of the
+ * entities pointed to by sources.
*
* @param source[] the locations of the entity which forms
* the staring point of the grammars to be constructed
* @throws IOException when a problem is encounted reading the entity
- * @throws XNIException when a condition arises (such as a FatalErro) that requires parsing
+ * @throws XNIException when a condition arises (such as a FatalError) that requires parsing
* of the entity be terminated
*/
- //Notes: so far, we assume one grammar won't come from multiple sources--Jack
public void loadGrammar(XMLInputSource source[])
- throws IOException, XNIException{
+ throws IOException, XNIException {
int numSource = source.length;
- for(int i = 0; i < numSource; i++){
+ for (int i = 0; i < numSource; ++i) {
loadGrammar(source[i]);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org