11.5.1: Makes it sense to request that something does an xml

Posted by Stefan Marquardt on 18-Nov-2016 05:37

As a XML newbie I used 

field Transaction_Date as date xml-node-name "Transaction Date"

and it worked, I got an xml/xsd using TT:write-xml.


But the result isn't valid. May I expect that at least write-xmlschema or write-xml valdates xml rules?

XML Naming Rules

XML elements must follow these naming rules:

  • Element names are case-sensitive
  • Element names must start with a letter or underscore
  • Element names cannot start with the letters xml (or XML, or Xml, etc)
  • Element names can contain letters, digits, hyphens, underscores, and periods
  • Element names cannot contain spaces

 

Posted by Robin Brown on 21-Nov-2016 07:48

This was fixed in 11.6.2 via PSC00345391

All Replies

Posted by Brian K. Maher on 18-Nov-2016 06:34

Hi Stefan,
 
Please open a case with support and ask them to submit a bug to development.  I expect this was us being a bit loose with things under the assumption that the XML was going to be written/read only within the ABL.
 
Brian

Posted by Robin Brown on 21-Nov-2016 07:48

This was fixed in 11.6.2 via PSC00345391

This thread is closed