Title: RE: Getting error on valid xml doc

It appears to be at the <![CDATA[ROOT = 0, ELEMENT = 1, CHARDATA = 2, etc.]]>.  Here's the actual document I used.

<<gui2_8859_1.xml>>





     

    -----Original Message-----
    From:   Dean Roddey [SMTP:[EMAIL PROTECTED]]
    Sent:   Monday, February 25, 2002 5:48 PM
    To:     [EMAIL PROTECTED]
    Subject:        Re: Getting error on valid xml doc

    Could you indicate where that is exactly? Your posted version had no line breaks in it.
    --------------------------
    Dean Roddey
    The Charmed Quark Controller
    Charmed Quark Software
    [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
    <http://www.charmedquark.com>

    "If it don't have a control port, don't buy it!"

      ----- Original Message -----
      From: Williamson, Siehnai <mailto:[EMAIL PROTECTED]>
      To: '[EMAIL PROTECTED]' <mailto:'[EMAIL PROTECTED]'>
      Sent: Monday, February 25, 2002 3:51 PM
      Subject: RE: Getting error on valid xml doc


      Line number 5, column 9.

              -----Original Message-----
      From:�� Dean Roddey [SMTP:[EMAIL PROTECTED]]
      Sent:�� Monday, February 25, 2002 5:43 PM
      To:���� [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
      Subject:������� Re: Getting error on valid xml doc

              What line number is it reporting the error at?

      --------------------------
      Dean Roddey
      The Charmed Quark Controller
      Charmed Quark Software
      [EMAIL PROTECTED] < <mailto:[EMAIL PROTECTED]>>
      < <http://www.charmedquark.com>>

      "If it don't have a control port, don't buy it!"

                ----- Original Message -----
        From: Williamson, Siehnai < <mailto:[EMAIL PROTECTED]>>
        To: [EMAIL PROTECTED] < <mailto:[EMAIL PROTECTED]>>
        Sent: Monday, February 25, 2002 3:35 PM
        Subject: Getting error on valid xml doc



                Hi,

                I keep getting the error, "Unknown element 'XMLGUI'", when I parse the xml document below.� It doesn't have a corresponding DTD or schema, so what is Xerces checking the document against?� The document is below.



                <<gui2_8859_1.xml>>


                <?xml version="1.0" encoding="ISO-8859-1"?> <!-- TransAll XML Document --> <XMLGUI>�� <WINDOW� id="T1"� caption="Test for cdata section">��� <![CDATA[ROOT = 0, ELEMENT = 1, CHARDATA = 2, etc.]]>��� Anything inside a cdata section is treated as plain text��� <LABEL� id="cdata"� caption="Test for cdata section">The XML processor will not attempt to interpret cdata sections as markup</LABEL>��� <BUTTON� id="bcancel"� caption="Cancel"/>��� <TEXTBOX>Cdata test appears to have worked OK</TEXTBOX> </WINDOW>�� <WINDOW� id="T2"� caption="Test for comment">��� Comments cannot come before the XML declaration and cannot appear inside of an element tag��� <!-- If you want more XML test data to be created just simply let me know and I'll hook you up -->��� <LABEL� id="comment"� caption="Test for comment">Comments are ignored by the XML processorp</LABEL>��� <TEXTBOX>Comment test appears to have worked OK</TEXTBOX> </WINDOW>�� <WINDOW� id="T3"� caption="Test for processing instruction">��� PI's are mostly for the use of developers rather than end-users��� <?XMLTesting "The updates are in TransAll's XML Deliverables.doc. Use the .TSC I will send you to get some ideas on how to retrieve processing instruction information.� The XML Data Type Code for PI's is 4"?>��� <LABEL� id="ProcessingInstruction"� caption="Test for processing instruction">PI's allow developers to place information specific to an outside application within the doucment ignored by the XML processorp</LABEL>��� <BUTTON� id="bcancel"� caption="Cancel"/>��� <TEXTBOX>Processing instruction test appears to have worked OK</TEXTBOX> </WINDOW> </XMLGUI>



                Thanks,
        Siehnai


              � _____�



                ---------------------------------------------------------------------
        To unsubscribe, e-mail: [EMAIL PROTECTED]
        For additional commands, e-mail: [EMAIL PROTECTED]

Attachment: gui2_8859_1.xml
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to