Re: Passing large XML Document object via RMI

2002-06-17 Thread Jeff Orris
You can increase the stack size with the -Xss option on the java command, i.e., java -Xss64m. Mark Gertsvolf

Re: Document level comments getNextSibling()

2002-04-29 Thread Jeff Orris
To get to the root element of the document, you must first use document.getDocumentElement(). Then you can traverse the children of the root.

Re: XML Schema Parsing API

2002-04-23 Thread Jeff Orris
Since the schema itself is an XML document, why not use DOMParser to parse the schema into a DOM and use the standard DOM API to traverse the schema?

Re: Accessing the internal schema representation

2002-03-06 Thread Jeff Orris
Try using the DOMParser to read the schema into a DOM. You'll have to turn off validation first. Then traverse the DOM to generate your text file description. I'm developing something like this to generate a COBOL copybook and its associated flat file from an XML instance document.

Re: Using an external-SchemaLocation for xml schema validation

2002-03-05 Thread Jeff Orris
This property accepts pairs of URIs -- the first pair value is the target namespace of the schema, the second is the actual location of the schema. Jeff <[

Schema Validaton Error

2002-02-26 Thread Jeff Orris
I receive the following error when trying to validate an instance document against a schema using the DOMParser in XML4J 3.2.1: [Error] file:///My XML Files/CM1pt0.xml:7:17: Element type "DocumentId" must be declared. org.xml.sax.SAXParseException: Element type "DocumentId" must be declared.

Re: Dynamic Validation Using a Schema

2002-02-25 Thread Jeff Orris
According to the XML4J 3.2.1 doc, "http://apache.org/xml/features/validation/schema"; is set to true by default (even though Apache's doc states that it is false by default). To verify that the feature is set to true in my case, I did a parser.getFeature("http://apache.org/xml/features/validation

Re: Dynamic Validation Using a Schema

2002-02-25 Thread Jeff Orris
I tried setting both "http://xml.org/sax/features/validation"; and "http://apache.org/xml/features/validation/dynamic"; to true, but no validation occurred. The documentation for "http://apache.org/xml/features/validation/dynamic"; in http://xml.apache.org/xerces2-j/features states that "Th

Dynamic Validation Using a Schema

2002-02-25 Thread Jeff Orris
I'm trying to validate an XML document against a schema using the XML4J 3.2.1 DOMParser. When I set the "http://xml.org/sax/features/validation"; feature to true, the validation works well. But when I set the "http://apache.org/xml/features/validation/dynamic"; to true (and leave the normal valid

Re: Schema Error

2002-02-22 Thread Jeff Orris
dy Gao Software Developer, IBM Canada (1-905) 413-3255 [EMAIL PROTECTED] "Jeff Orris" <[EMAIL PROTECTED] To: [EMAIL PROTECTED] cess.org>cc: Subject: Sc

Schema Error

2002-02-21 Thread Jeff Orris
I receive the following error when I attempt to use the DOMParser in XML4J-3_2_1 to create a Document from a schema file: (Embedded image moved to file: pic22308.pcx) Any ideas as to what is causing the error and how to resolve it? Jeff pic22308.pcx Description: Binary data -