Book a Demo

Author Topic: Importstaments in VB .NET leading to an Error  (Read 3662 times)

Josef Stadelmann

  • EA User
  • **
  • Posts: 59
  • Karma: +0/-0
  • as simple as possible, but not too simple
    • View Profile
Importstaments in VB .NET leading to an Error
« on: April 19, 2011, 10:08:04 pm »
Imports <xmlns:c="SPS-payload">
Imports <xmlns:d="COL">
Imports <xmlns:e="WS">
Imports <xmlns:f="feld">

This are syntaxes legal for Visual Basic .NET
But when I try to import from source directory an
Unexpected Symbol: <
Error is generated and the rest is not imported


    Public Sub New()
        MyBase.New(<f:elemet/>)
    End Sub
VB .NET VS 2008 raises an error during compilation
XML namespace prefix 'f' is not defined

Just to let you know. What shall I do? Will this bug get fixed?
Josef

« Last Edit: April 19, 2011, 10:18:34 pm by stadelma »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Importstaments in VB .NET leading to an Error
« Reply #1 on: April 20, 2011, 08:40:22 am »
That's not a syntax that I've seen before.

If you send in a bug report we will correct the problem. Usually we can also send an MDG technology that allows an older version of EA to import the same syntax.

Josef Stadelmann

  • EA User
  • **
  • Posts: 59
  • Karma: +0/-0
  • as simple as possible, but not too simple
    • View Profile
Re: Importstaments in VB .NET leading to an Error
« Reply #2 on: April 20, 2011, 07:31:46 pm »
Its very VB.NET and LINQ specific, and yes I'll send a Bug Report. can you tell me who to get there to file one? A pointer is sufficent.
Josef

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Importstaments in VB .NET leading to an Error
« Reply #3 on: April 20, 2011, 09:12:42 pm »
Links are at the bottom of this page.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Josef Stadelmann

  • EA User
  • **
  • Posts: 59
  • Karma: +0/-0
  • as simple as possible, but not too simple
    • View Profile
Re: Importstaments in VB .NET leading to an Error
« Reply #4 on: April 20, 2011, 10:57:05 pm »
Hello Paolo

which Link are you referening to in .-1

Josef

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Importstaments in VB .NET leading to an Error
« Reply #5 on: April 20, 2011, 11:08:13 pm »