XML Parser error

MarkKeener
Member Posts: 17
I am trying to import an XML file and am getting the following error:
"The XML Parser returns the following fatal error:
Illegal qualified name character.
Line Number = 1, Column Number = 2"
Here are the first several lines of my XML file:
<?xml version="1.0" encoding="utf-16"?>
<ShipUpdateEntity>
<Notifications>
<HighestSeverity>Success</HighestSeverity>
<NotificationList/>
</Notifications>
<TransactionID>D006246</TransactionID>
<ExternalTransactionID/>
<Method/>
<SubMethod/>
Does anyone have any idea what the problem might be. The first line of the file I'm trying to import looks just like the first line of the XML file that I'm exporting.
I also read on another XML thread on this forum that Navision is somewhat picky about the UTF-16 encoding. Is there any truth to this?
THANKS for any help or direction that you can give me!!
"The XML Parser returns the following fatal error:
Illegal qualified name character.
Line Number = 1, Column Number = 2"
Here are the first several lines of my XML file:
<?xml version="1.0" encoding="utf-16"?>
<ShipUpdateEntity>
<Notifications>
<HighestSeverity>Success</HighestSeverity>
<NotificationList/>
</Notifications>
<TransactionID>D006246</TransactionID>
<ExternalTransactionID/>
<Method/>
<SubMethod/>
Does anyone have any idea what the problem might be. The first line of the file I'm trying to import looks just like the first line of the XML file that I'm exporting.
I also read on another XML thread on this forum that Navision is somewhat picky about the UTF-16 encoding. Is there any truth to this?
THANKS for any help or direction that you can give me!!
0
Comments
-
Try to open your XML file in Internet Explorer.
Seems this file would be wrong.
You could only have one root node in DOM.Sincerely yours, GRIZZLY
Follow my blog at http://x-dynamics.blogspot.com0 -
Hi
I just had similar issue, just I could not load the preview of an page object in NAV DEV Environment.
My local machine where I am running NAV DEV Environment was installed with regional settings set to English (USA), while NAV server and SQL server were installed with regional settings set to German (Germany).
I exported issued object into TXT adding the .XML at the end of exported file (save it as .XML), then opened that exported XML in Firefox (any internet browser actually) and checked for the debugger errors of XML file and it pointed me to the directions where all the German characters were displayed with strange characters ╝ instead of Ä.
So, I checked the NAV client about page and it set this
Just set the Windows regional settings to German (Germany) and restart the machine and it works as expected.
I am using English language set on the windows and USA keyboard layout on German keyboard, so I can wirte the code in english and capations in ENU and DEU.
Thanks, Damjan0
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