We are using conditional comments in our base page without any issues.
Dunno if that page isn't parsed my the MarkupParser for some reason...

Jörn

On Mon, Sep 22, 2008 at 5:49 PM, Matej Knopp <[EMAIL PROTECTED]> wrote:
> Well, if it is a valid xml then it is bug in our parser.
>
> -Matej
>
> On Mon, Sep 22, 2008 at 5:44 PM, Igor Vaynberg <[EMAIL PROTECTED]>wrote:
>
>> you are going to have to output the whole thing using a label or
>> header contributor. our parser cant handle the non-standard comment
>> tags yet.
>>
>> -igor
>>
>> On Mon, Sep 22, 2008 at 1:40 AM, Wayne Pope
>> <[EMAIL PROTECTED]> wrote:
>> > Hi,
>> >
>> > I just tried to put some conditional comments in my page:
>> >
>> > <!--[if lt IE 7]>
>> >        <style type="text/css">
>> >        .dock img { behavior: url(css/iepngfix.htc) }
>> >        </style>
>> > <![endif]-->
>> >
>> > and the Markupparser just can't seem to handle it:
>> >
>> > Caused by: java.text.ParseException: Unclosed comment beginning at line:9
>> > column:3
>> >    at
>> >
>> org.apache.wicket.markup.parser.XmlPullParser.specialTagHandling(XmlPullParser.java:332)
>> >    at
>> >
>> org.apache.wicket.markup.parser.XmlPullParser.next(XmlPullParser.java:243)
>> >    at
>> >
>> org.apache.wicket.markup.parser.XmlPullParser.nextTag(XmlPullParser.java:423)
>> >    at
>> >
>> org.apache.wicket.markup.parser.filter.WicketTagIdentifier.nextTag(WicketTagIdentifier.java:77)
>> >    at
>> >
>> org.apache.wicket.markup.parser.filter.TagTypeHandler.nextTag(TagTypeHandler.java:76)
>> >    at
>> >
>> org.apache.wicket.markup.parser.filter.HtmlHandler.nextTag(HtmlHandler.java:78)
>> >    at
>> >
>> org.apache.wicket.markup.parser.filter.WicketRemoveTagHandler.nextTag(WicketRemoveTagHandler.java:60)
>> >    at
>> >
>> org.apache.wicket.markup.parser.filter.WicketLinkTagHandler.nextTag(WicketLinkTagHandler.java:94)
>> >    at
>> >
>> org.apache.wicket.markup.parser.AbstractMarkupFilter.nextComponentTag(AbstractMarkupFilter.java:82)
>> >    at
>> >
>> org.apache.wicket.markup.parser.filter.WicketNamespaceHandler.nextTag(WicketNamespaceHandler.java:72)
>> >    at
>> >
>> org.apache.wicket.markup.parser.AbstractMarkupFilter.nextComponentTag(AbstractMarkupFilter.java:82)
>> >    at
>> >
>> org.apache.wicket.markup.parser.filter.WicketMessageTagHandler.nextTag(WicketMessageTagHandler.java:81)
>> >    at
>> >
>> org.apache.wicket.markup.parser.AbstractMarkupFilter.nextComponentTag(AbstractMarkupFilter.java:82)
>> >    at
>> >
>> org.apache.wicket.markup.parser.filter.HtmlHeaderSectionHandler.nextTag(HtmlHeaderSectionHandler.java:77)
>> >    at
>> >
>> org.apache.wicket.markup.parser.filter.HeadForceTagIdHandler.nextTag(HeadForceTagIdHandler.java:77)
>> >    at
>> >
>> org.apache.wicket.markup.parser.AbstractMarkupFilter.nextComponentTag(AbstractMarkupFilter.java:82)
>> >    at
>> >
>> org.apache.wicket.markup.parser.filter.OpenCloseTagExpander.nextTag(OpenCloseTagExpander.java:51)
>> >    at
>> >
>> org.apache.wicket.markup.parser.AbstractMarkupFilter.nextComponentTag(AbstractMarkupFilter.java:82)
>> >    at
>> >
>> org.apache.wicket.markup.parser.filter.EnclosureHandler.nextTag(EnclosureHandler.java:76)
>> >    at
>> >
>> org.apache.wicket.markup.parser.filter.RelativePathPrefixHandler.nextTag(RelativePathPrefixHandler.java:116)
>> >    at
>> > org.apache.wicket.markup.MarkupParser.getNextTag(MarkupParser.java:302)
>> >    at
>> > org.apache.wicket.markup.MarkupParser.parseMarkup(MarkupParser.java:322)
>> >    ... 35 more
>> >
>> > Any way of handling this?
>> > thanks
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>

Reply via email to