[Insight-developers] kitware public wiki and xml

Gabe Hart gabe.hart at kitware.com
Tue Nov 2 12:00:11 EDT 2010


I think this would work for writing snippets directly in the wiki, but 
the problem I'm having is with uploading an xml document.  Is there a 
way to tell the wiki that the file can be trusted?

Thanks,
-Gabe

On 10/27/2010 04:19 PM, Luis Ibanez wrote:
> Hi Gabe,
>
> In the Wiki,
> You may want to try:
>
>
> <source lang="xml">
>
> ...put the XML code here...
>
> </source>
>
> This should indicate the wiki how to parse/treat
> the XML snippets.
>
>
>      Luis
>
>
> ----------------------------------------------------
> On Tue, Oct 26, 2010 at 1:07 PM, Gabe Hart <gabe.hart at kitware.com 
> <mailto:gabe.hart at kitware.com>> wrote:
>
>     As pointed out on today's tcon, the XML sample file I have posted
>     for the migration guides cannot be properly parsed.  The problem
>     was including angle brackets in the sample code section which the
>     XML parser thought were a new tag.  This was easy enough to fix,
>     but the real problem now lies in the fact that it seems the wiki
>     forbids the uploading of correctly formatted XML documents for
>     security reasons.  I get the error:
>
>     "This file contains HTML or script code that may be erroneously
>     interpreted by a web browser."
>
>     Does anyone know a way around this error?
>
>     Thanks,
>     -Gabe
>
>     -- 
>     Gabe Hart
>     R&D Engineer
>     Kitware, Inc. - North Carolina Office
>     http://www.kitware.com
>     (919) 969-6990 x317
>
>
>     _______________________________________________
>     Powered by www.kitware.com <http://www.kitware.com>
>
>     Visit other Kitware open-source projects at
>     http://www.kitware.com/opensource/opensource.html
>
>     Kitware offers ITK Training Courses, for more information visit:
>     http://kitware.com/products/protraining.html
>
>     Please keep messages on-topic and check the ITK FAQ at:
>     http://www.itk.org/Wiki/ITK_FAQ
>
>     Follow this link to subscribe/unsubscribe:
>     http://www.itk.org/mailman/listinfo/insight-developers
>
>


-- 
Gabe Hart
R&D Engineer
Kitware, Inc. - North Carolina Office
http://www.kitware.com
(919) 969-6990 x317

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20101102/8334d117/attachment.htm>


More information about the Insight-developers mailing list