You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by "elharo (JIRA)" <xm...@ws.apache.org> on 2005/05/31 14:59:51 UTC

[jira] Created: (XMLRPC-60) MinML is Evil

MinML is Evil
-------------

         Key: XMLRPC-60
         URL: http://issues.apache.org/jira/browse/XMLRPC-60
     Project: XML-RPC
        Type: Bug
  Components: Source  
    Versions: 2.0    
    Reporter: elharo
    Priority: Critical


MinML is not an XML parser, It does not correctly implement the XML specification in a variety of ways. It should not be bundled and should not be used. Given that Java 1.4 now includes a much more conformant parser (and Java 1.5 includes an even better one) there's no excuse for distributing a non-conformant parser like MinML. XML-RPC is XML, and nothing less than a real XML parser can handle it correctly. 

-- 
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


Re: [jira] Commented: (XMLRPC-60) MinML is Evil

Posted by Henri Gomez <he...@gmail.com>.
Well did we send DTD on XML-RPC streams ?

BTW, XML-Parser could be changed by program isn't it ?

2005/5/31, elharo (JIRA) <xm...@ws.apache.org>:
>      [ http://issues.apache.org/jira/browse/XMLRPC-60?page=comments#action_66628 ]
> 
> elharo commented on XMLRPC-60:
> ------------------------------
> 
> A quick perusal of the MinML web page shows that it advertises non-conformance to XML. In particular it fails to handle the internal DTD subset as required by the XML specification. I don't doubt that I could find other non-conformances if I actually started parsing documents with it.
> 
> > MinML is Evil
> > -------------
> >
> >          Key: XMLRPC-60
> >          URL: http://issues.apache.org/jira/browse/XMLRPC-60
> >      Project: XML-RPC
> >         Type: Bug
> >   Components: Source
> >     Versions: 2.0
> >     Reporter: elharo
> >     Priority: Critical
> 
> >
> > MinML is not an XML parser, It does not correctly implement the XML specification in a variety of ways. It should not be bundled and should not be used. Given that Java 1.4 now includes a much more conformant parser (and Java 1.5 includes an even better one) there's no excuse for distributing a non-conformant parser like MinML. XML-RPC is XML, and nothing less than a real XML parser can handle it correctly.
> 
> --
> 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
> 
>

[jira] Geschlossen: (XMLRPC-60) MinML is Evil

Posted by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLRPC-60?page=all ]
     
Jochen Wiedmann closed XMLRPC-60:
---------------------------------

    Resolution: Won't Fix

First of all, let me say, that I am not so keen with MinML either and share your opinion, that a modern XML parser and
preferrably the JRE's parser should be default.

However, as already pointed out, this can easily be achieved and you are by no means forced to use MinML. Besides, take a look at

http://cvs.apache.org/viewcvs.cgi/ws-xmlrpc/?only_with_tag=b20050512_streaming

and you'll note, that the use of SAX2 is already implemented in a branch.


> MinML is Evil
> -------------
>
>          Key: XMLRPC-60
>          URL: http://issues.apache.org/jira/browse/XMLRPC-60
>      Project: XML-RPC
>         Type: Bug
>   Components: Source
>     Versions: 2.0
>     Reporter: elharo
>     Priority: Critical

>
> MinML is not an XML parser, It does not correctly implement the XML specification in a variety of ways. It should not be bundled and should not be used. Given that Java 1.4 now includes a much more conformant parser (and Java 1.5 includes an even better one) there's no excuse for distributing a non-conformant parser like MinML. XML-RPC is XML, and nothing less than a real XML parser can handle it correctly. 

-- 
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


[jira] Commented: (XMLRPC-60) MinML is Evil

Posted by "Danny Angus (JIRA)" <xm...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLRPC-60?page=comments#action_66616 ]
     
Danny Angus commented on XMLRPC-60:
-----------------------------------

This is a very vague observation, with a very strongly worded proposal for its resolution.
Might I suggest that the way to procede is to describe some concrete instances of MinML's failure in the role, and if possible provide some simple reproducable test cases to support your opinion.

Might I also point out: "http://ws.apache.org/xmlrpc/parser.html" which describes how to use any other parser.

I would respectfully suggest this issue be downgraded to "Minor" "Wish" and resolve by changing the _default_ parser to the J2SE default.

> MinML is Evil
> -------------
>
>          Key: XMLRPC-60
>          URL: http://issues.apache.org/jira/browse/XMLRPC-60
>      Project: XML-RPC
>         Type: Bug
>   Components: Source
>     Versions: 2.0
>     Reporter: elharo
>     Priority: Critical

>
> MinML is not an XML parser, It does not correctly implement the XML specification in a variety of ways. It should not be bundled and should not be used. Given that Java 1.4 now includes a much more conformant parser (and Java 1.5 includes an even better one) there's no excuse for distributing a non-conformant parser like MinML. XML-RPC is XML, and nothing less than a real XML parser can handle it correctly. 

-- 
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


[jira] Commented: (XMLRPC-60) MinML is Evil

Posted by "Daniel Rall (JIRA)" <xm...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/XMLRPC-60?page=comments#action_12313003 ] 

Daniel Rall commented on XMLRPC-60:
-----------------------------------

I'd be okay with an enhancement which defaults to a SAX2-compliant parser when available, but this isn't always the case.  MinML is a good fallback for those situations (e.g. applets).


> MinML is Evil
> -------------
>
>          Key: XMLRPC-60
>          URL: http://issues.apache.org/jira/browse/XMLRPC-60
>      Project: XML-RPC
>         Type: Bug
>   Components: Source
>     Versions: 2.0
>     Reporter: elharo
>     Priority: Critical

>
> MinML is not an XML parser, It does not correctly implement the XML specification in a variety of ways. It should not be bundled and should not be used. Given that Java 1.4 now includes a much more conformant parser (and Java 1.5 includes an even better one) there's no excuse for distributing a non-conformant parser like MinML. XML-RPC is XML, and nothing less than a real XML parser can handle it correctly. 

-- 
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


[jira] Commented: (XMLRPC-60) MinML is Evil

Posted by "elharo (JIRA)" <xm...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLRPC-60?page=comments#action_66628 ]
     
elharo commented on XMLRPC-60:
------------------------------

A quick perusal of the MinML web page shows that it advertises non-conformance to XML. In particular it fails to handle the internal DTD subset as required by the XML specification. I don't doubt that I could find other non-conformances if I actually started parsing documents with it.

> MinML is Evil
> -------------
>
>          Key: XMLRPC-60
>          URL: http://issues.apache.org/jira/browse/XMLRPC-60
>      Project: XML-RPC
>         Type: Bug
>   Components: Source
>     Versions: 2.0
>     Reporter: elharo
>     Priority: Critical

>
> MinML is not an XML parser, It does not correctly implement the XML specification in a variety of ways. It should not be bundled and should not be used. Given that Java 1.4 now includes a much more conformant parser (and Java 1.5 includes an even better one) there's no excuse for distributing a non-conformant parser like MinML. XML-RPC is XML, and nothing less than a real XML parser can handle it correctly. 

-- 
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