< Line 28, Column 49 >: XML-20190: (Fatal Error) Whitespace required.

While configuring Active Directory in weblogic and obtaining group membership from Database tables, after numerous configurations, deletes and restarts, when I tried configuring the virtual adapter using libovdadapterconfig.sh I ran in the following error:

Exception in thread "main" org.xml.sax.SAXParseException: <Line 28, Column 49>: XML-20190: (Fatal Error) Whitespace required.

After a lot of digging I’ve noticed that the adapterTemplate file did not have a space between the xml variables. After adding the space everything went fine.

Hope this helps you not to loose too much time on a simple mistake.

2 thoughts on “< Line 28, Column 49 >: XML-20190: (Fatal Error) Whitespace required.

  1. Edenilson Callejas

    Hi, I am facing with the same issue. My xml files is the following:
    Could you tell me where I have to add whitespaces?

    thanks,

    ==========================================

    %ROOT%
    true
    directoryType

    true
    50

    Yes
    -1
    true

    VirtualAttribute
    oracle.ods.virtualization.engine.chain.plugins.virtualattr.VirtualAttributePlugin

    oracle.jdbc.driver.OracleDriver
    %URL%
    %USER%
    %PASSWORD%
    false
    true
    10

    true
    10
    0
    false

    Reply
    1. Radu N. Post author

      Hi,

      Unfortunately the post xml tags are stripped. If you can, please post the file on a sharing site.

      You can check that the xml structure is correct. You can try some online XML Validators.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *