Schema

2002-02-27 Thread Ha Nguyen
Hi, I have questions about the syntax of schema: I want to write a schema for the purchaseOrder example with conditions: (1) shipTo, comment, items can appear in any order under purchaseOrder; (2) name, street, city, state, zip can appear in any order under shipTo; (3) itemQuantity, item can app

Re: Xerces-2_0_0 samples give me an error when I include in the xml file.

2002-02-07 Thread Ha Nguyen
Hi Sandy, I did not put '<' on the first line. It works fine now, Thank You, Ha At 01:55 PM 2/7/2002 -0500, you wrote: > [Fatal Error] soap.xml:12:3: The processing instruction ... Did you put on line 12? If you do want , its '<' character must be the first character of the document. Sandy Gao So

Re: Xerces-2_0_0 samples give me an error when I include in the xml file.

2002-02-07 Thread Ha Nguyen
on at org.apache.xerces.parsers.DOMBuilderImpl.parseURI(DOMBuilderImpl.java :586) at dom.ASBuilder.main(ASBuilder.java:223) Thanks, Ha At 02:08 PM 2/7/2002 +1100, you wrote: Make sure it is at least At 13:18 7/02/2002, Ha Nguyen wrote: Hi All, I have tried to use Xerces-2_0_0 samples with an xml file. It gives

Xerces-2_0_0 samples give me an error when I include in the xml file.

2002-02-07 Thread Ha Nguyen
Hi All, I have tried to use Xerces-2_0_0 samples with an xml file. It gives me an error when I include in the xml file. Is this a bug with xerces-2_0_0 or I did something wrong? Thanks, Ha - To unsubscribe, e-mail: [EMAIL PRO

RE: Xerces 1.4.1 problem validating choices in schema

2002-02-06 Thread Ha Nguyen
Hi, I have the same problem. So, please let me know if you find a solution and same here. Thanks, Ha At 06:24 PM 2/5/2002 -0500, [EMAIL PROTECTED] wrote: > I changed "all" to "sequence" and it still only validates against the first > item in . If you turn on schema-full-checking feature (-f on t

encodingStyle

2002-02-05 Thread Ha Nguyen
Hi All, I used the ASBuilder example in the xerces-2_0_0 to validate a soap message which contains the encodingStyle attribute in the Envelope element. However, this example gave me an error like cvc-complex-type.3.2.2: Attribute 'SOAP-ENV:encodingStyle' is not allowed to appear in element 'SO