Isidore-Guild / Canisius

OSIS Petrus Canisiusvertaling
Creative Commons Zero v1.0 Universal
2 stars 0 forks source link

XML syntax check and OSIS validation #1

Closed DavidHaslam closed 8 years ago

DavidHaslam commented 8 years ago

Currently the XML fails syntax check. That needs fixing.

Then in order to validate the OSIS to the remote schema, please replace line 1 with

<?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/osisCore.2.1.1.xsd">

DavidHaslam commented 8 years ago

See http://www.crosswire.org/wiki/OSIS_Bibles#Tools

DavidHaslam commented 8 years ago

btw. Although I'm a member of the modules list, I don't participate in the IRC for CrossWire.

lemtom commented 8 years ago

Okay, I shall see if I can get the XML corrected. I now recall having to do that for the Catena module as well. It's been a while.

lemtom commented 8 years ago

Okay, I have corrected all the issues the XMl validators gave me, except that it still complains about the closing tag , but I can't seem to fix that.

DavidHaslam commented 8 years ago

Which XML Editor do you use?

I general use Notepad++ together with the XML Tools Plugin.

This editor has a powerful search feature. I've been using it for years.

DavidHaslam commented 8 years ago

You have three missing </div> elements.

There are 75 <div...> but only 72 </div>

XML Syntax Check still fails. This doesn't depend on the file being OSIS.

This has to pass before one performs the OSIS validation testing.

DavidHaslam commented 8 years ago

I've got the file to pass XML syntax check. There are now 74 of each. There are 73 book divisions and Daniel has a section division.

I've not forked, so I'll email you the correction.

lemtom commented 8 years ago

Ah, I think I have corrected it on my end too.

lemtom commented 8 years ago

some divs that should have been /divs

DavidHaslam commented 8 years ago

To write any XML elements in a comment here, replace the opening "<" by "& l t ;" without the spaces.

Preview first to check.

lemtom commented 8 years ago

Well, I think you understood what I meant in any case.

Anyway, to rephrase it, the issue in my XML validator concerned <div> tags which should have been </div> tags. I also made some significant changes to the footnotes, after a conversation with Peter von Kaehne.

DavidHaslam commented 8 years ago

XML now validates to OSIS. Closing issue.