Unexpected element in a xmlport

abultel
Member Posts: 14
Hello all,
I am trying to import an xml file and I have always the message :
"Unexpected Element HABILITATIONLIST although this tag is in my XMLport in the right position.
Does anyone have an idea to solve the problem ?
Thanks in advance
Arnaud Bultel
I am trying to import an xml file and I have always the message :
"Unexpected Element HABILITATIONLIST although this tag is in my XMLport in the right position.
Does anyone have an idea to solve the problem ?
Thanks in advance
Arnaud Bultel
Bultel Arnaud
ATOS ORIGIN
ATOS ORIGIN
0
Comments
-
-
Make sure it's the correct CASE0
-
Thanks for your answer.
In fact, the problem was in the xml file.
The opening tag must be closed at the end of each record and not at the end of the file.
Best regards
Arnaud BultelBultel Arnaud
ATOS ORIGIN0 -
hello. I am having this same problem and cannot figure it out!
I have defined the element properly in the XMLPort: proper CASE, proper spelling, proper indentation, yet when i try to pull in my file, i get: the Element <ItemID> is unexpected.
the file is formatted like this:<ItemOut lineNumber='1' quantity='10' requestedDeliveryDate='2008-10-20T00:00:00-00:00'> <ItemID> <SupplierPartID>0117633603</SupplierPartID> </ItemID> <ItemDetail> ... more elements... </ItemOut>
when i remove the ItemID section from the XML file, and set ItemID minOccur to zero in my XMLPORT it works fine. it brings in my item details as expected.
any ideas?
edit: DANG! i need to step away from my cube. as soon as i posted this, i went back and looked at my XMLPort again, and while ItemID was setup properly, the subsequent element SupplierPartID was not.
Sorry everyone. i knew it had to be something i was doing wrong!kind of fell into this...0 -
Experienced the same problem but with a different solution.
The element <element> was unexpected
this error occured when I changed <element> from sourcetype field to sourcetype text
When I edited the xml file from <element></element> to <element/> the import worked.
Could this be a bug?0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions