[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Potential bug in Oracle XML Parser 2.0.7.0.0 (C) xslprocess() xslprocess
I am developing on a Solaris platform using Oracle XML Parser 2.0.7.0.0 (C) I have found that xslprocess() and xslprocessex() functions fail (core dump) when processing an XML document with attribute values defaulted by xmlparse() according to the DTD. It works fine when the document supplies values for those same attributes. <?xml version='1.0'?> <!-- xslprocess() FAILS with this document --> <!DOCTYPE Strings [ <!ELEMENT Strings (String*)> <!ELEMENT String (#PCDATA)> <!ATTLIST String length CDATA '10' filler CDATA #IMPLIED> ]> <Strings> <String>Too short</String> </Strings> <?xml version='1.0'?> <!-- xslprocess() WORKS with this document --> <!DOCTYPE Strings [ <!ELEMENT Strings (String*)> <!ELEMENT String (#PCDATA)> <!ATTLIST String length CDATA '10' filler CDATA #IMPLIED> ]> <Strings> <String length='20'>Too short</String> </Strings> I have a work around using xmlparse()->getDocumentElement()->printBuffer()->xmlparsebuf() but it is not ideal. Has anyone experienced this problem and is there a fix? Regards, Craig Patterson mailto:craig.patterson@p... ************************************************************************************************ This email message and any attached files may contain information that is confidential and subject of legal privilege intended only for use by the individual or entity to whom they are addressed. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient be advised that you have received this message in error and that any use, copying, circulation, forwarding, printing or publication of this message or attached files is strictly forbidden, as is the disclosure of the information contained therein. If you have received this message in error, please notify the sender immediately and delete it from your Inbox. ************************************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|