A non-text attachment was scrubbed...
Name: osisCore.2.1.xsd
Type: application/octet-stream
Size: 93798 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060410/64beb091/attachment.dll
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample.xml
Type: text/xml
Size: 1977 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060410/64beb091/attachment.xml
 
-------------- next part --------------

Hussein,

I've attached the osisCore.2.1.xsd and my sample xml.  Per  your  
request I've included the support list in the to line of this email.

I tried to find information in help on the xml catalog to see if I  
could figure out how to configure the catalog myself.  I ran into the  
following issues:

The help index appears to be empty
The search feature returned hits on xml when I searched for xml  
catalog and I got the same list when I put the phrase in quotes "xml  
catalog."  None of the hits returned by the search was about setting  
up the xml catalog at least to someone completely new to the topic.

I'm guessing that the namespace dialog plays in here some how, but  
I'm still confused about how all the parts fit together.

Thanks again for the assistance.

Regards,

Kurt

P.S. is there a preferred location where I should keep local xsd  
files.  If we configure osis to work locally, do we also need to  
configure the docbook stuff?




On Apr 10, 2006, at 4:21 AM, Hussein Shafie wrote:

> 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.
>

Reply via email to