I am using NetBeans IDE with distributed NetBeans Plugin from HP to connect to 
OpenVMS

That way I can say that any .mdo file is an ASCII file to be sent/received by 
the FTP
File cabinet to/from openVMS.

So over all I have avery convenient way to put or get files to from my OpenVMS 
FTP
File cabinet. And I just did a get from server and then applied a local PC 
based 
Build of the target "generate-sources" and all went OK.

I doubble checkk with the EDT on OpenVMS and it seams a plain vanilla XML file.
Because NetBeans said the file type is unknown I assigned it a Mime type of
(application/xml)

I took NetBeans and I applied an xml check and an xml validation and all went 
Ok.

I went online to connect via FTP to my OpenVMS system and I did "put file to 
server"

I toke my plain old OpenVMS EDT and I could edit it without any troubles.

and I marked line 79 with EDT and went down to line 103 with EDT and the look 
all the same
in OpenVMS EDIT EDT and in NetBeans, guess there is a parser problem maybe with 
encoding
as in OpenVMS we normally use ISO-8895-1 not UTF-8.

We can say it is the same content. 

And you want beleave it ... after I toke out the content of the first 4 
<description>
</description>

In particular the CDATA sections but left 
        <description>Test
        </description>

the parsing went well over maven.mdo (all 3 gen-sets), lifecycle.mdo (all 3 gen 
sets), 
but failed again for the plugin-registry.mdo with the java gen set.

Maybe you have another advise for me.

Josef


...
  <classes>
    <class rootElement="true" xml.tagName="project">
      <name>Model</name>
      <superClass>ModelBase</superClass>
      <description>
        <![CDATA[
        The <code>&lt;project&gt;</code> element is the root of the descriptor.
        The following table lists all of the possible child elements.
        ]]>
      </description>
      <version>3.0.0+</version>
      <fields> ......................................... this is line 79 in 
OpenVMS EDT

        <!-- 
====================================================================== -->
        <!-- Model Version                                                      
    -->
        <!-- 
====================================================================== -->

        <field>
          <name>pomVersion</name>
          <version>3.0.0</version>
          <required>true</required>
          <type>String</type>
          <description>
            <![CDATA[
            Declares to which version of project descriptor this POM conforms.
            The only valid value is <code>3</code>.
            ]]>
          </description>
        </field>
        <field>
          <name>modelVersion</name>
          <version>4.0.0</version>
          <required>true</required>
          <description>Declares to which version of project descriptor this POM 
conforms.</description>
          <type>String</type>
        </field> .....and this is line 103 in openVMS EDT and the same is shown 
in NetBeans IDE Editor

        <!-- 
====================================================================== -->
        <!-- Parent Model                                                       
    -->
        <!-- 
====================================================================== -->



-----Ursprüngliche Nachricht-----
Von: Wayne Fay [mailto:[email protected]] 
Gesendet: Dienstag, 18. Januar 2011 16:10
An: Maven Users List
Betreff: Re: org.codehaus.modello.ModelloCli fails parsing maven.mdo on OpenVMS

> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: end
> tag name </field> must match start tag name <fields> from line 79
> (position: TEXT seen ...</field>        </field>... @103:33)

Did you check around line 79, the </field> and </fields> etc? Are you
certain this is exactly the same file that is processed with no errors
on Windows with zero edits or modifications, the same revision number,
etc?

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to