[sword-devel] XML attribute delimiters in OSIS files?

David Haslam dfhmch at googlemail.com
Wed Oct 26 08:19:37 MST 2011


You think Peter was thinking of nested quotations?  Greg hinted at the
possibility in his first reply.

So to illustrate...(merely hypothetical - not something to expect in OSIS)

------

!!!!! Does not address the possibility of nesting within an attribute !!!!!

Example: 
   <title type='nested "quotation" '/>
becomes 
   <title type="nested "quotation" "/>
which is invalid XML

However this is much less likely than 
   <title type="nested 'quotation' "/>
so probably not an issue.

------

(Pasted from a comment in the TextPipe filter I was just writing.)

Special filter to rectify XML attribute delimiters
Converts delimiters that use apostrophes to using double quotes

My filter doesn't care that the input files are OSIS.
It's just a simple solution to the issue I encountered.

David

--
View this message in context: http://sword-dev.350566.n4.nabble.com/XML-attribute-delimiters-in-OSIS-files-tp3907261p3940986.html
Sent from the SWORD Dev mailing list archive at Nabble.com.



More information about the sword-devel mailing list