Kurt Andrews wrote: > Thanks for all your help. I've removed my standard version and > installed the Professional version. I hate to bother you, but this is > all new to me.
No problem. I'm here to help you. > I think if I could just get this file to open, I'd be > OK. I've switched to a shorter xml file to simplify things. Here is > what's in the xml: > > <?xml version="1.0" encoding="UTF-8"?> > <osis > xmlns="http://www.bibletechnologies.net/2003/OSIS/namespace" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://www.bibletechnologies.net/2003/OSIS/namespace > > http://www.bibletechnologies.net/OSIS/osisCore.2.1.xsd"> > <osisText > osisIDWork="CEV" > osisRefWork="bible" > xml:lang="en" > canonical="true"> > <header> > <work osisWork="CEV"> > <title>Contemporary English Version</title> > <type type="OSIS">Bible</type> > <identifier type="OSIS">Bible.en.ABS.CEV.1995</identifier> > <rights > type="x-copyright">Copyright 1995 American Bible Society > </rights> > <scope>Esth.1.1-Esth.1.4</scope> > <refSystem>Bible</refSystem> > </work> > <work osisWork="bible"> > <type type="OSIS">Bible</type> > <refSystem>Bible</refSystem> > </work> > </header> > <div type="section" scope="Esth.1.1-Esth.1.4"> > <title>Queen Vashti Disobeys King Xerxes</title> > <p> > <verse sID="Esth.1.1-Esth.1.2" osisID="Esth.1.1 Esth.1.2" n="1-2"/> > King Xerxes of Persia lived in his capital city of Susa and > ruled one hundred > twenty-seven provinces from India to Ethiopia. > <verse eID="Esth.1.1-Esth.1.2"/> > <verse sID="Esth.1.3" osisID="Esth.1.3"/> > During the third year of his rule, Xerxes gave a big dinner > for all his officials > and officers. The governors and leaders of the provinces were > also invited, and > even the commanders of the Persian and Median armies came. > <verse eID="Esth.1.3"/> > <verse sID="Esth.1.4" osisID="Esth.1.4"/> > For one hundred eighty days he showed off his wealth and spent > a lot of money to > impress his guests with the greatness of his kingdom. > <verse eID="Esth.1.4"/> > </p> > </div> > </osisText> > </osis> > > The error message is : > > Cannot open file "/Users/kandrews/Documents/workspace/esv/sample.xml": > Parse error in "http://www.bibletechnologies.net/OSIS/osisCore.2.1.xsd", > line6, column 8: > character not allowed > > Is this telling me there is an error in sample.xml at line 6 column 8 or > an error in the xsd file at that location? > > If I can verify that there is a problem with the OSIS XSD, I can take it > up with the folks at bible technologies. Yes, there is a problem with http://www.bibletechnologies.net/OSIS/osisCore.2.1.xsd Try to download it with you Web browser and you'll get an HTML error page (hence not parsable as XML) saying this: --- We Are Sorry ... The page you selected was not found. Click here to return to your previous page - or - Click here to return to this site's home page --- Tell me where I can find OSIS schemas and send me a document using these schema as an email attachment (mailto:hussein at xmlmind.com) and I'll create for you a configuration which will make documents conforming to OSIS schemas easier to open in XXE. The key component of this configuration is called an "XML catalog". With it no matter what you'll find here: --- xsi:schemaLocation="http://www.bibletechnologies.net/2003/OSIS/namespace http://www.bibletechnologies.net/OSIS/osisCore.2.1.xsd" --- XXE will always get its osisCore.2.1.xsd from the *local* *copy* contained in the configuration (which is faster and safer). --- PS: Please use xmleditor-support, your questions about XXE and your experience with XXE are of general interest.

