Click here to Skip to main content
15,867,594 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Help in using media player control in C# Asp.net web application Pin
EEmaan8-Feb-07 0:56
EEmaan8-Feb-07 0:56 
GeneralRe: Help in using media player control in C# Asp.net web application Pin
Christian Graus8-Feb-07 1:04
protectorChristian Graus8-Feb-07 1:04 
JokeRe: Help in using media player control in C# Asp.net web application Pin
User 98858-Feb-07 21:31
User 98858-Feb-07 21:31 
GeneralRe: Help in using media player control in C# Asp.net web application Pin
Christian Graus8-Feb-07 22:38
protectorChristian Graus8-Feb-07 22:38 
QuestionHelp in implementing cascaded style sheet in C# asp.net web applcation Pin
EEmaan7-Feb-07 18:32
EEmaan7-Feb-07 18:32 
AnswerRe: Help in implementing cascaded style sheet in C# asp.net web applcation Pin
Christian Graus8-Feb-07 0:37
protectorChristian Graus8-Feb-07 0:37 
GeneralRe: Help in implementing cascaded style sheet in C# asp.net web applcation Pin
EEmaan8-Feb-07 0:39
EEmaan8-Feb-07 0:39 
QuestionValidating an XML against a given XSD Pin
vsavarma7-Feb-07 17:38
vsavarma7-Feb-07 17:38 
Hi,

This is Ashok Varma V. S. working with Cibernet, India.
I found you the right person to answer my question.

I have XSD, XML files and want to validate the XML against the XSD and then only proceed with parsing the XML file.

I used XML::SAX::ParserFactory, XML::Validator::Schema modules but following is the issues i faced ...
1. Failed with this reason --- elementFormDefault in <schema> must be 'unqualified', 'qualified' is not supported.
I modified the attribute 'elementFormDefault' value to 'unqualified' and it worked (practically, i should not do this).
2. The module that i am currently using(give below in code snippet) is not supporting <import> tag.

Can any one please suggest me a better module which does the above.

code snippet i used
------------------
use XML::SAX::ParserFactory;
use XML::Validator::Schema;

my $xsd_file = '/Users/vashokvarma/EID/xmlfile/EID.xsd';
my $xml_file = '/Users/vashokvarma/EID/xmlfile/EID.xml';

my $validator = XML::Validator::Schema->new(file => $xsd_file);

my $parser = XML::SAX::ParserFactory->parser(Handler => $validator);

eval { $parser->parse_uri($xml_file) };
if ($@) {
print "File failed validation: $@"
} else {
print "proceed with parsing XML\n";
}
------------------

Let me know if anyone need any additional information. Any kind of help is greatly appreciated.

Thanks in advance,
Ashok

Do what i do but dont do what i say ...

AnswerRe: Validating an XML against a given XSD Pin
vsavarma7-Feb-07 17:39
vsavarma7-Feb-07 17:39 
QuestionIframe Development Pin
macca247-Feb-07 4:40
macca247-Feb-07 4:40 
AnswerRe: Iframe Development Pin
led mike7-Feb-07 4:50
led mike7-Feb-07 4:50 
QuestionApache Server - throttle downloads Pin
#realJSOP7-Feb-07 2:05
mve#realJSOP7-Feb-07 2:05 
AnswerRe: Apache Server - throttle downloads Pin
badgrs7-Feb-07 3:05
badgrs7-Feb-07 3:05 
AnswerRe: Apache Server - throttle downloads Pin
Vasudevan Deepak Kumar7-Feb-07 4:33
Vasudevan Deepak Kumar7-Feb-07 4:33 
QuestionUsing Java Script as a security model to protect hidden fields Pin
Marcus J. Smith7-Feb-07 0:08
professionalMarcus J. Smith7-Feb-07 0:08 
AnswerRe: Using Java Script as a security model to protect hidden fields Pin
Bradml7-Feb-07 0:36
Bradml7-Feb-07 0:36 
JokeRe: Using Java Script as a security model to protect hidden fields Pin
blue_arc7-Feb-07 1:02
blue_arc7-Feb-07 1:02 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
Marcus J. Smith7-Feb-07 1:20
professionalMarcus J. Smith7-Feb-07 1:20 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
badgrs7-Feb-07 2:54
badgrs7-Feb-07 2:54 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
Vasudevan Deepak Kumar7-Feb-07 4:36
Vasudevan Deepak Kumar7-Feb-07 4:36 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
Marcus J. Smith7-Feb-07 1:23
professionalMarcus J. Smith7-Feb-07 1:23 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
User 98858-Feb-07 21:43
User 98858-Feb-07 21:43 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
Marcus J. Smith9-Feb-07 3:48
professionalMarcus J. Smith9-Feb-07 3:48 
AnswerRe: Using Java Script as a security model to protect hidden fields Pin
Guffa7-Feb-07 7:09
Guffa7-Feb-07 7:09 
QuestionDefinition error Pin
nclauder6-Feb-07 20:42
nclauder6-Feb-07 20:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.