OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Help needed in XMl - Data

[ Lists Home | Date Index | Thread Index ]
  • From: Usha_R2@verifone.com
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 28 Aug 1998 17:12:29 +0530

Hi! All,

I put the following in a .xml file say book.xml and tried to parse it
using MSXML parser. I got the following erro parsing it. Can anybody
please help me how to fix it.

C:\xml\test>jview /cp c:\micxml\classes c:\micxml\msxml -d book1.xml
Expected comments, PI, or EOF instead of start tag(<)
Location: file:/C:/xml/test/book1.xml(29,1)
Context: <null>


book.xml
--------

<?XML version='1.0' ?>
<s:schema>

    <elementType id="name">
        <string/>
    </elementType>

    <elementType id="Person">
        <any/>
    </elementType>

    <elementType id="author">
        <string/>
    </elementType>

    <elementType id="titlePart">
        <string/>
    </elementType>

    <elementType id="title">
        <mixed><element type="#titlePart"/></mixed>
    </elementType>

    <elementType id="Book">
        <element type="#title" occurs="OPTIONAL"/>
        <element type="#author" occurs="ONEORMORE"/>
    </elementType>

</s:schema>
<Book>
    <author>Henry Ford</author>
    <author>Samuel Crowther</author>
    <title>My Life and<titlePart>Work</titlePart></title>
</Book>

Thank you
Usha
K. Usha Rani
 
Dept        : Applications
Phone    : (080) - 2869920
Email     :  usha_r2@verifone.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS