Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8178955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T23:53:33+00:00 2026-06-06T23:53:33+00:00

what is the xml schema for the following input: <?xml version=1.0 encoding=utf-16?> <string>&lt;!–This file

  • 0

what is the xml schema for the following input:

<?xml version="1.0" encoding="utf-16"?>
<string>&lt;!--This file generated by the XMLPull tool on 06/29/2012 03:24:18 AM--&gt;
&lt;!--Datasource: Ticket--&gt;
&lt;DATASET&gt;&lt;DATAROW&gt;&lt;TicketDesc&gt;Test Data. Do not Close.&lt;/TicketDesc&gt;&lt;/DATAROW&gt;&lt;/DATASET&gt;</string>

to this:

<?xml version="1.0" encoding="UTF-16"?><!--This file generated by the XMLPull tool on 6/29/2012--><!--Datasource: Ticket--><DATASET><DATAROW TicketDesc="Test Data. Do not Close."/></DATASET>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T23:53:34+00:00Added an answer on June 6, 2026 at 11:53 pm

    For any given input document, there’s an infinite number of schemas to which it conforms. Your first input document contains a single <string> element that contains some (rather complex) text. At two opposite ends of the spectrum, one possible schema is a schema that allows a <string> element with any content whatsoever, and another is a schema that allows a <string> element that is required to contain exactly the text you have shown. You’ve given no clues as to where on this spectrum you want your schema to be – that is, how constraining you want it to be.

    Remember that a schema describes a class of documents. We can’t induce that class from a single instance of the class.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following in my dispatcher-servlet.xml <?xml version=1.0 encoding=UTF-8?> <beans xmlns=http://www.springframework.org/schema/beans xmlns:mvc=http://www.springframework.org/schema/mvc xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
I have the following .xsd code: <?xml version=1.0 encoding=UTF-8?> <xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema id=MyDataSet> <xs:element name=Row>
Let's consider the following XML Schema: <?xml version=1.0 encoding=UTF-8?> <schema targetNamespace=http://www.example.org/library elementFormDefault=qualified xmlns=http://www.w3.org/2001/XMLSchema xmlns:lib=http://www.example.org/library>
i have following xml file as input .... <?xml version=1.0 encoding=ISO-8859-1?> <T0020 xsi:schemaLocation=http://www.safersys.org/namespaces/T0020V1 T0020V1.xsd
I have the following small file to reproduce the warning: <?xml version=1.0 encoding=UTF-8?> <beans
I have two flows configured in the following way: <?xml version=1.0 encoding=UTF-8?> <flow xmlns=http://www.springframework.org/schema/webflow
I used DataSet to load a schema from following xml file; <node id=0> <node
I trying to make a schema for the following xml. <root> <allow_any_name id=string> <required_tag_1>string</required_tag_1>
I am using the following schema to check the following XML file. And I
I have the following XML <ns0:Root xmlns:ns0=http://Map_Sample.Input_Schema> <Number1> </Number1> <Number2>11</Number2> <Number3>12</Number3> </ns0:Root> In this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.