This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Parsing Problem with Default XML Namespace - xmlns


I am having a problem parsing an XML document, which was generated according
to the 
Intrusion Detection Message Exchange Format (IDMEF) Data Model and XML DTD,
in 
http://www.silicondefense.com/idwg/draft-ietf-idwg-idmef-xml-07.txt ,
starting on page 91. 
Specifically, the problem lies with the default namespace declaration, " 
xmlns="urn:iana:xml:ns:idmef" ", which appears in the following top level
node line: 

I am using the Oracle XML Parser for Java, XSLT Engine, xmlparserv2.jar, in
XML Cooktop v2.2 - 
April 2001.  If I change " xmlns="urn:iana:xml:ns:idmef" " to " xmlns='"" "
or completely 
remove the declaration in the line above, the document parses fine. However,
changing this 
declaration prevents the XML document from being validated against the dtd.
Any assignment 
other than " xmlns="" " will cause a parsing problem. 

NOTE: the jd.xslt XSLT Engine has no problems parsing or validating the 
"xmlns="urn:iana:xml:ns:idmef" "declaration.




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]