Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [smila-dev] org.eclipse.smila.utils.XMLHelper / XML 1.1

Hi Igor,

thanx for your comment.
I think this is a sufficient solution right now.

I implemented a patch based on your proposal:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=276109

Best regards,
 Andreas

> -----Ursprüngliche Nachricht-----
> Von: smila-dev-bounces@xxxxxxxxxxx [mailto:smila-dev-bounces@xxxxxxxxxxx] Im Auftrag von
> Igor.Novakovic@xxxxxxxxxxx
> Gesendet: Mittwoch, 13. Mai 2009 12:37
> An: smila-dev@xxxxxxxxxxx
> Betreff: AW: [smila-dev] org.eclipse.smila.utils.XMLHelper / XML 1.1
> 
> Hi Andreas,
> 
> > I'm afraid the solution won't be that easy as I first thought...
> >
> > Setting the XML header to 1.1 will diminish the problem but not solve
> it.
> > Reason is, that XML 1.1 still doesn't allow the following characters:
> > - unescaped control characters
> > - escaped control character #x0
> >
> > So, if we have one of those in an imported document, there's still a
> chance
> > to get the error I described before.
> > (Problem is not academic, e.g. the #x0 character can be found in our
> html test
> > documents)
> >
> > So it looks like we have to find a more general solution for this.
> (CDATA?)
> 
> How about removing control character #x0 just before serializing a
> record to a string?
> If XML 1.1 has a problem only with this control character (even if
> escaped) than it should be not too hard to remove it from the string.
> What do you think?
> 
> Cheers
> Igor
> _______________________________________________
> smila-dev mailing list
> smila-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/smila-dev


Back to the top