You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Philippe Kernevez (JIRA)" <co...@jakarta.apache.org> on 2005/12/01 23:44:31 UTC

[jira] Created: (JELLY-224) The parser always try to load the DTD even if validate = false

The parser always try to load the DTD even if validate = false
--------------------------------------------------------------

         Key: JELLY-224
         URL: http://issues.apache.org/jira/browse/JELLY-224
     Project: jelly
        Type: Bug
  Components: taglib.xml  
 Environment: Working of line or behind a proxy
    Reporter: Philippe Kernevez


The tag <i>xml:parse</i> always try to load the DTD even if the attribut <i>validate=false</i> is used.
This cause an error when we use this tag without connection.

See: the linked issue http://jira.codehaus.org/browse/MPDASHBOARD-34 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Commented: (JELLY-224) The parser always try to load the DTD even if validate = false

Posted by "Thomas Dudziak (JIRA)" <co...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/JELLY-224?page=comments#action_12359149 ] 

Thomas Dudziak commented on JELLY-224:
--------------------------------------

Perhaps xml-commons can help ?

http://xml.apache.org/commons/components/resolver/index.html


> The parser always try to load the DTD even if validate = false
> --------------------------------------------------------------
>
>          Key: JELLY-224
>          URL: http://issues.apache.org/jira/browse/JELLY-224
>      Project: jelly
>         Type: Bug
>   Components: taglib.xml
>  Environment: Working of line or behind a proxy
>     Reporter: Philippe Kernevez

>
> The tag <i>xml:parse</i> always try to load the DTD even if the attribut <i>validate=false</i> is used.
> This cause an error when we use this tag without connection.
> See: the linked issue http://jira.codehaus.org/browse/MPDASHBOARD-34 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Commented: (JELLY-224) The parser always try to load the DTD even if validate = false

Posted by "Simon Kitching (JIRA)" <co...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/JELLY-224?page=comments#action_12359135 ] 

Simon Kitching commented on JELLY-224:
--------------------------------------

As Paul says, loading the DTD is required, for things like entity definitions or default attribute definitions. See the xml specs for attribute "standalone".

However there should be some mechanism for registering a local copy of DTD to use rather than fetching the URL specified in the SYSTEM attribute. If this doesn't exist in Jelly then it should do...

> The parser always try to load the DTD even if validate = false
> --------------------------------------------------------------
>
>          Key: JELLY-224
>          URL: http://issues.apache.org/jira/browse/JELLY-224
>      Project: jelly
>         Type: Bug
>   Components: taglib.xml
>  Environment: Working of line or behind a proxy
>     Reporter: Philippe Kernevez

>
> The tag <i>xml:parse</i> always try to load the DTD even if the attribut <i>validate=false</i> is used.
> This cause an error when we use this tag without connection.
> See: the linked issue http://jira.codehaus.org/browse/MPDASHBOARD-34 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Commented: (JELLY-224) The parser always try to load the DTD even if validate = false

Posted by "Paul Libbrecht (JIRA)" <co...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/JELLY-224?page=comments#action_12359148 ] 

Paul Libbrecht commented on JELLY-224:
--------------------------------------

You mean like a catalog based on public-identifiers, right ?
That could be considered, indeed, within the core tags... but we need to rephrase such a wish!
Does anyone have pointer to Xerces support for something like catalogs ?

Sorry to have been a bit rude...

paul

> The parser always try to load the DTD even if validate = false
> --------------------------------------------------------------
>
>          Key: JELLY-224
>          URL: http://issues.apache.org/jira/browse/JELLY-224
>      Project: jelly
>         Type: Bug
>   Components: taglib.xml
>  Environment: Working of line or behind a proxy
>     Reporter: Philippe Kernevez

>
> The tag <i>xml:parse</i> always try to load the DTD even if the attribut <i>validate=false</i> is used.
> This cause an error when we use this tag without connection.
> See: the linked issue http://jira.codehaus.org/browse/MPDASHBOARD-34 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Resolved: (JELLY-224) The parser always try to load the DTD even if validate = false

Posted by "Paul Libbrecht (JIRA)" <co...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/JELLY-224?page=all ]
     
Paul Libbrecht resolved JELLY-224:
----------------------------------

    Resolution: Invalid

This has nothing to do with Jelly...
All XML parsers have to load the DTD when it's referenced since a DTD can indicate default values to attributes (which can also mean namespaces).

hope it helps.

paul

> The parser always try to load the DTD even if validate = false
> --------------------------------------------------------------
>
>          Key: JELLY-224
>          URL: http://issues.apache.org/jira/browse/JELLY-224
>      Project: jelly
>         Type: Bug
>   Components: taglib.xml
>  Environment: Working of line or behind a proxy
>     Reporter: Philippe Kernevez

>
> The tag <i>xml:parse</i> always try to load the DTD even if the attribut <i>validate=false</i> is used.
> This cause an error when we use this tag without connection.
> See: the linked issue http://jira.codehaus.org/browse/MPDASHBOARD-34 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org