How to allow boolean 'TRUE' or 'True' in xml
-
Hi all, How to allow the boolean value 'True' or 'TRUE' in a XML file. Generally when we specify the restriction in xsd as When this is specified in xsd, it allows only 'true' 'false' or 0 or 1. How does this allow 'True' or 'TRUE' in XML. Please Help.. Thanks.
-
Hi all, How to allow the boolean value 'True' or 'TRUE' in a XML file. Generally when we specify the restriction in xsd as When this is specified in xsd, it allows only 'true' 'false' or 0 or 1. How does this allow 'True' or 'TRUE' in XML. Please Help.. Thanks.
Cannot see the xsd snippet. Either turn all < into &am;lt; or check the "Ignore HTML tags in this message" beneath the smilies.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
Cannot see the xsd snippet. Either turn all < into &am;lt; or check the "Ignore HTML tags in this message" beneath the smilies.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
You can define your own type that allows either a standard boolean or some specific string value. "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cookwww.troschuetz.de
-
You can define your own type that allows either a standard boolean or some specific string value. "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cookwww.troschuetz.de
Hey Stefan, Thank you very much for the help But when i run the code, i get an error the following error.. Cannot load the schema for the namespace "- The 'http://www.w3.org/2001/XMLSchema:enumeration' element is not supported in this context.. Please let me know about this one too.. Thanks.
-
Hey Stefan, Thank you very much for the help But when i run the code, i get an error the following error.. Cannot load the schema for the namespace "- The 'http://www.w3.org/2001/XMLSchema:enumeration' element is not supported in this context.. Please let me know about this one too.. Thanks.
Hard to say without having more information: What does the code do you that are running? What do you use to work with XML? Also it would be helpful too see more of your schema; at least the component that should contain the extended boolean.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
Hard to say without having more information: What does the code do you that are running? What do you use to work with XML? Also it would be helpful too see more of your schema; at least the component that should contain the extended boolean.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
Now this code should allow the usage of 'True' or 'TRUE' or 'False' or 'FALSE'. Please let me know how to modify in your context. Thanks.
-
I have created this schema with VS and it doesn't complain: "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cookwww.troschuetz.de