Views
7 months ago

xmlguide

Transact XML a. The

Transact XML a. The spelling of the closing tag for the specified element is different than its opening counterpart. 4. Exception:javax.xml.bind.UnmarshalException: XML document structures must start and end within the same entity. a. One of your XML declarations is missing its closing quote. Incorrect: " or "/>". a. There is a less-than symbol ( < ) not enclosed in CDATA tags within one of your elements, or that was not added following greater-than ( > ) symbol. 6. Exception:javax.xml.bind.UnmarshalException: a pseudo attribute name is expected. a. The trailing question mark in the XML declaration string is missing: 7. Exception:javax.xml.bind.UnmarshalException: The value following "version" in the XML declaration must be a quoted string. a. There must be quotes around the 1.0 in the XML declaration string, for example, 8. Exception:javax.xml.bind.UnmarshalException: Content is not allowed in prolog. a. You cannot include any content (text characters) outside of the tags 9. Exception:javax.xml.bind.JAXBException – with linked exception: [java.io.UTFDataFormatException: Invalid byte # of #-byte UTF-8 sequence.] a. XML has a high-bit character in it that has not been ASCII-encoded. Accented and non-ISO characters fall into this category. 88 www.silverpop.com 1-866-SILVPOP (745-8767) © 2012 Silverpop Systems Inc. All rights reserved.

Transact XML 10. Exception:javax.xml.bind.UnmarshalException: The content of elements must consist of well-formed character data or markup. a. There is likely a symbol or other issue with an element name. For example, entering the following element in the XML could cause this error. 11. Exception:javax.xml.bind.UnmarshalException: Attribute name "XXXXX" associated with an element type "XXXXX" must be followed by the ' = ' character. a. There is an additional word or character in an XML element tag that you should remove, as XML perceives this as an attribute of the element. 12. Exception:javax.xml.bind.UnmarshalException: Expecting an opening quotation mark for attribute "XXXXX" associated with an element type "XXXXX". a. An attribute has been associated with one of your XML elements that was not enclosed in quotation marks. For example,