On Tue, Oct 25, 2011 at 03:51:03PM -0700, Chris Little wrote:
> Do you mean they are using single-quotes for one and double-quotes
> for the other? That's certainly bad style, at the least. I'm not
> sure whether it is well-formed XML. Did you happen to try
> validating?

Using single and double quotes in the same element are valid and such files
are well-formed XML.  There's a test-case at the end of this mail.

You can declare it as not valid for osis2mod but it's one more pitfall for
OSIS writters and one more step away from XML. Is it so difficult to correct
this bug?

% cat test.xml  
<?xml version="1.0"?>

<a one='1' two="2">
        <b type="start">
                <c/>
                <c attr='single&apos;'/>
                <c attr="double&quot;"/>
                <c attr='&apos; &amp; &quot;'/>
        </b>
</a>
% xmlwf test.xml
% echo $?       
0

-- 
Seb, autocuiseur

_______________________________________________
sword-devel mailing list: [email protected]
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to